@botfabrik/engine-webclient 4.97.2 → 4.97.3-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/index-0rBUklXv.css +1 -0
- package/dist/client/assets/index-DiIAgDh8.js +150 -0
- package/dist/client/assets/index-DiIAgDh8.js.map +1 -0
- package/dist/client/index.html +2 -2
- package/dist/loadPreviousConversation.js +12 -4
- package/package.json +5 -5
- package/dist/client/assets/index-CVejaL4q.js +0 -124
- package/dist/client/assets/index-CVejaL4q.js.map +0 -1
- package/dist/client/assets/index-Chljm5Eb.css +0 -1
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))l(f);new MutationObserver(f=>{for(const d of f)if(d.type==="childList")for(const g of d.addedNodes)g.tagName==="LINK"&&g.rel==="modulepreload"&&l(g)}).observe(document,{childList:!0,subtree:!0});function s(f){const d={};return f.integrity&&(d.integrity=f.integrity),f.referrerPolicy&&(d.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?d.credentials="include":f.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function l(f){if(f.ep)return;f.ep=!0;const d=s(f);fetch(f.href,d)}})();var zl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Cv(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Vm={exports:{}},Yh={};/**
|
|
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 gy;function US(){if(gy)return Yh;gy=1;var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function s(l,f,d){var g=null;if(d!==void 0&&(g=""+d),f.key!==void 0&&(g=""+f.key),"key"in f){d={};for(var m in f)m!=="key"&&(d[m]=f[m])}else d=f;return f=d.ref,{$$typeof:t,type:l,key:g,ref:f!==void 0?f:null,props:d}}return Yh.Fragment=r,Yh.jsx=s,Yh.jsxs=s,Yh}var my;function IS(){return my||(my=1,Vm.exports=US()),Vm.exports}var S=IS(),Ym={exports:{}},Zh={},Zm={exports:{}},Xm={};/**
|
|
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 vy;function HS(){return vy||(vy=1,function(t){function r(J,fe){var ge=J.length;J.push(fe);e:for(;0<ge;){var We=ge-1>>>1,B=J[We];if(0<f(B,fe))J[We]=fe,J[ge]=B,ge=We;else break e}}function s(J){return J.length===0?null:J[0]}function l(J){if(J.length===0)return null;var fe=J[0],ge=J.pop();if(ge!==fe){J[0]=ge;e:for(var We=0,B=J.length,$=B>>>1;We<$;){var de=2*(We+1)-1,le=J[de],Se=de+1,ye=J[Se];if(0>f(le,ge))Se<B&&0>f(ye,le)?(J[We]=ye,J[Se]=ge,We=Se):(J[We]=le,J[de]=ge,We=de);else if(Se<B&&0>f(ye,ge))J[We]=ye,J[Se]=ge,We=Se;else break e}}return fe}function f(J,fe){var ge=J.sortIndex-fe.sortIndex;return ge!==0?ge:J.id-fe.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;t.unstable_now=function(){return d.now()}}else{var g=Date,m=g.now();t.unstable_now=function(){return g.now()-m}}var y=[],_=[],T=1,R=null,D=3,Y=!1,U=!1,te=!1,Q=!1,w=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;function Z(J){for(var fe=s(_);fe!==null;){if(fe.callback===null)l(_);else if(fe.startTime<=J)l(_),fe.sortIndex=fe.expirationTime,r(y,fe);else break;fe=s(_)}}function L(J){if(te=!1,Z(J),!U)if(s(y)!==null)U=!0,ce||(ce=!0,He());else{var fe=s(_);fe!==null&&Fe(L,fe.startTime-J)}}var ce=!1,pe=-1,Ee=5,ze=-1;function Ze(){return Q?!0:!(t.unstable_now()-ze<Ee)}function xe(){if(Q=!1,ce){var J=t.unstable_now();ze=J;var fe=!0;try{e:{U=!1,te&&(te=!1,j(pe),pe=-1),Y=!0;var ge=D;try{t:{for(Z(J),R=s(y);R!==null&&!(R.expirationTime>J&&Ze());){var We=R.callback;if(typeof We=="function"){R.callback=null,D=R.priorityLevel;var B=We(R.expirationTime<=J);if(J=t.unstable_now(),typeof B=="function"){R.callback=B,Z(J),fe=!0;break t}R===s(y)&&l(y),Z(J)}else l(y);R=s(y)}if(R!==null)fe=!0;else{var $=s(_);$!==null&&Fe(L,$.startTime-J),fe=!1}}break e}finally{R=null,D=ge,Y=!1}fe=void 0}}finally{fe?He():ce=!1}}}var He;if(typeof C=="function")He=function(){C(xe)};else if(typeof MessageChannel<"u"){var Ne=new MessageChannel,Mt=Ne.port2;Ne.port1.onmessage=xe,He=function(){Mt.postMessage(null)}}else He=function(){w(xe,0)};function Fe(J,fe){pe=w(function(){J(t.unstable_now())},fe)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(J){J.callback=null},t.unstable_forceFrameRate=function(J){0>J||125<J?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ee=0<J?Math.floor(1e3/J):5},t.unstable_getCurrentPriorityLevel=function(){return D},t.unstable_next=function(J){switch(D){case 1:case 2:case 3:var fe=3;break;default:fe=D}var ge=D;D=fe;try{return J()}finally{D=ge}},t.unstable_requestPaint=function(){Q=!0},t.unstable_runWithPriority=function(J,fe){switch(J){case 1:case 2:case 3:case 4:case 5:break;default:J=3}var ge=D;D=J;try{return fe()}finally{D=ge}},t.unstable_scheduleCallback=function(J,fe,ge){var We=t.unstable_now();switch(typeof ge=="object"&&ge!==null?(ge=ge.delay,ge=typeof ge=="number"&&0<ge?We+ge:We):ge=We,J){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=ge+B,J={id:T++,callback:fe,priorityLevel:J,startTime:ge,expirationTime:B,sortIndex:-1},ge>We?(J.sortIndex=ge,r(_,J),s(y)===null&&J===s(_)&&(te?(j(pe),pe=-1):te=!0,Fe(L,ge-We))):(J.sortIndex=B,r(y,J),U||Y||(U=!0,ce||(ce=!0,He()))),J},t.unstable_shouldYield=Ze,t.unstable_wrapCallback=function(J){var fe=D;return function(){var ge=D;D=fe;try{return J.apply(this,arguments)}finally{D=ge}}}}(Xm)),Xm}var yy;function jS(){return yy||(yy=1,Zm.exports=HS()),Zm.exports}var Km={exports:{}},Ye={};/**
|
|
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 _y;function GS(){if(_y)return Ye;_y=1;var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),g=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),_=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),R=Symbol.iterator;function D(B){return B===null||typeof B!="object"?null:(B=R&&B[R]||B["@@iterator"],typeof B=="function"?B:null)}var Y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U=Object.assign,te={};function Q(B,$,de){this.props=B,this.context=$,this.refs=te,this.updater=de||Y}Q.prototype.isReactComponent={},Q.prototype.setState=function(B,$){if(typeof B!="object"&&typeof B!="function"&&B!=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,B,$,"setState")},Q.prototype.forceUpdate=function(B){this.updater.enqueueForceUpdate(this,B,"forceUpdate")};function w(){}w.prototype=Q.prototype;function j(B,$,de){this.props=B,this.context=$,this.refs=te,this.updater=de||Y}var C=j.prototype=new w;C.constructor=j,U(C,Q.prototype),C.isPureReactComponent=!0;var Z=Array.isArray,L={H:null,A:null,T:null,S:null,V:null},ce=Object.prototype.hasOwnProperty;function pe(B,$,de,le,Se,ye){return de=ye.ref,{$$typeof:t,type:B,key:$,ref:de!==void 0?de:null,props:ye}}function Ee(B,$){return pe(B.type,$,void 0,void 0,void 0,B.props)}function ze(B){return typeof B=="object"&&B!==null&&B.$$typeof===t}function Ze(B){var $={"=":"=0",":":"=2"};return"$"+B.replace(/[=:]/g,function(de){return $[de]})}var xe=/\/+/g;function He(B,$){return typeof B=="object"&&B!==null&&B.key!=null?Ze(""+B.key):$.toString(36)}function Ne(){}function Mt(B){switch(B.status){case"fulfilled":return B.value;case"rejected":throw B.reason;default:switch(typeof B.status=="string"?B.then(Ne,Ne):(B.status="pending",B.then(function($){B.status==="pending"&&(B.status="fulfilled",B.value=$)},function($){B.status==="pending"&&(B.status="rejected",B.reason=$)})),B.status){case"fulfilled":return B.value;case"rejected":throw B.reason}}throw B}function Fe(B,$,de,le,Se){var ye=typeof B;(ye==="undefined"||ye==="boolean")&&(B=null);var Te=!1;if(B===null)Te=!0;else switch(ye){case"bigint":case"string":case"number":Te=!0;break;case"object":switch(B.$$typeof){case t:case r:Te=!0;break;case T:return Te=B._init,Fe(Te(B._payload),$,de,le,Se)}}if(Te)return Se=Se(B),Te=le===""?"."+He(B,0):le,Z(Se)?(de="",Te!=null&&(de=Te.replace(xe,"$&/")+"/"),Fe(Se,$,de,"",function(Wt){return Wt})):Se!=null&&(ze(Se)&&(Se=Ee(Se,de+(Se.key==null||B&&B.key===Se.key?"":(""+Se.key).replace(xe,"$&/")+"/")+Te)),$.push(Se)),1;Te=0;var Vt=le===""?".":le+":";if(Z(B))for(var lt=0;lt<B.length;lt++)le=B[lt],ye=Vt+He(le,lt),Te+=Fe(le,$,de,ye,Se);else if(lt=D(B),typeof lt=="function")for(B=lt.call(B),lt=0;!(le=B.next()).done;)le=le.value,ye=Vt+He(le,lt++),Te+=Fe(le,$,de,ye,Se);else if(ye==="object"){if(typeof B.then=="function")return Fe(Mt(B),$,de,le,Se);throw $=String(B),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(B).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}return Te}function J(B,$,de){if(B==null)return B;var le=[],Se=0;return Fe(B,le,"","",function(ye){return $.call(de,ye,Se++)}),le}function fe(B){if(B._status===-1){var $=B._result;$=$(),$.then(function(de){(B._status===0||B._status===-1)&&(B._status=1,B._result=de)},function(de){(B._status===0||B._status===-1)&&(B._status=2,B._result=de)}),B._status===-1&&(B._status=0,B._result=$)}if(B._status===1)return B._result.default;throw B._result}var ge=typeof reportError=="function"?reportError:function(B){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var $=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof B=="object"&&B!==null&&typeof B.message=="string"?String(B.message):String(B),error:B});if(!window.dispatchEvent($))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",B);return}console.error(B)};function We(){}return Ye.Children={map:J,forEach:function(B,$,de){J(B,function(){$.apply(this,arguments)},de)},count:function(B){var $=0;return J(B,function(){$++}),$},toArray:function(B){return J(B,function($){return $})||[]},only:function(B){if(!ze(B))throw Error("React.Children.only expected to receive a single React element child.");return B}},Ye.Component=Q,Ye.Fragment=s,Ye.Profiler=f,Ye.PureComponent=j,Ye.StrictMode=l,Ye.Suspense=y,Ye.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,Ye.__COMPILER_RUNTIME={__proto__:null,c:function(B){return L.H.useMemoCache(B)}},Ye.cache=function(B){return function(){return B.apply(null,arguments)}},Ye.cloneElement=function(B,$,de){if(B==null)throw Error("The argument must be a React element, but you passed "+B+".");var le=U({},B.props),Se=B.key,ye=void 0;if($!=null)for(Te in $.ref!==void 0&&(ye=void 0),$.key!==void 0&&(Se=""+$.key),$)!ce.call($,Te)||Te==="key"||Te==="__self"||Te==="__source"||Te==="ref"&&$.ref===void 0||(le[Te]=$[Te]);var Te=arguments.length-2;if(Te===1)le.children=de;else if(1<Te){for(var Vt=Array(Te),lt=0;lt<Te;lt++)Vt[lt]=arguments[lt+2];le.children=Vt}return pe(B.type,Se,void 0,void 0,ye,le)},Ye.createContext=function(B){return B={$$typeof:g,_currentValue:B,_currentValue2:B,_threadCount:0,Provider:null,Consumer:null},B.Provider=B,B.Consumer={$$typeof:d,_context:B},B},Ye.createElement=function(B,$,de){var le,Se={},ye=null;if($!=null)for(le in $.key!==void 0&&(ye=""+$.key),$)ce.call($,le)&&le!=="key"&&le!=="__self"&&le!=="__source"&&(Se[le]=$[le]);var Te=arguments.length-2;if(Te===1)Se.children=de;else if(1<Te){for(var Vt=Array(Te),lt=0;lt<Te;lt++)Vt[lt]=arguments[lt+2];Se.children=Vt}if(B&&B.defaultProps)for(le in Te=B.defaultProps,Te)Se[le]===void 0&&(Se[le]=Te[le]);return pe(B,ye,void 0,void 0,null,Se)},Ye.createRef=function(){return{current:null}},Ye.forwardRef=function(B){return{$$typeof:m,render:B}},Ye.isValidElement=ze,Ye.lazy=function(B){return{$$typeof:T,_payload:{_status:-1,_result:B},_init:fe}},Ye.memo=function(B,$){return{$$typeof:_,type:B,compare:$===void 0?null:$}},Ye.startTransition=function(B){var $=L.T,de={};L.T=de;try{var le=B(),Se=L.S;Se!==null&&Se(de,le),typeof le=="object"&&le!==null&&typeof le.then=="function"&&le.then(We,ge)}catch(ye){ge(ye)}finally{L.T=$}},Ye.unstable_useCacheRefresh=function(){return L.H.useCacheRefresh()},Ye.use=function(B){return L.H.use(B)},Ye.useActionState=function(B,$,de){return L.H.useActionState(B,$,de)},Ye.useCallback=function(B,$){return L.H.useCallback(B,$)},Ye.useContext=function(B){return L.H.useContext(B)},Ye.useDebugValue=function(){},Ye.useDeferredValue=function(B,$){return L.H.useDeferredValue(B,$)},Ye.useEffect=function(B,$,de){var le=L.H;if(typeof de=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return le.useEffect(B,$)},Ye.useId=function(){return L.H.useId()},Ye.useImperativeHandle=function(B,$,de){return L.H.useImperativeHandle(B,$,de)},Ye.useInsertionEffect=function(B,$){return L.H.useInsertionEffect(B,$)},Ye.useLayoutEffect=function(B,$){return L.H.useLayoutEffect(B,$)},Ye.useMemo=function(B,$){return L.H.useMemo(B,$)},Ye.useOptimistic=function(B,$){return L.H.useOptimistic(B,$)},Ye.useReducer=function(B,$,de){return L.H.useReducer(B,$,de)},Ye.useRef=function(B){return L.H.useRef(B)},Ye.useState=function(B){return L.H.useState(B)},Ye.useSyncExternalStore=function(B,$,de){return L.H.useSyncExternalStore(B,$,de)},Ye.useTransition=function(){return L.H.useTransition()},Ye.version="19.1.1",Ye}var by;function Ag(){return by||(by=1,Km.exports=GS()),Km.exports}var Qm={exports:{}},cr={};/**
|
|
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 Ey;function zS(){if(Ey)return cr;Ey=1;var t=Ag();function r(y){var _="https://react.dev/errors/"+y;if(1<arguments.length){_+="?args[]="+encodeURIComponent(arguments[1]);for(var T=2;T<arguments.length;T++)_+="&args[]="+encodeURIComponent(arguments[T])}return"Minified React error #"+y+"; visit "+_+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var l={d:{f:s,r:function(){throw Error(r(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},f=Symbol.for("react.portal");function d(y,_,T){var R=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:R==null?null:""+R,children:y,containerInfo:_,implementation:T}}var g=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(y,_){if(y==="font")return"";if(typeof _=="string")return _==="use-credentials"?_:""}return cr.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,cr.createPortal=function(y,_){var T=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!_||_.nodeType!==1&&_.nodeType!==9&&_.nodeType!==11)throw Error(r(299));return d(y,_,null,T)},cr.flushSync=function(y){var _=g.T,T=l.p;try{if(g.T=null,l.p=2,y)return y()}finally{g.T=_,l.p=T,l.d.f()}},cr.preconnect=function(y,_){typeof y=="string"&&(_?(_=_.crossOrigin,_=typeof _=="string"?_==="use-credentials"?_:"":void 0):_=null,l.d.C(y,_))},cr.prefetchDNS=function(y){typeof y=="string"&&l.d.D(y)},cr.preinit=function(y,_){if(typeof y=="string"&&_&&typeof _.as=="string"){var T=_.as,R=m(T,_.crossOrigin),D=typeof _.integrity=="string"?_.integrity:void 0,Y=typeof _.fetchPriority=="string"?_.fetchPriority:void 0;T==="style"?l.d.S(y,typeof _.precedence=="string"?_.precedence:void 0,{crossOrigin:R,integrity:D,fetchPriority:Y}):T==="script"&&l.d.X(y,{crossOrigin:R,integrity:D,fetchPriority:Y,nonce:typeof _.nonce=="string"?_.nonce:void 0})}},cr.preinitModule=function(y,_){if(typeof y=="string")if(typeof _=="object"&&_!==null){if(_.as==null||_.as==="script"){var T=m(_.as,_.crossOrigin);l.d.M(y,{crossOrigin:T,integrity:typeof _.integrity=="string"?_.integrity:void 0,nonce:typeof _.nonce=="string"?_.nonce:void 0})}}else _==null&&l.d.M(y)},cr.preload=function(y,_){if(typeof y=="string"&&typeof _=="object"&&_!==null&&typeof _.as=="string"){var T=_.as,R=m(T,_.crossOrigin);l.d.L(y,T,{crossOrigin:R,integrity:typeof _.integrity=="string"?_.integrity:void 0,nonce:typeof _.nonce=="string"?_.nonce:void 0,type:typeof _.type=="string"?_.type:void 0,fetchPriority:typeof _.fetchPriority=="string"?_.fetchPriority:void 0,referrerPolicy:typeof _.referrerPolicy=="string"?_.referrerPolicy:void 0,imageSrcSet:typeof _.imageSrcSet=="string"?_.imageSrcSet:void 0,imageSizes:typeof _.imageSizes=="string"?_.imageSizes:void 0,media:typeof _.media=="string"?_.media:void 0})}},cr.preloadModule=function(y,_){if(typeof y=="string")if(_){var T=m(_.as,_.crossOrigin);l.d.m(y,{as:typeof _.as=="string"&&_.as!=="script"?_.as:void 0,crossOrigin:T,integrity:typeof _.integrity=="string"?_.integrity:void 0})}else l.d.m(y)},cr.requestFormReset=function(y){l.d.r(y)},cr.unstable_batchedUpdates=function(y,_){return y(_)},cr.useFormState=function(y,_,T){return g.H.useFormState(y,_,T)},cr.useFormStatus=function(){return g.H.useHostTransitionStatus()},cr.version="19.1.1",cr}var Sy;function kS(){if(Sy)return Qm.exports;Sy=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),Qm.exports=zS(),Qm.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 Ty;function qS(){if(Ty)return Zh;Ty=1;var t=jS(),r=Ag(),s=kS();function l(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)n+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function d(e){var n=e,i=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(i=n.return),e=n.return;while(e)}return n.tag===3?i:null}function g(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function m(e){if(d(e)!==e)throw Error(l(188))}function y(e){var n=e.alternate;if(!n){if(n=d(e),n===null)throw Error(l(188));return n!==e?null:e}for(var i=e,u=n;;){var c=i.return;if(c===null)break;var p=c.alternate;if(p===null){if(u=c.return,u!==null){i=u;continue}break}if(c.child===p.child){for(p=c.child;p;){if(p===i)return m(c),e;if(p===u)return m(c),n;p=p.sibling}throw Error(l(188))}if(i.return!==u.return)i=c,u=p;else{for(var b=!1,x=c.child;x;){if(x===i){b=!0,i=c,u=p;break}if(x===u){b=!0,u=c,i=p;break}x=x.sibling}if(!b){for(x=p.child;x;){if(x===i){b=!0,i=p,u=c;break}if(x===u){b=!0,u=p,i=c;break}x=x.sibling}if(!b)throw Error(l(189))}}if(i.alternate!==u)throw Error(l(190))}if(i.tag!==3)throw Error(l(188));return i.stateNode.current===i?e:n}function _(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=_(e),n!==null)return n;e=e.sibling}return null}var T=Object.assign,R=Symbol.for("react.element"),D=Symbol.for("react.transitional.element"),Y=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),te=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),w=Symbol.for("react.provider"),j=Symbol.for("react.consumer"),C=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),ce=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),Ee=Symbol.for("react.lazy"),ze=Symbol.for("react.activity"),Ze=Symbol.for("react.memo_cache_sentinel"),xe=Symbol.iterator;function He(e){return e===null||typeof e!="object"?null:(e=xe&&e[xe]||e["@@iterator"],typeof e=="function"?e:null)}var Ne=Symbol.for("react.client.reference");function Mt(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ne?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case U:return"Fragment";case Q:return"Profiler";case te:return"StrictMode";case L:return"Suspense";case ce:return"SuspenseList";case ze:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Y:return"Portal";case C:return(e.displayName||"Context")+".Provider";case j:return(e._context.displayName||"Context")+".Consumer";case Z:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case pe:return n=e.displayName||null,n!==null?n:Mt(e.type)||"Memo";case Ee:n=e._payload,e=e._init;try{return Mt(e(n))}catch{}}return null}var Fe=Array.isArray,J=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fe=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ge={pending:!1,data:null,method:null,action:null},We=[],B=-1;function $(e){return{current:e}}function de(e){0>B||(e.current=We[B],We[B]=null,B--)}function le(e,n){B++,We[B]=e.current,e.current=n}var Se=$(null),ye=$(null),Te=$(null),Vt=$(null);function lt(e,n){switch(le(Te,n),le(ye,e),le(Se,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?qt(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=qt(n),e=Ft(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}de(Se),le(Se,e)}function Wt(){de(Se),de(ye),de(Te)}function pi(e){e.memoizedState!==null&&le(Vt,e);var n=Se.current,i=Ft(n,e.type);n!==i&&(le(ye,e),le(Se,i))}function Zr(e){ye.current===e&&(de(Se),de(ye)),Vt.current===e&&(de(Vt),Il._currentValue=ge)}var Dt=Object.prototype.hasOwnProperty,zn=t.unstable_scheduleCallback,$t=t.unstable_cancelCallback,Ui=t.unstable_shouldYield,Pl=t.unstable_requestPaint,Bt=t.unstable_now,es=t.unstable_getCurrentPriorityLevel,ts=t.unstable_ImmediatePriority,Ii=t.unstable_UserBlockingPriority,wn=t.unstable_NormalPriority,ns=t.unstable_LowPriority,Hi=t.unstable_IdlePriority,rs=t.log,Cr=t.unstable_setDisableYieldValue,Nr=null,an=null;function Cn(e){if(typeof rs=="function"&&Cr(e),an&&typeof an.setStrictMode=="function")try{an.setStrictMode(Nr,e)}catch{}}var _n=Math.clz32?Math.clz32:ga,is=Math.log,qs=Math.LN2;function ga(e){return e>>>=0,e===0?32:31-(is(e)/qs|0)|0}var Xr=256,Nn=4194304;function Mn(e){var n=e&42;if(n!==0)return n;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 gi(e,n,i){var u=e.pendingLanes;if(u===0)return 0;var c=0,p=e.suspendedLanes,b=e.pingedLanes;e=e.warmLanes;var x=u&134217727;return x!==0?(u=x&~p,u!==0?c=Mn(u):(b&=x,b!==0?c=Mn(b):i||(i=x&~e,i!==0&&(c=Mn(i))))):(x=u&~p,x!==0?c=Mn(x):b!==0?c=Mn(b):i||(i=u&~e,i!==0&&(c=Mn(i)))),c===0?0:n!==0&&n!==c&&(n&p)===0&&(p=c&-c,i=n&-n,p>=i||p===32&&(i&4194048)!==0)?n:c}function Kr(e,n){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)===0}function Jc(e,n){switch(e){case 1:case 2:case 4:case 8:case 64:return n+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 n+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 as(){var e=Xr;return Xr<<=1,(Xr&4194048)===0&&(Xr=256),e}function ss(){var e=Nn;return Nn<<=1,(Nn&62914560)===0&&(Nn=4194304),e}function Fs(e){for(var n=[],i=0;31>i;i++)n.push(e);return n}function Mr(e,n){e.pendingLanes|=n,n!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ef(e,n,i,u,c,p){var b=e.pendingLanes;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=i,e.entangledLanes&=i,e.errorRecoveryDisabledLanes&=i,e.shellSuspendCounter=0;var x=e.entanglements,M=e.expirationTimes,P=e.hiddenUpdates;for(i=b&~i;0<i;){var ne=31-_n(i),ae=1<<ne;x[ne]=0,M[ne]=-1;var K=P[ne];if(K!==null)for(P[ne]=null,ne=0;ne<K.length;ne++){var V=K[ne];V!==null&&(V.lane&=-536870913)}i&=~ae}u!==0&&mu(e,u,0),p!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=p&~(b&~n))}function mu(e,n,i){e.pendingLanes|=n,e.suspendedLanes&=~n;var u=31-_n(n);e.entangledLanes|=n,e.entanglements[u]=e.entanglements[u]|1073741824|i&4194090}function Jt(e,n){var i=e.entangledLanes|=n;for(e=e.entanglements;i;){var u=31-_n(i),c=1<<u;c&n|e[u]&n&&(e[u]|=n),i&=~c}}function mi(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 Ps(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Vl(){var e=fe.p;return e!==0?e:(e=window.event,e===void 0?32:Cp(e.type))}function Yl(e,n){var i=fe.p;try{return fe.p=e,n()}finally{fe.p=i}}var Qr=Math.random().toString(36).slice(2),en="__reactFiber$"+Qr,Dn="__reactProps$"+Qr,un="__reactContainer$"+Qr,vi="__reactEvents$"+Qr,vu="__reactListeners$"+Qr,yu="__reactHandles$"+Qr,Vs="__reactResources$"+Qr,ma="__reactMarker$"+Qr;function fr(e){delete e[en],delete e[Dn],delete e[vi],delete e[vu],delete e[yu]}function ji(e){var n=e[en];if(n)return n;for(var i=e.parentNode;i;){if(n=i[un]||i[en]){if(i=n.alternate,n.child!==null||i!==null&&i.child!==null)for(e=vp(e);e!==null;){if(i=e[en])return i;e=vp(e)}return n}e=i,i=e.parentNode}return null}function Gi(e){if(e=e[en]||e[un]){var n=e.tag;if(n===5||n===6||n===13||n===26||n===27||n===3)return e}return null}function zi(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e.stateNode;throw Error(l(33))}function ki(e){var n=e[Vs];return n||(n=e[Vs]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function sn(e){e[ma]=!0}var Oe=new Set,G={};function ue(e,n){_e(e,n),_e(e+"Capture",n)}function _e(e,n){for(G[e]=n,e=0;e<n.length;e++)Oe.add(n[e])}var yt=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]*$"),cn={},Ut={};function Ln(e){return Dt.call(Ut,e)?!0:Dt.call(cn,e)?!1:yt.test(e)?Ut[e]=!0:(cn[e]=!0,!1)}function Kn(e,n,i){if(Ln(n))if(i===null)e.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":e.removeAttribute(n);return;case"boolean":var u=n.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(n);return}}e.setAttribute(n,""+i)}}function yi(e,n,i){if(i===null)e.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttribute(n,""+i)}}function Qn(e,n,i,u){if(u===null)e.removeAttribute(i);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttributeNS(n,i,""+u)}}var tn,Ys;function qi(e){if(tn===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);tn=n&&n[1]||"",Ys=-1<i.stack.indexOf(`
|
|
42
|
+
at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
+
`+tn+e+Ys}var tf=!1;function nf(e,n){if(!e||tf)return"";tf=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(n){var ae=function(){throw Error()};if(Object.defineProperty(ae.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ae,[])}catch(V){var K=V}Reflect.construct(e,[],ae)}else{try{ae.call()}catch(V){K=V}e.call(ae.prototype)}}else{try{throw Error()}catch(V){K=V}(ae=e())&&typeof ae.catch=="function"&&ae.catch(function(){})}}catch(V){if(V&&K&&typeof V.stack=="string")return[V.stack,K.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var p=u.DetermineComponentFrameRoot(),b=p[0],x=p[1];if(b&&x){var M=b.split(`
|
|
44
|
+
`),P=x.split(`
|
|
45
|
+
`);for(c=u=0;u<M.length&&!M[u].includes("DetermineComponentFrameRoot");)u++;for(;c<P.length&&!P[c].includes("DetermineComponentFrameRoot");)c++;if(u===M.length||c===P.length)for(u=M.length-1,c=P.length-1;1<=u&&0<=c&&M[u]!==P[c];)c--;for(;1<=u&&0<=c;u--,c--)if(M[u]!==P[c]){if(u!==1||c!==1)do if(u--,c--,0>c||M[u]!==P[c]){var ne=`
|
|
46
|
+
`+M[u].replace(" at new "," at ");return e.displayName&&ne.includes("<anonymous>")&&(ne=ne.replace("<anonymous>",e.displayName)),ne}while(1<=u&&0<=c);break}}}finally{tf=!1,Error.prepareStackTrace=i}return(i=e?e.displayName||e.name:"")?qi(i):""}function kg(e){switch(e.tag){case 26:case 27:case 5:return qi(e.type);case 16:return qi("Lazy");case 13:return qi("Suspense");case 19:return qi("SuspenseList");case 0:case 15:return nf(e.type,!1);case 11:return nf(e.type.render,!1);case 1:return nf(e.type,!0);case 31:return qi("Activity");default:return""}}function rf(e){try{var n="";do n+=kg(e),e=e.return;while(e);return n}catch(i){return`
|
|
47
|
+
Error generating stack: `+i.message+`
|
|
48
|
+
`+i.stack}}function hr(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function af(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function sf(e){var n=af(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),u=""+e[n];if(!e.hasOwnProperty(n)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var c=i.get,p=i.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(b){u=""+b,p.call(this,b)}}),Object.defineProperty(e,n,{enumerable:i.enumerable}),{getValue:function(){return u},setValue:function(b){u=""+b},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function _u(e){e._valueTracker||(e._valueTracker=sf(e))}function lf(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var i=n.getValue(),u="";return e&&(u=af(e)?e.checked?"true":"false":e.value),e=u,e!==i?(n.setValue(e),!0):!1}function ls(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 yd=/[\n"\\]/g;function Dr(e){return e.replace(yd,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function bu(e,n,i,u,c,p,b,x){e.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.type=b:e.removeAttribute("type"),n!=null?b==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+hr(n)):e.value!==""+hr(n)&&(e.value=""+hr(n)):b!=="submit"&&b!=="reset"||e.removeAttribute("value"),n!=null?Zl(e,b,hr(n)):i!=null?Zl(e,b,hr(i)):u!=null&&e.removeAttribute("value"),c==null&&p!=null&&(e.defaultChecked=!!p),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.name=""+hr(x):e.removeAttribute("name")}function of(e,n,i,u,c,p,b,x){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.type=p),n!=null||i!=null){if(!(p!=="submit"&&p!=="reset"||n!=null))return;i=i!=null?""+hr(i):"",n=n!=null?""+hr(n):i,x||n===e.value||(e.value=n),e.defaultValue=n}u=u??c,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=x?e.checked:!!u,e.defaultChecked=!!u,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(e.name=b)}function Zl(e,n,i){n==="number"&&ls(e.ownerDocument)===e||e.defaultValue===""+i||(e.defaultValue=""+i)}function Zs(e,n,i,u){if(e=e.options,n){n={};for(var c=0;c<i.length;c++)n["$"+i[c]]=!0;for(i=0;i<e.length;i++)c=n.hasOwnProperty("$"+e[i].value),e[i].selected!==c&&(e[i].selected=c),c&&u&&(e[i].defaultSelected=!0)}else{for(i=""+hr(i),n=null,c=0;c<e.length;c++){if(e[c].value===i){e[c].selected=!0,u&&(e[c].defaultSelected=!0);return}n!==null||e[c].disabled||(n=e[c])}n!==null&&(n.selected=!0)}}function uf(e,n,i){if(n!=null&&(n=""+hr(n),n!==e.value&&(e.value=n),i==null)){e.defaultValue!==n&&(e.defaultValue=n);return}e.defaultValue=i!=null?""+hr(i):""}function Eu(e,n,i,u){if(n==null){if(u!=null){if(i!=null)throw Error(l(92));if(Fe(u)){if(1<u.length)throw Error(l(93));u=u[0]}i=u}i==null&&(i=""),n=i}i=hr(n),e.defaultValue=i,u=e.textContent,u===i&&u!==""&&u!==null&&(e.value=u)}function va(e,n){if(n){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=n;return}}e.textContent=n}var Xs=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 cf(e,n,i){var u=n.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?u?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="":u?e.setProperty(n,i):typeof i!="number"||i===0||Xs.has(n)?n==="float"?e.cssFloat=i:e[n]=(""+i).trim():e[n]=i+"px"}function ff(e,n,i){if(n!=null&&typeof n!="object")throw Error(l(62));if(e=e.style,i!=null){for(var u in i)!i.hasOwnProperty(u)||n!=null&&n.hasOwnProperty(u)||(u.indexOf("--")===0?e.setProperty(u,""):u==="float"?e.cssFloat="":e[u]="");for(var c in n)u=n[c],n.hasOwnProperty(c)&&i[c]!==u&&cf(e,c,u)}else for(var p in n)n.hasOwnProperty(p)&&cf(e,p,n[p])}function hf(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 _d=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"]]),bd=/^[\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 Xl(e){return bd.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Su=null;function df(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ks=null,Qs=null;function pf(e){var n=Gi(e);if(n&&(e=n.stateNode)){var i=e[Dn]||null;e:switch(e=n.stateNode,n.type){case"input":if(bu(e,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),n=i.name,i.type==="radio"&&n!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Dr(""+n)+'"][type="radio"]'),n=0;n<i.length;n++){var u=i[n];if(u!==e&&u.form===e.form){var c=u[Dn]||null;if(!c)throw Error(l(90));bu(u,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(n=0;n<i.length;n++)u=i[n],u.form===e.form&&lf(u)}break e;case"textarea":uf(e,i.value,i.defaultValue);break e;case"select":n=i.value,n!=null&&Zs(e,!!i.multiple,n,!1)}}}var gf=!1;function Ed(e,n,i){if(gf)return e(n,i);gf=!0;try{var u=e(n);return u}finally{if(gf=!1,(Ks!==null||Qs!==null)&&(Sc(),Ks&&(n=Ks,e=Qs,Qs=Ks=null,pf(n),e)))for(n=0;n<e.length;n++)pf(e[n])}}function Kl(e,n){var i=e.stateNode;if(i===null)return null;var u=i[Dn]||null;if(u===null)return null;i=u[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(l(231,n,typeof i));return i}var Fi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ql=!1;if(Fi)try{var Wl={};Object.defineProperty(Wl,"passive",{get:function(){Ql=!0}}),window.addEventListener("test",Wl,Wl),window.removeEventListener("test",Wl,Wl)}catch{Ql=!1}var ya=null,mf=null,Tu=null;function Sd(){if(Tu)return Tu;var e,n=mf,i=n.length,u,c="value"in ya?ya.value:ya.textContent,p=c.length;for(e=0;e<i&&n[e]===c[e];e++);var b=i-e;for(u=1;u<=b&&n[i-u]===c[p-u];u++);return Tu=c.slice(e,1<u?1-u:void 0)}function Tt(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function _t(){return!0}function Td(){return!1}function Wn(e){function n(i,u,c,p,b){this._reactName=i,this._targetInst=c,this.type=u,this.nativeEvent=p,this.target=b,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(i=e[x],this[x]=i?i(p):p[x]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?_t:Td,this.isPropagationStopped=Td,this}return T(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=_t)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=_t)},persist:function(){},isPersistent:_t}),n}var os={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Au=Wn(os),$l=T({},os,{view:0,detail:0}),qg=Wn($l),xu,vf,nn,Ws=T({},$l,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_i,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!==nn&&(nn&&e.type==="mousemove"?(xu=e.screenX-nn.screenX,vf=e.screenY-nn.screenY):vf=xu=0,nn=e),xu)},movementY:function(e){return"movementY"in e?e.movementY:vf}}),_a=Wn(Ws),Ad=T({},Ws,{dataTransfer:0}),yf=Wn(Ad),Lr=T({},$l,{relatedTarget:0}),Ou=Wn(Lr),xd=T({},os,{animationName:0,elapsedTime:0,pseudoElement:0}),Od=Wn(xd),wd=T({},os,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Rd=Wn(wd),Cd=T({},os,{data:0}),$n=Wn(Cd),Fg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Br={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"},Pg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Nd(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=Pg[e])?!!n[e]:!1}function _i(){return Nd}var wu=T({},$l,{key:function(e){if(e.key){var n=Fg[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=Tt(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Br[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_i,charCode:function(e){return e.type==="keypress"?Tt(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Tt(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),_f=Wn(wu),jt=T({},Ws,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Pi=Wn(jt),bf=T({},$l,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_i}),Vg=Wn(bf),Ef=T({},os,{propertyName:0,elapsedTime:0,pseudoElement:0}),Yg=Wn(Ef),Zg=T({},Ws,{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}),Xg=Wn(Zg),Md=T({},os,{newState:0,oldState:0}),Ru=Wn(Md),$s=[9,13,27,32],Sf=Fi&&"CompositionEvent"in window,Js=null;Fi&&"documentMode"in document&&(Js=document.documentMode);var Dd=Fi&&"TextEvent"in window&&!Js,Cu=Fi&&(!Sf||Js&&8<Js&&11>=Js),Nu=" ",Tf=!1;function Ld(e,n){switch(e){case"keyup":return $s.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Mu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ba=!1;function Kg(e,n){switch(e){case"compositionend":return Mu(n);case"keypress":return n.which!==32?null:(Tf=!0,Nu);case"textInput":return e=n.data,e===Nu&&Tf?null:e;default:return null}}function Bd(e,n){if(ba)return e==="compositionend"||!Sf&&Ld(e,n)?(e=Sd(),Tu=mf=ya=null,ba=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Cu&&n.locale!=="ko"?null:n.data;default:return null}}var dr={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 Du(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!dr[e.type]:n==="textarea"}function el(e,n,i,u){Ks?Qs?Qs.push(u):Qs=[u]:Ks=u,n=Cc(n,"onChange"),0<n.length&&(i=new Au("onChange","change",null,i,u),e.push({event:i,listeners:n}))}var tl=null,nl=null;function Qg(e){up(e,0)}function Lu(e){var n=zi(e);if(lf(n))return e}function Ud(e,n){if(e==="change")return n}var Id=!1;if(Fi){var Af;if(Fi){var Ea="oninput"in document;if(!Ea){var Hd=document.createElement("div");Hd.setAttribute("oninput","return;"),Ea=typeof Hd.oninput=="function"}Af=Ea}else Af=!1;Id=Af&&(!document.documentMode||9<document.documentMode)}function jd(){tl&&(tl.detachEvent("onpropertychange",Bu),nl=tl=null)}function Bu(e){if(e.propertyName==="value"&&Lu(nl)){var n=[];el(n,nl,e,df(e)),Ed(Qg,n)}}function Gd(e,n,i){e==="focusin"?(jd(),tl=n,nl=i,tl.attachEvent("onpropertychange",Bu)):e==="focusout"&&jd()}function Sa(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Lu(nl)}function Uu(e,n){if(e==="click")return Lu(n)}function Wg(e,n){if(e==="input"||e==="change")return Lu(n)}function $g(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var pr=typeof Object.is=="function"?Object.is:$g;function bi(e,n){if(pr(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var i=Object.keys(e),u=Object.keys(n);if(i.length!==u.length)return!1;for(u=0;u<i.length;u++){var c=i[u];if(!Dt.call(n,c)||!pr(e[c],n[c]))return!1}return!0}function Ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xf(e,n){var i=Ur(e);e=0;for(var u;i;){if(i.nodeType===3){if(u=e+i.textContent.length,e<=n&&u>=n)return{node:i,offset:n-e};e=u}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Ur(i)}}function zd(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?zd(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function kd(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var n=ls(e.document);n instanceof e.HTMLIFrameElement;){try{var i=typeof n.contentWindow.location.href=="string"}catch{i=!1}if(i)e=n.contentWindow;else break;n=ls(e.document)}return n}function Of(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}var Jg=Fi&&"documentMode"in document&&11>=document.documentMode,rl=null,Ta=null,z=null,ee=!1;function W(e,n,i){var u=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;ee||rl==null||rl!==ls(u)||(u=rl,"selectionStart"in u&&Of(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),z&&bi(z,u)||(z=u,u=Cc(Ta,"onSelect"),0<u.length&&(n=new Au("onSelect","select",null,n,i),e.push({event:n,listeners:u}),n.target=rl)))}function me(e,n){var i={};return i[e.toLowerCase()]=n.toLowerCase(),i["Webkit"+e]="webkit"+n,i["Moz"+e]="moz"+n,i}var Be={animationend:me("Animation","AnimationEnd"),animationiteration:me("Animation","AnimationIteration"),animationstart:me("Animation","AnimationStart"),transitionrun:me("Transition","TransitionRun"),transitionstart:me("Transition","TransitionStart"),transitioncancel:me("Transition","TransitionCancel"),transitionend:me("Transition","TransitionEnd")},ot={},ln={};Fi&&(ln=document.createElement("div").style,"AnimationEvent"in window||(delete Be.animationend.animation,delete Be.animationiteration.animation,delete Be.animationstart.animation),"TransitionEvent"in window||delete Be.transitionend.transition);function ut(e){if(ot[e])return ot[e];if(!Be[e])return e;var n=Be[e],i;for(i in n)if(n.hasOwnProperty(i)&&i in ln)return ot[e]=n[i];return e}var Iu=ut("animationend"),qd=ut("animationiteration"),gr=ut("animationstart"),Hu=ut("transitionrun"),em=ut("transitionstart"),il=ut("transitioncancel"),Jl=ut("transitionend"),eo=new Map,gt="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(" ");gt.push("scrollEnd");function Wr(e,n){eo.set(e,n),ue(n,[e])}var wf=new WeakMap;function kn(e,n){if(typeof e=="object"&&e!==null){var i=wf.get(e);return i!==void 0?i:(n={value:e,source:n,stack:rf(n)},wf.set(e,n),n)}return{value:e,source:n,stack:rf(n)}}var Ir=[],al=0,Rf=0;function us(){for(var e=al,n=Rf=al=0;n<e;){var i=Ir[n];Ir[n++]=null;var u=Ir[n];Ir[n++]=null;var c=Ir[n];Ir[n++]=null;var p=Ir[n];if(Ir[n++]=null,u!==null&&c!==null){var b=u.pending;b===null?c.next=c:(c.next=b.next,b.next=c),u.pending=c}p!==0&&to(i,c,p)}}function $r(e,n,i,u){Ir[al++]=e,Ir[al++]=n,Ir[al++]=i,Ir[al++]=u,Rf|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function sl(e,n,i,u){return $r(e,n,i,u),no(e)}function cs(e,n){return $r(e,null,null,n),no(e)}function to(e,n,i){e.lanes|=i;var u=e.alternate;u!==null&&(u.lanes|=i);for(var c=!1,p=e.return;p!==null;)p.childLanes|=i,u=p.alternate,u!==null&&(u.childLanes|=i),p.tag===22&&(e=p.stateNode,e===null||e._visibility&1||(c=!0)),e=p,p=p.return;return e.tag===3?(p=e.stateNode,c&&n!==null&&(c=31-_n(i),e=p.hiddenUpdates,u=e[c],u===null?e[c]=[n]:u.push(n),n.lane=i|536870912),p):null}function no(e){if(50<Rl)throw Rl=0,Sh=null,Error(l(185));for(var n=e.return;n!==null;)e=n,n=e.return;return e.tag===3?e.stateNode:null}var fs={};function ju(e,n,i,u){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Jn(e,n,i,u){return new ju(e,n,i,u)}function hs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function qn(e,n){var i=e.alternate;return i===null?(i=Jn(e.tag,n,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=n,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&65011712,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,n=e.dependencies,i.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i}function ro(e,n){e.flags&=65011714;var i=e.alternate;return i===null?(e.childLanes=0,e.lanes=n,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type,n=i.dependencies,e.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),e}function Gu(e,n,i,u,c,p){var b=0;if(u=e,typeof e=="function")hs(e)&&(b=1);else if(typeof e=="string")b=Mm(e,i,Se.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ze:return e=Jn(31,i,n,c),e.elementType=ze,e.lanes=p,e;case U:return ds(i.children,c,p,n);case te:b=8,c|=24;break;case Q:return e=Jn(12,i,n,c|2),e.elementType=Q,e.lanes=p,e;case L:return e=Jn(13,i,n,c),e.elementType=L,e.lanes=p,e;case ce:return e=Jn(19,i,n,c),e.elementType=ce,e.lanes=p,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case w:case C:b=10;break e;case j:b=9;break e;case Z:b=11;break e;case pe:b=14;break e;case Ee:b=16,u=null;break e}b=29,i=Error(l(130,e===null?"null":typeof e,"")),u=null}return n=Jn(b,i,n,c),n.elementType=e,n.type=u,n.lanes=p,n}function ds(e,n,i,u){return e=Jn(7,e,u,n),e.lanes=i,e}function Cf(e,n,i){return e=Jn(6,e,null,n),e.lanes=i,e}function ll(e,n,i){return n=Jn(4,e.children!==null?e.children:[],e.key,n),n.lanes=i,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}var Vi=[],Aa=0,zu=null,io=0,Hr=[],jr=0,It=null,Gt=1,Yi="";function ps(e,n){Vi[Aa++]=io,Vi[Aa++]=zu,zu=e,io=n}function Nf(e,n,i){Hr[jr++]=Gt,Hr[jr++]=Yi,Hr[jr++]=It,It=e;var u=Gt;e=Yi;var c=32-_n(u)-1;u&=~(1<<c),i+=1;var p=32-_n(n)+c;if(30<p){var b=c-c%5;p=(u&(1<<b)-1).toString(32),u>>=b,c-=b,Gt=1<<32-_n(n)+c|i<<c|u,Yi=p+e}else Gt=1<<p|i<<c|u,Yi=e}function Mf(e){e.return!==null&&(ps(e,1),Nf(e,1,0))}function ao(e){for(;e===zu;)zu=Vi[--Aa],Vi[Aa]=null,io=Vi[--Aa],Vi[Aa]=null;for(;e===It;)It=Hr[--jr],Hr[jr]=null,Yi=Hr[--jr],Hr[jr]=null,Gt=Hr[--jr],Hr[jr]=null}var fn=null,zt=null,et=!1,Jr=null,er=!1,ol=Error(l(519));function Gr(e){var n=Error(l(418,""));throw xa(kn(n,e)),ol}function Fd(e){var n=e.stateNode,i=e.type,u=e.memoizedProps;switch(n[en]=e,n[Dn]=u,i){case"dialog":Je("cancel",n),Je("close",n);break;case"iframe":case"object":case"embed":Je("load",n);break;case"video":case"audio":for(i=0;i<Xo.length;i++)Je(Xo[i],n);break;case"source":Je("error",n);break;case"img":case"image":case"link":Je("error",n),Je("load",n);break;case"details":Je("toggle",n);break;case"input":Je("invalid",n),of(n,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0),_u(n);break;case"select":Je("invalid",n);break;case"textarea":Je("invalid",n),Eu(n,u.value,u.defaultValue,u.children),_u(n)}i=u.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||n.textContent===""+i||u.suppressHydrationWarning===!0||hp(n.textContent,i)?(u.popover!=null&&(Je("beforetoggle",n),Je("toggle",n)),u.onScroll!=null&&Je("scroll",n),u.onScrollEnd!=null&&Je("scrollend",n),u.onClick!=null&&(n.onclick=Nc),n=!0):n=!1,n||Gr(e)}function Pd(e){for(fn=e.return;fn;)switch(fn.tag){case 5:case 13:er=!1;return;case 27:case 3:er=!0;return;default:fn=fn.return}}function so(e){if(e!==fn)return!1;if(!et)return Pd(e),et=!0,!1;var n=e.tag,i;if((i=n!==3&&n!==27)&&((i=n===5)&&(i=e.type,i=!(i!=="form"&&i!=="button")||Dc(e.type,e.memoizedProps)),i=!i),i&&zt&&Gr(e),Pd(e),n===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8)if(i=e.data,i==="/$"){if(n===0){zt=ai(e.nextSibling);break e}n--}else i!=="$"&&i!=="$!"&&i!=="$?"||n++;e=e.nextSibling}zt=null}}else n===27?(n=zt,Vr(e.type)?(e=Ih,Ih=null,zt=e):zt=n):zt=fn?ai(e.stateNode.nextSibling):null;return!0}function lo(){zt=fn=null,et=!1}function Vd(){var e=Jr;return e!==null&&(or===null?or=e:or.push.apply(or,e),Jr=null),e}function xa(e){Jr===null?Jr=[e]:Jr.push(e)}var gs=$(null),Oa=null,A=null;function mr(e,n,i){le(gs,n._currentValue),n._currentValue=i}function zr(e){e._currentValue=gs.current,de(gs)}function tr(e,n,i){for(;e!==null;){var u=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,u!==null&&(u.childLanes|=n)):u!==null&&(u.childLanes&n)!==n&&(u.childLanes|=n),e===i)break;e=e.return}}function Xe(e,n,i,u){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var p=c.dependencies;if(p!==null){var b=c.child;p=p.firstContext;e:for(;p!==null;){var x=p;p=c;for(var M=0;M<n.length;M++)if(x.context===n[M]){p.lanes|=i,x=p.alternate,x!==null&&(x.lanes|=i),tr(p.return,i,e),u||(b=null);break e}p=x.next}}else if(c.tag===18){if(b=c.return,b===null)throw Error(l(341));b.lanes|=i,p=b.alternate,p!==null&&(p.lanes|=i),tr(b,i,e),b=null}else b=c.child;if(b!==null)b.return=c;else for(b=c;b!==null;){if(b===e){b=null;break}if(c=b.sibling,c!==null){c.return=b.return,b=c;break}b=b.return}c=b}}function oo(e,n,i,u){e=null;for(var c=n,p=!1;c!==null;){if(!p){if((c.flags&524288)!==0)p=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var b=c.alternate;if(b===null)throw Error(l(387));if(b=b.memoizedProps,b!==null){var x=c.type;pr(c.pendingProps.value,b.value)||(e!==null?e.push(x):e=[x])}}else if(c===Vt.current){if(b=c.alternate,b===null)throw Error(l(387));b.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(Il):e=[Il])}c=c.return}e!==null&&Xe(n,e,i,u),n.flags|=262144}function ku(e){for(e=e.firstContext;e!==null;){if(!pr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ms(e){Oa=e,A=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Yt(e){return Yd(Oa,e)}function qu(e,n){return Oa===null&&ms(e),Yd(e,n)}function Yd(e,n){var i=n._currentValue;if(n={context:n,memoizedValue:i,next:null},A===null){if(e===null)throw Error(l(308));A=n,e.dependencies={lanes:0,firstContext:n},e.flags|=524288}else A=A.next=n;return i}var tm=typeof AbortController<"u"?AbortController:function(){var e=[],n=this.signal={aborted:!1,addEventListener:function(i,u){e.push(u)}};this.abort=function(){n.aborted=!0,e.forEach(function(i){return i()})}},nm=t.unstable_scheduleCallback,rm=t.unstable_NormalPriority,wt={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Df(){return{controller:new tm,data:new Map,refCount:0}}function uo(e){e.refCount--,e.refCount===0&&nm(rm,function(){e.controller.abort()})}var co=null,Lf=0,ul=0,nr=null;function im(e,n){if(co===null){var i=co=[];Lf=0,ul=Rc(),nr={status:"pending",value:void 0,then:function(u){i.push(u)}}}return Lf++,n.then(Zd,Zd),n}function Zd(){if(--Lf===0&&co!==null){nr!==null&&(nr.status="fulfilled");var e=co;co=null,ul=0,nr=null;for(var n=0;n<e.length;n++)(0,e[n])()}}function am(e,n){var i=[],u={status:"pending",value:null,reason:null,then:function(c){i.push(c)}};return e.then(function(){u.status="fulfilled",u.value=n;for(var c=0;c<i.length;c++)(0,i[c])(n)},function(c){for(u.status="rejected",u.reason=c,c=0;c<i.length;c++)(0,i[c])(void 0)}),u}var Xd=J.S;J.S=function(e,n){typeof n=="object"&&n!==null&&typeof n.then=="function"&&im(e,n),Xd!==null&&Xd(e,n)};var vs=$(null);function Zi(){var e=vs.current;return e!==null?e:Lt.pooledCache}function Fu(e,n){n===null?le(vs,vs.current):le(vs,n.pool)}function Kd(){var e=Zi();return e===null?null:{parent:wt._currentValue,pool:e}}var Fn=Error(l(460)),Qd=Error(l(474)),Pu=Error(l(542)),Bf={then:function(){}};function Wd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Vu(){}function Uf(e,n,i){switch(i=e[i],i===void 0?e.push(n):i!==n&&(n.then(Vu,Vu),n=i),n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,Jd(e),e;default:if(typeof n.status=="string")n.then(Vu,Vu);else{if(e=Lt,e!==null&&100<e.shellSuspendCounter)throw Error(l(482));e=n,e.status="pending",e.then(function(u){if(n.status==="pending"){var c=n;c.status="fulfilled",c.value=u}},function(u){if(n.status==="pending"){var c=n;c.status="rejected",c.reason=u}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,Jd(e),e}throw cl=n,Fn}}var cl=null;function $d(){if(cl===null)throw Error(l(459));var e=cl;return cl=null,e}function Jd(e){if(e===Fn||e===Pu)throw Error(l(483))}var Ei=!1;function ys(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function fl(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function wa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Xi(e,n,i){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,(Et&2)!==0){var c=u.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),u.pending=n,n=no(e),to(e,null,i),n}return $r(e,u,n,i),no(e)}function fo(e,n,i){if(n=n.updateQueue,n!==null&&(n=n.shared,(i&4194048)!==0)){var u=n.lanes;u&=e.pendingLanes,i|=u,n.lanes=i,Jt(e,i)}}function ei(e,n){var i=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,i===u)){var c=null,p=null;if(i=i.firstBaseUpdate,i!==null){do{var b={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};p===null?c=p=b:p=p.next=b,i=i.next}while(i!==null);p===null?c=p=n:p=p.next=n}else c=p=n;i={baseState:u.baseState,firstBaseUpdate:c,lastBaseUpdate:p,shared:u.shared,callbacks:u.callbacks},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=n:e.next=n,i.lastBaseUpdate=n}var ho=!1;function ti(){if(ho){var e=nr;if(e!==null)throw e}}function Bn(e,n,i,u){ho=!1;var c=e.updateQueue;Ei=!1;var p=c.firstBaseUpdate,b=c.lastBaseUpdate,x=c.shared.pending;if(x!==null){c.shared.pending=null;var M=x,P=M.next;M.next=null,b===null?p=P:b.next=P,b=M;var ne=e.alternate;ne!==null&&(ne=ne.updateQueue,x=ne.lastBaseUpdate,x!==b&&(x===null?ne.firstBaseUpdate=P:x.next=P,ne.lastBaseUpdate=M))}if(p!==null){var ae=c.baseState;b=0,ne=P=M=null,x=p;do{var K=x.lane&-536870913,V=K!==x.lane;if(V?(st&K)===K:(u&K)===K){K!==0&&K===ul&&(ho=!0),ne!==null&&(ne=ne.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{var De=e,Me=x;K=n;var xt=i;switch(Me.tag){case 1:if(De=Me.payload,typeof De=="function"){ae=De.call(xt,ae,K);break e}ae=De;break e;case 3:De.flags=De.flags&-65537|128;case 0:if(De=Me.payload,K=typeof De=="function"?De.call(xt,ae,K):De,K==null)break e;ae=T({},ae,K);break e;case 2:Ei=!0}}K=x.callback,K!==null&&(e.flags|=64,V&&(e.flags|=8192),V=c.callbacks,V===null?c.callbacks=[K]:V.push(K))}else V={lane:K,tag:x.tag,payload:x.payload,callback:x.callback,next:null},ne===null?(P=ne=V,M=ae):ne=ne.next=V,b|=K;if(x=x.next,x===null){if(x=c.shared.pending,x===null)break;V=x,x=V.next,V.next=null,c.lastBaseUpdate=V,c.shared.pending=null}}while(!0);ne===null&&(M=ae),c.baseState=M,c.firstBaseUpdate=P,c.lastBaseUpdate=ne,p===null&&(c.shared.lanes=0),Ia|=b,e.lanes=b,e.memoizedState=ae}}function e0(e,n){if(typeof e!="function")throw Error(l(191,e));e.call(n)}function If(e,n){var i=e.callbacks;if(i!==null)for(e.callbacks=null,e=0;e<i.length;e++)e0(i[e],n)}var _s=$(null),Ra=$(0);function Ki(e,n){e=ia,le(Ra,e),le(_s,n),ia=e|n.baseLanes}function Yu(){le(Ra,ia),le(_s,_s.current)}function Hf(){ia=Ra.current,de(_s),de(Ra)}var ni=0,Ve=null,bt=null,tt=null,hl=!1,bs=!1,Un=!1,dl=0,Ca=0,kr=null,t0=0;function rt(){throw Error(l(321))}function po(e,n){if(n===null)return!1;for(var i=0;i<n.length&&i<e.length;i++)if(!pr(e[i],n[i]))return!1;return!0}function jf(e,n,i,u,c,p){return ni=p,Ve=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,J.H=e===null||e.memoizedState===null?p0:nh,Un=!1,p=i(u,c),Un=!1,bs&&(p=r0(n,i,u,c)),n0(e),p}function n0(e){J.H=xo;var n=bt!==null&&bt.next!==null;if(ni=0,tt=bt=Ve=null,hl=!1,Ca=0,kr=null,n)throw Error(l(300));e===null||bn||(e=e.dependencies,e!==null&&ku(e)&&(bn=!0))}function r0(e,n,i,u){Ve=e;var c=0;do{if(bs&&(kr=null),Ca=0,bs=!1,25<=c)throw Error(l(301));if(c+=1,tt=bt=null,e.updateQueue!=null){var p=e.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}J.H=g0,p=n(i,u)}while(bs);return p}function Gf(){var e=J.H,n=e.useState()[0];return n=typeof n.then=="function"?go(n):n,e=e.useState()[0],(bt!==null?bt.memoizedState:null)!==e&&(Ve.flags|=1024),n}function zf(){var e=dl!==0;return dl=0,e}function Es(e,n,i){n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~i}function Zu(e){if(hl){for(e=e.memoizedState;e!==null;){var n=e.queue;n!==null&&(n.pending=null),e=e.next}hl=!1}ni=0,tt=bt=Ve=null,bs=!1,Ca=dl=0,kr=null}function rr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tt===null?Ve.memoizedState=tt=e:tt=tt.next=e,tt}function on(){if(bt===null){var e=Ve.alternate;e=e!==null?e.memoizedState:null}else e=bt.next;var n=tt===null?Ve.memoizedState:tt.next;if(n!==null)tt=n,bt=e;else{if(e===null)throw Ve.alternate===null?Error(l(467)):Error(l(310));bt=e,e={memoizedState:bt.memoizedState,baseState:bt.baseState,baseQueue:bt.baseQueue,queue:bt.queue,next:null},tt===null?Ve.memoizedState=tt=e:tt=tt.next=e}return tt}function Ss(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function go(e){var n=Ca;return Ca+=1,kr===null&&(kr=[]),e=Uf(kr,e,n),n=Ve,(tt===null?n.memoizedState:tt.next)===null&&(n=n.alternate,J.H=n===null||n.memoizedState===null?p0:nh),e}function Xu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return go(e);if(e.$$typeof===C)return Yt(e)}throw Error(l(438,String(e)))}function mo(e){var n=null,i=Ve.updateQueue;if(i!==null&&(n=i.memoCache),n==null){var u=Ve.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(n={data:u.data.map(function(c){return c.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),i===null&&(i=Ss(),Ve.updateQueue=i),i.memoCache=n,i=n.data[n.index],i===void 0)for(i=n.data[n.index]=Array(e),u=0;u<e;u++)i[u]=Ze;return n.index++,i}function Si(e,n){return typeof n=="function"?n(e):n}function Ku(e){var n=on();return kf(n,bt,e)}function kf(e,n,i){var u=e.queue;if(u===null)throw Error(l(311));u.lastRenderedReducer=i;var c=e.baseQueue,p=u.pending;if(p!==null){if(c!==null){var b=c.next;c.next=p.next,p.next=b}n.baseQueue=c=p,u.pending=null}if(p=e.baseState,c===null)e.memoizedState=p;else{n=c.next;var x=b=null,M=null,P=n,ne=!1;do{var ae=P.lane&-536870913;if(ae!==P.lane?(st&ae)===ae:(ni&ae)===ae){var K=P.revertLane;if(K===0)M!==null&&(M=M.next={lane:0,revertLane:0,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null}),ae===ul&&(ne=!0);else if((ni&K)===K){P=P.next,K===ul&&(ne=!0);continue}else ae={lane:0,revertLane:P.revertLane,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},M===null?(x=M=ae,b=p):M=M.next=ae,Ve.lanes|=K,Ia|=K;ae=P.action,Un&&i(p,ae),p=P.hasEagerState?P.eagerState:i(p,ae)}else K={lane:ae,revertLane:P.revertLane,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},M===null?(x=M=K,b=p):M=M.next=K,Ve.lanes|=ae,Ia|=ae;P=P.next}while(P!==null&&P!==n);if(M===null?b=p:M.next=x,!pr(p,e.memoizedState)&&(bn=!0,ne&&(i=nr,i!==null)))throw i;e.memoizedState=p,e.baseState=b,e.baseQueue=M,u.lastRenderedState=p}return c===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function qf(e){var n=on(),i=n.queue;if(i===null)throw Error(l(311));i.lastRenderedReducer=e;var u=i.dispatch,c=i.pending,p=n.memoizedState;if(c!==null){i.pending=null;var b=c=c.next;do p=e(p,b.action),b=b.next;while(b!==c);pr(p,n.memoizedState)||(bn=!0),n.memoizedState=p,n.baseQueue===null&&(n.baseState=p),i.lastRenderedState=p}return[p,u]}function Ff(e,n,i){var u=Ve,c=on(),p=et;if(p){if(i===void 0)throw Error(l(407));i=i()}else i=n();var b=!pr((bt||c).memoizedState,i);b&&(c.memoizedState=i,bn=!0),c=c.queue;var x=Wu.bind(null,u,c,e);if(_o(2048,8,x,[e]),c.getSnapshot!==n||b||tt!==null&&tt.memoizedState.tag&1){if(u.flags|=2048,pl(9,nc(),i0.bind(null,u,c,i,n),null),Lt===null)throw Error(l(349));p||(ni&124)!==0||Qu(u,n,i)}return i}function Qu(e,n,i){e.flags|=16384,e={getSnapshot:n,value:i},n=Ve.updateQueue,n===null?(n=Ss(),Ve.updateQueue=n,n.stores=[e]):(i=n.stores,i===null?n.stores=[e]:i.push(e))}function i0(e,n,i,u){n.value=i,n.getSnapshot=u,Pf(n)&&Vf(e)}function Wu(e,n,i){return i(function(){Pf(n)&&Vf(e)})}function Pf(e){var n=e.getSnapshot;e=e.value;try{var i=n();return!pr(e,i)}catch{return!0}}function Vf(e){var n=cs(e,2);n!==null&&Er(n,e,2)}function $u(e){var n=rr();if(typeof e=="function"){var i=e;if(e=i(),Un){Cn(!0);try{i()}finally{Cn(!1)}}}return n.memoizedState=n.baseState=e,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Si,lastRenderedState:e},n}function vo(e,n,i,u){return e.baseState=i,kf(e,bt,typeof u=="function"?u:Si)}function sm(e,n,i,u,c){if(sc(e))throw Error(l(485));if(e=n.action,e!==null){var p={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){p.listeners.push(b)}};J.T!==null?i(!0):p.isTransition=!1,u(p),i=n.pending,i===null?(p.next=n.pending=p,Yf(n,p)):(p.next=i.next,n.pending=i.next=p)}}function Yf(e,n){var i=n.action,u=n.payload,c=e.state;if(n.isTransition){var p=J.T,b={};J.T=b;try{var x=i(c,u),M=J.S;M!==null&&M(b,x),Zf(e,n,x)}catch(P){Ju(e,n,P)}finally{J.T=p}}else try{p=i(c,u),Zf(e,n,p)}catch(P){Ju(e,n,P)}}function Zf(e,n,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(u){a0(e,n,u)},function(u){return Ju(e,n,u)}):a0(e,n,i)}function a0(e,n,i){n.status="fulfilled",n.value=i,s0(n),e.state=i,n=e.pending,n!==null&&(i=n.next,i===n?e.pending=null:(i=i.next,n.next=i,Yf(e,i)))}function Ju(e,n,i){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do n.status="rejected",n.reason=i,s0(n),n=n.next;while(n!==u)}e.action=null}function s0(e){e=e.listeners;for(var n=0;n<e.length;n++)(0,e[n])()}function ec(e,n){return n}function Xf(e,n){if(et){var i=Lt.formState;if(i!==null){e:{var u=Ve;if(et){if(zt){t:{for(var c=zt,p=er;c.nodeType!==8;){if(!p){c=null;break t}if(c=ai(c.nextSibling),c===null){c=null;break t}}p=c.data,c=p==="F!"||p==="F"?c:null}if(c){zt=ai(c.nextSibling),u=c.data==="F!";break e}}Gr(u)}u=!1}u&&(n=i[0])}}return i=rr(),i.memoizedState=i.baseState=n,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ec,lastRenderedState:n},i.queue=u,i=Jf.bind(null,Ve,u),u.dispatch=i,u=$u(!1),p=eh.bind(null,Ve,!1,u.queue),u=rr(),c={state:n,dispatch:null,action:e,pending:null},u.queue=c,i=sm.bind(null,Ve,c,p,i),c.dispatch=i,u.memoizedState=e,[n,i,!1]}function tc(e){var n=on();return l0(n,bt,e)}function l0(e,n,i){if(n=kf(e,n,ec)[0],e=Ku(Si)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var u=go(n)}catch(b){throw b===Fn?Pu:b}else u=n;n=on();var c=n.queue,p=c.dispatch;return i!==n.memoizedState&&(Ve.flags|=2048,pl(9,nc(),Kf.bind(null,c,i),null)),[u,p,e]}function Kf(e,n){e.action=n}function Pe(e){var n=on(),i=bt;if(i!==null)return l0(n,i,e);on(),n=n.memoizedState,i=on();var u=i.queue.dispatch;return i.memoizedState=e,[n,u,!1]}function pl(e,n,i,u){return e={tag:e,create:i,deps:u,inst:n,next:null},n=Ve.updateQueue,n===null&&(n=Ss(),Ve.updateQueue=n),i=n.lastEffect,i===null?n.lastEffect=e.next=e:(u=i.next,i.next=e,e.next=u,n.lastEffect=e),e}function nc(){return{destroy:void 0,resource:void 0}}function gl(){return on().memoizedState}function yo(e,n,i,u){var c=rr();u=u===void 0?null:u,Ve.flags|=e,c.memoizedState=pl(1|n,nc(),i,u)}function _o(e,n,i,u){var c=on();u=u===void 0?null:u;var p=c.memoizedState.inst;bt!==null&&u!==null&&po(u,bt.memoizedState.deps)?c.memoizedState=pl(n,p,i,u):(Ve.flags|=e,c.memoizedState=pl(1|n,p,i,u))}function o0(e,n){yo(8390656,8,e,n)}function vr(e,n){_o(2048,8,e,n)}function u0(e,n){return _o(4,2,e,n)}function bo(e,n){return _o(4,4,e,n)}function rc(e,n){if(typeof n=="function"){e=e();var i=n(e);return function(){typeof i=="function"?i():n(null)}}if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Qf(e,n,i){i=i!=null?i.concat([e]):null,_o(4,4,rc.bind(null,n,e),i)}function ic(){}function ir(e,n){var i=on();n=n===void 0?null:n;var u=i.memoizedState;return n!==null&&po(n,u[1])?u[0]:(i.memoizedState=[e,n],e)}function Qi(e,n){var i=on();n=n===void 0?null:n;var u=i.memoizedState;if(n!==null&&po(n,u[1]))return u[0];if(u=e(),Un){Cn(!0);try{e()}finally{Cn(!1)}}return i.memoizedState=[u,n],u}function Eo(e,n,i){return i===void 0||(ni&1073741824)!==0?e.memoizedState=n:(e.memoizedState=i,e=q0(),Ve.lanes|=e,Ia|=e,i)}function Wf(e,n,i,u){return pr(i,n)?i:_s.current!==null?(e=Eo(e,i,u),pr(e,n)||(bn=!0),e):(ni&42)===0?(bn=!0,e.memoizedState=i):(e=q0(),Ve.lanes|=e,Ia|=e,n)}function So(e,n,i,u,c){var p=fe.p;fe.p=p!==0&&8>p?p:8;var b=J.T,x={};J.T=x,eh(e,!1,n,i);try{var M=c(),P=J.S;if(P!==null&&P(x,M),M!==null&&typeof M=="object"&&typeof M.then=="function"){var ne=am(M,u);Ts(e,n,ne,Hn(e))}else Ts(e,n,u,Hn(e))}catch(ae){Ts(e,n,{then:function(){},status:"rejected",reason:ae},Hn())}finally{fe.p=p,J.T=b}}function c0(){}function To(e,n,i,u){if(e.tag!==5)throw Error(l(476));var c=$f(e).queue;So(e,c,n,ge,i===null?c0:function(){return ac(e),i(u)})}function $f(e){var n=e.memoizedState;if(n!==null)return n;n={memoizedState:ge,baseState:ge,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Si,lastRenderedState:ge},next:null};var i={};return n.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Si,lastRenderedState:i},next:null},e.memoizedState=n,e=e.alternate,e!==null&&(e.memoizedState=n),n}function ac(e){var n=$f(e).next.queue;Ts(e,n,{},Hn())}function Ao(){return Yt(Il)}function Wi(){return on().memoizedState}function f0(){return on().memoizedState}function Na(e){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var i=Hn();e=wa(i);var u=Xi(n,e,i);u!==null&&(Er(u,n,i),fo(u,n,i)),n={cache:Df()},e.payload=n;return}n=n.return}}function h0(e,n,i){var u=Hn();i={lane:u,revertLane:0,action:i,hasEagerState:!1,eagerState:null,next:null},sc(e)?d0(n,i):(i=sl(e,n,i,u),i!==null&&(Er(i,e,u),th(i,n,u)))}function Jf(e,n,i){var u=Hn();Ts(e,n,i,u)}function Ts(e,n,i,u){var c={lane:u,revertLane:0,action:i,hasEagerState:!1,eagerState:null,next:null};if(sc(e))d0(n,c);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=n.lastRenderedReducer,p!==null))try{var b=n.lastRenderedState,x=p(b,i);if(c.hasEagerState=!0,c.eagerState=x,pr(x,b))return $r(e,n,c,0),Lt===null&&us(),!1}catch{}finally{}if(i=sl(e,n,c,u),i!==null)return Er(i,e,u),th(i,n,u),!0}return!1}function eh(e,n,i,u){if(u={lane:2,revertLane:Rc(),action:u,hasEagerState:!1,eagerState:null,next:null},sc(e)){if(n)throw Error(l(479))}else n=sl(e,i,u,2),n!==null&&Er(n,e,2)}function sc(e){var n=e.alternate;return e===Ve||n!==null&&n===Ve}function d0(e,n){bs=hl=!0;var i=e.pending;i===null?n.next=n:(n.next=i.next,i.next=n),e.pending=n}function th(e,n,i){if((i&4194048)!==0){var u=n.lanes;u&=e.pendingLanes,i|=u,n.lanes=i,Jt(e,i)}}var xo={readContext:Yt,use:Xu,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},p0={readContext:Yt,use:Xu,useCallback:function(e,n){return rr().memoizedState=[e,n===void 0?null:n],e},useContext:Yt,useEffect:o0,useImperativeHandle:function(e,n,i){i=i!=null?i.concat([e]):null,yo(4194308,4,rc.bind(null,n,e),i)},useLayoutEffect:function(e,n){return yo(4194308,4,e,n)},useInsertionEffect:function(e,n){yo(4,2,e,n)},useMemo:function(e,n){var i=rr();n=n===void 0?null:n;var u=e();if(Un){Cn(!0);try{e()}finally{Cn(!1)}}return i.memoizedState=[u,n],u},useReducer:function(e,n,i){var u=rr();if(i!==void 0){var c=i(n);if(Un){Cn(!0);try{i(n)}finally{Cn(!1)}}}else c=n;return u.memoizedState=u.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},u.queue=e,e=e.dispatch=h0.bind(null,Ve,e),[u.memoizedState,e]},useRef:function(e){var n=rr();return e={current:e},n.memoizedState=e},useState:function(e){e=$u(e);var n=e.queue,i=Jf.bind(null,Ve,n);return n.dispatch=i,[e.memoizedState,i]},useDebugValue:ic,useDeferredValue:function(e,n){var i=rr();return Eo(i,e,n)},useTransition:function(){var e=$u(!1);return e=So.bind(null,Ve,e.queue,!0,!1),rr().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,i){var u=Ve,c=rr();if(et){if(i===void 0)throw Error(l(407));i=i()}else{if(i=n(),Lt===null)throw Error(l(349));(st&124)!==0||Qu(u,n,i)}c.memoizedState=i;var p={value:i,getSnapshot:n};return c.queue=p,o0(Wu.bind(null,u,p,e),[e]),u.flags|=2048,pl(9,nc(),i0.bind(null,u,p,i,n),null),i},useId:function(){var e=rr(),n=Lt.identifierPrefix;if(et){var i=Yi,u=Gt;i=(u&~(1<<32-_n(u)-1)).toString(32)+i,n="«"+n+"R"+i,i=dl++,0<i&&(n+="H"+i.toString(32)),n+="»"}else i=t0++,n="«"+n+"r"+i.toString(32)+"»";return e.memoizedState=n},useHostTransitionStatus:Ao,useFormState:Xf,useActionState:Xf,useOptimistic:function(e){var n=rr();n.memoizedState=n.baseState=e;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=i,n=eh.bind(null,Ve,!0,i),i.dispatch=n,[e,n]},useMemoCache:mo,useCacheRefresh:function(){return rr().memoizedState=Na.bind(null,Ve)}},nh={readContext:Yt,use:Xu,useCallback:ir,useContext:Yt,useEffect:vr,useImperativeHandle:Qf,useInsertionEffect:u0,useLayoutEffect:bo,useMemo:Qi,useReducer:Ku,useRef:gl,useState:function(){return Ku(Si)},useDebugValue:ic,useDeferredValue:function(e,n){var i=on();return Wf(i,bt.memoizedState,e,n)},useTransition:function(){var e=Ku(Si)[0],n=on().memoizedState;return[typeof e=="boolean"?e:go(e),n]},useSyncExternalStore:Ff,useId:Wi,useHostTransitionStatus:Ao,useFormState:tc,useActionState:tc,useOptimistic:function(e,n){var i=on();return vo(i,bt,e,n)},useMemoCache:mo,useCacheRefresh:f0},g0={readContext:Yt,use:Xu,useCallback:ir,useContext:Yt,useEffect:vr,useImperativeHandle:Qf,useInsertionEffect:u0,useLayoutEffect:bo,useMemo:Qi,useReducer:qf,useRef:gl,useState:function(){return qf(Si)},useDebugValue:ic,useDeferredValue:function(e,n){var i=on();return bt===null?Eo(i,e,n):Wf(i,bt.memoizedState,e,n)},useTransition:function(){var e=qf(Si)[0],n=on().memoizedState;return[typeof e=="boolean"?e:go(e),n]},useSyncExternalStore:Ff,useId:Wi,useHostTransitionStatus:Ao,useFormState:Pe,useActionState:Pe,useOptimistic:function(e,n){var i=on();return bt!==null?vo(i,bt,e,n):(i.baseState=e,[e,i.queue.dispatch])},useMemoCache:mo,useCacheRefresh:f0},hn=null,ar=0;function lc(e){var n=ar;return ar+=1,hn===null&&(hn=[]),Uf(hn,e,n)}function Oo(e,n){n=n.props.ref,e.ref=n!==void 0?n:null}function As(e,n){throw n.$$typeof===R?Error(l(525)):(e=Object.prototype.toString.call(n),Error(l(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)))}function xs(e){var n=e._init;return n(e._payload)}function rh(e){function n(k,H){if(e){var F=k.deletions;F===null?(k.deletions=[H],k.flags|=16):F.push(H)}}function i(k,H){if(!e)return null;for(;H!==null;)n(k,H),H=H.sibling;return null}function u(k){for(var H=new Map;k!==null;)k.key!==null?H.set(k.key,k):H.set(k.index,k),k=k.sibling;return H}function c(k,H){return k=qn(k,H),k.index=0,k.sibling=null,k}function p(k,H,F){return k.index=F,e?(F=k.alternate,F!==null?(F=F.index,F<H?(k.flags|=67108866,H):F):(k.flags|=67108866,H)):(k.flags|=1048576,H)}function b(k){return e&&k.alternate===null&&(k.flags|=67108866),k}function x(k,H,F,re){return H===null||H.tag!==6?(H=Cf(F,k.mode,re),H.return=k,H):(H=c(H,F),H.return=k,H)}function M(k,H,F,re){var be=F.type;return be===U?ne(k,H,F.props.children,re,F.key):H!==null&&(H.elementType===be||typeof be=="object"&&be!==null&&be.$$typeof===Ee&&xs(be)===H.type)?(H=c(H,F.props),Oo(H,F),H.return=k,H):(H=Gu(F.type,F.key,F.props,null,k.mode,re),Oo(H,F),H.return=k,H)}function P(k,H,F,re){return H===null||H.tag!==4||H.stateNode.containerInfo!==F.containerInfo||H.stateNode.implementation!==F.implementation?(H=ll(F,k.mode,re),H.return=k,H):(H=c(H,F.children||[]),H.return=k,H)}function ne(k,H,F,re,be){return H===null||H.tag!==7?(H=ds(F,k.mode,re,be),H.return=k,H):(H=c(H,F),H.return=k,H)}function ae(k,H,F){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=Cf(""+H,k.mode,F),H.return=k,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case D:return F=Gu(H.type,H.key,H.props,null,k.mode,F),Oo(F,H),F.return=k,F;case Y:return H=ll(H,k.mode,F),H.return=k,H;case Ee:var re=H._init;return H=re(H._payload),ae(k,H,F)}if(Fe(H)||He(H))return H=ds(H,k.mode,F,null),H.return=k,H;if(typeof H.then=="function")return ae(k,lc(H),F);if(H.$$typeof===C)return ae(k,qu(k,H),F);As(k,H)}return null}function K(k,H,F,re){var be=H!==null?H.key:null;if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return be!==null?null:x(k,H,""+F,re);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case D:return F.key===be?M(k,H,F,re):null;case Y:return F.key===be?P(k,H,F,re):null;case Ee:return be=F._init,F=be(F._payload),K(k,H,F,re)}if(Fe(F)||He(F))return be!==null?null:ne(k,H,F,re,null);if(typeof F.then=="function")return K(k,H,lc(F),re);if(F.$$typeof===C)return K(k,H,qu(k,F),re);As(k,F)}return null}function V(k,H,F,re,be){if(typeof re=="string"&&re!==""||typeof re=="number"||typeof re=="bigint")return k=k.get(F)||null,x(H,k,""+re,be);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case D:return k=k.get(re.key===null?F:re.key)||null,M(H,k,re,be);case Y:return k=k.get(re.key===null?F:re.key)||null,P(H,k,re,be);case Ee:var Ke=re._init;return re=Ke(re._payload),V(k,H,F,re,be)}if(Fe(re)||He(re))return k=k.get(F)||null,ne(H,k,re,be,null);if(typeof re.then=="function")return V(k,H,F,lc(re),be);if(re.$$typeof===C)return V(k,H,F,qu(H,re),be);As(H,re)}return null}function De(k,H,F,re){for(var be=null,Ke=null,Re=H,Le=H=0,Tn=null;Re!==null&&Le<F.length;Le++){Re.index>Le?(Tn=Re,Re=null):Tn=Re.sibling;var ct=K(k,Re,F[Le],re);if(ct===null){Re===null&&(Re=Tn);break}e&&Re&&ct.alternate===null&&n(k,Re),H=p(ct,H,Le),Ke===null?be=ct:Ke.sibling=ct,Ke=ct,Re=Tn}if(Le===F.length)return i(k,Re),et&&ps(k,Le),be;if(Re===null){for(;Le<F.length;Le++)Re=ae(k,F[Le],re),Re!==null&&(H=p(Re,H,Le),Ke===null?be=Re:Ke.sibling=Re,Ke=Re);return et&&ps(k,Le),be}for(Re=u(Re);Le<F.length;Le++)Tn=V(Re,k,Le,F[Le],re),Tn!==null&&(e&&Tn.alternate!==null&&Re.delete(Tn.key===null?Le:Tn.key),H=p(Tn,H,Le),Ke===null?be=Tn:Ke.sibling=Tn,Ke=Tn);return e&&Re.forEach(function(Ya){return n(k,Ya)}),et&&ps(k,Le),be}function Me(k,H,F,re){if(F==null)throw Error(l(151));for(var be=null,Ke=null,Re=H,Le=H=0,Tn=null,ct=F.next();Re!==null&&!ct.done;Le++,ct=F.next()){Re.index>Le?(Tn=Re,Re=null):Tn=Re.sibling;var Ya=K(k,Re,ct.value,re);if(Ya===null){Re===null&&(Re=Tn);break}e&&Re&&Ya.alternate===null&&n(k,Re),H=p(Ya,H,Le),Ke===null?be=Ya:Ke.sibling=Ya,Ke=Ya,Re=Tn}if(ct.done)return i(k,Re),et&&ps(k,Le),be;if(Re===null){for(;!ct.done;Le++,ct=F.next())ct=ae(k,ct.value,re),ct!==null&&(H=p(ct,H,Le),Ke===null?be=ct:Ke.sibling=ct,Ke=ct);return et&&ps(k,Le),be}for(Re=u(Re);!ct.done;Le++,ct=F.next())ct=V(Re,k,Le,ct.value,re),ct!==null&&(e&&ct.alternate!==null&&Re.delete(ct.key===null?Le:ct.key),H=p(ct,H,Le),Ke===null?be=ct:Ke.sibling=ct,Ke=ct);return e&&Re.forEach(function(qm){return n(k,qm)}),et&&ps(k,Le),be}function xt(k,H,F,re){if(typeof F=="object"&&F!==null&&F.type===U&&F.key===null&&(F=F.props.children),typeof F=="object"&&F!==null){switch(F.$$typeof){case D:e:{for(var be=F.key;H!==null;){if(H.key===be){if(be=F.type,be===U){if(H.tag===7){i(k,H.sibling),re=c(H,F.props.children),re.return=k,k=re;break e}}else if(H.elementType===be||typeof be=="object"&&be!==null&&be.$$typeof===Ee&&xs(be)===H.type){i(k,H.sibling),re=c(H,F.props),Oo(re,F),re.return=k,k=re;break e}i(k,H);break}else n(k,H);H=H.sibling}F.type===U?(re=ds(F.props.children,k.mode,re,F.key),re.return=k,k=re):(re=Gu(F.type,F.key,F.props,null,k.mode,re),Oo(re,F),re.return=k,k=re)}return b(k);case Y:e:{for(be=F.key;H!==null;){if(H.key===be)if(H.tag===4&&H.stateNode.containerInfo===F.containerInfo&&H.stateNode.implementation===F.implementation){i(k,H.sibling),re=c(H,F.children||[]),re.return=k,k=re;break e}else{i(k,H);break}else n(k,H);H=H.sibling}re=ll(F,k.mode,re),re.return=k,k=re}return b(k);case Ee:return be=F._init,F=be(F._payload),xt(k,H,F,re)}if(Fe(F))return De(k,H,F,re);if(He(F)){if(be=He(F),typeof be!="function")throw Error(l(150));return F=be.call(F),Me(k,H,F,re)}if(typeof F.then=="function")return xt(k,H,lc(F),re);if(F.$$typeof===C)return xt(k,H,qu(k,F),re);As(k,F)}return typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint"?(F=""+F,H!==null&&H.tag===6?(i(k,H.sibling),re=c(H,F),re.return=k,k=re):(i(k,H),re=Cf(F,k.mode,re),re.return=k,k=re),b(k)):i(k,H)}return function(k,H,F,re){try{ar=0;var be=xt(k,H,F,re);return hn=null,be}catch(Re){if(Re===Fn||Re===Pu)throw Re;var Ke=Jn(29,Re,null,k.mode);return Ke.lanes=re,Ke.return=k,Ke}finally{}}}var Os=rh(!0),m0=rh(!1),yr=$(null),Pn=null;function qr(e){var n=e.alternate;le(Zt,Zt.current&1),le(yr,e),Pn===null&&(n===null||_s.current!==null||n.memoizedState!==null)&&(Pn=e)}function v0(e){if(e.tag===22){if(le(Zt,Zt.current),le(yr,e),Pn===null){var n=e.alternate;n!==null&&n.memoizedState!==null&&(Pn=e)}}else $i()}function $i(){le(Zt,Zt.current),le(yr,yr.current)}function Ti(e){de(yr),Pn===e&&(Pn=null),de(Zt)}var Zt=$(0);function wo(e){for(var n=e;n!==null;){if(n.tag===13){var i=n.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||Yn(i)))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}function ml(e,n,i,u){n=e.memoizedState,i=i(u,n),i=i==null?n:T({},n,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var Ro={enqueueSetState:function(e,n,i){e=e._reactInternals;var u=Hn(),c=wa(u);c.payload=n,i!=null&&(c.callback=i),n=Xi(e,c,u),n!==null&&(Er(n,e,u),fo(n,e,u))},enqueueReplaceState:function(e,n,i){e=e._reactInternals;var u=Hn(),c=wa(u);c.tag=1,c.payload=n,i!=null&&(c.callback=i),n=Xi(e,c,u),n!==null&&(Er(n,e,u),fo(n,e,u))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var i=Hn(),u=wa(i);u.tag=2,n!=null&&(u.callback=n),n=Xi(e,u,i),n!==null&&(Er(n,e,i),fo(n,e,i))}};function Co(e,n,i,u,c,p,b){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(u,p,b):n.prototype&&n.prototype.isPureReactComponent?!bi(i,u)||!bi(c,p):!0}function y0(e,n,i,u){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(i,u),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(i,u),n.state!==e&&Ro.enqueueReplaceState(n,n.state,null)}function Ma(e,n){var i=n;if("ref"in n){i={};for(var u in n)u!=="ref"&&(i[u]=n[u])}if(e=e.defaultProps){i===n&&(i=T({},i));for(var c in e)i[c]===void 0&&(i[c]=e[c])}return i}var ws=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=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(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function ih(e){ws(e)}function oc(e){console.error(e)}function _0(e){ws(e)}function No(e,n){try{var i=e.onUncaughtError;i(n.value,{componentStack:n.stack})}catch(u){setTimeout(function(){throw u})}}function Ai(e,n,i){try{var u=e.onCaughtError;u(i.value,{componentStack:i.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function uc(e,n,i){return i=wa(i),i.tag=3,i.payload={element:null},i.callback=function(){No(e,n)},i}function ah(e){return e=wa(e),e.tag=3,e}function b0(e,n,i,u){var c=i.type.getDerivedStateFromError;if(typeof c=="function"){var p=u.value;e.payload=function(){return c(p)},e.callback=function(){Ai(n,i,u)}}var b=i.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(e.callback=function(){Ai(n,i,u),typeof c!="function"&&(Ha===null?Ha=new Set([this]):Ha.add(this));var x=u.stack;this.componentDidCatch(u.value,{componentStack:x!==null?x:""})})}function E0(e,n,i,u,c){if(i.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(n=i.alternate,n!==null&&oo(n,i,c,!0),i=yr.current,i!==null){switch(i.tag){case 13:return Pn===null?Ah():i.alternate===null&&Xt===0&&(Xt=3),i.flags&=-257,i.flags|=65536,i.lanes=c,u===Bf?i.flags|=16384:(n=i.updateQueue,n===null?i.updateQueue=new Set([u]):n.add(u),wh(e,u,c)),!1;case 22:return i.flags|=65536,u===Bf?i.flags|=16384:(n=i.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([u])},i.updateQueue=n):(i=n.retryQueue,i===null?n.retryQueue=new Set([u]):i.add(u)),wh(e,u,c)),!1}throw Error(l(435,i.tag))}return wh(e,u,c),Ah(),!1}if(et)return n=yr.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=c,u!==ol&&(e=Error(l(422),{cause:u}),xa(kn(e,i)))):(u!==ol&&(n=Error(l(423),{cause:u}),xa(kn(n,i))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,u=kn(u,i),c=uc(e.stateNode,u,c),ei(e,c),Xt!==4&&(Xt=2)),!1;var p=Error(l(520),{cause:u});if(p=kn(p,i),zo===null?zo=[p]:zo.push(p),Xt!==4&&(Xt=2),n===null)return!0;u=kn(u,i),i=n;do{switch(i.tag){case 3:return i.flags|=65536,e=c&-c,i.lanes|=e,e=uc(i.stateNode,u,e),ei(i,e),!1;case 1:if(n=i.type,p=i.stateNode,(i.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(Ha===null||!Ha.has(p))))return i.flags|=65536,c&=-c,i.lanes|=c,c=ah(c),b0(c,e,i,u),ei(i,c),!1}i=i.return}while(i!==null);return!1}var S0=Error(l(461)),bn=!1;function Ht(e,n,i,u){n.child=e===null?m0(n,null,i,u):Os(n,e.child,i,u)}function cc(e,n,i,u,c){i=i.render;var p=n.ref;if("ref"in u){var b={};for(var x in u)x!=="ref"&&(b[x]=u[x])}else b=u;return ms(n),u=jf(e,n,i,b,p,c),x=zf(),e!==null&&!bn?(Es(e,n,c),Ji(e,n,c)):(et&&x&&Mf(n),n.flags|=1,Ht(e,n,u,c),n.child)}function fc(e,n,i,u,c){if(e===null){var p=i.type;return typeof p=="function"&&!hs(p)&&p.defaultProps===void 0&&i.compare===null?(n.tag=15,n.type=p,hc(e,n,p,u,c)):(e=Gu(i.type,null,u,n,n.mode,c),e.ref=n.ref,e.return=n,n.child=e)}if(p=e.child,!ri(e,c)){var b=p.memoizedProps;if(i=i.compare,i=i!==null?i:bi,i(b,u)&&e.ref===n.ref)return Ji(e,n,c)}return n.flags|=1,e=qn(p,u),e.ref=n.ref,e.return=n,n.child=e}function hc(e,n,i,u,c){if(e!==null){var p=e.memoizedProps;if(bi(p,u)&&e.ref===n.ref)if(bn=!1,n.pendingProps=u=p,ri(e,c))(e.flags&131072)!==0&&(bn=!0);else return n.lanes=e.lanes,Ji(e,n,c)}return vl(e,n,i,u,c)}function Mo(e,n,i){var u=n.pendingProps,c=u.children,p=e!==null?e.memoizedState:null;if(u.mode==="hidden"){if((n.flags&128)!==0){if(u=p!==null?p.baseLanes|i:i,e!==null){for(c=n.child=e.child,p=0;c!==null;)p=p|c.lanes|c.childLanes,c=c.sibling;n.childLanes=p&~u}else n.childLanes=0,n.child=null;return Rs(e,n,u,i)}if((i&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},e!==null&&Fu(n,p!==null?p.cachePool:null),p!==null?Ki(n,p):Yu(),v0(n);else return n.lanes=n.childLanes=536870912,Rs(e,n,p!==null?p.baseLanes|i:i,i)}else p!==null?(Fu(n,p.cachePool),Ki(n,p),$i(),n.memoizedState=null):(e!==null&&Fu(n,null),Yu(),$i());return Ht(e,n,c,i),n.child}function Rs(e,n,i,u){var c=Zi();return c=c===null?null:{parent:wt._currentValue,pool:c},n.memoizedState={baseLanes:i,cachePool:c},e!==null&&Fu(n,null),Yu(),v0(n),e!==null&&oo(e,n,u,!0),null}function Ce(e,n){var i=n.ref;if(i===null)e!==null&&e.ref!==null&&(n.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(l(284));(e===null||e.ref!==i)&&(n.flags|=4194816)}}function vl(e,n,i,u,c){return ms(n),i=jf(e,n,i,u,void 0,c),u=zf(),e!==null&&!bn?(Es(e,n,c),Ji(e,n,c)):(et&&u&&Mf(n),n.flags|=1,Ht(e,n,i,c),n.child)}function dc(e,n,i,u,c,p){return ms(n),n.updateQueue=null,i=r0(n,u,i,c),n0(e),u=zf(),e!==null&&!bn?(Es(e,n,p),Ji(e,n,p)):(et&&u&&Mf(n),n.flags|=1,Ht(e,n,i,p),n.child)}function Da(e,n,i,u,c){if(ms(n),n.stateNode===null){var p=fs,b=i.contextType;typeof b=="object"&&b!==null&&(p=Yt(b)),p=new i(u,p),n.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=Ro,n.stateNode=p,p._reactInternals=n,p=n.stateNode,p.props=u,p.state=n.memoizedState,p.refs={},ys(n),b=i.contextType,p.context=typeof b=="object"&&b!==null?Yt(b):fs,p.state=n.memoizedState,b=i.getDerivedStateFromProps,typeof b=="function"&&(ml(n,i,b,u),p.state=n.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(b=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),b!==p.state&&Ro.enqueueReplaceState(p,p.state,null),Bn(n,u,p,c),ti(),p.state=n.memoizedState),typeof p.componentDidMount=="function"&&(n.flags|=4194308),u=!0}else if(e===null){p=n.stateNode;var x=n.memoizedProps,M=Ma(i,x);p.props=M;var P=p.context,ne=i.contextType;b=fs,typeof ne=="object"&&ne!==null&&(b=Yt(ne));var ae=i.getDerivedStateFromProps;ne=typeof ae=="function"||typeof p.getSnapshotBeforeUpdate=="function",x=n.pendingProps!==x,ne||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(x||P!==b)&&y0(n,p,u,b),Ei=!1;var K=n.memoizedState;p.state=K,Bn(n,u,p,c),ti(),P=n.memoizedState,x||K!==P||Ei?(typeof ae=="function"&&(ml(n,i,ae,u),P=n.memoizedState),(M=Ei||Co(n,i,M,u,K,P,b))?(ne||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(n.flags|=4194308)):(typeof p.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=u,n.memoizedState=P),p.props=u,p.state=P,p.context=b,u=M):(typeof p.componentDidMount=="function"&&(n.flags|=4194308),u=!1)}else{p=n.stateNode,fl(e,n),b=n.memoizedProps,ne=Ma(i,b),p.props=ne,ae=n.pendingProps,K=p.context,P=i.contextType,M=fs,typeof P=="object"&&P!==null&&(M=Yt(P)),x=i.getDerivedStateFromProps,(P=typeof x=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(b!==ae||K!==M)&&y0(n,p,u,M),Ei=!1,K=n.memoizedState,p.state=K,Bn(n,u,p,c),ti();var V=n.memoizedState;b!==ae||K!==V||Ei||e!==null&&e.dependencies!==null&&ku(e.dependencies)?(typeof x=="function"&&(ml(n,i,x,u),V=n.memoizedState),(ne=Ei||Co(n,i,ne,u,K,V,M)||e!==null&&e.dependencies!==null&&ku(e.dependencies))?(P||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(u,V,M),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(u,V,M)),typeof p.componentDidUpdate=="function"&&(n.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof p.componentDidUpdate!="function"||b===e.memoizedProps&&K===e.memoizedState||(n.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&K===e.memoizedState||(n.flags|=1024),n.memoizedProps=u,n.memoizedState=V),p.props=u,p.state=V,p.context=M,u=ne):(typeof p.componentDidUpdate!="function"||b===e.memoizedProps&&K===e.memoizedState||(n.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&K===e.memoizedState||(n.flags|=1024),u=!1)}return p=u,Ce(e,n),u=(n.flags&128)!==0,p||u?(p=n.stateNode,i=u&&typeof i.getDerivedStateFromError!="function"?null:p.render(),n.flags|=1,e!==null&&u?(n.child=Os(n,e.child,null,c),n.child=Os(n,null,i,c)):Ht(e,n,i,c),n.memoizedState=p.state,e=n.child):e=Ji(e,n,c),e}function T0(e,n,i,u){return lo(),n.flags|=256,Ht(e,n,i,u),n.child}var Do={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function pc(e){return{baseLanes:e,cachePool:Kd()}}function En(e,n,i){return e=e!==null?e.childLanes&~i:0,n&&(e|=Pr),e}function A0(e,n,i){var u=n.pendingProps,c=!1,p=(n.flags&128)!==0,b;if((b=p)||(b=e!==null&&e.memoizedState===null?!1:(Zt.current&2)!==0),b&&(c=!0,n.flags&=-129),b=(n.flags&32)!==0,n.flags&=-33,e===null){if(et){if(c?qr(n):$i(),et){var x=zt,M;if(M=x){e:{for(M=x,x=er;M.nodeType!==8;){if(!x){x=null;break e}if(M=ai(M.nextSibling),M===null){x=null;break e}}x=M}x!==null?(n.memoizedState={dehydrated:x,treeContext:It!==null?{id:Gt,overflow:Yi}:null,retryLane:536870912,hydrationErrors:null},M=Jn(18,null,null,0),M.stateNode=x,M.return=n,n.child=M,fn=n,zt=null,M=!0):M=!1}M||Gr(n)}if(x=n.memoizedState,x!==null&&(x=x.dehydrated,x!==null))return Yn(x)?n.lanes=32:n.lanes=536870912,null;Ti(n)}return x=u.children,u=u.fallback,c?($i(),c=n.mode,x=Lo({mode:"hidden",children:x},c),u=ds(u,c,i,null),x.return=n,u.return=n,x.sibling=u,n.child=x,c=n.child,c.memoizedState=pc(i),c.childLanes=En(e,b,i),n.memoizedState=Do,u):(qr(n),sh(n,x))}if(M=e.memoizedState,M!==null&&(x=M.dehydrated,x!==null)){if(p)n.flags&256?(qr(n),n.flags&=-257,n=lh(e,n,i)):n.memoizedState!==null?($i(),n.child=e.child,n.flags|=128,n=null):($i(),c=u.fallback,x=n.mode,u=Lo({mode:"visible",children:u.children},x),c=ds(c,x,i,null),c.flags|=2,u.return=n,c.return=n,u.sibling=c,n.child=u,Os(n,e.child,null,i),u=n.child,u.memoizedState=pc(i),u.childLanes=En(e,b,i),n.memoizedState=Do,n=c);else if(qr(n),Yn(x)){if(b=x.nextSibling&&x.nextSibling.dataset,b)var P=b.dgst;b=P,u=Error(l(419)),u.stack="",u.digest=b,xa({value:u,source:null,stack:null}),n=lh(e,n,i)}else if(bn||oo(e,n,i,!1),b=(i&e.childLanes)!==0,bn||b){if(b=Lt,b!==null&&(u=i&-i,u=(u&42)!==0?1:mi(u),u=(u&(b.suspendedLanes|i))!==0?0:u,u!==0&&u!==M.retryLane))throw M.retryLane=u,cs(e,u),Er(b,e,u),S0;x.data==="$?"||Ah(),n=lh(e,n,i)}else x.data==="$?"?(n.flags|=192,n.child=e.child,n=null):(e=M.treeContext,zt=ai(x.nextSibling),fn=n,et=!0,Jr=null,er=!1,e!==null&&(Hr[jr++]=Gt,Hr[jr++]=Yi,Hr[jr++]=It,Gt=e.id,Yi=e.overflow,It=n),n=sh(n,u.children),n.flags|=4096);return n}return c?($i(),c=u.fallback,x=n.mode,M=e.child,P=M.sibling,u=qn(M,{mode:"hidden",children:u.children}),u.subtreeFlags=M.subtreeFlags&65011712,P!==null?c=qn(P,c):(c=ds(c,x,i,null),c.flags|=2),c.return=n,u.return=n,u.sibling=c,n.child=u,u=c,c=n.child,x=e.child.memoizedState,x===null?x=pc(i):(M=x.cachePool,M!==null?(P=wt._currentValue,M=M.parent!==P?{parent:P,pool:P}:M):M=Kd(),x={baseLanes:x.baseLanes|i,cachePool:M}),c.memoizedState=x,c.childLanes=En(e,b,i),n.memoizedState=Do,u):(qr(n),i=e.child,e=i.sibling,i=qn(i,{mode:"visible",children:u.children}),i.return=n,i.sibling=null,e!==null&&(b=n.deletions,b===null?(n.deletions=[e],n.flags|=16):b.push(e)),n.child=i,n.memoizedState=null,i)}function sh(e,n){return n=Lo({mode:"visible",children:n},e.mode),n.return=e,e.child=n}function Lo(e,n){return e=Jn(22,e,null,n),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function lh(e,n,i){return Os(n,e.child,null,i),e=sh(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function oh(e,n,i){e.lanes|=n;var u=e.alternate;u!==null&&(u.lanes|=n),tr(e.return,n,i)}function uh(e,n,i,u,c){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:c}:(p.isBackwards=n,p.rendering=null,p.renderingStartTime=0,p.last=u,p.tail=i,p.tailMode=c)}function x0(e,n,i){var u=n.pendingProps,c=u.revealOrder,p=u.tail;if(Ht(e,n,u.children,i),u=Zt.current,(u&2)!==0)u=u&1|2,n.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&oh(e,i,n);else if(e.tag===19)oh(e,i,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}switch(le(Zt,u),c){case"forwards":for(i=n.child,c=null;i!==null;)e=i.alternate,e!==null&&wo(e)===null&&(c=i),i=i.sibling;i=c,i===null?(c=n.child,n.child=null):(c=i.sibling,i.sibling=null),uh(n,!1,c,i,p);break;case"backwards":for(i=null,c=n.child,n.child=null;c!==null;){if(e=c.alternate,e!==null&&wo(e)===null){n.child=c;break}e=c.sibling,c.sibling=i,i=c,c=e}uh(n,!0,i,null,p);break;case"together":uh(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Ji(e,n,i){if(e!==null&&(n.dependencies=e.dependencies),Ia|=n.lanes,(i&n.childLanes)===0)if(e!==null){if(oo(e,n,i,!1),(i&n.childLanes)===0)return null}else return null;if(e!==null&&n.child!==e.child)throw Error(l(153));if(n.child!==null){for(e=n.child,i=qn(e,e.pendingProps),n.child=i,i.return=n;e.sibling!==null;)e=e.sibling,i=i.sibling=qn(e,e.pendingProps),i.return=n;i.sibling=null}return n.child}function ri(e,n){return(e.lanes&n)!==0?!0:(e=e.dependencies,!!(e!==null&&ku(e)))}function Vn(e,n,i){switch(n.tag){case 3:lt(n,n.stateNode.containerInfo),mr(n,wt,e.memoizedState.cache),lo();break;case 27:case 5:pi(n);break;case 4:lt(n,n.stateNode.containerInfo);break;case 10:mr(n,n.type,n.memoizedProps.value);break;case 13:var u=n.memoizedState;if(u!==null)return u.dehydrated!==null?(qr(n),n.flags|=128,null):(i&n.child.childLanes)!==0?A0(e,n,i):(qr(n),e=Ji(e,n,i),e!==null?e.sibling:null);qr(n);break;case 19:var c=(e.flags&128)!==0;if(u=(i&n.childLanes)!==0,u||(oo(e,n,i,!1),u=(i&n.childLanes)!==0),c){if(u)return x0(e,n,i);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),le(Zt,Zt.current),u)break;return null;case 22:case 23:return n.lanes=0,Mo(e,n,i);case 24:mr(n,wt,e.memoizedState.cache)}return Ji(e,n,i)}function gc(e,n,i){if(e!==null)if(e.memoizedProps!==n.pendingProps)bn=!0;else{if(!ri(e,i)&&(n.flags&128)===0)return bn=!1,Vn(e,n,i);bn=(e.flags&131072)!==0}else bn=!1,et&&(n.flags&1048576)!==0&&Nf(n,io,n.index);switch(n.lanes=0,n.tag){case 16:e:{e=n.pendingProps;var u=n.elementType,c=u._init;if(u=c(u._payload),n.type=u,typeof u=="function")hs(u)?(e=Ma(u,e),n.tag=1,n=Da(null,n,u,e,i)):(n.tag=0,n=vl(null,n,u,e,i));else{if(u!=null){if(c=u.$$typeof,c===Z){n.tag=11,n=cc(null,n,u,e,i);break e}else if(c===pe){n.tag=14,n=fc(null,n,u,e,i);break e}}throw n=Mt(u)||u,Error(l(306,n,""))}}return n;case 0:return vl(e,n,n.type,n.pendingProps,i);case 1:return u=n.type,c=Ma(u,n.pendingProps),Da(e,n,u,c,i);case 3:e:{if(lt(n,n.stateNode.containerInfo),e===null)throw Error(l(387));u=n.pendingProps;var p=n.memoizedState;c=p.element,fl(e,n),Bn(n,u,null,i);var b=n.memoizedState;if(u=b.cache,mr(n,wt,u),u!==p.cache&&Xe(n,[wt],i,!0),ti(),u=b.element,p.isDehydrated)if(p={element:u,isDehydrated:!1,cache:b.cache},n.updateQueue.baseState=p,n.memoizedState=p,n.flags&256){n=T0(e,n,u,i);break e}else if(u!==c){c=kn(Error(l(424)),n),xa(c),n=T0(e,n,u,i);break e}else{switch(e=n.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(zt=ai(e.firstChild),fn=n,et=!0,Jr=null,er=!0,i=m0(n,null,u,i),n.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(lo(),u===c){n=Ji(e,n,i);break e}Ht(e,n,u,i)}n=n.child}return n;case 26:return Ce(e,n),e===null?(i=Ep(n.type,null,n.pendingProps,null))?n.memoizedState=i:et||(i=n.type,e=n.pendingProps,u=Ms(Te.current).createElement(i),u[en]=n,u[Dn]=e,gn(u,i,e),sn(u),n.stateNode=u):n.memoizedState=Ep(n.type,e.memoizedProps,n.pendingProps,e.memoizedState),null;case 27:return pi(n),e===null&&et&&(u=n.stateNode=yp(n.type,n.pendingProps,Te.current),fn=n,er=!0,c=zt,Vr(n.type)?(Ih=c,zt=ai(u.firstChild)):zt=c),Ht(e,n,n.pendingProps.children,i),Ce(e,n),e===null&&(n.flags|=4194304),n.child;case 5:return e===null&&et&&((c=u=zt)&&(u=mp(u,n.type,n.pendingProps,er),u!==null?(n.stateNode=u,fn=n,zt=ai(u.firstChild),er=!1,c=!0):c=!1),c||Gr(n)),pi(n),c=n.type,p=n.pendingProps,b=e!==null?e.memoizedProps:null,u=p.children,Dc(c,p)?u=null:b!==null&&Dc(c,b)&&(n.flags|=32),n.memoizedState!==null&&(c=jf(e,n,Gf,null,null,i),Il._currentValue=c),Ce(e,n),Ht(e,n,u,i),n.child;case 6:return e===null&&et&&((e=i=zt)&&(i=Bc(i,n.pendingProps,er),i!==null?(n.stateNode=i,fn=n,zt=null,e=!0):e=!1),e||Gr(n)),null;case 13:return A0(e,n,i);case 4:return lt(n,n.stateNode.containerInfo),u=n.pendingProps,e===null?n.child=Os(n,null,u,i):Ht(e,n,u,i),n.child;case 11:return cc(e,n,n.type,n.pendingProps,i);case 7:return Ht(e,n,n.pendingProps,i),n.child;case 8:return Ht(e,n,n.pendingProps.children,i),n.child;case 12:return Ht(e,n,n.pendingProps.children,i),n.child;case 10:return u=n.pendingProps,mr(n,n.type,u.value),Ht(e,n,u.children,i),n.child;case 9:return c=n.type._context,u=n.pendingProps.children,ms(n),c=Yt(c),u=u(c),n.flags|=1,Ht(e,n,u,i),n.child;case 14:return fc(e,n,n.type,n.pendingProps,i);case 15:return hc(e,n,n.type,n.pendingProps,i);case 19:return x0(e,n,i);case 31:return u=n.pendingProps,i=n.mode,u={mode:u.mode,children:u.children},e===null?(i=Lo(u,i),i.ref=n.ref,n.child=i,i.return=n,n=i):(i=qn(e.child,u),i.ref=n.ref,n.child=i,i.return=n,n=i),n;case 22:return Mo(e,n,i);case 24:return ms(n),u=Yt(wt),e===null?(c=Zi(),c===null&&(c=Lt,p=Df(),c.pooledCache=p,p.refCount++,p!==null&&(c.pooledCacheLanes|=i),c=p),n.memoizedState={parent:u,cache:c},ys(n),mr(n,wt,c)):((e.lanes&i)!==0&&(fl(e,n),Bn(n,null,null,i),ti()),c=e.memoizedState,p=n.memoizedState,c.parent!==u?(c={parent:u,cache:u},n.memoizedState=c,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=c),mr(n,wt,u)):(u=p.cache,mr(n,wt,u),u!==c.cache&&Xe(n,[wt],i,!0))),Ht(e,n,n.pendingProps.children,i),n.child;case 29:throw n.pendingProps}throw Error(l(156,n.tag))}function ea(e){e.flags|=4}function mc(e,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!mn(n)){if(n=yr.current,n!==null&&((st&4194048)===st?Pn!==null:(st&62914560)!==st&&(st&536870912)===0||n!==Pn))throw cl=Bf,Qd;e.flags|=8192}}function vc(e,n){n!==null&&(e.flags|=4),e.flags&16384&&(n=e.tag!==22?ss():536870912,e.lanes|=n,Al|=n)}function Bo(e,n){if(!et)switch(e.tailMode){case"hidden":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Rt(e){var n=e.alternate!==null&&e.alternate.child===e.child,i=0,u=0;if(n)for(var c=e.child;c!==null;)i|=c.lanes|c.childLanes,u|=c.subtreeFlags&65011712,u|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)i|=c.lanes|c.childLanes,u|=c.subtreeFlags,u|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=u,e.childLanes=i,n}function O0(e,n,i){var u=n.pendingProps;switch(ao(n),n.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rt(n),null;case 1:return Rt(n),null;case 3:return i=n.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),n.memoizedState.cache!==u&&(n.flags|=2048),zr(wt),Wt(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(so(n)?ea(n):e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Vd())),Rt(n),null;case 26:return i=n.memoizedState,e===null?(ea(n),i!==null?(Rt(n),mc(n,i)):(Rt(n),n.flags&=-16777217)):i?i!==e.memoizedState?(ea(n),Rt(n),mc(n,i)):(Rt(n),n.flags&=-16777217):(e.memoizedProps!==u&&ea(n),Rt(n),n.flags&=-16777217),null;case 27:Zr(n),i=Te.current;var c=n.type;if(e!==null&&n.stateNode!=null)e.memoizedProps!==u&&ea(n);else{if(!u){if(n.stateNode===null)throw Error(l(166));return Rt(n),null}e=Se.current,so(n)?Fd(n):(e=yp(c,u,i),n.stateNode=e,ea(n))}return Rt(n),null;case 5:if(Zr(n),i=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==u&&ea(n);else{if(!u){if(n.stateNode===null)throw Error(l(166));return Rt(n),null}if(e=Se.current,so(n))Fd(n);else{switch(c=Ms(Te.current),e){case 1:e=c.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:e=c.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":e=c.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":e=c.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":e=c.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof u.is=="string"?c.createElement("select",{is:u.is}):c.createElement("select"),u.multiple?e.multiple=!0:u.size&&(e.size=u.size);break;default:e=typeof u.is=="string"?c.createElement(i,{is:u.is}):c.createElement(i)}}e[en]=n,e[Dn]=u;e:for(c=n.child;c!==null;){if(c.tag===5||c.tag===6)e.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===n)break e;for(;c.sibling===null;){if(c.return===null||c.return===n)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}n.stateNode=e;e:switch(gn(e,i,u),i){case"button":case"input":case"select":case"textarea":e=!!u.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&ea(n)}}return Rt(n),n.flags&=-16777217,null;case 6:if(e&&n.stateNode!=null)e.memoizedProps!==u&&ea(n);else{if(typeof u!="string"&&n.stateNode===null)throw Error(l(166));if(e=Te.current,so(n)){if(e=n.stateNode,i=n.memoizedProps,u=null,c=fn,c!==null)switch(c.tag){case 27:case 5:u=c.memoizedProps}e[en]=n,e=!!(e.nodeValue===i||u!==null&&u.suppressHydrationWarning===!0||hp(e.nodeValue,i)),e||Gr(n)}else e=Ms(e).createTextNode(u),e[en]=n,n.stateNode=e}return Rt(n),null;case 13:if(u=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=so(n),u!==null&&u.dehydrated!==null){if(e===null){if(!c)throw Error(l(318));if(c=n.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(l(317));c[en]=n}else lo(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Rt(n),c=!1}else c=Vd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return n.flags&256?(Ti(n),n):(Ti(n),null)}if(Ti(n),(n.flags&128)!==0)return n.lanes=i,n;if(i=u!==null,e=e!==null&&e.memoizedState!==null,i){u=n.child,c=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(c=u.alternate.memoizedState.cachePool.pool);var p=null;u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(p=u.memoizedState.cachePool.pool),p!==c&&(u.flags|=2048)}return i!==e&&i&&(n.child.flags|=8192),vc(n,n.updateQueue),Rt(n),null;case 4:return Wt(),e===null&&Dh(n.stateNode.containerInfo),Rt(n),null;case 10:return zr(n.type),Rt(n),null;case 19:if(de(Zt),c=n.memoizedState,c===null)return Rt(n),null;if(u=(n.flags&128)!==0,p=c.rendering,p===null)if(u)Bo(c,!1);else{if(Xt!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(p=wo(e),p!==null){for(n.flags|=128,Bo(c,!1),e=p.updateQueue,n.updateQueue=e,vc(n,e),n.subtreeFlags=0,e=i,i=n.child;i!==null;)ro(i,e),i=i.sibling;return le(Zt,Zt.current&1|2),n.child}e=e.sibling}c.tail!==null&&Bt()>xl&&(n.flags|=128,u=!0,Bo(c,!1),n.lanes=4194304)}else{if(!u)if(e=wo(p),e!==null){if(n.flags|=128,u=!0,e=e.updateQueue,n.updateQueue=e,vc(n,e),Bo(c,!0),c.tail===null&&c.tailMode==="hidden"&&!p.alternate&&!et)return Rt(n),null}else 2*Bt()-c.renderingStartTime>xl&&i!==536870912&&(n.flags|=128,u=!0,Bo(c,!1),n.lanes=4194304);c.isBackwards?(p.sibling=n.child,n.child=p):(e=c.last,e!==null?e.sibling=p:n.child=p,c.last=p)}return c.tail!==null?(n=c.tail,c.rendering=n,c.tail=n.sibling,c.renderingStartTime=Bt(),n.sibling=null,e=Zt.current,le(Zt,u?e&1|2:e&1),n):(Rt(n),null);case 22:case 23:return Ti(n),Hf(),u=n.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(n.flags|=8192):u&&(n.flags|=8192),u?(i&536870912)!==0&&(n.flags&128)===0&&(Rt(n),n.subtreeFlags&6&&(n.flags|=8192)):Rt(n),i=n.updateQueue,i!==null&&vc(n,i.retryQueue),i=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),u=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),u!==i&&(n.flags|=2048),e!==null&&de(vs),null;case 24:return i=null,e!==null&&(i=e.memoizedState.cache),n.memoizedState.cache!==i&&(n.flags|=2048),zr(wt),Rt(n),null;case 25:return null;case 30:return null}throw Error(l(156,n.tag))}function w0(e,n){switch(ao(n),n.tag){case 1:return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return zr(wt),Wt(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 26:case 27:case 5:return Zr(n),null;case 13:if(Ti(n),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(l(340));lo()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return de(Zt),null;case 4:return Wt(),null;case 10:return zr(n.type),null;case 22:case 23:return Ti(n),Hf(),e!==null&&de(vs),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 24:return zr(wt),null;case 25:return null;default:return null}}function R0(e,n){switch(ao(n),n.tag){case 3:zr(wt),Wt();break;case 26:case 27:case 5:Zr(n);break;case 4:Wt();break;case 13:Ti(n);break;case 19:de(Zt);break;case 10:zr(n.type);break;case 22:case 23:Ti(n),Hf(),e!==null&&de(vs);break;case 24:zr(wt)}}function Uo(e,n){try{var i=n.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var c=u.next;i=c;do{if((i.tag&e)===e){u=void 0;var p=i.create,b=i.inst;u=p(),b.destroy=u}i=i.next}while(i!==c)}}catch(x){Ct(n,n.return,x)}}function La(e,n,i){try{var u=n.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var p=c.next;u=p;do{if((u.tag&e)===e){var b=u.inst,x=b.destroy;if(x!==void 0){b.destroy=void 0,c=n;var M=i,P=x;try{P()}catch(ne){Ct(c,M,ne)}}}u=u.next}while(u!==p)}}catch(ne){Ct(n,n.return,ne)}}function C0(e){var n=e.updateQueue;if(n!==null){var i=e.stateNode;try{If(n,i)}catch(u){Ct(e,e.return,u)}}}function ch(e,n,i){i.props=Ma(e.type,e.memoizedProps),i.state=e.memoizedState;try{i.componentWillUnmount()}catch(u){Ct(e,n,u)}}function yl(e,n){try{var i=e.ref;if(i!==null){switch(e.tag){case 26:case 27:case 5:var u=e.stateNode;break;case 30:u=e.stateNode;break;default:u=e.stateNode}typeof i=="function"?e.refCleanup=i(u):i.current=u}}catch(c){Ct(e,n,c)}}function xi(e,n){var i=e.ref,u=e.refCleanup;if(i!==null)if(typeof u=="function")try{u()}catch(c){Ct(e,n,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(c){Ct(e,n,c)}else i.current=null}function yc(e){var n=e.type,i=e.memoizedProps,u=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":i.autoFocus&&u.focus();break e;case"img":i.src?u.src=i.src:i.srcSet&&(u.srcset=i.srcSet)}}catch(c){Ct(e,e.return,c)}}function _c(e,n,i){try{var u=e.stateNode;Em(u,e.type,i,n),u[Dn]=n}catch(c){Ct(e,e.return,c)}}function _l(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Vr(e.type)||e.tag===4}function Io(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_l(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&&Vr(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 bc(e,n,i){var u=e.tag;if(u===5||u===6)e=e.stateNode,n?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(e,n):(n=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,n.appendChild(e),i=i._reactRootContainer,i!=null||n.onclick!==null||(n.onclick=Nc));else if(u!==4&&(u===27&&Vr(e.type)&&(i=e.stateNode,n=null),e=e.child,e!==null))for(bc(e,n,i),e=e.sibling;e!==null;)bc(e,n,i),e=e.sibling}function Ho(e,n,i){var u=e.tag;if(u===5||u===6)e=e.stateNode,n?i.insertBefore(e,n):i.appendChild(e);else if(u!==4&&(u===27&&Vr(e.type)&&(i=e.stateNode),e=e.child,e!==null))for(Ho(e,n,i),e=e.sibling;e!==null;)Ho(e,n,i),e=e.sibling}function jo(e){var n=e.stateNode,i=e.memoizedProps;try{for(var u=e.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);gn(n,u,i),n[en]=e,n[Dn]=i}catch(p){Ct(e,e.return,p)}}var Oi=!1,vt=!1,ta=!1,N0=typeof WeakSet=="function"?WeakSet:Set,dn=null;function lm(e,n){if(e=e.containerInfo,ii=jc,e=kd(e),Of(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var u=i.getSelection&&i.getSelection();if(u&&u.rangeCount!==0){i=u.anchorNode;var c=u.anchorOffset,p=u.focusNode;u=u.focusOffset;try{i.nodeType,p.nodeType}catch{i=null;break e}var b=0,x=-1,M=-1,P=0,ne=0,ae=e,K=null;t:for(;;){for(var V;ae!==i||c!==0&&ae.nodeType!==3||(x=b+c),ae!==p||u!==0&&ae.nodeType!==3||(M=b+u),ae.nodeType===3&&(b+=ae.nodeValue.length),(V=ae.firstChild)!==null;)K=ae,ae=V;for(;;){if(ae===e)break t;if(K===i&&++P===c&&(x=b),K===p&&++ne===u&&(M=b),(V=ae.nextSibling)!==null)break;ae=K,K=ae.parentNode}ae=V}i=x===-1||M===-1?null:{start:x,end:M}}else i=null}i=i||{start:0,end:0}}else i=null;for(Mc={focusedElem:e,selectionRange:i},jc=!1,dn=n;dn!==null;)if(n=dn,e=n.child,(n.subtreeFlags&1024)!==0&&e!==null)e.return=n,dn=e;else for(;dn!==null;){switch(n=dn,p=n.alternate,e=n.flags,n.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&p!==null){e=void 0,i=n,c=p.memoizedProps,p=p.memoizedState,u=i.stateNode;try{var De=Ma(i.type,c,i.elementType===i.type);e=u.getSnapshotBeforeUpdate(De,p),u.__reactInternalSnapshotBeforeUpdate=e}catch(Me){Ct(i,i.return,Me)}}break;case 3:if((e&1024)!==0){if(e=n.stateNode.containerInfo,i=e.nodeType,i===9)Uh(e);else if(i===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Uh(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(l(163))}if(e=n.sibling,e!==null){e.return=n.return,dn=e;break}dn=n.return}}function M0(e,n,i){var u=i.flags;switch(i.tag){case 0:case 11:case 15:Ba(e,i),u&4&&Uo(5,i);break;case 1:if(Ba(e,i),u&4)if(e=i.stateNode,n===null)try{e.componentDidMount()}catch(b){Ct(i,i.return,b)}else{var c=Ma(i.type,n.memoizedProps);n=n.memoizedState;try{e.componentDidUpdate(c,n,e.__reactInternalSnapshotBeforeUpdate)}catch(b){Ct(i,i.return,b)}}u&64&&C0(i),u&512&&yl(i,i.return);break;case 3:if(Ba(e,i),u&64&&(e=i.updateQueue,e!==null)){if(n=null,i.child!==null)switch(i.child.tag){case 27:case 5:n=i.child.stateNode;break;case 1:n=i.child.stateNode}try{If(e,n)}catch(b){Ct(i,i.return,b)}}break;case 27:n===null&&u&4&&jo(i);case 26:case 5:Ba(e,i),n===null&&u&4&&yc(i),u&512&&yl(i,i.return);break;case 12:Ba(e,i);break;case 13:Ba(e,i),u&4&&B0(e,i),u&64&&(e=i.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(i=xc.bind(null,i),Ml(e,i))));break;case 22:if(u=i.memoizedState!==null||Oi,!u){n=n!==null&&n.memoizedState!==null||vt,c=Oi;var p=vt;Oi=u,(vt=n)&&!p?ra(e,i,(i.subtreeFlags&8772)!==0):Ba(e,i),Oi=c,vt=p}break;case 30:break;default:Ba(e,i)}}function D0(e){var n=e.alternate;n!==null&&(e.alternate=null,D0(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&fr(n)),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 kt=null,sr=!1;function na(e,n,i){for(i=i.child;i!==null;)L0(e,n,i),i=i.sibling}function L0(e,n,i){if(an&&typeof an.onCommitFiberUnmount=="function")try{an.onCommitFiberUnmount(Nr,i)}catch{}switch(i.tag){case 26:vt||xi(i,n),na(e,n,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:vt||xi(i,n);var u=kt,c=sr;Vr(i.type)&&(kt=i.stateNode,sr=!1),na(e,n,i),Ko(i.stateNode),kt=u,sr=c;break;case 5:vt||xi(i,n);case 6:if(u=kt,c=sr,kt=null,na(e,n,i),kt=u,sr=c,kt!==null)if(sr)try{(kt.nodeType===9?kt.body:kt.nodeName==="HTML"?kt.ownerDocument.body:kt).removeChild(i.stateNode)}catch(p){Ct(i,n,p)}else try{kt.removeChild(i.stateNode)}catch(p){Ct(i,n,p)}break;case 18:kt!==null&&(sr?(e=kt,Lc(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,i.stateNode),ru(e)):Lc(kt,i.stateNode));break;case 4:u=kt,c=sr,kt=i.stateNode.containerInfo,sr=!0,na(e,n,i),kt=u,sr=c;break;case 0:case 11:case 14:case 15:vt||La(2,i,n),vt||La(4,i,n),na(e,n,i);break;case 1:vt||(xi(i,n),u=i.stateNode,typeof u.componentWillUnmount=="function"&&ch(i,n,u)),na(e,n,i);break;case 21:na(e,n,i);break;case 22:vt=(u=vt)||i.memoizedState!==null,na(e,n,i),vt=u;break;default:na(e,n,i)}}function B0(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ru(e)}catch(i){Ct(n,n.return,i)}}function om(e){switch(e.tag){case 13:case 19:var n=e.stateNode;return n===null&&(n=e.stateNode=new N0),n;case 22:return e=e.stateNode,n=e._retryCache,n===null&&(n=e._retryCache=new N0),n;default:throw Error(l(435,e.tag))}}function fh(e,n){var i=om(e);n.forEach(function(u){var c=pm.bind(null,e,u);i.has(u)||(i.add(u),u.then(c,c))})}function _r(e,n){var i=n.deletions;if(i!==null)for(var u=0;u<i.length;u++){var c=i[u],p=e,b=n,x=b;e:for(;x!==null;){switch(x.tag){case 27:if(Vr(x.type)){kt=x.stateNode,sr=!1;break e}break;case 5:kt=x.stateNode,sr=!1;break e;case 3:case 4:kt=x.stateNode.containerInfo,sr=!0;break e}x=x.return}if(kt===null)throw Error(l(160));L0(p,b,c),kt=null,sr=!1,p=c.alternate,p!==null&&(p.return=null),c.return=null}if(n.subtreeFlags&13878)for(n=n.child;n!==null;)hh(n,e),n=n.sibling}var Fr=null;function hh(e,n){var i=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:_r(n,e),lr(e),u&4&&(La(3,e,e.return),Uo(3,e),La(5,e,e.return));break;case 1:_r(n,e),lr(e),u&512&&(vt||i===null||xi(i,i.return)),u&64&&Oi&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(i=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=i===null?u:i.concat(u))));break;case 26:var c=Fr;if(_r(n,e),lr(e),u&512&&(vt||i===null||xi(i,i.return)),u&4){var p=i!==null?i.memoizedState:null;if(u=e.memoizedState,i===null)if(u===null)if(e.stateNode===null){e:{u=e.type,i=e.memoizedProps,c=c.ownerDocument||c;t:switch(u){case"title":p=c.getElementsByTagName("title")[0],(!p||p[ma]||p[en]||p.namespaceURI==="http://www.w3.org/2000/svg"||p.hasAttribute("itemprop"))&&(p=c.createElement(u),c.head.insertBefore(p,c.querySelector("head > title"))),gn(p,u,i),p[en]=e,sn(p),u=p;break e;case"link":var b=Ap("link","href",c).get(u+(i.href||""));if(b){for(var x=0;x<b.length;x++)if(p=b[x],p.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&p.getAttribute("rel")===(i.rel==null?null:i.rel)&&p.getAttribute("title")===(i.title==null?null:i.title)&&p.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){b.splice(x,1);break t}}p=c.createElement(u),gn(p,u,i),c.head.appendChild(p);break;case"meta":if(b=Ap("meta","content",c).get(u+(i.content||""))){for(x=0;x<b.length;x++)if(p=b[x],p.getAttribute("content")===(i.content==null?null:""+i.content)&&p.getAttribute("name")===(i.name==null?null:i.name)&&p.getAttribute("property")===(i.property==null?null:i.property)&&p.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&p.getAttribute("charset")===(i.charSet==null?null:i.charSet)){b.splice(x,1);break t}}p=c.createElement(u),gn(p,u,i),c.head.appendChild(p);break;default:throw Error(l(468,u))}p[en]=e,sn(p),u=p}e.stateNode=u}else xp(c,e.type,e.stateNode);else e.stateNode=Tp(c,u,e.memoizedProps);else p!==u?(p===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):p.count--,u===null?xp(c,e.type,e.stateNode):Tp(c,u,e.memoizedProps)):u===null&&e.stateNode!==null&&_c(e,e.memoizedProps,i.memoizedProps)}break;case 27:_r(n,e),lr(e),u&512&&(vt||i===null||xi(i,i.return)),i!==null&&u&4&&_c(e,e.memoizedProps,i.memoizedProps);break;case 5:if(_r(n,e),lr(e),u&512&&(vt||i===null||xi(i,i.return)),e.flags&32){c=e.stateNode;try{va(c,"")}catch(V){Ct(e,e.return,V)}}u&4&&e.stateNode!=null&&(c=e.memoizedProps,_c(e,c,i!==null?i.memoizedProps:c)),u&1024&&(ta=!0);break;case 6:if(_r(n,e),lr(e),u&4){if(e.stateNode===null)throw Error(l(162));u=e.memoizedProps,i=e.stateNode;try{i.nodeValue=u}catch(V){Ct(e,e.return,V)}}break;case 3:if(Ul=null,c=Fr,Fr=ke(n.containerInfo),_r(n,e),Fr=c,lr(e),u&4&&i!==null&&i.memoizedState.isDehydrated)try{ru(n.containerInfo)}catch(V){Ct(e,e.return,V)}ta&&(ta=!1,U0(e));break;case 4:u=Fr,Fr=ke(e.stateNode.containerInfo),_r(n,e),lr(e),Fr=u;break;case 12:_r(n,e),lr(e);break;case 13:_r(n,e),lr(e),e.child.flags&8192&&e.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(_h=Bt()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,fh(e,u)));break;case 22:c=e.memoizedState!==null;var M=i!==null&&i.memoizedState!==null,P=Oi,ne=vt;if(Oi=P||c,vt=ne||M,_r(n,e),vt=ne,Oi=P,lr(e),u&8192)e:for(n=e.stateNode,n._visibility=c?n._visibility&-2:n._visibility|1,c&&(i===null||M||Oi||vt||Cs(e)),i=null,n=e;;){if(n.tag===5||n.tag===26){if(i===null){M=i=n;try{if(p=M.stateNode,c)b=p.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{x=M.stateNode;var ae=M.memoizedProps.style,K=ae!=null&&ae.hasOwnProperty("display")?ae.display:null;x.style.display=K==null||typeof K=="boolean"?"":(""+K).trim()}}catch(V){Ct(M,M.return,V)}}}else if(n.tag===6){if(i===null){M=n;try{M.stateNode.nodeValue=c?"":M.memoizedProps}catch(V){Ct(M,M.return,V)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;n.sibling===null;){if(n.return===null||n.return===e)break e;i===n&&(i=null),n=n.return}i===n&&(i=null),n.sibling.return=n.return,n=n.sibling}u&4&&(u=e.updateQueue,u!==null&&(i=u.retryQueue,i!==null&&(u.retryQueue=null,fh(e,i))));break;case 19:_r(n,e),lr(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,fh(e,u)));break;case 30:break;case 21:break;default:_r(n,e),lr(e)}}function lr(e){var n=e.flags;if(n&2){try{for(var i,u=e.return;u!==null;){if(_l(u)){i=u;break}u=u.return}if(i==null)throw Error(l(160));switch(i.tag){case 27:var c=i.stateNode,p=Io(e);Ho(e,p,c);break;case 5:var b=i.stateNode;i.flags&32&&(va(b,""),i.flags&=-33);var x=Io(e);Ho(e,x,b);break;case 3:case 4:var M=i.stateNode.containerInfo,P=Io(e);bc(e,P,M);break;default:throw Error(l(161))}}catch(ne){Ct(e,e.return,ne)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function U0(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var n=e;U0(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),e=e.sibling}}function Ba(e,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)M0(e,n.alternate,n),n=n.sibling}function Cs(e){for(e=e.child;e!==null;){var n=e;switch(n.tag){case 0:case 11:case 14:case 15:La(4,n,n.return),Cs(n);break;case 1:xi(n,n.return);var i=n.stateNode;typeof i.componentWillUnmount=="function"&&ch(n,n.return,i),Cs(n);break;case 27:Ko(n.stateNode);case 26:case 5:xi(n,n.return),Cs(n);break;case 22:n.memoizedState===null&&Cs(n);break;case 30:Cs(n);break;default:Cs(n)}e=e.sibling}}function ra(e,n,i){for(i=i&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var u=n.alternate,c=e,p=n,b=p.flags;switch(p.tag){case 0:case 11:case 15:ra(c,p,i),Uo(4,p);break;case 1:if(ra(c,p,i),u=p,c=u.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(P){Ct(u,u.return,P)}if(u=p,c=u.updateQueue,c!==null){var x=u.stateNode;try{var M=c.shared.hiddenCallbacks;if(M!==null)for(c.shared.hiddenCallbacks=null,c=0;c<M.length;c++)e0(M[c],x)}catch(P){Ct(u,u.return,P)}}i&&b&64&&C0(p),yl(p,p.return);break;case 27:jo(p);case 26:case 5:ra(c,p,i),i&&u===null&&b&4&&yc(p),yl(p,p.return);break;case 12:ra(c,p,i);break;case 13:ra(c,p,i),i&&b&4&&B0(c,p);break;case 22:p.memoizedState===null&&ra(c,p,i),yl(p,p.return);break;case 30:break;default:ra(c,p,i)}n=n.sibling}}function dh(e,n){var i=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),e=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(e=n.memoizedState.cachePool.pool),e!==i&&(e!=null&&e.refCount++,i!=null&&uo(i))}function ph(e,n){e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&uo(e))}function wi(e,n,i,u){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)I0(e,n,i,u),n=n.sibling}function I0(e,n,i,u){var c=n.flags;switch(n.tag){case 0:case 11:case 15:wi(e,n,i,u),c&2048&&Uo(9,n);break;case 1:wi(e,n,i,u);break;case 3:wi(e,n,i,u),c&2048&&(e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&uo(e)));break;case 12:if(c&2048){wi(e,n,i,u),e=n.stateNode;try{var p=n.memoizedProps,b=p.id,x=p.onPostCommit;typeof x=="function"&&x(b,n.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(M){Ct(n,n.return,M)}}else wi(e,n,i,u);break;case 13:wi(e,n,i,u);break;case 23:break;case 22:p=n.stateNode,b=n.alternate,n.memoizedState!==null?p._visibility&2?wi(e,n,i,u):Go(e,n):p._visibility&2?wi(e,n,i,u):(p._visibility|=2,bl(e,n,i,u,(n.subtreeFlags&10256)!==0)),c&2048&&dh(b,n);break;case 24:wi(e,n,i,u),c&2048&&ph(n.alternate,n);break;default:wi(e,n,i,u)}}function bl(e,n,i,u,c){for(c=c&&(n.subtreeFlags&10256)!==0,n=n.child;n!==null;){var p=e,b=n,x=i,M=u,P=b.flags;switch(b.tag){case 0:case 11:case 15:bl(p,b,x,M,c),Uo(8,b);break;case 23:break;case 22:var ne=b.stateNode;b.memoizedState!==null?ne._visibility&2?bl(p,b,x,M,c):Go(p,b):(ne._visibility|=2,bl(p,b,x,M,c)),c&&P&2048&&dh(b.alternate,b);break;case 24:bl(p,b,x,M,c),c&&P&2048&&ph(b.alternate,b);break;default:bl(p,b,x,M,c)}n=n.sibling}}function Go(e,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var i=e,u=n,c=u.flags;switch(u.tag){case 22:Go(i,u),c&2048&&dh(u.alternate,u);break;case 24:Go(i,u),c&2048&&ph(u.alternate,u);break;default:Go(i,u)}n=n.sibling}}var In=8192;function El(e){if(e.subtreeFlags&In)for(e=e.child;e!==null;)H0(e),e=e.sibling}function H0(e){switch(e.tag){case 26:El(e),e.flags&In&&e.memoizedState!==null&&Lm(Fr,e.memoizedState,e.memoizedProps);break;case 5:El(e);break;case 3:case 4:var n=Fr;Fr=ke(e.stateNode.containerInfo),El(e),Fr=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=In,In=16777216,El(e),In=n):El(e));break;default:El(e)}}function j0(e){var n=e.alternate;if(n!==null&&(e=n.child,e!==null)){n.child=null;do n=e.sibling,e.sibling=null,e=n;while(e!==null)}}function Sl(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var i=0;i<n.length;i++){var u=n[i];dn=u,z0(u,e)}j0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)G0(e),e=e.sibling}function G0(e){switch(e.tag){case 0:case 11:case 15:Sl(e),e.flags&2048&&La(9,e,e.return);break;case 3:Sl(e);break;case 12:Sl(e);break;case 22:var n=e.stateNode;e.memoizedState!==null&&n._visibility&2&&(e.return===null||e.return.tag!==13)?(n._visibility&=-3,Ec(e)):Sl(e);break;default:Sl(e)}}function Ec(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var i=0;i<n.length;i++){var u=n[i];dn=u,z0(u,e)}j0(e)}for(e=e.child;e!==null;){switch(n=e,n.tag){case 0:case 11:case 15:La(8,n,n.return),Ec(n);break;case 22:i=n.stateNode,i._visibility&2&&(i._visibility&=-3,Ec(n));break;default:Ec(n)}e=e.sibling}}function z0(e,n){for(;dn!==null;){var i=dn;switch(i.tag){case 0:case 11:case 15:La(8,i,n);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var u=i.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:uo(i.memoizedState.cache)}if(u=i.child,u!==null)u.return=i,dn=u;else e:for(i=e;dn!==null;){u=dn;var c=u.sibling,p=u.return;if(D0(u),u===i){dn=null;break e}if(c!==null){c.return=p,dn=c;break e}dn=p}}}var um={getCacheForType:function(e){var n=Yt(wt),i=n.data.get(e);return i===void 0&&(i=e(),n.data.set(e,i)),i}},gh=typeof WeakMap=="function"?WeakMap:Map,Et=0,Lt=null,$e=null,st=0,St=0,br=null,Ua=!1,Tl=!1,mh=!1,ia=0,Xt=0,Ia=0,Ns=0,vh=0,Pr=0,Al=0,zo=null,or=null,yh=!1,_h=0,xl=1/0,ko=null,Ha=null,Rn=0,ja=null,Ol=null,wl=0,bh=0,Eh=null,k0=null,Rl=0,Sh=null;function Hn(){if((Et&2)!==0&&st!==0)return st&-st;if(J.T!==null){var e=ul;return e!==0?e:Rc()}return Vl()}function q0(){Pr===0&&(Pr=(st&536870912)===0||et?as():536870912);var e=yr.current;return e!==null&&(e.flags|=32),Pr}function Er(e,n,i){(e===Lt&&(St===2||St===9)||e.cancelPendingCommit!==null)&&(Cl(e,0),Ga(e,st,Pr,!1)),Mr(e,i),((Et&2)===0||e!==Lt)&&(e===Lt&&((Et&2)===0&&(Ns|=i),Xt===4&&Ga(e,st,Pr,!1)),Ri(e))}function F0(e,n,i){if((Et&6)!==0)throw Error(l(327));var u=!i&&(n&124)===0&&(n&e.expiredLanes)===0||Kr(e,n),c=u?hm(e,n):xh(e,n,!0),p=u;do{if(c===0){Tl&&!u&&Ga(e,n,0,!1);break}else{if(i=e.current.alternate,p&&!cm(i)){c=xh(e,n,!1),p=!1;continue}if(c===2){if(p=n,e.errorRecoveryDisabledLanes&p)var b=0;else b=e.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){n=b;e:{var x=e;c=zo;var M=x.current.memoizedState.isDehydrated;if(M&&(Cl(x,b).flags|=256),b=xh(x,b,!1),b!==2){if(mh&&!M){x.errorRecoveryDisabledLanes|=p,Ns|=p,c=4;break e}p=or,or=c,p!==null&&(or===null?or=p:or.push.apply(or,p))}c=b}if(p=!1,c!==2)continue}}if(c===1){Cl(e,0),Ga(e,n,0,!0);break}e:{switch(u=e,p=c,p){case 0:case 1:throw Error(l(345));case 4:if((n&4194048)!==n)break;case 6:Ga(u,n,Pr,!Ua);break e;case 2:or=null;break;case 3:case 5:break;default:throw Error(l(329))}if((n&62914560)===n&&(c=_h+300-Bt(),10<c)){if(Ga(u,n,Pr,!Ua),gi(u,0,!0)!==0)break e;u.timeoutHandle=dp(P0.bind(null,u,i,or,ko,yh,n,Pr,Ns,Al,Ua,p,2,-0,0),c);break e}P0(u,i,or,ko,yh,n,Pr,Ns,Al,Ua,p,0,-0,0)}}break}while(!0);Ri(e)}function P0(e,n,i,u,c,p,b,x,M,P,ne,ae,K,V){if(e.timeoutHandle=-1,ae=n.subtreeFlags,(ae&8192||(ae&16785408)===16785408)&&(Sn={stylesheets:null,count:0,unsuspend:Dm},H0(n),ae=Bm(),ae!==null)){e.cancelPendingCommit=ae(qo.bind(null,e,n,p,i,u,c,b,x,M,ne,1,K,V)),Ga(e,p,b,!P);return}qo(e,n,p,i,u,c,b,x,M)}function cm(e){for(var n=e;;){var i=n.tag;if((i===0||i===11||i===15)&&n.flags&16384&&(i=n.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var u=0;u<i.length;u++){var c=i[u],p=c.getSnapshot;c=c.value;try{if(!pr(p(),c))return!1}catch{return!1}}if(i=n.child,n.subtreeFlags&16384&&i!==null)i.return=n,n=i;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Ga(e,n,i,u){n&=~vh,n&=~Ns,e.suspendedLanes|=n,e.pingedLanes&=~n,u&&(e.warmLanes|=n),u=e.expirationTimes;for(var c=n;0<c;){var p=31-_n(c),b=1<<p;u[p]=-1,c&=~b}i!==0&&mu(e,i,n)}function Sc(){return(Et&6)===0?(Vo(0),!1):!0}function Th(){if($e!==null){if(St===0)var e=$e.return;else e=$e,A=Oa=null,Zu(e),hn=null,ar=0,e=$e;for(;e!==null;)R0(e.alternate,e),e=e.return;$e=null}}function Cl(e,n){var i=e.timeoutHandle;i!==-1&&(e.timeoutHandle=-1,Tm(i)),i=e.cancelPendingCommit,i!==null&&(e.cancelPendingCommit=null,i()),Th(),Lt=e,$e=i=qn(e.current,null),st=n,St=0,br=null,Ua=!1,Tl=Kr(e,n),mh=!1,Al=Pr=vh=Ns=Ia=Xt=0,or=zo=null,yh=!1,(n&8)!==0&&(n|=n&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=n;0<u;){var c=31-_n(u),p=1<<c;n|=e[c],u&=~p}return ia=n,us(),i}function V0(e,n){Ve=null,J.H=xo,n===Fn||n===Pu?(n=$d(),St=3):n===Qd?(n=$d(),St=4):St=n===S0?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,br=n,$e===null&&(Xt=1,No(e,kn(n,e.current)))}function Y0(){var e=J.H;return J.H=xo,e===null?xo:e}function Z0(){var e=J.A;return J.A=um,e}function Ah(){Xt=4,Ua||(st&4194048)!==st&&yr.current!==null||(Tl=!0),(Ia&134217727)===0&&(Ns&134217727)===0||Lt===null||Ga(Lt,st,Pr,!1)}function xh(e,n,i){var u=Et;Et|=2;var c=Y0(),p=Z0();(Lt!==e||st!==n)&&(ko=null,Cl(e,n)),n=!1;var b=Xt;e:do try{if(St!==0&&$e!==null){var x=$e,M=br;switch(St){case 8:Th(),b=6;break e;case 3:case 2:case 9:case 6:yr.current===null&&(n=!0);var P=St;if(St=0,br=null,Nl(e,x,M,P),i&&Tl){b=0;break e}break;default:P=St,St=0,br=null,Nl(e,x,M,P)}}fm(),b=Xt;break}catch(ne){V0(e,ne)}while(!0);return n&&e.shellSuspendCounter++,A=Oa=null,Et=u,J.H=c,J.A=p,$e===null&&(Lt=null,st=0,us()),b}function fm(){for(;$e!==null;)Oh($e)}function hm(e,n){var i=Et;Et|=2;var u=Y0(),c=Z0();Lt!==e||st!==n?(ko=null,xl=Bt()+500,Cl(e,n)):Tl=Kr(e,n);e:do try{if(St!==0&&$e!==null){n=$e;var p=br;t:switch(St){case 1:St=0,br=null,Nl(e,n,p,1);break;case 2:case 9:if(Wd(p)){St=0,br=null,K0(n);break}n=function(){St!==2&&St!==9||Lt!==e||(St=7),Ri(e)},p.then(n,n);break e;case 3:St=7;break e;case 4:St=5;break e;case 7:Wd(p)?(St=0,br=null,K0(n)):(St=0,br=null,Nl(e,n,p,7));break;case 5:var b=null;switch($e.tag){case 26:b=$e.memoizedState;case 5:case 27:var x=$e;if(!b||mn(b)){St=0,br=null;var M=x.sibling;if(M!==null)$e=M;else{var P=x.return;P!==null?($e=P,Tc(P)):$e=null}break t}}St=0,br=null,Nl(e,n,p,5);break;case 6:St=0,br=null,Nl(e,n,p,6);break;case 8:Th(),Xt=6;break e;default:throw Error(l(462))}}X0();break}catch(ne){V0(e,ne)}while(!0);return A=Oa=null,J.H=u,J.A=c,Et=i,$e!==null?0:(Lt=null,st=0,us(),Xt)}function X0(){for(;$e!==null&&!Ui();)Oh($e)}function Oh(e){var n=gc(e.alternate,e,ia);e.memoizedProps=e.pendingProps,n===null?Tc(e):$e=n}function K0(e){var n=e,i=n.alternate;switch(n.tag){case 15:case 0:n=dc(i,n,n.pendingProps,n.type,void 0,st);break;case 11:n=dc(i,n,n.pendingProps,n.type.render,n.ref,st);break;case 5:Zu(n);default:R0(i,n),n=$e=ro(n,ia),n=gc(i,n,ia)}e.memoizedProps=e.pendingProps,n===null?Tc(e):$e=n}function Nl(e,n,i,u){A=Oa=null,Zu(n),hn=null,ar=0;var c=n.return;try{if(E0(e,c,n,i,st)){Xt=1,No(e,kn(i,e.current)),$e=null;return}}catch(p){if(c!==null)throw $e=c,p;Xt=1,No(e,kn(i,e.current)),$e=null;return}n.flags&32768?(et||u===1?e=!0:Tl||(st&536870912)!==0?e=!1:(Ua=e=!0,(u===2||u===9||u===3||u===6)&&(u=yr.current,u!==null&&u.tag===13&&(u.flags|=16384))),Q0(n,e)):Tc(n)}function Tc(e){var n=e;do{if((n.flags&32768)!==0){Q0(n,Ua);return}e=n.return;var i=O0(n.alternate,n,ia);if(i!==null){$e=i;return}if(n=n.sibling,n!==null){$e=n;return}$e=n=e}while(n!==null);Xt===0&&(Xt=5)}function Q0(e,n){do{var i=w0(e.alternate,e);if(i!==null){i.flags&=32767,$e=i;return}if(i=e.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!n&&(e=e.sibling,e!==null)){$e=e;return}$e=e=i}while(e!==null);Xt=6,$e=null}function qo(e,n,i,u,c,p,b,x,M){e.cancelPendingCommit=null;do Ac();while(Rn!==0);if((Et&6)!==0)throw Error(l(327));if(n!==null){if(n===e.current)throw Error(l(177));if(p=n.lanes|n.childLanes,p|=Rf,ef(e,i,p,b,x,M),e===Lt&&($e=Lt=null,st=0),Ol=n,ja=e,wl=i,bh=p,Eh=c,k0=u,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,ip(wn,function(){return tp(),null})):(e.callbackNode=null,e.callbackPriority=0),u=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||u){u=J.T,J.T=null,c=fe.p,fe.p=2,b=Et,Et|=4;try{lm(e,n,i)}finally{Et=b,fe.p=c,J.T=u}}Rn=1,W0(),$0(),J0()}}function W0(){if(Rn===1){Rn=0;var e=ja,n=Ol,i=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||i){i=J.T,J.T=null;var u=fe.p;fe.p=2;var c=Et;Et|=4;try{hh(n,e);var p=Mc,b=kd(e.containerInfo),x=p.focusedElem,M=p.selectionRange;if(b!==x&&x&&x.ownerDocument&&zd(x.ownerDocument.documentElement,x)){if(M!==null&&Of(x)){var P=M.start,ne=M.end;if(ne===void 0&&(ne=P),"selectionStart"in x)x.selectionStart=P,x.selectionEnd=Math.min(ne,x.value.length);else{var ae=x.ownerDocument||document,K=ae&&ae.defaultView||window;if(K.getSelection){var V=K.getSelection(),De=x.textContent.length,Me=Math.min(M.start,De),xt=M.end===void 0?Me:Math.min(M.end,De);!V.extend&&Me>xt&&(b=xt,xt=Me,Me=b);var k=xf(x,Me),H=xf(x,xt);if(k&&H&&(V.rangeCount!==1||V.anchorNode!==k.node||V.anchorOffset!==k.offset||V.focusNode!==H.node||V.focusOffset!==H.offset)){var F=ae.createRange();F.setStart(k.node,k.offset),V.removeAllRanges(),Me>xt?(V.addRange(F),V.extend(H.node,H.offset)):(F.setEnd(H.node,H.offset),V.addRange(F))}}}}for(ae=[],V=x;V=V.parentNode;)V.nodeType===1&&ae.push({element:V,left:V.scrollLeft,top:V.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<ae.length;x++){var re=ae[x];re.element.scrollLeft=re.left,re.element.scrollTop=re.top}}jc=!!ii,Mc=ii=null}finally{Et=c,fe.p=u,J.T=i}}e.current=n,Rn=2}}function $0(){if(Rn===2){Rn=0;var e=ja,n=Ol,i=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||i){i=J.T,J.T=null;var u=fe.p;fe.p=2;var c=Et;Et|=4;try{M0(e,n.alternate,n)}finally{Et=c,fe.p=u,J.T=i}}Rn=3}}function J0(){if(Rn===4||Rn===3){Rn=0,Pl();var e=ja,n=Ol,i=wl,u=k0;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?Rn=5:(Rn=0,Ol=ja=null,ep(e,e.pendingLanes));var c=e.pendingLanes;if(c===0&&(Ha=null),Ps(i),n=n.stateNode,an&&typeof an.onCommitFiberRoot=="function")try{an.onCommitFiberRoot(Nr,n,void 0,(n.current.flags&128)===128)}catch{}if(u!==null){n=J.T,c=fe.p,fe.p=2,J.T=null;try{for(var p=e.onRecoverableError,b=0;b<u.length;b++){var x=u[b];p(x.value,{componentStack:x.stack})}}finally{J.T=n,fe.p=c}}(wl&3)!==0&&Ac(),Ri(e),c=e.pendingLanes,(i&4194090)!==0&&(c&42)!==0?e===Sh?Rl++:(Rl=0,Sh=e):Rl=0,Vo(0)}}function ep(e,n){(e.pooledCacheLanes&=n)===0&&(n=e.pooledCache,n!=null&&(e.pooledCache=null,uo(n)))}function Ac(e){return W0(),$0(),J0(),tp()}function tp(){if(Rn!==5)return!1;var e=ja,n=bh;bh=0;var i=Ps(wl),u=J.T,c=fe.p;try{fe.p=32>i?32:i,J.T=null,i=Eh,Eh=null;var p=ja,b=wl;if(Rn=0,Ol=ja=null,wl=0,(Et&6)!==0)throw Error(l(331));var x=Et;if(Et|=4,G0(p.current),I0(p,p.current,b,i),Et=x,Vo(0,!1),an&&typeof an.onPostCommitFiberRoot=="function")try{an.onPostCommitFiberRoot(Nr,p)}catch{}return!0}finally{fe.p=c,J.T=u,ep(e,n)}}function np(e,n,i){n=kn(i,n),n=uc(e.stateNode,n,2),e=Xi(e,n,2),e!==null&&(Mr(e,2),Ri(e))}function Ct(e,n,i){if(e.tag===3)np(e,e,i);else for(;n!==null;){if(n.tag===3){np(n,e,i);break}else if(n.tag===1){var u=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Ha===null||!Ha.has(u))){e=kn(i,e),i=ah(2),u=Xi(n,i,2),u!==null&&(b0(i,u,n,e),Mr(u,2),Ri(u));break}}n=n.return}}function wh(e,n,i){var u=e.pingCache;if(u===null){u=e.pingCache=new gh;var c=new Set;u.set(n,c)}else c=u.get(n),c===void 0&&(c=new Set,u.set(n,c));c.has(i)||(mh=!0,c.add(i),e=dm.bind(null,e,n,i),n.then(e,e))}function dm(e,n,i){var u=e.pingCache;u!==null&&u.delete(n),e.pingedLanes|=e.suspendedLanes&i,e.warmLanes&=~i,Lt===e&&(st&i)===i&&(Xt===4||Xt===3&&(st&62914560)===st&&300>Bt()-_h?(Et&2)===0&&Cl(e,0):vh|=i,Al===st&&(Al=0)),Ri(e)}function rp(e,n){n===0&&(n=ss()),e=cs(e,n),e!==null&&(Mr(e,n),Ri(e))}function xc(e){var n=e.memoizedState,i=0;n!==null&&(i=n.retryLane),rp(e,i)}function pm(e,n){var i=0;switch(e.tag){case 13:var u=e.stateNode,c=e.memoizedState;c!==null&&(i=c.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error(l(314))}u!==null&&u.delete(n),rp(e,i)}function ip(e,n){return zn(e,n)}var Fo=null,za=null,Oc=!1,Po=!1,wc=!1,ka=0;function Ri(e){e!==za&&e.next===null&&(za===null?Fo=za=e:za=za.next=e),Po=!0,Oc||(Oc=!0,Rh())}function Vo(e,n){if(!wc&&Po){wc=!0;do for(var i=!1,u=Fo;u!==null;){if(e!==0){var c=u.pendingLanes;if(c===0)var p=0;else{var b=u.suspendedLanes,x=u.pingedLanes;p=(1<<31-_n(42|e)+1)-1,p&=c&~(b&~x),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(i=!0,sp(u,p))}else p=st,p=gi(u,u===Lt?p:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(p&3)===0||Kr(u,p)||(i=!0,sp(u,p));u=u.next}while(i);wc=!1}}function gm(){Yo()}function Yo(){Po=Oc=!1;var e=0;ka!==0&&(Sm()&&(e=ka),ka=0);for(var n=Bt(),i=null,u=Fo;u!==null;){var c=u.next,p=Zo(u,n);p===0?(u.next=null,i===null?Fo=c:i.next=c,c===null&&(za=i)):(i=u,(e!==0||(p&3)!==0)&&(Po=!0)),u=c}Vo(e)}function Zo(e,n){for(var i=e.suspendedLanes,u=e.pingedLanes,c=e.expirationTimes,p=e.pendingLanes&-62914561;0<p;){var b=31-_n(p),x=1<<b,M=c[b];M===-1?((x&i)===0||(x&u)!==0)&&(c[b]=Jc(x,n)):M<=n&&(e.expiredLanes|=x),p&=~x}if(n=Lt,i=st,i=gi(e,e===n?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u=e.callbackNode,i===0||e===n&&(St===2||St===9)||e.cancelPendingCommit!==null)return u!==null&&u!==null&&$t(u),e.callbackNode=null,e.callbackPriority=0;if((i&3)===0||Kr(e,i)){if(n=i&-i,n===e.callbackPriority)return n;switch(u!==null&&$t(u),Ps(i)){case 2:case 8:i=Ii;break;case 32:i=wn;break;case 268435456:i=Hi;break;default:i=wn}return u=ap.bind(null,e),i=zn(i,u),e.callbackPriority=n,e.callbackNode=i,n}return u!==null&&u!==null&&$t(u),e.callbackPriority=2,e.callbackNode=null,2}function ap(e,n){if(Rn!==0&&Rn!==5)return e.callbackNode=null,e.callbackPriority=0,null;var i=e.callbackNode;if(Ac()&&e.callbackNode!==i)return null;var u=st;return u=gi(e,e===Lt?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u===0?null:(F0(e,u,n),Zo(e,Bt()),e.callbackNode!=null&&e.callbackNode===i?ap.bind(null,e):null)}function sp(e,n){if(Ac())return null;F0(e,n,!0)}function Rh(){Am(function(){(Et&6)!==0?zn(ts,gm):Yo()})}function Rc(){return ka===0&&(ka=as()),ka}function lp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Xl(""+e)}function op(e,n){var i=n.ownerDocument.createElement("input");return i.name=n.name,i.value=n.value,e.id&&i.setAttribute("form",e.id),n.parentNode.insertBefore(i,n),e=new FormData(e),i.parentNode.removeChild(i),e}function mm(e,n,i,u,c){if(n==="submit"&&i&&i.stateNode===c){var p=lp((c[Dn]||null).action),b=u.submitter;b&&(n=(n=b[Dn]||null)?lp(n.formAction):b.getAttribute("formAction"),n!==null&&(p=n,b=null));var x=new Au("action","action",null,u,c);e.push({event:x,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(ka!==0){var M=b?op(c,b):new FormData(c);To(i,{pending:!0,data:M,method:c.method,action:p},null,M)}}else typeof p=="function"&&(x.preventDefault(),M=b?op(c,b):new FormData(c),To(i,{pending:!0,data:M,method:c.method,action:p},p,M))},currentTarget:c}]})}}for(var Ch=0;Ch<gt.length;Ch++){var Nh=gt[Ch],vm=Nh.toLowerCase(),ym=Nh[0].toUpperCase()+Nh.slice(1);Wr(vm,"on"+ym)}Wr(Iu,"onAnimationEnd"),Wr(qd,"onAnimationIteration"),Wr(gr,"onAnimationStart"),Wr("dblclick","onDoubleClick"),Wr("focusin","onFocus"),Wr("focusout","onBlur"),Wr(Hu,"onTransitionRun"),Wr(em,"onTransitionStart"),Wr(il,"onTransitionCancel"),Wr(Jl,"onTransitionEnd"),_e("onMouseEnter",["mouseout","mouseover"]),_e("onMouseLeave",["mouseout","mouseover"]),_e("onPointerEnter",["pointerout","pointerover"]),_e("onPointerLeave",["pointerout","pointerover"]),ue("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ue("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ue("onBeforeInput",["compositionend","keypress","textInput","paste"]),ue("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ue("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ue("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xo="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(" "),_m=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Xo));function up(e,n){n=(n&4)!==0;for(var i=0;i<e.length;i++){var u=e[i],c=u.event;u=u.listeners;e:{var p=void 0;if(n)for(var b=u.length-1;0<=b;b--){var x=u[b],M=x.instance,P=x.currentTarget;if(x=x.listener,M!==p&&c.isPropagationStopped())break e;p=x,c.currentTarget=P;try{p(c)}catch(ne){ws(ne)}c.currentTarget=null,p=M}else for(b=0;b<u.length;b++){if(x=u[b],M=x.instance,P=x.currentTarget,x=x.listener,M!==p&&c.isPropagationStopped())break e;p=x,c.currentTarget=P;try{p(c)}catch(ne){ws(ne)}c.currentTarget=null,p=M}}}}function Je(e,n){var i=n[vi];i===void 0&&(i=n[vi]=new Set);var u=e+"__bubble";i.has(u)||(cp(n,e,2,!1),i.add(u))}function Mh(e,n,i){var u=0;n&&(u|=4),cp(i,e,u,n)}var ur="_reactListening"+Math.random().toString(36).slice(2);function Dh(e){if(!e[ur]){e[ur]=!0,Oe.forEach(function(i){i!=="selectionchange"&&(_m.has(i)||Mh(i,!1,e),Mh(i,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[ur]||(n[ur]=!0,Mh("selectionchange",!1,n))}}function cp(e,n,i,u){switch(Cp(n)){case 2:var c=Hm;break;case 8:c=Hl;break;default:c=qh}i=c.bind(null,n,i,e),c=void 0,!Ql||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),u?c!==void 0?e.addEventListener(n,i,{capture:!0,passive:c}):e.addEventListener(n,i,!0):c!==void 0?e.addEventListener(n,i,{passive:c}):e.addEventListener(n,i,!1)}function aa(e,n,i,u,c){var p=u;if((n&1)===0&&(n&2)===0&&u!==null)e:for(;;){if(u===null)return;var b=u.tag;if(b===3||b===4){var x=u.stateNode.containerInfo;if(x===c)break;if(b===4)for(b=u.return;b!==null;){var M=b.tag;if((M===3||M===4)&&b.stateNode.containerInfo===c)return;b=b.return}for(;x!==null;){if(b=ji(x),b===null)return;if(M=b.tag,M===5||M===6||M===26||M===27){u=p=b;continue e}x=x.parentNode}}u=u.return}Ed(function(){var P=p,ne=df(i),ae=[];e:{var K=eo.get(e);if(K!==void 0){var V=Au,De=e;switch(e){case"keypress":if(Tt(i)===0)break e;case"keydown":case"keyup":V=_f;break;case"focusin":De="focus",V=Ou;break;case"focusout":De="blur",V=Ou;break;case"beforeblur":case"afterblur":V=Ou;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":V=_a;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":V=yf;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":V=Vg;break;case Iu:case qd:case gr:V=Od;break;case Jl:V=Yg;break;case"scroll":case"scrollend":V=qg;break;case"wheel":V=Xg;break;case"copy":case"cut":case"paste":V=Rd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":V=Pi;break;case"toggle":case"beforetoggle":V=Ru}var Me=(n&4)!==0,xt=!Me&&(e==="scroll"||e==="scrollend"),k=Me?K!==null?K+"Capture":null:K;Me=[];for(var H=P,F;H!==null;){var re=H;if(F=re.stateNode,re=re.tag,re!==5&&re!==26&&re!==27||F===null||k===null||(re=Kl(H,k),re!=null&&Me.push(je(H,re,F))),xt)break;H=H.return}0<Me.length&&(K=new V(K,De,null,i,ne),ae.push({event:K,listeners:Me}))}}if((n&7)===0){e:{if(K=e==="mouseover"||e==="pointerover",V=e==="mouseout"||e==="pointerout",K&&i!==Su&&(De=i.relatedTarget||i.fromElement)&&(ji(De)||De[un]))break e;if((V||K)&&(K=ne.window===ne?ne:(K=ne.ownerDocument)?K.defaultView||K.parentWindow:window,V?(De=i.relatedTarget||i.toElement,V=P,De=De?ji(De):null,De!==null&&(xt=d(De),Me=De.tag,De!==xt||Me!==5&&Me!==27&&Me!==6)&&(De=null)):(V=null,De=P),V!==De)){if(Me=_a,re="onMouseLeave",k="onMouseEnter",H="mouse",(e==="pointerout"||e==="pointerover")&&(Me=Pi,re="onPointerLeave",k="onPointerEnter",H="pointer"),xt=V==null?K:zi(V),F=De==null?K:zi(De),K=new Me(re,H+"leave",V,i,ne),K.target=xt,K.relatedTarget=F,re=null,ji(ne)===P&&(Me=new Me(k,H+"enter",De,i,ne),Me.target=F,Me.relatedTarget=xt,re=Me),xt=re,V&&De)t:{for(Me=V,k=De,H=0,F=Me;F;F=pn(F))H++;for(F=0,re=k;re;re=pn(re))F++;for(;0<H-F;)Me=pn(Me),H--;for(;0<F-H;)k=pn(k),F--;for(;H--;){if(Me===k||k!==null&&Me===k.alternate)break t;Me=pn(Me),k=pn(k)}Me=null}else Me=null;V!==null&&Kt(ae,K,V,Me,!1),De!==null&&xt!==null&&Kt(ae,xt,De,Me,!0)}}e:{if(K=P?zi(P):window,V=K.nodeName&&K.nodeName.toLowerCase(),V==="select"||V==="input"&&K.type==="file")var be=Ud;else if(Du(K))if(Id)be=Wg;else{be=Sa;var Ke=Gd}else V=K.nodeName,!V||V.toLowerCase()!=="input"||K.type!=="checkbox"&&K.type!=="radio"?P&&hf(P.elementType)&&(be=Ud):be=Uu;if(be&&(be=be(e,P))){el(ae,be,i,ne);break e}Ke&&Ke(e,K,P),e==="focusout"&&P&&K.type==="number"&&P.memoizedProps.value!=null&&Zl(K,"number",K.value)}switch(Ke=P?zi(P):window,e){case"focusin":(Du(Ke)||Ke.contentEditable==="true")&&(rl=Ke,Ta=P,z=null);break;case"focusout":z=Ta=rl=null;break;case"mousedown":ee=!0;break;case"contextmenu":case"mouseup":case"dragend":ee=!1,W(ae,i,ne);break;case"selectionchange":if(Jg)break;case"keydown":case"keyup":W(ae,i,ne)}var Re;if(Sf)e:{switch(e){case"compositionstart":var Le="onCompositionStart";break e;case"compositionend":Le="onCompositionEnd";break e;case"compositionupdate":Le="onCompositionUpdate";break e}Le=void 0}else ba?Ld(e,i)&&(Le="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(Le="onCompositionStart");Le&&(Cu&&i.locale!=="ko"&&(ba||Le!=="onCompositionStart"?Le==="onCompositionEnd"&&ba&&(Re=Sd()):(ya=ne,mf="value"in ya?ya.value:ya.textContent,ba=!0)),Ke=Cc(P,Le),0<Ke.length&&(Le=new $n(Le,e,null,i,ne),ae.push({event:Le,listeners:Ke}),Re?Le.data=Re:(Re=Mu(i),Re!==null&&(Le.data=Re)))),(Re=Dd?Kg(e,i):Bd(e,i))&&(Le=Cc(P,"onBeforeInput"),0<Le.length&&(Ke=new $n("onBeforeInput","beforeinput",null,i,ne),ae.push({event:Ke,listeners:Le}),Ke.data=Re)),mm(ae,e,P,i,ne)}up(ae,n)})}function je(e,n,i){return{instance:e,listener:n,currentTarget:i}}function Cc(e,n){for(var i=n+"Capture",u=[];e!==null;){var c=e,p=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||p===null||(c=Kl(e,i),c!=null&&u.unshift(je(e,c,p)),c=Kl(e,n),c!=null&&u.push(je(e,c,p))),e.tag===3)return u;e=e.return}return[]}function pn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Kt(e,n,i,u,c){for(var p=n._reactName,b=[];i!==null&&i!==u;){var x=i,M=x.alternate,P=x.stateNode;if(x=x.tag,M!==null&&M===u)break;x!==5&&x!==26&&x!==27||P===null||(M=P,c?(P=Kl(i,p),P!=null&&b.unshift(je(i,P,M))):c||(P=Kl(i,p),P!=null&&b.push(je(i,P,M)))),i=i.return}b.length!==0&&e.push({event:n,listeners:b})}var bm=/\r\n?/g,qa=/\u0000|\uFFFD/g;function fp(e){return(typeof e=="string"?e:""+e).replace(bm,`
|
|
49
|
+
`).replace(qa,"")}function hp(e,n){return n=fp(n),fp(e)===n}function Nc(){}function At(e,n,i,u,c,p){switch(i){case"children":typeof u=="string"?n==="body"||n==="textarea"&&u===""||va(e,u):(typeof u=="number"||typeof u=="bigint")&&n!=="body"&&va(e,""+u);break;case"className":yi(e,"class",u);break;case"tabIndex":yi(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":yi(e,i,u);break;case"style":ff(e,u,p);break;case"data":if(n!=="object"){yi(e,"data",u);break}case"src":case"href":if(u===""&&(n!=="a"||i!=="href")){e.removeAttribute(i);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(i);break}u=Xl(""+u),e.setAttribute(i,u);break;case"action":case"formAction":if(typeof u=="function"){e.setAttribute(i,"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 p=="function"&&(i==="formAction"?(n!=="input"&&At(e,n,"name",c.name,c,null),At(e,n,"formEncType",c.formEncType,c,null),At(e,n,"formMethod",c.formMethod,c,null),At(e,n,"formTarget",c.formTarget,c,null)):(At(e,n,"encType",c.encType,c,null),At(e,n,"method",c.method,c,null),At(e,n,"target",c.target,c,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(i);break}u=Xl(""+u),e.setAttribute(i,u);break;case"onClick":u!=null&&(e.onclick=Nc);break;case"onScroll":u!=null&&Je("scroll",e);break;case"onScrollEnd":u!=null&&Je("scrollend",e);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(l(61));if(i=u.__html,i!=null){if(c.children!=null)throw Error(l(60));e.innerHTML=i}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}i=Xl(""+u),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(i,""+u):e.removeAttribute(i);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":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(i,""):e.removeAttribute(i);break;case"capture":case"download":u===!0?e.setAttribute(i,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(i,u):e.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?e.setAttribute(i,u):e.removeAttribute(i);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(i):e.setAttribute(i,u);break;case"popover":Je("beforetoggle",e),Je("toggle",e),Kn(e,"popover",u);break;case"xlinkActuate":Qn(e,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":Qn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":Qn(e,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":Qn(e,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":Qn(e,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":Qn(e,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":Qn(e,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":Qn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":Qn(e,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":Kn(e,"is",u);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=_d.get(i)||i,Kn(e,i,u))}}function Lh(e,n,i,u,c,p){switch(i){case"style":ff(e,u,p);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(l(61));if(i=u.__html,i!=null){if(c.children!=null)throw Error(l(60));e.innerHTML=i}}break;case"children":typeof u=="string"?va(e,u):(typeof u=="number"||typeof u=="bigint")&&va(e,""+u);break;case"onScroll":u!=null&&Je("scroll",e);break;case"onScrollEnd":u!=null&&Je("scrollend",e);break;case"onClick":u!=null&&(e.onclick=Nc);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!G.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(c=i.endsWith("Capture"),n=i.slice(2,c?i.length-7:void 0),p=e[Dn]||null,p=p!=null?p[i]:null,typeof p=="function"&&e.removeEventListener(n,p,c),typeof u=="function")){typeof p!="function"&&p!==null&&(i in e?e[i]=null:e.hasAttribute(i)&&e.removeAttribute(i)),e.addEventListener(n,u,c);break e}i in e?e[i]=u:u===!0?e.setAttribute(i,""):Kn(e,i,u)}}}function gn(e,n,i){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Je("error",e),Je("load",e);var u=!1,c=!1,p;for(p in i)if(i.hasOwnProperty(p)){var b=i[p];if(b!=null)switch(p){case"src":u=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,n));default:At(e,n,p,b,i,null)}}c&&At(e,n,"srcSet",i.srcSet,i,null),u&&At(e,n,"src",i.src,i,null);return;case"input":Je("invalid",e);var x=p=b=c=null,M=null,P=null;for(u in i)if(i.hasOwnProperty(u)){var ne=i[u];if(ne!=null)switch(u){case"name":c=ne;break;case"type":b=ne;break;case"checked":M=ne;break;case"defaultChecked":P=ne;break;case"value":p=ne;break;case"defaultValue":x=ne;break;case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(l(137,n));break;default:At(e,n,u,ne,i,null)}}of(e,p,x,M,P,b,c,!1),_u(e);return;case"select":Je("invalid",e),u=b=p=null;for(c in i)if(i.hasOwnProperty(c)&&(x=i[c],x!=null))switch(c){case"value":p=x;break;case"defaultValue":b=x;break;case"multiple":u=x;default:At(e,n,c,x,i,null)}n=p,i=b,e.multiple=!!u,n!=null?Zs(e,!!u,n,!1):i!=null&&Zs(e,!!u,i,!0);return;case"textarea":Je("invalid",e),p=c=u=null;for(b in i)if(i.hasOwnProperty(b)&&(x=i[b],x!=null))switch(b){case"value":u=x;break;case"defaultValue":c=x;break;case"children":p=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(l(91));break;default:At(e,n,b,x,i,null)}Eu(e,u,c,p),_u(e);return;case"option":for(M in i)if(i.hasOwnProperty(M)&&(u=i[M],u!=null))switch(M){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:At(e,n,M,u,i,null)}return;case"dialog":Je("beforetoggle",e),Je("toggle",e),Je("cancel",e),Je("close",e);break;case"iframe":case"object":Je("load",e);break;case"video":case"audio":for(u=0;u<Xo.length;u++)Je(Xo[u],e);break;case"image":Je("error",e),Je("load",e);break;case"details":Je("toggle",e);break;case"embed":case"source":case"link":Je("error",e),Je("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(P in i)if(i.hasOwnProperty(P)&&(u=i[P],u!=null))switch(P){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,n));default:At(e,n,P,u,i,null)}return;default:if(hf(n)){for(ne in i)i.hasOwnProperty(ne)&&(u=i[ne],u!==void 0&&Lh(e,n,ne,u,i,void 0));return}}for(x in i)i.hasOwnProperty(x)&&(u=i[x],u!=null&&At(e,n,x,u,i,null))}function Em(e,n,i,u){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,p=null,b=null,x=null,M=null,P=null,ne=null;for(V in i){var ae=i[V];if(i.hasOwnProperty(V)&&ae!=null)switch(V){case"checked":break;case"value":break;case"defaultValue":M=ae;default:u.hasOwnProperty(V)||At(e,n,V,null,u,ae)}}for(var K in u){var V=u[K];if(ae=i[K],u.hasOwnProperty(K)&&(V!=null||ae!=null))switch(K){case"type":p=V;break;case"name":c=V;break;case"checked":P=V;break;case"defaultChecked":ne=V;break;case"value":b=V;break;case"defaultValue":x=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(l(137,n));break;default:V!==ae&&At(e,n,K,V,u,ae)}}bu(e,b,x,M,P,ne,p,c);return;case"select":V=b=x=K=null;for(p in i)if(M=i[p],i.hasOwnProperty(p)&&M!=null)switch(p){case"value":break;case"multiple":V=M;default:u.hasOwnProperty(p)||At(e,n,p,null,u,M)}for(c in u)if(p=u[c],M=i[c],u.hasOwnProperty(c)&&(p!=null||M!=null))switch(c){case"value":K=p;break;case"defaultValue":x=p;break;case"multiple":b=p;default:p!==M&&At(e,n,c,p,u,M)}n=x,i=b,u=V,K!=null?Zs(e,!!i,K,!1):!!u!=!!i&&(n!=null?Zs(e,!!i,n,!0):Zs(e,!!i,i?[]:"",!1));return;case"textarea":V=K=null;for(x in i)if(c=i[x],i.hasOwnProperty(x)&&c!=null&&!u.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:At(e,n,x,null,u,c)}for(b in u)if(c=u[b],p=i[b],u.hasOwnProperty(b)&&(c!=null||p!=null))switch(b){case"value":K=c;break;case"defaultValue":V=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(l(91));break;default:c!==p&&At(e,n,b,c,u,p)}uf(e,K,V);return;case"option":for(var De in i)if(K=i[De],i.hasOwnProperty(De)&&K!=null&&!u.hasOwnProperty(De))switch(De){case"selected":e.selected=!1;break;default:At(e,n,De,null,u,K)}for(M in u)if(K=u[M],V=i[M],u.hasOwnProperty(M)&&K!==V&&(K!=null||V!=null))switch(M){case"selected":e.selected=K&&typeof K!="function"&&typeof K!="symbol";break;default:At(e,n,M,K,u,V)}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 i)K=i[Me],i.hasOwnProperty(Me)&&K!=null&&!u.hasOwnProperty(Me)&&At(e,n,Me,null,u,K);for(P in u)if(K=u[P],V=i[P],u.hasOwnProperty(P)&&K!==V&&(K!=null||V!=null))switch(P){case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(l(137,n));break;default:At(e,n,P,K,u,V)}return;default:if(hf(n)){for(var xt in i)K=i[xt],i.hasOwnProperty(xt)&&K!==void 0&&!u.hasOwnProperty(xt)&&Lh(e,n,xt,void 0,u,K);for(ne in u)K=u[ne],V=i[ne],!u.hasOwnProperty(ne)||K===V||K===void 0&&V===void 0||Lh(e,n,ne,K,u,V);return}}for(var k in i)K=i[k],i.hasOwnProperty(k)&&K!=null&&!u.hasOwnProperty(k)&&At(e,n,k,null,u,K);for(ae in u)K=u[ae],V=i[ae],!u.hasOwnProperty(ae)||K===V||K==null&&V==null||At(e,n,ae,K,u,V)}var ii=null,Mc=null;function Ms(e){return e.nodeType===9?e:e.ownerDocument}function qt(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 Ft(e,n){if(e===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&n==="foreignObject"?0:e}function Dc(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Bh=null;function Sm(){var e=window.event;return e&&e.type==="popstate"?e===Bh?!1:(Bh=e,!0):(Bh=null,!1)}var dp=typeof setTimeout=="function"?setTimeout:void 0,Tm=typeof clearTimeout=="function"?clearTimeout:void 0,pp=typeof Promise=="function"?Promise:void 0,Am=typeof queueMicrotask=="function"?queueMicrotask:typeof pp<"u"?function(e){return pp.resolve(null).then(e).catch(gp)}:dp;function gp(e){setTimeout(function(){throw e})}function Vr(e){return e==="head"}function Lc(e,n){var i=n,u=0,c=0;do{var p=i.nextSibling;if(e.removeChild(i),p&&p.nodeType===8)if(i=p.data,i==="/$"){if(0<u&&8>u){i=u;var b=e.ownerDocument;if(i&1&&Ko(b.documentElement),i&2&&Ko(b.body),i&4)for(i=b.head,Ko(i),b=i.firstChild;b;){var x=b.nextSibling,M=b.nodeName;b[ma]||M==="SCRIPT"||M==="STYLE"||M==="LINK"&&b.rel.toLowerCase()==="stylesheet"||i.removeChild(b),b=x}}if(c===0){e.removeChild(p),ru(n);return}c--}else i==="$"||i==="$?"||i==="$!"?c++:u=i.charCodeAt(0)-48;else u=0;i=p}while(i);ru(n)}function Uh(e){var n=e.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var i=n;switch(n=n.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":Uh(i),fr(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}e.removeChild(i)}}function mp(e,n,i,u){for(;e.nodeType===1;){var c=i;if(e.nodeName.toLowerCase()!==n.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[ma])switch(n){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(p=e.getAttribute("rel"),p==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(p!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(p=e.getAttribute("src"),(p!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&p&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(n==="input"&&e.type==="hidden"){var p=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===p)return e}else return e;if(e=ai(e.nextSibling),e===null)break}return null}function Bc(e,n,i){if(n==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=ai(e.nextSibling),e===null))return null;return e}function Yn(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function Ml(e,n){var i=e.ownerDocument;if(e.data!=="$?"||i.readyState==="complete")n();else{var u=function(){n(),i.removeEventListener("DOMContentLoaded",u)};i.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function ai(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?"||n==="F!"||n==="F")break;if(n==="/$")return null}}return e}var Ih=null;function vp(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"){if(n===0)return e;n--}else i==="/$"&&n++}e=e.previousSibling}return null}function yp(e,n,i){switch(n=Ms(i),e){case"html":if(e=n.documentElement,!e)throw Error(l(452));return e;case"head":if(e=n.head,!e)throw Error(l(453));return e;case"body":if(e=n.body,!e)throw Error(l(454));return e;default:throw Error(l(451))}}function Ko(e){for(var n=e.attributes;n.length;)e.removeAttributeNode(n[0]);fr(e)}var Sr=new Map,Ci=new Set;function ke(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Ni=fe.d;fe.d={f:Yr,r:_p,D:xm,C:bp,L:Uc,m:Om,X:Rm,S:wm,M:Cm};function Yr(){var e=Ni.f(),n=Sc();return e||n}function _p(e){var n=Gi(e);n!==null&&n.tag===5&&n.type==="form"?ac(n):Ni.r(e)}var Dl=typeof document>"u"?null:document;function mt(e,n,i){var u=Dl;if(u&&typeof n=="string"&&n){var c=Dr(n);c='link[rel="'+e+'"][href="'+c+'"]',typeof i=="string"&&(c+='[crossorigin="'+i+'"]'),Ci.has(c)||(Ci.add(c),e={rel:e,crossOrigin:i,href:n},u.querySelector(c)===null&&(n=u.createElement("link"),gn(n,"link",e),sn(n),u.head.appendChild(n)))}}function xm(e){Ni.D(e),mt("dns-prefetch",e,null)}function bp(e,n){Ni.C(e,n),mt("preconnect",e,n)}function Uc(e,n,i){Ni.L(e,n,i);var u=Dl;if(u&&e&&n){var c='link[rel="preload"][as="'+Dr(n)+'"]';n==="image"&&i&&i.imageSrcSet?(c+='[imagesrcset="'+Dr(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(c+='[imagesizes="'+Dr(i.imageSizes)+'"]')):c+='[href="'+Dr(e)+'"]';var p=c;switch(n){case"style":p=Ll(e);break;case"script":p=Bl(e)}Sr.has(p)||(e=T({rel:"preload",href:n==="image"&&i&&i.imageSrcSet?void 0:e,as:n},i),Sr.set(p,e),u.querySelector(c)!==null||n==="style"&&u.querySelector(Qo(p))||n==="script"&&u.querySelector(Wo(p))||(n=u.createElement("link"),gn(n,"link",e),sn(n),u.head.appendChild(n)))}}function Om(e,n){Ni.m(e,n);var i=Dl;if(i&&e){var u=n&&typeof n.as=="string"?n.as:"script",c='link[rel="modulepreload"][as="'+Dr(u)+'"][href="'+Dr(e)+'"]',p=c;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=Bl(e)}if(!Sr.has(p)&&(e=T({rel:"modulepreload",href:e},n),Sr.set(p,e),i.querySelector(c)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Wo(p)))return}u=i.createElement("link"),gn(u,"link",e),sn(u),i.head.appendChild(u)}}}function wm(e,n,i){Ni.S(e,n,i);var u=Dl;if(u&&e){var c=ki(u).hoistableStyles,p=Ll(e);n=n||"default";var b=c.get(p);if(!b){var x={loading:0,preload:null};if(b=u.querySelector(Qo(p)))x.loading=5;else{e=T({rel:"stylesheet",href:e,"data-precedence":n},i),(i=Sr.get(p))&&$o(e,i);var M=b=u.createElement("link");sn(M),gn(M,"link",e),M._p=new Promise(function(P,ne){M.onload=P,M.onerror=ne}),M.addEventListener("load",function(){x.loading|=1}),M.addEventListener("error",function(){x.loading|=2}),x.loading|=4,Ic(b,n,u)}b={type:"stylesheet",instance:b,count:1,state:x},c.set(p,b)}}}function Rm(e,n){Ni.X(e,n);var i=Dl;if(i&&e){var u=ki(i).hoistableScripts,c=Bl(e),p=u.get(c);p||(p=i.querySelector(Wo(c)),p||(e=T({src:e,async:!0},n),(n=Sr.get(c))&&Hh(e,n),p=i.createElement("script"),sn(p),gn(p,"link",e),i.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},u.set(c,p))}}function Cm(e,n){Ni.M(e,n);var i=Dl;if(i&&e){var u=ki(i).hoistableScripts,c=Bl(e),p=u.get(c);p||(p=i.querySelector(Wo(c)),p||(e=T({src:e,async:!0,type:"module"},n),(n=Sr.get(c))&&Hh(e,n),p=i.createElement("script"),sn(p),gn(p,"link",e),i.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},u.set(c,p))}}function Ep(e,n,i,u){var c=(c=Te.current)?ke(c):null;if(!c)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(n=Ll(i.href),i=ki(c).hoistableStyles,u=i.get(n),u||(u={type:"style",instance:null,count:0,state:null},i.set(n,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){e=Ll(i.href);var p=ki(c).hoistableStyles,b=p.get(e);if(b||(c=c.ownerDocument||c,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(e,b),(p=c.querySelector(Qo(e)))&&!p._p&&(b.instance=p,b.state.loading=5),Sr.has(e)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Sr.set(e,i),p||Nm(c,e,i,b.state))),n&&u===null)throw Error(l(528,""));return b}if(n&&u!==null)throw Error(l(529,""));return null;case"script":return n=i.async,i=i.src,typeof i=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Bl(i),i=ki(c).hoistableScripts,u=i.get(n),u||(u={type:"script",instance:null,count:0,state:null},i.set(n,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function Ll(e){return'href="'+Dr(e)+'"'}function Qo(e){return'link[rel="stylesheet"]['+e+"]"}function Sp(e){return T({},e,{"data-precedence":e.precedence,precedence:null})}function Nm(e,n,i,u){e.querySelector('link[rel="preload"][as="style"]['+n+"]")?u.loading=1:(n=e.createElement("link"),u.preload=n,n.addEventListener("load",function(){return u.loading|=1}),n.addEventListener("error",function(){return u.loading|=2}),gn(n,"link",i),sn(n),e.head.appendChild(n))}function Bl(e){return'[src="'+Dr(e)+'"]'}function Wo(e){return"script[async]"+e}function Tp(e,n,i){if(n.count++,n.instance===null)switch(n.type){case"style":var u=e.querySelector('style[data-href~="'+Dr(i.href)+'"]');if(u)return n.instance=u,sn(u),u;var c=T({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),sn(u),gn(u,"style",c),Ic(u,i.precedence,e),n.instance=u;case"stylesheet":c=Ll(i.href);var p=e.querySelector(Qo(c));if(p)return n.state.loading|=4,n.instance=p,sn(p),p;u=Sp(i),(c=Sr.get(c))&&$o(u,c),p=(e.ownerDocument||e).createElement("link"),sn(p);var b=p;return b._p=new Promise(function(x,M){b.onload=x,b.onerror=M}),gn(p,"link",u),n.state.loading|=4,Ic(p,i.precedence,e),n.instance=p;case"script":return p=Bl(i.src),(c=e.querySelector(Wo(p)))?(n.instance=c,sn(c),c):(u=i,(c=Sr.get(p))&&(u=T({},i),Hh(u,c)),e=e.ownerDocument||e,c=e.createElement("script"),sn(c),gn(c,"link",u),e.head.appendChild(c),n.instance=c);case"void":return null;default:throw Error(l(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(u=n.instance,n.state.loading|=4,Ic(u,i.precedence,e));return n.instance}function Ic(e,n,i){for(var u=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=u.length?u[u.length-1]:null,p=c,b=0;b<u.length;b++){var x=u[b];if(x.dataset.precedence===n)p=x;else if(p!==c)break}p?p.parentNode.insertBefore(e,p.nextSibling):(n=i.nodeType===9?i.head:i,n.insertBefore(e,n.firstChild))}function $o(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.title==null&&(e.title=n.title)}function Hh(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.integrity==null&&(e.integrity=n.integrity)}var Ul=null;function Ap(e,n,i){if(Ul===null){var u=new Map,c=Ul=new Map;c.set(i,u)}else c=Ul,u=c.get(i),u||(u=new Map,c.set(i,u));if(u.has(e))return u;for(u.set(e,null),i=i.getElementsByTagName(e),c=0;c<i.length;c++){var p=i[c];if(!(p[ma]||p[en]||e==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var b=p.getAttribute(n)||"";b=e+b;var x=u.get(b);x?x.push(p):u.set(b,[p])}}return u}function xp(e,n,i){e=e.ownerDocument||e,e.head.insertBefore(i,n==="title"?e.querySelector("head > title"):null)}function Mm(e,n,i){if(i===1||n.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;switch(n.rel){case"stylesheet":return e=n.disabled,typeof n.precedence=="string"&&e==null;default:return!0}case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function mn(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var Sn=null;function Dm(){}function Lm(e,n,i){if(Sn===null)throw Error(l(475));var u=Sn;if(n.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var c=Ll(i.href),p=e.querySelector(Qo(c));if(p){e=p._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(u.count++,u=Jo.bind(u),e.then(u,u)),n.state.loading|=4,n.instance=p,sn(p);return}p=e.ownerDocument||e,i=Sp(i),(c=Sr.get(c))&&$o(i,c),p=p.createElement("link"),sn(p);var b=p;b._p=new Promise(function(x,M){b.onload=x,b.onerror=M}),gn(p,"link",i),n.instance=p}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(u.count++,n=Jo.bind(u),e.addEventListener("load",n),e.addEventListener("error",n))}}function Bm(){if(Sn===null)throw Error(l(475));var e=Sn;return e.stylesheets&&e.count===0&&jh(e,e.stylesheets),0<e.count?function(n){var i=setTimeout(function(){if(e.stylesheets&&jh(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(i)}}:null}function Jo(){if(this.count--,this.count===0){if(this.stylesheets)jh(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Hc=null;function jh(e,n){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Hc=new Map,n.forEach(Um,e),Hc=null,Jo.call(e))}function Um(e,n){if(!(n.state.loading&4)){var i=Hc.get(e);if(i)var u=i.get(null);else{i=new Map,Hc.set(e,i);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<c.length;p++){var b=c[p];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(i.set(b.dataset.precedence,b),u=b)}u&&i.set(null,u)}c=n.instance,b=c.getAttribute("data-precedence"),p=i.get(b)||u,p===u&&i.set(null,c),i.set(b,c),this.count++,u=Jo.bind(this),c.addEventListener("load",u),c.addEventListener("error",u),p?p.parentNode.insertBefore(c,p.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),n.state.loading|=4}}var Il={$$typeof:C,Provider:null,Consumer:null,_currentValue:ge,_currentValue2:ge,_threadCount:0};function Im(e,n,i,u,c,p,b,x){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=Fs(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fs(0),this.hiddenUpdates=Fs(null),this.identifierPrefix=u,this.onUncaughtError=c,this.onCaughtError=p,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map}function Op(e,n,i,u,c,p,b,x,M,P,ne,ae){return e=new Im(e,n,i,b,x,M,P,ae),n=1,p===!0&&(n|=24),p=Jn(3,null,null,n),e.current=p,p.stateNode=e,n=Df(),n.refCount++,e.pooledCache=n,n.refCount++,p.memoizedState={element:u,isDehydrated:i,cache:n},ys(p),e}function wp(e){return e?(e=fs,e):fs}function Gh(e,n,i,u,c,p){c=wp(c),u.context===null?u.context=c:u.pendingContext=c,u=wa(n),u.payload={element:i},p=p===void 0?null:p,p!==null&&(u.callback=p),i=Xi(e,u,n),i!==null&&(Er(i,e,n),fo(i,e,n))}function zh(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<n?i:n}}function kh(e,n){zh(e,n),(e=e.alternate)&&zh(e,n)}function Rp(e){if(e.tag===13){var n=cs(e,67108864);n!==null&&Er(n,e,67108864),kh(e,67108864)}}var jc=!0;function Hm(e,n,i,u){var c=J.T;J.T=null;var p=fe.p;try{fe.p=2,qh(e,n,i,u)}finally{fe.p=p,J.T=c}}function Hl(e,n,i,u){var c=J.T;J.T=null;var p=fe.p;try{fe.p=8,qh(e,n,i,u)}finally{fe.p=p,J.T=c}}function qh(e,n,i,u){if(jc){var c=Fh(u);if(c===null)aa(e,n,u,Gc,i),Np(e,u);else if(Gm(c,e,n,i,u))u.stopPropagation();else if(Np(e,u),n&4&&-1<jm.indexOf(e)){for(;c!==null;){var p=Gi(c);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var b=Mn(p.pendingLanes);if(b!==0){var x=p;for(x.pendingLanes|=2,x.entangledLanes|=2;b;){var M=1<<31-_n(b);x.entanglements[1]|=M,b&=~M}Ri(p),(Et&6)===0&&(xl=Bt()+500,Vo(0))}}break;case 13:x=cs(p,2),x!==null&&Er(x,p,2),Sc(),kh(p,2)}if(p=Fh(u),p===null&&aa(e,n,u,Gc,i),p===c)break;c=p}c!==null&&u.stopPropagation()}else aa(e,n,u,null,i)}}function Fh(e){return e=df(e),Ph(e)}var Gc=null;function Ph(e){if(Gc=null,e=ji(e),e!==null){var n=d(e);if(n===null)e=null;else{var i=n.tag;if(i===13){if(e=g(n),e!==null)return e;e=null}else if(i===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}}return Gc=e,null}function Cp(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(es()){case ts:return 2;case Ii:return 8;case wn:case ns:return 32;case Hi:return 268435456;default:return 32}default:return 32}}var zc=!1,sa=null,Fa=null,Pa=null,eu=new Map,tu=new Map,Va=[],jm="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 Np(e,n){switch(e){case"focusin":case"focusout":sa=null;break;case"dragenter":case"dragleave":Fa=null;break;case"mouseover":case"mouseout":Pa=null;break;case"pointerover":case"pointerout":eu.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":tu.delete(n.pointerId)}}function nu(e,n,i,u,c,p){return e===null||e.nativeEvent!==p?(e={blockedOn:n,domEventName:i,eventSystemFlags:u,nativeEvent:p,targetContainers:[c]},n!==null&&(n=Gi(n),n!==null&&Rp(n)),e):(e.eventSystemFlags|=u,n=e.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),e)}function Gm(e,n,i,u,c){switch(n){case"focusin":return sa=nu(sa,e,n,i,u,c),!0;case"dragenter":return Fa=nu(Fa,e,n,i,u,c),!0;case"mouseover":return Pa=nu(Pa,e,n,i,u,c),!0;case"pointerover":var p=c.pointerId;return eu.set(p,nu(eu.get(p)||null,e,n,i,u,c)),!0;case"gotpointercapture":return p=c.pointerId,tu.set(p,nu(tu.get(p)||null,e,n,i,u,c)),!0}return!1}function Mp(e){var n=ji(e.target);if(n!==null){var i=d(n);if(i!==null){if(n=i.tag,n===13){if(n=g(i),n!==null){e.blockedOn=n,Yl(e.priority,function(){if(i.tag===13){var u=Hn();u=mi(u);var c=cs(i,u);c!==null&&Er(c,i,u),kh(i,u)}});return}}else if(n===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function kc(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var i=Fh(e.nativeEvent);if(i===null){i=e.nativeEvent;var u=new i.constructor(i.type,i);Su=u,i.target.dispatchEvent(u),Su=null}else return n=Gi(i),n!==null&&Rp(n),e.blockedOn=i,!1;n.shift()}return!0}function Dp(e,n,i){kc(e)&&i.delete(n)}function zm(){zc=!1,sa!==null&&kc(sa)&&(sa=null),Fa!==null&&kc(Fa)&&(Fa=null),Pa!==null&&kc(Pa)&&(Pa=null),eu.forEach(Dp),tu.forEach(Dp)}function qc(e,n){e.blockedOn===n&&(e.blockedOn=null,zc||(zc=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,zm)))}var Fc=null;function Lp(e){Fc!==e&&(Fc=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Fc===e&&(Fc=null);for(var n=0;n<e.length;n+=3){var i=e[n],u=e[n+1],c=e[n+2];if(typeof u!="function"){if(Ph(u||i)===null)continue;break}var p=Gi(i);p!==null&&(e.splice(n,3),n-=3,To(p,{pending:!0,data:c,method:i.method,action:u},u,c))}}))}function ru(e){function n(M){return qc(M,e)}sa!==null&&qc(sa,e),Fa!==null&&qc(Fa,e),Pa!==null&&qc(Pa,e),eu.forEach(n),tu.forEach(n);for(var i=0;i<Va.length;i++){var u=Va[i];u.blockedOn===e&&(u.blockedOn=null)}for(;0<Va.length&&(i=Va[0],i.blockedOn===null);)Mp(i),i.blockedOn===null&&Va.shift();if(i=(e.ownerDocument||e).$$reactFormReplay,i!=null)for(u=0;u<i.length;u+=3){var c=i[u],p=i[u+1],b=c[Dn]||null;if(typeof p=="function")b||Lp(i);else if(b){var x=null;if(p&&p.hasAttribute("formAction")){if(c=p,b=p[Dn]||null)x=b.formAction;else if(Ph(c)!==null)continue}else x=b.action;typeof x=="function"?i[u+1]=x:(i.splice(u,3),u-=3),Lp(i)}}}function Vh(e){this._internalRoot=e}Pc.prototype.render=Vh.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(l(409));var i=n.current,u=Hn();Gh(i,u,e,n,null,null)},Pc.prototype.unmount=Vh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Gh(e.current,2,null,e,null,null),Sc(),n[un]=null}};function Pc(e){this._internalRoot=e}Pc.prototype.unstable_scheduleHydration=function(e){if(e){var n=Vl();e={blockedOn:null,target:e,priority:n};for(var i=0;i<Va.length&&n!==0&&n<Va[i].priority;i++);Va.splice(i,0,e),i===0&&Mp(e)}};var Bp=r.version;if(Bp!=="19.1.1")throw Error(l(527,Bp,"19.1.1"));fe.findDOMNode=function(e){var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(l(188)):(e=Object.keys(e).join(","),Error(l(268,e)));return e=y(n),e=e!==null?_(e):null,e=e===null?null:e.stateNode,e};var km={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:J,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Vc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vc.isDisabled&&Vc.supportsFiber)try{Nr=Vc.inject(km),an=Vc}catch{}}return Zh.createRoot=function(e,n){if(!f(e))throw Error(l(299));var i=!1,u="",c=ih,p=oc,b=_0,x=null;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(p=n.onCaughtError),n.onRecoverableError!==void 0&&(b=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(x=n.unstable_transitionCallbacks)),n=Op(e,1,!1,null,null,i,u,c,p,b,x,null),e[un]=n.current,Dh(e),new Vh(n)},Zh.hydrateRoot=function(e,n,i){if(!f(e))throw Error(l(299));var u=!1,c="",p=ih,b=oc,x=_0,M=null,P=null;return i!=null&&(i.unstable_strictMode===!0&&(u=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(p=i.onUncaughtError),i.onCaughtError!==void 0&&(b=i.onCaughtError),i.onRecoverableError!==void 0&&(x=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(M=i.unstable_transitionCallbacks),i.formState!==void 0&&(P=i.formState)),n=Op(e,1,!0,n,i??null,u,c,p,b,x,M,P),n.context=wp(null),i=n.current,u=Hn(),u=mi(u),c=wa(u),c.callback=null,Xi(i,c,u),i=u,n.current.lanes=i,Mr(n,i),Ri(n),e[un]=n.current,Dh(e),new Pc(n)},Zh.version="19.1.1",Zh}var Ay;function FS(){if(Ay)return Ym.exports;Ay=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),Ym.exports=qS(),Ym.exports}var PS=FS(),X=Ag();const nE=Cv(X);var Wm={exports:{}},$m={};/**
|
|
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 xy;function VS(){if(xy)return $m;xy=1;var t=Ag();function r(y,_){return y===_&&(y!==0||1/y===1/_)||y!==y&&_!==_}var s=typeof Object.is=="function"?Object.is:r,l=t.useSyncExternalStore,f=t.useRef,d=t.useEffect,g=t.useMemo,m=t.useDebugValue;return $m.useSyncExternalStoreWithSelector=function(y,_,T,R,D){var Y=f(null);if(Y.current===null){var U={hasValue:!1,value:null};Y.current=U}else U=Y.current;Y=g(function(){function Q(L){if(!w){if(w=!0,j=L,L=R(L),D!==void 0&&U.hasValue){var ce=U.value;if(D(ce,L))return C=ce}return C=L}if(ce=C,s(j,L))return ce;var pe=R(L);return D!==void 0&&D(ce,pe)?(j=L,ce):(j=L,C=pe)}var w=!1,j,C,Z=T===void 0?null:T;return[function(){return Q(_())},Z===null?void 0:function(){return Q(Z())}]},[_,T,R,D]);var te=l(y,Y[0],Y[1]);return d(function(){U.hasValue=!0,U.value=te},[te]),m(te),te},$m}var Oy;function YS(){return Oy||(Oy=1,Wm.exports=VS()),Wm.exports}var ZS=YS(),XS=X.version.startsWith("19"),KS=Symbol.for(XS?"react.transitional.element":"react.element"),QS=Symbol.for("react.portal"),WS=Symbol.for("react.fragment"),$S=Symbol.for("react.strict_mode"),JS=Symbol.for("react.profiler"),eT=Symbol.for("react.consumer"),tT=Symbol.for("react.context"),rE=Symbol.for("react.forward_ref"),nT=Symbol.for("react.suspense"),rT=Symbol.for("react.suspense_list"),Nv=Symbol.for("react.memo"),iT=Symbol.for("react.lazy"),aT=rE,sT=Nv;function lT(t){if(typeof t=="object"&&t!==null){const{$$typeof:r}=t;switch(r){case KS:switch(t=t.type,t){case WS:case JS:case $S:case nT:case rT:return t;default:switch(t=t&&t.$$typeof,t){case tT:case rE:case iT:case Nv:return t;case eT:return t;default:return r}}case QS:return r}}}function oT(t){return lT(t)===Nv}function uT(t,r,s,l,{areStatesEqual:f,areOwnPropsEqual:d,areStatePropsEqual:g}){let m=!1,y,_,T,R,D;function Y(j,C){return y=j,_=C,T=t(y,_),R=r(l,_),D=s(T,R,_),m=!0,D}function U(){return T=t(y,_),r.dependsOnOwnProps&&(R=r(l,_)),D=s(T,R,_),D}function te(){return t.dependsOnOwnProps&&(T=t(y,_)),r.dependsOnOwnProps&&(R=r(l,_)),D=s(T,R,_),D}function Q(){const j=t(y,_),C=!g(j,T);return T=j,C&&(D=s(T,R,_)),D}function w(j,C){const Z=!d(C,_),L=!f(j,y,C,_);return y=j,_=C,Z&&L?U():Z?te():L?Q():D}return function(C,Z){return m?w(C,Z):Y(C,Z)}}function cT(t,{initMapStateToProps:r,initMapDispatchToProps:s,initMergeProps:l,...f}){const d=r(t,f),g=s(t,f),m=l(t,f);return uT(d,g,m,t,f)}function fT(t,r){const s={};for(const l in t){const f=t[l];typeof f=="function"&&(s[l]=(...d)=>r(f(...d)))}return s}function J1(t){return function(s){const l=t(s);function f(){return l}return f.dependsOnOwnProps=!1,f}}function wy(t){return t.dependsOnOwnProps?!!t.dependsOnOwnProps:t.length!==1}function iE(t,r){return function(l,{displayName:f}){const d=function(m,y){return d.dependsOnOwnProps?d.mapToProps(m,y):d.mapToProps(m,void 0)};return d.dependsOnOwnProps=!0,d.mapToProps=function(m,y){d.mapToProps=t,d.dependsOnOwnProps=wy(t);let _=d(m,y);return typeof _=="function"&&(d.mapToProps=_,d.dependsOnOwnProps=wy(_),_=d(m,y)),_},d}}function Mv(t,r){return(s,l)=>{throw new Error(`Invalid value of type ${typeof t} for ${r} argument when connecting component ${l.wrappedComponentName}.`)}}function hT(t){return t&&typeof t=="object"?J1(r=>fT(t,r)):t?typeof t=="function"?iE(t):Mv(t,"mapDispatchToProps"):J1(r=>({dispatch:r}))}function dT(t){return t?typeof t=="function"?iE(t):Mv(t,"mapStateToProps"):J1(()=>({}))}function pT(t,r,s){return{...s,...t,...r}}function gT(t){return function(s,{displayName:l,areMergedPropsEqual:f}){let d=!1,g;return function(y,_,T){const R=t(y,_,T);return d?f(R,g)||(g=R):(d=!0,g=R),g}}}function mT(t){return t?typeof t=="function"?gT(t):Mv(t,"mergeProps"):()=>pT}function vT(t){t()}function yT(){let t=null,r=null;return{clear(){t=null,r=null},notify(){vT(()=>{let s=t;for(;s;)s.callback(),s=s.next})},get(){const s=[];let l=t;for(;l;)s.push(l),l=l.next;return s},subscribe(s){let l=!0;const f=r={callback:s,next:null,prev:r};return f.prev?f.prev.next=f:t=f,function(){!l||t===null||(l=!1,f.next?f.next.prev=f.prev:r=f.prev,f.prev?f.prev.next=f.next:t=f.next)}}}}var Ry={notify(){},get:()=>[]};function aE(t,r){let s,l=Ry,f=0,d=!1;function g(te){T();const Q=l.subscribe(te);let w=!1;return()=>{w||(w=!0,Q(),R())}}function m(){l.notify()}function y(){U.onStateChange&&U.onStateChange()}function _(){return d}function T(){f++,s||(s=r?r.addNestedSub(y):t.subscribe(y),l=yT())}function R(){f--,s&&f===0&&(s(),s=void 0,l.clear(),l=Ry)}function D(){d||(d=!0,T())}function Y(){d&&(d=!1,R())}const U={addNestedSub:g,notifyNestedSubs:m,handleChangeWrapper:y,isSubscribed:_,trySubscribe:D,tryUnsubscribe:Y,getListeners:()=>l};return U}var _T=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",bT=_T(),ET=()=>typeof navigator<"u"&&navigator.product==="ReactNative",ST=ET(),TT=()=>bT||ST?X.useLayoutEffect:X.useEffect,pg=TT();function Cy(t,r){return t===r?t!==0||r!==0||1/t===1/r:t!==t&&r!==r}function Jm(t,r){if(Cy(t,r))return!0;if(typeof t!="object"||t===null||typeof r!="object"||r===null)return!1;const s=Object.keys(t),l=Object.keys(r);if(s.length!==l.length)return!1;for(let f=0;f<s.length;f++)if(!Object.prototype.hasOwnProperty.call(r,s[f])||!Cy(t[s[f]],r[s[f]]))return!1;return!0}var AT={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},xT={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},OT={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},sE={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},wT={[aT]:OT,[sT]:sE};function Ny(t){return oT(t)?sE:wT[t.$$typeof]||AT}var RT=Object.defineProperty,CT=Object.getOwnPropertyNames,My=Object.getOwnPropertySymbols,NT=Object.getOwnPropertyDescriptor,MT=Object.getPrototypeOf,Dy=Object.prototype;function ev(t,r){if(typeof r!="string"){if(Dy){const d=MT(r);d&&d!==Dy&&ev(t,d)}let s=CT(r);My&&(s=s.concat(My(r)));const l=Ny(t),f=Ny(r);for(let d=0;d<s.length;++d){const g=s[d];if(!xT[g]&&!(f&&f[g])&&!(l&&l[g])){const m=NT(r,g);try{RT(t,g,m)}catch{}}}}return t}var DT=Symbol.for("react-redux-context"),LT=typeof globalThis<"u"?globalThis:{};function BT(){if(!X.createContext)return{};const t=LT[DT]??=new Map;let r=t.get(X.createContext);return r||(r=X.createContext(null),t.set(X.createContext,r)),r}var Gs=BT(),UT=[null,null];function IT(t,r,s){pg(()=>t(...r),s)}function HT(t,r,s,l,f,d){t.current=l,s.current=!1,f.current&&(f.current=null,d())}function jT(t,r,s,l,f,d,g,m,y,_,T){if(!t)return()=>{};let R=!1,D=null;const Y=()=>{if(R||!m.current)return;const te=r.getState();let Q,w;try{Q=l(te,f.current)}catch(j){w=j,D=j}w||(D=null),Q===d.current?g.current||_():(d.current=Q,y.current=Q,g.current=!0,T())};return s.onStateChange=Y,s.trySubscribe(),Y(),()=>{if(R=!0,s.tryUnsubscribe(),s.onStateChange=null,D)throw D}}function GT(t,r){return t===r}function zT(t,r,s,{pure:l,areStatesEqual:f=GT,areOwnPropsEqual:d=Jm,areStatePropsEqual:g=Jm,areMergedPropsEqual:m=Jm,forwardRef:y=!1,context:_=Gs}={}){const T=_,R=dT(t),D=hT(r),Y=mT(s),U=!!t;return Q=>{const w=Q.displayName||Q.name||"Component",j=`Connect(${w})`,C={shouldHandleStateChanges:U,displayName:j,wrappedComponentName:w,WrappedComponent:Q,initMapStateToProps:R,initMapDispatchToProps:D,initMergeProps:Y,areStatesEqual:f,areStatePropsEqual:g,areOwnPropsEqual:d,areMergedPropsEqual:m};function Z(pe){const[Ee,ze,Ze]=X.useMemo(()=>{const{reactReduxForwardedRef:Dt,...zn}=pe;return[pe.context,Dt,zn]},[pe]),xe=X.useMemo(()=>{let Dt=T;return Ee?.Consumer,Dt},[Ee,T]),He=X.useContext(xe),Ne=!!pe.store&&!!pe.store.getState&&!!pe.store.dispatch,Mt=!!He&&!!He.store,Fe=Ne?pe.store:He.store,J=Mt?He.getServerState:Fe.getState,fe=X.useMemo(()=>cT(Fe.dispatch,C),[Fe]),[ge,We]=X.useMemo(()=>{if(!U)return UT;const Dt=aE(Fe,Ne?void 0:He.subscription),zn=Dt.notifyNestedSubs.bind(Dt);return[Dt,zn]},[Fe,Ne,He]),B=X.useMemo(()=>Ne?He:{...He,subscription:ge},[Ne,He,ge]),$=X.useRef(void 0),de=X.useRef(Ze),le=X.useRef(void 0),Se=X.useRef(!1),ye=X.useRef(!1),Te=X.useRef(void 0);pg(()=>(ye.current=!0,()=>{ye.current=!1}),[]);const Vt=X.useMemo(()=>()=>le.current&&Ze===de.current?le.current:fe(Fe.getState(),Ze),[Fe,Ze]),lt=X.useMemo(()=>zn=>ge?jT(U,Fe,ge,fe,de,$,Se,ye,le,We,zn):()=>{},[ge]);IT(HT,[de,$,Se,Ze,le,We]);let Wt;try{Wt=X.useSyncExternalStore(lt,Vt,J?()=>fe(J(),Ze):Vt)}catch(Dt){throw Te.current&&(Dt.message+=`
|
|
58
|
+
The error may be correlated with this previous error:
|
|
59
|
+
${Te.current.stack}
|
|
60
|
+
|
|
61
|
+
`),Dt}pg(()=>{Te.current=void 0,le.current=void 0,$.current=Wt});const pi=X.useMemo(()=>X.createElement(Q,{...Wt,ref:ze}),[ze,Q,Wt]);return X.useMemo(()=>U?X.createElement(xe.Provider,{value:B},pi):pi,[xe,pi,B])}const ce=X.memo(Z);if(ce.WrappedComponent=Q,ce.displayName=Z.displayName=j,y){const Ee=X.forwardRef(function(Ze,xe){return X.createElement(ce,{...Ze,reactReduxForwardedRef:xe})});return Ee.displayName=j,Ee.WrappedComponent=Q,ev(Ee,Q)}return ev(ce,Q)}}var kT=zT;function qT(t){const{children:r,context:s,serverState:l,store:f}=t,d=X.useMemo(()=>{const y=aE(f);return{store:f,subscription:y,getServerState:l?()=>l:void 0}},[f,l]),g=X.useMemo(()=>f.getState(),[f]);pg(()=>{const{subscription:y}=d;return y.onStateChange=y.notifyNestedSubs,y.trySubscribe(),g!==f.getState()&&y.notifyNestedSubs(),()=>{y.tryUnsubscribe(),y.onStateChange=void 0}},[d,g]);const m=s||Gs;return X.createElement(m.Provider,{value:d},r)}var FT=qT;function Dv(t=Gs){return function(){return X.useContext(t)}}var lE=Dv();function oE(t=Gs){const r=t===Gs?lE:Dv(t),s=()=>{const{store:l}=r();return l};return Object.assign(s,{withTypes:()=>s}),s}var PT=oE();function VT(t=Gs){const r=t===Gs?PT:oE(t),s=()=>r().dispatch;return Object.assign(s,{withTypes:()=>s}),s}var YT=VT(),ZT=(t,r)=>t===r;function XT(t=Gs){const r=t===Gs?lE:Dv(t),s=(l,f={})=>{const{equalityFn:d=ZT}=typeof f=="function"?{equalityFn:f}:f,g=r(),{store:m,subscription:y,getServerState:_}=g;X.useRef(!0);const T=X.useCallback({[l.name](D){return l(D)}}[l.name],[l]),R=ZS.useSyncExternalStoreWithSelector(y.addNestedSub,m.getState,_||m.getState,T,d);return X.useDebugValue(R),R};return Object.assign(s,{withTypes:()=>s}),s}var KT=XT(),e1={exports:{}};/*!
|
|
62
|
+
Copyright (c) 2018 Jed Watson.
|
|
63
|
+
Licensed under the MIT License (MIT), see
|
|
64
|
+
http://jedwatson.github.io/classnames
|
|
65
|
+
*/var Ly;function QT(){return Ly||(Ly=1,function(t){(function(){var r={}.hasOwnProperty;function s(){for(var d="",g=0;g<arguments.length;g++){var m=arguments[g];m&&(d=f(d,l(m)))}return d}function l(d){if(typeof d=="string"||typeof d=="number")return d;if(typeof d!="object")return"";if(Array.isArray(d))return s.apply(null,d);if(d.toString!==Object.prototype.toString&&!d.toString.toString().includes("[native code]"))return d.toString();var g="";for(var m in d)r.call(d,m)&&d[m]&&(g=f(g,m));return g}function f(d,g){return g?d?d+" "+g:d+g:d}t.exports?(s.default=s,t.exports=s):window.classNames=s})()}(e1)),e1.exports}var WT=QT();const he=Cv(WT);var tv=function(t,r){return tv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,l){s.__proto__=l}||function(s,l){for(var f in l)Object.prototype.hasOwnProperty.call(l,f)&&(s[f]=l[f])},tv(t,r)};function Li(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");tv(t,r);function s(){this.constructor=t}t.prototype=r===null?Object.create(r):(s.prototype=r.prototype,new s)}var Ae=function(){return Ae=Object.assign||function(r){for(var s,l=1,f=arguments.length;l<f;l++){s=arguments[l];for(var d in s)Object.prototype.hasOwnProperty.call(s,d)&&(r[d]=s[d])}return r},Ae.apply(this,arguments)};function xg(t,r){var s={};for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&r.indexOf(l)<0&&(s[l]=t[l]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,l=Object.getOwnPropertySymbols(t);f<l.length;f++)r.indexOf(l[f])<0&&Object.prototype.propertyIsEnumerable.call(t,l[f])&&(s[l[f]]=t[l[f]]);return s}function Qa(t,r,s){if(s||arguments.length===2)for(var l=0,f=r.length,d;l<f;l++)(d||!(l in r))&&(d||(d=Array.prototype.slice.call(r,0,l)),d[l]=r[l]);return t.concat(d||Array.prototype.slice.call(r))}function Xa(t,r){var s=r&&r.cache?r.cache:iA,l=r&&r.serializer?r.serializer:nA,f=r&&r.strategy?r.strategy:eA;return f(t,{cache:s,serializer:l})}function $T(t){return t==null||typeof t=="number"||typeof t=="boolean"}function JT(t,r,s,l){var f=$T(l)?l:s(l),d=r.get(f);return typeof d>"u"&&(d=t.call(this,l),r.set(f,d)),d}function uE(t,r,s){var l=Array.prototype.slice.call(arguments,3),f=s(l),d=r.get(f);return typeof d>"u"&&(d=t.apply(this,l),r.set(f,d)),d}function cE(t,r,s,l,f){return s.bind(r,t,l,f)}function eA(t,r){var s=t.length===1?JT:uE;return cE(t,this,s,r.cache.create(),r.serializer)}function tA(t,r){return cE(t,this,uE,r.cache.create(),r.serializer)}var nA=function(){return JSON.stringify(arguments)},rA=function(){function t(){this.cache=Object.create(null)}return t.prototype.get=function(r){return this.cache[r]},t.prototype.set=function(r,s){this.cache[r]=s},t}(),iA={create:function(){return new rA}},Ka={variadic:tA},ht;(function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(ht||(ht={}));var Pt;(function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"})(Pt||(Pt={}));var Xc;(function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"})(Xc||(Xc={}));function By(t){return t.type===Pt.literal}function aA(t){return t.type===Pt.argument}function fE(t){return t.type===Pt.number}function hE(t){return t.type===Pt.date}function dE(t){return t.type===Pt.time}function pE(t){return t.type===Pt.select}function gE(t){return t.type===Pt.plural}function sA(t){return t.type===Pt.pound}function mE(t){return t.type===Pt.tag}function vE(t){return!!(t&&typeof t=="object"&&t.type===Xc.number)}function nv(t){return!!(t&&typeof t=="object"&&t.type===Xc.dateTime)}var yE=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,lA=/(?:[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 oA(t){var r={};return t.replace(lA,function(s){var l=s.length;switch(s[0]){case"G":r.era=l===4?"long":l===5?"narrow":"short";break;case"y":r.year=l===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"][l-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][l-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=l===4?"long":l===5?"narrow":"short";break;case"e":if(l<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][l-4];break;case"c":if(l<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][l-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"][l-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][l-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][l-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][l-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"][l-1];break;case"s":r.second=["numeric","2-digit"][l-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=l<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 uA=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function cA(t){if(t.length===0)throw new Error("Number skeleton cannot be empty");for(var r=t.split(uA).filter(function(D){return D.length>0}),s=[],l=0,f=r;l<f.length;l++){var d=f[l],g=d.split("/");if(g.length===0)throw new Error("Invalid number skeleton");for(var m=g[0],y=g.slice(1),_=0,T=y;_<T.length;_++){var R=T[_];if(R.length===0)throw new Error("Invalid number skeleton")}s.push({stem:m,options:y})}return s}function fA(t){return t.replace(/^(.*?)-/,"")}var Uy=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,_E=/^(@+)?(\+|#+)?[rs]?$/g,hA=/(\*)(0+)|(#+)(0+)|(0+)/g,bE=/^(0+)$/;function Iy(t){var r={};return t[t.length-1]==="r"?r.roundingPriority="morePrecision":t[t.length-1]==="s"&&(r.roundingPriority="lessPrecision"),t.replace(_E,function(s,l,f){return typeof f!="string"?(r.minimumSignificantDigits=l.length,r.maximumSignificantDigits=l.length):f==="+"?r.minimumSignificantDigits=l.length:l[0]==="#"?r.maximumSignificantDigits=l.length:(r.minimumSignificantDigits=l.length,r.maximumSignificantDigits=l.length+(typeof f=="string"?f.length:0)),""}),r}function EE(t){switch(t){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 dA(t){var r;if(t[0]==="E"&&t[1]==="E"?(r={notation:"engineering"},t=t.slice(2)):t[0]==="E"&&(r={notation:"scientific"},t=t.slice(1)),r){var s=t.slice(0,2);if(s==="+!"?(r.signDisplay="always",t=t.slice(2)):s==="+?"&&(r.signDisplay="exceptZero",t=t.slice(2)),!bE.test(t))throw new Error("Malformed concise eng/scientific notation");r.minimumIntegerDigits=t.length}return r}function Hy(t){var r={},s=EE(t);return s||r}function pA(t){for(var r={},s=0,l=t;s<l.length;s++){var f=l[s];switch(f.stem){case"percent":case"%":r.style="percent";continue;case"%x100":r.style="percent",r.scale=100;continue;case"currency":r.style="currency",r.currency=f.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=fA(f.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=Ae(Ae(Ae({},r),{notation:"scientific"}),f.options.reduce(function(y,_){return Ae(Ae({},y),Hy(_))},{}));continue;case"engineering":r=Ae(Ae(Ae({},r),{notation:"engineering"}),f.options.reduce(function(y,_){return Ae(Ae({},y),Hy(_))},{}));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(f.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(f.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");f.options[0].replace(hA,function(y,_,T,R,D,Y){if(_)r.minimumIntegerDigits=T.length;else{if(R&&D)throw new Error("We currently do not support maximum integer digits");if(Y)throw new Error("We currently do not support exact integer digits")}return""});continue}if(bE.test(f.stem)){r.minimumIntegerDigits=f.stem.length;continue}if(Uy.test(f.stem)){if(f.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");f.stem.replace(Uy,function(y,_,T,R,D,Y){return T==="*"?r.minimumFractionDigits=_.length:R&&R[0]==="#"?r.maximumFractionDigits=R.length:D&&Y?(r.minimumFractionDigits=D.length,r.maximumFractionDigits=D.length+Y.length):(r.minimumFractionDigits=_.length,r.maximumFractionDigits=_.length),""});var d=f.options[0];d==="w"?r=Ae(Ae({},r),{trailingZeroDisplay:"stripIfInteger"}):d&&(r=Ae(Ae({},r),Iy(d)));continue}if(_E.test(f.stem)){r=Ae(Ae({},r),Iy(f.stem));continue}var g=EE(f.stem);g&&(r=Ae(Ae({},r),g));var m=dA(f.stem);m&&(r=Ae(Ae({},r),m))}return r}var Up={"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 gA(t,r){for(var s="",l=0;l<t.length;l++){var f=t.charAt(l);if(f==="j"){for(var d=0;l+1<t.length&&t.charAt(l+1)===f;)d++,l++;var g=1+(d&1),m=d<2?1:3+(d>>1),y="a",_=mA(r);for((_=="H"||_=="k")&&(m=0);m-- >0;)s+=y;for(;g-- >0;)s=_+s}else f==="J"?s+="H":s+=f}return s}function mA(t){var r=t.hourCycle;if(r===void 0&&t.hourCycles&&t.hourCycles.length&&(r=t.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 s=t.language,l;s!=="root"&&(l=t.maximize().region);var f=Up[l||""]||Up[s||""]||Up["".concat(s,"-001")]||Up["001"];return f[0]}var t1,vA=new RegExp("^".concat(yE.source,"*")),yA=new RegExp("".concat(yE.source,"*$"));function pt(t,r){return{start:t,end:r}}var _A=!!String.prototype.startsWith&&"_a".startsWith("a",1),bA=!!String.fromCodePoint,EA=!!Object.fromEntries,SA=!!String.prototype.codePointAt,TA=!!String.prototype.trimStart,AA=!!String.prototype.trimEnd,xA=!!Number.isSafeInteger,OA=xA?Number.isSafeInteger:function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},rv=!0;try{var wA=TE("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");rv=((t1=wA.exec("a"))===null||t1===void 0?void 0:t1[0])==="a"}catch{rv=!1}var jy=_A?function(r,s,l){return r.startsWith(s,l)}:function(r,s,l){return r.slice(l,l+s.length)===s},iv=bA?String.fromCodePoint:function(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];for(var l="",f=r.length,d=0,g;f>d;){if(g=r[d++],g>1114111)throw RangeError(g+" is not a valid code point");l+=g<65536?String.fromCharCode(g):String.fromCharCode(((g-=65536)>>10)+55296,g%1024+56320)}return l},Gy=EA?Object.fromEntries:function(r){for(var s={},l=0,f=r;l<f.length;l++){var d=f[l],g=d[0],m=d[1];s[g]=m}return s},SE=SA?function(r,s){return r.codePointAt(s)}:function(r,s){var l=r.length;if(!(s<0||s>=l)){var f=r.charCodeAt(s),d;return f<55296||f>56319||s+1===l||(d=r.charCodeAt(s+1))<56320||d>57343?f:(f-55296<<10)+(d-56320)+65536}},RA=TA?function(r){return r.trimStart()}:function(r){return r.replace(vA,"")},CA=AA?function(r){return r.trimEnd()}:function(r){return r.replace(yA,"")};function TE(t,r){return new RegExp(t,r)}var av;if(rv){var zy=TE("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");av=function(r,s){var l;zy.lastIndex=s;var f=zy.exec(r);return(l=f[1])!==null&&l!==void 0?l:""}}else av=function(r,s){for(var l=[];;){var f=SE(r,s);if(f===void 0||AE(f)||LA(f))break;l.push(f),s+=f>=65536?2:1}return iv.apply(void 0,l)};var NA=function(){function t(r,s){s===void 0&&(s={}),this.message=r,this.position={offset:0,line:1,column:1},this.ignoreTag=!!s.ignoreTag,this.locale=s.locale,this.requiresOtherClause=!!s.requiresOtherClause,this.shouldParseSkeletons=!!s.shouldParseSkeletons}return t.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(r,s,l){for(var f=[];!this.isEOF();){var d=this.char();if(d===123){var g=this.parseArgument(r,l);if(g.err)return g;f.push(g.val)}else{if(d===125&&r>0)break;if(d===35&&(s==="plural"||s==="selectordinal")){var m=this.clonePosition();this.bump(),f.push({type:Pt.pound,location:pt(m,this.clonePosition())})}else if(d===60&&!this.ignoreTag&&this.peek()===47){if(l)break;return this.error(ht.UNMATCHED_CLOSING_TAG,pt(this.clonePosition(),this.clonePosition()))}else if(d===60&&!this.ignoreTag&&sv(this.peek()||0)){var g=this.parseTag(r,s);if(g.err)return g;f.push(g.val)}else{var g=this.parseLiteral(r,s);if(g.err)return g;f.push(g.val)}}}return{val:f,err:null}},t.prototype.parseTag=function(r,s){var l=this.clonePosition();this.bump();var f=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Pt.literal,value:"<".concat(f,"/>"),location:pt(l,this.clonePosition())},err:null};if(this.bumpIf(">")){var d=this.parseMessage(r+1,s,!0);if(d.err)return d;var g=d.val,m=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!sv(this.char()))return this.error(ht.INVALID_TAG,pt(m,this.clonePosition()));var y=this.clonePosition(),_=this.parseTagName();return f!==_?this.error(ht.UNMATCHED_CLOSING_TAG,pt(y,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Pt.tag,value:f,children:g,location:pt(l,this.clonePosition())},err:null}:this.error(ht.INVALID_TAG,pt(m,this.clonePosition())))}else return this.error(ht.UNCLOSED_TAG,pt(l,this.clonePosition()))}else return this.error(ht.INVALID_TAG,pt(l,this.clonePosition()))},t.prototype.parseTagName=function(){var r=this.offset();for(this.bump();!this.isEOF()&&DA(this.char());)this.bump();return this.message.slice(r,this.offset())},t.prototype.parseLiteral=function(r,s){for(var l=this.clonePosition(),f="";;){var d=this.tryParseQuote(s);if(d){f+=d;continue}var g=this.tryParseUnquoted(r,s);if(g){f+=g;continue}var m=this.tryParseLeftAngleBracket();if(m){f+=m;continue}break}var y=pt(l,this.clonePosition());return{val:{type:Pt.literal,value:f,location:y},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!MA(this.peek()||0))?(this.bump(),"<"):null},t.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 s=[this.char()];for(this.bump();!this.isEOF();){var l=this.char();if(l===39)if(this.peek()===39)s.push(39),this.bump();else{this.bump();break}else s.push(l);this.bump()}return iv.apply(void 0,s)},t.prototype.tryParseUnquoted=function(r,s){if(this.isEOF())return null;var l=this.char();return l===60||l===123||l===35&&(s==="plural"||s==="selectordinal")||l===125&&r>0?null:(this.bump(),iv(l))},t.prototype.parseArgument=function(r,s){var l=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ht.EXPECT_ARGUMENT_CLOSING_BRACE,pt(l,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(ht.EMPTY_ARGUMENT,pt(l,this.clonePosition()));var f=this.parseIdentifierIfPossible().value;if(!f)return this.error(ht.MALFORMED_ARGUMENT,pt(l,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ht.EXPECT_ARGUMENT_CLOSING_BRACE,pt(l,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Pt.argument,value:f,location:pt(l,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ht.EXPECT_ARGUMENT_CLOSING_BRACE,pt(l,this.clonePosition())):this.parseArgumentOptions(r,s,f,l);default:return this.error(ht.MALFORMED_ARGUMENT,pt(l,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var r=this.clonePosition(),s=this.offset(),l=av(this.message,s),f=s+l.length;this.bumpTo(f);var d=this.clonePosition(),g=pt(r,d);return{value:l,location:g}},t.prototype.parseArgumentOptions=function(r,s,l,f){var d,g=this.clonePosition(),m=this.parseIdentifierIfPossible().value,y=this.clonePosition();switch(m){case"":return this.error(ht.EXPECT_ARGUMENT_TYPE,pt(g,y));case"number":case"date":case"time":{this.bumpSpace();var _=null;if(this.bumpIf(",")){this.bumpSpace();var T=this.clonePosition(),R=this.parseSimpleArgStyleIfPossible();if(R.err)return R;var D=CA(R.val);if(D.length===0)return this.error(ht.EXPECT_ARGUMENT_STYLE,pt(this.clonePosition(),this.clonePosition()));var Y=pt(T,this.clonePosition());_={style:D,styleLocation:Y}}var U=this.tryParseArgumentClose(f);if(U.err)return U;var te=pt(f,this.clonePosition());if(_&&jy(_?.style,"::",0)){var Q=RA(_.style.slice(2));if(m==="number"){var R=this.parseNumberSkeletonFromString(Q,_.styleLocation);return R.err?R:{val:{type:Pt.number,value:l,location:te,style:R.val},err:null}}else{if(Q.length===0)return this.error(ht.EXPECT_DATE_TIME_SKELETON,te);var w=Q;this.locale&&(w=gA(Q,this.locale));var D={type:Xc.dateTime,pattern:w,location:_.styleLocation,parsedOptions:this.shouldParseSkeletons?oA(w):{}},j=m==="date"?Pt.date:Pt.time;return{val:{type:j,value:l,location:te,style:D},err:null}}}return{val:{type:m==="number"?Pt.number:m==="date"?Pt.date:Pt.time,value:l,location:te,style:(d=_?.style)!==null&&d!==void 0?d:null},err:null}}case"plural":case"selectordinal":case"select":{var C=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ht.EXPECT_SELECT_ARGUMENT_OPTIONS,pt(C,Ae({},C)));this.bumpSpace();var Z=this.parseIdentifierIfPossible(),L=0;if(m!=="select"&&Z.value==="offset"){if(!this.bumpIf(":"))return this.error(ht.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,pt(this.clonePosition(),this.clonePosition()));this.bumpSpace();var R=this.tryParseDecimalInteger(ht.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ht.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(R.err)return R;this.bumpSpace(),Z=this.parseIdentifierIfPossible(),L=R.val}var ce=this.tryParsePluralOrSelectOptions(r,m,s,Z);if(ce.err)return ce;var U=this.tryParseArgumentClose(f);if(U.err)return U;var pe=pt(f,this.clonePosition());return m==="select"?{val:{type:Pt.select,value:l,options:Gy(ce.val),location:pe},err:null}:{val:{type:Pt.plural,value:l,options:Gy(ce.val),offset:L,pluralType:m==="plural"?"cardinal":"ordinal",location:pe},err:null}}default:return this.error(ht.INVALID_ARGUMENT_TYPE,pt(g,y))}},t.prototype.tryParseArgumentClose=function(r){return this.isEOF()||this.char()!==125?this.error(ht.EXPECT_ARGUMENT_CLOSING_BRACE,pt(r,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var r=0,s=this.clonePosition();!this.isEOF();){var l=this.char();switch(l){case 39:{this.bump();var f=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ht.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,pt(f,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(s.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(s.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(r,s){var l=[];try{l=cA(r)}catch{return this.error(ht.INVALID_NUMBER_SKELETON,s)}return{val:{type:Xc.number,tokens:l,location:s,parsedOptions:this.shouldParseSkeletons?pA(l):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(r,s,l,f){for(var d,g=!1,m=[],y=new Set,_=f.value,T=f.location;;){if(_.length===0){var R=this.clonePosition();if(s!=="select"&&this.bumpIf("=")){var D=this.tryParseDecimalInteger(ht.EXPECT_PLURAL_ARGUMENT_SELECTOR,ht.INVALID_PLURAL_ARGUMENT_SELECTOR);if(D.err)return D;T=pt(R,this.clonePosition()),_=this.message.slice(R.offset,this.offset())}else break}if(y.has(_))return this.error(s==="select"?ht.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ht.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,T);_==="other"&&(g=!0),this.bumpSpace();var Y=this.clonePosition();if(!this.bumpIf("{"))return this.error(s==="select"?ht.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ht.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,pt(this.clonePosition(),this.clonePosition()));var U=this.parseMessage(r+1,s,l);if(U.err)return U;var te=this.tryParseArgumentClose(Y);if(te.err)return te;m.push([_,{value:U.val,location:pt(Y,this.clonePosition())}]),y.add(_),this.bumpSpace(),d=this.parseIdentifierIfPossible(),_=d.value,T=d.location}return m.length===0?this.error(s==="select"?ht.EXPECT_SELECT_ARGUMENT_SELECTOR:ht.EXPECT_PLURAL_ARGUMENT_SELECTOR,pt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!g?this.error(ht.MISSING_OTHER_CLAUSE,pt(this.clonePosition(),this.clonePosition())):{val:m,err:null}},t.prototype.tryParseDecimalInteger=function(r,s){var l=1,f=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(l=-1);for(var d=!1,g=0;!this.isEOF();){var m=this.char();if(m>=48&&m<=57)d=!0,g=g*10+(m-48),this.bump();else break}var y=pt(f,this.clonePosition());return d?(g*=l,OA(g)?{val:g,err:null}:this.error(s,y)):this.error(r,y)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var r=this.position.offset;if(r>=this.message.length)throw Error("out of bound");var s=SE(this.message,r);if(s===void 0)throw Error("Offset ".concat(r," is at invalid UTF-16 code unit boundary"));return s},t.prototype.error=function(r,s){return{val:null,err:{kind:r,message:this.message,location:s}}},t.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)}},t.prototype.bumpIf=function(r){if(jy(this.message,r,this.offset())){for(var s=0;s<r.length;s++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(r){var s=this.offset(),l=this.message.indexOf(r,s);return l>=0?(this.bumpTo(l),!0):(this.bumpTo(this.message.length),!1)},t.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 s=this.offset();if(s===r)break;if(s>r)throw Error("targetOffset ".concat(r," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&AE(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var r=this.char(),s=this.offset(),l=this.message.charCodeAt(s+(r>=65536?2:1));return l??null},t}();function sv(t){return t>=97&&t<=122||t>=65&&t<=90}function MA(t){return sv(t)||t===47}function DA(t){return t===45||t===46||t>=48&&t<=57||t===95||t>=97&&t<=122||t>=65&&t<=90||t==183||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function AE(t){return t>=9&&t<=13||t===32||t===133||t>=8206&&t<=8207||t===8232||t===8233}function LA(t){return t>=33&&t<=35||t===36||t>=37&&t<=39||t===40||t===41||t===42||t===43||t===44||t===45||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||t===91||t===92||t===93||t===94||t===96||t===123||t===124||t===125||t===126||t===161||t>=162&&t<=165||t===166||t===167||t===169||t===171||t===172||t===174||t===176||t===177||t===182||t===187||t===191||t===215||t===247||t>=8208&&t<=8213||t>=8214&&t<=8215||t===8216||t===8217||t===8218||t>=8219&&t<=8220||t===8221||t===8222||t===8223||t>=8224&&t<=8231||t>=8240&&t<=8248||t===8249||t===8250||t>=8251&&t<=8254||t>=8257&&t<=8259||t===8260||t===8261||t===8262||t>=8263&&t<=8273||t===8274||t===8275||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||t===8608||t>=8609&&t<=8610||t===8611||t>=8612&&t<=8613||t===8614||t>=8615&&t<=8621||t===8622||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||t===8658||t===8659||t===8660||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||t===8968||t===8969||t===8970||t===8971||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||t===9001||t===9002||t>=9003&&t<=9083||t===9084||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||t===9655||t>=9656&&t<=9664||t===9665||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||t===9839||t>=9840&&t<=10087||t===10088||t===10089||t===10090||t===10091||t===10092||t===10093||t===10094||t===10095||t===10096||t===10097||t===10098||t===10099||t===10100||t===10101||t>=10132&&t<=10175||t>=10176&&t<=10180||t===10181||t===10182||t>=10183&&t<=10213||t===10214||t===10215||t===10216||t===10217||t===10218||t===10219||t===10220||t===10221||t===10222||t===10223||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||t===10627||t===10628||t===10629||t===10630||t===10631||t===10632||t===10633||t===10634||t===10635||t===10636||t===10637||t===10638||t===10639||t===10640||t===10641||t===10642||t===10643||t===10644||t===10645||t===10646||t===10647||t===10648||t>=10649&&t<=10711||t===10712||t===10713||t===10714||t===10715||t>=10716&&t<=10747||t===10748||t===10749||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||t===11158||t>=11159&&t<=11263||t>=11776&&t<=11777||t===11778||t===11779||t===11780||t===11781||t>=11782&&t<=11784||t===11785||t===11786||t===11787||t===11788||t===11789||t>=11790&&t<=11798||t===11799||t>=11800&&t<=11801||t===11802||t===11803||t===11804||t===11805||t>=11806&&t<=11807||t===11808||t===11809||t===11810||t===11811||t===11812||t===11813||t===11814||t===11815||t===11816||t===11817||t>=11818&&t<=11822||t===11823||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||t===11840||t===11841||t===11842||t>=11843&&t<=11855||t>=11856&&t<=11857||t===11858||t>=11859&&t<=11903||t>=12289&&t<=12291||t===12296||t===12297||t===12298||t===12299||t===12300||t===12301||t===12302||t===12303||t===12304||t===12305||t>=12306&&t<=12307||t===12308||t===12309||t===12310||t===12311||t===12312||t===12313||t===12314||t===12315||t===12316||t===12317||t>=12318&&t<=12319||t===12320||t===12336||t===64830||t===64831||t>=65093&&t<=65094}function lv(t){t.forEach(function(r){if(delete r.location,pE(r)||gE(r))for(var s in r.options)delete r.options[s].location,lv(r.options[s].value);else fE(r)&&vE(r.style)||(hE(r)||dE(r))&&nv(r.style)?delete r.style.location:mE(r)&&lv(r.children)})}function BA(t,r){r===void 0&&(r={}),r=Ae({shouldParseSkeletons:!0,requiresOtherClause:!0},r);var s=new NA(t,r).parse();if(s.err){var l=SyntaxError(ht[s.err.kind]);throw l.location=s.err.location,l.originalMessage=s.err.message,l}return r?.captureLocation||lv(s.val),s.val}var $a;(function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"})($a||($a={}));var Fl=function(t){Li(r,t);function r(s,l,f){var d=t.call(this,s)||this;return d.code=l,d.originalMessage=f,d}return r.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},r}(Error),ky=function(t){Li(r,t);function r(s,l,f,d){return t.call(this,'Invalid values for "'.concat(s,'": "').concat(l,'". Options are "').concat(Object.keys(f).join('", "'),'"'),$a.INVALID_VALUE,d)||this}return r}(Fl),UA=function(t){Li(r,t);function r(s,l,f){return t.call(this,'Value for "'.concat(s,'" must be of type ').concat(l),$a.INVALID_VALUE,f)||this}return r}(Fl),IA=function(t){Li(r,t);function r(s,l){return t.call(this,'The intl string context variable "'.concat(s,'" was not provided to the string "').concat(l,'"'),$a.MISSING_VALUE,l)||this}return r}(Fl),xr;(function(t){t[t.literal=0]="literal",t[t.object=1]="object"})(xr||(xr={}));function HA(t){return t.length<2?t:t.reduce(function(r,s){var l=r[r.length-1];return!l||l.type!==xr.literal||s.type!==xr.literal?r.push(s):l.value+=s.value,r},[])}function xE(t){return typeof t=="function"}function sg(t,r,s,l,f,d,g){if(t.length===1&&By(t[0]))return[{type:xr.literal,value:t[0].value}];for(var m=[],y=0,_=t;y<_.length;y++){var T=_[y];if(By(T)){m.push({type:xr.literal,value:T.value});continue}if(sA(T)){typeof d=="number"&&m.push({type:xr.literal,value:s.getNumberFormat(r).format(d)});continue}var R=T.value;if(!(f&&R in f))throw new IA(R,g);var D=f[R];if(aA(T)){(!D||typeof D=="string"||typeof D=="number")&&(D=typeof D=="string"||typeof D=="number"?String(D):""),m.push({type:typeof D=="string"?xr.literal:xr.object,value:D});continue}if(hE(T)){var Y=typeof T.style=="string"?l.date[T.style]:nv(T.style)?T.style.parsedOptions:void 0;m.push({type:xr.literal,value:s.getDateTimeFormat(r,Y).format(D)});continue}if(dE(T)){var Y=typeof T.style=="string"?l.time[T.style]:nv(T.style)?T.style.parsedOptions:l.time.medium;m.push({type:xr.literal,value:s.getDateTimeFormat(r,Y).format(D)});continue}if(fE(T)){var Y=typeof T.style=="string"?l.number[T.style]:vE(T.style)?T.style.parsedOptions:void 0;Y&&Y.scale&&(D=D*(Y.scale||1)),m.push({type:xr.literal,value:s.getNumberFormat(r,Y).format(D)});continue}if(mE(T)){var U=T.children,te=T.value,Q=f[te];if(!xE(Q))throw new UA(te,"function",g);var w=sg(U,r,s,l,f,d),j=Q(w.map(function(L){return L.value}));Array.isArray(j)||(j=[j]),m.push.apply(m,j.map(function(L){return{type:typeof L=="string"?xr.literal:xr.object,value:L}}))}if(pE(T)){var C=T.options[D]||T.options.other;if(!C)throw new ky(T.value,D,Object.keys(T.options),g);m.push.apply(m,sg(C.value,r,s,l,f));continue}if(gE(T)){var C=T.options["=".concat(D)];if(!C){if(!Intl.PluralRules)throw new Fl(`Intl.PluralRules is not available in this environment.
|
|
66
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
67
|
+
`,$a.MISSING_INTL_API,g);var Z=s.getPluralRules(r,{type:T.pluralType}).select(D-(T.offset||0));C=T.options[Z]||T.options.other}if(!C)throw new ky(T.value,D,Object.keys(T.options),g);m.push.apply(m,sg(C.value,r,s,l,f,D-(T.offset||0)));continue}}return HA(m)}function jA(t,r){return r?Ae(Ae(Ae({},t||{}),r||{}),Object.keys(t).reduce(function(s,l){return s[l]=Ae(Ae({},t[l]),r[l]||{}),s},{})):t}function GA(t,r){return r?Object.keys(t).reduce(function(s,l){return s[l]=jA(t[l],r[l]),s},Ae({},t)):t}function n1(t){return{create:function(){return{get:function(r){return t[r]},set:function(r,s){t[r]=s}}}}}function zA(t){return t===void 0&&(t={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Xa(function(){for(var r,s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];return new((r=Intl.NumberFormat).bind.apply(r,Qa([void 0],s,!1)))},{cache:n1(t.number),strategy:Ka.variadic}),getDateTimeFormat:Xa(function(){for(var r,s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];return new((r=Intl.DateTimeFormat).bind.apply(r,Qa([void 0],s,!1)))},{cache:n1(t.dateTime),strategy:Ka.variadic}),getPluralRules:Xa(function(){for(var r,s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];return new((r=Intl.PluralRules).bind.apply(r,Qa([void 0],s,!1)))},{cache:n1(t.pluralRules),strategy:Ka.variadic})}}var OE=function(){function t(r,s,l,f){s===void 0&&(s=t.defaultLocale);var d=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(y){var _=d.formatToParts(y);if(_.length===1)return _[0].value;var T=_.reduce(function(R,D){return!R.length||D.type!==xr.literal||typeof R[R.length-1]!="string"?R.push(D.value):R[R.length-1]+=D.value,R},[]);return T.length<=1?T[0]||"":T},this.formatToParts=function(y){return sg(d.ast,d.locales,d.formatters,d.formats,y,void 0,d.message)},this.resolvedOptions=function(){var y;return{locale:((y=d.resolvedLocale)===null||y===void 0?void 0:y.toString())||Intl.NumberFormat.supportedLocalesOf(d.locales)[0]}},this.getAst=function(){return d.ast},this.locales=s,this.resolvedLocale=t.resolveLocale(s),typeof r=="string"){if(this.message=r,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var g=f||{};g.formatters;var m=xg(g,["formatters"]);this.ast=t.__parse(r,Ae(Ae({},m),{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=GA(t.formats,l),this.formatters=f&&f.formatters||zA(this.formatterCache)}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(r){if(!(typeof Intl.Locale>"u")){var s=Intl.NumberFormat.supportedLocalesOf(r);return s.length>0?new Intl.Locale(s[0]):new Intl.Locale(typeof r=="string"?r:r[0])}},t.__parse=BA,t.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"}}},t}(),du;(function(t){t.FORMAT_ERROR="FORMAT_ERROR",t.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",t.INVALID_CONFIG="INVALID_CONFIG",t.MISSING_DATA="MISSING_DATA",t.MISSING_TRANSLATION="MISSING_TRANSLATION"})(du||(du={}));var gd=function(t){Li(r,t);function r(s,l,f){var d=this,g=f?f instanceof Error?f:new Error(String(f)):void 0;return d=t.call(this,"[@formatjs/intl Error ".concat(s,"] ").concat(l,`
|
|
68
|
+
`).concat(g?`
|
|
69
|
+
`.concat(g.message,`
|
|
70
|
+
`).concat(g.stack):""))||this,d.code=s,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(d,r),d}return r}(Error),kA=function(t){Li(r,t);function r(s,l){return t.call(this,du.UNSUPPORTED_FORMATTER,s,l)||this}return r}(gd),qA=function(t){Li(r,t);function r(s,l){return t.call(this,du.INVALID_CONFIG,s,l)||this}return r}(gd),qy=function(t){Li(r,t);function r(s,l){return t.call(this,du.MISSING_DATA,s,l)||this}return r}(gd),Bi=function(t){Li(r,t);function r(s,l,f){var d=t.call(this,du.FORMAT_ERROR,"".concat(s,`
|
|
71
|
+
Locale: `).concat(l,`
|
|
72
|
+
`),f)||this;return d.locale=l,d}return r}(gd),r1=function(t){Li(r,t);function r(s,l,f,d){var g=t.call(this,"".concat(s,`
|
|
73
|
+
MessageID: `).concat(f?.id,`
|
|
74
|
+
Default Message: `).concat(f?.defaultMessage,`
|
|
75
|
+
Description: `).concat(f?.description,`
|
|
76
|
+
`),l,d)||this;return g.descriptor=f,g.locale=l,g}return r}(Bi),FA=function(t){Li(r,t);function r(s,l){var f=t.call(this,du.MISSING_TRANSLATION,'Missing message: "'.concat(s.id,'" for locale "').concat(l,'", using ').concat(s.defaultMessage?"default message (".concat(typeof s.defaultMessage=="string"?s.defaultMessage:s.defaultMessage.map(function(d){var g;return(g=d.value)!==null&&g!==void 0?g:JSON.stringify(d)}).join(),")"):"id"," as fallback."))||this;return f.descriptor=s,f}return r}(gd);function PA(t,r,s){if(s===void 0&&(s=Error),!t)throw new s(r)}function Wc(t,r,s){return s===void 0&&(s={}),r.reduce(function(l,f){return f in t?l[f]=t[f]:f in s&&(l[f]=s[f]),l},{})}var VA=function(t){},YA=function(t){},wE={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:VA,onWarn:YA};function RE(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function iu(t){return{create:function(){return{get:function(r){return t[r]},set:function(r,s){t[r]=s}}}}}function ZA(t){t===void 0&&(t=RE());var r=Intl.RelativeTimeFormat,s=Intl.ListFormat,l=Intl.DisplayNames,f=Xa(function(){for(var m,y=[],_=0;_<arguments.length;_++)y[_]=arguments[_];return new((m=Intl.DateTimeFormat).bind.apply(m,Qa([void 0],y,!1)))},{cache:iu(t.dateTime),strategy:Ka.variadic}),d=Xa(function(){for(var m,y=[],_=0;_<arguments.length;_++)y[_]=arguments[_];return new((m=Intl.NumberFormat).bind.apply(m,Qa([void 0],y,!1)))},{cache:iu(t.number),strategy:Ka.variadic}),g=Xa(function(){for(var m,y=[],_=0;_<arguments.length;_++)y[_]=arguments[_];return new((m=Intl.PluralRules).bind.apply(m,Qa([void 0],y,!1)))},{cache:iu(t.pluralRules),strategy:Ka.variadic});return{getDateTimeFormat:f,getNumberFormat:d,getMessageFormat:Xa(function(m,y,_,T){return new OE(m,y,_,Ae({formatters:{getNumberFormat:d,getDateTimeFormat:f,getPluralRules:g}},T||{}))},{cache:iu(t.message),strategy:Ka.variadic}),getRelativeTimeFormat:Xa(function(){for(var m=[],y=0;y<arguments.length;y++)m[y]=arguments[y];return new(r.bind.apply(r,Qa([void 0],m,!1)))},{cache:iu(t.relativeTime),strategy:Ka.variadic}),getPluralRules:g,getListFormat:Xa(function(){for(var m=[],y=0;y<arguments.length;y++)m[y]=arguments[y];return new(s.bind.apply(s,Qa([void 0],m,!1)))},{cache:iu(t.list),strategy:Ka.variadic}),getDisplayNames:Xa(function(){for(var m=[],y=0;y<arguments.length;y++)m[y]=arguments[y];return new(l.bind.apply(l,Qa([void 0],m,!1)))},{cache:iu(t.displayNames),strategy:Ka.variadic})}}function Lv(t,r,s,l){var f=t&&t[r],d;if(f&&(d=f[s]),d)return d;l(new kA("No ".concat(r," format named: ").concat(s)))}function Ip(t,r){return Object.keys(t).reduce(function(s,l){return s[l]=Ae({timeZone:r},t[l]),s},{})}function Fy(t,r){var s=Object.keys(Ae(Ae({},t),r));return s.reduce(function(l,f){return l[f]=Ae(Ae({},t[f]||{}),r[f]||{}),l},{})}function Py(t,r){if(!r)return t;var s=OE.formats;return Ae(Ae(Ae({},s),t),{date:Fy(Ip(s.date,r),Ip(t.date||{},r)),time:Fy(Ip(s.time,r),Ip(t.time||{},r))})}var ov=function(t,r,s,l,f){var d=t.locale,g=t.formats,m=t.messages,y=t.defaultLocale,_=t.defaultFormats,T=t.fallbackOnEmptyString,R=t.onError,D=t.timeZone,Y=t.defaultRichTextElements;s===void 0&&(s={id:""});var U=s.id,te=s.defaultMessage;PA(!!U,"[@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 Q=String(U),w=m&&Object.prototype.hasOwnProperty.call(m,Q)&&m[Q];if(Array.isArray(w)&&w.length===1&&w[0].type===Pt.literal)return w[0].value;if(!l&&w&&typeof w=="string"&&!Y)return w.replace(/'\{(.*?)\}'/gi,"{$1}");if(l=Ae(Ae({},Y),l||{}),g=Py(g,D),_=Py(_,D),!w){if(T===!1&&w==="")return w;if((!te||d&&d.toLowerCase()!==y.toLowerCase())&&R(new FA(s,d)),te)try{var j=r.getMessageFormat(te,y,_,f);return j.format(l)}catch(C){return R(new r1('Error formatting default message for: "'.concat(Q,'", rendering default message verbatim'),d,s,C)),typeof te=="string"?te:Q}return Q}try{var j=r.getMessageFormat(w,d,g,Ae({formatters:r},f||{}));return j.format(l)}catch(C){R(new r1('Error formatting message: "'.concat(Q,'", using ').concat(te?"default message":"id"," as fallback."),d,s,C))}if(te)try{var j=r.getMessageFormat(te,y,_,f);return j.format(l)}catch(C){R(new r1('Error formatting the default message for: "'.concat(Q,'", rendering message verbatim'),d,s,C))}return typeof w=="string"?w:typeof te=="string"?te:Q},XA=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function md(t,r,s,l){var f=t.locale,d=t.formats,g=t.onError,m=t.timeZone;l===void 0&&(l={});var y=l.format,_=Ae(Ae({},m&&{timeZone:m}),y&&Lv(d,r,y,g)),T=Wc(l,XA,_);return r==="time"&&!T.hour&&!T.minute&&!T.second&&!T.timeStyle&&!T.dateStyle&&(T=Ae(Ae({},T),{hour:"numeric",minute:"numeric"})),s(f,T)}function KA(t,r){for(var s=[],l=2;l<arguments.length;l++)s[l-2]=arguments[l];var f=s[0],d=s[1],g=d===void 0?{}:d,m=typeof f=="string"?new Date(f||0):f;try{return md(t,"date",r,g).format(m)}catch(y){t.onError(new Bi("Error formatting date.",t.locale,y))}return String(m)}function QA(t,r){for(var s=[],l=2;l<arguments.length;l++)s[l-2]=arguments[l];var f=s[0],d=s[1],g=d===void 0?{}:d,m=typeof f=="string"?new Date(f||0):f;try{return md(t,"time",r,g).format(m)}catch(y){t.onError(new Bi("Error formatting time.",t.locale,y))}return String(m)}function WA(t,r){for(var s=[],l=2;l<arguments.length;l++)s[l-2]=arguments[l];var f=s[0],d=s[1],g=s[2],m=g===void 0?{}:g,y=typeof f=="string"?new Date(f||0):f,_=typeof d=="string"?new Date(d||0):d;try{return md(t,"dateTimeRange",r,m).formatRange(y,_)}catch(T){t.onError(new Bi("Error formatting date time range.",t.locale,T))}return String(y)}function $A(t,r){for(var s=[],l=2;l<arguments.length;l++)s[l-2]=arguments[l];var f=s[0],d=s[1],g=d===void 0?{}:d,m=typeof f=="string"?new Date(f||0):f;try{return md(t,"date",r,g).formatToParts(m)}catch(y){t.onError(new Bi("Error formatting date.",t.locale,y))}return[]}function JA(t,r){for(var s=[],l=2;l<arguments.length;l++)s[l-2]=arguments[l];var f=s[0],d=s[1],g=d===void 0?{}:d,m=typeof f=="string"?new Date(f||0):f;try{return md(t,"time",r,g).formatToParts(m)}catch(y){t.onError(new Bi("Error formatting time.",t.locale,y))}return[]}var ex=["style","type","fallback","languageDisplay"];function tx(t,r,s,l){var f=t.locale,d=t.onError,g=Intl.DisplayNames;g||d(new Fl(`Intl.DisplayNames is not available in this environment.
|
|
77
|
+
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
78
|
+
`,$a.MISSING_INTL_API));var m=Wc(l,ex);try{return r(f,m).of(s)}catch(y){d(new Bi("Error formatting display name.",f,y))}}var nx=["type","style"],Vy=Date.now();function rx(t){return"".concat(Vy,"_").concat(t,"_").concat(Vy)}function ix(t,r,s,l){l===void 0&&(l={});var f=CE(t,r,s,l).reduce(function(d,g){var m=g.value;return typeof m!="string"?d.push(m):typeof d[d.length-1]=="string"?d[d.length-1]+=m:d.push(m),d},[]);return f.length===1?f[0]:f.length===0?"":f}function CE(t,r,s,l){var f=t.locale,d=t.onError;l===void 0&&(l={});var g=Intl.ListFormat;g||d(new Fl(`Intl.ListFormat is not available in this environment.
|
|
79
|
+
Try polyfilling it using "@formatjs/intl-listformat"
|
|
80
|
+
`,$a.MISSING_INTL_API));var m=Wc(l,nx);try{var y={},_=s.map(function(T,R){if(typeof T=="object"){var D=rx(R);return y[D]=T,D}return String(T)});return r(f,m).formatToParts(_).map(function(T){return T.type==="literal"?T:Ae(Ae({},T),{value:y[T.value]||T.value})})}catch(T){d(new Bi("Error formatting list.",f,T))}return s}var ax=["type"];function sx(t,r,s,l){var f=t.locale,d=t.onError;l===void 0&&(l={}),Intl.PluralRules||d(new Fl(`Intl.PluralRules is not available in this environment.
|
|
81
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
82
|
+
`,$a.MISSING_INTL_API));var g=Wc(l,ax);try{return r(f,g).select(s)}catch(m){d(new Bi("Error formatting plural.",f,m))}return"other"}var lx=["numeric","style"];function ox(t,r,s){var l=t.locale,f=t.formats,d=t.onError;s===void 0&&(s={});var g=s.format,m=!!g&&Lv(f,"relative",g,d)||{},y=Wc(s,lx,m);return r(l,y)}function ux(t,r,s,l,f){f===void 0&&(f={}),l||(l="second");var d=Intl.RelativeTimeFormat;d||t.onError(new Fl(`Intl.RelativeTimeFormat is not available in this environment.
|
|
83
|
+
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
84
|
+
`,$a.MISSING_INTL_API));try{return ox(t,r,f).format(s,l)}catch(g){t.onError(new Bi("Error formatting relative time.",t.locale,g))}return String(s)}var cx=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function NE(t,r,s){var l=t.locale,f=t.formats,d=t.onError;s===void 0&&(s={});var g=s.format,m=g&&Lv(f,"number",g,d)||{},y=Wc(s,cx,m);return r(l,y)}function fx(t,r,s,l){l===void 0&&(l={});try{return NE(t,r,l).format(s)}catch(f){t.onError(new Bi("Error formatting number.",t.locale,f))}return String(s)}function hx(t,r,s,l){l===void 0&&(l={});try{return NE(t,r,l).formatToParts(s)}catch(f){t.onError(new Bi("Error formatting number.",t.locale,f))}return[]}function dx(t){var r=t?t[Object.keys(t)[0]]:void 0;return typeof r=="string"}function px(t){t.onWarn&&t.defaultRichTextElements&&dx(t.messages||{})&&t.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 gx(t,r){var s=ZA(r),l=Ae(Ae({},wE),t),f=l.locale,d=l.defaultLocale,g=l.onError;return f?!Intl.NumberFormat.supportedLocalesOf(f).length&&g?g(new qy('Missing locale data for locale: "'.concat(f,'" in Intl.NumberFormat. Using default locale: "').concat(d,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(f).length&&g&&g(new qy('Missing locale data for locale: "'.concat(f,'" in Intl.DateTimeFormat. Using default locale: "').concat(d,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):(g&&g(new qA('"locale" was not configured, using "'.concat(d,'" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details'))),l.locale=l.defaultLocale||"en"),px(l),Ae(Ae({},l),{formatters:s,formatNumber:fx.bind(null,l,s.getNumberFormat),formatNumberToParts:hx.bind(null,l,s.getNumberFormat),formatRelativeTime:ux.bind(null,l,s.getRelativeTimeFormat),formatDate:KA.bind(null,l,s.getDateTimeFormat),formatDateToParts:$A.bind(null,l,s.getDateTimeFormat),formatTime:QA.bind(null,l,s.getDateTimeFormat),formatDateTimeRange:WA.bind(null,l,s.getDateTimeFormat),formatTimeToParts:JA.bind(null,l,s.getDateTimeFormat),formatPlural:sx.bind(null,l,s.getPluralRules),formatMessage:ov.bind(null,l,s),$t:ov.bind(null,l,s),formatList:ix.bind(null,l,s.getListFormat),formatListToParts:CE.bind(null,l,s.getListFormat),formatDisplayName:tx.bind(null,l,s.getDisplayNames)})}function mx(t,r,s){if(s===void 0&&(s=Error),!t)throw new s(r)}function ME(t){mx(t,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var DE=Ae(Ae({},wE),{textComponent:X.Fragment}),vx={key:42},yx=function(t){return X.isValidElement(t)?X.createElement(X.Fragment,vx,t):t},_x=function(t){var r;return(r=X.Children.map(t,yx))!==null&&r!==void 0?r:[]};function bx(t){return function(r){return t(X.Children.toArray(r))}}function Ex(t,r){if(t===r)return!0;if(!t||!r)return!1;var s=Object.keys(t),l=Object.keys(r),f=s.length;if(l.length!==f)return!1;for(var d=0;d<f;d++){var g=s[d];if(t[g]!==r[g]||!Object.prototype.hasOwnProperty.call(r,g))return!1}return!0}var i1={exports:{}},Ot={};/** @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 Yy;function Sx(){if(Yy)return Ot;Yy=1;var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,s=t?Symbol.for("react.portal"):60106,l=t?Symbol.for("react.fragment"):60107,f=t?Symbol.for("react.strict_mode"):60108,d=t?Symbol.for("react.profiler"):60114,g=t?Symbol.for("react.provider"):60109,m=t?Symbol.for("react.context"):60110,y=t?Symbol.for("react.async_mode"):60111,_=t?Symbol.for("react.concurrent_mode"):60111,T=t?Symbol.for("react.forward_ref"):60112,R=t?Symbol.for("react.suspense"):60113,D=t?Symbol.for("react.suspense_list"):60120,Y=t?Symbol.for("react.memo"):60115,U=t?Symbol.for("react.lazy"):60116,te=t?Symbol.for("react.block"):60121,Q=t?Symbol.for("react.fundamental"):60117,w=t?Symbol.for("react.responder"):60118,j=t?Symbol.for("react.scope"):60119;function C(L){if(typeof L=="object"&&L!==null){var ce=L.$$typeof;switch(ce){case r:switch(L=L.type,L){case y:case _:case l:case d:case f:case R:return L;default:switch(L=L&&L.$$typeof,L){case m:case T:case U:case Y:case g:return L;default:return ce}}case s:return ce}}}function Z(L){return C(L)===_}return Ot.AsyncMode=y,Ot.ConcurrentMode=_,Ot.ContextConsumer=m,Ot.ContextProvider=g,Ot.Element=r,Ot.ForwardRef=T,Ot.Fragment=l,Ot.Lazy=U,Ot.Memo=Y,Ot.Portal=s,Ot.Profiler=d,Ot.StrictMode=f,Ot.Suspense=R,Ot.isAsyncMode=function(L){return Z(L)||C(L)===y},Ot.isConcurrentMode=Z,Ot.isContextConsumer=function(L){return C(L)===m},Ot.isContextProvider=function(L){return C(L)===g},Ot.isElement=function(L){return typeof L=="object"&&L!==null&&L.$$typeof===r},Ot.isForwardRef=function(L){return C(L)===T},Ot.isFragment=function(L){return C(L)===l},Ot.isLazy=function(L){return C(L)===U},Ot.isMemo=function(L){return C(L)===Y},Ot.isPortal=function(L){return C(L)===s},Ot.isProfiler=function(L){return C(L)===d},Ot.isStrictMode=function(L){return C(L)===f},Ot.isSuspense=function(L){return C(L)===R},Ot.isValidElementType=function(L){return typeof L=="string"||typeof L=="function"||L===l||L===_||L===d||L===f||L===R||L===D||typeof L=="object"&&L!==null&&(L.$$typeof===U||L.$$typeof===Y||L.$$typeof===g||L.$$typeof===m||L.$$typeof===T||L.$$typeof===Q||L.$$typeof===w||L.$$typeof===j||L.$$typeof===te)},Ot.typeOf=C,Ot}var Zy;function Tx(){return Zy||(Zy=1,i1.exports=Sx()),i1.exports}var a1,Xy;function Ax(){if(Xy)return a1;Xy=1;var t=Tx(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},f={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d={};d[t.ForwardRef]=l,d[t.Memo]=f;function g(U){return t.isMemo(U)?f:d[U.$$typeof]||r}var m=Object.defineProperty,y=Object.getOwnPropertyNames,_=Object.getOwnPropertySymbols,T=Object.getOwnPropertyDescriptor,R=Object.getPrototypeOf,D=Object.prototype;function Y(U,te,Q){if(typeof te!="string"){if(D){var w=R(te);w&&w!==D&&Y(U,w,Q)}var j=y(te);_&&(j=j.concat(_(te)));for(var C=g(U),Z=g(te),L=0;L<j.length;++L){var ce=j[L];if(!s[ce]&&!(Q&&Q[ce])&&!(Z&&Z[ce])&&!(C&&C[ce])){var pe=T(te,ce);try{m(U,ce,pe)}catch{}}}}return U}return a1=Y,a1}Ax();var Bv=typeof window<"u"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=X.createContext(null)):X.createContext(null);Bv.Consumer;var xx=Bv.Provider,Ox=xx,wx=Bv;function Og(){var t=X.useContext(wx);return ME(t),t}var uv;(function(t){t.formatDate="FormattedDate",t.formatTime="FormattedTime",t.formatNumber="FormattedNumber",t.formatList="FormattedList",t.formatDisplayName="FormattedDisplayName"})(uv||(uv={}));var cv;(function(t){t.formatDate="FormattedDateParts",t.formatTime="FormattedTimeParts",t.formatNumber="FormattedNumberParts",t.formatList="FormattedListParts"})(cv||(cv={}));function LE(t){var r=function(s){var l=Og(),f=s.value,d=s.children,g=xg(s,["value","children"]),m=typeof f=="string"?new Date(f||0):f,y=t==="formatDate"?l.formatDateToParts(m,g):l.formatTimeToParts(m,g);return d(y)};return r.displayName=cv[t],r}function vd(t){var r=function(s){var l=Og(),f=s.value,d=s.children,g=xg(s,["value","children"]),m=l[t](f,g);if(typeof d=="function")return d(m);var y=l.textComponent||X.Fragment;return X.createElement(y,null,m)};return r.displayName=uv[t],r}function BE(t){return t&&Object.keys(t).reduce(function(r,s){var l=t[s];return r[s]=xE(l)?bx(l):l,r},{})}var Ky=function(t,r,s,l){for(var f=[],d=4;d<arguments.length;d++)f[d-4]=arguments[d];var g=BE(l),m=ov.apply(void 0,Qa([t,r,s,g],f,!1));return Array.isArray(m)?_x(m):m},Qy=function(t,r){var s=t.defaultRichTextElements,l=xg(t,["defaultRichTextElements"]),f=BE(s),d=gx(Ae(Ae(Ae({},DE),l),{defaultRichTextElements:f}),r),g={locale:d.locale,timeZone:d.timeZone,fallbackOnEmptyString:d.fallbackOnEmptyString,formats:d.formats,defaultLocale:d.defaultLocale,defaultFormats:d.defaultFormats,messages:d.messages,onError:d.onError,defaultRichTextElements:f};return Ae(Ae({},d),{formatMessage:Ky.bind(null,g,d.formatters),$t:Ky.bind(null,g,d.formatters)})};function s1(t){return{locale:t.locale,timeZone:t.timeZone,fallbackOnEmptyString:t.fallbackOnEmptyString,formats:t.formats,textComponent:t.textComponent,messages:t.messages,defaultLocale:t.defaultLocale,defaultFormats:t.defaultFormats,onError:t.onError,onWarn:t.onWarn,wrapRichTextChunksInFragment:t.wrapRichTextChunksInFragment,defaultRichTextElements:t.defaultRichTextElements}}var Rx=function(t){Li(r,t);function r(){var s=t!==null&&t.apply(this,arguments)||this;return s.cache=RE(),s.state={cache:s.cache,intl:Qy(s1(s.props),s.cache),prevConfig:s1(s.props)},s}return r.getDerivedStateFromProps=function(s,l){var f=l.prevConfig,d=l.cache,g=s1(s);return Ex(f,g)?null:{intl:Qy(g,d),prevConfig:g}},r.prototype.render=function(){return ME(this.state.intl),X.createElement(Ox,{value:this.state.intl},this.props.children)},r.displayName="IntlProvider",r.defaultProps=DE,r}(X.PureComponent);vd("formatDate");vd("formatTime");vd("formatNumber");vd("formatList");vd("formatDisplayName");LE("formatDate");LE("formatTime");const Cx="_app_1rj0t_1",Nx={app:Cx},ks=YT,yn=KT,UE="%[a-f0-9]{2}",Wy=new RegExp("("+UE+")|([^%]+?)","gi"),$y=new RegExp("("+UE+")+","gi");function fv(t,r){try{return[decodeURIComponent(t.join(""))]}catch{}if(t.length===1)return t;r=r||1;const s=t.slice(0,r),l=t.slice(r);return Array.prototype.concat.call([],fv(s),fv(l))}function Mx(t){try{return decodeURIComponent(t)}catch{let r=t.match(Wy)||[];for(let s=1;s<r.length;s++)t=fv(r,s).join(""),r=t.match(Wy)||[];return t}}function Dx(t){const r={"%FE%FF":"��","%FF%FE":"��"};let s=$y.exec(t);for(;s;){try{r[s[0]]=decodeURIComponent(s[0])}catch{const f=Mx(s[0]);f!==s[0]&&(r[s[0]]=f)}s=$y.exec(t)}r["%C2"]="�";const l=Object.keys(r);for(const f of l)t=t.replace(new RegExp(f,"g"),r[f]);return t}function Lx(t){if(typeof t!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return decodeURIComponent(t)}catch{return Dx(t)}}function Bx(t,r){const s={};if(Array.isArray(r))for(const l of r){const f=Object.getOwnPropertyDescriptor(t,l);f?.enumerable&&Object.defineProperty(s,l,f)}else for(const l of Reflect.ownKeys(t)){const f=Object.getOwnPropertyDescriptor(t,l);if(f.enumerable){const d=t[l];r(l,d,t)&&Object.defineProperty(s,l,f)}}return s}function IE(t,r){if(!(typeof t=="string"&&typeof r=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t===""||r==="")return[];const s=t.indexOf(r);return s===-1?[]:[t.slice(0,s),t.slice(s+r.length)]}const Ux=t=>t==null,Ix=t=>encodeURIComponent(t).replaceAll(/[!'()*]/g,r=>`%${r.charCodeAt(0).toString(16).toUpperCase()}`),hv=Symbol("encodeFragmentIdentifier");function Hx(t){switch(t.arrayFormat){case"index":return r=>(s,l)=>{const f=s.length;return l===void 0||t.skipNull&&l===null||t.skipEmptyString&&l===""?s:l===null?[...s,[xn(r,t),"[",f,"]"].join("")]:[...s,[xn(r,t),"[",xn(f,t),"]=",xn(l,t)].join("")]};case"bracket":return r=>(s,l)=>l===void 0||t.skipNull&&l===null||t.skipEmptyString&&l===""?s:l===null?[...s,[xn(r,t),"[]"].join("")]:[...s,[xn(r,t),"[]=",xn(l,t)].join("")];case"colon-list-separator":return r=>(s,l)=>l===void 0||t.skipNull&&l===null||t.skipEmptyString&&l===""?s:l===null?[...s,[xn(r,t),":list="].join("")]:[...s,[xn(r,t),":list=",xn(l,t)].join("")];case"comma":case"separator":case"bracket-separator":{const r=t.arrayFormat==="bracket-separator"?"[]=":"=";return s=>(l,f)=>f===void 0||t.skipNull&&f===null||t.skipEmptyString&&f===""?l:(f=f===null?"":f,l.length===0?[[xn(s,t),r,xn(f,t)].join("")]:[[l,xn(f,t)].join(t.arrayFormatSeparator)])}default:return r=>(s,l)=>l===void 0||t.skipNull&&l===null||t.skipEmptyString&&l===""?s:l===null?[...s,xn(r,t)]:[...s,[xn(r,t),"=",xn(l,t)].join("")]}}function jx(t){let r;switch(t.arrayFormat){case"index":return(s,l,f)=>{if(r=/\[(\d*)]$/.exec(s),s=s.replace(/\[\d*]$/,""),!r){f[s]=l;return}f[s]===void 0&&(f[s]={}),f[s][r[1]]=l};case"bracket":return(s,l,f)=>{if(r=/(\[])$/.exec(s),s=s.replace(/\[]$/,""),!r){f[s]=l;return}if(f[s]===void 0){f[s]=[l];return}f[s]=[...f[s],l]};case"colon-list-separator":return(s,l,f)=>{if(r=/(:list)$/.exec(s),s=s.replace(/:list$/,""),!r){f[s]=l;return}if(f[s]===void 0){f[s]=[l];return}f[s]=[...f[s],l]};case"comma":case"separator":return(s,l,f)=>{const d=typeof l=="string"&&l.includes(t.arrayFormatSeparator),g=typeof l=="string"&&!d&&Us(l,t).includes(t.arrayFormatSeparator);l=g?Us(l,t):l;const m=d||g?l.split(t.arrayFormatSeparator).map(y=>Us(y,t)):l===null?l:Us(l,t);f[s]=m};case"bracket-separator":return(s,l,f)=>{const d=/(\[])$/.test(s);if(s=s.replace(/\[]$/,""),!d){f[s]=l&&Us(l,t);return}const g=l===null?[]:Us(l,t).split(t.arrayFormatSeparator);if(f[s]===void 0){f[s]=g;return}f[s]=[...f[s],...g]};default:return(s,l,f)=>{if(f[s]===void 0){f[s]=l;return}f[s]=[...[f[s]].flat(),l]}}}function HE(t){if(typeof t!="string"||t.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function xn(t,r){return r.encode?r.strict?Ix(t):encodeURIComponent(t):t}function Us(t,r){return r.decode?Lx(t):t}function jE(t){return Array.isArray(t)?t.sort():typeof t=="object"?jE(Object.keys(t)).sort((r,s)=>Number(r)-Number(s)).map(r=>t[r]):t}function GE(t){const r=t.indexOf("#");return r!==-1&&(t=t.slice(0,r)),t}function Gx(t){let r="";const s=t.indexOf("#");return s!==-1&&(r=t.slice(s)),r}function Jy(t,r,s){return s==="string"&&typeof t=="string"?t:typeof s=="function"&&typeof t=="string"?s(t):s==="boolean"&&t===null?!0:s==="boolean"&&t!==null&&(t.toLowerCase()==="true"||t.toLowerCase()==="false")?t.toLowerCase()==="true":s==="boolean"&&t!==null&&(t.toLowerCase()==="1"||t.toLowerCase()==="0")?t.toLowerCase()==="1":s==="string[]"&&r.arrayFormat!=="none"&&typeof t=="string"?[t]:s==="number[]"&&r.arrayFormat!=="none"&&!Number.isNaN(Number(t))&&typeof t=="string"&&t.trim()!==""?[Number(t)]:s==="number"&&!Number.isNaN(Number(t))&&typeof t=="string"&&t.trim()!==""?Number(t):r.parseBooleans&&t!==null&&(t.toLowerCase()==="true"||t.toLowerCase()==="false")?t.toLowerCase()==="true":r.parseNumbers&&!Number.isNaN(Number(t))&&typeof t=="string"&&t.trim()!==""?Number(t):t}function Uv(t){t=GE(t);const r=t.indexOf("?");return r===-1?"":t.slice(r+1)}function Iv(t,r){r={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,types:Object.create(null),...r},HE(r.arrayFormatSeparator);const s=jx(r),l=Object.create(null);if(typeof t!="string"||(t=t.trim().replace(/^[?#&]/,""),!t))return l;for(const f of t.split("&")){if(f==="")continue;const d=r.decode?f.replaceAll("+"," "):f;let[g,m]=IE(d,"=");g===void 0&&(g=d),m=m===void 0?null:["comma","separator","bracket-separator"].includes(r.arrayFormat)?m:Us(m,r),s(Us(g,r),m,l)}for(const[f,d]of Object.entries(l))if(typeof d=="object"&&d!==null&&r.types[f]!=="string")for(const[g,m]of Object.entries(d)){const y=r.types[f]?r.types[f].replace("[]",""):void 0;d[g]=Jy(m,r,y)}else typeof d=="object"&&d!==null&&r.types[f]==="string"?l[f]=Object.values(d).join(r.arrayFormatSeparator):l[f]=Jy(d,r,r.types[f]);return r.sort===!1?l:(r.sort===!0?Object.keys(l).sort():Object.keys(l).sort(r.sort)).reduce((f,d)=>{const g=l[d];return f[d]=g&&typeof g=="object"&&!Array.isArray(g)?jE(g):g,f},Object.create(null))}function zE(t,r){if(!t)return"";r={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...r},HE(r.arrayFormatSeparator);const s=g=>r.skipNull&&Ux(t[g])||r.skipEmptyString&&t[g]==="",l=Hx(r),f={};for(const[g,m]of Object.entries(t))s(g)||(f[g]=m);const d=Object.keys(f);return r.sort!==!1&&d.sort(r.sort),d.map(g=>{const m=t[g];return m===void 0?"":m===null?xn(g,r):Array.isArray(m)?m.length===0&&r.arrayFormat==="bracket-separator"?xn(g,r)+"[]":m.reduce(l(g),[]).join("&"):xn(g,r)+"="+xn(m,r)}).filter(g=>g.length>0).join("&")}function kE(t,r){r={decode:!0,...r};let[s,l]=IE(t,"#");return s===void 0&&(s=t),{url:s?.split("?")?.[0]??"",query:Iv(Uv(t),r),...r&&r.parseFragmentIdentifier&&l?{fragmentIdentifier:Us(l,r)}:{}}}function qE(t,r){r={encode:!0,strict:!0,[hv]:!0,...r};const s=GE(t.url).split("?")[0]||"",l=Uv(t.url),f={...Iv(l,{sort:!1,...r}),...t.query};let d=zE(f,r);d&&=`?${d}`;let g=Gx(t.url);if(typeof t.fragmentIdentifier=="string"){const m=new URL(s);m.hash=t.fragmentIdentifier,g=r[hv]?m.hash:`#${t.fragmentIdentifier}`}return`${s}${d}${g}`}function FE(t,r,s){s={parseFragmentIdentifier:!0,[hv]:!1,...s};const{url:l,query:f,fragmentIdentifier:d}=kE(t,s);return qE({url:l,query:Bx(f,r),fragmentIdentifier:d},s)}function zx(t,r,s){const l=Array.isArray(r)?f=>!r.includes(f):(f,d)=>!r(f,d);return FE(t,l,s)}const wg=Object.freeze(Object.defineProperty({__proto__:null,exclude:zx,extract:Uv,parse:Iv,parseUrl:kE,pick:FE,stringify:zE,stringifyUrl:qE},Symbol.toStringTag,{value:"Module"}));var oa={},ua={},Nt={},Hp={},Ge={},e_;function di(){return e_||(e_=1,Object.defineProperty(Ge,"__esModule",{value:!0}),Ge.GUEST_LOCALE_CHANGED=Ge.DRAWER_CLOSE=Ge.DRAWER_OPEN=Ge.CONVERSATION_RATING_FROM_GUEST=Ge.TRANSCRIPT_ITEM_GUEST_REACTION=Ge.TRANSCRIPT_MAIL_REQUEST=Ge.INBOX_CONNECT_REQUEST=Ge.RESTART_CHAT_REQUEST=Ge.EVENT_TO_GUEST=Ge.NLU_REQUEST_EVENT=Ge.EXPERTS_DISCONNECTED=Ge.EXPERTS_DISCONNECT_REQUEST=Ge.EXPERTS_CONNECTED=Ge.EXPERTS_CONNECT_REQUEST=Ge.MESSAGE_TO_GUEST=Ge.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST=Ge.MESSAGE_FROM_GUEST=Ge.GUEST_FEEDBACK_RESPONSE=Ge.GUEST_DISCONNECTED=Ge.GUEST_CONNECTED=Ge.TYPING_OFF=Ge.TYPING_ON=void 0,Ge.TYPING_ON="core.typing.on",Ge.TYPING_OFF="core.typing.off",Ge.GUEST_CONNECTED="core.guest.connected",Ge.GUEST_DISCONNECTED="core.guest.disconnected",Ge.GUEST_FEEDBACK_RESPONSE="core.guest.feedback.response",Ge.MESSAGE_FROM_GUEST="core.message.from.guest",Ge.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST="core.message.without.analysis.from.guest",Ge.MESSAGE_TO_GUEST="core.message.to.guest",Ge.EXPERTS_CONNECT_REQUEST="core.experts.connect.request",Ge.EXPERTS_CONNECTED="core.experts.connected",Ge.EXPERTS_DISCONNECT_REQUEST="core.experts.disconnect.request",Ge.EXPERTS_DISCONNECTED="core.experts.disconnected",Ge.NLU_REQUEST_EVENT="core.nlu.request.event",Ge.EVENT_TO_GUEST="core.event.to.guest",Ge.RESTART_CHAT_REQUEST="core.chat.restart.request",Ge.INBOX_CONNECT_REQUEST="core.inbox.connect.request",Ge.TRANSCRIPT_MAIL_REQUEST="core.transcript.mail.request",Ge.TRANSCRIPT_ITEM_GUEST_REACTION="core.transcript.item.guest.reaction",Ge.CONVERSATION_RATING_FROM_GUEST="core.conversation.rating.from.guest",Ge.DRAWER_OPEN="core.drawer.open",Ge.DRAWER_CLOSE="core.drawer.close",Ge.GUEST_LOCALE_CHANGED="core.guest.locale.changed"),Ge}var t_;function kx(){if(t_)return Hp;t_=1,Object.defineProperty(Hp,"__esModule",{value:!0});const t=di(),r=()=>({type:t.DRAWER_CLOSE});return Hp.default=r,Hp}var jp={},n_;function qx(){if(n_)return jp;n_=1,Object.defineProperty(jp,"__esModule",{value:!0});const t=di(),r=(s,l)=>({type:t.GUEST_FEEDBACK_RESPONSE,payload:{satisfaction:s,intent:l}});return jp.default=r,jp}var Gp={},r_;function Fx(){if(r_)return Gp;r_=1,Object.defineProperty(Gp,"__esModule",{value:!0});const t=di(),r=s=>({type:t.GUEST_CONNECTED,payload:{sessionId:s}});return Gp.default=r,Gp}var zp={},i_;function Px(){if(i_)return zp;i_=1,Object.defineProperty(zp,"__esModule",{value:!0});const t=di(),r=s=>({type:t.GUEST_DISCONNECTED,payload:{sessionId:s}});return zp.default=r,zp}var kp={},a_;function Vx(){if(a_)return kp;a_=1,Object.defineProperty(kp,"__esModule",{value:!0});const t=di(),r=(s,l)=>({type:t.GUEST_LOCALE_CHANGED,payload:{previousLocale:s,newLocale:l}});return kp.default=r,kp}var qp={},s_;function Yx(){if(s_)return qp;s_=1,Object.defineProperty(qp,"__esModule",{value:!0});const t=di(),r=s=>({type:t.DRAWER_OPEN,payload:{parameters:{contentUrl:s}}});return qp.default=r,qp}var Fp={},rn={},l_;function Hv(){if(l_)return rn;l_=1,Object.defineProperty(rn,"__esModule",{value:!0}),rn.getStringRepresentationFromMessage=rn.MessageTypeEnum=rn.AudioMessage=rn.FileMessage=rn.ImageMessage=rn.VideoMessage=rn.MarkdownMessage=rn.DetailMessage=rn.TextMessage=rn.Message=void 0;class t{type;sender;sources;quickReplies;constructor(R,D,Y=[],U=[]){this.type=R,this.sender=D,this.sources=Y,this.quickReplies=U}addQuickReply(R,D){this.quickReplies.push({label:R,payload:D})}}rn.Message=t;class r extends t{text;constructor(R,D,Y=[],U=[]){super(y.TEXT,D,Y,U),this.text=R}}rn.TextMessage=r;class s extends t{title;text;imageUrl;itemUrl;buttons;constructor(R,D){super(y.DETAIL,D),this.title=R,this.text="",this.imageUrl="",this.itemUrl="",this.buttons=[]}setImageUrl(R){this.imageUrl=R}setItemUrl(R){this.itemUrl=R}setText(R){this.text=R}addButton(R){this.buttons.push(R)}}rn.DetailMessage=s;class l extends t{markdown;constructor(R,D,Y=[],U=[]){super(y.MARKDOWN,D,Y,U),this.markdown=R}}rn.MarkdownMessage=l;class f extends t{url;constructor(R,D){super(y.VIDEO,D),this.url=R}}rn.VideoMessage=f;class d extends t{url;constructor(R,D){super(y.IMAGE,D),this.url=R}}rn.ImageMessage=d;class g extends t{url;constructor(R,D){super(y.FILE,D),this.url=R}}rn.FileMessage=g;class m extends t{url;constructor(R,D){super(y.AUDIO,D),this.url=R}}rn.AudioMessage=m;var y;(function(T){T.TEXT="TEXT",T.DETAIL="DETAIL",T.MARKDOWN="MARKDOWN",T.VIDEO="VIDEO",T.IMAGE="IMAGE",T.FILE="FILE",T.AUDIO="AUDIO"})(y||(rn.MessageTypeEnum=y={}));const _=T=>{switch(T.type){case y.TEXT:return T.text;case y.DETAIL:return`${T.title}`;case y.MARKDOWN:return T.markdown;case y.VIDEO:return`Video Url: ${T.url}`;case y.IMAGE:return`Image Url: ${T.url}`;case y.FILE:return`File Url: ${T.url}`;case y.AUDIO:return`Audio Url: ${T.url}`;default:throw new Error("Unknown message type "+T.type)}};return rn.getStringRepresentationFromMessage=_,rn}var oi={},o_;function jv(){if(o_)return oi;o_=1,Object.defineProperty(oi,"__esModule",{value:!0}),oi.UserType=oi.PersonUser=oi.GuestUser=oi.BotUser=oi.User=void 0;class t{type;id;name;avatar;constructor(g,m,y,_){this.type=g,this.id=m,this.name=y,this.avatar=_}}oi.User=t;class r extends t{constructor(){super(f.BOT,null,"Chatbot","bot.svg")}}oi.BotUser=r;class s extends t{constructor(){super(f.GUEST,null,"Guest","visitor.svg")}}oi.GuestUser=s;class l extends t{constructor(g,m,y){super(f.PERSON,g,m,y)}}oi.PersonUser=l;var f;return function(d){d.GUEST="GUEST",d.BOT="BOT",d.PERSON="PERSON"}(f||(oi.UserType=f={})),oi}var u_;function Zx(){if(u_)return Fp;u_=1,Object.defineProperty(Fp,"__esModule",{value:!0});const t=Hv(),r=jv(),s=di(),l=f=>{const d=new t.TextMessage(f,new r.GuestUser);return{type:s.MESSAGE_FROM_GUEST,message:d}};return Fp.default=l,Fp}var Pp={},c_;function Xx(){if(c_)return Pp;c_=1,Object.defineProperty(Pp,"__esModule",{value:!0});const t=Hv(),r=jv(),s=di(),l=(f,d={})=>{const g=new t.TextMessage(f,new r.GuestUser);return{type:s.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST,message:g,payload:d}};return Pp.default=l,Pp}var Vp={},f_;function Kx(){if(f_)return Vp;f_=1,Object.defineProperty(Vp,"__esModule",{value:!0});const t=di(),r=s=>({type:t.NLU_REQUEST_EVENT,event:s});return Vp.default=r,Vp}var Yp={},h_;function Qx(){if(h_)return Yp;h_=1,Object.defineProperty(Yp,"__esModule",{value:!0});const t=di(),r=()=>({type:t.RESTART_CHAT_REQUEST});return Yp.default=r,Yp}var Zp={},d_;function Wx(){if(d_)return Zp;d_=1,Object.defineProperty(Zp,"__esModule",{value:!0});const t=di(),r=s=>({type:t.MESSAGE_TO_GUEST,message:s});return Zp.default=r,Zp}var Xp={},p_;function $x(){if(p_)return Xp;p_=1,Object.defineProperty(Xp,"__esModule",{value:!0});const t=di(),r=(s,l,f=null,d=null)=>({type:t.TRANSCRIPT_ITEM_GUEST_REACTION,payload:{actionId:s,reaction:l,category:f,comment:d}});return Xp.default=r,Xp}var g_;function Jx(){if(g_)return Nt;g_=1;var t=Nt&&Nt.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(Nt,"__esModule",{value:!0}),Nt.transcriptItemGuestReaction=Nt.sendMessageToGuest=Nt.restartChatRequest=Nt.requestNLUEvent=Nt.receiveTextMessageWithoutAnalysisFromGuest=Nt.receiveTextMessageFromGuest=Nt.openDrawer=Nt.guestLocaleChanged=Nt.guestDisconnected=Nt.guestConnected=Nt.feedbackFromGuestResponse=Nt.closeDrawer=void 0;const r=t(kx());Nt.closeDrawer=r.default;const s=t(qx());Nt.feedbackFromGuestResponse=s.default;const l=t(Fx());Nt.guestConnected=l.default;const f=t(Px());Nt.guestDisconnected=f.default;const d=t(Vx());Nt.guestLocaleChanged=d.default;const g=t(Yx());Nt.openDrawer=g.default;const m=t(Zx());Nt.receiveTextMessageFromGuest=m.default;const y=t(Xx());Nt.receiveTextMessageWithoutAnalysisFromGuest=y.default;const _=t(Kx());Nt.requestNLUEvent=_.default;const T=t(Qx());Nt.restartChatRequest=T.default;const R=t(Wx());Nt.sendMessageToGuest=R.default;const D=t($x());return Nt.transcriptItemGuestReaction=D.default,Nt}var l1={},m_;function eO(){return m_||(m_=1,Object.defineProperty(l1,"__esModule",{value:!0})),l1}var v_;function tO(){return v_||(v_=1,function(t){var r=ua&&ua.__createBinding||(Object.create?function(d,g,m,y){y===void 0&&(y=m);var _=Object.getOwnPropertyDescriptor(g,m);(!_||("get"in _?!g.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return g[m]}}),Object.defineProperty(d,y,_)}:function(d,g,m,y){y===void 0&&(y=m),d[y]=g[m]}),s=ua&&ua.__setModuleDefault||(Object.create?function(d,g){Object.defineProperty(d,"default",{enumerable:!0,value:g})}:function(d,g){d.default=g}),l=ua&&ua.__importStar||function(){var d=function(g){return d=Object.getOwnPropertyNames||function(m){var y=[];for(var _ in m)Object.prototype.hasOwnProperty.call(m,_)&&(y[y.length]=_);return y},d(g)};return function(g){if(g&&g.__esModule)return g;var m={};if(g!=null)for(var y=d(g),_=0;_<y.length;_++)y[_]!=="default"&&r(m,g,y[_]);return s(m,g),m}}(),f=ua&&ua.__exportStar||function(d,g){for(var m in d)m!=="default"&&!Object.prototype.hasOwnProperty.call(g,m)&&r(g,d,m)};Object.defineProperty(t,"__esModule",{value:!0}),t.ActionTypes=t.Actions=void 0,t.Actions=l(Jx()),t.ActionTypes=l(di()),f(eO(),t)}(ua)),ua}var ui={},o1={},y_;function nO(){return y_||(y_=1,Object.defineProperty(o1,"__esModule",{value:!0})),o1}var Xh={},__;function rO(){if(__)return Xh;__=1,Object.defineProperty(Xh,"__esModule",{value:!0}),Xh.NullableKnowledgeBaseAdapter=void 0;class t{async createApiKnowledgeBase(s){throw new Error("Method not implemented.")}async updateApiKnowledgeBase(s,l){throw new Error("Method not implemented.")}async deleteApiKnowledgeBase(s){throw new Error("Method not implemented.")}async upsertApiKnowledgeBase(s){throw new Error("Method not implemented.")}async findApiKnowledgeBaseById(s){throw new Error("Method not implemented.")}async findApiKnowledgeBaseByName(s){throw new Error("Method not implemented.")}async findApiKnowledgeBases(){throw new Error("Method not implemented.")}async deleteApiKnowledgeBaseByName(s){throw new Error("Method not implemented.")}async findKnowledgeBaseEntries(s){throw new Error("Method not implemented.")}async createKnowledgeBaseEntry(s,l){throw new Error("Method not implemented.")}async updateKnowledgeBaseEntry(s,l,f){throw new Error("Method not implemented.")}async deleteKnowledgeBaseEntry(s,l){throw new Error("Method not implemented.")}async upsertKnowledgeBaseEntry(s,l){throw new Error("Method not implemented.")}async retrieveKnowledgeBaseEntryConfig(s,l){throw new Error("Method not implemented.")}async findKnowledgeBaseEntryByUriAlias(s,l){throw new Error("Method not implemented.")}async deleteKnowledgeBaseEntriesIndexedBeforeDate(s,l){throw new Error("Method not implemented.")}async findKnowledgeBaseEntryAttachments(s,l){throw new Error("Method not implemented.")}async createKnowledgeBaseEntryAttachment(s,l,f){throw new Error("Method not implemented.")}async updateKnowledgeBaseEntryAttachment(s,l,f,d){throw new Error("Method not implemented.")}async deleteKnowledgeBaseEntryAttachment(s,l,f){throw new Error("Method not implemented.")}async setIndexingStatus(s,l){throw new Error("Method not implemented.")}async subscribeToReindex(s,l){throw new Error("Method not implemented.")}isContentTypeSupported(s){throw new Error("Method not implemented.")}registerTool(s,l){throw new Error("Method not implemented.")}async getTools(s){throw new Error("Method not implemented.")}}return Xh.NullableKnowledgeBaseAdapter=t,Xh}var b_;function iO(){if(b_)return ui;b_=1;var t=ui&&ui.__createBinding||(Object.create?function(f,d,g,m){m===void 0&&(m=g);var y=Object.getOwnPropertyDescriptor(d,g);(!y||("get"in y?!d.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:function(){return d[g]}}),Object.defineProperty(f,m,y)}:function(f,d,g,m){m===void 0&&(m=g),f[m]=d[g]}),r=ui&&ui.__setModuleDefault||(Object.create?function(f,d){Object.defineProperty(f,"default",{enumerable:!0,value:d})}:function(f,d){f.default=d}),s=ui&&ui.__importStar||function(){var f=function(d){return f=Object.getOwnPropertyNames||function(g){var m=[];for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&(m[m.length]=y);return m},f(d)};return function(d){if(d&&d.__esModule)return d;var g={};if(d!=null)for(var m=f(d),y=0;y<m.length;y++)m[y]!=="default"&&t(g,d,m[y]);return r(g,d),g}}();Object.defineProperty(ui,"__esModule",{value:!0}),ui.NullableCmsAdapter=ui.KnowledgeBase=void 0,ui.KnowledgeBase=s(nO());const l=rO();return ui.NullableCmsAdapter={knowledgeBase:new l.NullableKnowledgeBaseAdapter},ui}var au={},u1={},E_;function aO(){return E_||(E_=1,Object.defineProperty(u1,"__esModule",{value:!0})),u1}var c1={},S_;function sO(){return S_||(S_=1,Object.defineProperty(c1,"__esModule",{value:!0})),c1}var f1={},T_;function lO(){return T_||(T_=1,Object.defineProperty(f1,"__esModule",{value:!0})),f1}var h1={},A_;function oO(){return A_||(A_=1,Object.defineProperty(h1,"__esModule",{value:!0})),h1}var Kh={},x_;function uO(){if(x_)return Kh;x_=1,Object.defineProperty(Kh,"__esModule",{value:!0}),Kh.checkMiddlewareCondition=void 0;const t=async(r,s,l)=>(Array.isArray(r)?r:[r]).reduce(async(d,g)=>await d?await g(s,l):!1,Promise.resolve(!0));return Kh.checkMiddlewareCondition=t,Kh}var d1={},O_;function cO(){return O_||(O_=1,Object.defineProperty(d1,"__esModule",{value:!0})),d1}var p1={},w_;function fO(){return w_||(w_=1,Object.defineProperty(p1,"__esModule",{value:!0})),p1}var g1={},R_;function hO(){return R_||(R_=1,Object.defineProperty(g1,"__esModule",{value:!0})),g1}var C_;function dO(){return C_||(C_=1,function(t){var r=au&&au.__createBinding||(Object.create?function(l,f,d,g){g===void 0&&(g=d);var m=Object.getOwnPropertyDescriptor(f,d);(!m||("get"in m?!f.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return f[d]}}),Object.defineProperty(l,g,m)}:function(l,f,d,g){g===void 0&&(g=d),l[g]=f[d]}),s=au&&au.__exportStar||function(l,f){for(var d in l)d!=="default"&&!Object.prototype.hasOwnProperty.call(f,d)&&r(f,l,d)};Object.defineProperty(t,"__esModule",{value:!0}),s(aO(),t),s(sO(),t),s(lO(),t),s(oO(),t),s(uO(),t),s(cO(),t),s(fO(),t),s(hO(),t)}(au)),au}var su={},ca={},N_;function pO(){if(N_)return ca;N_=1,Object.defineProperty(ca,"__esModule",{value:!0}),ca.ButtonTypeEnum=ca.PostbackButton=ca.UrlButton=ca.Button=void 0;class t{title;type;constructor(d,g){this.title=d,this.type=g}}ca.Button=t;class r extends t{url;constructor(d,g){super(d,l.WEB_URL),this.url=g}}ca.UrlButton=r;class s extends t{payload;constructor(d,g){super(d,l.POSTBACK),this.payload=g}}ca.PostbackButton=s;var l;return function(f){f.WEB_URL="web_url",f.POSTBACK="postback"}(l||(ca.ButtonTypeEnum=l={})),ca}var m1={},M_;function gO(){return M_||(M_=1,Object.defineProperty(m1,"__esModule",{value:!0})),m1}var Qh={},D_;function mO(){if(D_)return Qh;D_=1,Object.defineProperty(Qh,"__esModule",{value:!0}),Qh.SatisfactionEnum=void 0;var t;return function(r){r.GOOD="GOOD",r.BAD="BAD"}(t||(Qh.SatisfactionEnum=t={})),Qh}var L_;function B_(){return L_||(L_=1,function(t){var r=su&&su.__createBinding||(Object.create?function(l,f,d,g){g===void 0&&(g=d);var m=Object.getOwnPropertyDescriptor(f,d);(!m||("get"in m?!f.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return f[d]}}),Object.defineProperty(l,g,m)}:function(l,f,d,g){g===void 0&&(g=d),l[g]=f[d]}),s=su&&su.__exportStar||function(l,f){for(var d in l)d!=="default"&&!Object.prototype.hasOwnProperty.call(f,d)&&r(f,l,d)};Object.defineProperty(t,"__esModule",{value:!0}),s(pO(),t),s(gO(),t),s(mO(),t),s(Hv(),t),s(jv(),t)}(su)),su}var U_;function vO(){return U_||(U_=1,function(t){var r=oa&&oa.__createBinding||(Object.create?function(d,g,m,y){y===void 0&&(y=m);var _=Object.getOwnPropertyDescriptor(g,m);(!_||("get"in _?!g.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return g[m]}}),Object.defineProperty(d,y,_)}:function(d,g,m,y){y===void 0&&(y=m),d[y]=g[m]}),s=oa&&oa.__setModuleDefault||(Object.create?function(d,g){Object.defineProperty(d,"default",{enumerable:!0,value:g})}:function(d,g){d.default=g}),l=oa&&oa.__exportStar||function(d,g){for(var m in d)m!=="default"&&!Object.prototype.hasOwnProperty.call(g,m)&&r(g,d,m)},f=oa&&oa.__importStar||function(){var d=function(g){return d=Object.getOwnPropertyNames||function(m){var y=[];for(var _ in m)Object.prototype.hasOwnProperty.call(m,_)&&(y[y.length]=_);return y},d(g)};return function(g){if(g&&g.__esModule)return g;var m={};if(g!=null)for(var y=d(g),_=0;_<y.length;_++)y[_]!=="default"&&r(m,g,y[_]);return s(m,g),m}}();Object.defineProperty(t,"__esModule",{value:!0}),t.Model=t.CMS=void 0,l(tO(),t),t.CMS=f(iO()),l(dO(),t),t.Model=f(B_()),l(B_(),t)}(oa)),oa}var nt=vO();const PE=t=>r=>(t.payload.type!==nt.ActionTypes.MESSAGE_FROM_GUEST&&r(nt.Actions.receiveTextMessageWithoutAnalysisFromGuest(t.label,t.payload)),r(t.payload)),VE=t=>(r,s)=>{const{quickReplies:l}=s().chat,f=l.find(d=>t.toLocaleLowerCase().indexOf(d.label.toLocaleLowerCase())>-1);return r(f?PE({...f,label:t}):JSON.parse(JSON.stringify(nt.Actions.receiveTextMessageFromGuest(t))))},Gv="MESSAGE_TO_PARENT_PAGE",zv="RESTORE_PREVIOUS_CHAT_MESSAGES",kv="AUDIO_MESSAGE_FROM_USER",qv="RECEIVE_SPEECH_TRANSCRIPTION",Fv="ENABLE_CONVERSATION_RATING",YE="LOAD_SOURCE_INFOS_RESPONSE",Pv="LOAD_SOURCE_INFOS_ERROR",Vv="LOAD_SOURCE_INFOS_REQUEST",Yv="CLOSE_SOURCE_INFOS",yO="webclient.get.started",ZE="webclient.window.expand",XE="webclient.window.close",KE="webclient.transcript.pdf.download",_O=[Gv,zv,kv,qv,Fv,Vv,Yv],bO=t=>({type:kv,buffer:t}),EO=t=>({type:qv,transcription:t}),SO=t=>({type:nt.ActionTypes.TRANSCRIPT_MAIL_REQUEST,payload:{parameters:{mailTo:t}}}),TO=()=>({type:KE}),AO=({rating:t})=>({type:Fv,payload:{rating:t}}),xO=(t,r)=>({type:nt.ActionTypes.CONVERSATION_RATING_FROM_GUEST,payload:{value:t,feedback:r}}),QE=t=>nt.Actions.requestNLUEvent(t),OO=t=>({type:zv,messages:t}),wO=t=>{switch(t.type){case nt.ButtonTypeEnum.WEB_URL:return $E(t.url);case nt.ButtonTypeEnum.POSTBACK:return t.payload;default:throw new Error(`unknown button type ${t.type}`)}},WE=t=>$E(t),$E=t=>({type:Gv,message:{type:"webclient.change.url",url:t}});/*! js-cookie v3.0.5 | MIT */function Kp(t){for(var r=1;r<arguments.length;r++){var s=arguments[r];for(var l in s)t[l]=s[l]}return t}var RO={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function dv(t,r){function s(f,d,g){if(!(typeof document>"u")){g=Kp({},r,g),typeof g.expires=="number"&&(g.expires=new Date(Date.now()+g.expires*864e5)),g.expires&&(g.expires=g.expires.toUTCString()),f=encodeURIComponent(f).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var m="";for(var y in g)g[y]&&(m+="; "+y,g[y]!==!0&&(m+="="+g[y].split(";")[0]));return document.cookie=f+"="+t.write(d,f)+m}}function l(f){if(!(typeof document>"u"||arguments.length&&!f)){for(var d=document.cookie?document.cookie.split("; "):[],g={},m=0;m<d.length;m++){var y=d[m].split("="),_=y.slice(1).join("=");try{var T=decodeURIComponent(y[0]);if(g[T]=t.read(_,T),f===T)break}catch{}}return f?g[f]:g}}return Object.create({set:s,get:l,remove:function(f,d){s(f,"",Kp({},d,{expires:-1}))},withAttributes:function(f){return dv(this.converter,Kp({},this.attributes,f))},withConverter:function(f){return dv(Kp({},this.converter,f),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}var Qp=dv(RO,{path:"/"});const Zn=[];for(let t=0;t<256;++t)Zn.push((t+256).toString(16).slice(1));function CO(t,r=0){return(Zn[t[r+0]]+Zn[t[r+1]]+Zn[t[r+2]]+Zn[t[r+3]]+"-"+Zn[t[r+4]]+Zn[t[r+5]]+"-"+Zn[t[r+6]]+Zn[t[r+7]]+"-"+Zn[t[r+8]]+Zn[t[r+9]]+"-"+Zn[t[r+10]]+Zn[t[r+11]]+Zn[t[r+12]]+Zn[t[r+13]]+Zn[t[r+14]]+Zn[t[r+15]]).toLowerCase()}let v1;const NO=new Uint8Array(16);function MO(){if(!v1){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");v1=crypto.getRandomValues.bind(crypto)}return v1(NO)}const DO=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),I_={randomUUID:DO};function gg(t,r,s){if(I_.randomUUID&&!t)return I_.randomUUID();t=t||{};const l=t.random??t.rng?.()??MO();if(l.length<16)throw new Error("Random bytes length must be >= 16");return l[6]=l[6]&15|64,l[8]=l[8]&63|128,CO(l)}function Xn(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}var LO=typeof Symbol=="function"&&Symbol.observable||"@@observable",H_=LO,y1=()=>Math.random().toString(36).substring(7).split("").join("."),BO={INIT:`@@redux/INIT${y1()}`,REPLACE:`@@redux/REPLACE${y1()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${y1()}`},mg=BO;function Zv(t){if(typeof t!="object"||t===null)return!1;let r=t;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(t)===r||Object.getPrototypeOf(t)===null}function JE(t,r,s){if(typeof t!="function")throw new Error(Xn(2));if(typeof r=="function"&&typeof s=="function"||typeof s=="function"&&typeof arguments[3]=="function")throw new Error(Xn(0));if(typeof r=="function"&&typeof s>"u"&&(s=r,r=void 0),typeof s<"u"){if(typeof s!="function")throw new Error(Xn(1));return s(JE)(t,r)}let l=t,f=r,d=new Map,g=d,m=0,y=!1;function _(){g===d&&(g=new Map,d.forEach((Q,w)=>{g.set(w,Q)}))}function T(){if(y)throw new Error(Xn(3));return f}function R(Q){if(typeof Q!="function")throw new Error(Xn(4));if(y)throw new Error(Xn(5));let w=!0;_();const j=m++;return g.set(j,Q),function(){if(w){if(y)throw new Error(Xn(6));w=!1,_(),g.delete(j),d=null}}}function D(Q){if(!Zv(Q))throw new Error(Xn(7));if(typeof Q.type>"u")throw new Error(Xn(8));if(typeof Q.type!="string")throw new Error(Xn(17));if(y)throw new Error(Xn(9));try{y=!0,f=l(f,Q)}finally{y=!1}return(d=g).forEach(j=>{j()}),Q}function Y(Q){if(typeof Q!="function")throw new Error(Xn(10));l=Q,D({type:mg.REPLACE})}function U(){const Q=R;return{subscribe(w){if(typeof w!="object"||w===null)throw new Error(Xn(11));function j(){const Z=w;Z.next&&Z.next(T())}return j(),{unsubscribe:Q(j)}},[H_](){return this}}}return D({type:mg.INIT}),{dispatch:D,subscribe:R,getState:T,replaceReducer:Y,[H_]:U}}function UO(t){Object.keys(t).forEach(r=>{const s=t[r];if(typeof s(void 0,{type:mg.INIT})>"u")throw new Error(Xn(12));if(typeof s(void 0,{type:mg.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Xn(13))})}function e2(t){const r=Object.keys(t),s={};for(let d=0;d<r.length;d++){const g=r[d];typeof t[g]=="function"&&(s[g]=t[g])}const l=Object.keys(s);let f;try{UO(s)}catch(d){f=d}return function(g={},m){if(f)throw f;let y=!1;const _={};for(let T=0;T<l.length;T++){const R=l[T],D=s[R],Y=g[R],U=D(Y,m);if(typeof U>"u")throw m&&m.type,new Error(Xn(14));_[R]=U,y=y||U!==Y}return y=y||l.length!==Object.keys(g).length,y?_:g}}function vg(...t){return t.length===0?r=>r:t.length===1?t[0]:t.reduce((r,s)=>(...l)=>r(s(...l)))}function IO(...t){return r=>(s,l)=>{const f=r(s,l);let d=()=>{throw new Error(Xn(15))};const g={getState:f.getState,dispatch:(y,..._)=>d(y,..._)},m=t.map(y=>y(g));return d=vg(...m)(f.dispatch),{...f,dispatch:d}}}function HO(t){return Zv(t)&&"type"in t&&typeof t.type=="string"}var t2=Symbol.for("immer-nothing"),j_=Symbol.for("immer-draftable"),fi=Symbol.for("immer-state");function pa(t,...r){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var Kc=Object.getPrototypeOf;function pu(t){return!!t&&!!t[fi]}function zs(t){return t?n2(t)||Array.isArray(t)||!!t[j_]||!!t.constructor?.[j_]||Cg(t)||Ng(t):!1}var jO=Object.prototype.constructor.toString();function n2(t){if(!t||typeof t!="object")return!1;const r=Kc(t);if(r===null)return!0;const s=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return s===Object?!0:typeof s=="function"&&Function.toString.call(s)===jO}function yg(t,r){Rg(t)===0?Reflect.ownKeys(t).forEach(s=>{r(s,t[s],t)}):t.forEach((s,l)=>r(l,s,t))}function Rg(t){const r=t[fi];return r?r.type_:Array.isArray(t)?1:Cg(t)?2:Ng(t)?3:0}function pv(t,r){return Rg(t)===2?t.has(r):Object.prototype.hasOwnProperty.call(t,r)}function r2(t,r,s){const l=Rg(t);l===2?t.set(r,s):l===3?t.add(s):t[r]=s}function GO(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}function Cg(t){return t instanceof Map}function Ng(t){return t instanceof Set}function cu(t){return t.copy_||t.base_}function gv(t,r){if(Cg(t))return new Map(t);if(Ng(t))return new Set(t);if(Array.isArray(t))return Array.prototype.slice.call(t);const s=n2(t);if(r===!0||r==="class_only"&&!s){const l=Object.getOwnPropertyDescriptors(t);delete l[fi];let f=Reflect.ownKeys(l);for(let d=0;d<f.length;d++){const g=f[d],m=l[g];m.writable===!1&&(m.writable=!0,m.configurable=!0),(m.get||m.set)&&(l[g]={configurable:!0,writable:!0,enumerable:m.enumerable,value:t[g]})}return Object.create(Kc(t),l)}else{const l=Kc(t);if(l!==null&&s)return{...t};const f=Object.create(l);return Object.assign(f,t)}}function Xv(t,r=!1){return Mg(t)||pu(t)||!zs(t)||(Rg(t)>1&&(t.set=t.add=t.clear=t.delete=zO),Object.freeze(t),r&&Object.entries(t).forEach(([s,l])=>Xv(l,!0))),t}function zO(){pa(2)}function Mg(t){return Object.isFrozen(t)}var kO={};function gu(t){const r=kO[t];return r||pa(0,t),r}var hd;function i2(){return hd}function qO(t,r){return{drafts_:[],parent_:t,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function G_(t,r){r&&(gu("Patches"),t.patches_=[],t.inversePatches_=[],t.patchListener_=r)}function mv(t){vv(t),t.drafts_.forEach(FO),t.drafts_=null}function vv(t){t===hd&&(hd=t.parent_)}function z_(t){return hd=qO(hd,t)}function FO(t){const r=t[fi];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function k_(t,r){r.unfinalizedDrafts_=r.drafts_.length;const s=r.drafts_[0];return t!==void 0&&t!==s?(s[fi].modified_&&(mv(r),pa(4)),zs(t)&&(t=_g(r,t),r.parent_||bg(r,t)),r.patches_&&gu("Patches").generateReplacementPatches_(s[fi].base_,t,r.patches_,r.inversePatches_)):t=_g(r,s,[]),mv(r),r.patches_&&r.patchListener_(r.patches_,r.inversePatches_),t!==t2?t:void 0}function _g(t,r,s){if(Mg(r))return r;const l=r[fi];if(!l)return yg(r,(f,d)=>q_(t,l,r,f,d,s)),r;if(l.scope_!==t)return r;if(!l.modified_)return bg(t,l.base_,!0),l.base_;if(!l.finalized_){l.finalized_=!0,l.scope_.unfinalizedDrafts_--;const f=l.copy_;let d=f,g=!1;l.type_===3&&(d=new Set(f),f.clear(),g=!0),yg(d,(m,y)=>q_(t,l,f,m,y,s,g)),bg(t,f,!1),s&&t.patches_&&gu("Patches").generatePatches_(l,s,t.patches_,t.inversePatches_)}return l.copy_}function q_(t,r,s,l,f,d,g){if(pu(f)){const m=d&&r&&r.type_!==3&&!pv(r.assigned_,l)?d.concat(l):void 0,y=_g(t,f,m);if(r2(s,l,y),pu(y))t.canAutoFreeze_=!1;else return}else g&&s.add(f);if(zs(f)&&!Mg(f)){if(!t.immer_.autoFreeze_&&t.unfinalizedDrafts_<1)return;_g(t,f),(!r||!r.scope_.parent_)&&typeof l!="symbol"&&Object.prototype.propertyIsEnumerable.call(s,l)&&bg(t,f)}}function bg(t,r,s=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&Xv(r,s)}function PO(t,r){const s=Array.isArray(t),l={type_:s?1:0,scope_:r?r.scope_:i2(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1};let f=l,d=Kv;s&&(f=[l],d=dd);const{revoke:g,proxy:m}=Proxy.revocable(f,d);return l.draft_=m,l.revoke_=g,m}var Kv={get(t,r){if(r===fi)return t;const s=cu(t);if(!pv(s,r))return VO(t,s,r);const l=s[r];return t.finalized_||!zs(l)?l:l===_1(t.base_,r)?(b1(t),t.copy_[r]=_v(l,t)):l},has(t,r){return r in cu(t)},ownKeys(t){return Reflect.ownKeys(cu(t))},set(t,r,s){const l=a2(cu(t),r);if(l?.set)return l.set.call(t.draft_,s),!0;if(!t.modified_){const f=_1(cu(t),r),d=f?.[fi];if(d&&d.base_===s)return t.copy_[r]=s,t.assigned_[r]=!1,!0;if(GO(s,f)&&(s!==void 0||pv(t.base_,r)))return!0;b1(t),yv(t)}return t.copy_[r]===s&&(s!==void 0||r in t.copy_)||Number.isNaN(s)&&Number.isNaN(t.copy_[r])||(t.copy_[r]=s,t.assigned_[r]=!0),!0},deleteProperty(t,r){return _1(t.base_,r)!==void 0||r in t.base_?(t.assigned_[r]=!1,b1(t),yv(t)):delete t.assigned_[r],t.copy_&&delete t.copy_[r],!0},getOwnPropertyDescriptor(t,r){const s=cu(t),l=Reflect.getOwnPropertyDescriptor(s,r);return l&&{writable:!0,configurable:t.type_!==1||r!=="length",enumerable:l.enumerable,value:s[r]}},defineProperty(){pa(11)},getPrototypeOf(t){return Kc(t.base_)},setPrototypeOf(){pa(12)}},dd={};yg(Kv,(t,r)=>{dd[t]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});dd.deleteProperty=function(t,r){return dd.set.call(this,t,r,void 0)};dd.set=function(t,r,s){return Kv.set.call(this,t[0],r,s,t[0])};function _1(t,r){const s=t[fi];return(s?cu(s):t)[r]}function VO(t,r,s){const l=a2(r,s);return l?"value"in l?l.value:l.get?.call(t.draft_):void 0}function a2(t,r){if(!(r in t))return;let s=Kc(t);for(;s;){const l=Object.getOwnPropertyDescriptor(s,r);if(l)return l;s=Kc(s)}}function yv(t){t.modified_||(t.modified_=!0,t.parent_&&yv(t.parent_))}function b1(t){t.copy_||(t.copy_=gv(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var YO=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(r,s,l)=>{if(typeof r=="function"&&typeof s!="function"){const d=s;s=r;const g=this;return function(y=d,..._){return g.produce(y,T=>s.call(this,T,..._))}}typeof s!="function"&&pa(6),l!==void 0&&typeof l!="function"&&pa(7);let f;if(zs(r)){const d=z_(this),g=_v(r,void 0);let m=!0;try{f=s(g),m=!1}finally{m?mv(d):vv(d)}return G_(d,l),k_(f,d)}else if(!r||typeof r!="object"){if(f=s(r),f===void 0&&(f=r),f===t2&&(f=void 0),this.autoFreeze_&&Xv(f,!0),l){const d=[],g=[];gu("Patches").generateReplacementPatches_(r,f,d,g),l(d,g)}return f}else pa(1,r)},this.produceWithPatches=(r,s)=>{if(typeof r=="function")return(g,...m)=>this.produceWithPatches(g,y=>r(y,...m));let l,f;return[this.produce(r,s,(g,m)=>{l=g,f=m}),l,f]},typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze),typeof t?.useStrictShallowCopy=="boolean"&&this.setUseStrictShallowCopy(t.useStrictShallowCopy)}createDraft(t){zs(t)||pa(8),pu(t)&&(t=ZO(t));const r=z_(this),s=_v(t,void 0);return s[fi].isManual_=!0,vv(r),s}finishDraft(t,r){const s=t&&t[fi];(!s||!s.isManual_)&&pa(9);const{scope_:l}=s;return G_(l,r),k_(void 0,l)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}applyPatches(t,r){let s;for(s=r.length-1;s>=0;s--){const f=r[s];if(f.path.length===0&&f.op==="replace"){t=f.value;break}}s>-1&&(r=r.slice(s+1));const l=gu("Patches").applyPatches_;return pu(t)?l(t,r):this.produce(t,f=>l(f,r))}};function _v(t,r){const s=Cg(t)?gu("MapSet").proxyMap_(t,r):Ng(t)?gu("MapSet").proxySet_(t,r):PO(t,r);return(r?r.scope_:i2()).drafts_.push(s),s}function ZO(t){return pu(t)||pa(10,t),s2(t)}function s2(t){if(!zs(t)||Mg(t))return t;const r=t[fi];let s;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,s=gv(t,r.scope_.immer_.useStrictShallowCopy_)}else s=gv(t,!0);return yg(s,(l,f)=>{r2(s,l,s2(f))}),r&&(r.finalized_=!1),s}var hi=new YO,l2=hi.produce;hi.produceWithPatches.bind(hi);hi.setAutoFreeze.bind(hi);hi.setUseStrictShallowCopy.bind(hi);hi.applyPatches.bind(hi);hi.createDraft.bind(hi);hi.finishDraft.bind(hi);function o2(t){return({dispatch:s,getState:l})=>f=>d=>typeof d=="function"?d(s,l,t):f(d)}var XO=o2(),KO=o2,QO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?vg:vg.apply(null,arguments)};function F_(t,r){function s(...l){if(r){let f=r(...l);if(!f)throw new Error(Is(0));return{type:t,payload:f.payload,..."meta"in f&&{meta:f.meta},..."error"in f&&{error:f.error}}}return{type:t,payload:l[0]}}return s.toString=()=>`${t}`,s.type=t,s.match=l=>HO(l)&&l.type===t,s}var u2=class ld extends Array{constructor(...r){super(...r),Object.setPrototypeOf(this,ld.prototype)}static get[Symbol.species](){return ld}concat(...r){return super.concat.apply(this,r)}prepend(...r){return r.length===1&&Array.isArray(r[0])?new ld(...r[0].concat(this)):new ld(...r.concat(this))}};function P_(t){return zs(t)?l2(t,()=>{}):t}function Wp(t,r,s){return t.has(r)?t.get(r):t.set(r,s(r)).get(r)}function WO(t){return typeof t=="boolean"}var $O=()=>function(r){const{thunk:s=!0,immutableCheck:l=!0,serializableCheck:f=!0,actionCreatorCheck:d=!0}=r??{};let g=new u2;return s&&(WO(s)?g.push(XO):g.push(KO(s.extraArgument))),g},JO="RTK_autoBatch",V_=t=>r=>{setTimeout(r,t)},ew=(t={type:"raf"})=>r=>(...s)=>{const l=r(...s);let f=!0,d=!1,g=!1;const m=new Set,y=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:V_(10):t.type==="callback"?t.queueNotification:V_(t.timeout),_=()=>{g=!1,d&&(d=!1,m.forEach(T=>T()))};return Object.assign({},l,{subscribe(T){const R=()=>f&&T(),D=l.subscribe(R);return m.add(T),()=>{D(),m.delete(T)}},dispatch(T){try{return f=!T?.meta?.[JO],d=!f,d&&(g||(g=!0,y(_))),l.dispatch(T)}finally{f=!0}}})},tw=t=>function(s){const{autoBatch:l=!0}=s??{};let f=new u2(t);return l&&f.push(ew(typeof l=="object"?l:void 0)),f};function nw(t){const r=$O(),{reducer:s=void 0,middleware:l,devTools:f=!0,preloadedState:d=void 0,enhancers:g=void 0}=t||{};let m;if(typeof s=="function")m=s;else if(Zv(s))m=e2(s);else throw new Error(Is(1));let y;typeof l=="function"?y=l(r):y=r();let _=vg;f&&(_=QO({trace:!1,...typeof f=="object"&&f}));const T=IO(...y),R=tw(T);let D=typeof g=="function"?g(R):R();const Y=_(...D);return JE(m,d,Y)}function c2(t){const r={},s=[];let l;const f={addCase(d,g){const m=typeof d=="string"?d:d.type;if(!m)throw new Error(Is(28));if(m in r)throw new Error(Is(29));return r[m]=g,f},addMatcher(d,g){return s.push({matcher:d,reducer:g}),f},addDefaultCase(d){return l=d,f}};return t(f),[r,s,l]}function rw(t){return typeof t=="function"}function iw(t,r){let[s,l,f]=c2(r),d;if(rw(t))d=()=>P_(t());else{const m=P_(t);d=()=>m}function g(m=d(),y){let _=[s[y.type],...l.filter(({matcher:T})=>T(y)).map(({reducer:T})=>T)];return _.filter(T=>!!T).length===0&&(_=[f]),_.reduce((T,R)=>{if(R)if(pu(T)){const Y=R(T,y);return Y===void 0?T:Y}else{if(zs(T))return l2(T,D=>R(D,y));{const D=R(T,y);if(D===void 0){if(T===null)return T;throw Error("A case reducer on a non-draftable value must not return undefined")}return D}}return T},m)}return g.getInitialState=d,g}var aw=Symbol.for("rtk-slice-createasyncthunk");function sw(t,r){return`${t}/${r}`}function lw({creators:t}={}){const r=t?.asyncThunk?.[aw];return function(l){const{name:f,reducerPath:d=f}=l;if(!f)throw new Error(Is(11));const g=(typeof l.reducers=="function"?l.reducers(uw()):l.reducers)||{},m=Object.keys(g),y={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},_={addCase(C,Z){const L=typeof C=="string"?C:C.type;if(!L)throw new Error(Is(12));if(L in y.sliceCaseReducersByType)throw new Error(Is(13));return y.sliceCaseReducersByType[L]=Z,_},addMatcher(C,Z){return y.sliceMatchers.push({matcher:C,reducer:Z}),_},exposeAction(C,Z){return y.actionCreators[C]=Z,_},exposeCaseReducer(C,Z){return y.sliceCaseReducersByName[C]=Z,_}};m.forEach(C=>{const Z=g[C],L={reducerName:C,type:sw(f,C),createNotation:typeof l.reducers=="function"};fw(Z)?dw(L,Z,_,r):cw(L,Z,_)});function T(){const[C={},Z=[],L=void 0]=typeof l.extraReducers=="function"?c2(l.extraReducers):[l.extraReducers],ce={...C,...y.sliceCaseReducersByType};return iw(l.initialState,pe=>{for(let Ee in ce)pe.addCase(Ee,ce[Ee]);for(let Ee of y.sliceMatchers)pe.addMatcher(Ee.matcher,Ee.reducer);for(let Ee of Z)pe.addMatcher(Ee.matcher,Ee.reducer);L&&pe.addDefaultCase(L)})}const R=C=>C,D=new Map,Y=new WeakMap;let U;function te(C,Z){return U||(U=T()),U(C,Z)}function Q(){return U||(U=T()),U.getInitialState()}function w(C,Z=!1){function L(pe){let Ee=pe[C];return typeof Ee>"u"&&Z&&(Ee=Wp(Y,L,Q)),Ee}function ce(pe=R){const Ee=Wp(D,Z,()=>new WeakMap);return Wp(Ee,pe,()=>{const ze={};for(const[Ze,xe]of Object.entries(l.selectors??{}))ze[Ze]=ow(xe,pe,()=>Wp(Y,pe,Q),Z);return ze})}return{reducerPath:C,getSelectors:ce,get selectors(){return ce(L)},selectSlice:L}}const j={name:f,reducer:te,actions:y.actionCreators,caseReducers:y.sliceCaseReducersByName,getInitialState:Q,...w(d),injectInto(C,{reducerPath:Z,...L}={}){const ce=Z??d;return C.inject({reducerPath:ce,reducer:te},L),{...j,...w(ce,!0)}}};return j}}function ow(t,r,s,l){function f(d,...g){let m=r(d);return typeof m>"u"&&l&&(m=s()),t(m,...g)}return f.unwrapped=t,f}var Qv=lw();function uw(){function t(r,s){return{_reducerDefinitionType:"asyncThunk",payloadCreator:r,...s}}return t.withTypes=()=>t,{reducer(r){return Object.assign({[r.name](...s){return r(...s)}}[r.name],{_reducerDefinitionType:"reducer"})},preparedReducer(r,s){return{_reducerDefinitionType:"reducerWithPrepare",prepare:r,reducer:s}},asyncThunk:t}}function cw({type:t,reducerName:r,createNotation:s},l,f){let d,g;if("reducer"in l){if(s&&!hw(l))throw new Error(Is(17));d=l.reducer,g=l.prepare}else d=l;f.addCase(t,d).exposeCaseReducer(r,d).exposeAction(r,g?F_(t,g):F_(t))}function fw(t){return t._reducerDefinitionType==="asyncThunk"}function hw(t){return t._reducerDefinitionType==="reducerWithPrepare"}function dw({type:t,reducerName:r},s,l,f){if(!f)throw new Error(Is(18));const{payloadCreator:d,fulfilled:g,pending:m,rejected:y,settled:_,options:T}=s,R=f(t,d,T);l.exposeAction(r,R),g&&l.addCase(R.fulfilled,g),m&&l.addCase(R.pending,m),y&&l.addCase(R.rejected,y),_&&l.addMatcher(R.settled,_),l.exposeCaseReducer(r,{fulfilled:g||$p,pending:m||$p,rejected:y||$p,settled:_||$p})}function $p(){}function Is(t){return`Minified Redux Toolkit error #${t}; visit https://redux-toolkit.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}const pw={formValues:{}},f2=Qv({name:"start-screen",initialState:pw,reducers:{showStartScreen(t){t.startScreenStatus="VISIBLE",t.formValues={}},startChat(t,r){t.startScreenStatus="HIDDEN",t.formValues=r.payload.formValues},startAuthenticatedChat(t,r){t.startScreenStatus="HIDDEN",t.loginToken=r.payload.loginToken,t.loginRequestToken=void 0},requestLogin(t,r){t.loginRequestToken=r.payload.loginRequestToken,t.formValues=r.payload.formValues},loginWindowClosed(t){t.loginRequestToken=void 0}}}),{startChat:gw,startAuthenticatedChat:mw,showStartScreen:vw,requestLogin:yw,loginWindowClosed:_w}=f2.actions,bw=f2.reducer,h2="RESET_CHAT_STATE",d2="TOGGLE_TRANSCRIPT_MAIL_OVERLAY",p2="SHOW_CONVERSATION_RATING_OVERLAY",g2="HIDE_CONVERSATION_RATING_OVERLAY",m2=()=>({type:XE}),Ew=()=>({type:h2}),v2=()=>({type:d2}),Wv=(t,r=void 0)=>({type:p2,payload:{opener:t,defaultRating:r}}),Sw=()=>({type:g2}),Y_=(t,r,s)=>(l,f)=>{try{const d=f().connection.sessionId;if(!d)throw new Error("Session ID is not available");l({type:Vv,payload:{chunkId:s}}),Z_(t,d,r,s,!1,l),Z_(t,d,r,s,!0,l)}catch(d){console.error("Error loading source infos:",d),l({type:Pv})}},Z_=(t,r,s,l,f,d)=>{const g=`/${t}/me/chat-widget/transcript/${s}/chunks/${l}?highlight=${f}`;fetch(g,{headers:{"x-bubble-chat-session-id":r}}).then(m=>{if(!m.ok)throw new Error(`HTTP error! Status: ${m.status}`);return m.json()}).then(m=>{const y={...m,chunkId:l,highlighted:f};d({type:YE,payload:y})}).catch(m=>{console.error("Error fetching source infos:",m),d({type:Pv,payload:{highlighted:f}})})},Tw=()=>({type:Yv}),$v="CONNECT",Jv="CONNECTING",ey="CONNECTED",ty="DISCONNECTED",ny="RECONNECTED",ry="RESTORE_SESSION_ID",Dg="START",Lg="CLEAR_SESSION_ID",Aw=[$v,Jv,ey,ty,ny,ry],xw=(t,r)=>({type:$v,clientName:t,querystrings:r}),Ow=t=>({type:ry,sessionId:t}),ww=()=>({type:Jv}),Rw=()=>({type:ey}),Cw=()=>({type:ty}),Nw=()=>({type:ny}),y2=(t,r)=>(s,l)=>{const f=l().connection,{formValues:d,loginToken:g}=l().startScreen;let m=f.sessionId;m===void 0&&(m=gg());let y=f.userId;if(y===void 0){const _=Qp.get("bubble-chat-user-id")||Qp.get("bubble-chat-userId")||Qp.get("bf-webclient-userId");y=_||gg(),Qp.set("bubble-chat-user-id",y)}s({type:Dg,payload:{sessionId:m,userId:y,clientName:t,loginToken:g,querystrings:{...r,...d}}})},Bg=(t,r)=>(s,l)=>{const f=l().connection.sessionId||"";if(s(Mw(f)),s(Ew()),l().settings.enableStartScreen)s(vw());else return s(y2(t,r))},Mw=t=>({type:Lg,payload:{sessionId:t}}),Qt=()=>{const t=Og();return s=>{const l=t.formatMessage({id:s});return l===s?void 0:l}};var hu=(t=>(t[t.CONNECTING=0]="CONNECTING",t[t.CONNECTED=1]="CONNECTED",t[t.RECONNECTED=2]="RECONNECTED",t[t.DISCONNECTED=3]="DISCONNECTED",t))(hu||{}),Eg=(t=>(t.GUEST="GUEST",t.BOT="BOT",t.PERSON="PERSON",t))(Eg||{});const Dw="_container_q2uun_1",Lw="_chatcontent_q2uun_6",Bw="_accessabilityHidden_q2uun_12",E1={container:Dw,chatcontent:Lw,accessabilityHidden:Bw},Uw="_messageContainer_ofi0g_1",Iw="_messages_ofi0g_12",X_={messageContainer:Uw,messages:Iw};function fu(){return fu=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var s=arguments[r];for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&(t[l]=s[l])}return t},fu.apply(this,arguments)}const Hw=["children","options"],jw={footnoteReference:"7"},K_=["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((t,r)=>(t[r.toLowerCase()]=r,t),{class:"className",for:"htmlFor"}),Q_={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},Gw=["style","script","pre"],zw=["src","href","data","formAction","srcDoc","action"],kw=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,qw=/mailto:/i,Fw=/\n{2,}$/,W_=/^(\s*>[\s\S]*?)(?=\n\n|$)/,Pw=/^ *> ?/gm,Vw=/^(?:\[!([^\]]*)\]\n)?([\s\S]*)/,Yw=/^ {2,}\n/,Zw=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,$_=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,J_=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,Xw=/^(`+)((?:\\`|(?!\1)`|[^`])+)\1/,Kw=/^(?:\n *)*\n/,Qw=/\r\n?/g,Ww=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,$w=/^\[\^([^\]]+)]/,Jw=/\f/g,eR=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,tR=/^\s*?\[(x|\s)\]/,eb=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,tb=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,nb=/^([^\n]+)\n *(=|-){3,} *\n/,S1=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,nR=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,rb=/^<!--[\s\S]*?(?:-->)/,rR=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,T1=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,iR=/^\{.*\}$/,aR=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,sR=/^<([^ >]+@[^ >]+)>/,lR=/^<([^ >]+:\/[^ >]+)>/,oR=/-([a-z])?/gi,ib=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,uR=/^[^\n]+(?: \n|\n{2,})/,cR=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,fR=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,hR=/^\[([^\]]*)\] ?\[([^\]]*)\]/,dR=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,pR=/\t/g,gR=/(^ *\||\| *$)/g,mR=/^ *:-+: *$/,vR=/^ *:-+ *$/,yR=/^ *-+: *$/,Ug=t=>`(?=[\\s\\S]+?\\1${t?"\\1":""})`,Ig="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)",_R=RegExp(`^([*_])\\1${Ug(1)}${Ig}\\1\\1(?!\\1)`),bR=RegExp(`^([*_])${Ug(0)}${Ig}\\1(?!\\1)`),ER=RegExp(`^(==)${Ug(0)}${Ig}\\1`),SR=RegExp(`^(~~)${Ug(0)}${Ig}\\1`),TR=/^(:[a-zA-Z0-9-_]+:)/,AR=/^\\([^0-9A-Za-z\s])/,xR=/\\([^0-9A-Za-z\s])/g,OR=/^[\s\S](?:(?! \n|[0-9]\.|http)[^=*_~\-\n:<`\\\[!])*/,wR=/^\n+/,RR=/^([ \t]*)/,CR=/(?:^|\n)( *)$/,iy="(?:\\d+\\.)",ay="(?:[*+-])";function _2(t){return"( *)("+(t===1?iy:ay)+") +"}const b2=_2(1),E2=_2(2);function S2(t){return RegExp("^"+(t===1?b2:E2))}const NR=S2(1),MR=S2(2);function T2(t){return RegExp("^"+(t===1?b2:E2)+"[^\\n]*(?:\\n(?!\\1"+(t===1?iy:ay)+" )[^\\n]*)*(\\n|$)","gm")}const DR=T2(1),LR=T2(2);function A2(t){const r=t===1?iy:ay;return RegExp("^( *)("+r+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+r+" (?!"+r+" ))\\n*|\\s*\\n*$)")}const x2=A2(1),O2=A2(2);function ab(t,r){const s=r===1,l=s?x2:O2,f=s?DR:LR,d=s?NR:MR;return{t:g=>d.test(g),o:Qc(function(g,m){const y=CR.exec(m.prevCapture);return y&&(m.list||!m.inline&&!m.simple)?l.exec(g=y[1]+g):null}),i:1,u(g,m,y){const _=s?+g[2]:void 0,T=g[0].replace(Fw,`
|
|
94
|
+
`).match(f);let R=!1;return{items:T.map(function(D,Y){const U=d.exec(D)[0].length,te=RegExp("^ {1,"+U+"}","gm"),Q=D.replace(te,"").replace(d,""),w=Y===T.length-1,j=Q.indexOf(`
|
|
95
|
+
|
|
96
|
+
`)!==-1||w&&R;R=j;const C=y.inline,Z=y.list;let L;y.list=!0,j?(y.inline=!1,L=fd(Q)+`
|
|
97
|
+
|
|
98
|
+
`):(y.inline=!0,L=fd(Q));const ce=m(L,y);return y.inline=C,y.list=Z,ce}),ordered:s,start:_}},l:(g,m,y)=>t(g.ordered?"ol":"ul",{key:y.key,start:g.type==="20"?g.start:void 0},g.items.map(function(_,T){return t("li",{key:T},m(_,y))}))}}const BR=RegExp(`^\\[((?:\\[[^\\[\\]]*(?:\\[[^\\[\\]]*\\][^\\[\\]]*)*\\]|[^\\[\\]])*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),UR=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/;function fd(t){let r=t.length;for(;r>0&&t[r-1]<=" ";)r--;return t.slice(0,r)}function lg(t,r){return t.startsWith(r)}function IR(t,r,s){if(Array.isArray(s)){for(let l=0;l<s.length;l++)if(lg(t,s[l]))return!0;return!1}return s(t,r)}function Wh(t){return t.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 HR(t){return yR.test(t)?"right":mR.test(t)?"center":vR.test(t)?"left":null}function sb(t,r,s,l){const f=s.inTable;s.inTable=!0;let d=[[]],g="";function m(){if(!g)return;const y=d[d.length-1];y.push.apply(y,r(g,s)),g=""}return t.trim().split(/(`[^`]*`|\\\||\|)/).filter(Boolean).forEach((y,_,T)=>{y.trim()==="|"&&(m(),l)?_!==0&&_!==T.length-1&&d.push([]):g+=y}),m(),s.inTable=f,d}function jR(t,r,s){s.inline=!0;const l=t[2]?t[2].replace(gR,"").split("|").map(HR):[],f=t[3]?function(g,m,y){return g.trim().split(`
|
|
99
|
+
`).map(function(_){return sb(_,m,y,!0)})}(t[3],r,s):[],d=sb(t[1],r,s,!!f.length);return s.inline=!1,f.length?{align:l,cells:f,header:d,type:"25"}:{children:d,type:"21"}}function lb(t,r){return t.align[r]==null?{}:{textAlign:t.align[r]}}function Qc(t){return t.inline=1,t}function jl(t){return Qc(function(r,s){return s.inline?t.exec(r):null})}function Gl(t){return Qc(function(r,s){return s.inline||s.simple?t.exec(r):null})}function Ls(t){return function(r,s){return s.inline||s.simple?null:t.exec(r)}}function Jp(t){return Qc(function(r){return t.exec(r)})}const GR=/(javascript|vbscript|data(?!:image)):/i;function zR(t){try{const r=decodeURIComponent(t).replace(/[^A-Za-z0-9/:]/g,"");if(GR.test(r))return null}catch{return null}return t}function Za(t){return t&&t.replace(xR,"$1")}function og(t,r,s){const l=s.inline||!1,f=s.simple||!1;s.inline=!0,s.simple=!0;const d=t(r,s);return s.inline=l,s.simple=f,d}function kR(t,r,s){const l=s.inline||!1,f=s.simple||!1;s.inline=!1,s.simple=!0;const d=t(r,s);return s.inline=l,s.simple=f,d}function qR(t,r,s){const l=s.inline||!1;s.inline=!1;const f=t(r,s);return s.inline=l,f}const A1=(t,r,s)=>({children:og(r,t[2],s)});function x1(){return{}}function O1(){return null}function FR(...t){return t.filter(Boolean).join(" ")}function w1(t,r,s){let l=t;const f=r.split(".");for(;f.length&&(l=l[f[0]],l!==void 0);)f.shift();return l||s}function PR(t="",r={}){r.overrides=r.overrides||{},r.namedCodesToUnicode=r.namedCodesToUnicode?fu({},Q_,r.namedCodesToUnicode):Q_;const s=r.slugify||Wh,l=r.sanitizer||zR,f=r.createElement||X.createElement,d=[W_,$_,J_,r.enforceAtxHeadings?tb:eb,nb,ib,x2,O2],g=[...d,uR,S1,rb,T1];function m(w,j,...C){const Z=w1(r.overrides,w+".props",{});return f(function(L,ce){const pe=w1(ce,L);return pe?typeof pe=="function"||typeof pe=="object"&&"render"in pe?pe:w1(ce,L+".component",L):L}(w,r.overrides),fu({},j,Z,{className:FR(j?.className,Z.className)||void 0}),...C)}function y(w){w=w.replace(eR,"");let j=!1;r.forceInline?j=!0:r.forceBlock||(j=dR.test(w)===!1);const C=U(Y(j?w:fd(w).replace(wR,"")+`
|
|
100
|
+
|
|
101
|
+
`,{inline:j}));for(;typeof C[C.length-1]=="string"&&!C[C.length-1].trim();)C.pop();if(r.wrapper===null)return C;const Z=r.wrapper||(j?"span":"div");let L;if(C.length>1||r.forceWrapper)L=C;else{if(C.length===1)return L=C[0],typeof L=="string"?m("span",{key:"outer"},L):L;L=null}return f(Z,{key:"outer"},L)}function _(w,j){if(!j||!j.trim())return null;const C=j.match(kw);return C?C.reduce(function(Z,L){const ce=L.indexOf("=");if(ce!==-1){const pe=function(xe){return xe.indexOf("-")!==-1&&xe.match(rR)===null&&(xe=xe.replace(oR,function(He,Ne){return Ne.toUpperCase()})),xe}(L.slice(0,ce)).trim(),Ee=function(xe){const He=xe[0];return(He==='"'||He==="'")&&xe.length>=2&&xe[xe.length-1]===He?xe.slice(1,-1):xe}(L.slice(ce+1).trim()),ze=K_[pe]||pe;if(ze==="ref")return Z;const Ze=Z[ze]=function(xe,He,Ne,Mt){return He==="style"?function(Fe){const J=[];let fe="",ge=!1,We=!1,B="";if(!Fe)return J;for(let de=0;de<Fe.length;de++){const le=Fe[de];if(le!=='"'&&le!=="'"||ge||(We?le===B&&(We=!1,B=""):(We=!0,B=le)),le==="("&&fe.endsWith("url")?ge=!0:le===")"&&ge&&(ge=!1),le!==";"||We||ge)fe+=le;else{const Se=fe.trim();if(Se){const ye=Se.indexOf(":");if(ye>0){const Te=Se.slice(0,ye).trim(),Vt=Se.slice(ye+1).trim();J.push([Te,Vt])}}fe=""}}const $=fe.trim();if($){const de=$.indexOf(":");if(de>0){const le=$.slice(0,de).trim(),Se=$.slice(de+1).trim();J.push([le,Se])}}return J}(Ne).reduce(function(Fe,[J,fe]){return Fe[J.replace(/(-[a-z])/g,ge=>ge[1].toUpperCase())]=Mt(fe,xe,J),Fe},{}):zw.indexOf(He)!==-1?Mt(Za(Ne),xe,He):(Ne.match(iR)&&(Ne=Za(Ne.slice(1,Ne.length-1))),Ne==="true"||Ne!=="false"&&Ne)}(w,pe,Ee,l);typeof Ze=="string"&&(S1.test(Ze)||T1.test(Ze))&&(Z[ze]=y(Ze.trim()))}else L!=="style"&&(Z[K_[L]||L]=!0);return Z},{}):null}const T=[],R={},D={0:{t:[">"],o:Ls(W_),i:1,u(w,j,C){const[,Z,L]=w[0].replace(Pw,"").match(Vw);return{alert:Z,children:j(L,C)}},l(w,j,C){const Z={key:C.key};return w.alert&&(Z.className="markdown-alert-"+s(w.alert.toLowerCase(),Wh),w.children.unshift({attrs:{},children:[{type:"27",text:w.alert}],noInnerParse:!0,type:"11",tag:"header"})),m("blockquote",Z,j(w.children,C))}},1:{o:Jp(Yw),i:1,u:x1,l:(w,j,C)=>m("br",{key:C.key})},2:{t:w=>{const j=w[0];return j==="-"||j==="*"||j==="_"},o:Ls(Zw),i:1,u:x1,l:(w,j,C)=>m("hr",{key:C.key})},3:{t:[" "],o:Ls(J_),i:0,u:w=>({lang:void 0,text:Za(fd(w[0].replace(/^ {4}/gm,"")))}),l:(w,j,C)=>m("pre",{key:C.key},m("code",fu({},w.attrs,{className:w.lang?"lang-"+w.lang:""}),w.text))},4:{t:["```","~~~"],o:Ls($_),i:0,u:w=>({attrs:_("code",w[3]||""),lang:w[2]||void 0,text:w[4],type:"3"})},5:{t:["`"],o:Gl(Xw),i:3,u:w=>({text:Za(w[2])}),l:(w,j,C)=>m("code",{key:C.key},w.text)},6:{t:["[^"],o:Ls(Ww),i:0,u:w=>(T.push({footnote:w[2],identifier:w[1]}),{}),l:O1},7:{t:["[^"],o:jl($w),i:1,u:w=>({target:"#"+s(w[1],Wh),text:w[1]}),l:(w,j,C)=>m("a",{key:C.key,href:l(w.target,"a","href")},m("sup",{key:C.key},w.text))},8:{t:["[ ]","[x]"],o:jl(tR),i:1,u:w=>({completed:w[1].toLowerCase()==="x"}),l:(w,j,C)=>m("input",{checked:w.completed,key:C.key,readOnly:!0,type:"checkbox"})},9:{t:["#"],o:Ls(r.enforceAtxHeadings?tb:eb),i:1,u:(w,j,C)=>({children:og(j,w[2],C),id:s(w[2],Wh),level:w[1].length}),l:(w,j,C)=>m("h"+w.level,{id:w.id,key:C.key},j(w.children,C))},10:{o:Ls(nb),i:0,u:(w,j,C)=>({children:og(j,w[1],C),level:w[2]==="="?1:2,type:"9"})},11:{t:["<"],o:Jp(S1),i:1,u(w,j,C){const[,Z]=w[3].match(RR),L=RegExp("^"+Z,"gm"),ce=w[3].replace(L,""),pe=(Ee=ce,g.some(Ne=>Ne.test(Ee))?qR:og);var Ee;const ze=w[1].toLowerCase(),Ze=Gw.indexOf(ze)!==-1,xe=(Ze?ze:w[1]).trim(),He={attrs:_(xe,w[2]),noInnerParse:Ze,tag:xe};if(C.inAnchor=C.inAnchor||ze==="a",Ze)He.text=w[3];else{const Ne=C.inHTML;C.inHTML=!0,He.children=pe(j,ce,C),C.inHTML=Ne}return C.inAnchor=!1,He},l:(w,j,C)=>m(w.tag,fu({key:C.key},w.attrs),w.text||(w.children?j(w.children,C):""))},13:{t:["<"],o:Jp(T1),i:1,u(w){const j=w[1].trim();return{attrs:_(j,w[2]||""),tag:j}},l:(w,j,C)=>m(w.tag,fu({},w.attrs,{key:C.key}))},12:{t:["<!--"],o:Jp(rb),i:1,u:()=>({}),l:O1},14:{t:["!["],o:Gl(UR),i:1,u:w=>({alt:Za(w[1]),target:Za(w[2]),title:Za(w[3])}),l:(w,j,C)=>m("img",{key:C.key,alt:w.alt||void 0,title:w.title||void 0,src:l(w.target,"img","src")})},15:{t:["["],o:jl(BR),i:3,u:(w,j,C)=>({children:kR(j,w[1],C),target:Za(w[2]),title:Za(w[3])}),l:(w,j,C)=>m("a",{key:C.key,href:l(w.target,"a","href"),title:w.title},j(w.children,C))},16:{t:["<"],o:jl(lR),i:0,u:w=>({children:[{text:w[1],type:"27"}],target:w[1],type:"15"})},17:{t:(w,j)=>!j.inAnchor&&!r.disableAutoLink&&(lg(w,"http://")||lg(w,"https://")),o:jl(aR),i:0,u:w=>({children:[{text:w[1],type:"27"}],target:w[1],title:void 0,type:"15"})},18:{t:["<"],o:jl(sR),i:0,u(w){let j=w[1],C=w[1];return qw.test(C)||(C="mailto:"+C),{children:[{text:j.replace("mailto:",""),type:"27"}],target:C,type:"15"}}},20:ab(m,1),33:ab(m,2),19:{o:Ls(Kw),i:3,u:x1,l:()=>`
|
|
102
|
+
`},21:{o:Qc(function(w,j){if(j.inline||j.simple||j.inHTML&&w.indexOf(`
|
|
103
|
+
|
|
104
|
+
`)===-1&&j.prevCapture.indexOf(`
|
|
105
|
+
|
|
106
|
+
`)===-1)return null;let C="";w.split(`
|
|
107
|
+
`).every(L=>(L+=`
|
|
108
|
+
`,!d.some(ce=>ce.test(L))&&(C+=L,!!L.trim())));const Z=fd(C);return Z===""?null:[C,,Z]}),i:3,u:A1,l:(w,j,C)=>m("p",{key:C.key},j(w.children,C))},22:{t:["["],o:jl(cR),i:0,u:w=>(R[w[1]]={target:w[2],title:w[4]},{}),l:O1},23:{t:["!["],o:Gl(fR),i:0,u:w=>({alt:w[1]?Za(w[1]):void 0,ref:w[2]}),l:(w,j,C)=>R[w.ref]?m("img",{key:C.key,alt:w.alt,src:l(R[w.ref].target,"img","src"),title:R[w.ref].title}):null},24:{t:w=>w[0]==="["&&w.indexOf("](")===-1,o:jl(hR),i:0,u:(w,j,C)=>({children:j(w[1],C),fallbackChildren:w[0],ref:w[2]}),l:(w,j,C)=>R[w.ref]?m("a",{key:C.key,href:l(R[w.ref].target,"a","href"),title:R[w.ref].title},j(w.children,C)):m("span",{key:C.key},w.fallbackChildren)},25:{t:["|"],o:Ls(ib),i:1,u:jR,l(w,j,C){const Z=w;return m("table",{key:C.key},m("thead",null,m("tr",null,Z.header.map(function(L,ce){return m("th",{key:ce,style:lb(Z,ce)},j(L,C))}))),m("tbody",null,Z.cells.map(function(L,ce){return m("tr",{key:ce},L.map(function(pe,Ee){return m("td",{key:Ee,style:lb(Z,Ee)},j(pe,C))}))})))}},27:{o:Qc(function(w,j){let C;return lg(w,":")&&(C=TR.exec(w)),C||OR.exec(w)}),i:4,u(w){const j=w[0];return{text:j.indexOf("&")===-1?j:j.replace(nR,(C,Z)=>r.namedCodesToUnicode[Z]||C)}},l:w=>w.text},28:{t:["**","__"],o:Gl(_R),i:2,u:(w,j,C)=>({children:j(w[2],C)}),l:(w,j,C)=>m("strong",{key:C.key},j(w.children,C))},29:{t:w=>{const j=w[0];return(j==="*"||j==="_")&&w[1]!==j},o:Gl(bR),i:3,u:(w,j,C)=>({children:j(w[2],C)}),l:(w,j,C)=>m("em",{key:C.key},j(w.children,C))},30:{t:["\\"],o:Gl(AR),i:1,u:w=>({text:w[1],type:"27"})},31:{t:["=="],o:Gl(ER),i:3,u:A1,l:(w,j,C)=>m("mark",{key:C.key},j(w.children,C))},32:{t:["~~"],o:Gl(SR),i:3,u:A1,l:(w,j,C)=>m("del",{key:C.key},j(w.children,C))}};r.disableParsingRawHTML===!0&&(delete D[11],delete D[13]);const Y=function(w){var j=Object.keys(w);function C(Z,L){var ce=[];if(L.prevCapture=L.prevCapture||"",Z.trim())for(;Z;)for(var pe=0;pe<j.length;){var Ee=j[pe],ze=w[Ee];if(!ze.t||IR(Z,L,ze.t)){var Ze=ze.o(Z,L);if(Ze&&Ze[0]){Z=Z.substring(Ze[0].length);var xe=ze.u(Ze,C,L);L.prevCapture+=Ze[0],xe.type||(xe.type=Ee),ce.push(xe);break}pe++}else pe++}return L.prevCapture="",ce}return j.sort(function(Z,L){return w[Z].i-w[L].i||(Z<L?-1:1)}),function(Z,L){return C(function(ce){return ce.replace(Qw,`
|
|
109
|
+
`).replace(Jw,"").replace(pR," ")}(Z),L)}}(D),U=(te=function(w,j){return function(C,Z,L){const ce=w[C.type].l;return j?j(()=>ce(C,Z,L),C,Z,L):ce(C,Z,L)}}(D,r.renderRule),function w(j,C={}){if(Array.isArray(j)){const Z=C.key,L=[];let ce=!1;for(let pe=0;pe<j.length;pe++){C.key=pe;const Ee=w(j[pe],C),ze=typeof Ee=="string";ze&&ce?L[L.length-1]+=Ee:Ee!==null&&L.push(Ee),ce=ze}return C.key=Z,L}return te(j,w,C)});var te;const Q=y(t);return T.length?m("div",null,Q,m("footer",{key:"footer"},T.map(function(w){return m("div",{id:s(w.identifier,Wh),key:w.identifier},w.identifier,U(Y(w.footnote,{inline:!0})))}))):Q}const Hs=t=>{let{children:r="",options:s}=t,l=function(f,d){if(f==null)return{};var g,m,y={},_=Object.keys(f);for(m=0;m<_.length;m++)d.indexOf(g=_[m])>=0||(y[g]=f[g]);return y}(t,Hw);return X.cloneElement(PR(r,s),l)},VR="_generalConditionsContainer_55hjg_1",YR="_generalConditions_55hjg_1",ZR="_generalConditionsHeader_55hjg_15",XR="_generalConditionsBody_55hjg_26",KR="_generalConditionsAccept_55hjg_35",$h={generalConditionsContainer:VR,generalConditions:YR,generalConditionsHeader:ZR,generalConditionsBody:XR,generalConditionsAccept:KR},QR=()=>S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"currentColor",viewBox:"0 0 256 256",children:S.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"})}),WR=()=>S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"currentColor",viewBox:"0 0 256 256",children:S.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"})}),$R="general-conditions.header",JR="general-conditions.body",ob="general-conditions.accept-conditions-note",eC=()=>{const t=Qt(),[r,s]=X.useState(!1),l=()=>s(!r),f=m=>{m.key==="ArrowDown"||m.key==="ArrowRight"?s(!0):m.key==="ArrowUp"||m.key==="ArrowLeft"||m.key==="Escape"?s(!1):(m.key==="Enter"||m.key==="Space"||m.key===" ")&&l()},d=t($R),g=t(ob);return S.jsxs("div",{className:he($h.generalConditionsContainer,"chat__generalConditions"),children:[!!d?.length&&S.jsxs("div",{className:$h.generalConditions,children:[S.jsxs("div",{role:"button",onClick:l,onKeyDown:f,tabIndex:0,className:he($h.generalConditionsHeader,"chat__generalConditions__header"),"aria-controls":"general-conditions-body","aria-expanded":r?"true":"false","aria-pressed":r?"true":"false",children:[S.jsx(Hs,{children:d}),r?S.jsx(WR,{}):S.jsx(QR,{})]}),S.jsx("div",{className:he($h.generalConditionsBody,"chat__generalConditions__body"),id:"general-conditions-body",role:"region",tabIndex:-1,children:r&&S.jsx(Hs,{children:t(JR)||""})})]}),!!g?.length&&S.jsx("div",{className:he($h.generalConditionsAccept,"chat__generalConditions__accept"),tabIndex:0,children:S.jsx(Hs,{children:t(ob)||""})})]})},tC="_messageContainer_10k0p_1",nC="_message_10k0p_1",rC="_messageBot_10k0p_14",iC="_messageBotLast_10k0p_43",aC="_avatar_10k0p_43",sC="_messageBotFirst_10k0p_52",lC="_messageBotAnimated_10k0p_65",oC="_messageGuest_10k0p_76",uC="_messageGuestFirst_10k0p_82",cC="_messageGuestLast_10k0p_88",fC="_botAvatar_10k0p_102",hC="_agentAvatar_10k0p_106",dC="_bubble_10k0p_110",pC="_bubbleContent_10k0p_116",gC="_bubbleLeft_10k0p_130",mC="_leftText_10k0p_141",vC="_bubbleRight_10k0p_148",yC="_rightText_10k0p_158",_C="_sourceInfoReference_10k0p_190",bC="_sourceInfoReferenceActive_10k0p_202",qe={messageContainer:tC,message:nC,messageBot:rC,messageBotLast:iC,avatar:aC,messageBotFirst:sC,messageBotAnimated:lC,messageGuest:oC,messageGuestFirst:uC,messageGuestLast:cC,botAvatar:fC,agentAvatar:hC,bubble:dC,bubbleContent:pC,bubbleLeft:gC,leftText:mC,bubbleRight:vC,rightText:yC,sourceInfoReference:_C,sourceInfoReferenceActive:bC},sy=(t,r)=>{X.useEffect(()=>{const s=l=>{t.current&&!t.current.contains(l.target)&&r()};return document.addEventListener("mousedown",s),()=>document.removeEventListener("mousedown",s)},[t,r])};var od={exports:{}};/**
|
|
110
|
+
* @license
|
|
111
|
+
* Lodash <https://lodash.com/>
|
|
112
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
113
|
+
* Released under MIT license <https://lodash.com/license>
|
|
114
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
115
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
116
|
+
*/var EC=od.exports,ub;function SC(){return ub||(ub=1,function(t,r){(function(){var s,l="4.17.21",f=200,d="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",g="Expected a function",m="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",_=500,T="__lodash_placeholder__",R=1,D=2,Y=4,U=1,te=2,Q=1,w=2,j=4,C=8,Z=16,L=32,ce=64,pe=128,Ee=256,ze=512,Ze=30,xe="...",He=800,Ne=16,Mt=1,Fe=2,J=3,fe=1/0,ge=9007199254740991,We=17976931348623157e292,B=NaN,$=4294967295,de=$-1,le=$>>>1,Se=[["ary",pe],["bind",Q],["bindKey",w],["curry",C],["curryRight",Z],["flip",ze],["partial",L],["partialRight",ce],["rearg",Ee]],ye="[object Arguments]",Te="[object Array]",Vt="[object AsyncFunction]",lt="[object Boolean]",Wt="[object Date]",pi="[object DOMException]",Zr="[object Error]",Dt="[object Function]",zn="[object GeneratorFunction]",$t="[object Map]",Ui="[object Number]",Pl="[object Null]",Bt="[object Object]",es="[object Promise]",ts="[object Proxy]",Ii="[object RegExp]",wn="[object Set]",ns="[object String]",Hi="[object Symbol]",rs="[object Undefined]",Cr="[object WeakMap]",Nr="[object WeakSet]",an="[object ArrayBuffer]",Cn="[object DataView]",_n="[object Float32Array]",is="[object Float64Array]",qs="[object Int8Array]",ga="[object Int16Array]",Xr="[object Int32Array]",Nn="[object Uint8Array]",Mn="[object Uint8ClampedArray]",gi="[object Uint16Array]",Kr="[object Uint32Array]",Jc=/\b__p \+= '';/g,as=/\b(__p \+=) '' \+/g,ss=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Fs=/&(?:amp|lt|gt|quot|#39);/g,Mr=/[&<>"']/g,ef=RegExp(Fs.source),mu=RegExp(Mr.source),Jt=/<%-([\s\S]+?)%>/g,mi=/<%([\s\S]+?)%>/g,Ps=/<%=([\s\S]+?)%>/g,Vl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Yl=/^\w*$/,Qr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,en=/[\\^$.*+?()[\]{}|]/g,Dn=RegExp(en.source),un=/^\s+/,vi=/\s/,vu=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,yu=/\{\n\/\* \[wrapped with (.+)\] \*/,Vs=/,? & /,ma=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,fr=/[()=,{}\[\]\/\s]/,ji=/\\(\\)?/g,Gi=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,zi=/\w*$/,ki=/^[-+]0x[0-9a-f]+$/i,sn=/^0b[01]+$/i,Oe=/^\[object .+?Constructor\]$/,G=/^0o[0-7]+$/i,ue=/^(?:0|[1-9]\d*)$/,_e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,yt=/($^)/,cn=/['\n\r\u2028\u2029\\]/g,Ut="\\ud800-\\udfff",Ln="\\u0300-\\u036f",Kn="\\ufe20-\\ufe2f",yi="\\u20d0-\\u20ff",Qn=Ln+Kn+yi,tn="\\u2700-\\u27bf",Ys="a-z\\xdf-\\xf6\\xf8-\\xff",qi="\\xac\\xb1\\xd7\\xf7",tf="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",nf="\\u2000-\\u206f",kg=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",rf="A-Z\\xc0-\\xd6\\xd8-\\xde",hr="\\ufe0e\\ufe0f",af=qi+tf+nf+kg,sf="['’]",_u="["+Ut+"]",lf="["+af+"]",ls="["+Qn+"]",yd="\\d+",Dr="["+tn+"]",bu="["+Ys+"]",of="[^"+Ut+af+yd+tn+Ys+rf+"]",Zl="\\ud83c[\\udffb-\\udfff]",Zs="(?:"+ls+"|"+Zl+")",uf="[^"+Ut+"]",Eu="(?:\\ud83c[\\udde6-\\uddff]){2}",va="[\\ud800-\\udbff][\\udc00-\\udfff]",Xs="["+rf+"]",cf="\\u200d",ff="(?:"+bu+"|"+of+")",hf="(?:"+Xs+"|"+of+")",_d="(?:"+sf+"(?:d|ll|m|re|s|t|ve))?",bd="(?:"+sf+"(?:D|LL|M|RE|S|T|VE))?",Xl=Zs+"?",Su="["+hr+"]?",df="(?:"+cf+"(?:"+[uf,Eu,va].join("|")+")"+Su+Xl+")*",Ks="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Qs="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",pf=Su+Xl+df,gf="(?:"+[Dr,Eu,va].join("|")+")"+pf,Ed="(?:"+[uf+ls+"?",ls,Eu,va,_u].join("|")+")",Kl=RegExp(sf,"g"),Fi=RegExp(ls,"g"),Ql=RegExp(Zl+"(?="+Zl+")|"+Ed+pf,"g"),Wl=RegExp([Xs+"?"+bu+"+"+_d+"(?="+[lf,Xs,"$"].join("|")+")",hf+"+"+bd+"(?="+[lf,Xs+ff,"$"].join("|")+")",Xs+"?"+ff+"+"+_d,Xs+"+"+bd,Qs,Ks,yd,gf].join("|"),"g"),ya=RegExp("["+cf+Ut+Qn+hr+"]"),mf=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Tu=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Sd=-1,Tt={};Tt[_n]=Tt[is]=Tt[qs]=Tt[ga]=Tt[Xr]=Tt[Nn]=Tt[Mn]=Tt[gi]=Tt[Kr]=!0,Tt[ye]=Tt[Te]=Tt[an]=Tt[lt]=Tt[Cn]=Tt[Wt]=Tt[Zr]=Tt[Dt]=Tt[$t]=Tt[Ui]=Tt[Bt]=Tt[Ii]=Tt[wn]=Tt[ns]=Tt[Cr]=!1;var _t={};_t[ye]=_t[Te]=_t[an]=_t[Cn]=_t[lt]=_t[Wt]=_t[_n]=_t[is]=_t[qs]=_t[ga]=_t[Xr]=_t[$t]=_t[Ui]=_t[Bt]=_t[Ii]=_t[wn]=_t[ns]=_t[Hi]=_t[Nn]=_t[Mn]=_t[gi]=_t[Kr]=!0,_t[Zr]=_t[Dt]=_t[Cr]=!1;var Td={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Wn={"&":"&","<":"<",">":">",'"':""","'":"'"},os={"&":"&","<":"<",">":">",""":'"',"'":"'"},Au={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},$l=parseFloat,qg=parseInt,xu=typeof zl=="object"&&zl&&zl.Object===Object&&zl,vf=typeof self=="object"&&self&&self.Object===Object&&self,nn=xu||vf||Function("return this")(),Ws=r&&!r.nodeType&&r,_a=Ws&&!0&&t&&!t.nodeType&&t,Ad=_a&&_a.exports===Ws,yf=Ad&&xu.process,Lr=function(){try{var z=_a&&_a.require&&_a.require("util").types;return z||yf&&yf.binding&&yf.binding("util")}catch{}}(),Ou=Lr&&Lr.isArrayBuffer,xd=Lr&&Lr.isDate,Od=Lr&&Lr.isMap,wd=Lr&&Lr.isRegExp,Rd=Lr&&Lr.isSet,Cd=Lr&&Lr.isTypedArray;function $n(z,ee,W){switch(W.length){case 0:return z.call(ee);case 1:return z.call(ee,W[0]);case 2:return z.call(ee,W[0],W[1]);case 3:return z.call(ee,W[0],W[1],W[2])}return z.apply(ee,W)}function Fg(z,ee,W,me){for(var Be=-1,ot=z==null?0:z.length;++Be<ot;){var ln=z[Be];ee(me,ln,W(ln),z)}return me}function Br(z,ee){for(var W=-1,me=z==null?0:z.length;++W<me&&ee(z[W],W,z)!==!1;);return z}function Pg(z,ee){for(var W=z==null?0:z.length;W--&&ee(z[W],W,z)!==!1;);return z}function Nd(z,ee){for(var W=-1,me=z==null?0:z.length;++W<me;)if(!ee(z[W],W,z))return!1;return!0}function _i(z,ee){for(var W=-1,me=z==null?0:z.length,Be=0,ot=[];++W<me;){var ln=z[W];ee(ln,W,z)&&(ot[Be++]=ln)}return ot}function wu(z,ee){var W=z==null?0:z.length;return!!W&&$s(z,ee,0)>-1}function _f(z,ee,W){for(var me=-1,Be=z==null?0:z.length;++me<Be;)if(W(ee,z[me]))return!0;return!1}function jt(z,ee){for(var W=-1,me=z==null?0:z.length,Be=Array(me);++W<me;)Be[W]=ee(z[W],W,z);return Be}function Pi(z,ee){for(var W=-1,me=ee.length,Be=z.length;++W<me;)z[Be+W]=ee[W];return z}function bf(z,ee,W,me){var Be=-1,ot=z==null?0:z.length;for(me&&ot&&(W=z[++Be]);++Be<ot;)W=ee(W,z[Be],Be,z);return W}function Vg(z,ee,W,me){var Be=z==null?0:z.length;for(me&&Be&&(W=z[--Be]);Be--;)W=ee(W,z[Be],Be,z);return W}function Ef(z,ee){for(var W=-1,me=z==null?0:z.length;++W<me;)if(ee(z[W],W,z))return!0;return!1}var Yg=Cu("length");function Zg(z){return z.split("")}function Xg(z){return z.match(ma)||[]}function Md(z,ee,W){var me;return W(z,function(Be,ot,ln){if(ee(Be,ot,ln))return me=ot,!1}),me}function Ru(z,ee,W,me){for(var Be=z.length,ot=W+(me?1:-1);me?ot--:++ot<Be;)if(ee(z[ot],ot,z))return ot;return-1}function $s(z,ee,W){return ee===ee?$g(z,ee,W):Ru(z,Js,W)}function Sf(z,ee,W,me){for(var Be=W-1,ot=z.length;++Be<ot;)if(me(z[Be],ee))return Be;return-1}function Js(z){return z!==z}function Dd(z,ee){var W=z==null?0:z.length;return W?Mu(z,ee)/W:B}function Cu(z){return function(ee){return ee==null?s:ee[z]}}function Nu(z){return function(ee){return z==null?s:z[ee]}}function Tf(z,ee,W,me,Be){return Be(z,function(ot,ln,ut){W=me?(me=!1,ot):ee(W,ot,ln,ut)}),W}function Ld(z,ee){var W=z.length;for(z.sort(ee);W--;)z[W]=z[W].value;return z}function Mu(z,ee){for(var W,me=-1,Be=z.length;++me<Be;){var ot=ee(z[me]);ot!==s&&(W=W===s?ot:W+ot)}return W}function ba(z,ee){for(var W=-1,me=Array(z);++W<z;)me[W]=ee(W);return me}function Kg(z,ee){return jt(ee,function(W){return[W,z[W]]})}function Bd(z){return z&&z.slice(0,xf(z)+1).replace(un,"")}function dr(z){return function(ee){return z(ee)}}function Du(z,ee){return jt(ee,function(W){return z[W]})}function el(z,ee){return z.has(ee)}function tl(z,ee){for(var W=-1,me=z.length;++W<me&&$s(ee,z[W],0)>-1;);return W}function nl(z,ee){for(var W=z.length;W--&&$s(ee,z[W],0)>-1;);return W}function Qg(z,ee){for(var W=z.length,me=0;W--;)z[W]===ee&&++me;return me}var Lu=Nu(Td),Ud=Nu(Wn);function Id(z){return"\\"+Au[z]}function Af(z,ee){return z==null?s:z[ee]}function Ea(z){return ya.test(z)}function Hd(z){return mf.test(z)}function jd(z){for(var ee,W=[];!(ee=z.next()).done;)W.push(ee.value);return W}function Bu(z){var ee=-1,W=Array(z.size);return z.forEach(function(me,Be){W[++ee]=[Be,me]}),W}function Gd(z,ee){return function(W){return z(ee(W))}}function Sa(z,ee){for(var W=-1,me=z.length,Be=0,ot=[];++W<me;){var ln=z[W];(ln===ee||ln===T)&&(z[W]=T,ot[Be++]=W)}return ot}function Uu(z){var ee=-1,W=Array(z.size);return z.forEach(function(me){W[++ee]=me}),W}function Wg(z){var ee=-1,W=Array(z.size);return z.forEach(function(me){W[++ee]=[me,me]}),W}function $g(z,ee,W){for(var me=W-1,Be=z.length;++me<Be;)if(z[me]===ee)return me;return-1}function pr(z,ee,W){for(var me=W+1;me--;)if(z[me]===ee)return me;return me}function bi(z){return Ea(z)?kd(z):Yg(z)}function Ur(z){return Ea(z)?Of(z):Zg(z)}function xf(z){for(var ee=z.length;ee--&&vi.test(z.charAt(ee)););return ee}var zd=Nu(os);function kd(z){for(var ee=Ql.lastIndex=0;Ql.test(z);)++ee;return ee}function Of(z){return z.match(Ql)||[]}function Jg(z){return z.match(Wl)||[]}var rl=function z(ee){ee=ee==null?nn:Ta.defaults(nn.Object(),ee,Ta.pick(nn,Tu));var W=ee.Array,me=ee.Date,Be=ee.Error,ot=ee.Function,ln=ee.Math,ut=ee.Object,Iu=ee.RegExp,qd=ee.String,gr=ee.TypeError,Hu=W.prototype,em=ot.prototype,il=ut.prototype,Jl=ee["__core-js_shared__"],eo=em.toString,gt=il.hasOwnProperty,Wr=0,wf=function(){var a=/[^.]+$/.exec(Jl&&Jl.keys&&Jl.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),kn=il.toString,Ir=eo.call(ut),al=nn._,Rf=Iu("^"+eo.call(gt).replace(en,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),us=Ad?ee.Buffer:s,$r=ee.Symbol,sl=ee.Uint8Array,cs=us?us.allocUnsafe:s,to=Gd(ut.getPrototypeOf,ut),no=ut.create,fs=il.propertyIsEnumerable,ju=Hu.splice,Jn=$r?$r.isConcatSpreadable:s,hs=$r?$r.iterator:s,qn=$r?$r.toStringTag:s,ro=function(){try{var a=Da(ut,"defineProperty");return a({},"",{}),a}catch{}}(),Gu=ee.clearTimeout!==nn.clearTimeout&&ee.clearTimeout,ds=me&&me.now!==nn.Date.now&&me.now,Cf=ee.setTimeout!==nn.setTimeout&&ee.setTimeout,ll=ln.ceil,Vi=ln.floor,Aa=ut.getOwnPropertySymbols,zu=us?us.isBuffer:s,io=ee.isFinite,Hr=Hu.join,jr=Gd(ut.keys,ut),It=ln.max,Gt=ln.min,Yi=me.now,ps=ee.parseInt,Nf=ln.random,Mf=Hu.reverse,ao=Da(ee,"DataView"),fn=Da(ee,"Map"),zt=Da(ee,"Promise"),et=Da(ee,"Set"),Jr=Da(ee,"WeakMap"),er=Da(ut,"create"),ol=Jr&&new Jr,Gr={},Fd=ta(ao),Pd=ta(fn),so=ta(zt),lo=ta(et),Vd=ta(Jr),xa=$r?$r.prototype:s,gs=xa?xa.valueOf:s,Oa=xa?xa.toString:s;function A(a){if(Ft(a)&&!je(a)&&!(a instanceof Xe)){if(a instanceof tr)return a;if(gt.call(a,"__wrapped__"))return dn(a)}return new tr(a)}var mr=function(){function a(){}return function(o){if(!qt(o))return{};if(no)return no(o);a.prototype=o;var h=new a;return a.prototype=s,h}}();function zr(){}function tr(a,o){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!o,this.__index__=0,this.__values__=s}A.templateSettings={escape:Jt,evaluate:mi,interpolate:Ps,variable:"",imports:{_:A}},A.prototype=zr.prototype,A.prototype.constructor=A,tr.prototype=mr(zr.prototype),tr.prototype.constructor=tr;function Xe(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=$,this.__views__=[]}function oo(){var a=new Xe(this.__wrapped__);return a.__actions__=hn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=hn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=hn(this.__views__),a}function ku(){if(this.__filtered__){var a=new Xe(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function ms(){var a=this.__wrapped__.value(),o=this.__dir__,h=je(a),v=o<0,E=h?a.length:0,O=A0(0,E,this.__views__),N=O.start,I=O.end,q=I-N,ie=v?I:N-1,se=this.__iteratees__,oe=se.length,ve=0,we=Gt(q,this.__takeCount__);if(!h||!v&&E==q&&we==q)return c0(a,this.__actions__);var Ue=[];e:for(;q--&&ve<we;){ie+=o;for(var Qe=-1,Ie=a[ie];++Qe<oe;){var it=se[Qe],ft=it.iteratee,si=it.type,Tr=ft(Ie);if(si==Fe)Ie=Tr;else if(!Tr){if(si==Mt)continue e;break e}}Ue[ve++]=Ie}return Ue}Xe.prototype=mr(zr.prototype),Xe.prototype.constructor=Xe;function Yt(a){var o=-1,h=a==null?0:a.length;for(this.clear();++o<h;){var v=a[o];this.set(v[0],v[1])}}function qu(){this.__data__=er?er(null):{},this.size=0}function Yd(a){var o=this.has(a)&&delete this.__data__[a];return this.size-=o?1:0,o}function tm(a){var o=this.__data__;if(er){var h=o[a];return h===y?s:h}return gt.call(o,a)?o[a]:s}function nm(a){var o=this.__data__;return er?o[a]!==s:gt.call(o,a)}function rm(a,o){var h=this.__data__;return this.size+=this.has(a)?0:1,h[a]=er&&o===s?y:o,this}Yt.prototype.clear=qu,Yt.prototype.delete=Yd,Yt.prototype.get=tm,Yt.prototype.has=nm,Yt.prototype.set=rm;function wt(a){var o=-1,h=a==null?0:a.length;for(this.clear();++o<h;){var v=a[o];this.set(v[0],v[1])}}function Df(){this.__data__=[],this.size=0}function uo(a){var o=this.__data__,h=fl(o,a);if(h<0)return!1;var v=o.length-1;return h==v?o.pop():ju.call(o,h,1),--this.size,!0}function co(a){var o=this.__data__,h=fl(o,a);return h<0?s:o[h][1]}function Lf(a){return fl(this.__data__,a)>-1}function ul(a,o){var h=this.__data__,v=fl(h,a);return v<0?(++this.size,h.push([a,o])):h[v][1]=o,this}wt.prototype.clear=Df,wt.prototype.delete=uo,wt.prototype.get=co,wt.prototype.has=Lf,wt.prototype.set=ul;function nr(a){var o=-1,h=a==null?0:a.length;for(this.clear();++o<h;){var v=a[o];this.set(v[0],v[1])}}function im(){this.size=0,this.__data__={hash:new Yt,map:new(fn||wt),string:new Yt}}function Zd(a){var o=vl(this,a).delete(a);return this.size-=o?1:0,o}function am(a){return vl(this,a).get(a)}function Xd(a){return vl(this,a).has(a)}function vs(a,o){var h=vl(this,a),v=h.size;return h.set(a,o),this.size+=h.size==v?0:1,this}nr.prototype.clear=im,nr.prototype.delete=Zd,nr.prototype.get=am,nr.prototype.has=Xd,nr.prototype.set=vs;function Zi(a){var o=-1,h=a==null?0:a.length;for(this.__data__=new nr;++o<h;)this.add(a[o])}function Fu(a){return this.__data__.set(a,y),this}function Kd(a){return this.__data__.has(a)}Zi.prototype.add=Zi.prototype.push=Fu,Zi.prototype.has=Kd;function Fn(a){var o=this.__data__=new wt(a);this.size=o.size}function Qd(){this.__data__=new wt,this.size=0}function Pu(a){var o=this.__data__,h=o.delete(a);return this.size=o.size,h}function Bf(a){return this.__data__.get(a)}function Wd(a){return this.__data__.has(a)}function Vu(a,o){var h=this.__data__;if(h instanceof wt){var v=h.__data__;if(!fn||v.length<f-1)return v.push([a,o]),this.size=++h.size,this;h=this.__data__=new nr(v)}return h.set(a,o),this.size=h.size,this}Fn.prototype.clear=Qd,Fn.prototype.delete=Pu,Fn.prototype.get=Bf,Fn.prototype.has=Wd,Fn.prototype.set=Vu;function Uf(a,o){var h=je(a),v=!h&&aa(a),E=!h&&!v&&qa(a),O=!h&&!v&&!E&&Ml(a),N=h||v||E||O,I=N?ba(a.length,qd):[],q=I.length;for(var ie in a)(o||gt.call(a,ie))&&!(N&&(ie=="length"||E&&(ie=="offset"||ie=="parent")||O&&(ie=="buffer"||ie=="byteLength"||ie=="byteOffset")||ri(ie,q)))&&I.push(ie);return I}function cl(a){var o=a.length;return o?a[tc(0,o-1)]:s}function $d(a,o){return jo(hn(a),ti(o,0,a.length))}function Jd(a){return jo(hn(a))}function Ei(a,o,h){(h!==s&&!ur(a[o],h)||h===s&&!(o in a))&&ei(a,o,h)}function ys(a,o,h){var v=a[o];(!(gt.call(a,o)&&ur(v,h))||h===s&&!(o in a))&&ei(a,o,h)}function fl(a,o){for(var h=a.length;h--;)if(ur(a[h][0],o))return h;return-1}function wa(a,o,h,v){return Ki(a,function(E,O,N){o(v,E,h(E),N)}),v}function Xi(a,o){return a&&ar(o,mn(o),a)}function fo(a,o){return a&&ar(o,Sn(o),a)}function ei(a,o,h){o=="__proto__"&&ro?ro(a,o,{configurable:!0,enumerable:!0,value:h,writable:!0}):a[o]=h}function ho(a,o){for(var h=-1,v=o.length,E=W(v),O=a==null;++h<v;)E[h]=O?s:$o(a,o[h]);return E}function ti(a,o,h){return a===a&&(h!==s&&(a=a<=h?a:h),o!==s&&(a=a>=o?a:o)),a}function Bn(a,o,h,v,E,O){var N,I=o&R,q=o&D,ie=o&Y;if(h&&(N=E?h(a,v,E,O):h(a)),N!==s)return N;if(!qt(a))return a;var se=je(a);if(se){if(N=lh(a),!I)return hn(a,N)}else{var oe=En(a),ve=oe==Dt||oe==zn;if(qa(a))return Jf(a,I);if(oe==Bt||oe==ye||ve&&!E){if(N=q||ve?{}:oh(a),!I)return q?Oo(a,fo(N,a)):lc(a,Xi(N,a))}else{if(!_t[oe])return E?a:{};N=uh(a,oe,I)}}O||(O=new Fn);var we=O.get(a);if(we)return we;O.set(a,N),mp(a)?a.forEach(function(Ie){N.add(Bn(Ie,o,h,Ie,a,O))}):Dc(a)&&a.forEach(function(Ie,it){N.set(it,Bn(Ie,o,h,it,a,O))});var Ue=ie?q?fc:cc:q?Sn:mn,Qe=se?s:Ue(a);return Br(Qe||a,function(Ie,it){Qe&&(it=Ie,Ie=a[it]),ys(N,it,Bn(Ie,o,h,it,a,O))}),N}function e0(a){var o=mn(a);return function(h){return If(h,a,o)}}function If(a,o,h){var v=h.length;if(a==null)return!v;for(a=ut(a);v--;){var E=h[v],O=o[E],N=a[E];if(N===s&&!(E in a)||!O(N))return!1}return!0}function _s(a,o,h){if(typeof a!="function")throw new gr(g);return _l(function(){a.apply(s,h)},o)}function Ra(a,o,h,v){var E=-1,O=wu,N=!0,I=a.length,q=[],ie=o.length;if(!I)return q;h&&(o=jt(o,dr(h))),v?(O=_f,N=!1):o.length>=f&&(O=el,N=!1,o=new Zi(o));e:for(;++E<I;){var se=a[E],oe=h==null?se:h(se);if(se=v||se!==0?se:0,N&&oe===oe){for(var ve=ie;ve--;)if(o[ve]===oe)continue e;q.push(se)}else O(o,oe,v)||q.push(se)}return q}var Ki=rh(Un),Yu=rh(dl,!0);function Hf(a,o){var h=!0;return Ki(a,function(v,E,O){return h=!!o(v,E,O),h}),h}function ni(a,o,h){for(var v=-1,E=a.length;++v<E;){var O=a[v],N=o(O);if(N!=null&&(I===s?N===N&&!Yn(N):h(N,I)))var I=N,q=O}return q}function Ve(a,o,h,v){var E=a.length;for(h=ke(h),h<0&&(h=-h>E?0:E+h),v=v===s||v>E?E:ke(v),v<0&&(v+=E),v=h>v?0:Ni(v);h<v;)a[h++]=o;return a}function bt(a,o){var h=[];return Ki(a,function(v,E,O){o(v,E,O)&&h.push(v)}),h}function tt(a,o,h,v,E){var O=-1,N=a.length;for(h||(h=Ji),E||(E=[]);++O<N;){var I=a[O];o>0&&h(I)?o>1?tt(I,o-1,h,v,E):Pi(E,I):v||(E[E.length]=I)}return E}var hl=Os(),bs=Os(!0);function Un(a,o){return a&&hl(a,o,mn)}function dl(a,o){return a&&bs(a,o,mn)}function Ca(a,o){return _i(o,function(h){return ii(a[h])})}function kr(a,o){o=Wi(o,a);for(var h=0,v=o.length;a!=null&&h<v;)a=a[vt(o[h++])];return h&&h==v?a:s}function t0(a,o,h){var v=o(a);return je(a)?v:Pi(v,h(a))}function rt(a){return a==null?a===s?rs:Pl:qn&&qn in ut(a)?T0(a):C0(a)}function po(a,o){return a>o}function jf(a,o){return a!=null&>.call(a,o)}function n0(a,o){return a!=null&&o in ut(a)}function r0(a,o,h){return a>=Gt(o,h)&&a<It(o,h)}function Gf(a,o,h){for(var v=h?_f:wu,E=a[0].length,O=a.length,N=O,I=W(O),q=1/0,ie=[];N--;){var se=a[N];N&&o&&(se=jt(se,dr(o))),q=Gt(se.length,q),I[N]=!h&&(o||E>=120&&se.length>=120)?new Zi(N&&se):s}se=a[0];var oe=-1,ve=I[0];e:for(;++oe<E&&ie.length<q;){var we=se[oe],Ue=o?o(we):we;if(we=h||we!==0?we:0,!(ve?el(ve,Ue):v(ie,Ue,h))){for(N=O;--N;){var Qe=I[N];if(!(Qe?el(Qe,Ue):v(a[N],Ue,h)))continue e}ve&&ve.push(Ue),ie.push(we)}}return ie}function zf(a,o,h,v){return Un(a,function(E,O,N){o(v,h(E),O,N)}),v}function Es(a,o,h){o=Wi(o,a),a=yl(a,o);var v=a==null?a:a[vt(In(o))];return v==null?s:$n(v,a,h)}function Zu(a){return Ft(a)&&rt(a)==ye}function rr(a){return Ft(a)&&rt(a)==an}function on(a){return Ft(a)&&rt(a)==Wt}function Ss(a,o,h,v,E){return a===o?!0:a==null||o==null||!Ft(a)&&!Ft(o)?a!==a&&o!==o:go(a,o,h,v,Ss,E)}function go(a,o,h,v,E,O){var N=je(a),I=je(o),q=N?Te:En(a),ie=I?Te:En(o);q=q==ye?Bt:q,ie=ie==ye?Bt:ie;var se=q==Bt,oe=ie==Bt,ve=q==ie;if(ve&&qa(a)){if(!qa(o))return!1;N=!0,se=!1}if(ve&&!se)return O||(O=new Fn),N||Ml(a)?E0(a,o,h,v,E,O):S0(a,o,q,h,v,E,O);if(!(h&U)){var we=se&>.call(a,"__wrapped__"),Ue=oe&>.call(o,"__wrapped__");if(we||Ue){var Qe=we?a.value():a,Ie=Ue?o.value():o;return O||(O=new Fn),E(Qe,Ie,h,v,O)}}return ve?(O||(O=new Fn),bn(a,o,h,v,E,O)):!1}function Xu(a){return Ft(a)&&En(a)==$t}function mo(a,o,h,v){var E=h.length,O=E,N=!v;if(a==null)return!O;for(a=ut(a);E--;){var I=h[E];if(N&&I[2]?I[1]!==a[I[0]]:!(I[0]in a))return!1}for(;++E<O;){I=h[E];var q=I[0],ie=a[q],se=I[1];if(N&&I[2]){if(ie===s&&!(q in a))return!1}else{var oe=new Fn;if(v)var ve=v(ie,se,q,a,o,oe);if(!(ve===s?Ss(se,ie,U|te,v,oe):ve))return!1}}return!0}function Si(a){if(!qt(a)||vc(a))return!1;var o=ii(a)?Rf:Oe;return o.test(ta(a))}function Ku(a){return Ft(a)&&rt(a)==Ii}function kf(a){return Ft(a)&&En(a)==wn}function qf(a){return Ft(a)&&Ms(a.length)&&!!Tt[rt(a)]}function Ff(a){return typeof a=="function"?a:a==null?V:typeof a=="object"?je(a)?$u(a[0],a[1]):Vf(a):ct(a)}function Qu(a){if(!Rt(a))return jr(a);var o=[];for(var h in ut(a))gt.call(a,h)&&h!="constructor"&&o.push(h);return o}function i0(a){if(!qt(a))return La(a);var o=Rt(a),h=[];for(var v in a)v=="constructor"&&(o||!gt.call(a,v))||h.push(v);return h}function Wu(a,o){return a<o}function Pf(a,o){var h=-1,v=pn(a)?W(a.length):[];return Ki(a,function(E,O,N){v[++h]=o(E,O,N)}),v}function Vf(a){var o=dc(a);return o.length==1&&o[0][2]?w0(o[0][0],o[0][1]):function(h){return h===a||mo(h,a,o)}}function $u(a,o){return gc(a)&&O0(o)?w0(vt(a),o):function(h){var v=$o(h,a);return v===s&&v===o?Ul(h,a):Ss(o,v,U|te)}}function vo(a,o,h,v,E){a!==o&&hl(o,function(O,N){if(E||(E=new Fn),qt(O))sm(a,o,N,h,vo,v,E);else{var I=v?v(yc(a,N),O,N+"",a,o,E):s;I===s&&(I=O),Ei(a,N,I)}},Sn)}function sm(a,o,h,v,E,O,N){var I=yc(a,h),q=yc(o,h),ie=N.get(q);if(ie){Ei(a,h,ie);return}var se=O?O(I,q,h+"",a,o,N):s,oe=se===s;if(oe){var ve=je(q),we=!ve&&qa(q),Ue=!ve&&!we&&Ml(q);se=q,ve||we||Ue?je(I)?se=I:Kt(I)?se=hn(I):we?(oe=!1,se=Jf(q,!0)):Ue?(oe=!1,se=th(q,!0)):se=[]:Vr(q)||aa(q)?(se=I,aa(I)?se=_p(I):(!qt(I)||ii(I))&&(se=oh(q))):oe=!1}oe&&(N.set(q,se),E(se,q,v,O,N),N.delete(q)),Ei(a,h,se)}function Yf(a,o){var h=a.length;if(h)return o+=o<0?h:0,ri(o,h)?a[o]:s}function Zf(a,o,h){o.length?o=jt(o,function(O){return je(O)?function(N){return kr(N,O.length===1?O[0]:O)}:O}):o=[V];var v=-1;o=jt(o,dr(Ce()));var E=Pf(a,function(O,N,I){var q=jt(o,function(ie){return ie(O)});return{criteria:q,index:++v,value:O}});return Ld(E,function(O,N){return p0(O,N,h)})}function a0(a,o){return Ju(a,o,function(h,v){return Ul(a,v)})}function Ju(a,o,h){for(var v=-1,E=o.length,O={};++v<E;){var N=o[v],I=kr(a,N);h(I,N)&&gl(O,Wi(N,a),I)}return O}function s0(a){return function(o){return kr(o,a)}}function ec(a,o,h,v){var E=v?Sf:$s,O=-1,N=o.length,I=a;for(a===o&&(o=hn(o)),h&&(I=jt(a,dr(h)));++O<N;)for(var q=0,ie=o[O],se=h?h(ie):ie;(q=E(I,se,q,v))>-1;)I!==a&&ju.call(I,q,1),ju.call(a,q,1);return a}function Xf(a,o){for(var h=a?o.length:0,v=h-1;h--;){var E=o[h];if(h==v||E!==O){var O=E;ri(E)?ju.call(a,E,1):Eo(a,E)}}return a}function tc(a,o){return a+Vi(Nf()*(o-a+1))}function l0(a,o,h,v){for(var E=-1,O=It(ll((o-a)/(h||1)),0),N=W(O);O--;)N[v?O:++E]=a,a+=h;return N}function Kf(a,o){var h="";if(!a||o<1||o>ge)return h;do o%2&&(h+=a),o=Vi(o/2),o&&(a+=a);while(o);return h}function Pe(a,o){return Io(ch(a,o,V),a+"")}function pl(a){return cl(Hl(a))}function nc(a,o){var h=Hl(a);return jo(h,ti(o,0,h.length))}function gl(a,o,h,v){if(!qt(a))return a;o=Wi(o,a);for(var E=-1,O=o.length,N=O-1,I=a;I!=null&&++E<O;){var q=vt(o[E]),ie=h;if(q==="__proto__"||q==="constructor"||q==="prototype")return a;if(E!=N){var se=I[q];ie=v?v(se,q,I):s,ie===s&&(ie=qt(se)?se:ri(o[E+1])?[]:{})}ys(I,q,ie),I=I[q]}return a}var yo=ol?function(a,o){return ol.set(a,o),a}:V,_o=ro?function(a,o){return ro(a,"toString",{configurable:!0,enumerable:!1,value:P(o),writable:!0})}:V;function o0(a){return jo(Hl(a))}function vr(a,o,h){var v=-1,E=a.length;o<0&&(o=-o>E?0:E+o),h=h>E?E:h,h<0&&(h+=E),E=o>h?0:h-o>>>0,o>>>=0;for(var O=W(E);++v<E;)O[v]=a[v+o];return O}function u0(a,o){var h;return Ki(a,function(v,E,O){return h=o(v,E,O),!h}),!!h}function bo(a,o,h){var v=0,E=a==null?v:a.length;if(typeof o=="number"&&o===o&&E<=le){for(;v<E;){var O=v+E>>>1,N=a[O];N!==null&&!Yn(N)&&(h?N<=o:N<o)?v=O+1:E=O}return E}return rc(a,o,V,h)}function rc(a,o,h,v){var E=0,O=a==null?0:a.length;if(O===0)return 0;o=h(o);for(var N=o!==o,I=o===null,q=Yn(o),ie=o===s;E<O;){var se=Vi((E+O)/2),oe=h(a[se]),ve=oe!==s,we=oe===null,Ue=oe===oe,Qe=Yn(oe);if(N)var Ie=v||Ue;else ie?Ie=Ue&&(v||ve):I?Ie=Ue&&ve&&(v||!we):q?Ie=Ue&&ve&&!we&&(v||!Qe):we||Qe?Ie=!1:Ie=v?oe<=o:oe<o;Ie?E=se+1:O=se}return Gt(O,de)}function Qf(a,o){for(var h=-1,v=a.length,E=0,O=[];++h<v;){var N=a[h],I=o?o(N):N;if(!h||!ur(I,q)){var q=I;O[E++]=N===0?0:N}}return O}function ic(a){return typeof a=="number"?a:Yn(a)?B:+a}function ir(a){if(typeof a=="string")return a;if(je(a))return jt(a,ir)+"";if(Yn(a))return Oa?Oa.call(a):"";var o=a+"";return o=="0"&&1/a==-fe?"-0":o}function Qi(a,o,h){var v=-1,E=wu,O=a.length,N=!0,I=[],q=I;if(h)N=!1,E=_f;else if(O>=f){var ie=o?null:_0(a);if(ie)return Uu(ie);N=!1,E=el,q=new Zi}else q=o?[]:I;e:for(;++v<O;){var se=a[v],oe=o?o(se):se;if(se=h||se!==0?se:0,N&&oe===oe){for(var ve=q.length;ve--;)if(q[ve]===oe)continue e;o&&q.push(oe),I.push(se)}else E(q,oe,h)||(q!==I&&q.push(oe),I.push(se))}return I}function Eo(a,o){return o=Wi(o,a),a=yl(a,o),a==null||delete a[vt(In(o))]}function Wf(a,o,h,v){return gl(a,o,h(kr(a,o)),v)}function So(a,o,h,v){for(var E=a.length,O=v?E:-1;(v?O--:++O<E)&&o(a[O],O,a););return h?vr(a,v?0:O,v?O+1:E):vr(a,v?O+1:0,v?E:O)}function c0(a,o){var h=a;return h instanceof Xe&&(h=h.value()),bf(o,function(v,E){return E.func.apply(E.thisArg,Pi([v],E.args))},h)}function To(a,o,h){var v=a.length;if(v<2)return v?Qi(a[0]):[];for(var E=-1,O=W(v);++E<v;)for(var N=a[E],I=-1;++I<v;)I!=E&&(O[E]=Ra(O[E]||N,a[I],o,h));return Qi(tt(O,1),o,h)}function $f(a,o,h){for(var v=-1,E=a.length,O=o.length,N={};++v<E;){var I=v<O?o[v]:s;h(N,a[v],I)}return N}function ac(a){return Kt(a)?a:[]}function Ao(a){return typeof a=="function"?a:V}function Wi(a,o){return je(a)?a:gc(a,o)?[a]:Oi(mt(a))}var f0=Pe;function Na(a,o,h){var v=a.length;return h=h===s?v:h,!o&&h>=v?a:vr(a,o,h)}var h0=Gu||function(a){return nn.clearTimeout(a)};function Jf(a,o){if(o)return a.slice();var h=a.length,v=cs?cs(h):new a.constructor(h);return a.copy(v),v}function Ts(a){var o=new a.constructor(a.byteLength);return new sl(o).set(new sl(a)),o}function eh(a,o){var h=o?Ts(a.buffer):a.buffer;return new a.constructor(h,a.byteOffset,a.byteLength)}function sc(a){var o=new a.constructor(a.source,zi.exec(a));return o.lastIndex=a.lastIndex,o}function d0(a){return gs?ut(gs.call(a)):{}}function th(a,o){var h=o?Ts(a.buffer):a.buffer;return new a.constructor(h,a.byteOffset,a.length)}function xo(a,o){if(a!==o){var h=a!==s,v=a===null,E=a===a,O=Yn(a),N=o!==s,I=o===null,q=o===o,ie=Yn(o);if(!I&&!ie&&!O&&a>o||O&&N&&q&&!I&&!ie||v&&N&&q||!h&&q||!E)return 1;if(!v&&!O&&!ie&&a<o||ie&&h&&E&&!v&&!O||I&&h&&E||!N&&E||!q)return-1}return 0}function p0(a,o,h){for(var v=-1,E=a.criteria,O=o.criteria,N=E.length,I=h.length;++v<N;){var q=xo(E[v],O[v]);if(q){if(v>=I)return q;var ie=h[v];return q*(ie=="desc"?-1:1)}}return a.index-o.index}function nh(a,o,h,v){for(var E=-1,O=a.length,N=h.length,I=-1,q=o.length,ie=It(O-N,0),se=W(q+ie),oe=!v;++I<q;)se[I]=o[I];for(;++E<N;)(oe||E<O)&&(se[h[E]]=a[E]);for(;ie--;)se[I++]=a[E++];return se}function g0(a,o,h,v){for(var E=-1,O=a.length,N=-1,I=h.length,q=-1,ie=o.length,se=It(O-I,0),oe=W(se+ie),ve=!v;++E<se;)oe[E]=a[E];for(var we=E;++q<ie;)oe[we+q]=o[q];for(;++N<I;)(ve||E<O)&&(oe[we+h[N]]=a[E++]);return oe}function hn(a,o){var h=-1,v=a.length;for(o||(o=W(v));++h<v;)o[h]=a[h];return o}function ar(a,o,h,v){var E=!h;h||(h={});for(var O=-1,N=o.length;++O<N;){var I=o[O],q=v?v(h[I],a[I],I,h,a):s;q===s&&(q=a[I]),E?ei(h,I,q):ys(h,I,q)}return h}function lc(a,o){return ar(a,Do(a),o)}function Oo(a,o){return ar(a,pc(a),o)}function As(a,o){return function(h,v){var E=je(h)?Fg:wa,O=o?o():{};return E(h,a,Ce(v,2),O)}}function xs(a){return Pe(function(o,h){var v=-1,E=h.length,O=E>1?h[E-1]:s,N=E>2?h[2]:s;for(O=a.length>3&&typeof O=="function"?(E--,O):s,N&&Vn(h[0],h[1],N)&&(O=E<3?s:O,E=1),o=ut(o);++v<E;){var I=h[v];I&&a(o,I,v,O)}return o})}function rh(a,o){return function(h,v){if(h==null)return h;if(!pn(h))return a(h,v);for(var E=h.length,O=o?E:-1,N=ut(h);(o?O--:++O<E)&&v(N[O],O,N)!==!1;);return h}}function Os(a){return function(o,h,v){for(var E=-1,O=ut(o),N=v(o),I=N.length;I--;){var q=N[a?I:++E];if(h(O[q],q,O)===!1)break}return o}}function m0(a,o,h){var v=o&Q,E=qr(a);function O(){var N=this&&this!==nn&&this instanceof O?E:a;return N.apply(v?h:this,arguments)}return O}function yr(a){return function(o){o=mt(o);var h=Ea(o)?Ur(o):s,v=h?h[0]:o.charAt(0),E=h?Na(h,1).join(""):o.slice(1);return v[a]()+E}}function Pn(a){return function(o){return bf(c(sa(o).replace(Kl,"")),a,"")}}function qr(a){return function(){var o=arguments;switch(o.length){case 0:return new a;case 1:return new a(o[0]);case 2:return new a(o[0],o[1]);case 3:return new a(o[0],o[1],o[2]);case 4:return new a(o[0],o[1],o[2],o[3]);case 5:return new a(o[0],o[1],o[2],o[3],o[4]);case 6:return new a(o[0],o[1],o[2],o[3],o[4],o[5]);case 7:return new a(o[0],o[1],o[2],o[3],o[4],o[5],o[6])}var h=mr(a.prototype),v=a.apply(h,o);return qt(v)?v:h}}function v0(a,o,h){var v=qr(a);function E(){for(var O=arguments.length,N=W(O),I=O,q=Rs(E);I--;)N[I]=arguments[I];var ie=O<3&&N[0]!==q&&N[O-1]!==q?[]:Sa(N,q);if(O-=ie.length,O<h)return ih(a,o,Zt,E.placeholder,s,N,ie,s,s,h-O);var se=this&&this!==nn&&this instanceof E?v:a;return $n(se,this,N)}return E}function $i(a){return function(o,h,v){var E=ut(o);if(!pn(o)){var O=Ce(h,3);o=mn(o),h=function(I){return O(E[I],I,E)}}var N=a(o,h,v);return N>-1?E[O?o[N]:N]:s}}function Ti(a){return Ht(function(o){var h=o.length,v=h,E=tr.prototype.thru;for(a&&o.reverse();v--;){var O=o[v];if(typeof O!="function")throw new gr(g);if(E&&!N&&Mo(O)=="wrapper")var N=new tr([],!0)}for(v=N?v:h;++v<h;){O=o[v];var I=Mo(O),q=I=="wrapper"?hc(O):s;q&&mc(q[0])&&q[1]==(pe|C|L|Ee)&&!q[4].length&&q[9]==1?N=N[Mo(q[0])].apply(N,q[3]):N=O.length==1&&mc(O)?N[I]():N.thru(O)}return function(){var ie=arguments,se=ie[0];if(N&&ie.length==1&&je(se))return N.plant(se).value();for(var oe=0,ve=h?o[oe].apply(this,ie):se;++oe<h;)ve=o[oe].call(this,ve);return ve}})}function Zt(a,o,h,v,E,O,N,I,q,ie){var se=o&pe,oe=o&Q,ve=o&w,we=o&(C|Z),Ue=o&ze,Qe=ve?s:qr(a);function Ie(){for(var it=arguments.length,ft=W(it),si=it;si--;)ft[si]=arguments[si];if(we)var Tr=Rs(Ie),li=Qg(ft,Tr);if(v&&(ft=nh(ft,v,E,we)),O&&(ft=g0(ft,O,N,we)),it-=li,we&&it<ie){var vn=Sa(ft,Tr);return ih(a,o,Zt,Ie.placeholder,h,ft,vn,I,q,ie-it)}var la=oe?h:this,Ds=ve?la[a]:a;return it=ft.length,I?ft=xi(ft,I):Ue&&it>1&&ft.reverse(),se&&q<it&&(ft.length=q),this&&this!==nn&&this instanceof Ie&&(Ds=Qe||qr(Ds)),Ds.apply(la,ft)}return Ie}function wo(a,o){return function(h,v){return zf(h,a,o(v),{})}}function ml(a,o){return function(h,v){var E;if(h===s&&v===s)return o;if(h!==s&&(E=h),v!==s){if(E===s)return v;typeof h=="string"||typeof v=="string"?(h=ir(h),v=ir(v)):(h=ic(h),v=ic(v)),E=a(h,v)}return E}}function Ro(a){return Ht(function(o){return o=jt(o,dr(Ce())),Pe(function(h){var v=this;return a(o,function(E){return $n(E,v,h)})})})}function Co(a,o){o=o===s?" ":ir(o);var h=o.length;if(h<2)return h?Kf(o,a):o;var v=Kf(o,ll(a/bi(o)));return Ea(o)?Na(Ur(v),0,a).join(""):v.slice(0,a)}function y0(a,o,h,v){var E=o&Q,O=qr(a);function N(){for(var I=-1,q=arguments.length,ie=-1,se=v.length,oe=W(se+q),ve=this&&this!==nn&&this instanceof N?O:a;++ie<se;)oe[ie]=v[ie];for(;q--;)oe[ie++]=arguments[++I];return $n(ve,E?h:this,oe)}return N}function Ma(a){return function(o,h,v){return v&&typeof v!="number"&&Vn(o,h,v)&&(h=v=s),o=Ci(o),h===s?(h=o,o=0):h=Ci(h),v=v===s?o<h?1:-1:Ci(v),l0(o,h,v,a)}}function ws(a){return function(o,h){return typeof o=="string"&&typeof h=="string"||(o=Yr(o),h=Yr(h)),a(o,h)}}function ih(a,o,h,v,E,O,N,I,q,ie){var se=o&C,oe=se?N:s,ve=se?s:N,we=se?O:s,Ue=se?s:O;o|=se?L:ce,o&=~(se?ce:L),o&j||(o&=-4);var Qe=[a,o,E,we,oe,Ue,ve,I,q,ie],Ie=h.apply(s,Qe);return mc(a)&&_c(Ie,Qe),Ie.placeholder=v,bc(Ie,a,o)}function oc(a){var o=ln[a];return function(h,v){if(h=Yr(h),v=v==null?0:Gt(ke(v),292),v&&io(h)){var E=(mt(h)+"e").split("e"),O=o(E[0]+"e"+(+E[1]+v));return E=(mt(O)+"e").split("e"),+(E[0]+"e"+(+E[1]-v))}return o(h)}}var _0=et&&1/Uu(new et([,-0]))[1]==fe?function(a){return new et(a)}:be;function No(a){return function(o){var h=En(o);return h==$t?Bu(o):h==wn?Wg(o):Kg(o,a(o))}}function Ai(a,o,h,v,E,O,N,I){var q=o&w;if(!q&&typeof a!="function")throw new gr(g);var ie=v?v.length:0;if(ie||(o&=-97,v=E=s),N=N===s?N:It(ke(N),0),I=I===s?I:ke(I),ie-=E?E.length:0,o&ce){var se=v,oe=E;v=E=s}var ve=q?s:hc(a),we=[a,o,h,v,E,se,oe,O,N,I];if(ve&&Uo(we,ve),a=we[0],o=we[1],h=we[2],v=we[3],E=we[4],I=we[9]=we[9]===s?q?0:a.length:It(we[9]-ie,0),!I&&o&(C|Z)&&(o&=-25),!o||o==Q)var Ue=m0(a,o,h);else o==C||o==Z?Ue=v0(a,o,I):(o==L||o==(Q|L))&&!E.length?Ue=y0(a,o,h,v):Ue=Zt.apply(s,we);var Qe=ve?yo:_c;return bc(Qe(Ue,we),a,o)}function uc(a,o,h,v){return a===s||ur(a,il[h])&&!gt.call(v,h)?o:a}function ah(a,o,h,v,E,O){return qt(a)&&qt(o)&&(O.set(o,a),vo(a,o,s,ah,O),O.delete(o)),a}function b0(a){return Vr(a)?s:a}function E0(a,o,h,v,E,O){var N=h&U,I=a.length,q=o.length;if(I!=q&&!(N&&q>I))return!1;var ie=O.get(a),se=O.get(o);if(ie&&se)return ie==o&&se==a;var oe=-1,ve=!0,we=h&te?new Zi:s;for(O.set(a,o),O.set(o,a);++oe<I;){var Ue=a[oe],Qe=o[oe];if(v)var Ie=N?v(Qe,Ue,oe,o,a,O):v(Ue,Qe,oe,a,o,O);if(Ie!==s){if(Ie)continue;ve=!1;break}if(we){if(!Ef(o,function(it,ft){if(!el(we,ft)&&(Ue===it||E(Ue,it,h,v,O)))return we.push(ft)})){ve=!1;break}}else if(!(Ue===Qe||E(Ue,Qe,h,v,O))){ve=!1;break}}return O.delete(a),O.delete(o),ve}function S0(a,o,h,v,E,O,N){switch(h){case Cn:if(a.byteLength!=o.byteLength||a.byteOffset!=o.byteOffset)return!1;a=a.buffer,o=o.buffer;case an:return!(a.byteLength!=o.byteLength||!O(new sl(a),new sl(o)));case lt:case Wt:case Ui:return ur(+a,+o);case Zr:return a.name==o.name&&a.message==o.message;case Ii:case ns:return a==o+"";case $t:var I=Bu;case wn:var q=v&U;if(I||(I=Uu),a.size!=o.size&&!q)return!1;var ie=N.get(a);if(ie)return ie==o;v|=te,N.set(a,o);var se=E0(I(a),I(o),v,E,O,N);return N.delete(a),se;case Hi:if(gs)return gs.call(a)==gs.call(o)}return!1}function bn(a,o,h,v,E,O){var N=h&U,I=cc(a),q=I.length,ie=cc(o),se=ie.length;if(q!=se&&!N)return!1;for(var oe=q;oe--;){var ve=I[oe];if(!(N?ve in o:gt.call(o,ve)))return!1}var we=O.get(a),Ue=O.get(o);if(we&&Ue)return we==o&&Ue==a;var Qe=!0;O.set(a,o),O.set(o,a);for(var Ie=N;++oe<q;){ve=I[oe];var it=a[ve],ft=o[ve];if(v)var si=N?v(ft,it,ve,o,a,O):v(it,ft,ve,a,o,O);if(!(si===s?it===ft||E(it,ft,h,v,O):si)){Qe=!1;break}Ie||(Ie=ve=="constructor")}if(Qe&&!Ie){var Tr=a.constructor,li=o.constructor;Tr!=li&&"constructor"in a&&"constructor"in o&&!(typeof Tr=="function"&&Tr instanceof Tr&&typeof li=="function"&&li instanceof li)&&(Qe=!1)}return O.delete(a),O.delete(o),Qe}function Ht(a){return Io(ch(a,s,lr),a+"")}function cc(a){return t0(a,mn,Do)}function fc(a){return t0(a,Sn,pc)}var hc=ol?function(a){return ol.get(a)}:be;function Mo(a){for(var o=a.name+"",h=Gr[o],v=gt.call(Gr,o)?h.length:0;v--;){var E=h[v],O=E.func;if(O==null||O==a)return E.name}return o}function Rs(a){var o=gt.call(A,"placeholder")?A:a;return o.placeholder}function Ce(){var a=A.iteratee||De;return a=a===De?Ff:a,arguments.length?a(arguments[0],arguments[1]):a}function vl(a,o){var h=a.__data__;return ea(o)?h[typeof o=="string"?"string":"hash"]:h.map}function dc(a){for(var o=mn(a),h=o.length;h--;){var v=o[h],E=a[v];o[h]=[v,E,O0(E)]}return o}function Da(a,o){var h=Af(a,o);return Si(h)?h:s}function T0(a){var o=gt.call(a,qn),h=a[qn];try{a[qn]=s;var v=!0}catch{}var E=kn.call(a);return v&&(o?a[qn]=h:delete a[qn]),E}var Do=Aa?function(a){return a==null?[]:(a=ut(a),_i(Aa(a),function(o){return fs.call(a,o)}))}:Fm,pc=Aa?function(a){for(var o=[];a;)Pi(o,Do(a)),a=to(a);return o}:Fm,En=rt;(ao&&En(new ao(new ArrayBuffer(1)))!=Cn||fn&&En(new fn)!=$t||zt&&En(zt.resolve())!=es||et&&En(new et)!=wn||Jr&&En(new Jr)!=Cr)&&(En=function(a){var o=rt(a),h=o==Bt?a.constructor:s,v=h?ta(h):"";if(v)switch(v){case Fd:return Cn;case Pd:return $t;case so:return es;case lo:return wn;case Vd:return Cr}return o});function A0(a,o,h){for(var v=-1,E=h.length;++v<E;){var O=h[v],N=O.size;switch(O.type){case"drop":a+=N;break;case"dropRight":o-=N;break;case"take":o=Gt(o,a+N);break;case"takeRight":a=It(a,o-N);break}}return{start:a,end:o}}function sh(a){var o=a.match(yu);return o?o[1].split(Vs):[]}function Lo(a,o,h){o=Wi(o,a);for(var v=-1,E=o.length,O=!1;++v<E;){var N=vt(o[v]);if(!(O=a!=null&&h(a,N)))break;a=a[N]}return O||++v!=E?O:(E=a==null?0:a.length,!!E&&Ms(E)&&ri(N,E)&&(je(a)||aa(a)))}function lh(a){var o=a.length,h=new a.constructor(o);return o&&typeof a[0]=="string"&>.call(a,"index")&&(h.index=a.index,h.input=a.input),h}function oh(a){return typeof a.constructor=="function"&&!Rt(a)?mr(to(a)):{}}function uh(a,o,h){var v=a.constructor;switch(o){case an:return Ts(a);case lt:case Wt:return new v(+a);case Cn:return eh(a,h);case _n:case is:case qs:case ga:case Xr:case Nn:case Mn:case gi:case Kr:return th(a,h);case $t:return new v;case Ui:case ns:return new v(a);case Ii:return sc(a);case wn:return new v;case Hi:return d0(a)}}function x0(a,o){var h=o.length;if(!h)return a;var v=h-1;return o[v]=(h>1?"& ":"")+o[v],o=o.join(h>2?", ":" "),a.replace(vu,`{
|
|
117
|
+
/* [wrapped with `+o+`] */
|
|
118
|
+
`)}function Ji(a){return je(a)||aa(a)||!!(Jn&&a&&a[Jn])}function ri(a,o){var h=typeof a;return o=o??ge,!!o&&(h=="number"||h!="symbol"&&ue.test(a))&&a>-1&&a%1==0&&a<o}function Vn(a,o,h){if(!qt(h))return!1;var v=typeof o;return(v=="number"?pn(h)&&ri(o,h.length):v=="string"&&o in h)?ur(h[o],a):!1}function gc(a,o){if(je(a))return!1;var h=typeof a;return h=="number"||h=="symbol"||h=="boolean"||a==null||Yn(a)?!0:Yl.test(a)||!Vl.test(a)||o!=null&&a in ut(o)}function ea(a){var o=typeof a;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?a!=="__proto__":a===null}function mc(a){var o=Mo(a),h=A[o];if(typeof h!="function"||!(o in Xe.prototype))return!1;if(a===h)return!0;var v=hc(h);return!!v&&a===v[0]}function vc(a){return!!wf&&wf in a}var Bo=Jl?ii:Pm;function Rt(a){var o=a&&a.constructor,h=typeof o=="function"&&o.prototype||il;return a===h}function O0(a){return a===a&&!qt(a)}function w0(a,o){return function(h){return h==null?!1:h[a]===o&&(o!==s||a in ut(h))}}function R0(a){var o=Yo(a,function(v){return h.size===_&&h.clear(),v}),h=o.cache;return o}function Uo(a,o){var h=a[1],v=o[1],E=h|v,O=E<(Q|w|pe),N=v==pe&&h==C||v==pe&&h==Ee&&a[7].length<=o[8]||v==(pe|Ee)&&o[7].length<=o[8]&&h==C;if(!(O||N))return a;v&Q&&(a[2]=o[2],E|=h&Q?0:j);var I=o[3];if(I){var q=a[3];a[3]=q?nh(q,I,o[4]):I,a[4]=q?Sa(a[3],T):o[4]}return I=o[5],I&&(q=a[5],a[5]=q?g0(q,I,o[6]):I,a[6]=q?Sa(a[5],T):o[6]),I=o[7],I&&(a[7]=I),v&pe&&(a[8]=a[8]==null?o[8]:Gt(a[8],o[8])),a[9]==null&&(a[9]=o[9]),a[0]=o[0],a[1]=E,a}function La(a){var o=[];if(a!=null)for(var h in ut(a))o.push(h);return o}function C0(a){return kn.call(a)}function ch(a,o,h){return o=It(o===s?a.length-1:o,0),function(){for(var v=arguments,E=-1,O=It(v.length-o,0),N=W(O);++E<O;)N[E]=v[o+E];E=-1;for(var I=W(o+1);++E<o;)I[E]=v[E];return I[o]=h(N),$n(a,this,I)}}function yl(a,o){return o.length<2?a:kr(a,vr(o,0,-1))}function xi(a,o){for(var h=a.length,v=Gt(o.length,h),E=hn(a);v--;){var O=o[v];a[v]=ri(O,h)?E[O]:s}return a}function yc(a,o){if(!(o==="constructor"&&typeof a[o]=="function")&&o!="__proto__")return a[o]}var _c=Ho(yo),_l=Cf||function(a,o){return nn.setTimeout(a,o)},Io=Ho(_o);function bc(a,o,h){var v=o+"";return Io(a,x0(v,N0(sh(v),h)))}function Ho(a){var o=0,h=0;return function(){var v=Yi(),E=Ne-(v-h);if(h=v,E>0){if(++o>=He)return arguments[0]}else o=0;return a.apply(s,arguments)}}function jo(a,o){var h=-1,v=a.length,E=v-1;for(o=o===s?v:o;++h<o;){var O=tc(h,E),N=a[O];a[O]=a[h],a[h]=N}return a.length=o,a}var Oi=R0(function(a){var o=[];return a.charCodeAt(0)===46&&o.push(""),a.replace(Qr,function(h,v,E,O){o.push(E?O.replace(ji,"$1"):v||h)}),o});function vt(a){if(typeof a=="string"||Yn(a))return a;var o=a+"";return o=="0"&&1/a==-fe?"-0":o}function ta(a){if(a!=null){try{return eo.call(a)}catch{}try{return a+""}catch{}}return""}function N0(a,o){return Br(Se,function(h){var v="_."+h[0];o&h[1]&&!wu(a,v)&&a.push(v)}),a.sort()}function dn(a){if(a instanceof Xe)return a.clone();var o=new tr(a.__wrapped__,a.__chain__);return o.__actions__=hn(a.__actions__),o.__index__=a.__index__,o.__values__=a.__values__,o}function lm(a,o,h){(h?Vn(a,o,h):o===s)?o=1:o=It(ke(o),0);var v=a==null?0:a.length;if(!v||o<1)return[];for(var E=0,O=0,N=W(ll(v/o));E<v;)N[O++]=vr(a,E,E+=o);return N}function M0(a){for(var o=-1,h=a==null?0:a.length,v=0,E=[];++o<h;){var O=a[o];O&&(E[v++]=O)}return E}function D0(){var a=arguments.length;if(!a)return[];for(var o=W(a-1),h=arguments[0],v=a;v--;)o[v-1]=arguments[v];return Pi(je(h)?hn(h):[h],tt(o,1))}var kt=Pe(function(a,o){return Kt(a)?Ra(a,tt(o,1,Kt,!0)):[]}),sr=Pe(function(a,o){var h=In(o);return Kt(h)&&(h=s),Kt(a)?Ra(a,tt(o,1,Kt,!0),Ce(h,2)):[]}),na=Pe(function(a,o){var h=In(o);return Kt(h)&&(h=s),Kt(a)?Ra(a,tt(o,1,Kt,!0),s,h):[]});function L0(a,o,h){var v=a==null?0:a.length;return v?(o=h||o===s?1:ke(o),vr(a,o<0?0:o,v)):[]}function B0(a,o,h){var v=a==null?0:a.length;return v?(o=h||o===s?1:ke(o),o=v-o,vr(a,0,o<0?0:o)):[]}function om(a,o){return a&&a.length?So(a,Ce(o,3),!0,!0):[]}function fh(a,o){return a&&a.length?So(a,Ce(o,3),!0):[]}function _r(a,o,h,v){var E=a==null?0:a.length;return E?(h&&typeof h!="number"&&Vn(a,o,h)&&(h=0,v=E),Ve(a,o,h,v)):[]}function Fr(a,o,h){var v=a==null?0:a.length;if(!v)return-1;var E=h==null?0:ke(h);return E<0&&(E=It(v+E,0)),Ru(a,Ce(o,3),E)}function hh(a,o,h){var v=a==null?0:a.length;if(!v)return-1;var E=v-1;return h!==s&&(E=ke(h),E=h<0?It(v+E,0):Gt(E,v-1)),Ru(a,Ce(o,3),E,!0)}function lr(a){var o=a==null?0:a.length;return o?tt(a,1):[]}function U0(a){var o=a==null?0:a.length;return o?tt(a,fe):[]}function Ba(a,o){var h=a==null?0:a.length;return h?(o=o===s?1:ke(o),tt(a,o)):[]}function Cs(a){for(var o=-1,h=a==null?0:a.length,v={};++o<h;){var E=a[o];v[E[0]]=E[1]}return v}function ra(a){return a&&a.length?a[0]:s}function dh(a,o,h){var v=a==null?0:a.length;if(!v)return-1;var E=h==null?0:ke(h);return E<0&&(E=It(v+E,0)),$s(a,o,E)}function ph(a){var o=a==null?0:a.length;return o?vr(a,0,-1):[]}var wi=Pe(function(a){var o=jt(a,ac);return o.length&&o[0]===a[0]?Gf(o):[]}),I0=Pe(function(a){var o=In(a),h=jt(a,ac);return o===In(h)?o=s:h.pop(),h.length&&h[0]===a[0]?Gf(h,Ce(o,2)):[]}),bl=Pe(function(a){var o=In(a),h=jt(a,ac);return o=typeof o=="function"?o:s,o&&h.pop(),h.length&&h[0]===a[0]?Gf(h,s,o):[]});function Go(a,o){return a==null?"":Hr.call(a,o)}function In(a){var o=a==null?0:a.length;return o?a[o-1]:s}function El(a,o,h){var v=a==null?0:a.length;if(!v)return-1;var E=v;return h!==s&&(E=ke(h),E=E<0?It(v+E,0):Gt(E,v-1)),o===o?pr(a,o,E):Ru(a,Js,E,!0)}function H0(a,o){return a&&a.length?Yf(a,ke(o)):s}var j0=Pe(Sl);function Sl(a,o){return a&&a.length&&o&&o.length?ec(a,o):a}function G0(a,o,h){return a&&a.length&&o&&o.length?ec(a,o,Ce(h,2)):a}function Ec(a,o,h){return a&&a.length&&o&&o.length?ec(a,o,s,h):a}var z0=Ht(function(a,o){var h=a==null?0:a.length,v=ho(a,o);return Xf(a,jt(o,function(E){return ri(E,h)?+E:E}).sort(xo)),v});function um(a,o){var h=[];if(!(a&&a.length))return h;var v=-1,E=[],O=a.length;for(o=Ce(o,3);++v<O;){var N=a[v];o(N,v,a)&&(h.push(N),E.push(v))}return Xf(a,E),h}function gh(a){return a==null?a:Mf.call(a)}function Et(a,o,h){var v=a==null?0:a.length;return v?(h&&typeof h!="number"&&Vn(a,o,h)?(o=0,h=v):(o=o==null?0:ke(o),h=h===s?v:ke(h)),vr(a,o,h)):[]}function Lt(a,o){return bo(a,o)}function $e(a,o,h){return rc(a,o,Ce(h,2))}function st(a,o){var h=a==null?0:a.length;if(h){var v=bo(a,o);if(v<h&&ur(a[v],o))return v}return-1}function St(a,o){return bo(a,o,!0)}function br(a,o,h){return rc(a,o,Ce(h,2),!0)}function Ua(a,o){var h=a==null?0:a.length;if(h){var v=bo(a,o,!0)-1;if(ur(a[v],o))return v}return-1}function Tl(a){return a&&a.length?Qf(a):[]}function mh(a,o){return a&&a.length?Qf(a,Ce(o,2)):[]}function ia(a){var o=a==null?0:a.length;return o?vr(a,1,o):[]}function Xt(a,o,h){return a&&a.length?(o=h||o===s?1:ke(o),vr(a,0,o<0?0:o)):[]}function Ia(a,o,h){var v=a==null?0:a.length;return v?(o=h||o===s?1:ke(o),o=v-o,vr(a,o<0?0:o,v)):[]}function Ns(a,o){return a&&a.length?So(a,Ce(o,3),!1,!0):[]}function vh(a,o){return a&&a.length?So(a,Ce(o,3)):[]}var Pr=Pe(function(a){return Qi(tt(a,1,Kt,!0))}),Al=Pe(function(a){var o=In(a);return Kt(o)&&(o=s),Qi(tt(a,1,Kt,!0),Ce(o,2))}),zo=Pe(function(a){var o=In(a);return o=typeof o=="function"?o:s,Qi(tt(a,1,Kt,!0),s,o)});function or(a){return a&&a.length?Qi(a):[]}function yh(a,o){return a&&a.length?Qi(a,Ce(o,2)):[]}function _h(a,o){return o=typeof o=="function"?o:s,a&&a.length?Qi(a,s,o):[]}function xl(a){if(!(a&&a.length))return[];var o=0;return a=_i(a,function(h){if(Kt(h))return o=It(h.length,o),!0}),ba(o,function(h){return jt(a,Cu(h))})}function ko(a,o){if(!(a&&a.length))return[];var h=xl(a);return o==null?h:jt(h,function(v){return $n(o,s,v)})}var Ha=Pe(function(a,o){return Kt(a)?Ra(a,o):[]}),Rn=Pe(function(a){return To(_i(a,Kt))}),ja=Pe(function(a){var o=In(a);return Kt(o)&&(o=s),To(_i(a,Kt),Ce(o,2))}),Ol=Pe(function(a){var o=In(a);return o=typeof o=="function"?o:s,To(_i(a,Kt),s,o)}),wl=Pe(xl);function bh(a,o){return $f(a||[],o||[],ys)}function Eh(a,o){return $f(a||[],o||[],gl)}var k0=Pe(function(a){var o=a.length,h=o>1?a[o-1]:s;return h=typeof h=="function"?(a.pop(),h):s,ko(a,h)});function Rl(a){var o=A(a);return o.__chain__=!0,o}function Sh(a,o){return o(a),a}function Hn(a,o){return o(a)}var q0=Ht(function(a){var o=a.length,h=o?a[0]:0,v=this.__wrapped__,E=function(O){return ho(O,a)};return o>1||this.__actions__.length||!(v instanceof Xe)||!ri(h)?this.thru(E):(v=v.slice(h,+h+(o?1:0)),v.__actions__.push({func:Hn,args:[E],thisArg:s}),new tr(v,this.__chain__).thru(function(O){return o&&!O.length&&O.push(s),O}))});function Er(){return Rl(this)}function F0(){return new tr(this.value(),this.__chain__)}function P0(){this.__values__===s&&(this.__values__=Sr(this.value()));var a=this.__index__>=this.__values__.length,o=a?s:this.__values__[this.__index__++];return{done:a,value:o}}function cm(){return this}function Ga(a){for(var o,h=this;h instanceof zr;){var v=dn(h);v.__index__=0,v.__values__=s,o?E.__wrapped__=v:o=v;var E=v;h=h.__wrapped__}return E.__wrapped__=a,o}function Sc(){var a=this.__wrapped__;if(a instanceof Xe){var o=a;return this.__actions__.length&&(o=new Xe(this)),o=o.reverse(),o.__actions__.push({func:Hn,args:[gh],thisArg:s}),new tr(o,this.__chain__)}return this.thru(gh)}function Th(){return c0(this.__wrapped__,this.__actions__)}var Cl=As(function(a,o,h){gt.call(a,h)?++a[h]:ei(a,h,1)});function V0(a,o,h){var v=je(a)?Nd:Hf;return h&&Vn(a,o,h)&&(o=s),v(a,Ce(o,3))}function Y0(a,o){var h=je(a)?_i:bt;return h(a,Ce(o,3))}var Z0=$i(Fr),Ah=$i(hh);function xh(a,o){return tt(qo(a,o),1)}function fm(a,o){return tt(qo(a,o),fe)}function hm(a,o,h){return h=h===s?1:ke(h),tt(qo(a,o),h)}function X0(a,o){var h=je(a)?Br:Ki;return h(a,Ce(o,3))}function Oh(a,o){var h=je(a)?Pg:Yu;return h(a,Ce(o,3))}var K0=As(function(a,o,h){gt.call(a,h)?a[h].push(o):ei(a,h,[o])});function Nl(a,o,h,v){a=pn(a)?a:Hl(a),h=h&&!v?ke(h):0;var E=a.length;return h<0&&(h=It(E+h,0)),Bc(a)?h<=E&&a.indexOf(o,h)>-1:!!E&&$s(a,o,h)>-1}var Tc=Pe(function(a,o,h){var v=-1,E=typeof o=="function",O=pn(a)?W(a.length):[];return Ki(a,function(N){O[++v]=E?$n(o,N,h):Es(N,o,h)}),O}),Q0=As(function(a,o,h){ei(a,h,o)});function qo(a,o){var h=je(a)?jt:Pf;return h(a,Ce(o,3))}function W0(a,o,h,v){return a==null?[]:(je(o)||(o=o==null?[]:[o]),h=v?s:h,je(h)||(h=h==null?[]:[h]),Zf(a,o,h))}var $0=As(function(a,o,h){a[h?0:1].push(o)},function(){return[[],[]]});function J0(a,o,h){var v=je(a)?bf:Tf,E=arguments.length<3;return v(a,Ce(o,4),h,E,Ki)}function ep(a,o,h){var v=je(a)?Vg:Tf,E=arguments.length<3;return v(a,Ce(o,4),h,E,Yu)}function Ac(a,o){var h=je(a)?_i:bt;return h(a,Zo(Ce(o,3)))}function tp(a){var o=je(a)?cl:pl;return o(a)}function np(a,o,h){(h?Vn(a,o,h):o===s)?o=1:o=ke(o);var v=je(a)?$d:nc;return v(a,o)}function Ct(a){var o=je(a)?Jd:o0;return o(a)}function wh(a){if(a==null)return 0;if(pn(a))return Bc(a)?bi(a):a.length;var o=En(a);return o==$t||o==wn?a.size:Qu(a).length}function dm(a,o,h){var v=je(a)?Ef:u0;return h&&Vn(a,o,h)&&(o=s),v(a,Ce(o,3))}var rp=Pe(function(a,o){if(a==null)return[];var h=o.length;return h>1&&Vn(a,o[0],o[1])?o=[]:h>2&&Vn(o[0],o[1],o[2])&&(o=[o[0]]),Zf(a,tt(o,1),[])}),xc=ds||function(){return nn.Date.now()};function pm(a,o){if(typeof o!="function")throw new gr(g);return a=ke(a),function(){if(--a<1)return o.apply(this,arguments)}}function ip(a,o,h){return o=h?s:o,o=a&&o==null?a.length:o,Ai(a,pe,s,s,s,s,o)}function Fo(a,o){var h;if(typeof o!="function")throw new gr(g);return a=ke(a),function(){return--a>0&&(h=o.apply(this,arguments)),a<=1&&(o=s),h}}var za=Pe(function(a,o,h){var v=Q;if(h.length){var E=Sa(h,Rs(za));v|=L}return Ai(a,v,o,h,E)}),Oc=Pe(function(a,o,h){var v=Q|w;if(h.length){var E=Sa(h,Rs(Oc));v|=L}return Ai(o,v,a,h,E)});function Po(a,o,h){o=h?s:o;var v=Ai(a,C,s,s,s,s,s,o);return v.placeholder=Po.placeholder,v}function wc(a,o,h){o=h?s:o;var v=Ai(a,Z,s,s,s,s,s,o);return v.placeholder=wc.placeholder,v}function ka(a,o,h){var v,E,O,N,I,q,ie=0,se=!1,oe=!1,ve=!0;if(typeof a!="function")throw new gr(g);o=Yr(o)||0,qt(h)&&(se=!!h.leading,oe="maxWait"in h,O=oe?It(Yr(h.maxWait)||0,o):O,ve="trailing"in h?!!h.trailing:ve);function we(vn){var la=v,Ds=E;return v=E=s,ie=vn,N=a.apply(Ds,la),N}function Ue(vn){return ie=vn,I=_l(it,o),se?we(vn):N}function Qe(vn){var la=vn-q,Ds=vn-ie,py=o-la;return oe?Gt(py,O-Ds):py}function Ie(vn){var la=vn-q,Ds=vn-ie;return q===s||la>=o||la<0||oe&&Ds>=O}function it(){var vn=xc();if(Ie(vn))return ft(vn);I=_l(it,Qe(vn))}function ft(vn){return I=s,ve&&v?we(vn):(v=E=s,N)}function si(){I!==s&&h0(I),ie=0,v=q=E=I=s}function Tr(){return I===s?N:ft(xc())}function li(){var vn=xc(),la=Ie(vn);if(v=arguments,E=this,q=vn,la){if(I===s)return Ue(q);if(oe)return h0(I),I=_l(it,o),we(q)}return I===s&&(I=_l(it,o)),N}return li.cancel=si,li.flush=Tr,li}var Ri=Pe(function(a,o){return _s(a,1,o)}),Vo=Pe(function(a,o,h){return _s(a,Yr(o)||0,h)});function gm(a){return Ai(a,ze)}function Yo(a,o){if(typeof a!="function"||o!=null&&typeof o!="function")throw new gr(g);var h=function(){var v=arguments,E=o?o.apply(this,v):v[0],O=h.cache;if(O.has(E))return O.get(E);var N=a.apply(this,v);return h.cache=O.set(E,N)||O,N};return h.cache=new(Yo.Cache||nr),h}Yo.Cache=nr;function Zo(a){if(typeof a!="function")throw new gr(g);return function(){var o=arguments;switch(o.length){case 0:return!a.call(this);case 1:return!a.call(this,o[0]);case 2:return!a.call(this,o[0],o[1]);case 3:return!a.call(this,o[0],o[1],o[2])}return!a.apply(this,o)}}function ap(a){return Fo(2,a)}var sp=f0(function(a,o){o=o.length==1&&je(o[0])?jt(o[0],dr(Ce())):jt(tt(o,1),dr(Ce()));var h=o.length;return Pe(function(v){for(var E=-1,O=Gt(v.length,h);++E<O;)v[E]=o[E].call(this,v[E]);return $n(a,this,v)})}),Rh=Pe(function(a,o){var h=Sa(o,Rs(Rh));return Ai(a,L,s,o,h)}),Rc=Pe(function(a,o){var h=Sa(o,Rs(Rc));return Ai(a,ce,s,o,h)}),lp=Ht(function(a,o){return Ai(a,Ee,s,s,s,o)});function op(a,o){if(typeof a!="function")throw new gr(g);return o=o===s?o:ke(o),Pe(a,o)}function mm(a,o){if(typeof a!="function")throw new gr(g);return o=o==null?0:It(ke(o),0),Pe(function(h){var v=h[o],E=Na(h,0,o);return v&&Pi(E,v),$n(a,this,E)})}function Ch(a,o,h){var v=!0,E=!0;if(typeof a!="function")throw new gr(g);return qt(h)&&(v="leading"in h?!!h.leading:v,E="trailing"in h?!!h.trailing:E),ka(a,o,{leading:v,maxWait:o,trailing:E})}function Nh(a){return ip(a,1)}function vm(a,o){return Rh(Ao(o),a)}function ym(){if(!arguments.length)return[];var a=arguments[0];return je(a)?a:[a]}function Xo(a){return Bn(a,Y)}function _m(a,o){return o=typeof o=="function"?o:s,Bn(a,Y,o)}function up(a){return Bn(a,R|Y)}function Je(a,o){return o=typeof o=="function"?o:s,Bn(a,R|Y,o)}function Mh(a,o){return o==null||If(a,o,mn(o))}function ur(a,o){return a===o||a!==a&&o!==o}var Dh=ws(po),cp=ws(function(a,o){return a>=o}),aa=Zu(function(){return arguments}())?Zu:function(a){return Ft(a)&>.call(a,"callee")&&!fs.call(a,"callee")},je=W.isArray,Cc=Ou?dr(Ou):rr;function pn(a){return a!=null&&Ms(a.length)&&!ii(a)}function Kt(a){return Ft(a)&&pn(a)}function bm(a){return a===!0||a===!1||Ft(a)&&rt(a)==lt}var qa=zu||Pm,fp=xd?dr(xd):on;function hp(a){return Ft(a)&&a.nodeType===1&&!Vr(a)}function Nc(a){if(a==null)return!0;if(pn(a)&&(je(a)||typeof a=="string"||typeof a.splice=="function"||qa(a)||Ml(a)||aa(a)))return!a.length;var o=En(a);if(o==$t||o==wn)return!a.size;if(Rt(a))return!Qu(a).length;for(var h in a)if(gt.call(a,h))return!1;return!0}function At(a,o){return Ss(a,o)}function Lh(a,o,h){h=typeof h=="function"?h:s;var v=h?h(a,o):s;return v===s?Ss(a,o,s,h):!!v}function gn(a){if(!Ft(a))return!1;var o=rt(a);return o==Zr||o==pi||typeof a.message=="string"&&typeof a.name=="string"&&!Vr(a)}function Em(a){return typeof a=="number"&&io(a)}function ii(a){if(!qt(a))return!1;var o=rt(a);return o==Dt||o==zn||o==Vt||o==ts}function Mc(a){return typeof a=="number"&&a==ke(a)}function Ms(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=ge}function qt(a){var o=typeof a;return a!=null&&(o=="object"||o=="function")}function Ft(a){return a!=null&&typeof a=="object"}var Dc=Od?dr(Od):Xu;function Bh(a,o){return a===o||mo(a,o,dc(o))}function Sm(a,o,h){return h=typeof h=="function"?h:s,mo(a,o,dc(o),h)}function dp(a){return gp(a)&&a!=+a}function Tm(a){if(Bo(a))throw new Be(d);return Si(a)}function pp(a){return a===null}function Am(a){return a==null}function gp(a){return typeof a=="number"||Ft(a)&&rt(a)==Ui}function Vr(a){if(!Ft(a)||rt(a)!=Bt)return!1;var o=to(a);if(o===null)return!0;var h=gt.call(o,"constructor")&&o.constructor;return typeof h=="function"&&h instanceof h&&eo.call(h)==Ir}var Lc=wd?dr(wd):Ku;function Uh(a){return Mc(a)&&a>=-ge&&a<=ge}var mp=Rd?dr(Rd):kf;function Bc(a){return typeof a=="string"||!je(a)&&Ft(a)&&rt(a)==ns}function Yn(a){return typeof a=="symbol"||Ft(a)&&rt(a)==Hi}var Ml=Cd?dr(Cd):qf;function ai(a){return a===s}function Ih(a){return Ft(a)&&En(a)==Cr}function vp(a){return Ft(a)&&rt(a)==Nr}var yp=ws(Wu),Ko=ws(function(a,o){return a<=o});function Sr(a){if(!a)return[];if(pn(a))return Bc(a)?Ur(a):hn(a);if(hs&&a[hs])return jd(a[hs]());var o=En(a),h=o==$t?Bu:o==wn?Uu:Hl;return h(a)}function Ci(a){if(!a)return a===0?a:0;if(a=Yr(a),a===fe||a===-fe){var o=a<0?-1:1;return o*We}return a===a?a:0}function ke(a){var o=Ci(a),h=o%1;return o===o?h?o-h:o:0}function Ni(a){return a?ti(ke(a),0,$):0}function Yr(a){if(typeof a=="number")return a;if(Yn(a))return B;if(qt(a)){var o=typeof a.valueOf=="function"?a.valueOf():a;a=qt(o)?o+"":o}if(typeof a!="string")return a===0?a:+a;a=Bd(a);var h=sn.test(a);return h||G.test(a)?qg(a.slice(2),h?2:8):ki.test(a)?B:+a}function _p(a){return ar(a,Sn(a))}function Dl(a){return a?ti(ke(a),-ge,ge):a===0?a:0}function mt(a){return a==null?"":ir(a)}var xm=xs(function(a,o){if(Rt(o)||pn(o)){ar(o,mn(o),a);return}for(var h in o)gt.call(o,h)&&ys(a,h,o[h])}),bp=xs(function(a,o){ar(o,Sn(o),a)}),Uc=xs(function(a,o,h,v){ar(o,Sn(o),a,v)}),Om=xs(function(a,o,h,v){ar(o,mn(o),a,v)}),wm=Ht(ho);function Rm(a,o){var h=mr(a);return o==null?h:Xi(h,o)}var Cm=Pe(function(a,o){a=ut(a);var h=-1,v=o.length,E=v>2?o[2]:s;for(E&&Vn(o[0],o[1],E)&&(v=1);++h<v;)for(var O=o[h],N=Sn(O),I=-1,q=N.length;++I<q;){var ie=N[I],se=a[ie];(se===s||ur(se,il[ie])&&!gt.call(a,ie))&&(a[ie]=O[ie])}return a}),Ep=Pe(function(a){return a.push(s,ah),$n(Jo,s,a)});function Ll(a,o){return Md(a,Ce(o,3),Un)}function Qo(a,o){return Md(a,Ce(o,3),dl)}function Sp(a,o){return a==null?a:hl(a,Ce(o,3),Sn)}function Nm(a,o){return a==null?a:bs(a,Ce(o,3),Sn)}function Bl(a,o){return a&&Un(a,Ce(o,3))}function Wo(a,o){return a&&dl(a,Ce(o,3))}function Tp(a){return a==null?[]:Ca(a,mn(a))}function Ic(a){return a==null?[]:Ca(a,Sn(a))}function $o(a,o,h){var v=a==null?s:kr(a,o);return v===s?h:v}function Hh(a,o){return a!=null&&Lo(a,o,jf)}function Ul(a,o){return a!=null&&Lo(a,o,n0)}var Ap=wo(function(a,o,h){o!=null&&typeof o.toString!="function"&&(o=kn.call(o)),a[o]=h},P(V)),xp=wo(function(a,o,h){o!=null&&typeof o.toString!="function"&&(o=kn.call(o)),gt.call(a,o)?a[o].push(h):a[o]=[h]},Ce),Mm=Pe(Es);function mn(a){return pn(a)?Uf(a):Qu(a)}function Sn(a){return pn(a)?Uf(a,!0):i0(a)}function Dm(a,o){var h={};return o=Ce(o,3),Un(a,function(v,E,O){ei(h,o(v,E,O),v)}),h}function Lm(a,o){var h={};return o=Ce(o,3),Un(a,function(v,E,O){ei(h,E,o(v,E,O))}),h}var Bm=xs(function(a,o,h){vo(a,o,h)}),Jo=xs(function(a,o,h,v){vo(a,o,h,v)}),Hc=Ht(function(a,o){var h={};if(a==null)return h;var v=!1;o=jt(o,function(O){return O=Wi(O,a),v||(v=O.length>1),O}),ar(a,fc(a),h),v&&(h=Bn(h,R|D|Y,b0));for(var E=o.length;E--;)Eo(h,o[E]);return h});function jh(a,o){return Il(a,Zo(Ce(o)))}var Um=Ht(function(a,o){return a==null?{}:a0(a,o)});function Il(a,o){if(a==null)return{};var h=jt(fc(a),function(v){return[v]});return o=Ce(o),Ju(a,h,function(v,E){return o(v,E[0])})}function Im(a,o,h){o=Wi(o,a);var v=-1,E=o.length;for(E||(E=1,a=s);++v<E;){var O=a==null?s:a[vt(o[v])];O===s&&(v=E,O=h),a=ii(O)?O.call(a):O}return a}function Op(a,o,h){return a==null?a:gl(a,o,h)}function wp(a,o,h,v){return v=typeof v=="function"?v:s,a==null?a:gl(a,o,h,v)}var Gh=No(mn),zh=No(Sn);function kh(a,o,h){var v=je(a),E=v||qa(a)||Ml(a);if(o=Ce(o,4),h==null){var O=a&&a.constructor;E?h=v?new O:[]:qt(a)?h=ii(O)?mr(to(a)):{}:h={}}return(E?Br:Un)(a,function(N,I,q){return o(h,N,I,q)}),h}function Rp(a,o){return a==null?!0:Eo(a,o)}function jc(a,o,h){return a==null?a:Wf(a,o,Ao(h))}function Hm(a,o,h,v){return v=typeof v=="function"?v:s,a==null?a:Wf(a,o,Ao(h),v)}function Hl(a){return a==null?[]:Du(a,mn(a))}function qh(a){return a==null?[]:Du(a,Sn(a))}function Fh(a,o,h){return h===s&&(h=o,o=s),h!==s&&(h=Yr(h),h=h===h?h:0),o!==s&&(o=Yr(o),o=o===o?o:0),ti(Yr(a),o,h)}function Gc(a,o,h){return o=Ci(o),h===s?(h=o,o=0):h=Ci(h),a=Yr(a),r0(a,o,h)}function Ph(a,o,h){if(h&&typeof h!="boolean"&&Vn(a,o,h)&&(o=h=s),h===s&&(typeof o=="boolean"?(h=o,o=s):typeof a=="boolean"&&(h=a,a=s)),a===s&&o===s?(a=0,o=1):(a=Ci(a),o===s?(o=a,a=0):o=Ci(o)),a>o){var v=a;a=o,o=v}if(h||a%1||o%1){var E=Nf();return Gt(a+E*(o-a+$l("1e-"+((E+"").length-1))),o)}return tc(a,o)}var Cp=Pn(function(a,o,h){return o=o.toLowerCase(),a+(h?zc(o):o)});function zc(a){return u(mt(a).toLowerCase())}function sa(a){return a=mt(a),a&&a.replace(_e,Lu).replace(Fi,"")}function Fa(a,o,h){a=mt(a),o=ir(o);var v=a.length;h=h===s?v:ti(ke(h),0,v);var E=h;return h-=o.length,h>=0&&a.slice(h,E)==o}function Pa(a){return a=mt(a),a&&mu.test(a)?a.replace(Mr,Ud):a}function eu(a){return a=mt(a),a&&Dn.test(a)?a.replace(en,"\\$&"):a}var tu=Pn(function(a,o,h){return a+(h?"-":"")+o.toLowerCase()}),Va=Pn(function(a,o,h){return a+(h?" ":"")+o.toLowerCase()}),jm=yr("toLowerCase");function Np(a,o,h){a=mt(a),o=ke(o);var v=o?bi(a):0;if(!o||v>=o)return a;var E=(o-v)/2;return Co(Vi(E),h)+a+Co(ll(E),h)}function nu(a,o,h){a=mt(a),o=ke(o);var v=o?bi(a):0;return o&&v<o?a+Co(o-v,h):a}function Gm(a,o,h){a=mt(a),o=ke(o);var v=o?bi(a):0;return o&&v<o?Co(o-v,h)+a:a}function Mp(a,o,h){return h||o==null?o=0:o&&(o=+o),ps(mt(a).replace(un,""),o||0)}function kc(a,o,h){return(h?Vn(a,o,h):o===s)?o=1:o=ke(o),Kf(mt(a),o)}function Dp(){var a=arguments,o=mt(a[0]);return a.length<3?o:o.replace(a[1],a[2])}var zm=Pn(function(a,o,h){return a+(h?"_":"")+o.toLowerCase()});function qc(a,o,h){return h&&typeof h!="number"&&Vn(a,o,h)&&(o=h=s),h=h===s?$:h>>>0,h?(a=mt(a),a&&(typeof o=="string"||o!=null&&!Lc(o))&&(o=ir(o),!o&&Ea(a))?Na(Ur(a),0,h):a.split(o,h)):[]}var Fc=Pn(function(a,o,h){return a+(h?" ":"")+u(o)});function Lp(a,o,h){return a=mt(a),h=h==null?0:ti(ke(h),0,a.length),o=ir(o),a.slice(h,h+o.length)==o}function ru(a,o,h){var v=A.templateSettings;h&&Vn(a,o,h)&&(o=s),a=mt(a),o=Uc({},o,v,uc);var E=Uc({},o.imports,v.imports,uc),O=mn(E),N=Du(E,O),I,q,ie=0,se=o.interpolate||yt,oe="__p += '",ve=Iu((o.escape||yt).source+"|"+se.source+"|"+(se===Ps?Gi:yt).source+"|"+(o.evaluate||yt).source+"|$","g"),we="//# sourceURL="+(gt.call(o,"sourceURL")?(o.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Sd+"]")+`
|
|
119
|
+
`;a.replace(ve,function(Ie,it,ft,si,Tr,li){return ft||(ft=si),oe+=a.slice(ie,li).replace(cn,Id),it&&(I=!0,oe+=`' +
|
|
120
|
+
__e(`+it+`) +
|
|
121
|
+
'`),Tr&&(q=!0,oe+=`';
|
|
122
|
+
`+Tr+`;
|
|
123
|
+
__p += '`),ft&&(oe+=`' +
|
|
124
|
+
((__t = (`+ft+`)) == null ? '' : __t) +
|
|
125
|
+
'`),ie=li+Ie.length,Ie}),oe+=`';
|
|
126
|
+
`;var Ue=gt.call(o,"variable")&&o.variable;if(!Ue)oe=`with (obj) {
|
|
127
|
+
`+oe+`
|
|
128
|
+
}
|
|
129
|
+
`;else if(fr.test(Ue))throw new Be(m);oe=(q?oe.replace(Jc,""):oe).replace(as,"$1").replace(ss,"$1;"),oe="function("+(Ue||"obj")+`) {
|
|
130
|
+
`+(Ue?"":`obj || (obj = {});
|
|
131
|
+
`)+"var __t, __p = ''"+(I?", __e = _.escape":"")+(q?`, __j = Array.prototype.join;
|
|
132
|
+
function print() { __p += __j.call(arguments, '') }
|
|
133
|
+
`:`;
|
|
134
|
+
`)+oe+`return __p
|
|
135
|
+
}`;var Qe=p(function(){return ot(O,we+"return "+oe).apply(s,N)});if(Qe.source=oe,gn(Qe))throw Qe;return Qe}function Vh(a){return mt(a).toLowerCase()}function Pc(a){return mt(a).toUpperCase()}function Bp(a,o,h){if(a=mt(a),a&&(h||o===s))return Bd(a);if(!a||!(o=ir(o)))return a;var v=Ur(a),E=Ur(o),O=tl(v,E),N=nl(v,E)+1;return Na(v,O,N).join("")}function km(a,o,h){if(a=mt(a),a&&(h||o===s))return a.slice(0,xf(a)+1);if(!a||!(o=ir(o)))return a;var v=Ur(a),E=nl(v,Ur(o))+1;return Na(v,0,E).join("")}function Vc(a,o,h){if(a=mt(a),a&&(h||o===s))return a.replace(un,"");if(!a||!(o=ir(o)))return a;var v=Ur(a),E=tl(v,Ur(o));return Na(v,E).join("")}function e(a,o){var h=Ze,v=xe;if(qt(o)){var E="separator"in o?o.separator:E;h="length"in o?ke(o.length):h,v="omission"in o?ir(o.omission):v}a=mt(a);var O=a.length;if(Ea(a)){var N=Ur(a);O=N.length}if(h>=O)return a;var I=h-bi(v);if(I<1)return v;var q=N?Na(N,0,I).join(""):a.slice(0,I);if(E===s)return q+v;if(N&&(I+=q.length-I),Lc(E)){if(a.slice(I).search(E)){var ie,se=q;for(E.global||(E=Iu(E.source,mt(zi.exec(E))+"g")),E.lastIndex=0;ie=E.exec(se);)var oe=ie.index;q=q.slice(0,oe===s?I:oe)}}else if(a.indexOf(ir(E),I)!=I){var ve=q.lastIndexOf(E);ve>-1&&(q=q.slice(0,ve))}return q+v}function n(a){return a=mt(a),a&&ef.test(a)?a.replace(Fs,zd):a}var i=Pn(function(a,o,h){return a+(h?" ":"")+o.toUpperCase()}),u=yr("toUpperCase");function c(a,o,h){return a=mt(a),o=h?s:o,o===s?Hd(a)?Jg(a):Xg(a):a.match(o)||[]}var p=Pe(function(a,o){try{return $n(a,s,o)}catch(h){return gn(h)?h:new Be(h)}}),b=Ht(function(a,o){return Br(o,function(h){h=vt(h),ei(a,h,za(a[h],a))}),a});function x(a){var o=a==null?0:a.length,h=Ce();return a=o?jt(a,function(v){if(typeof v[1]!="function")throw new gr(g);return[h(v[0]),v[1]]}):[],Pe(function(v){for(var E=-1;++E<o;){var O=a[E];if($n(O[0],this,v))return $n(O[1],this,v)}})}function M(a){return e0(Bn(a,R))}function P(a){return function(){return a}}function ne(a,o){return a==null||a!==a?o:a}var ae=Ti(),K=Ti(!0);function V(a){return a}function De(a){return Ff(typeof a=="function"?a:Bn(a,R))}function Me(a){return Vf(Bn(a,R))}function xt(a,o){return $u(a,Bn(o,R))}var k=Pe(function(a,o){return function(h){return Es(h,a,o)}}),H=Pe(function(a,o){return function(h){return Es(a,h,o)}});function F(a,o,h){var v=mn(o),E=Ca(o,v);h==null&&!(qt(o)&&(E.length||!v.length))&&(h=o,o=a,a=this,E=Ca(o,mn(o)));var O=!(qt(h)&&"chain"in h)||!!h.chain,N=ii(a);return Br(E,function(I){var q=o[I];a[I]=q,N&&(a.prototype[I]=function(){var ie=this.__chain__;if(O||ie){var se=a(this.__wrapped__),oe=se.__actions__=hn(this.__actions__);return oe.push({func:q,args:arguments,thisArg:a}),se.__chain__=ie,se}return q.apply(a,Pi([this.value()],arguments))})}),a}function re(){return nn._===this&&(nn._=al),this}function be(){}function Ke(a){return a=ke(a),Pe(function(o){return Yf(o,a)})}var Re=Ro(jt),Le=Ro(Nd),Tn=Ro(Ef);function ct(a){return gc(a)?Cu(vt(a)):s0(a)}function Ya(a){return function(o){return a==null?s:kr(a,o)}}var qm=Ma(),dS=Ma(!0);function Fm(){return[]}function Pm(){return!1}function pS(){return{}}function gS(){return""}function mS(){return!0}function vS(a,o){if(a=ke(a),a<1||a>ge)return[];var h=$,v=Gt(a,$);o=Ce(o),a-=$;for(var E=ba(v,o);++h<a;)o(h);return E}function yS(a){return je(a)?jt(a,vt):Yn(a)?[a]:hn(Oi(mt(a)))}function _S(a){var o=++Wr;return mt(a)+o}var bS=ml(function(a,o){return a+o},0),ES=oc("ceil"),SS=ml(function(a,o){return a/o},1),TS=oc("floor");function AS(a){return a&&a.length?ni(a,V,po):s}function xS(a,o){return a&&a.length?ni(a,Ce(o,2),po):s}function OS(a){return Dd(a,V)}function wS(a,o){return Dd(a,Ce(o,2))}function RS(a){return a&&a.length?ni(a,V,Wu):s}function CS(a,o){return a&&a.length?ni(a,Ce(o,2),Wu):s}var NS=ml(function(a,o){return a*o},1),MS=oc("round"),DS=ml(function(a,o){return a-o},0);function LS(a){return a&&a.length?Mu(a,V):0}function BS(a,o){return a&&a.length?Mu(a,Ce(o,2)):0}return A.after=pm,A.ary=ip,A.assign=xm,A.assignIn=bp,A.assignInWith=Uc,A.assignWith=Om,A.at=wm,A.before=Fo,A.bind=za,A.bindAll=b,A.bindKey=Oc,A.castArray=ym,A.chain=Rl,A.chunk=lm,A.compact=M0,A.concat=D0,A.cond=x,A.conforms=M,A.constant=P,A.countBy=Cl,A.create=Rm,A.curry=Po,A.curryRight=wc,A.debounce=ka,A.defaults=Cm,A.defaultsDeep=Ep,A.defer=Ri,A.delay=Vo,A.difference=kt,A.differenceBy=sr,A.differenceWith=na,A.drop=L0,A.dropRight=B0,A.dropRightWhile=om,A.dropWhile=fh,A.fill=_r,A.filter=Y0,A.flatMap=xh,A.flatMapDeep=fm,A.flatMapDepth=hm,A.flatten=lr,A.flattenDeep=U0,A.flattenDepth=Ba,A.flip=gm,A.flow=ae,A.flowRight=K,A.fromPairs=Cs,A.functions=Tp,A.functionsIn=Ic,A.groupBy=K0,A.initial=ph,A.intersection=wi,A.intersectionBy=I0,A.intersectionWith=bl,A.invert=Ap,A.invertBy=xp,A.invokeMap=Tc,A.iteratee=De,A.keyBy=Q0,A.keys=mn,A.keysIn=Sn,A.map=qo,A.mapKeys=Dm,A.mapValues=Lm,A.matches=Me,A.matchesProperty=xt,A.memoize=Yo,A.merge=Bm,A.mergeWith=Jo,A.method=k,A.methodOf=H,A.mixin=F,A.negate=Zo,A.nthArg=Ke,A.omit=Hc,A.omitBy=jh,A.once=ap,A.orderBy=W0,A.over=Re,A.overArgs=sp,A.overEvery=Le,A.overSome=Tn,A.partial=Rh,A.partialRight=Rc,A.partition=$0,A.pick=Um,A.pickBy=Il,A.property=ct,A.propertyOf=Ya,A.pull=j0,A.pullAll=Sl,A.pullAllBy=G0,A.pullAllWith=Ec,A.pullAt=z0,A.range=qm,A.rangeRight=dS,A.rearg=lp,A.reject=Ac,A.remove=um,A.rest=op,A.reverse=gh,A.sampleSize=np,A.set=Op,A.setWith=wp,A.shuffle=Ct,A.slice=Et,A.sortBy=rp,A.sortedUniq=Tl,A.sortedUniqBy=mh,A.split=qc,A.spread=mm,A.tail=ia,A.take=Xt,A.takeRight=Ia,A.takeRightWhile=Ns,A.takeWhile=vh,A.tap=Sh,A.throttle=Ch,A.thru=Hn,A.toArray=Sr,A.toPairs=Gh,A.toPairsIn=zh,A.toPath=yS,A.toPlainObject=_p,A.transform=kh,A.unary=Nh,A.union=Pr,A.unionBy=Al,A.unionWith=zo,A.uniq=or,A.uniqBy=yh,A.uniqWith=_h,A.unset=Rp,A.unzip=xl,A.unzipWith=ko,A.update=jc,A.updateWith=Hm,A.values=Hl,A.valuesIn=qh,A.without=Ha,A.words=c,A.wrap=vm,A.xor=Rn,A.xorBy=ja,A.xorWith=Ol,A.zip=wl,A.zipObject=bh,A.zipObjectDeep=Eh,A.zipWith=k0,A.entries=Gh,A.entriesIn=zh,A.extend=bp,A.extendWith=Uc,F(A,A),A.add=bS,A.attempt=p,A.camelCase=Cp,A.capitalize=zc,A.ceil=ES,A.clamp=Fh,A.clone=Xo,A.cloneDeep=up,A.cloneDeepWith=Je,A.cloneWith=_m,A.conformsTo=Mh,A.deburr=sa,A.defaultTo=ne,A.divide=SS,A.endsWith=Fa,A.eq=ur,A.escape=Pa,A.escapeRegExp=eu,A.every=V0,A.find=Z0,A.findIndex=Fr,A.findKey=Ll,A.findLast=Ah,A.findLastIndex=hh,A.findLastKey=Qo,A.floor=TS,A.forEach=X0,A.forEachRight=Oh,A.forIn=Sp,A.forInRight=Nm,A.forOwn=Bl,A.forOwnRight=Wo,A.get=$o,A.gt=Dh,A.gte=cp,A.has=Hh,A.hasIn=Ul,A.head=ra,A.identity=V,A.includes=Nl,A.indexOf=dh,A.inRange=Gc,A.invoke=Mm,A.isArguments=aa,A.isArray=je,A.isArrayBuffer=Cc,A.isArrayLike=pn,A.isArrayLikeObject=Kt,A.isBoolean=bm,A.isBuffer=qa,A.isDate=fp,A.isElement=hp,A.isEmpty=Nc,A.isEqual=At,A.isEqualWith=Lh,A.isError=gn,A.isFinite=Em,A.isFunction=ii,A.isInteger=Mc,A.isLength=Ms,A.isMap=Dc,A.isMatch=Bh,A.isMatchWith=Sm,A.isNaN=dp,A.isNative=Tm,A.isNil=Am,A.isNull=pp,A.isNumber=gp,A.isObject=qt,A.isObjectLike=Ft,A.isPlainObject=Vr,A.isRegExp=Lc,A.isSafeInteger=Uh,A.isSet=mp,A.isString=Bc,A.isSymbol=Yn,A.isTypedArray=Ml,A.isUndefined=ai,A.isWeakMap=Ih,A.isWeakSet=vp,A.join=Go,A.kebabCase=tu,A.last=In,A.lastIndexOf=El,A.lowerCase=Va,A.lowerFirst=jm,A.lt=yp,A.lte=Ko,A.max=AS,A.maxBy=xS,A.mean=OS,A.meanBy=wS,A.min=RS,A.minBy=CS,A.stubArray=Fm,A.stubFalse=Pm,A.stubObject=pS,A.stubString=gS,A.stubTrue=mS,A.multiply=NS,A.nth=H0,A.noConflict=re,A.noop=be,A.now=xc,A.pad=Np,A.padEnd=nu,A.padStart=Gm,A.parseInt=Mp,A.random=Ph,A.reduce=J0,A.reduceRight=ep,A.repeat=kc,A.replace=Dp,A.result=Im,A.round=MS,A.runInContext=z,A.sample=tp,A.size=wh,A.snakeCase=zm,A.some=dm,A.sortedIndex=Lt,A.sortedIndexBy=$e,A.sortedIndexOf=st,A.sortedLastIndex=St,A.sortedLastIndexBy=br,A.sortedLastIndexOf=Ua,A.startCase=Fc,A.startsWith=Lp,A.subtract=DS,A.sum=LS,A.sumBy=BS,A.template=ru,A.times=vS,A.toFinite=Ci,A.toInteger=ke,A.toLength=Ni,A.toLower=Vh,A.toNumber=Yr,A.toSafeInteger=Dl,A.toString=mt,A.toUpper=Pc,A.trim=Bp,A.trimEnd=km,A.trimStart=Vc,A.truncate=e,A.unescape=n,A.uniqueId=_S,A.upperCase=i,A.upperFirst=u,A.each=X0,A.eachRight=Oh,A.first=ra,F(A,function(){var a={};return Un(A,function(o,h){gt.call(A.prototype,h)||(a[h]=o)}),a}(),{chain:!1}),A.VERSION=l,Br(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){A[a].placeholder=A}),Br(["drop","take"],function(a,o){Xe.prototype[a]=function(h){h=h===s?1:It(ke(h),0);var v=this.__filtered__&&!o?new Xe(this):this.clone();return v.__filtered__?v.__takeCount__=Gt(h,v.__takeCount__):v.__views__.push({size:Gt(h,$),type:a+(v.__dir__<0?"Right":"")}),v},Xe.prototype[a+"Right"]=function(h){return this.reverse()[a](h).reverse()}}),Br(["filter","map","takeWhile"],function(a,o){var h=o+1,v=h==Mt||h==J;Xe.prototype[a]=function(E){var O=this.clone();return O.__iteratees__.push({iteratee:Ce(E,3),type:h}),O.__filtered__=O.__filtered__||v,O}}),Br(["head","last"],function(a,o){var h="take"+(o?"Right":"");Xe.prototype[a]=function(){return this[h](1).value()[0]}}),Br(["initial","tail"],function(a,o){var h="drop"+(o?"":"Right");Xe.prototype[a]=function(){return this.__filtered__?new Xe(this):this[h](1)}}),Xe.prototype.compact=function(){return this.filter(V)},Xe.prototype.find=function(a){return this.filter(a).head()},Xe.prototype.findLast=function(a){return this.reverse().find(a)},Xe.prototype.invokeMap=Pe(function(a,o){return typeof a=="function"?new Xe(this):this.map(function(h){return Es(h,a,o)})}),Xe.prototype.reject=function(a){return this.filter(Zo(Ce(a)))},Xe.prototype.slice=function(a,o){a=ke(a);var h=this;return h.__filtered__&&(a>0||o<0)?new Xe(h):(a<0?h=h.takeRight(-a):a&&(h=h.drop(a)),o!==s&&(o=ke(o),h=o<0?h.dropRight(-o):h.take(o-a)),h)},Xe.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},Xe.prototype.toArray=function(){return this.take($)},Un(Xe.prototype,function(a,o){var h=/^(?:filter|find|map|reject)|While$/.test(o),v=/^(?:head|last)$/.test(o),E=A[v?"take"+(o=="last"?"Right":""):o],O=v||/^find/.test(o);E&&(A.prototype[o]=function(){var N=this.__wrapped__,I=v?[1]:arguments,q=N instanceof Xe,ie=I[0],se=q||je(N),oe=function(it){var ft=E.apply(A,Pi([it],I));return v&&ve?ft[0]:ft};se&&h&&typeof ie=="function"&&ie.length!=1&&(q=se=!1);var ve=this.__chain__,we=!!this.__actions__.length,Ue=O&&!ve,Qe=q&&!we;if(!O&&se){N=Qe?N:new Xe(this);var Ie=a.apply(N,I);return Ie.__actions__.push({func:Hn,args:[oe],thisArg:s}),new tr(Ie,ve)}return Ue&&Qe?a.apply(this,I):(Ie=this.thru(oe),Ue?v?Ie.value()[0]:Ie.value():Ie)})}),Br(["pop","push","shift","sort","splice","unshift"],function(a){var o=Hu[a],h=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",v=/^(?:pop|shift)$/.test(a);A.prototype[a]=function(){var E=arguments;if(v&&!this.__chain__){var O=this.value();return o.apply(je(O)?O:[],E)}return this[h](function(N){return o.apply(je(N)?N:[],E)})}}),Un(Xe.prototype,function(a,o){var h=A[o];if(h){var v=h.name+"";gt.call(Gr,v)||(Gr[v]=[]),Gr[v].push({name:o,func:h})}}),Gr[Zt(s,w).name]=[{name:"wrapper",func:s}],Xe.prototype.clone=oo,Xe.prototype.reverse=ku,Xe.prototype.value=ms,A.prototype.at=q0,A.prototype.chain=Er,A.prototype.commit=F0,A.prototype.next=P0,A.prototype.plant=Ga,A.prototype.reverse=Sc,A.prototype.toJSON=A.prototype.valueOf=A.prototype.value=Th,A.prototype.first=A.prototype.head,hs&&(A.prototype[hs]=cm),A},Ta=rl();_a?((_a.exports=Ta)._=Ta,Ws._=Ta):nn._=Ta}).call(EC)}(od,od.exports)),od.exports}var TC=SC();const AC="_container_131ib_1",xC="_categoryContainer_131ib_13",OC="_categoryButton_131ib_20",wC="_active_131ib_35",RC="_commentTextarea_131ib_44",Jh={container:AC,categoryContainer:xC,categoryButton:OC,active:wC,commentTextarea:RC},CC=({open:t,reaction:r,onReaction:s})=>{const l=Qt(),f=X.useRef(TC.debounce(m=>{s({...r,comment:m})},300));if(X.useEffect(()=>{const m=f.current;return()=>m.flush()},[]),!t)return null;const d=m=>{s({...r,category:r.category===m?void 0:m})},g=m=>f.current(m.target.value);return S.jsxs("div",{className:Jh.container,role:"dialog","aria-modal":"true","aria-labelledby":"bad-reaction-title",children:[S.jsx("h2",{id:"bad-reaction-title",children:l("bot-bubble.reaction.say-more")}),S.jsx("div",{className:Jh.categoryContainer,role:"radiogroup",children:["WRONG_INFORMATION","MISSING_INFORMATION","OLD_INFORMATION","UNCLEAR","OFF_TOPIC"].map(m=>S.jsx("button",{className:he(Jh.categoryButton,r?.category===m&&Jh.active),onClick:()=>d(m),"aria-pressed":r?.category===m,"aria-label":l(`bot-bubble.reaction.category.${m}`),tabIndex:0,role:"radio",children:l(`bot-bubble.reaction.category.${m}`)},m))}),S.jsx("textarea",{id:"comment",name:"comment",placeholder:l("bot-bubble.reaction.comment"),defaultValue:r?.comment,onChange:g,className:Jh.commentTextarea,rows:3,"aria-label":l("bot-bubble.reaction.comment")})]})},NC="_botMessageActionContainer_1y27p_1",MC="_alwaysVisible_1y27p_11",DC="_active_1y27p_15",LC="_botMessageActionInnerContainer_1y27p_23",BC="_header_1y27p_48",UC="_botMessageActions_1y27p_53",IC="_reported_1y27p_63",HC="_action_1y27p_66",jC="_wave_1y27p_79",GC="_closeButton_1y27p_161",An={botMessageActionContainer:NC,alwaysVisible:MC,active:DC,botMessageActionInnerContainer:LC,header:BC,botMessageActions:UC,reported:IC,action:HC,wave:jC,closeButton:GC},zC=({isSubmitting:t,onClick:r})=>{const s=Qt();return S.jsx("button",{className:he(An.action,An.closeButton,"tooltip--bottom-left"),"aria-label":s("bot-bubble.reaction.close"),"data-title":s("bot-bubble.reaction.close"),tabIndex:0,onClick:r,children:S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:t?S.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"}):S.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"})})})},kC=({alwaysVisible:t,senderType:r,reaction:s,botMessageRef:l,message:f,onReaction:d})=>{const g=Qt(),[m,y]=X.useState(!1),[_,T]=X.useState(!1),[R,D]=X.useState(!1),Y=X.useRef(null),U=X.useRef(null);sy(Y,()=>{D(!1)});const te=Z=>{Z.key==="Escape"&&D(!1)};X.useEffect(()=>(document.addEventListener("keydown",te),()=>{document.removeEventListener("keydown",te)}),[]),X.useEffect(()=>{R&&Y.current?.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})},[R]);const Q=Z=>{U.current&&clearTimeout(U.current),T(!0),d(Z),U.current=setTimeout(()=>{T(!1)},1e3)},w=X.useCallback(async()=>{if(l.current)try{y(!0);const Z=l.current.innerHTML,L=l.current.innerText;await navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([Z],{type:"text/html"}),"text/plain":new Blob([L],{type:"text/plain"})})]),await new Promise(ce=>setTimeout(ce,1500))}finally{y(!1)}},[l]),j=()=>{D(!1),d(s?.type==="GOOD"?null:{type:"GOOD"})},C=()=>{d({...f.reaction,type:"BAD"}),D(!R)};return S.jsx("div",{ref:Y,className:he(An.botMessageActionContainer,t&&An.alwaysVisible,R&&An.active),children:S.jsxs("div",{className:he(An.botMessageActionInnerContainer,t&&An.alwaysVisible,R&&An.active,s&&An.reported),role:"group",children:[S.jsxs("div",{className:An.header,children:[S.jsxs("div",{className:he(An.botMessageActions,s&&An.reported),children:[r===Eg.BOT&&S.jsx("button",{className:he(An.action,An.wave,s?.type==="GOOD"&&An.reported,"tooltip--top-right"),tabIndex:0,"aria-label":g(s?.type==="GOOD"?"bot-bubble.reaction.remove":"bot-bubble.reaction.good"),"aria-pressed":s?.type==="GOOD","data-title":g(s?.type==="GOOD"?"bot-bubble.reaction.remove":"bot-bubble.reaction.good"),onClick:j,children:S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:s?.type==="GOOD"?S.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"}):S.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===Eg.BOT&&S.jsx("button",{className:he(An.action,An.wave,s?.type==="BAD"&&An.reported,"tooltip--top-right"),tabIndex:0,"aria-label":g("bot-bubble.reaction.bad"),"aria-pressed":s?.type==="BAD","data-title":g("bot-bubble.reaction.bad"),onClick:C,children:S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:s?.type==="BAD"?S.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"}):S.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"})})}),S.jsx("button",{className:he(An.action,An.wave,"tooltip--top-right"),style:{visibility:R?"hidden":"visible"},tabIndex:0,"aria-label":g("bot-bubble.copy"),"data-title":g("bot-bubble.copy"),onClick:w,children:S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:m?S.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"}):S.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"})})})]}),R&&S.jsx(zC,{isSubmitting:_,onClick:()=>D(!1)})]}),f.reaction&&S.jsx(CC,{open:R,reaction:f.reaction,onReaction:Q})]})})},w2=X.forwardRef(({message:t,isAnimated:r,isLastMessage:s,isFirstMessageBySender:l,isLastMessageBySender:f,children:d,onReaction:g},m)=>{const y=Qt(),_=X.useRef(null),T=t.sender.type===nt.UserType.BOT;return S.jsxs("li",{ref:m,className:he(qe.message,qe.messageBot,s&&qe.lastMessage,l&&qe.messageBotFirst,f&&qe.messageBotLast,"chat__bubbleContainer",r&&qe.messageBotAnimated,r&&"chat__bubbleContainer--animated",T?"chat__botBubbleContainer":"chat__agentBubbleContainer",l&&"chat__bubbleContainer--first",f&&"chat__bubbleContainer--last"),children:[S.jsx("img",{className:he(qe.avatar,T?qe.botAvatar:qe.agentAvatar,"chat__avatar",T?"chat__botAvatar":"chat__agentAvatar"),src:`${t.sender.avatar}`,alt:T?"Bot":"Agent",referrerPolicy:"no-referrer"}),S.jsxs("div",{className:qe.messageContainer,children:[S.jsx("div",{ref:_,className:he(qe.bubble,qe.bubbleLeft,"chat__bubble",T?"chat__botBubble":"chat__agentBubble"),tabIndex:0,"aria-label":y(T?"bot-bubble.label":"agent-bubble.label"),children:S.jsx("div",{className:he(qe.leftText),children:d})}),g&&S.jsx(kC,{alwaysVisible:s&&f,senderType:t.sender.type,reaction:t.reaction,message:t,botMessageRef:_,onReaction:g})]})]})}),qC="_sourceList_1n31h_1",FC="_source_1n31h_1",PC="_label_1n31h_37",R1={sourceList:qC,source:FC,label:PC},R2=t=>S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",...t,children:S.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"})}),C2=t=>S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",...t,children:S.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"})}),N2=t=>S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",...t,children:S.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"})}),M2=t=>S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",...t,children:S.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"})}),VC=({type:t,...r})=>{switch(t){case"WEBSITE":return S.jsx(M2,{...r});case"PDF":return S.jsx(N2,{...r});case"DOCX":return S.jsx(R2,{...r});default:return S.jsx(C2,{...r})}},ly=({sources:t,onLinkClick:r})=>{const s=Qt(),l=d=>()=>{r(d.url)},f=d=>g=>{(g.key==="Enter"||g.key===" ")&&r(d.url)};return t.length?S.jsx("ul",{className:R1.sourceList,"aria-label":s("bot-bubble.sources"),children:t.map(d=>S.jsx("li",{className:R1.source,children:S.jsxs("a",{role:"button",tabIndex:0,"aria-label":`${s("bot-bubble.source.open")}: ${d.label}`,onClick:l(d),onKeyDown:f(d),children:[S.jsx(VC,{type:d.type,"aria-hidden":"true"}),S.jsx("div",{className:R1.label,children:d.label})]})},d.url))}):null},YC="_button_3ui4g_1",ZC="_buttonDefault_3ui4g_13",XC="_buttonPrimary_3ui4g_28",pd={button:YC,buttonDefault:ZC,buttonPrimary:XC},Hg=({className:t,children:r,...s})=>S.jsx("button",{className:he(pd.button,t),type:"button",role:"button",...s,children:r}),KC="_title_137pi_1",QC="_buttons_137pi_6",WC="_button_137pi_6",$C="_imageContainer_137pi_29",JC="_image_137pi_29",e6="_video_container_137pi_44",t6="_video_137pi_44",n6="_only_137pi_58",ci={title:KC,buttons:QC,button:WC,imageContainer:$C,image:JC,video_container:e6,video:t6,only:n6},r6=({buttons:t,onButtonClick:r})=>S.jsx("div",{className:he(ci.buttons,"chat__bubbleButtons"),children:t.map((s,l)=>S.jsx(Hg,{className:he(ci.button,"chat__bubbleButton"),onClick:()=>r(s),children:s.title},l))}),cb="newtab#",D2=({markdown:t,markdownOptions:r={},onLinkClick:s})=>{const l=d=>g=>(g.preventDefault(),d&&s(d),!1),f=({title:d,href:g,children:m})=>g.indexOf(cb)===0?S.jsx("a",{href:g.slice(cb.length),title:d,target:"_blank",rel:"noopener noreferrer",children:m}):S.jsx("a",{onClick:l(g),title:d,href:g,children:m});return S.jsx(Hs,{options:{...r,overrides:{a:f}},children:t})},i6=({text:t,onLinkClick:r})=>t?S.jsx("div",{children:S.jsx(D2,{markdown:t,onLinkClick:r})}):null,a6=({title:t})=>t?S.jsx("h1",{className:ci.title,children:t}):null,s6=({title:t,text:r,buttons:s,onButtonClick:l,onLinkClick:f})=>t?.length||r?.length||s?.length?S.jsxs("div",{className:he(qe.bubbleContent),children:[S.jsx(a6,{title:t}),S.jsx(i6,{text:r,onLinkClick:f}),S.jsx(r6,{buttons:s,onButtonClick:l})]}):null,l6=({alt:t,imageUrl:r,itemUrl:s,hasBody:l})=>r?s?s.indexOf("youtube.com")>-1?S.jsx("div",{className:ci.video_container,children:S.jsx("iframe",{className:he(ci.video,{[ci.only]:!l}),title:"Youtube",width:"100%",src:s+"?rel=0",frameBorder:"0",allowFullScreen:!0})}):S.jsx("a",{href:s,target:"_blank",rel:"noopener noreferrer",children:S.jsx("div",{className:ci.imageContainer,children:S.jsx("img",{className:he(ci.image,{[ci.only]:!l}),src:r,alt:t})})}):S.jsx("div",{className:ci.imageContainer,children:S.jsx("img",{className:he(ci.image,{[ci.only]:!l}),src:r,alt:t})}):null,o6=({title:t,text:r,imageUrl:s,itemUrl:l,buttons:f,sources:d,onButtonClick:g,onLinkClick:m})=>{const y=!!t?.length||!!r?.length||!!f?.length;return S.jsxs("div",{className:he(ci.detailMessage),children:[S.jsx(l6,{hasBody:y,imageUrl:s,itemUrl:l,alt:t||""}),y&&S.jsx(s6,{title:t,text:r,buttons:f,onLinkClick:m,onButtonClick:g}),S.jsx(ly,{sources:d,onLinkClick:m})]})},u6=X.forwardRef(({isFirstMessageBySender:t,isLastMessageBySender:r,children:s},l)=>{const f=Qt();return S.jsx("li",{ref:l,className:he(qe.message,qe.messageGuest,t&&qe.messageGuestFirst,r&&qe.messageGuestLast,"chat__bubbleContainer","chat__guestBubbleContainer",t&&"chat__bubbleContainer--first",r&&"chat__bubbleContainer--last"),children:S.jsx("div",{className:he(qe.bubble,qe.bubbleRight,"chat__bubble","chat__guestBubble"),tabIndex:0,"aria-label":f("guest-bubble.label"),children:S.jsx("div",{className:he(qe.rightText),children:s})})})}),c6="_markdown_nw7vg_1",L2={markdown:c6},B2=()=>f6(window.location.pathname),f6=t=>{const r=t.split("/"),s=t.endsWith("/");return r[r.length-(s?2:1)]},jg=()=>X.useMemo(()=>B2(),[]),eg="source-info-reference",h6=({actionId:t,markdown:r,sources:s,onLinkClick:l})=>{const f=jg(),d=ks(),g=d6(),m=yn(T=>{const R=T.chat.sourceInfos;if(R?.type==="loaded"||R?.type==="loading")return R.chunkId}),y=T=>R=>{const D=R.key;(D==="ArrowDown"||D==="ArrowRight"||D==="Enter"||D===" "||D==="Space")&&(R.stopPropagation(),d(Y_(f,t,T)))},_=T=>()=>{d(Y_(f,t,T))};return X.useLayoutEffect(()=>{document.querySelectorAll(`.${eg}`).forEach(T=>{const R=T.previousSibling;R&&R.nodeType===Node.TEXT_NODE&&R.textContent?.endsWith(" ")&&R.textContent?.trim().length&&T.classList.add(`${eg}--before-space`);const D=T.nextSibling;D&&D.nodeType===Node.TEXT_NODE&&D.textContent?.startsWith(" ")&&D.textContent?.trim().length&&T.classList.add(`${eg}--after-space`)})},[r]),S.jsxs("div",{className:qe.bubbleContent,children:[S.jsx("div",{className:L2.markdown,children:S.jsx(D2,{markdown:r,onLinkClick:l,markdownOptions:{renderRule(T,R,D,Y){if(R.type===jw.footnoteReference){const U=R.text===m;return S.jsx("span",{className:he(qe.sourceInfoReference,U&&qe.sourceInfoReferenceActive,eg),children:S.jsx("a",{type:"button",tabIndex:0,onClick:_(R.text),onKeyDown:y(R.text),children:g(R.text)})},Y.key)}return T()}}})}),S.jsx(ly,{sources:s,onLinkClick:l})]})},d6=()=>{const t=[];return s=>{const l=t.indexOf(s);return l>-1?l+1:(t.push(s),t.length)}},p6="_text_gp0s0_1",g6="_command_gp0s0_5",fb={text:p6,command:g6},m6=({text:t,commands:r=[]})=>{const s=r.find(f=>t.startsWith(`/${f}`)),l=s?t.slice(s.length+1):t;return S.jsxs("div",{children:[s&&S.jsxs("code",{className:fb.command,children:["/",s]}),l.split(`
|
|
136
|
+
`).map((f,d)=>S.jsxs("span",{className:fb.text,children:[f,S.jsx("br",{})]},d))]})},v6=({text:t,commands:r,sources:s,onLinkClick:l})=>S.jsxs("div",{className:qe.bubbleContent,children:[S.jsx(m6,{text:t,commands:r}),S.jsx(ly,{sources:s,onLinkClick:l})]}),y6=X.forwardRef(({message:t,commands:r,isLastMessage:s,isFirstMessageBySender:l,isLastMessageBySender:f,onReaction:d,onButtonClick:g,onLinkClick:m},y)=>{const _=_6(t._id,t,r,g,m),T=R=>{d(t._id,R)};switch(t.sender.type){case nt.UserType.GUEST:return S.jsx(u6,{ref:y,isFirstMessageBySender:l,isLastMessageBySender:f,children:_});default:return S.jsx(w2,{ref:y,message:t,isAnimated:!1,isLastMessage:s,isFirstMessageBySender:l,isLastMessageBySender:f,onReaction:T,children:_})}}),_6=(t,r,s,l,f)=>{switch(r.type){case nt.MessageTypeEnum.TEXT:{const d=r;return S.jsx(v6,{text:d.text,commands:s,sources:r.sources||[],onLinkClick:f})}case nt.MessageTypeEnum.DETAIL:{const d=r;return S.jsx(o6,{title:d.title,text:d.text,imageUrl:d.imageUrl,itemUrl:d.itemUrl,buttons:d.buttons,sources:r.sources||[],onButtonClick:l,onLinkClick:f})}case nt.MessageTypeEnum.MARKDOWN:{const d=r;return S.jsx(h6,{actionId:t,markdown:d.markdown,sources:d.sources||[],onLinkClick:f})}}},b6=(t,r)=>t.message._id===r.message._id&&t.message.reaction===r.message.reaction&&t.isLastMessage===r.isLastMessage&&t.isFirstMessageBySender===r.isFirstMessageBySender&&t.isLastMessageBySender===r.isLastMessageBySender,E6=nE.memo(y6,b6),S6="_ticontainer_xg0dn_1",T6="_tiblock_xg0dn_5",A6="_tidot_xg0dn_12",ed={ticontainer:S6,tiblock:T6,tidot:A6},x6=({isTyping:t=!1})=>S.jsx("div",{className:ed.ticontainer,children:S.jsx("div",{className:ed.tiblock,children:t?S.jsxs(S.Fragment,{children:[S.jsx("div",{className:he(ed.tidot,"chat__typingIndicator")}),S.jsx("div",{className:he(ed.tidot,"chat__typingIndicator")}),S.jsx("div",{className:he(ed.tidot,"chat__typingIndicator")})]}):null})}),O6=Object.assign({_id:"typing-indicator"},new nt.TextMessage("",new nt.BotUser)),w6=({messages:t,isBotTyping:r,commands:s,onTranscriptItemReaction:l,onButtonClick:f,onLinkClick:d})=>{const g=X.useRef(0),m=X.useRef(!0),y=X.useRef(null),_=X.useRef(null),T=X.useRef(null),R=yn(U=>U.settings.enableGeneralConditions);X.useLayoutEffect(()=>{if(t.length&&y.current&&(g.current<t.length||r)){if(_.current){const U=_.current.offsetTop;y.current.scrollTop=U}else if(T.current){const U=T.current.offsetTop;y.current.scrollTop=U}m.current&&(m.current=!1),g.current=t.length}},[t,m,r]);let D;const Y=t.length;return S.jsxs("div",{ref:y,className:he(X_.messageContainer,"chat__messageContainer"),style:{scrollBehavior:t.length&&m.current?"auto":"smooth"},id:"MessageContainer",role:"log","aria-live":"polite",children:[R&&S.jsx(eC,{}),S.jsxs("ul",{className:X_.messages,children:[t.map((U,te)=>{const Q=R6(U,D),w=C6(U,te,t,r);D=U.sender.type;const j=te+1===Y,C=U._id||`added-${te}`;return S.jsx(E6,{ref:j?T:null,message:U,commands:s,isLastMessage:j,isFirstMessageBySender:Q,isLastMessageBySender:w,onButtonClick:f,onLinkClick:d,onReaction:l},j&&!r?"last":C)}),r&&S.jsx(w2,{ref:_,message:O6,isLastMessage:!1,isAnimated:!0,isFirstMessageBySender:D!==nt.UserType.BOT,isLastMessageBySender:!0,children:S.jsx(x6,{isTyping:!0})},"last")]})]})},R6=(t,r)=>!r||r!==t.sender.type,C6=(t,r,s,l)=>{const f=t.sender.type,d=s.length;return r+1===d?!(f===nt.UserType.BOT&&l):f!==s.at(r+1)?.sender.type},N6="_bottomSheet_jp8dl_1",M6="_bottomSheetOpen_jp8dl_15",D6="_bottomSheetClose_jp8dl_20",js={bottomSheet:N6,bottomSheetOpen:M6,bottomSheetClose:D6},L6="_container_xc2nx_1",hb={container:L6},B6=({contentUrl:t})=>{const r=yn(d=>d.connection.sessionId),[s,l]=X.useState(!1);X.useEffect(()=>{l(d=>d||!!t)},[t]);const f=X.useMemo(()=>{if(t&&r){const d=new URL(t,document.baseURI);return d.searchParams.set("sessionId",r),d.toString()}else return},[t,r]);return S.jsx("div",{className:he(hb.container,js.bottomSheet,{[js.bottomSheetOpen]:!!t,[js.bottomSheetClose]:s&&!t}),children:f&&S.jsx("iframe",{title:"Drawer",src:f,className:hb.iframe})})},U6="_container_z787n_1",I6={container:U6},H6=({title:t,href:r,children:s})=>S.jsx("a",{href:r,title:t,target:"_blank",rel:"noopener noreferrer",children:s}),j6=()=>{const r=Qt()("powered-by");return r&&r.length?S.jsx("div",{className:he(I6.container,"chat__poweredBy"),children:S.jsx(Hs,{options:{overrides:{a:H6}},children:r})}):null},U2=({className:t,children:r,...s})=>S.jsx(Hg,{className:he(pd.buttonDefault,t),type:"button",...s,children:r}),Sg=({className:t,children:r,...s})=>S.jsx(Hg,{className:he(pd.buttonPrimary,t),...s,children:r}),G6="_container_h23mk_1",z6="_formContainer_h23mk_17",k6="_emailInput_h23mk_22",q6="_description_h23mk_52",F6="_actions_h23mk_57",P6="_validationError_h23mk_67",V6="_submitted_h23mk_74",lu={container:G6,formContainer:z6,emailInput:k6,description:q6,actions:F6,validationError:P6,submitted:V6},Y6=({visible:t,onEmailExport:r,onClose:s})=>{const l=Qt(),[f,d]=X.useState(void 0),[g,m]=X.useState(!1),[y,_]=X.useState(void 0),T=X.useRef(null);X.useEffect(()=>{t?(T.current?.focus(),m(!1),d(t)):f===!0&&d(!1)},[t,f]);const R=Y=>{Y.preventDefault(),y&&y.length>0&&(r(y),m(!0),setTimeout(s,3*1e3))},D=Y=>{const U=Y.target.value.trim(),te=/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/.test(U);_(te?U:"")};return S.jsxs("div",{className:he(lu.container,js.bottomSheet,{[js.bottomSheetOpen]:f===!0,[js.bottomSheetClose]:f===!1}),children:[S.jsx("h2",{children:l("export-transcript.email.title")}),S.jsx(Hs,{className:lu.description,children:l("export-transcript.email.description")||""}),S.jsxs("form",{onSubmit:R,className:lu.formContainer,children:[S.jsxs("div",{children:[S.jsx("input",{disabled:g,ref:T,type:"email",placeholder:l("export-transcript.email.placeholder"),className:lu.emailInput,onChange:D}),y?.length===0?S.jsx("div",{className:lu.validationError,children:l("export-transcript.email.invalid")}):null]}),S.jsxs("div",{className:lu.actions,children:[S.jsx(U2,{onClick:s,children:l("export-transcript.email.cancel")}),S.jsx(Sg,{type:"submit",disabled:g||y===void 0||y.length===0,children:l("export-transcript.email.send")})]})]}),g&&S.jsx("div",{className:lu.submitted,children:l("export-transcript.email.success")})]})},Z6="_inputContainer_fi5ao_1",X6={inputContainer:Z6},K6="_blockUserInput_pot9c_1",Q6={blockUserInput:K6},W6=({visible:t})=>{const r=Qt();return t?S.jsx("div",{className:he(Q6.blockUserInput,"chat__blockUserInput"),children:r("block-user-input.title")}):null},$6="_commandsDropdown_5ytuv_1",J6="_commands_5ytuv_1",e3="_command_5ytuv_1",t3="_commandActive_5ytuv_46",n3="_commandsSelections_5ytuv_55",ud={commandsDropdown:$6,commands:J6,command:e3,commandActive:t3,commandsSelections:n3},r3=(t,r,s,l,f)=>{X.useEffect(()=>{const d=g=>{if(t.length)switch(g.key){case"Enter":s(t[r]);break;case"ArrowUp":l(m=>m>0?m-1:t.length-1);break;case"ArrowDown":l(m=>m<t.length-1?m+1:0);break;case"Escape":f([]);break}};return document.addEventListener("keydown",d),()=>{document.removeEventListener("keydown",d)}},[t,r,s,l,f])},i3=({text:t,commands:r,onSelectCommand:s,onVisibilityChange:l})=>{const f=X.useRef(null),d=Qt(),[g,m]=X.useState([]),[y,_]=X.useState(db(r)),[T,R]=X.useState(0),D=Y=>s(`/${Y}`);return sy(f,()=>m([])),r3(g,T,D,R,m),X.useEffect(()=>{_(db(r))},[r]),X.useEffect(()=>{const Y=t.length||0;Y===0||Y>y||!t.startsWith("/")?m([]):m(r.filter(a3(t))),R(0)},[r,t,y]),X.useEffect(()=>{l(!!g.length)},[g,l]),g.length?S.jsx("div",{ref:f,className:ud.commandsDropdown,children:S.jsx("ul",{id:"command-list",className:ud.commands,role:"listbox",children:g.map((Y,U)=>S.jsxs("li",{className:he([ud.command,T===U&&ud.commandActive]),role:"option",onClick:()=>D(Y),onMouseOver:()=>R(U),children:[S.jsxs("h1",{children:["/",Y]}),S.jsx("p",{children:d(`commands.${Y}`)})]},Y))})}):null},db=t=>Math.max(...t.map(r=>r.length+1)),a3=t=>r=>{const s=`/${r}`;return s.startsWith(t)&&s.length>=t.length},pb=3,s3=({commands:t,onSelectCommand:r})=>{const s=Qt(),[l,f]=X.useState(!1),d=_=>()=>{r(`/${_}`),f(!1)},g=()=>{f(!0)},m=()=>{f(!1)},y=l?t:t.slice(0,pb);return S.jsxs("div",{className:ud.commandsSelections,children:[y.map(_=>S.jsxs("button",{className:"tooltip--top-center","aria-label":s(`commands.${_}`),"data-title":s(`commands.${_}`),tabIndex:0,onClick:d(_),children:["/",_]},_)),y.length<t.length?S.jsx("button",{"aria-label":s("commands.show-more.tooltip"),"data-title":s("commands.show-more.tooltip"),tabIndex:0,onClick:g,children:s("commands.show-more.action")},"show-more"):y.length>pb?S.jsx("button",{"aria-label":s("commands.show-less.tooltip"),"data-title":s("commands.show-less.tooltip"),tabIndex:0,onClick:m,children:s("commands.show-less.action")},"show-less"):null]})},l3="_callToActionContainer_d8izj_1",o3="_callToActionTitle_d8izj_23",u3="_rateOverlay_d8izj_30",c3="_body_d8izj_52",f3="_footer_d8izj_60",h3="_actions_d8izj_75",d3="_bubbles_d8izj_89",p3="_stars_d8izj_191",g3="_starsSmall_d8izj_205",m3="_starsLarge_d8izj_211",v3="_star_d8izj_191",y3="_starReadonly_d8izj_225",_3="_starIcon_d8izj_235",b3="_starsDescriptionContainer_d8izj_253",E3="_starsDescription_d8izj_253",Or={callToActionContainer:l3,callToActionTitle:o3,rateOverlay:u3,body:c3,footer:f3,actions:h3,bubbles:d3,stars:p3,starsSmall:g3,starsLarge:m3,star:v3,starReadonly:y3,starIcon:_3,starsDescriptionContainer:b3,starsDescription:E3},S3=({value:t,index:r,count:s,readonly:l,onHover:f,onClick:d})=>{const g=m=>{d&&m.key==="Enter"&&d()};return S.jsx("li",{className:he(Or.star,{[Or.starReadonly]:l},"chat__conversationRating__star"),children:S.jsx("div",{role:"radio","aria-checked":t>r?"true":"false","aria-posinset":r+1,"aria-setsize":s,tabIndex:0,onMouseOver:f,onKeyDown:g,onClick:d,children:S.jsx("span",{role:"img","aria-label":"Star",className:he(Or.starIcon),children:S.jsx("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"star",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:S.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"})})})})})},gb=5,I2=({value:t,size:r,readonly:s=!1,onChange:l})=>{const[f,d]=X.useState(void 0),g=()=>{d(void 0)},m=_=>()=>{if(!s){const T=_+1;d(T)}},y=_=>()=>{l&&!s&&(l(_===0&&t===1?0:_+1),d(void 0))};return S.jsx("ul",{tabIndex:0,role:"radiogroup",className:he(Or.stars,{[Or.starsSmall]:r==="small",[Or.starsLarge]:r==="large"},"chat__conversationRating__stars",{chat__conversationRating__stars__small:r==="small",chat__conversationRating__stars__large:r==="large"}),onMouseOut:g,children:Array(gb).fill(0).map((_,T)=>S.jsx(S3,{value:f===void 0?t:f,index:T,count:gb,readonly:s,onHover:m(T),onClick:y(T)},T))})},T3=({visible:t,onRate:r})=>{const s=Qt();return t?S.jsxs("div",{className:he(Or.callToActionContainer,"chat__conversationRating__callToAction"),children:[S.jsx("div",{className:he(Or.callToActionTitle,"chat__conversationRating__callToAction__title"),children:s("conversation-rating.call-to-action.title")}),S.jsx(I2,{value:0,size:"small",onChange:r})]}):null},C1=({isFirstMessageBySender:t,isLastMessageBySender:r,children:s})=>S.jsxs("div",{className:he(qe.message,qe.messageBot,t&&qe.messageBotFirst,r&&qe.messageBotLast,"chat__bubbleContainer","chat__botBubbleContainer",t&&"chat__bubbleContainer--first",r&&"chat__bubbleContainer--last"),children:[S.jsx("img",{className:he(qe.avatar,qe.botAvatar),src:"bot.svg",alt:"Bot"}),S.jsx("div",{className:he(qe.bubble,qe.bubbleLeft,"chat__bubble","chat__botBubble"),children:S.jsx("div",{className:he(qe.leftText,qe.bubbleContent),children:s})})]}),A3=({children:t})=>S.jsx("div",{className:he(qe.message,qe.messageGuest,qe.messageGuestFirst,qe.messageGuestLast,"chat__bubbleContainer","chat__guestBubbleContainer","chat__bubbleContainer--first","chat__bubbleContainer--last"),children:S.jsx("div",{className:he(qe.bubble,qe.bubbleRight,"chat__bubble","chat__guestBubble"),children:S.jsx("div",{className:he(qe.rightText,qe.bubbleContent),children:t})})}),x3=()=>{const t=Qt(),r=ks(),s=yn(Q=>Q.chat.conversationRating),[l,f]=X.useState(s.rating?.value||0),[d,g]=X.useState(void 0),[m,y]=X.useState(void 0),[_,T]=X.useState({submitted:!1,feedback:""}),[R,D]=X.useState(!1),Y=X.useRef(null);X.useEffect(()=>{s.opener?(T({submitted:!1,feedback:""}),y(!0)):m===!0&&y(!1)},[s.opener,m]),X.useEffect(()=>{f(s.rating?.value||0)},[s.rating?.value,s.opener]),X.useEffect(()=>{Y.current&&(Y.current.value=s.rating?.feedback||"")},[s.rating?.feedback]),X.useEffect(()=>{const Q=l>0?t(`conversation-rating.overlay.bot-message.rate-feedback.value-${l}`):void 0;g(Q?.length?Q:void 0)},[l,t]),X.useEffect(()=>{_.submitted?setTimeout(()=>D(!0),_.feedback.length?500:0):D(!1)},[_]);const U=Q=>{Q.preventDefault();const w=Y.current?.value?.trim()||"";r(xO(l,w)),T({submitted:!0,feedback:w})},te=()=>{s.opener==="CLOSE_CHAT"?r(m2()):r(Sw())};return S.jsx("div",{className:he(Or.rateOverlay,js.bottomSheet,"chat__conversationRating__overlay",{[js.bottomSheetOpen]:m===!0,[js.bottomSheetClose]:m===!1}),children:S.jsxs("form",{onSubmit:U,children:[S.jsxs("div",{className:he(Or.body,"chat__conversationRating__overlay__body"),children:[S.jsx("div",{}),S.jsx("div",{className:he(Or.bubbles),children:s.opener&&S.jsxs(S.Fragment,{children:[S.jsxs(C1,{isFirstMessageBySender:!0,isLastMessageBySender:!d,children:[S.jsx("h2",{children:t("conversation-rating.overlay.title")}),S.jsxs("div",{className:he(Or.starsDescriptionContainer),children:[S.jsx(I2,{value:l,size:"large",readonly:_.submitted,onChange:f}),S.jsxs("div",{className:he(Or.starsDescription),children:[S.jsx("div",{children:t("conversation-rating.overlay.star.very-bad")}),S.jsx("div",{children:t("conversation-rating.overlay.star.very-good")})]})]})]}),d&&S.jsx(C1,{isFirstMessageBySender:!1,isLastMessageBySender:!R||!!_.feedback.length,children:S.jsx("div",{children:d})}),!!_.feedback.length&&S.jsx(A3,{children:_.feedback}),R&&S.jsx(C1,{isFirstMessageBySender:!!_.feedback.length,isLastMessageBySender:!0,children:S.jsx("div",{children:t("conversation-rating.overlay.bot-message.submit-feedback")})})]})})]}),S.jsxs("div",{className:he(Or.footer,"chat__conversationRating__overlay__footer"),children:[!_.submitted&&S.jsx("input",{ref:Y,defaultValue:s.rating?.feedback||"",placeholder:t("conversation-rating.overlay.guest-feedback.input-placeholder")}),S.jsxs("div",{className:he(Or.actions,"chat__conversationRating__overlay__footer__actions"),children:[_.submitted?S.jsx(Sg,{type:"button",disabled:!l,onClick:te,children:s.opener==="CLOSE_CHAT"?t("conversation-rating.overlay.action.close-chat"):t("conversation-rating.overlay.action.back-to-chat")},"close-button"):S.jsx(Sg,{type:"submit",disabled:!l,children:t("conversation-rating.overlay.action.submit")},"submit-button"),s.opener!=="CHAT"&&!_.submitted&&S.jsx(U2,{onClick:te,children:s.opener==="CLOSE_CHAT"?t("conversation-rating.overlay.action.close-chat"):t("conversation-rating.overlay.action.cancel")})]})]})]})})},O3=({numberOfMessagesFromGuest:t})=>{const r=ks(),s=yn(d=>d.chat.conversationRating),l=d=>{r(Wv("CHAT",d))},f=!s.rating?.value&&t>=1;return s.enabled?S.jsxs(S.Fragment,{children:[S.jsx(T3,{visible:f,onRate:l}),S.jsx(x3,{})]}):null},w3=X.memo(O3),R3="_inputWrapper_e3h44_1",C3="_withOpenCommands_e3h44_14",N3="_messageInputWrapper_e3h44_20",M3="_messageInput_e3h44_20",D3="_buttons_e3h44_44",L3="_button_e3h44_44",Yc={inputWrapper:R3,withOpenCommands:C3,messageInputWrapper:N3,messageInput:M3,buttons:D3,button:L3},B3="_audioRecorder_g845f_1",U3="_audioButton_g845f_6",I3="_recorderIcon_g845f_37",H3="_spinning_g845f_60",ou={audioRecorder:B3,audioButton:U3,recorderIcon:I3,spinning:H3},mb=2048,Tg=16e3;class j3 extends nE.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 s=window.AudioContext||window.webkitAudioContext,l=new s;this.sampleRate=l.sampleRate,this.volume=l.createGain(),this.audioInput=l.createMediaStreamSource(r),this.audioInput.connect(this.volume),this.recorder=l.createScriptProcessor(mb,1,1),this.recorder.onaudioprocess=this.processRecordingInput,this.volume.connect(this.recorder),this.recorder.connect(l.destination)}processRecordingInput(r){if(this.state.recordingState==="connecting"&&this.setState({recordingState:"recording"}),this.state.recordingState!=="none"){const s=r.inputBuffer.getChannelData(0);this.leftchannel.push(new Float32Array(s)),this.recordingLength+=mb}}handleClickSubmitAudio(){const r=z3(this.leftchannel,this.recordingLength),s=k3(r,this.sampleRate||0),l=G3(s);this.props.onAudioRecorded(l),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 S.jsxs("div",{className:ou.audioRecorder,children:[this.state.recordingState==="none"&&S.jsx("button",{className:he(ou.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:S.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[S.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"}),S.jsx("path",{d:"M0 0h24v24H0z",fill:"none"})]})}),this.state.recordingState==="connecting"&&S.jsxs("svg",{className:ou.spinning,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[S.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"}),S.jsx("path",{d:"M0 0h24v24H0z",fill:"none"})]}),this.state.recordingState==="recording"&&S.jsxs("div",{className:ou.audioRecorder,children:[S.jsx("button",{className:he(ou.audioButton),onClick:this.handleClickStopAudio,"aria-label":this.props.translate("message-input.actions.stop-audio-recording.label"),tabIndex:0,children:S.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[S.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"}),S.jsx("path",{d:"M0 0h24v24H0z",fill:"none"})]})}),S.jsx("div",{className:ou.recorderIcon}),S.jsx("button",{className:he(ou.audioButton),type:"submit",onClick:this.handleClickSubmitAudio,"aria-label":this.props.translate("message-input.actions.submit-audio-recording.label"),tabIndex:0,autoFocus:!0,children:S.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[S.jsx("path",{d:"M0 0h24v24H0z",fill:"none"}),S.jsx("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"})]})})]})]})}}const G3=t=>{const r=new ArrayBuffer(44+t.length*2),s=new DataView(r);tg(s,0,"RIFF"),s.setUint32(4,44+t.length*2,!0),tg(s,8,"WAVE"),tg(s,12,"fmt "),s.setUint32(16,16,!0),s.setUint16(20,1,!0),s.setUint16(22,1,!0),s.setUint32(24,Tg,!0),s.setUint32(28,Tg*4,!0),s.setUint16(32,4,!0),s.setUint16(34,16,!0),tg(s,36,"data"),s.setUint32(40,t.length*2,!0);const l=t.length;let f=44;const d=1;for(let g=0;g<l;g++)s.setInt16(f,t[g]*(32767*d),!0),f+=2;return new Blob([s],{type:"audio/wav"})},tg=(t,r,s)=>{for(let l=0;l<s.length;l++)t.setUint8(r+l,s.charCodeAt(l))},z3=(t,r)=>{const s=new Float32Array(r);let l=0;const f=t.length;for(let d=0;d<f;d++){const g=t[d];s.set(g,l),l+=g.length}return s},k3=(t,r)=>{if(Tg===r)return t;const s=r/Tg,l=Math.round(t.length/s),f=new Float32Array(l);let d=0,g=0;for(;d<f.length;){const m=Math.round((d+1)*s);let y=0,_=0;for(let T=g;T<m&&T<t.length;T++)y+=t[T],_++;f[d]=y/_,d++,g=m}return f},q3=({disabled:t,textInput:r,commandsVisible:s,hasCommands:l,onTextInput:f,onTextInputSubmit:d,onAudioRecorded:g})=>{const m=Qt(),y=X.useRef(null),{enableSpeechSupport:_}=yn(U=>U.settings);X.useEffect(()=>{y.current?.focus()},[r]);const T=()=>{const U=y.current;U&&r.trim().length>=1&&d(r.trim())&&(U.value="",U.style.height="",U.focus())},R=U=>{U.preventDefault(),T()},D=U=>{const te=U.target.value;f(te),U.target.style.height="";const{scrollHeight:Q}=U.target;U.target.style.height=`${Q>150?150:Q}px`},Y=U=>{U.code==="Enter"&&!U.shiftKey?(U.repeat||T(),U.preventDefault()):s&&(U.code==="ArrowUp"||U.code==="ArrowDown")&&U.preventDefault()};return S.jsxs("form",{className:he(Yc.inputWrapper,s&&Yc.withOpenCommands,"chat__textInput"),onSubmit:R,children:[S.jsx("div",{className:Yc.messageInputWrapper,children:S.jsx("textarea",{id:"user_input",ref:y,className:Yc.messageInput,tabIndex:0,placeholder:m("message-input-placeholder"),value:r,onChange:D,onKeyDown:Y,"aria-label":m("message-input-label"),"aria-controls":l?"command-list":void 0,"aria-haspopup":l?"listbox":void 0})}),S.jsx("div",{className:he(Yc.buttons,"chat__buttons"),children:r.length||!_||navigator.mediaDevices===void 0?S.jsx("button",{className:he(Yc.button,"chat__button"),type:"submit","aria-label":m("message-input.actions.submit.label"),"data-title":m("message-input.actions.submit.label"),tabIndex:0,disabled:t,children:S.jsx("svg",{viewBox:"64 64 896 896",focusable:"false",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:S.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"})})}):_&&navigator.mediaDevices!==void 0&&S.jsx(j3,{translate:m,onAudioRecorded:g})})]})},F3="_quickReplies_83npe_1",P3="_quickReply_83npe_9",vb={quickReplies:F3,quickReply:P3},V3=({quickReplies:t,onQuickReplyClick:r})=>t.length?S.jsx("div",{className:he(vb.quickReplies,"chat__quickReplies"),children:t.map(s=>S.jsx(Hg,{tabIndex:0,className:he(vb.quickReply,"chat__button","chat__quickReply"),onClick:()=>r(s),children:s.label},s.label))}):null,yb=5e3,Y3=1e3,Z3=({isBotTyping:t,quickReplies:r,numberOfMessagesFromGuest:s,commands:l,onTextInput:f,onQuickReplyClick:d,onAudioRecorded:g})=>{const[m,y]=X.useState(""),[_,T]=X.useState(!1),[R,D]=X.useState(!1),Y=X.useRef(0),U=X.useRef(0);X.useEffect(()=>{if(_&&!t){const w=Y.current?Date.now()-Y.current:0;w>yb?T(!1):setTimeout(()=>{T(!1)},yb-w)}},[_,t]),X.useEffect(()=>{_&&(Y.current=Date.now())},[_]);const te=w=>{const j=Date.now()-U.current<Y3;return R?!1:t||j?(T(!0),!1):(f(w),y(""),U.current=Date.now(),!0)},Q=w=>{y(w+" ")};return S.jsxs("div",{className:he(X6.inputContainer),children:[S.jsx(V3,{quickReplies:r,onQuickReplyClick:d}),S.jsx(W6,{visible:_}),!_&&S.jsx(w3,{numberOfMessagesFromGuest:s}),!!l?.length&&S.jsx(i3,{text:m,commands:l,onSelectCommand:Q,onVisibilityChange:D}),S.jsx(q3,{textInput:m,disabled:_,commandsVisible:R,hasCommands:!!l?.length,onTextInput:y,onTextInputSubmit:te,onAudioRecorded:g}),!!l?.length&&S.jsx(s3,{commands:l,onSelectCommand:y})]})},X3=({clientName:t,messages:r,quickReplies:s,isBotTyping:l,drawerContentUrl:f,onMessageFromUser:d,onQuickReplyClick:g,onButtonClick:m,onLinkClick:y,onAudioRecorded:_,onTranscriptExport:T,onTranscriptItemReaction:R})=>{const D=ks(),Y=yn(Z=>Z.connection.connectionState),{enableTranscriptExportEmail:U,commands:te}=yn(Z=>Z.settings),{showTranscriptMailOverlay:Q,conversationRating:w}=yn(Z=>Z.chat),j=r.filter(Z=>Z.sender.type===Eg.GUEST).length;X.useEffect(()=>{if(Y===hu.CONNECTED){const Z=wg.parse(window.location.search);D(y2(t,Z))}},[t,Y,D]);const C=()=>{D(v2())};return S.jsxs("div",{className:E1.container,children:[S.jsxs("div",{className:he([E1.chatcontent,(Q||w?.opener)&&E1.accessabilityHidden]),children:[S.jsx(w6,{messages:r,isBotTyping:l,commands:te,onButtonClick:m,onLinkClick:y,onTranscriptItemReaction:R}),S.jsx(Z3,{isBotTyping:l,quickReplies:l?[]:s,numberOfMessagesFromGuest:j,commands:te,onQuickReplyClick:g,onTextInput:d,onAudioRecorded:_}),S.jsx(j6,{})]}),U&&S.jsx(Y6,{visible:!!Q,onEmailExport:T,onClose:C}),S.jsx(B6,{contentUrl:f})]})},K3=t=>{const{messages:r,quickReplies:s,isBotTyping:l,drawerContentUrl:f}=t.chat;return{messages:r,quickReplies:s,isBotTyping:l,drawerContentUrl:f}},Q3=t=>({onRestartChat:(r,s)=>t(Bg(r,s)),onMessageFromUser:r=>t(VE(r)),onAudioRecorded:r=>t(bO(r)),onActionFromUser:r=>t(r),onQuickReplyClick:r=>t(PE(r)),onNluEvent:r=>t(QE(r)),onButtonClick:r=>t(wO(r)),onLinkClick:r=>t(WE(r)),onTranscriptExport:r=>t(SO(r)),onTranscriptItemReaction:(r,s)=>{t(nt.Actions.transcriptItemGuestReaction(r,s?.type||null,s?.category,s?.comment))}}),W3=kT(K3,Q3)(X3),H2=()=>{const[t,r]=X.useState(!1);return X.useEffect(()=>{r((()=>{try{return window.self!==window.top}catch{return!0}})())},[]),t},$3=t=>r=>{const s=r.key;(s==="ArrowDown"||s==="ArrowRight"||s==="Enter"||s===" "||s==="Space")&&(r.stopPropagation(),t())},J3=({onClick:t})=>{const r=Qt();return H2()?S.jsx("button",{className:"tooltip--bottom-left","aria-label":r("header.close-chat"),"data-title":r("header.close-chat"),tabIndex:0,onClick:t,onKeyDown:$3(t),children:S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:S.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},eN="_header_3gvbz_1",tN="_logoContainer_3gvbz_14",nN="_logo_3gvbz_14",rN="_actions_3gvbz_28",iN="_active_3gvbz_43",aN="_menuContainer_3gvbz_56",sN="_menu_3gvbz_56",lN="_divider_3gvbz_86",kl={header:eN,logoContainer:tN,logo:nN,actions:rN,active:iN,menuContainer:aN,menu:sN,divider:lN},oN=({icon:t})=>{switch(t){case"arrow-counter-clockwise":return S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 256 256",children:S.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 S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 256 256",children:S.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 S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 256 256",children:S.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 S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 256 256",children:S.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 S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 256 256",children:S.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 S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 256 256",children:S.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"star":return S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 256 256",children:S.jsx("path",{d:"M239.18,97.26A16.38,16.38,0,0,0,224.92,86l-59-4.76L143.14,26.15a16.36,16.36,0,0,0-30.27,0L90.11,81.23,31.08,86a16.46,16.46,0,0,0-9.37,28.86l45,38.83L53,211.75a16.38,16.38,0,0,0,24.5,17.82L128,198.49l50.53,31.08A16.4,16.4,0,0,0,203,211.75l-13.76-58.07,45-38.83A16.43,16.43,0,0,0,239.18,97.26Zm-15.34,5.47-48.7,42a8,8,0,0,0-2.56,7.91l14.88,62.8a.37.37,0,0,1-.17.48c-.18.14-.23.11-.38,0l-54.72-33.65a8,8,0,0,0-8.38,0L69.09,215.94c-.15.09-.19.12-.38,0a.37.37,0,0,1-.17-.48l14.88-62.8a8,8,0,0,0-2.56-7.91l-48.7-42c-.12-.1-.23-.19-.13-.5s.18-.27.33-.29l63.92-5.16A8,8,0,0,0,103,91.86l24.62-59.61c.08-.17.11-.25.35-.25s.27.08.35.25L153,91.86a8,8,0,0,0,6.75,4.92l63.92,5.16c.15,0,.24,0,.33.29S224,102.63,223.84,102.73Z"})});case"link":return S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 256 256",children:S.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 S.jsx("div",{})}},uN=X.forwardRef(({selected:t,item:r,onClick:s},l)=>{const f=Qt(),d=g=>{g.preventDefault(),s()};return S.jsx("li",{"aria-selected":t,role:"option",className:r.withDivider?kl.divider:void 0,children:S.jsxs("a",{ref:l,type:"button",role:"button",tabIndex:-1,onClick:d,children:[S.jsx(oN,{icon:r.icon}),S.jsx("span",{children:f(`header.menu.${r.id}`)})]})})}),cN=(t,r)=>{const s=H2(),{menuItems:l,enableStandaloneView:f,enableTranscriptExportPdf:d,enableTranscriptExportEmail:g}=yn(_=>_.settings),m=yn(_=>_.chat.conversationRating.enabled);return X.useMemo(()=>{const _=[],T=l.filter(({visibility:R})=>t?R==="always"||R==="chat-only":R==="always"||R==="start-screen-only");if(t&&(_.push({id:"restart-chat",type:"restart-chat",icon:"arrow-counter-clockwise",visibility:"chat-only"}),s&&f&&_.push({id:"expand-chat-window",type:"expand-chat-window",icon:"expand",visibility:"always"}),r&&d&&_.push({id:"download-transcript",type:"download-transcript",icon:"download",visibility:"chat-only"}),r&&g&&_.push({id:"send-transcript",type:"send-transcript",icon:"mail",visibility:"chat-only"}),r&&m&&_.push({id:"rate-conversation",type:"rate-conversation",icon:"star",visibility:"chat-only"}),_.length>0&&T.length)){const R=_.pop();R&&l.length&&_.push({...R,withDivider:!0})}return _.push(...T),_},[t,r,d,g,f,m,s,l])},fN=({chatStarted:t,hasGuestMessages:r})=>{const s=ks(),l=jg(),f=Qt(),[d,g]=X.useState(!1),[m,y]=X.useState(-1),_=X.useRef(null),T=X.useRef(null),R=X.useRef([]),D=cN(t,r);X.useEffect(()=>{R.current[m]?.focus()},[m]);const Y=X.useCallback(()=>{const w=wg.parse(window.location.search);s(Bg(l,w)),g(!1),y(0)},[s,l]),U=X.useCallback(w=>{switch(w.type){case"restart-chat":Y();break;case"expand-chat-window":window.open(window.location.href,"_blank");break;case"download-transcript":s(TO());break;case"send-transcript":s(v2());break;case"rate-conversation":s(Wv("MENU"));break;case"link":s(WE(w.url));break;case"action":s(JSON.parse(JSON.stringify(w.action)));break}g(!1)},[s,Y,g]);X.useEffect(()=>{const w=j=>{if(d)switch(j.key){case"Enter":j.preventDefault(),U(D[m]);break;case"ArrowUp":y(C=>C>0?C-1:D.length-1);break;case"ArrowDown":y(C=>C<D.length-1?C+1:0);break;case"Escape":g(!1);break;case"Tab":m>-1&&g(!1);break}};return document.addEventListener("keydown",w),()=>{document.removeEventListener("keydown",w)}},[d,m,D,y,g,U]),X.useEffect(()=>{d||y(-1)},[d,m]),sy(T,()=>g(!1));const te=()=>{g(w=>!w)},Q=()=>{setTimeout(()=>{const w=document.activeElement;T.current&&!T.current.contains(w)&&g(!1)},0)};return D.length?S.jsxs("div",{className:he(kl.menuContainer),ref:T,children:[S.jsx("button",{ref:_,className:he(d&&kl.active,d?"tooltip-hidden":"tooltip--bottom-left"),"aria-label":f("header.menu.title"),"data-title":f("header.menu.title"),onClick:te,onBlur:Q,children:S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:S.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"})})}),d&&S.jsx("nav",{className:kl.menu,"aria-label":f("header.menu.title"),children:S.jsx("ul",{tabIndex:0,children:D.map((w,j)=>S.jsx(uN,{ref:C=>{R.current[j]=C},selected:m===j,item:w,onClick:()=>U(w)},w.id))})})]}):null},_b=({className:t,chatStarted:r,...s})=>{const l=ks(),f=yn(m=>m.chat.conversationRating),d=yn(m=>m.chat.messages.some(y=>y.sender.type===nt.UserType.GUEST)),g=()=>{f.enabled&&!f.opener&&d?l(Wv("CLOSE_CHAT")):l(m2())};return S.jsxs("div",{className:he([kl.header,t]),...s,children:[S.jsx("div",{className:kl.logoContainer,children:S.jsx("div",{className:kl.logo})}),S.jsxs("div",{className:kl.actions,children:[S.jsx(fN,{chatStarted:r,hasGuestMessages:d}),S.jsx(J3,{onClick:g})]})]})},hN="_chatwindow_rkbir_1",dN="_chatwindowWithAside_rkbir_21",bb={chatwindow:hN,chatwindowWithAside:dN},j2=()=>{const[t,r]=X.useState(!1);return X.useEffect(()=>{const s=window.matchMedia("(max-width: 1023px)"),l=()=>r(s.matches);return l(),s.addEventListener("change",l),()=>s.removeEventListener("change",l)},[]),t},pN="_sourceInfos_vei0l_1",gN="_waitForLoading_vei0l_24",mN="_loadingContent_vei0l_28",vN="_sourceHeader_vei0l_37",yN="_sourceHeaderIcon_vei0l_57",_N="_sourceContent_vei0l_61",bN="_openSourceButton_vei0l_69",EN="_sourceButtonLabel_vei0l_79",SN="_closeSourceInfosButton_vei0l_101",TN="_loadingSourceInfos_vei0l_125",AN="_loading_vei0l_28",xN="_loadingError_vei0l_139",ON="_highlightLoadingInfo_vei0l_155",wN="_highlightLoadingInfoInnerContainer_vei0l_169",RN="_highlightLoadingInfoContent_vei0l_178",CN="_highlightLoadingInfoCloseIcon_vei0l_198",NN="_highlightLoader_vei0l_203",MN="_highlightLoaderLoading_vei0l_210",Gn={sourceInfos:pN,waitForLoading:gN,loadingContent:mN,sourceHeader:vN,sourceHeaderIcon:yN,sourceContent:_N,openSourceButton:bN,sourceButtonLabel:EN,closeSourceInfosButton:SN,loadingSourceInfos:TN,loading:AN,loadingError:xN,highlightLoadingInfo:ON,highlightLoadingInfoInnerContainer:wN,highlightLoadingInfoContent:RN,highlightLoadingInfoCloseIcon:CN,highlightLoader:NN,highlightLoaderLoading:MN},DN=({onClick:t})=>{const r=Qt();return S.jsx("button",{className:he(Gn.closeSourceInfosButton,"tooltip--bottom-left"),"aria-label":r("source-infos.close"),"data-title":r("source-infos.close"),tabIndex:0,onClick:t,children:S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:S.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"})})})},LN=X.forwardRef(({sourceInfos:t,onClose:r,...s},l)=>S.jsxs("div",{className:Gn.sourceHeader,...s,ref:l,children:[S.jsx("div",{children:t?S.jsx("p",{id:"source-info-title",children:t.title}):S.jsx("p",{children:" "})}),S.jsx(DN,{onClick:r})]})),BN=({loading:t})=>S.jsx("div",{className:Gn.highlightLoader,children:t&&S.jsx("div",{className:Gn.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:G2,setPrototypeOf:Eb,isFrozen:UN,getPrototypeOf:IN,getOwnPropertyDescriptor:HN}=Object;let{freeze:wr,seal:Di,create:z2}=Object,{apply:bv,construct:Ev}=typeof Reflect<"u"&&Reflect;wr||(wr=function(r){return r});Di||(Di=function(r){return r});bv||(bv=function(r,s,l){return r.apply(s,l)});Ev||(Ev=function(r,s){return new r(...s)});const ng=Rr(Array.prototype.forEach),jN=Rr(Array.prototype.lastIndexOf),Sb=Rr(Array.prototype.pop),td=Rr(Array.prototype.push),GN=Rr(Array.prototype.splice),ug=Rr(String.prototype.toLowerCase),N1=Rr(String.prototype.toString),Tb=Rr(String.prototype.match),nd=Rr(String.prototype.replace),zN=Rr(String.prototype.indexOf),kN=Rr(String.prototype.trim),ha=Rr(Object.prototype.hasOwnProperty),Ar=Rr(RegExp.prototype.test),rd=qN(TypeError);function Rr(t){return function(r){r instanceof RegExp&&(r.lastIndex=0);for(var s=arguments.length,l=new Array(s>1?s-1:0),f=1;f<s;f++)l[f-1]=arguments[f];return bv(t,r,l)}}function qN(t){return function(){for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return Ev(t,s)}}function at(t,r){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ug;Eb&&Eb(t,null);let l=r.length;for(;l--;){let f=r[l];if(typeof f=="string"){const d=s(f);d!==f&&(UN(r)||(r[l]=d),f=d)}t[f]=!0}return t}function FN(t){for(let r=0;r<t.length;r++)ha(t,r)||(t[r]=null);return t}function Bs(t){const r=z2(null);for(const[s,l]of G2(t))ha(t,s)&&(Array.isArray(l)?r[s]=FN(l):l&&typeof l=="object"&&l.constructor===Object?r[s]=Bs(l):r[s]=l);return r}function id(t,r){for(;t!==null;){const l=HN(t,r);if(l){if(l.get)return Rr(l.get);if(typeof l.value=="function")return Rr(l.value)}t=IN(t)}function s(){return null}return s}const Ab=wr(["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"]),M1=wr(["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"]),D1=wr(["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"]),PN=wr(["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"]),L1=wr(["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"]),VN=wr(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),xb=wr(["#text"]),Ob=wr(["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"]),B1=wr(["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"]),wb=wr(["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"]),rg=wr(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),YN=Di(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ZN=Di(/<%[\w\W]*|[\w\W]*%>/gm),XN=Di(/\$\{[\w\W]*/gm),KN=Di(/^data-[\-\w.\u00B7-\uFFFF]+$/),QN=Di(/^aria-[\-\w]+$/),k2=Di(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),WN=Di(/^(?:\w+script|data):/i),$N=Di(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q2=Di(/^html$/i),JN=Di(/^[a-z][.\w]*(-[.\w]+)+$/i);var Rb=Object.freeze({__proto__:null,ARIA_ATTR:QN,ATTR_WHITESPACE:$N,CUSTOM_ELEMENT:JN,DATA_ATTR:KN,DOCTYPE_NAME:q2,ERB_EXPR:ZN,IS_ALLOWED_URI:k2,IS_SCRIPT_OR_DATA:WN,MUSTACHE_EXPR:YN,TMPLIT_EXPR:XN});const ad={element:1,text:3,progressingInstruction:7,comment:8,document:9},eM=function(){return typeof window>"u"?null:window},tM=function(r,s){if(typeof r!="object"||typeof r.createPolicy!="function")return null;let l=null;const f="data-tt-policy-suffix";s&&s.hasAttribute(f)&&(l=s.getAttribute(f));const d="dompurify"+(l?"#"+l:"");try{return r.createPolicy(d,{createHTML(g){return g},createScriptURL(g){return g}})}catch{return console.warn("TrustedTypes policy "+d+" could not be created."),null}},Cb=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function F2(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:eM();const r=Oe=>F2(Oe);if(r.version="3.2.6",r.removed=[],!t||!t.document||t.document.nodeType!==ad.document||!t.Element)return r.isSupported=!1,r;let{document:s}=t;const l=s,f=l.currentScript,{DocumentFragment:d,HTMLTemplateElement:g,Node:m,Element:y,NodeFilter:_,NamedNodeMap:T=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:R,DOMParser:D,trustedTypes:Y}=t,U=y.prototype,te=id(U,"cloneNode"),Q=id(U,"remove"),w=id(U,"nextSibling"),j=id(U,"childNodes"),C=id(U,"parentNode");if(typeof g=="function"){const Oe=s.createElement("template");Oe.content&&Oe.content.ownerDocument&&(s=Oe.content.ownerDocument)}let Z,L="";const{implementation:ce,createNodeIterator:pe,createDocumentFragment:Ee,getElementsByTagName:ze}=s,{importNode:Ze}=l;let xe=Cb();r.isSupported=typeof G2=="function"&&typeof C=="function"&&ce&&ce.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:He,ERB_EXPR:Ne,TMPLIT_EXPR:Mt,DATA_ATTR:Fe,ARIA_ATTR:J,IS_SCRIPT_OR_DATA:fe,ATTR_WHITESPACE:ge,CUSTOM_ELEMENT:We}=Rb;let{IS_ALLOWED_URI:B}=Rb,$=null;const de=at({},[...Ab,...M1,...D1,...L1,...xb]);let le=null;const Se=at({},[...Ob,...B1,...wb,...rg]);let ye=Object.seal(z2(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}})),Te=null,Vt=null,lt=!0,Wt=!0,pi=!1,Zr=!0,Dt=!1,zn=!0,$t=!1,Ui=!1,Pl=!1,Bt=!1,es=!1,ts=!1,Ii=!0,wn=!1;const ns="user-content-";let Hi=!0,rs=!1,Cr={},Nr=null;const an=at({},["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 Cn=null;const _n=at({},["audio","video","img","source","image","track"]);let is=null;const qs=at({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ga="http://www.w3.org/1998/Math/MathML",Xr="http://www.w3.org/2000/svg",Nn="http://www.w3.org/1999/xhtml";let Mn=Nn,gi=!1,Kr=null;const Jc=at({},[ga,Xr,Nn],N1);let as=at({},["mi","mo","mn","ms","mtext"]),ss=at({},["annotation-xml"]);const Fs=at({},["title","style","font","a","script"]);let Mr=null;const ef=["application/xhtml+xml","text/html"],mu="text/html";let Jt=null,mi=null;const Ps=s.createElement("form"),Vl=function(G){return G instanceof RegExp||G instanceof Function},Yl=function(){let G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(mi&&mi===G)){if((!G||typeof G!="object")&&(G={}),G=Bs(G),Mr=ef.indexOf(G.PARSER_MEDIA_TYPE)===-1?mu:G.PARSER_MEDIA_TYPE,Jt=Mr==="application/xhtml+xml"?N1:ug,$=ha(G,"ALLOWED_TAGS")?at({},G.ALLOWED_TAGS,Jt):de,le=ha(G,"ALLOWED_ATTR")?at({},G.ALLOWED_ATTR,Jt):Se,Kr=ha(G,"ALLOWED_NAMESPACES")?at({},G.ALLOWED_NAMESPACES,N1):Jc,is=ha(G,"ADD_URI_SAFE_ATTR")?at(Bs(qs),G.ADD_URI_SAFE_ATTR,Jt):qs,Cn=ha(G,"ADD_DATA_URI_TAGS")?at(Bs(_n),G.ADD_DATA_URI_TAGS,Jt):_n,Nr=ha(G,"FORBID_CONTENTS")?at({},G.FORBID_CONTENTS,Jt):an,Te=ha(G,"FORBID_TAGS")?at({},G.FORBID_TAGS,Jt):Bs({}),Vt=ha(G,"FORBID_ATTR")?at({},G.FORBID_ATTR,Jt):Bs({}),Cr=ha(G,"USE_PROFILES")?G.USE_PROFILES:!1,lt=G.ALLOW_ARIA_ATTR!==!1,Wt=G.ALLOW_DATA_ATTR!==!1,pi=G.ALLOW_UNKNOWN_PROTOCOLS||!1,Zr=G.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Dt=G.SAFE_FOR_TEMPLATES||!1,zn=G.SAFE_FOR_XML!==!1,$t=G.WHOLE_DOCUMENT||!1,Bt=G.RETURN_DOM||!1,es=G.RETURN_DOM_FRAGMENT||!1,ts=G.RETURN_TRUSTED_TYPE||!1,Pl=G.FORCE_BODY||!1,Ii=G.SANITIZE_DOM!==!1,wn=G.SANITIZE_NAMED_PROPS||!1,Hi=G.KEEP_CONTENT!==!1,rs=G.IN_PLACE||!1,B=G.ALLOWED_URI_REGEXP||k2,Mn=G.NAMESPACE||Nn,as=G.MATHML_TEXT_INTEGRATION_POINTS||as,ss=G.HTML_INTEGRATION_POINTS||ss,ye=G.CUSTOM_ELEMENT_HANDLING||{},G.CUSTOM_ELEMENT_HANDLING&&Vl(G.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ye.tagNameCheck=G.CUSTOM_ELEMENT_HANDLING.tagNameCheck),G.CUSTOM_ELEMENT_HANDLING&&Vl(G.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ye.attributeNameCheck=G.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),G.CUSTOM_ELEMENT_HANDLING&&typeof G.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ye.allowCustomizedBuiltInElements=G.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Dt&&(Wt=!1),es&&(Bt=!0),Cr&&($=at({},xb),le=[],Cr.html===!0&&(at($,Ab),at(le,Ob)),Cr.svg===!0&&(at($,M1),at(le,B1),at(le,rg)),Cr.svgFilters===!0&&(at($,D1),at(le,B1),at(le,rg)),Cr.mathMl===!0&&(at($,L1),at(le,wb),at(le,rg))),G.ADD_TAGS&&($===de&&($=Bs($)),at($,G.ADD_TAGS,Jt)),G.ADD_ATTR&&(le===Se&&(le=Bs(le)),at(le,G.ADD_ATTR,Jt)),G.ADD_URI_SAFE_ATTR&&at(is,G.ADD_URI_SAFE_ATTR,Jt),G.FORBID_CONTENTS&&(Nr===an&&(Nr=Bs(Nr)),at(Nr,G.FORBID_CONTENTS,Jt)),Hi&&($["#text"]=!0),$t&&at($,["html","head","body"]),$.table&&(at($,["tbody"]),delete Te.tbody),G.TRUSTED_TYPES_POLICY){if(typeof G.TRUSTED_TYPES_POLICY.createHTML!="function")throw rd('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof G.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw rd('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Z=G.TRUSTED_TYPES_POLICY,L=Z.createHTML("")}else Z===void 0&&(Z=tM(Y,f)),Z!==null&&typeof L=="string"&&(L=Z.createHTML(""));wr&&wr(G),mi=G}},Qr=at({},[...M1,...D1,...PN]),en=at({},[...L1,...VN]),Dn=function(G){let ue=C(G);(!ue||!ue.tagName)&&(ue={namespaceURI:Mn,tagName:"template"});const _e=ug(G.tagName),yt=ug(ue.tagName);return Kr[G.namespaceURI]?G.namespaceURI===Xr?ue.namespaceURI===Nn?_e==="svg":ue.namespaceURI===ga?_e==="svg"&&(yt==="annotation-xml"||as[yt]):!!Qr[_e]:G.namespaceURI===ga?ue.namespaceURI===Nn?_e==="math":ue.namespaceURI===Xr?_e==="math"&&ss[yt]:!!en[_e]:G.namespaceURI===Nn?ue.namespaceURI===Xr&&!ss[yt]||ue.namespaceURI===ga&&!as[yt]?!1:!en[_e]&&(Fs[_e]||!Qr[_e]):!!(Mr==="application/xhtml+xml"&&Kr[G.namespaceURI]):!1},un=function(G){td(r.removed,{element:G});try{C(G).removeChild(G)}catch{Q(G)}},vi=function(G,ue){try{td(r.removed,{attribute:ue.getAttributeNode(G),from:ue})}catch{td(r.removed,{attribute:null,from:ue})}if(ue.removeAttribute(G),G==="is")if(Bt||es)try{un(ue)}catch{}else try{ue.setAttribute(G,"")}catch{}},vu=function(G){let ue=null,_e=null;if(Pl)G="<remove></remove>"+G;else{const Ut=Tb(G,/^[\r\n\t ]+/);_e=Ut&&Ut[0]}Mr==="application/xhtml+xml"&&Mn===Nn&&(G='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+G+"</body></html>");const yt=Z?Z.createHTML(G):G;if(Mn===Nn)try{ue=new D().parseFromString(yt,Mr)}catch{}if(!ue||!ue.documentElement){ue=ce.createDocument(Mn,"template",null);try{ue.documentElement.innerHTML=gi?L:yt}catch{}}const cn=ue.body||ue.documentElement;return G&&_e&&cn.insertBefore(s.createTextNode(_e),cn.childNodes[0]||null),Mn===Nn?ze.call(ue,$t?"html":"body")[0]:$t?ue.documentElement:cn},yu=function(G){return pe.call(G.ownerDocument||G,G,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT|_.SHOW_PROCESSING_INSTRUCTION|_.SHOW_CDATA_SECTION,null)},Vs=function(G){return G instanceof R&&(typeof G.nodeName!="string"||typeof G.textContent!="string"||typeof G.removeChild!="function"||!(G.attributes instanceof T)||typeof G.removeAttribute!="function"||typeof G.setAttribute!="function"||typeof G.namespaceURI!="string"||typeof G.insertBefore!="function"||typeof G.hasChildNodes!="function")},ma=function(G){return typeof m=="function"&&G instanceof m};function fr(Oe,G,ue){ng(Oe,_e=>{_e.call(r,G,ue,mi)})}const ji=function(G){let ue=null;if(fr(xe.beforeSanitizeElements,G,null),Vs(G))return un(G),!0;const _e=Jt(G.nodeName);if(fr(xe.uponSanitizeElement,G,{tagName:_e,allowedTags:$}),zn&&G.hasChildNodes()&&!ma(G.firstElementChild)&&Ar(/<[/\w!]/g,G.innerHTML)&&Ar(/<[/\w!]/g,G.textContent)||G.nodeType===ad.progressingInstruction||zn&&G.nodeType===ad.comment&&Ar(/<[/\w]/g,G.data))return un(G),!0;if(!$[_e]||Te[_e]){if(!Te[_e]&&zi(_e)&&(ye.tagNameCheck instanceof RegExp&&Ar(ye.tagNameCheck,_e)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(_e)))return!1;if(Hi&&!Nr[_e]){const yt=C(G)||G.parentNode,cn=j(G)||G.childNodes;if(cn&&yt){const Ut=cn.length;for(let Ln=Ut-1;Ln>=0;--Ln){const Kn=te(cn[Ln],!0);Kn.__removalCount=(G.__removalCount||0)+1,yt.insertBefore(Kn,w(G))}}}return un(G),!0}return G instanceof y&&!Dn(G)||(_e==="noscript"||_e==="noembed"||_e==="noframes")&&Ar(/<\/no(script|embed|frames)/i,G.innerHTML)?(un(G),!0):(Dt&&G.nodeType===ad.text&&(ue=G.textContent,ng([He,Ne,Mt],yt=>{ue=nd(ue,yt," ")}),G.textContent!==ue&&(td(r.removed,{element:G.cloneNode()}),G.textContent=ue)),fr(xe.afterSanitizeElements,G,null),!1)},Gi=function(G,ue,_e){if(Ii&&(ue==="id"||ue==="name")&&(_e in s||_e in Ps))return!1;if(!(Wt&&!Vt[ue]&&Ar(Fe,ue))){if(!(lt&&Ar(J,ue))){if(!le[ue]||Vt[ue]){if(!(zi(G)&&(ye.tagNameCheck instanceof RegExp&&Ar(ye.tagNameCheck,G)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(G))&&(ye.attributeNameCheck instanceof RegExp&&Ar(ye.attributeNameCheck,ue)||ye.attributeNameCheck instanceof Function&&ye.attributeNameCheck(ue))||ue==="is"&&ye.allowCustomizedBuiltInElements&&(ye.tagNameCheck instanceof RegExp&&Ar(ye.tagNameCheck,_e)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(_e))))return!1}else if(!is[ue]){if(!Ar(B,nd(_e,ge,""))){if(!((ue==="src"||ue==="xlink:href"||ue==="href")&&G!=="script"&&zN(_e,"data:")===0&&Cn[G])){if(!(pi&&!Ar(fe,nd(_e,ge,"")))){if(_e)return!1}}}}}}return!0},zi=function(G){return G!=="annotation-xml"&&Tb(G,We)},ki=function(G){fr(xe.beforeSanitizeAttributes,G,null);const{attributes:ue}=G;if(!ue||Vs(G))return;const _e={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:le,forceKeepAttr:void 0};let yt=ue.length;for(;yt--;){const cn=ue[yt],{name:Ut,namespaceURI:Ln,value:Kn}=cn,yi=Jt(Ut),Qn=Kn;let tn=Ut==="value"?Qn:kN(Qn);if(_e.attrName=yi,_e.attrValue=tn,_e.keepAttr=!0,_e.forceKeepAttr=void 0,fr(xe.uponSanitizeAttribute,G,_e),tn=_e.attrValue,wn&&(yi==="id"||yi==="name")&&(vi(Ut,G),tn=ns+tn),zn&&Ar(/((--!?|])>)|<\/(style|title)/i,tn)){vi(Ut,G);continue}if(_e.forceKeepAttr)continue;if(!_e.keepAttr){vi(Ut,G);continue}if(!Zr&&Ar(/\/>/i,tn)){vi(Ut,G);continue}Dt&&ng([He,Ne,Mt],qi=>{tn=nd(tn,qi," ")});const Ys=Jt(G.nodeName);if(!Gi(Ys,yi,tn)){vi(Ut,G);continue}if(Z&&typeof Y=="object"&&typeof Y.getAttributeType=="function"&&!Ln)switch(Y.getAttributeType(Ys,yi)){case"TrustedHTML":{tn=Z.createHTML(tn);break}case"TrustedScriptURL":{tn=Z.createScriptURL(tn);break}}if(tn!==Qn)try{Ln?G.setAttributeNS(Ln,Ut,tn):G.setAttribute(Ut,tn),Vs(G)?un(G):Sb(r.removed)}catch{vi(Ut,G)}}fr(xe.afterSanitizeAttributes,G,null)},sn=function Oe(G){let ue=null;const _e=yu(G);for(fr(xe.beforeSanitizeShadowDOM,G,null);ue=_e.nextNode();)fr(xe.uponSanitizeShadowNode,ue,null),ji(ue),ki(ue),ue.content instanceof d&&Oe(ue.content);fr(xe.afterSanitizeShadowDOM,G,null)};return r.sanitize=function(Oe){let G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ue=null,_e=null,yt=null,cn=null;if(gi=!Oe,gi&&(Oe="<!-->"),typeof Oe!="string"&&!ma(Oe))if(typeof Oe.toString=="function"){if(Oe=Oe.toString(),typeof Oe!="string")throw rd("dirty is not a string, aborting")}else throw rd("toString is not a function");if(!r.isSupported)return Oe;if(Ui||Yl(G),r.removed=[],typeof Oe=="string"&&(rs=!1),rs){if(Oe.nodeName){const Kn=Jt(Oe.nodeName);if(!$[Kn]||Te[Kn])throw rd("root node is forbidden and cannot be sanitized in-place")}}else if(Oe instanceof m)ue=vu("<!---->"),_e=ue.ownerDocument.importNode(Oe,!0),_e.nodeType===ad.element&&_e.nodeName==="BODY"||_e.nodeName==="HTML"?ue=_e:ue.appendChild(_e);else{if(!Bt&&!Dt&&!$t&&Oe.indexOf("<")===-1)return Z&&ts?Z.createHTML(Oe):Oe;if(ue=vu(Oe),!ue)return Bt?null:ts?L:""}ue&&Pl&&un(ue.firstChild);const Ut=yu(rs?Oe:ue);for(;yt=Ut.nextNode();)ji(yt),ki(yt),yt.content instanceof d&&sn(yt.content);if(rs)return Oe;if(Bt){if(es)for(cn=Ee.call(ue.ownerDocument);ue.firstChild;)cn.appendChild(ue.firstChild);else cn=ue;return(le.shadowroot||le.shadowrootmode)&&(cn=Ze.call(l,cn,!0)),cn}let Ln=$t?ue.outerHTML:ue.innerHTML;return $t&&$["!doctype"]&&ue.ownerDocument&&ue.ownerDocument.doctype&&ue.ownerDocument.doctype.name&&Ar(q2,ue.ownerDocument.doctype.name)&&(Ln="<!DOCTYPE "+ue.ownerDocument.doctype.name+`>
|
|
137
|
+
`+Ln),Dt&&ng([He,Ne,Mt],Kn=>{Ln=nd(Ln,Kn," ")}),Z&&ts?Z.createHTML(Ln):Ln},r.setConfig=function(){let Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Yl(Oe),Ui=!0},r.clearConfig=function(){mi=null,Ui=!1},r.isValidAttribute=function(Oe,G,ue){mi||Yl({});const _e=Jt(Oe),yt=Jt(G);return Gi(_e,yt,ue)},r.addHook=function(Oe,G){typeof G=="function"&&td(xe[Oe],G)},r.removeHook=function(Oe,G){if(G!==void 0){const ue=jN(xe[Oe],G);return ue===-1?void 0:GN(xe[Oe],ue,1)[0]}return Sb(xe[Oe])},r.removeHooks=function(Oe){xe[Oe]=[]},r.removeAllHooks=function(){xe=Cb()},r}var nM=F2();const rM=({onClose:t})=>{const r=Qt();return S.jsxs("div",{className:Gn.highlightLoadingInfo,onClick:t,children:[S.jsx("div",{className:Gn.highlightLoadingInfoCloseIcon,children:S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:S.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"})})}),S.jsxs("div",{className:Gn.highlightLoadingInfoInnerContainer,children:[S.jsxs("div",{className:Gn.highlightLoadingInfoContent,children:[S.jsx("h3",{children:r("source-infos.highlight-loading.title")}),S.jsx("p",{children:r("source-infos.highlight-loading.description")})]}),S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#000000",viewBox:"0 0 256 256",children:S.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"})})]})]})},iM=({title:t,href:r,children:s})=>S.jsx("a",{href:r,title:t,target:"_blank",rel:"noopener noreferrer",children:s}),aM=({className:t,children:r,...s})=>S.jsx("a",{className:he(pd.button,pd.buttonDefault,t),type:"button",role:"button",...s,children:r}),sM=t=>S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",...t,children:S.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"})}),lM=({type:t,...r})=>{switch(t){case"WEBSITE":return S.jsx(M2,{...r});case"PDF":return S.jsx(N2,{...r});case"DOCX":return S.jsx(R2,{...r});case"TEXT":return S.jsx(sM,{...r});default:return S.jsx(C2,{...r})}},oM=({url:t,knowledgeBaseType:r})=>{const s=Qt();return S.jsx(aM,{className:Gn.openSourceButton,href:t,target:"_blank",children:S.jsxs("div",{className:Gn.sourceButtonLabel,children:[S.jsx("div",{className:Gn.sourceHeaderIcon,children:S.jsx(lM,{type:r})}),S.jsx("p",{children:s("source-infos.open-source")})]})})},uM=({sourceInfos:{content:t,url:r,knowledgeBaseType:s,highlighted:l}})=>{const[f,d]=X.useState(!l);X.useEffect(()=>{l&&d(!1)},[l]);const g=nM.sanitize(t,{USE_PROFILES:{html:!0}});return S.jsxs(S.Fragment,{children:[S.jsxs("div",{className:he(Gn.sourceContent,L2.markdown),children:[S.jsx(Hs,{options:{overrides:{a:iM}},children:g}),f&&S.jsx(rM,{onClose:()=>d(!1)})]}),S.jsx(oM,{url:r,knowledgeBaseType:s})]})},cM=""+new URL("undraw_fixing-bugs-D_eYxJc6.svg",import.meta.url).href,fM=()=>{const t=Qt();return S.jsxs("div",{className:Gn.loadingError,children:[S.jsx("h1",{children:t("source-infos.error.title")}),S.jsx("img",{src:cM,title:t("source-infos.error.title")}),S.jsx("p",{children:t("source-infos.error.info")})]})},hM=()=>S.jsx("div",{className:Gn.loadingSourceInfos,children:S.jsx("svg",{className:Gn.loading,xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",children:S.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 dM({sourceInfos:t,onClose:r,threshold:s=100}){const l=X.useRef(null),[f,d]=X.useState(0),[g,m]=X.useState(!1),y=X.useRef(null),_=X.useRef(null),T=X.useCallback(U=>{y.current=U,m(!0)},[]),R=X.useCallback(U=>{if(y.current!==null&&g){const te=U-y.current;te>0&&d(te)}},[g]),D=X.useCallback(()=>{m(!1),f>s&&r(),d(0),y.current=null},[f,s,r]),Y=X.useCallback(U=>{const te=L=>T(L.touches[0].clientY),Q=L=>R(L.touches[0].clientY),w=()=>D(),j=L=>{L.preventDefault(),T(L.clientY),window.addEventListener("mousemove",C),window.addEventListener("mouseup",Z)},C=L=>R(L.clientY),Z=()=>{D(),window.removeEventListener("mousemove",C),window.removeEventListener("mouseup",Z)};U.addEventListener("touchstart",te),U.addEventListener("touchmove",Q),U.addEventListener("touchend",w),U.addEventListener("mousedown",j),_.current=()=>{U.removeEventListener("touchstart",te),U.removeEventListener("touchmove",Q),U.removeEventListener("touchend",w),U.removeEventListener("mousedown",j),window.removeEventListener("mousemove",C),window.removeEventListener("mouseup",Z)}},[T,R,D]);return X.useEffect(()=>{let U;return(()=>{l.current?(_.current?.(),Y(l.current)):(U=new MutationObserver(()=>{l.current&&(_.current?.(),Y(l.current),U?.disconnect())}),U.observe(document.body,{childList:!0,subtree:!0}))})(),()=>{U?.disconnect(),_.current?.()}},[Y,t]),{ref:l,dragOffsetY:f,isDragging:g}}const pM=t=>{const[r,s]=X.useState(!0);return X.useEffect(()=>{let l=null;return t?.type==="loading"?(s(!0),l=setTimeout(()=>{s(!1)},300)):s(!t),()=>{l&&clearTimeout(l)}},[t]),r},gM=()=>{const t=ks(),r=yn(y=>y.chat.sourceInfos),s=j2(),l=X.useRef(null),f=pM(r);X.useEffect(()=>{l.current&&r?.type==="loading"&&(s?l.current.showModal():(l.current.setAttribute("open","true"),l.current?.focus()))},[r,s]);const d=X.useCallback(()=>{l.current&&(s?l.current.close():l.current.removeAttribute("open"),t(Tw()))},[t,s]),{ref:g,dragOffsetY:m}=dM({onClose:d,sourceInfos:r});return r?S.jsx("dialog",{ref:l,className:he(Gn.sourceInfos,f?Gn.waitForLoading:r.type==="loading"?Gn.loadingContent:""),style:s&&m?{transform:`translateY(${m}px)`}:{},onClose:d,autoFocus:!0,role:"dialog","aria-labelledby":"source-info-title",children:f?null:S.jsxs(S.Fragment,{children:[S.jsx(LN,{ref:g,tabIndex:-1,sourceInfos:r.type==="loaded"?r:void 0,onClose:d}),r.type==="loading"?S.jsx(hM,{}):r.type==="loading-error"?S.jsx(fM,{}):S.jsxs(S.Fragment,{children:[S.jsx(BN,{loading:!r.highlighted}),S.jsx(uM,{sourceInfos:r})]})]})}):null},mM="_container_1aof3_1",vM="_body_1aof3_7",yM="_intro_1aof3_14",_M="_footer_1aof3_39",bM="_footnote_1aof3_43",EM="_containerWithFootnote_1aof3_58",SM="_startChatButton_1aof3_73",TM="_spinner_1aof3_88",AM="_formFields_1aof3_92",xM="_formField_1aof3_92",OM="_radio_1aof3_104",wM="_checkbox_1aof3_111",RM="_input_1aof3_119",CM="_inputLabel_1aof3_153",NM="_selectWrapper_1aof3_157",MM="_select_1aof3_157",DM="_selectLabel_1aof3_203",jn={container:mM,body:vM,intro:yM,footer:_M,footnote:bM,containerWithFootnote:EM,startChatButton:SM,spinner:TM,formFields:AM,formField:xM,radio:OM,checkbox:wM,input:RM,inputLabel:CM,selectWrapper:NM,select:MM,selectLabel:DM},LM=({name:t,label:r,defaultValue:s,required:l,onChange:f})=>{const d=g=>{f(g.currentTarget.checked?"true":"false")};return S.jsxs("label",{className:he(jn.checkbox,"chat__startScreen__checkbox"),htmlFor:t,children:[S.jsx("input",{type:"checkbox",id:t,name:t,defaultChecked:s==="true",required:l,onChange:d}),S.jsx("div",{children:r})]})},BM=({type:t,name:r,label:s,defaultValue:l,placeholder:f,required:d,multiple:g,min:m,max:y,pattern:_,onChange:T})=>{const R=D=>{T(D.target.value)};return S.jsxs("label",{className:he(jn.input,"chat__startScreen__input"),htmlFor:r,children:[S.jsx("div",{className:he(jn.inputLabel),children:s}),S.jsx("input",{type:t,id:r,name:r,defaultValue:l,placeholder:f,required:d,multiple:g,min:m,max:y,pattern:_,onChange:R})]})},UM=({name:t,value:r,label:s,defaultChecked:l,required:f,onChange:d})=>{const g=`${t}-${r}`,m=y=>{d(y.target.value)};return S.jsxs("label",{className:he(jn.radio,"chat__startScreen__radio"),htmlFor:g,children:[S.jsx("input",{id:g,type:"radio",name:t,value:r,defaultChecked:l,required:f,onChange:m}),S.jsx("span",{className:he(jn.label),children:s})]})},IM=({name:t,label:r,defaultValue:s,required:l,multiple:f,options:d,onChange:g})=>{const m=y=>{g(y.target.value)};return S.jsxs("label",{className:he(jn.select,"chat__startScreen__select"),htmlFor:t,children:[S.jsx("div",{className:he(jn.selectLabel),children:r}),S.jsx("div",{className:he(jn.selectWrapper),children:S.jsx("select",{id:t,name:t,defaultValue:s,required:l,multiple:f,onChange:m,children:Object.entries(d||{}).map(([y,_])=>S.jsx("option",{value:y,selected:_===s,children:_}))})})]})},HM="start-screen.intro",jM="start-screen.start-chat",GM="start-screen.waiting-for-login",zM="start-screen.footnote",fa="start-screen.form",Nb=`${fa}.fields`,kM=()=>{const t=Qt(),r=ks(),s=jg(),l=yn(U=>U.startScreen.loginRequestToken),f=yn(U=>U.settings.requiresUserAuthentication);X.useEffect(()=>{let U;if(l){const w=window.screenX+(window.outerWidth-600)/2,j=window.screenY+(window.outerHeight-700)/2,C=window.open(`/${s}/auth/login?loginRequestToken=${l}`,"Login",`width=600,height=700,left=${w},top=${j},resizable=yes,scrollbars=yes`);U=setInterval(()=>{C?.closed&&(r(_w()),clearInterval(U))},500)}return()=>{U&&clearInterval(U)}},[s,l,r]);const[d,g]=X.useState({}),m=()=>{const U=Object.entries(d).reduce((te,[Q,w])=>({...te,[Q]:w.value}),{});r(f?yw({loginRequestToken:gg(),formValues:U}):gw({formValues:U}))},y=t(HM),_=t(l?GM:jM),T=t(zM),R=X.useMemo(()=>t(Nb)?.split(";").map(U=>U.trim())??[],[t(Nb)]);X.useEffect(()=>{R.length&&Object.keys(d).length===0&&g(R.reduce((U,te)=>({...U,[te]:qM(te,t)}),{}))},[t,R,d]);const D=U=>{U.preventDefault(),m()},Y=U=>te=>{g(Q=>({...Q,[U]:{...Q[U],value:te}}))};return S.jsxs("form",{onSubmit:D,className:he(jn.container,T&&jn.containerWithFootnote,"chat__startScreen"),children:[S.jsxs("div",{className:he(jn.body,"chat__startScreen__body"),children:[y&&S.jsx("div",{className:he(jn.intro,"chat__startScreen__intro"),children:S.jsx(Hs,{options:{overrides:{a:Mb}},children:y})}),S.jsx("div",{className:he(jn.formFields,"chat__startScreen__fields"),children:Object.values(d).map(({type:U,name:te,label:Q,placeholder:w,defaultValue:j,options:C,required:Z,multiple:L,min:ce,max:pe,pattern:Ee})=>S.jsx("div",{className:he(jn.formField,"chat__startScreen__field"),children:(()=>{switch(U){case"radio":return S.jsxs(S.Fragment,{children:[S.jsx("div",{children:Q}),Object.entries(C||{}).map(([ze,Ze])=>S.jsx(UM,{name:te,value:ze,label:Ze,defaultChecked:ze===j,required:Z,onChange:Y(te)},ze))]});case"checkbox":return S.jsx(LM,{name:te,label:Q,defaultValue:j,required:Z,onChange:Y(te)});case"select":return S.jsx(IM,{name:te,label:Q,defaultValue:j,required:Z,multiple:L,options:C,onChange:Y(te)});default:return S.jsx(BM,{type:U,name:te,label:Q,placeholder:w,defaultValue:j,required:Z,multiple:L,min:ce,max:pe,pattern:Ee,onChange:Y(te)})}})()},te))})]}),S.jsxs("div",{className:he(jn.footer,"chat__startScreen__footer"),children:[S.jsxs(Sg,{type:"submit",className:jn.startChatButton,disabled:!!l,children:[!!l&&S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 256 256",className:jn.spinner,children:S.jsx("path",{d:"M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm88,88H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"})}),S.jsx("div",{children:_})]}),T&&S.jsx("div",{className:jn.footnote,children:S.jsx(Hs,{options:{overrides:{a:Mb}},children:T})})]})]})},Mb=({title:t,href:r,children:s})=>S.jsx("a",{href:r,title:t,target:"_blank",rel:"noopener noreferrer",children:s}),qM=(t,r)=>{const s=r(`${fa}.${t}.type`)||"text",l=r(`${fa}.${t}.required`)==="true",f=r(`${fa}.${t}.multiple`)==="true",d=r(`${fa}.${t}.placeholder`),g=r(`${fa}.${t}.label`)||"",m=r(`${fa}.${t}.defaultValue`),y=r(`${fa}.${t}.min`),_=r(`${fa}.${t}.max`),T=r(`${fa}.${t}.pattern`),R=PM(r(`${fa}.${t}.options`));return{name:t,label:g,placeholder:d,value:FM(s,m,R)||"",defaultValue:m,options:R,type:s,required:l,multiple:f,min:y,max:_,pattern:T}},FM=(t,r,s)=>r||t==="select"&&Object.keys(s)[0]||"",PM=(t="")=>t.split(";").map(r=>r.trim()).reduce((r,s)=>{const[l,f]=s.split(":").map(d=>d.trim());return{...r,[l]:f}},{}),VM=()=>{const t=Og();X.useEffect(()=>{window.document.documentElement.lang=t.locale},[t.locale])},Zc={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"},YM=({clientName:t})=>{VM();const r=ks(),s=yn(T=>T.intl.messages),l=Qt(),f=yn(T=>T.settings.enableStartScreen),d=yn(T=>T.startScreen.startScreenStatus),[g,m]=X.useState(void 0);X.useEffect(()=>{const T=wg.parse(window.location.search);T.cssClassName&&m(T.cssClassName);const R=D=>{switch(D.data.type){case Zc.TRIGGER_ACTION:r(D.data.action);break;case Zc.TRIGGER_STORY:r(QE(D.data.story));break;case Zc.ON_CHAT_WINDOW_OPEN:r({type:"webclient.chatwindow.opened"});break;case Zc.ON_CHAT_WINDOW_CLOSE:r({type:"webclient.chatwindow.closed"});break;case Zc.CHAT_MESSAGE_FROM_GUEST:r(VE(D.data.text));break;case Zc.RESTART_CHAT:r(Bg(t,T));break}};return r(xw(t,T)),window.addEventListener("message",D=>R(D),!1),()=>window.removeEventListener("message",R)},[t,r]),X.useEffect(()=>{const T=l("page.title");T&&document&&(document.title=T)},[s,l]);const y=f===void 0,_=f===!1||d==="HIDDEN";return S.jsx("div",{className:he(bb.chatwindow,_&&bb.chatwindowWithAside,"chat__chatwindow",g),children:y?null:_?S.jsxs(S.Fragment,{children:[S.jsx("header",{children:S.jsx(_b,{chatStarted:!0})}),S.jsx("main",{children:S.jsx(W3,{clientName:t})}),S.jsx("aside",{children:S.jsx(gM,{})})]}):S.jsxs(S.Fragment,{children:[S.jsx("header",{children:S.jsx(_b,{chatStarted:!1})}),S.jsx("main",{children:S.jsx(kM,{})})]})})},ZM=()=>{const t=jg(),r=j2(),s=yn(f=>f.intl.locale),l=yn(f=>f.intl.messages);return S.jsx(Rx,{locale:s,messages:l,onError:()=>{},children:S.jsx("div",{className:he([Nx.app,r?"chat__small":"chat__large"]),children:S.jsx(YM,{clientName:t})})})};var U1,Db;function oy(){if(Db)return U1;Db=1;function t(r){var s=typeof r;return r!=null&&(s=="object"||s=="function")}return U1=t,U1}var I1,Lb;function XM(){if(Lb)return I1;Lb=1;var t=typeof zl=="object"&&zl&&zl.Object===Object&&zl;return I1=t,I1}var H1,Bb;function P2(){if(Bb)return H1;Bb=1;var t=XM(),r=typeof self=="object"&&self&&self.Object===Object&&self,s=t||r||Function("return this")();return H1=s,H1}var j1,Ub;function KM(){if(Ub)return j1;Ub=1;var t=P2(),r=function(){return t.Date.now()};return j1=r,j1}var G1,Ib;function QM(){if(Ib)return G1;Ib=1;var t=/\s/;function r(s){for(var l=s.length;l--&&t.test(s.charAt(l)););return l}return G1=r,G1}var z1,Hb;function WM(){if(Hb)return z1;Hb=1;var t=QM(),r=/^\s+/;function s(l){return l&&l.slice(0,t(l)+1).replace(r,"")}return z1=s,z1}var k1,jb;function V2(){if(jb)return k1;jb=1;var t=P2(),r=t.Symbol;return k1=r,k1}var q1,Gb;function $M(){if(Gb)return q1;Gb=1;var t=V2(),r=Object.prototype,s=r.hasOwnProperty,l=r.toString,f=t?t.toStringTag:void 0;function d(g){var m=s.call(g,f),y=g[f];try{g[f]=void 0;var _=!0}catch{}var T=l.call(g);return _&&(m?g[f]=y:delete g[f]),T}return q1=d,q1}var F1,zb;function JM(){if(zb)return F1;zb=1;var t=Object.prototype,r=t.toString;function s(l){return r.call(l)}return F1=s,F1}var P1,kb;function e8(){if(kb)return P1;kb=1;var t=V2(),r=$M(),s=JM(),l="[object Null]",f="[object Undefined]",d=t?t.toStringTag:void 0;function g(m){return m==null?m===void 0?f:l:d&&d in Object(m)?r(m):s(m)}return P1=g,P1}var V1,qb;function t8(){if(qb)return V1;qb=1;function t(r){return r!=null&&typeof r=="object"}return V1=t,V1}var Y1,Fb;function n8(){if(Fb)return Y1;Fb=1;var t=e8(),r=t8(),s="[object Symbol]";function l(f){return typeof f=="symbol"||r(f)&&t(f)==s}return Y1=l,Y1}var Z1,Pb;function r8(){if(Pb)return Z1;Pb=1;var t=WM(),r=oy(),s=n8(),l=NaN,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,g=/^0o[0-7]+$/i,m=parseInt;function y(_){if(typeof _=="number")return _;if(s(_))return l;if(r(_)){var T=typeof _.valueOf=="function"?_.valueOf():_;_=r(T)?T+"":T}if(typeof _!="string")return _===0?_:+_;_=t(_);var R=d.test(_);return R||g.test(_)?m(_.slice(2),R?2:8):f.test(_)?l:+_}return Z1=y,Z1}var X1,Vb;function i8(){if(Vb)return X1;Vb=1;var t=oy(),r=KM(),s=r8(),l="Expected a function",f=Math.max,d=Math.min;function g(m,y,_){var T,R,D,Y,U,te,Q=0,w=!1,j=!1,C=!0;if(typeof m!="function")throw new TypeError(l);y=s(y)||0,t(_)&&(w=!!_.leading,j="maxWait"in _,D=j?f(s(_.maxWait)||0,y):D,C="trailing"in _?!!_.trailing:C);function Z(Ne){var Mt=T,Fe=R;return T=R=void 0,Q=Ne,Y=m.apply(Fe,Mt),Y}function L(Ne){return Q=Ne,U=setTimeout(Ee,y),w?Z(Ne):Y}function ce(Ne){var Mt=Ne-te,Fe=Ne-Q,J=y-Mt;return j?d(J,D-Fe):J}function pe(Ne){var Mt=Ne-te,Fe=Ne-Q;return te===void 0||Mt>=y||Mt<0||j&&Fe>=D}function Ee(){var Ne=r();if(pe(Ne))return ze(Ne);U=setTimeout(Ee,ce(Ne))}function ze(Ne){return U=void 0,C&&T?Z(Ne):(T=R=void 0,Y)}function Ze(){U!==void 0&&clearTimeout(U),Q=0,T=te=R=U=void 0}function xe(){return U===void 0?Y:ze(r())}function He(){var Ne=r(),Mt=pe(Ne);if(T=arguments,R=this,te=Ne,Mt){if(U===void 0)return L(te);if(j)return clearTimeout(U),U=setTimeout(Ee,y),Z(te)}return U===void 0&&(U=setTimeout(Ee,y)),Y}return He.cancel=Ze,He.flush=xe,He}return X1=g,X1}var K1,Yb;function a8(){if(Yb)return K1;Yb=1;var t=i8(),r=oy(),s="Expected a function";function l(f,d,g){var m=!0,y=!0;if(typeof f!="function")throw new TypeError(s);return r(g)&&(m="leading"in g?!!g.leading:m,y="trailing"in g?!!g.trailing:y),t(f,d,{leading:m,maxWait:d,trailing:y})}return K1=l,K1}var s8=a8();const l8=Cv(s8);function o8(t){return t&&t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function u8(t){return t}function c8(t,r){r=r||{};const s=r.delimiter||".",l=r.maxDepth,f=r.transformKey||u8,d={};function g(m,y,_){_=_||1,Object.keys(m).forEach(function(T){const R=m[T],D=r.safe&&Array.isArray(R),Y=Object.prototype.toString.call(R),U=o8(R),te=Y==="[object Object]"||Y==="[object Array]",Q=y?y+s+f(T):f(T);if(!D&&!U&&te&&Object.keys(R).length&&(!r.maxDepth||_<l))return g(R,Q,_+1);d[Q]=R})}return g(t),d}const Y2={"page.title":"Bubble Chat Chatbot","message-input-label":"Benutzereingabe","message-input-placeholder":"Nachricht eingeben","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.reaction.say-more":"Erzähle mir bitte mehr","bot-bubble.reaction.category.WRONG_INFORMATION":"Falsch","bot-bubble.reaction.category.MISSING_INFORMATION":"Unvollständig","bot-bubble.reaction.category.OLD_INFORMATION":"Veraltet","bot-bubble.reaction.category.UNCLEAR":"Unklar","bot-bubble.reaction.category.OFF_TOPIC":"Nicht zur Frage passend","bot-bubble.reaction.comment":"Gedanken mit mir teilen...","bot-bubble.reaction.close":"Schliessen","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:
|
|
138
|
+
|
|
139
|
+
- Der Chatverlauf wird im EU-Raum gespeichert und kann nur von autorisierten Personen eingesehen werden.
|
|
140
|
+
- 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.back-to-chat":"Zurück zum Chat","conversation-rating.overlay.action.close-chat":"Chat minimieren","conversation-rating.overlay.action.cancel":"Abbrechen","start-screen.intro":"","start-screen.start-chat":"Chat starten","start-screen.waiting-for-login":"Warte auf Login ...","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","header.menu.rate-conversation":"Chat bewerten","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"},f8={"page.title":"Bubble Chat Chatbot","message-input-label":"User input","message-input-placeholder":"Enter a 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.reaction.say-more":"Please tell us more","bot-bubble.reaction.category.WRONG_INFORMATION":"Wrong","bot-bubble.reaction.category.MISSING_INFORMATION":"Incomplete","bot-bubble.reaction.category.OLD_INFORMATION":"Outdated","bot-bubble.reaction.category.UNCLEAR":"Unclear","bot-bubble.reaction.category.OFF_TOPIC":"Not relevant to the question","bot-bubble.reaction.comment":"Share your thoughts with us...","bot-bubble.reaction.close":"Close","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:
|
|
141
|
+
|
|
142
|
+
- The chat history is stored in the EU area and can only be viewed by authorized personnel.
|
|
143
|
+
- 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.back-to-chat":"Close","conversation-rating.overlay.action.close-chat":"Minimize chat","conversation-rating.overlay.action.cancel":"Cancel","start-screen.intro":"","start-screen.start-chat":"Start chat","start-screen.waiting-for-login":"Waiting for login ...","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","header.menu.rate-conversation":"Rate chat","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"},h8={"page.title":"Bubble Chat Chatbot","message-input-label":"Input dell'utente","message-input-placeholder":"Saisir un message","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.reaction.say-more":"Dis-nous en plus, s'il te plaît","bot-bubble.reaction.category.WRONG_INFORMATION":"Faux","bot-bubble.reaction.category.MISSING_INFORMATION":"Incomplet","bot-bubble.reaction.category.OLD_INFORMATION":"Obsolète","bot-bubble.reaction.category.UNCLEAR":"Peu clair","bot-bubble.reaction.category.OFF_TOPIC":"Hors sujet","bot-bubble.reaction.comment":"Partager ses pensées avec nous...","bot-bubble.reaction.close":"Fermer","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:
|
|
144
|
+
|
|
145
|
+
- L'historique du chat est stocké dans l'espace UE et ne peut être consulté que par les personnes autorisées.
|
|
146
|
+
- 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.back-to-chat":"Fermer","conversation-rating.overlay.action.close-chat":"Minimiser le chat","conversation-rating.overlay.action.cancel":"Annuler","start-screen.intro":"","start-screen.start-chat":"Démarrer le chat","start-screen.waiting-for-login":"En attente de connexion ...","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","header.menu.rate-conversation":"Évaluer le 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"},d8={"page.title":"Bubble Chat Chatbot","message-input-label":"Input dell'utente","message-input-placeholder":"Inserire un 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.reaction.say-more":"Disci più, per favore","bot-bubble.reaction.category.WRONG_INFORMATION":"Errate","bot-bubble.reaction.category.MISSING_INFORMATION":"Incompleto","bot-bubble.reaction.category.OLD_INFORMATION":"Obsoleta","bot-bubble.reaction.category.UNCLEAR":"Poco chiaro","bot-bubble.reaction.category.OFF_TOPIC":"Non pertinente alla domanda","bot-bubble.reaction.comment":"Condividete con noi i vostri pensieri...","bot-bubble.reaction.close":"Chiudere","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:
|
|
147
|
+
|
|
148
|
+
- La cronologia delle chat è memorizzata nell'area UE e può essere visualizzata solo da persone autorizzate.
|
|
149
|
+
- 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.back-to-chat":"Chiudere","conversation-rating.overlay.action.close-chat":"Minimizzare la chat","conversation-rating.overlay.action.cancel":"Annulla","start-screen.intro":"","start-screen.start-chat":"Avviare la chat","start-screen.waiting-for-login":"In attesa di login ...","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","header.menu.rate-conversation":"Valutare la conversazione","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"},p8=["de","en","fr","it"],Z2={locale:"de",messages:Y2},g8=(t,r)=>{if(p8.includes(t)){const s=m8(t),l=c8(r);return{...s,...l}}return r},m8=t=>{switch(t.toString()){case"en":return f8;case"fr":return h8;case"it":return d8;default:return Y2}},v8=(t=y8,r)=>{switch(r.type){case Jv:return Object.assign({},t,{connectionState:hu.CONNECTING});case ey:return Object.assign({},t,{connectionState:hu.CONNECTED});case ty:return Object.assign({},t,{connectionState:hu.DISCONNECTED});case ny:return Object.assign({},t,{connectionState:hu.RECONNECTED});case ry:return Object.assign({},t,{sessionId:r.sessionId});case Dg:return Object.assign({},t,{sessionId:r.payload.sessionId,userId:r.payload.userId});case Lg:return Object.assign({},t,{sessionId:void 0});default:return t}},y8={connectionState:hu.DISCONNECTED,sessionId:void 0,userId:void 0},_8=(t=Xb,r)=>{switch(r.type){case h2:return Xb;case Dg:return uu({type:"webclient.chat.started"}),t;case Lg:return uu({type:"webclient.chat.ended"}),t;case nt.ActionTypes.TYPING_ON:return Object.assign({},t,{isBotTyping:!0});case nt.ActionTypes.TYPING_OFF:return Object.assign({},t,{isBotTyping:!1});case nt.ActionTypes.MESSAGE_FROM_GUEST:case nt.ActionTypes.MESSAGE_WITHOUT_ANALYSIS_FROM_GUEST:return Zb(t,r.message);case nt.ActionTypes.MESSAGE_TO_GUEST:{uu(r);const s=Object.assign({},r.message,{_id:r.meta.actionId}),l=t.messages.filter(f=>f._id===r.meta.actionId).length>0;return Object.assign({},t,{isBotTyping:!1,messages:l?t.messages:t.messages.concat([s]),quickReplies:s.quickReplies?s.quickReplies:[]})}case zv:{const s=r.messages,l=s.length?s[s.length-1]:void 0;return Object.assign({},t,{isBotTyping:!1,messages:s,quickReplies:l?.quickReplies||[]})}case Gv:return uu(r.message),t;case nt.ActionTypes.EVENT_TO_GUEST:return uu(r.event),t;case nt.ActionTypes.DRAWER_OPEN:return Object.assign({},t,{drawerContentUrl:r.payload.parameters.contentUrl});case nt.ActionTypes.DRAWER_CLOSE:return Object.assign({},t,{drawerContentUrl:void 0});case nt.ActionTypes.GUEST_LOCALE_CHANGED:return Object.assign({},t,{locale:r.payload.locale});case ZE:return uu(r),t;case XE:return uu(r),{...t,conversationRating:{...t.conversationRating,opener:void 0}};case qv:{const s=new nt.TextMessage(r.transcription,new nt.GuestUser),l=Object.assign({},s,{_id:gg()});return Zb(t,l)}case nt.ActionTypes.TRANSCRIPT_ITEM_GUEST_REACTION:{const s=t.messages.map(l=>l._id===r.payload.actionId?Object.assign({},l,r.payload.reaction?{reaction:{type:r.payload.reaction,category:r.payload.category,comment:r.payload.comment}}:{reaction:void 0}):l);return Object.assign({},t,{messages:s})}case Fv:{const s={enabled:!0,rating:r.payload.rating};return Object.assign({},t,{conversationRating:s})}case nt.ActionTypes.CONVERSATION_RATING_FROM_GUEST:{const s={...t.conversationRating,rating:r.payload};return Object.assign({},t,{conversationRating:s})}case p2:{const s={...t.conversationRating,opener:r.payload.opener,...r.payload.defaultRating?{rating:{value:r.payload.defaultRating,feedback:t.conversationRating.rating?.feedback||""}}:{}};return Object.assign({},t,{conversationRating:s})}case g2:{const s={...t.conversationRating,opener:void 0};return Object.assign({},t,{conversationRating:s})}case Vv:return{...t,sourceInfos:{type:"loading",chunkId:r.payload.chunkId}};case Pv:{const{highlighted:s}=r.payload;return t.sourceInfos?.type==="loaded"&&s?{...t,sourceInfos:{...t.sourceInfos,highlighted:!0}}:{...t,sourceInfos:{type:"loading-error"}}}case YE:{const s=t.sourceInfos?.type,{chunkId:l,knowledgeBaseType:f,title:d,content:g,highlighted:m,url:y}=r.payload,_=t.sourceInfos?.type==="loading"||t.sourceInfos?.type==="loaded"?t.sourceInfos?.chunkId:void 0;return _&&_!==l?t:s==="loading"||s==="loaded"&&m?{...t,sourceInfos:{type:"loaded",chunkId:l,knowledgeBaseType:f,title:d,content:g,highlighted:m,url:y}}:t}case Yv:return{...t,sourceInfos:void 0};case d2:return{...t,showTranscriptMailOverlay:!t.showTranscriptMailOverlay,conversationRating:{...t.conversationRating,opener:void 0}};default:return t}},Zb=(t,r)=>{const s=t.messages[t.messages.length-1],l=s?.text===r.text;return s&&s.sender.type===r.sender.type&&l?t:Object.assign({},t,{messages:t.messages.concat([r]),quickReplies:[]})},uu=t=>{b8()?window.top?.postMessage(t,"*"):t.type==="webclient.change.url"&&window.open(t.url)},b8=()=>typeof window<"u"&&window.self!==window.top,Xb={messages:[],quickReplies:[],isBotTyping:!1,showTranscriptMailOverlay:!1,conversationRating:{enabled:!1}},X2=Qv({name:"intl",initialState:Z2,reducers:{updateIntl:(t,r)=>{t.locale=r.payload.language,t.messages=r.payload.messages}}}),{updateIntl:E8}=X2.actions,S8=X2.reducer,T8={version:void 0,requiresUserAuthentication:!1,enableStartScreen:void 0,enableStandaloneView:!1,enableTranscriptExportEmail:!1,enableTranscriptExportPdf:!1,enableGeneralConditions:!1,enableSpeechSupport:!1,commands:[],menuItems:[]},K2=Qv({name:"settings",initialState:T8,reducers:{setSettings(t,r){t.version&&t.version!==r.payload.version?(console.log("version changed, reloading chat window"),window.location.reload()):(t.version=r.payload.version,t.requiresUserAuthentication=r.payload.requiresUserAuthentication,t.enableStartScreen=r.payload.enableStartScreen,t.enableStandaloneView=r.payload.enableStandaloneView,t.enableTranscriptExportEmail=r.payload.enableTranscriptExportEmail,t.enableTranscriptExportPdf=r.payload.enableTranscriptExportPdf,t.enableGeneralConditions=r.payload.enableGeneralConditions,t.enableSpeechSupport=r.payload.enableSpeechSupport,t.commands=r.payload.commands,t.menuItems=r.payload.menuItems||[])}}}),{setSettings:A8}=K2.actions,x8=K2.reducer,O8=e2({settings:x8,chat:_8,startScreen:bw,connection:v8,intl:S8}),w8="bubble-chat",Q2="state-last-saved-at",W2="state",R8=t=>{try{if(!M8())return;const r=Kb(t,Q2);if(N8(r))return;{const s=Kb(t,W2);return s===null?void 0:JSON.parse(s)}}catch(r){console.error(r);return}},C8=(t,r)=>{try{const s=JSON.stringify(r);Qb(t,W2,s);const l=new Date().toISOString();Qb(t,Q2,l)}catch(s){console.error(s)}},N8=t=>{if(t===null)return!1;const r=new Date(t);return r.setHours(r.getHours()+12),new Date>r},M8=()=>typeof localStorage<"u",Kb=(t,r)=>{const s=$2(t,r);return localStorage.getItem(s)},Qb=(t,r,s)=>{const l=$2(t,r);return localStorage.setItem(l,s)},$2=(t,r)=>`${w8}-${t}-${r}`,Ja=Object.create(null);Ja.open="0";Ja.close="1";Ja.ping="2";Ja.pong="3";Ja.message="4";Ja.upgrade="5";Ja.noop="6";const cg=Object.create(null);Object.keys(Ja).forEach(t=>{cg[Ja[t]]=t});const Sv={type:"error",data:"parser error"},J2=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",eS=typeof ArrayBuffer=="function",tS=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,uy=({type:t,data:r},s,l)=>J2&&r instanceof Blob?s?l(r):Wb(r,l):eS&&(r instanceof ArrayBuffer||tS(r))?s?l(r):Wb(new Blob([r]),l):l(Ja[t]+(r||"")),Wb=(t,r)=>{const s=new FileReader;return s.onload=function(){const l=s.result.split(",")[1];r("b"+(l||""))},s.readAsDataURL(t)};function $b(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let Q1;function D8(t,r){if(J2&&t.data instanceof Blob)return t.data.arrayBuffer().then($b).then(r);if(eS&&(t.data instanceof ArrayBuffer||tS(t.data)))return r($b(t.data));uy(t,!1,s=>{Q1||(Q1=new TextEncoder),r(Q1.encode(s))})}const Jb="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",cd=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t<Jb.length;t++)cd[Jb.charCodeAt(t)]=t;const L8=t=>{let r=t.length*.75,s=t.length,l,f=0,d,g,m,y;t[t.length-1]==="="&&(r--,t[t.length-2]==="="&&r--);const _=new ArrayBuffer(r),T=new Uint8Array(_);for(l=0;l<s;l+=4)d=cd[t.charCodeAt(l)],g=cd[t.charCodeAt(l+1)],m=cd[t.charCodeAt(l+2)],y=cd[t.charCodeAt(l+3)],T[f++]=d<<2|g>>4,T[f++]=(g&15)<<4|m>>2,T[f++]=(m&3)<<6|y&63;return _},B8=typeof ArrayBuffer=="function",cy=(t,r)=>{if(typeof t!="string")return{type:"message",data:nS(t,r)};const s=t.charAt(0);return s==="b"?{type:"message",data:U8(t.substring(1),r)}:cg[s]?t.length>1?{type:cg[s],data:t.substring(1)}:{type:cg[s]}:Sv},U8=(t,r)=>{if(B8){const s=L8(t);return nS(s,r)}else return{base64:!0,data:t}},nS=(t,r)=>{switch(r){case"blob":return t instanceof Blob?t:new Blob([t]);case"arraybuffer":default:return t instanceof ArrayBuffer?t:t.buffer}},rS="",I8=(t,r)=>{const s=t.length,l=new Array(s);let f=0;t.forEach((d,g)=>{uy(d,!1,m=>{l[g]=m,++f===s&&r(l.join(rS))})})},H8=(t,r)=>{const s=t.split(rS),l=[];for(let f=0;f<s.length;f++){const d=cy(s[f],r);if(l.push(d),d.type==="error")break}return l};function j8(){return new TransformStream({transform(t,r){D8(t,s=>{const l=s.length;let f;if(l<126)f=new Uint8Array(1),new DataView(f.buffer).setUint8(0,l);else if(l<65536){f=new Uint8Array(3);const d=new DataView(f.buffer);d.setUint8(0,126),d.setUint16(1,l)}else{f=new Uint8Array(9);const d=new DataView(f.buffer);d.setUint8(0,127),d.setBigUint64(1,BigInt(l))}t.data&&typeof t.data!="string"&&(f[0]|=128),r.enqueue(f),r.enqueue(s)})}})}let W1;function ig(t){return t.reduce((r,s)=>r+s.length,0)}function ag(t,r){if(t[0].length===r)return t.shift();const s=new Uint8Array(r);let l=0;for(let f=0;f<r;f++)s[f]=t[0][l++],l===t[0].length&&(t.shift(),l=0);return t.length&&l<t[0].length&&(t[0]=t[0].slice(l)),s}function G8(t,r){W1||(W1=new TextDecoder);const s=[];let l=0,f=-1,d=!1;return new TransformStream({transform(g,m){for(s.push(g);;){if(l===0){if(ig(s)<1)break;const y=ag(s,1);d=(y[0]&128)===128,f=y[0]&127,f<126?l=3:f===126?l=1:l=2}else if(l===1){if(ig(s)<2)break;const y=ag(s,2);f=new DataView(y.buffer,y.byteOffset,y.length).getUint16(0),l=3}else if(l===2){if(ig(s)<8)break;const y=ag(s,8),_=new DataView(y.buffer,y.byteOffset,y.length),T=_.getUint32(0);if(T>Math.pow(2,21)-1){m.enqueue(Sv);break}f=T*Math.pow(2,32)+_.getUint32(4),l=3}else{if(ig(s)<f)break;const y=ag(s,f);m.enqueue(cy(d?y:W1.decode(y),r)),l=0}if(f===0||f>t){m.enqueue(Sv);break}}}})}const iS=4;function On(t){if(t)return z8(t)}function z8(t){for(var r in On.prototype)t[r]=On.prototype[r];return t}On.prototype.on=On.prototype.addEventListener=function(t,r){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(r),this};On.prototype.once=function(t,r){function s(){this.off(t,s),r.apply(this,arguments)}return s.fn=r,this.on(t,s),this};On.prototype.off=On.prototype.removeListener=On.prototype.removeAllListeners=On.prototype.removeEventListener=function(t,r){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var s=this._callbacks["$"+t];if(!s)return this;if(arguments.length==1)return delete this._callbacks["$"+t],this;for(var l,f=0;f<s.length;f++)if(l=s[f],l===r||l.fn===r){s.splice(f,1);break}return s.length===0&&delete this._callbacks["$"+t],this};On.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var r=new Array(arguments.length-1),s=this._callbacks["$"+t],l=1;l<arguments.length;l++)r[l-1]=arguments[l];if(s){s=s.slice(0);for(var l=0,f=s.length;l<f;++l)s[l].apply(this,r)}return this};On.prototype.emitReserved=On.prototype.emit;On.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]};On.prototype.hasListeners=function(t){return!!this.listeners(t).length};const Gg=typeof Promise=="function"&&typeof Promise.resolve=="function"?r=>Promise.resolve().then(r):(r,s)=>s(r,0),Mi=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),k8="arraybuffer";function aS(t,...r){return r.reduce((s,l)=>(t.hasOwnProperty(l)&&(s[l]=t[l]),s),{})}const q8=Mi.setTimeout,F8=Mi.clearTimeout;function zg(t,r){r.useNativeTimers?(t.setTimeoutFn=q8.bind(Mi),t.clearTimeoutFn=F8.bind(Mi)):(t.setTimeoutFn=Mi.setTimeout.bind(Mi),t.clearTimeoutFn=Mi.clearTimeout.bind(Mi))}const P8=1.33;function V8(t){return typeof t=="string"?Y8(t):Math.ceil((t.byteLength||t.size)*P8)}function Y8(t){let r=0,s=0;for(let l=0,f=t.length;l<f;l++)r=t.charCodeAt(l),r<128?s+=1:r<2048?s+=2:r<55296||r>=57344?s+=3:(l++,s+=4);return s}function sS(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function Z8(t){let r="";for(let s in t)t.hasOwnProperty(s)&&(r.length&&(r+="&"),r+=encodeURIComponent(s)+"="+encodeURIComponent(t[s]));return r}function X8(t){let r={},s=t.split("&");for(let l=0,f=s.length;l<f;l++){let d=s[l].split("=");r[decodeURIComponent(d[0])]=decodeURIComponent(d[1])}return r}class K8 extends Error{constructor(r,s,l){super(r),this.description=s,this.context=l,this.type="TransportError"}}class fy extends On{constructor(r){super(),this.writable=!1,zg(this,r),this.opts=r,this.query=r.query,this.socket=r.socket,this.supportsBinary=!r.forceBase64}onError(r,s,l){return super.emitReserved("error",new K8(r,s,l)),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 s=cy(r,this.socket.binaryType);this.onPacket(s)}onPacket(r){super.emitReserved("packet",r)}onClose(r){this.readyState="closed",super.emitReserved("close",r)}pause(r){}createUri(r,s={}){return r+"://"+this._hostname()+this._port()+this.opts.path+this._query(s)}_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 s=Z8(r);return s.length?"?"+s:""}}class Q8 extends fy{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(r){this.readyState="pausing";const s=()=>{this.readyState="paused",r()};if(this._polling||!this.writable){let l=0;this._polling&&(l++,this.once("pollComplete",function(){--l||s()})),this.writable||(l++,this.once("drain",function(){--l||s()}))}else s()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(r){const s=l=>{if(this.readyState==="opening"&&l.type==="open"&&this.onOpen(),l.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(l)};H8(r,this.socket.binaryType).forEach(s),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,I8(r,s=>{this.doWrite(s,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const r=this.opts.secure?"https":"http",s=this.query||{};return this.opts.timestampRequests!==!1&&(s[this.opts.timestampParam]=sS()),!this.supportsBinary&&!s.sid&&(s.b64=1),this.createUri(r,s)}}let lS=!1;try{lS=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const W8=lS;function $8(){}class J8 extends Q8{constructor(r){if(super(r),typeof location<"u"){const s=location.protocol==="https:";let l=location.port;l||(l=s?"443":"80"),this.xd=typeof location<"u"&&r.hostname!==location.hostname||l!==r.port}}doWrite(r,s){const l=this.request({method:"POST",data:r});l.on("success",s),l.on("error",(f,d)=>{this.onError("xhr post error",f,d)})}doPoll(){const r=this.request();r.on("data",this.onData.bind(this)),r.on("error",(s,l)=>{this.onError("xhr poll error",s,l)}),this.pollXhr=r}}class Wa extends On{constructor(r,s,l){super(),this.createRequest=r,zg(this,l),this._opts=l,this._method=l.method||"GET",this._uri=s,this._data=l.data!==void 0?l.data:null,this._create()}_create(){var r;const s=aS(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");s.xdomain=!!this._opts.xd;const l=this._xhr=this.createRequest(s);try{l.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){l.setDisableHeaderCheck&&l.setDisableHeaderCheck(!0);for(let f in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(f)&&l.setRequestHeader(f,this._opts.extraHeaders[f])}}catch{}if(this._method==="POST")try{l.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{l.setRequestHeader("Accept","*/*")}catch{}(r=this._opts.cookieJar)===null||r===void 0||r.addCookies(l),"withCredentials"in l&&(l.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(l.timeout=this._opts.requestTimeout),l.onreadystatechange=()=>{var f;l.readyState===3&&((f=this._opts.cookieJar)===null||f===void 0||f.parseCookies(l.getResponseHeader("set-cookie"))),l.readyState===4&&(l.status===200||l.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof l.status=="number"?l.status:0)},0))},l.send(this._data)}catch(f){this.setTimeoutFn(()=>{this._onError(f)},0);return}typeof document<"u"&&(this._index=Wa.requestsCount++,Wa.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=$8,r)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Wa.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()}}Wa.requestsCount=0;Wa.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",eE);else if(typeof addEventListener=="function"){const t="onpagehide"in Mi?"pagehide":"unload";addEventListener(t,eE,!1)}}function eE(){for(let t in Wa.requests)Wa.requests.hasOwnProperty(t)&&Wa.requests[t].abort()}const e4=function(){const t=oS({xdomain:!1});return t&&t.responseType!==null}();class t4 extends J8{constructor(r){super(r);const s=r&&r.forceBase64;this.supportsBinary=e4&&!s}request(r={}){return Object.assign(r,{xd:this.xd},this.opts),new Wa(oS,this.uri(),r)}}function oS(t){const r=t.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!r||W8))return new XMLHttpRequest}catch{}if(!r)try{return new Mi[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const uS=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class n4 extends fy{get name(){return"websocket"}doOpen(){const r=this.uri(),s=this.opts.protocols,l=uS?{}:aS(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(l.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(r,s,l)}catch(f){return this.emitReserved("error",f)}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 s=0;s<r.length;s++){const l=r[s],f=s===r.length-1;uy(l,this.supportsBinary,d=>{try{this.doWrite(l,d)}catch{}f&&Gg(()=>{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",s=this.query||{};return this.opts.timestampRequests&&(s[this.opts.timestampParam]=sS()),this.supportsBinary||(s.b64=1),this.createUri(r,s)}}const $1=Mi.WebSocket||Mi.MozWebSocket;class r4 extends n4{createSocket(r,s,l){return uS?new $1(r,s,l):s?new $1(r,s):new $1(r)}doWrite(r,s){this.ws.send(s)}}class i4 extends fy{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 s=G8(Number.MAX_SAFE_INTEGER,this.socket.binaryType),l=r.readable.pipeThrough(s).getReader(),f=j8();f.readable.pipeTo(r.writable),this._writer=f.writable.getWriter();const d=()=>{l.read().then(({done:m,value:y})=>{m||(this.onPacket(y),d())}).catch(m=>{})};d();const g={type:"open"};this.query.sid&&(g.data=`{"sid":"${this.query.sid}"}`),this._writer.write(g).then(()=>this.onOpen())})})}write(r){this.writable=!1;for(let s=0;s<r.length;s++){const l=r[s],f=s===r.length-1;this._writer.write(l).then(()=>{f&&Gg(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var r;(r=this._transport)===null||r===void 0||r.close()}}const a4={websocket:r4,webtransport:i4,polling:t4},s4=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,l4=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Tv(t){if(t.length>8e3)throw"URI too long";const r=t,s=t.indexOf("["),l=t.indexOf("]");s!=-1&&l!=-1&&(t=t.substring(0,s)+t.substring(s,l).replace(/:/g,";")+t.substring(l,t.length));let f=s4.exec(t||""),d={},g=14;for(;g--;)d[l4[g]]=f[g]||"";return s!=-1&&l!=-1&&(d.source=r,d.host=d.host.substring(1,d.host.length-1).replace(/;/g,":"),d.authority=d.authority.replace("[","").replace("]","").replace(/;/g,":"),d.ipv6uri=!0),d.pathNames=o4(d,d.path),d.queryKey=u4(d,d.query),d}function o4(t,r){const s=/\/{2,9}/g,l=r.replace(s,"/").split("/");return(r.slice(0,1)=="/"||r.length===0)&&l.splice(0,1),r.slice(-1)=="/"&&l.splice(l.length-1,1),l}function u4(t,r){const s={};return r.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(l,f,d){f&&(s[f]=d)}),s}const Av=typeof addEventListener=="function"&&typeof removeEventListener=="function",fg=[];Av&&addEventListener("offline",()=>{fg.forEach(t=>t())},!1);class ql extends On{constructor(r,s){if(super(),this.binaryType=k8,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,r&&typeof r=="object"&&(s=r,r=null),r){const l=Tv(r);s.hostname=l.host,s.secure=l.protocol==="https"||l.protocol==="wss",s.port=l.port,l.query&&(s.query=l.query)}else s.host&&(s.hostname=Tv(s.host).host);zg(this,s),this.secure=s.secure!=null?s.secure:typeof location<"u"&&location.protocol==="https:",s.hostname&&!s.port&&(s.port=this.secure?"443":"80"),this.hostname=s.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=s.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},s.transports.forEach(l=>{const f=l.prototype.name;this.transports.push(f),this._transportsByName[f]=l}),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},s),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=X8(this.opts.query)),Av&&(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"})},fg.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(r){const s=Object.assign({},this.opts.query);s.EIO=iS,s.transport=r,this.id&&(s.sid=this.id);const l=Object.assign({},this.opts,{query:s,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[r]);return new this._transportsByName[r](l)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const r=this.opts.rememberUpgrade&&ql.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const s=this.createTransport(r);s.open(),this.setTransport(s)}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",s=>this._onClose("transport close",s))}onOpen(){this.readyState="open",ql.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 s=new Error("server error");s.code=r.data,this._onError(s);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 s=1;for(let l=0;l<this.writeBuffer.length;l++){const f=this.writeBuffer[l].data;if(f&&(s+=V8(f)),l>0&&s>this._maxPayload)return this.writeBuffer.slice(0,l);s+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const r=Date.now()>this._pingTimeoutTime;return r&&(this._pingTimeoutTime=0,Gg(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),r}write(r,s,l){return this._sendPacket("message",r,s,l),this}send(r,s,l){return this._sendPacket("message",r,s,l),this}_sendPacket(r,s,l,f){if(typeof s=="function"&&(f=s,s=void 0),typeof l=="function"&&(f=l,l=null),this.readyState==="closing"||this.readyState==="closed")return;l=l||{},l.compress=l.compress!==!1;const d={type:r,data:s,options:l};this.emitReserved("packetCreate",d),this.writeBuffer.push(d),f&&this.once("flush",f),this.flush()}close(){const r=()=>{this._onClose("forced close"),this.transport.close()},s=()=>{this.off("upgrade",s),this.off("upgradeError",s),r()},l=()=>{this.once("upgrade",s),this.once("upgradeError",s)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?l():r()}):this.upgrading?l():r()),this}_onError(r){if(ql.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,s){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(),Av&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const l=fg.indexOf(this._offlineEventListener);l!==-1&&fg.splice(l,1)}this.readyState="closed",this.id=null,this.emitReserved("close",r,s),this.writeBuffer=[],this._prevBufferLen=0}}}ql.protocol=iS;class c4 extends ql{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 s=this.createTransport(r),l=!1;ql.priorWebsocketSuccess=!1;const f=()=>{l||(s.send([{type:"ping",data:"probe"}]),s.once("packet",R=>{if(!l)if(R.type==="pong"&&R.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",s),!s)return;ql.priorWebsocketSuccess=s.name==="websocket",this.transport.pause(()=>{l||this.readyState!=="closed"&&(T(),this.setTransport(s),s.send([{type:"upgrade"}]),this.emitReserved("upgrade",s),s=null,this.upgrading=!1,this.flush())})}else{const D=new Error("probe error");D.transport=s.name,this.emitReserved("upgradeError",D)}}))};function d(){l||(l=!0,T(),s.close(),s=null)}const g=R=>{const D=new Error("probe error: "+R);D.transport=s.name,d(),this.emitReserved("upgradeError",D)};function m(){g("transport closed")}function y(){g("socket closed")}function _(R){s&&R.name!==s.name&&d()}const T=()=>{s.removeListener("open",f),s.removeListener("error",g),s.removeListener("close",m),this.off("close",y),this.off("upgrading",_)};s.once("open",f),s.once("error",g),s.once("close",m),this.once("close",y),this.once("upgrading",_),this._upgrades.indexOf("webtransport")!==-1&&r!=="webtransport"?this.setTimeoutFn(()=>{l||s.open()},200):s.open()}onHandshake(r){this._upgrades=this._filterUpgrades(r.upgrades),super.onHandshake(r)}_filterUpgrades(r){const s=[];for(let l=0;l<r.length;l++)~this.transports.indexOf(r[l])&&s.push(r[l]);return s}}let f4=class extends c4{constructor(r,s={}){const l=typeof r=="object"?r:s;(!l.transports||l.transports&&typeof l.transports[0]=="string")&&(l.transports=(l.transports||["polling","websocket","webtransport"]).map(f=>a4[f]).filter(f=>!!f)),super(r,l)}};function h4(t,r="",s){let l=t;s=s||typeof location<"u"&&location,t==null&&(t=s.protocol+"//"+s.host),typeof t=="string"&&(t.charAt(0)==="/"&&(t.charAt(1)==="/"?t=s.protocol+t:t=s.host+t),/^(https?|wss?):\/\//.test(t)||(typeof s<"u"?t=s.protocol+"//"+t:t="https://"+t),l=Tv(t)),l.port||(/^(http|ws)$/.test(l.protocol)?l.port="80":/^(http|ws)s$/.test(l.protocol)&&(l.port="443")),l.path=l.path||"/";const d=l.host.indexOf(":")!==-1?"["+l.host+"]":l.host;return l.id=l.protocol+"://"+d+":"+l.port+r,l.href=l.protocol+"://"+d+(s&&s.port===l.port?"":":"+l.port),l}const d4=typeof ArrayBuffer=="function",p4=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,cS=Object.prototype.toString,g4=typeof Blob=="function"||typeof Blob<"u"&&cS.call(Blob)==="[object BlobConstructor]",m4=typeof File=="function"||typeof File<"u"&&cS.call(File)==="[object FileConstructor]";function hy(t){return d4&&(t instanceof ArrayBuffer||p4(t))||g4&&t instanceof Blob||m4&&t instanceof File}function hg(t,r){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let s=0,l=t.length;s<l;s++)if(hg(t[s]))return!0;return!1}if(hy(t))return!0;if(t.toJSON&&typeof t.toJSON=="function"&&arguments.length===1)return hg(t.toJSON(),!0);for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)&&hg(t[s]))return!0;return!1}function v4(t){const r=[],s=t.data,l=t;return l.data=xv(s,r),l.attachments=r.length,{packet:l,buffers:r}}function xv(t,r){if(!t)return t;if(hy(t)){const s={_placeholder:!0,num:r.length};return r.push(t),s}else if(Array.isArray(t)){const s=new Array(t.length);for(let l=0;l<t.length;l++)s[l]=xv(t[l],r);return s}else if(typeof t=="object"&&!(t instanceof Date)){const s={};for(const l in t)Object.prototype.hasOwnProperty.call(t,l)&&(s[l]=xv(t[l],r));return s}return t}function y4(t,r){return t.data=Ov(t.data,r),delete t.attachments,t}function Ov(t,r){if(!t)return t;if(t&&t._placeholder===!0){if(typeof t.num=="number"&&t.num>=0&&t.num<r.length)return r[t.num];throw new Error("illegal attachments")}else if(Array.isArray(t))for(let s=0;s<t.length;s++)t[s]=Ov(t[s],r);else if(typeof t=="object")for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(t[s]=Ov(t[s],r));return t}const _4=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],b4=5;var dt;(function(t){t[t.CONNECT=0]="CONNECT",t[t.DISCONNECT=1]="DISCONNECT",t[t.EVENT=2]="EVENT",t[t.ACK=3]="ACK",t[t.CONNECT_ERROR=4]="CONNECT_ERROR",t[t.BINARY_EVENT=5]="BINARY_EVENT",t[t.BINARY_ACK=6]="BINARY_ACK"})(dt||(dt={}));class E4{constructor(r){this.replacer=r}encode(r){return(r.type===dt.EVENT||r.type===dt.ACK)&&hg(r)?this.encodeAsBinary({type:r.type===dt.EVENT?dt.BINARY_EVENT:dt.BINARY_ACK,nsp:r.nsp,data:r.data,id:r.id}):[this.encodeAsString(r)]}encodeAsString(r){let s=""+r.type;return(r.type===dt.BINARY_EVENT||r.type===dt.BINARY_ACK)&&(s+=r.attachments+"-"),r.nsp&&r.nsp!=="/"&&(s+=r.nsp+","),r.id!=null&&(s+=r.id),r.data!=null&&(s+=JSON.stringify(r.data,this.replacer)),s}encodeAsBinary(r){const s=v4(r),l=this.encodeAsString(s.packet),f=s.buffers;return f.unshift(l),f}}function tE(t){return Object.prototype.toString.call(t)==="[object Object]"}class dy extends On{constructor(r){super(),this.reviver=r}add(r){let s;if(typeof r=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");s=this.decodeString(r);const l=s.type===dt.BINARY_EVENT;l||s.type===dt.BINARY_ACK?(s.type=l?dt.EVENT:dt.ACK,this.reconstructor=new S4(s),s.attachments===0&&super.emitReserved("decoded",s)):super.emitReserved("decoded",s)}else if(hy(r)||r.base64)if(this.reconstructor)s=this.reconstructor.takeBinaryData(r),s&&(this.reconstructor=null,super.emitReserved("decoded",s));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+r)}decodeString(r){let s=0;const l={type:Number(r.charAt(0))};if(dt[l.type]===void 0)throw new Error("unknown packet type "+l.type);if(l.type===dt.BINARY_EVENT||l.type===dt.BINARY_ACK){const d=s+1;for(;r.charAt(++s)!=="-"&&s!=r.length;);const g=r.substring(d,s);if(g!=Number(g)||r.charAt(s)!=="-")throw new Error("Illegal attachments");l.attachments=Number(g)}if(r.charAt(s+1)==="/"){const d=s+1;for(;++s&&!(r.charAt(s)===","||s===r.length););l.nsp=r.substring(d,s)}else l.nsp="/";const f=r.charAt(s+1);if(f!==""&&Number(f)==f){const d=s+1;for(;++s;){const g=r.charAt(s);if(g==null||Number(g)!=g){--s;break}if(s===r.length)break}l.id=Number(r.substring(d,s+1))}if(r.charAt(++s)){const d=this.tryParse(r.substr(s));if(dy.isPayloadValid(l.type,d))l.data=d;else throw new Error("invalid payload")}return l}tryParse(r){try{return JSON.parse(r,this.reviver)}catch{return!1}}static isPayloadValid(r,s){switch(r){case dt.CONNECT:return tE(s);case dt.DISCONNECT:return s===void 0;case dt.CONNECT_ERROR:return typeof s=="string"||tE(s);case dt.EVENT:case dt.BINARY_EVENT:return Array.isArray(s)&&(typeof s[0]=="number"||typeof s[0]=="string"&&_4.indexOf(s[0])===-1);case dt.ACK:case dt.BINARY_ACK:return Array.isArray(s)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class S4{constructor(r){this.packet=r,this.buffers=[],this.reconPack=r}takeBinaryData(r){if(this.buffers.push(r),this.buffers.length===this.reconPack.attachments){const s=y4(this.reconPack,this.buffers);return this.finishedReconstruction(),s}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const T4=Object.freeze(Object.defineProperty({__proto__:null,Decoder:dy,Encoder:E4,get PacketType(){return dt},protocol:b4},Symbol.toStringTag,{value:"Module"}));function da(t,r,s){return t.on(r,s),function(){t.off(r,s)}}const A4=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class fS extends On{constructor(r,s,l){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=s,l&&l.auth&&(this.auth=l.auth),this._opts=Object.assign({},l),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const r=this.io;this.subs=[da(r,"open",this.onopen.bind(this)),da(r,"packet",this.onpacket.bind(this)),da(r,"error",this.onerror.bind(this)),da(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,...s){var l,f,d;if(A4.hasOwnProperty(r))throw new Error('"'+r.toString()+'" is a reserved event name');if(s.unshift(r),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(s),this;const g={type:dt.EVENT,data:s};if(g.options={},g.options.compress=this.flags.compress!==!1,typeof s[s.length-1]=="function"){const T=this.ids++,R=s.pop();this._registerAckCallback(T,R),g.id=T}const m=(f=(l=this.io.engine)===null||l===void 0?void 0:l.transport)===null||f===void 0?void 0:f.writable,y=this.connected&&!(!((d=this.io.engine)===null||d===void 0)&&d._hasPingExpired());return this.flags.volatile&&!m||(y?(this.notifyOutgoingListeners(g),this.packet(g)):this.sendBuffer.push(g)),this.flags={},this}_registerAckCallback(r,s){var l;const f=(l=this.flags.timeout)!==null&&l!==void 0?l:this._opts.ackTimeout;if(f===void 0){this.acks[r]=s;return}const d=this.io.setTimeoutFn(()=>{delete this.acks[r];for(let m=0;m<this.sendBuffer.length;m++)this.sendBuffer[m].id===r&&this.sendBuffer.splice(m,1);s.call(this,new Error("operation has timed out"))},f),g=(...m)=>{this.io.clearTimeoutFn(d),s.apply(this,m)};g.withError=!0,this.acks[r]=g}emitWithAck(r,...s){return new Promise((l,f)=>{const d=(g,m)=>g?f(g):l(m);d.withError=!0,s.push(d),this.emit(r,...s)})}_addToQueue(r){let s;typeof r[r.length-1]=="function"&&(s=r.pop());const l={id:this._queueSeq++,tryCount:0,pending:!1,args:r,flags:Object.assign({fromQueue:!0},this.flags)};r.push((f,...d)=>l!==this._queue[0]?void 0:(f!==null?l.tryCount>this._opts.retries&&(this._queue.shift(),s&&s(f)):(this._queue.shift(),s&&s(null,...d)),l.pending=!1,this._drainQueue())),this._queue.push(l),this._drainQueue()}_drainQueue(r=!1){if(!this.connected||this._queue.length===0)return;const s=this._queue[0];s.pending&&!r||(s.pending=!0,s.tryCount++,this.flags=s.flags,this.emit.apply(this,s.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:dt.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,s){this.connected=!1,delete this.id,this.emitReserved("disconnect",r,s),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(r=>{if(!this.sendBuffer.some(l=>String(l.id)===r)){const l=this.acks[r];delete this.acks[r],l.withError&&l.call(this,new Error("socket has been disconnected"))}})}onpacket(r){if(r.nsp===this.nsp)switch(r.type){case dt.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 dt.EVENT:case dt.BINARY_EVENT:this.onevent(r);break;case dt.ACK:case dt.BINARY_ACK:this.onack(r);break;case dt.DISCONNECT:this.ondisconnect();break;case dt.CONNECT_ERROR:this.destroy();const l=new Error(r.data.message);l.data=r.data.data,this.emitReserved("connect_error",l);break}}onevent(r){const s=r.data||[];r.id!=null&&s.push(this.ack(r.id)),this.connected?this.emitEvent(s):this.receiveBuffer.push(Object.freeze(s))}emitEvent(r){if(this._anyListeners&&this._anyListeners.length){const s=this._anyListeners.slice();for(const l of s)l.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 s=this;let l=!1;return function(...f){l||(l=!0,s.packet({type:dt.ACK,id:r,data:f}))}}onack(r){const s=this.acks[r.id];typeof s=="function"&&(delete this.acks[r.id],s.withError&&r.data.unshift(null),s.apply(this,r.data))}onconnect(r,s){this.id=r,this.recovered=s&&this._pid===s,this._pid=s,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:dt.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 s=this._anyListeners;for(let l=0;l<s.length;l++)if(r===s[l])return s.splice(l,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 s=this._anyOutgoingListeners;for(let l=0;l<s.length;l++)if(r===s[l])return s.splice(l,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(r){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const s=this._anyOutgoingListeners.slice();for(const l of s)l.apply(this,r.data)}}}function $c(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}$c.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var r=Math.random(),s=Math.floor(r*this.jitter*t);t=(Math.floor(r*10)&1)==0?t-s:t+s}return Math.min(t,this.max)|0};$c.prototype.reset=function(){this.attempts=0};$c.prototype.setMin=function(t){this.ms=t};$c.prototype.setMax=function(t){this.max=t};$c.prototype.setJitter=function(t){this.jitter=t};class wv extends On{constructor(r,s){var l;super(),this.nsps={},this.subs=[],r&&typeof r=="object"&&(s=r,r=void 0),s=s||{},s.path=s.path||"/socket.io",this.opts=s,zg(this,s),this.reconnection(s.reconnection!==!1),this.reconnectionAttempts(s.reconnectionAttempts||1/0),this.reconnectionDelay(s.reconnectionDelay||1e3),this.reconnectionDelayMax(s.reconnectionDelayMax||5e3),this.randomizationFactor((l=s.randomizationFactor)!==null&&l!==void 0?l:.5),this.backoff=new $c({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(s.timeout==null?2e4:s.timeout),this._readyState="closed",this.uri=r;const f=s.parser||T4;this.encoder=new f.Encoder,this.decoder=new f.Decoder,this._autoConnect=s.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 s;return r===void 0?this._reconnectionDelay:(this._reconnectionDelay=r,(s=this.backoff)===null||s===void 0||s.setMin(r),this)}randomizationFactor(r){var s;return r===void 0?this._randomizationFactor:(this._randomizationFactor=r,(s=this.backoff)===null||s===void 0||s.setJitter(r),this)}reconnectionDelayMax(r){var s;return r===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=r,(s=this.backoff)===null||s===void 0||s.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 f4(this.uri,this.opts);const s=this.engine,l=this;this._readyState="opening",this.skipReconnect=!1;const f=da(s,"open",function(){l.onopen(),r&&r()}),d=m=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",m),r?r(m):this.maybeReconnectOnOpen()},g=da(s,"error",d);if(this._timeout!==!1){const m=this._timeout,y=this.setTimeoutFn(()=>{f(),d(new Error("timeout")),s.close()},m);this.opts.autoUnref&&y.unref(),this.subs.push(()=>{this.clearTimeoutFn(y)})}return this.subs.push(f),this.subs.push(g),this}connect(r){return this.open(r)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const r=this.engine;this.subs.push(da(r,"ping",this.onping.bind(this)),da(r,"data",this.ondata.bind(this)),da(r,"error",this.onerror.bind(this)),da(r,"close",this.onclose.bind(this)),da(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(r){try{this.decoder.add(r)}catch(s){this.onclose("parse error",s)}}ondecoded(r){Gg(()=>{this.emitReserved("packet",r)},this.setTimeoutFn)}onerror(r){this.emitReserved("error",r)}socket(r,s){let l=this.nsps[r];return l?this._autoConnect&&!l.active&&l.connect():(l=new fS(this,r,s),this.nsps[r]=l),l}_destroy(r){const s=Object.keys(this.nsps);for(const l of s)if(this.nsps[l].active)return;this._close()}_packet(r){const s=this.encoder.encode(r);for(let l=0;l<s.length;l++)this.engine.write(s[l],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,s){var l;this.cleanup(),(l=this.engine)===null||l===void 0||l.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",r,s),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 s=this.backoff.duration();this._reconnecting=!0;const l=this.setTimeoutFn(()=>{r.skipReconnect||(this.emitReserved("reconnect_attempt",r.backoff.attempts),!r.skipReconnect&&r.open(f=>{f?(r._reconnecting=!1,r.reconnect(),this.emitReserved("reconnect_error",f)):r.onreconnect()}))},s);this.opts.autoUnref&&l.unref(),this.subs.push(()=>{this.clearTimeoutFn(l)})}}onreconnect(){const r=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",r)}}const sd={};function dg(t,r){typeof t=="object"&&(r=t,t=void 0),r=r||{};const s=h4(t,r.path||"/socket.io"),l=s.source,f=s.id,d=s.path,g=sd[f]&&d in sd[f].nsps,m=r.forceNew||r["force new connection"]||r.multiplex===!1||g;let y;return m?y=new wv(l,r):(sd[f]||(sd[f]=new wv(l,r)),y=sd[f]),s.query&&!r.query&&(r.query=s.queryKey),y.socket(s.path,r)}Object.assign(dg,{Manager:wv,Socket:fS,io:dg,connect:dg});const x4=[nt.ActionTypes.MESSAGE_TO_GUEST,nt.ActionTypes.EVENT_TO_GUEST,nt.ActionTypes.TYPING_ON,nt.ActionTypes.TYPING_OFF,nt.ActionTypes.RESTART_CHAT_REQUEST,...Aw,..._O,"@@localize/SET_ACTIVE_LANGUAGE","@@localize/ADD_TRANSLATION_FOR_LANGUAGE"],O4=({dispatch:t,getState:r})=>s=>{let l=null;return f=>{const d=s(f);if(f.type===$v){l?.disconnect(),t(ww());const g=`/chat?${wg.stringify(f.querystrings)}`;l=dg(`/${f.clientName}${g}`),l.on("action",t),l.on("connect",()=>t(Rw())),l.on("disconnect",()=>t(Cw())),l.on("reconnect",()=>t(Nw())),l.on("set-translations",(m,y)=>{t(E8({language:m,messages:g8(m,y)}))}),l.on("set-settings",m=>{t(A8(m))}),l.on("enable-conversation-rating",m=>t(AO(m))),l.on("speech-transcription",m=>t(EO(m))),l.on("restore-client-state",m=>{t(Ow(m.sessionId)),t(OO(m.messages))}),l.on("expand-window",({devices:m,initial:y=!1})=>{t({type:ZE,devices:m,initial:y})}),l.on("restart-chat",()=>{t(Bg(f.clientName,f.querystrings))}),l.on("login-success",m=>{t(mw({loginToken:m.loginToken}))})}else if(f.type==="start-screen/requestLogin")l?.emit("login-requested",f.payload);else if(f.type===Dg)l?.emit("start-chat",f.payload);else if(f.type===Lg)l?.emit("terminate-session",f.payload);else if(f.type===yO)l?.emit("get-started",JSON.stringify(f));else if(f.type===kv)l?.emit("audio-message",f.buffer);else if(f.type===nt.ActionTypes.CONVERSATION_RATING_FROM_GUEST)l?.emit("conversation-rating",f.payload);else if(f.type===KE){const{connection:{sessionId:g}}=r();window.location.href=`/transcript-pdf/${g}`}else x4.indexOf(f.type)===-1&&f.meta===void 0&&l&&l.emit("action",JSON.stringify(f));return d}},hS=B2(),w4={...R8(hS),intl:Z2},Rv=nw({middleware:t=>t().concat(O4),reducer:O8,preloadedState:w4});Rv.subscribe(l8(()=>{const t=Rv.getState();C8(hS,{connection:t.connection,startScreen:t.startScreen})},1e3));const R4=document.getElementById("root"),C4=PS.createRoot(R4);C4.render(S.jsx(FT,{store:Rv,children:S.jsx(ZM,{})}));
|
|
150
|
+
//# sourceMappingURL=index-DiIAgDh8.js.map
|