@animuz/embed 0.2.3-rc1.1 → 0.2.3-rc2
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.
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
!function(Zn,Lu){"object"==typeof exports&&typeof module<"u"?Lu(exports):"function"==typeof define&&define.amd?define(["exports"],Lu):Lu((Zn=typeof globalThis<"u"?globalThis:Zn||self).EmbeddedAnimuz={})}(this,(function(Zn){"use strict";var gd,vd;var Aa={exports:{}},Ur={},Da={exports:{}},B={},Ou=Symbol.for("react.element"),Od=Symbol.for("react.portal"),Id=Symbol.for("react.fragment"),Pd=Symbol.for("react.strict_mode"),Rd=Symbol.for("react.profiler"),zd=Symbol.for("react.provider"),$d=Symbol.for("react.context"),Bd=Symbol.for("react.forward_ref"),Hd=Symbol.for("react.suspense"),Ud=Symbol.for("react.memo"),qd=Symbol.for("react.lazy"),Fa=Symbol.iterator;
|
|
2
|
+
/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react.production.min.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/var Na={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ma=Object.assign,Ta={};function Wn(e,t,n){this.props=e,this.context=t,this.refs=Ta,this.updater=n||Na}function ja(){}function Sl(e,t,n){this.props=e,this.context=t,this.refs=Ta,this.updater=n||Na}Wn.prototype.isReactComponent={},Wn.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},Wn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},ja.prototype=Wn.prototype;var Al=Sl.prototype=new ja;Al.constructor=Sl,Ma(Al,Wn.prototype),Al.isPureReactComponent=!0;var La=Array.isArray,Oa=Object.prototype.hasOwnProperty,Dl={current:null},Ia={key:!0,ref:!0,__self:!0,__source:!0};function Pa(e,t,n){var u,r={},l=null,o=null;if(null!=t)for(u in void 0!==t.ref&&(o=t.ref),void 0!==t.key&&(l=""+t.key),t)Oa.call(t,u)&&!Ia.hasOwnProperty(u)&&(r[u]=t[u]);var i=arguments.length-2;if(1===i)r.children=n;else if(1<i){for(var a=Array(i),s=0;s<i;s++)a[s]=arguments[s+2];r.children=a}if(e&&e.defaultProps)for(u in i=e.defaultProps)void 0===r[u]&&(r[u]=i[u]);return{$$typeof:Ou,type:e,key:l,ref:o,props:r,_owner:Dl.current}}function Fl(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ou}var Ra=/\/+/g;function Nl(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(n){return t[n]}))}(""+e.key):t.toString(36)}function qr(e,t,n,u,r){var l=typeof e;("undefined"===l||"boolean"===l)&&(e=null);var o=!1;if(null===e)o=!0;else switch(l){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Ou:case Od:o=!0}}if(o)return r=r(o=e),e=""===u?"."+Nl(o,0):u,La(r)?(n="",null!=e&&(n=e.replace(Ra,"$&/")+"/"),qr(r,t,n,"",(function(s){return s}))):null!=r&&(Fl(r)&&(r=function(e,t){return{$$typeof:Ou,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(r,n+(!r.key||o&&o.key===r.key?"":(""+r.key).replace(Ra,"$&/")+"/")+e)),t.push(r)),1;if(o=0,u=""===u?".":u+":",La(e))for(var i=0;i<e.length;i++){var a=u+Nl(l=e[i],i);o+=qr(l,t,n,a,r)}else if(a=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Fa&&e[Fa]||e["@@iterator"])?e:null}(e),"function"==typeof a)for(e=a.call(e),i=0;!(l=e.next()).done;)o+=qr(l=l.value,t,n,a=u+Nl(l,i++),r);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function Vr(e,t,n){if(null==e)return e;var u=[],r=0;return qr(e,u,"","",(function(l){return t.call(n,l,r++)})),u}function Gd(e){if(-1===e._status){var t=e._result;(t=t()).then((function(n){(0===e._status||-1===e._status)&&(e._status=1,e._result=n)}),(function(n){(0===e._status||-1===e._status)&&(e._status=2,e._result=n)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var Le={current:null},Zr={transition:null},Qd={ReactCurrentDispatcher:Le,ReactCurrentBatchConfig:Zr,ReactCurrentOwner:Dl};function za(){throw Error("act(...) is not supported in production builds of React.")}B.Children={map:Vr,forEach:function(e,t,n){Vr(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Vr(e,(function(){t++})),t},toArray:function(e){return Vr(e,(function(t){return t}))||[]},only:function(e){if(!Fl(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},B.Component=Wn,B.Fragment=Id,B.Profiler=Rd,B.PureComponent=Sl,B.StrictMode=Pd,B.Suspense=Hd,B.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Qd,B.act=za,B.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var u=Ma({},e.props),r=e.key,l=e.ref,o=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,o=Dl.current),void 0!==t.key&&(r=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(a in t)Oa.call(t,a)&&!Ia.hasOwnProperty(a)&&(u[a]=void 0===t[a]&&void 0!==i?i[a]:t[a])}var a=arguments.length-2;if(1===a)u.children=n;else if(1<a){i=Array(a);for(var s=0;s<a;s++)i[s]=arguments[s+2];u.children=i}return{$$typeof:Ou,type:e.type,key:r,ref:l,props:u,_owner:o}},B.createContext=function(e){return(e={$$typeof:$d,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:zd,_context:e},e.Consumer=e},B.createElement=Pa,B.createFactory=function(e){var t=Pa.bind(null,e);return t.type=e,t},B.createRef=function(){return{current:null}},B.forwardRef=function(e){return{$$typeof:Bd,render:e}},B.isValidElement=Fl,B.lazy=function(e){return{$$typeof:qd,_payload:{_status:-1,_result:e},_init:Gd}},B.memo=function(e,t){return{$$typeof:Ud,type:e,compare:void 0===t?null:t}},B.startTransition=function(e){var t=Zr.transition;Zr.transition={};try{e()}finally{Zr.transition=t}},B.unstable_act=za,B.useCallback=function(e,t){return Le.current.useCallback(e,t)},B.useContext=function(e){return Le.current.useContext(e)},B.useDebugValue=function(){},B.useDeferredValue=function(e){return Le.current.useDeferredValue(e)},B.useEffect=function(e,t){return Le.current.useEffect(e,t)},B.useId=function(){return Le.current.useId()},B.useImperativeHandle=function(e,t,n){return Le.current.useImperativeHandle(e,t,n)},B.useInsertionEffect=function(e,t){return Le.current.useInsertionEffect(e,t)},B.useLayoutEffect=function(e,t){return Le.current.useLayoutEffect(e,t)},B.useMemo=function(e,t){return Le.current.useMemo(e,t)},B.useReducer=function(e,t,n){return Le.current.useReducer(e,t,n)},B.useRef=function(e){return Le.current.useRef(e)},B.useState=function(e){return Le.current.useState(e)},B.useSyncExternalStore=function(e,t,n){return Le.current.useSyncExternalStore(e,t,n)},B.useTransition=function(){return Le.current.useTransition()},B.version="18.3.1",Da.exports=B;var _=Da.exports;const h=(e=_)&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;
|
|
11
|
+
/**
|
|
12
|
+
* @license React
|
|
13
|
+
* react-jsx-runtime.production.min.js
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the MIT license found in the
|
|
18
|
+
* LICENSE file in the root directory of this source tree.
|
|
19
|
+
*/var e,Yd=_,Kd=Symbol.for("react.element"),Xd=Symbol.for("react.fragment"),Jd=Object.prototype.hasOwnProperty,ep=Yd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,tp={key:!0,ref:!0,__self:!0,__source:!0};function $a(e,t,n){var u,r={},l=null,o=null;for(u in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(o=t.ref),t)Jd.call(t,u)&&!tp.hasOwnProperty(u)&&(r[u]=t[u]);if(e&&e.defaultProps)for(u in t=e.defaultProps)void 0===r[u]&&(r[u]=t[u]);return{$$typeof:Kd,type:e,key:l,ref:o,props:r,_owner:ep.current}}Ur.Fragment=Xd,Ur.jsx=$a,Ur.jsxs=$a,Aa.exports=Ur;var p=Aa.exports,Ml={},Ba={exports:{}},Ke={},Ha={exports:{}},Ua={};
|
|
20
|
+
/**
|
|
21
|
+
* @license React
|
|
22
|
+
* scheduler.production.min.js
|
|
23
|
+
*
|
|
24
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
25
|
+
*
|
|
26
|
+
* This source code is licensed under the MIT license found in the
|
|
27
|
+
* LICENSE file in the root directory of this source tree.
|
|
28
|
+
*/(function(e){function t(M,$){var R=M.length;M.push($);e:for(;0<R;){var z=R-1>>>1,q=M[z];if(!(0<r(q,$)))break e;M[z]=$,M[R]=q,R=z}}function n(M){return 0===M.length?null:M[0]}function u(M){if(0===M.length)return null;var $=M[0],R=M.pop();if(R!==$){M[0]=R;e:for(var z=0,q=M.length,Y=q>>>1;z<Y;){var $e=2*(z+1)-1,W=M[$e],Ne=$e+1,St=M[Ne];if(0>r(W,R))Ne<q&&0>r(St,W)?(M[z]=St,M[Ne]=R,z=Ne):(M[z]=W,M[$e]=R,z=$e);else{if(!(Ne<q&&0>r(St,R)))break e;M[z]=St,M[Ne]=R,z=Ne}}}return $}function r(M,$){var R=M.sortIndex-$.sortIndex;return 0!==R?R:M.id-$.id}if("object"==typeof performance&&"function"==typeof performance.now){var l=performance;e.unstable_now=function(){return l.now()}}else{var o=Date,i=o.now();e.unstable_now=function(){return o.now()-i}}var a=[],s=[],c=1,f=null,w=3,y=!1,g=!1,k=!1,D="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;function m(M){for(var $=n(s);null!==$;){if(null===$.callback)u(s);else{if(!($.startTime<=M))break;u(s),$.sortIndex=$.expirationTime,t(a,$)}$=n(s)}}function x(M){if(k=!1,m(M),!g)if(null!==n(a))g=!0,Qe(E);else{var $=n(s);null!==$&&mt(x,$.startTime-M)}}function E(M,$){g=!1,k&&(k=!1,v(A),A=-1),y=!0;var R=w;try{for(m($),f=n(a);null!==f&&(!(f.expirationTime>$)||M&&!O());){var z=f.callback;if("function"==typeof z){f.callback=null,w=f.priorityLevel;var q=z(f.expirationTime<=$);$=e.unstable_now(),"function"==typeof q?f.callback=q:f===n(a)&&u(a),m($)}else u(a);f=n(a)}if(null!==f)var Y=!0;else{var $e=n(s);null!==$e&&mt(x,$e.startTime-$),Y=!1}return Y}finally{f=null,w=R,y=!1}}typeof navigator<"u"&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var se,C=!1,S=null,A=-1,P=5,j=-1;function O(){return!(e.unstable_now()-j<P)}function Z(){if(null!==S){var M=e.unstable_now();j=M;var $=!0;try{$=S(!0,M)}finally{$?se():(C=!1,S=null)}}else C=!1}if("function"==typeof d)se=function(){d(Z)};else if(typeof MessageChannel<"u"){var ve=new MessageChannel,Fe=ve.port2;ve.port1.onmessage=Z,se=function(){Fe.postMessage(null)}}else se=function(){D(Z,0)};function Qe(M){S=M,C||(C=!0,se())}function mt(M,$){A=D((function(){M(e.unstable_now())}),$)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_continueExecution=function(){g||y||(g=!0,Qe(E))},e.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<M?Math.floor(1e3/M):5},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(M){switch(w){case 1:case 2:case 3:var $=3;break;default:$=w}var R=w;w=$;try{return M()}finally{w=R}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(M,$){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var R=w;w=M;try{return $()}finally{w=R}},e.unstable_scheduleCallback=function(M,$,R){var z=e.unstable_now();switch("object"==typeof R&&null!==R?R="number"==typeof(R=R.delay)&&0<R?z+R:z:R=z,M){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5e3}return M={id:c++,callback:$,priorityLevel:M,startTime:R,expirationTime:q=R+q,sortIndex:-1},R>z?(M.sortIndex=R,t(s,M),null===n(a)&&M===n(s)&&(k?(v(A),A=-1):k=!0,mt(x,R-z))):(M.sortIndex=q,t(a,M),g||y||(g=!0,Qe(E))),M},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(M){var $=w;return function(){var R=w;w=$;try{return M.apply(this,arguments)}finally{w=R}}}})(Ua),Ha.exports=Ua;var np=Ha.exports,up=_,Xe=np;
|
|
29
|
+
/**
|
|
30
|
+
* @license React
|
|
31
|
+
* react-dom.production.min.js
|
|
32
|
+
*
|
|
33
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
34
|
+
*
|
|
35
|
+
* This source code is licensed under the MIT license found in the
|
|
36
|
+
* LICENSE file in the root directory of this source tree.
|
|
37
|
+
*/function F(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var qa=new Set,Iu={};function Mn(e,t){Gn(e,t),Gn(e+"Capture",t)}function Gn(e,t){for(Iu[e]=t,e=0;e<t.length;e++)qa.add(t[e])}var $t=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Tl=Object.prototype.hasOwnProperty,rp=/^[: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]*$/,Va={},Za={};function Oe(e,t,n,u,r,l,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=u,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=o}var xe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){xe[e]=new Oe(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];xe[t]=new Oe(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){xe[e]=new Oe(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){xe[e]=new Oe(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){xe[e]=new Oe(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){xe[e]=new Oe(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){xe[e]=new Oe(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){xe[e]=new Oe(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){xe[e]=new Oe(e,5,!1,e.toLowerCase(),null,!1,!1)}));var jl=/[\-:]([a-z])/g;function Ll(e){return e[1].toUpperCase()}function Ol(e,t,n,u){var r=xe.hasOwnProperty(t)?xe[t]:null;(null!==r?0!==r.type:u||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,u){if(null===t||typeof t>"u"||function(e,t,n,u){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!u&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,u))return!0;if(u)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,r,u)&&(n=null),u||null===r?function(e){return!!Tl.call(Za,e)||!Tl.call(Va,e)&&(rp.test(e)?Za[e]=!0:(Va[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,u=r.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(r=r.type)||4===r&&!0===n?"":""+n,u?e.setAttributeNS(u,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(jl,Ll);xe[t]=new Oe(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(jl,Ll);xe[t]=new Oe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(jl,Ll);xe[t]=new Oe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){xe[e]=new Oe(e,1,!1,e.toLowerCase(),null,!1,!1)})),xe.xlinkHref=new Oe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){xe[e]=new Oe(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Bt=up.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Wr=Symbol.for("react.element"),Qn=Symbol.for("react.portal"),Yn=Symbol.for("react.fragment"),Il=Symbol.for("react.strict_mode"),Pl=Symbol.for("react.profiler"),Wa=Symbol.for("react.provider"),Ga=Symbol.for("react.context"),Rl=Symbol.for("react.forward_ref"),zl=Symbol.for("react.suspense"),$l=Symbol.for("react.suspense_list"),Bl=Symbol.for("react.memo"),un=Symbol.for("react.lazy"),Qa=Symbol.for("react.offscreen"),Ya=Symbol.iterator;function Pu(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ya&&e[Ya]||e["@@iterator"])?e:null}var Hl,ne=Object.assign;function Ru(e){if(void 0===Hl)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Hl=t&&t[1]||""}return"\n"+Hl+e}var Ul=!1;function ql(e,t){if(!e||Ul)return"";Ul=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var u=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){u=s}e.call(t.prototype)}else{try{throw Error()}catch(s){u=s}e()}}catch(s){if(s&&u&&"string"==typeof s.stack){for(var r=s.stack.split("\n"),l=u.stack.split("\n"),o=r.length-1,i=l.length-1;1<=o&&0<=i&&r[o]!==l[i];)i--;for(;1<=o&&0<=i;o--,i--)if(r[o]!==l[i]){if(1!==o||1!==i)do{if(o--,0>--i||r[o]!==l[i]){var a="\n"+r[o].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}}while(1<=o&&0<=i);break}}}finally{Ul=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ru(e):""}function ap(e){switch(e.tag){case 5:return Ru(e.type);case 16:return Ru("Lazy");case 13:return Ru("Suspense");case 19:return Ru("SuspenseList");case 0:case 2:case 15:return e=ql(e.type,!1);case 11:return e=ql(e.type.render,!1);case 1:return e=ql(e.type,!0);default:return""}}function Vl(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Yn:return"Fragment";case Qn:return"Portal";case Pl:return"Profiler";case Il:return"StrictMode";case zl:return"Suspense";case $l:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Ga:return(e.displayName||"Context")+".Consumer";case Wa:return(e._context.displayName||"Context")+".Provider";case Rl:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Bl:return null!==(t=e.displayName||null)?t:Vl(e.type)||"Memo";case un:t=e._payload,e=e._init;try{return Vl(e(t))}catch{}}return null}function sp(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Vl(t);case 8:return t===Il?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function rn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Ka(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Gr(e){e._valueTracker||(e._valueTracker=function(e){var t=Ka(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),u=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&"function"==typeof n.get&&"function"==typeof n.set){var r=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(o){u=""+o,l.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return u},setValue:function(o){u=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Xa(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),u="";return e&&(u=Ka(e)?e.checked?"true":"false":e.value),(e=u)!==n&&(t.setValue(e),!0)}function Qr(e){if(typeof(e=e||(typeof document<"u"?document:void 0))>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Zl(e,t){var n=t.checked;return ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ja(e,t){var n=null==t.defaultValue?"":t.defaultValue,u=null!=t.checked?t.checked:t.defaultChecked;n=rn(null!=t.value?t.value:n),e._wrapperState={initialChecked:u,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function es(e,t){null!=(t=t.checked)&&Ol(e,"checked",t,!1)}function Wl(e,t){es(e,t);var n=rn(t.value),u=t.type;if(null!=n)"number"===u?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===u||"reset"===u)return void e.removeAttribute("value");t.hasOwnProperty("value")?Gl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Gl(e,t.type,rn(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ts(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type;if(!("submit"!==u&&"reset"!==u||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Gl(e,t,n){("number"!==t||Qr(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var zu=Array.isArray;function Kn(e,t,n,u){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&u&&(e[n].defaultSelected=!0)}else{for(n=""+rn(n),t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(u&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function Ql(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(F(91));return ne({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ns(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(F(92));if(zu(n)){if(1<n.length)throw Error(F(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:rn(n)}}function us(e,t){var n=rn(t.value),u=rn(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=u&&(e.defaultValue=""+u)}function rs(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ls(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Yl(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ls(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Yr,os=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,u,r){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Yr=Yr||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Yr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function $u(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Bu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fp=["Webkit","ms","Moz","O"];function is(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Bu.hasOwnProperty(e)&&Bu[e]?(""+t).trim():t+"px"}function as(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var u=0===n.indexOf("--"),r=is(n,t[n],u);"float"===n&&(n="cssFloat"),u?e.setProperty(n,r):e[n]=r}}Object.keys(Bu).forEach((function(e){fp.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Bu[t]=Bu[e]}))}));var dp=ne({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Kl(e,t){if(t){if(dp[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(F(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(F(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(F(62))}}function Xl(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;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 Jl=null;function eo(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var to=null,Xn=null,Jn=null;function ss(e){if(e=sr(e)){if("function"!=typeof to)throw Error(F(280));var t=e.stateNode;t&&(t=y0(t),to(e.stateNode,e.type,t))}}function cs(e){Xn?Jn?Jn.push(e):Jn=[e]:Xn=e}function fs(){if(Xn){var e=Xn,t=Jn;if(Jn=Xn=null,ss(e),t)for(e=0;e<t.length;e++)ss(t[e])}}function ds(e,t){return e(t)}function ps(){}var no=!1;function hs(e,t,n){if(no)return e(t,n);no=!0;try{return ds(e,t,n)}finally{no=!1,(null!==Xn||null!==Jn)&&(ps(),fs())}}function Hu(e,t){var n=e.stateNode;if(null===n)return null;var u=y0(n);if(null===u)return null;n=u[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(u=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!u;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(F(231,t,typeof n));return n}var uo=!1;if($t)try{var Uu={};Object.defineProperty(Uu,"passive",{get:function(){uo=!0}}),window.addEventListener("test",Uu,Uu),window.removeEventListener("test",Uu,Uu)}catch{uo=!1}function pp(e,t,n,u,r,l,o,i,a){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var qu=!1,Kr=null,Xr=!1,ro=null,hp={onError:function(e){qu=!0,Kr=e}};function mp(e,t,n,u,r,l,o,i,a){qu=!1,Kr=null,pp.apply(hp,arguments)}function Tn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{4098&(t=e).flags&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function ms(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function ws(e){if(Tn(e)!==e)throw Error(F(188))}function gs(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Tn(e)))throw Error(F(188));return t!==e?null:e}for(var n=e,u=t;;){var r=n.return;if(null===r)break;var l=r.alternate;if(null===l){if(null!==(u=r.return)){n=u;continue}break}if(r.child===l.child){for(l=r.child;l;){if(l===n)return ws(r),e;if(l===u)return ws(r),t;l=l.sibling}throw Error(F(188))}if(n.return!==u.return)n=r,u=l;else{for(var o=!1,i=r.child;i;){if(i===n){o=!0,n=r,u=l;break}if(i===u){o=!0,u=r,n=l;break}i=i.sibling}if(!o){for(i=l.child;i;){if(i===n){o=!0,n=l,u=r;break}if(i===u){o=!0,u=l,n=r;break}i=i.sibling}if(!o)throw Error(F(189))}}if(n.alternate!==u)throw Error(F(190))}if(3!==n.tag)throw Error(F(188));return n.stateNode.current===n?e:t}(e))?vs(e):null}function vs(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=vs(e);if(null!==t)return t;e=e.sibling}return null}var ys=Xe.unstable_scheduleCallback,xs=Xe.unstable_cancelCallback,vp=Xe.unstable_shouldYield,yp=Xe.unstable_requestPaint,ae=Xe.unstable_now,xp=Xe.unstable_getCurrentPriorityLevel,lo=Xe.unstable_ImmediatePriority,bs=Xe.unstable_UserBlockingPriority,Jr=Xe.unstable_NormalPriority,bp=Xe.unstable_LowPriority,_s=Xe.unstable_IdlePriority,e0=null,At=null;var gt=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(kp(e)/Ep|0)|0},kp=Math.log,Ep=Math.LN2;var t0=64,n0=4194304;function Vu(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function u0(e,t){var n=e.pendingLanes;if(0===n)return 0;var u=0,r=e.suspendedLanes,l=e.pingedLanes,o=268435455&n;if(0!==o){var i=o&~r;0!==i?u=Vu(i):0!==(l&=o)&&(u=Vu(l))}else 0!==(o=n&~r)?u=Vu(o):0!==l&&(u=Vu(l));if(0===u)return 0;if(0!==t&&t!==u&&!(t&r)&&((r=u&-u)>=(l=t&-t)||16===r&&4194240&l))return t;if(4&u&&(u|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=u;0<t;)r=1<<(n=31-gt(t)),u|=e[n],t&=~r;return u}function Sp(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function oo(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ks(){var e=t0;return!(4194240&(t0<<=1))&&(t0=64),e}function io(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Zu(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-gt(t)]=n}function ao(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var u=31-gt(n),r=1<<u;r&t|e[u]&t&&(e[u]|=t),n&=~r}}var V=0;function Es(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var Cs,so,Ss,As,Ds,co=!1,r0=[],ln=null,on=null,an=null,Wu=new Map,Gu=new Map,sn=[],Fp="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Fs(e,t){switch(e){case"focusin":case"focusout":ln=null;break;case"dragenter":case"dragleave":on=null;break;case"mouseover":case"mouseout":an=null;break;case"pointerover":case"pointerout":Wu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Gu.delete(t.pointerId)}}function Qu(e,t,n,u,r,l){return null===e||e.nativeEvent!==l?(e={blockedOn:t,domEventName:n,eventSystemFlags:u,nativeEvent:l,targetContainers:[r]},null!==t&&(null!==(t=sr(t))&&so(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,null!==r&&-1===t.indexOf(r)&&t.push(r),e)}function Ns(e){var t=jn(e.target);if(null!==t){var n=Tn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=ms(n)))return e.blockedOn=t,void Ds(e.priority,(function(){Ss(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function l0(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=po(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=sr(n))&&so(t),e.blockedOn=n,!1;var u=new(n=e.nativeEvent).constructor(n.type,n);Jl=u,n.target.dispatchEvent(u),Jl=null,t.shift()}return!0}function Ms(e,t,n){l0(e)&&n.delete(t)}function Mp(){co=!1,null!==ln&&l0(ln)&&(ln=null),null!==on&&l0(on)&&(on=null),null!==an&&l0(an)&&(an=null),Wu.forEach(Ms),Gu.forEach(Ms)}function Yu(e,t){e.blockedOn===t&&(e.blockedOn=null,co||(co=!0,Xe.unstable_scheduleCallback(Xe.unstable_NormalPriority,Mp)))}function Ku(e){function t(r){return Yu(r,e)}if(0<r0.length){Yu(r0[0],e);for(var n=1;n<r0.length;n++){var u=r0[n];u.blockedOn===e&&(u.blockedOn=null)}}for(null!==ln&&Yu(ln,e),null!==on&&Yu(on,e),null!==an&&Yu(an,e),Wu.forEach(t),Gu.forEach(t),n=0;n<sn.length;n++)(u=sn[n]).blockedOn===e&&(u.blockedOn=null);for(;0<sn.length&&null===(n=sn[0]).blockedOn;)Ns(n),null===n.blockedOn&&sn.shift()}var eu=Bt.ReactCurrentBatchConfig,o0=!0;function Tp(e,t,n,u){var r=V,l=eu.transition;eu.transition=null;try{V=1,fo(e,t,n,u)}finally{V=r,eu.transition=l}}function jp(e,t,n,u){var r=V,l=eu.transition;eu.transition=null;try{V=4,fo(e,t,n,u)}finally{V=r,eu.transition=l}}function fo(e,t,n,u){if(o0){var r=po(e,t,n,u);if(null===r)No(e,t,u,i0,n),Fs(e,u);else if(function(e,t,n,u,r){switch(t){case"focusin":return ln=Qu(ln,e,t,n,u,r),!0;case"dragenter":return on=Qu(on,e,t,n,u,r),!0;case"mouseover":return an=Qu(an,e,t,n,u,r),!0;case"pointerover":var l=r.pointerId;return Wu.set(l,Qu(Wu.get(l)||null,e,t,n,u,r)),!0;case"gotpointercapture":return l=r.pointerId,Gu.set(l,Qu(Gu.get(l)||null,e,t,n,u,r)),!0}return!1}(r,e,t,n,u))u.stopPropagation();else if(Fs(e,u),4&t&&-1<Fp.indexOf(e)){for(;null!==r;){var l=sr(r);if(null!==l&&Cs(l),null===(l=po(e,t,n,u))&&No(e,t,u,i0,n),l===r)break;r=l}null!==r&&u.stopPropagation()}else No(e,t,u,null,n)}}var i0=null;function po(e,t,n,u){if(i0=null,null!==(e=jn(e=eo(u))))if(null===(t=Tn(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=ms(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return i0=e,null}function Ts(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(xp()){case lo:return 1;case bs:return 4;case Jr:case bp:return 16;case _s:return 536870912;default:return 16}default:return 16}}var cn=null,ho=null,a0=null;function js(){if(a0)return a0;var e,u,t=ho,n=t.length,r="value"in cn?cn.value:cn.textContent,l=r.length;for(e=0;e<n&&t[e]===r[e];e++);var o=n-e;for(u=1;u<=o&&t[n-u]===r[l-u];u++);return a0=r.slice(e,1<u?1-u:void 0)}function s0(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function c0(){return!0}function Ls(){return!1}function Je(e){function t(n,u,r,l,o){for(var i in this._reactName=n,this._targetInst=r,this.type=u,this.nativeEvent=l,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(n=e[i],this[i]=n?n(l):l[i]);return this.isDefaultPrevented=(null!=l.defaultPrevented?l.defaultPrevented:!1===l.returnValue)?c0:Ls,this.isPropagationStopped=Ls,this}return ne(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():"unknown"!=typeof n.returnValue&&(n.returnValue=!1),this.isDefaultPrevented=c0)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():"unknown"!=typeof n.cancelBubble&&(n.cancelBubble=!0),this.isPropagationStopped=c0)},persist:function(){},isPersistent:c0}),t}var wo,go,Ju,tu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},mo=Je(tu),Xu=ne({},tu,{view:0,detail:0}),Lp=Je(Xu),f0=ne({},Xu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yo,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ju&&(Ju&&"mousemove"===e.type?(wo=e.screenX-Ju.screenX,go=e.screenY-Ju.screenY):go=wo=0,Ju=e),wo)},movementY:function(e){return"movementY"in e?e.movementY:go}}),Os=Je(f0),Ip=Je(ne({},f0,{dataTransfer:0})),vo=Je(ne({},Xu,{relatedTarget:0})),zp=Je(ne({},tu,{animationName:0,elapsedTime:0,pseudoElement:0})),$p=ne({},tu,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Bp=Je($p),Is=Je(ne({},tu,{data:0})),Up={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qp={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"},Vp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Zp(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Vp[e])&&!!t[e]}function yo(){return Zp}var Wp=ne({},Xu,{key:function(e){if(e.key){var t=Up[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=s0(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?qp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yo,charCode:function(e){return"keypress"===e.type?s0(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?s0(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Gp=Je(Wp),Ps=Je(ne({},f0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Kp=Je(ne({},Xu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yo})),Jp=Je(ne({},tu,{propertyName:0,elapsedTime:0,pseudoElement:0})),e6=ne({},f0,{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}),t6=Je(e6),n6=[9,13,27,32],xo=$t&&"CompositionEvent"in window,er=null;$t&&"documentMode"in document&&(er=document.documentMode);var u6=$t&&"TextEvent"in window&&!er,Rs=$t&&(!xo||er&&8<er&&11>=er),zs=" ",$s=!1;function Bs(e,t){switch(e){case"keyup":return-1!==n6.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hs(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var nu=!1;var o6={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 Us(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!o6[e.type]:"textarea"===t}function qs(e,t,n,u){cs(u),0<(t=w0(t,"onChange")).length&&(n=new mo("onChange","change",null,n,u),e.push({event:n,listeners:t}))}var tr=null,nr=null;function i6(e){ac(e,0)}function d0(e){if(Xa(iu(e)))return e}function a6(e,t){if("change"===e)return t}var Vs=!1;if($t){var bo;if($t){var _o="oninput"in document;if(!_o){var Zs=document.createElement("div");Zs.setAttribute("oninput","return;"),_o="function"==typeof Zs.oninput}bo=_o}else bo=!1;Vs=bo&&(!document.documentMode||9<document.documentMode)}function Ws(){tr&&(tr.detachEvent("onpropertychange",Gs),nr=tr=null)}function Gs(e){if("value"===e.propertyName&&d0(nr)){var t=[];qs(t,nr,e,eo(e)),hs(i6,t)}}function s6(e,t,n){"focusin"===e?(Ws(),nr=n,(tr=t).attachEvent("onpropertychange",Gs)):"focusout"===e&&Ws()}function c6(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return d0(nr)}function f6(e,t){if("click"===e)return d0(t)}function d6(e,t){if("input"===e||"change"===e)return d0(t)}var vt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ur(e,t){if(vt(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),u=Object.keys(t);if(n.length!==u.length)return!1;for(u=0;u<n.length;u++){var r=n[u];if(!Tl.call(t,r)||!vt(e[r],t[r]))return!1}return!0}function Qs(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ys(e,t){var u,n=Qs(e);for(e=0;n;){if(3===n.nodeType){if(u=e+n.textContent.length,e<=t&&u>=t)return{node:n,offset:t-e};e=u}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Qs(n)}}function Ks(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Ks(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Xs(){for(var e=window,t=Qr();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch{n=!1}if(!n)break;t=Qr((e=t.contentWindow).document)}return t}function ko(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function h6(e){var t=Xs(),n=e.focusedElem,u=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ks(n.ownerDocument.documentElement,n)){if(null!==u&&ko(n))if(t=u.start,void 0===(e=u.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var r=n.textContent.length,l=Math.min(u.start,r);u=void 0===u.end?l:Math.min(u.end,r),!e.extend&&l>u&&(r=u,u=l,l=r),r=Ys(n,l);var o=Ys(n,u);r&&o&&(1!==e.rangeCount||e.anchorNode!==r.node||e.anchorOffset!==r.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(r.node,r.offset),e.removeAllRanges(),l>u?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var m6=$t&&"documentMode"in document&&11>=document.documentMode,uu=null,Eo=null,rr=null,Co=!1;function Js(e,t,n){var u=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Co||null==uu||uu!==Qr(u)||("selectionStart"in(u=uu)&&ko(u)?u={start:u.selectionStart,end:u.selectionEnd}:u={anchorNode:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset},rr&&ur(rr,u)||(rr=u,0<(u=w0(Eo,"onSelect")).length&&(t=new mo("onSelect","select",null,t,n),e.push({event:t,listeners:u}),t.target=uu)))}function p0(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ru={animationend:p0("Animation","AnimationEnd"),animationiteration:p0("Animation","AnimationIteration"),animationstart:p0("Animation","AnimationStart"),transitionend:p0("Transition","TransitionEnd")},So={},ec={};function h0(e){if(So[e])return So[e];if(!ru[e])return e;var n,t=ru[e];for(n in t)if(t.hasOwnProperty(n)&&n in ec)return So[e]=t[n];return e}$t&&(ec=document.createElement("div").style,"AnimationEvent"in window||(delete ru.animationend.animation,delete ru.animationiteration.animation,delete ru.animationstart.animation),"TransitionEvent"in window||delete ru.transitionend.transition);var tc=h0("animationend"),nc=h0("animationiteration"),uc=h0("animationstart"),rc=h0("transitionend"),lc=new Map,oc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function fn(e,t){lc.set(e,t),Mn(t,[e])}for(var Ao=0;Ao<oc.length;Ao++){var Do=oc[Ao];fn(Do.toLowerCase(),"on"+(Do[0].toUpperCase()+Do.slice(1)))}fn(tc,"onAnimationEnd"),fn(nc,"onAnimationIteration"),fn(uc,"onAnimationStart"),fn("dblclick","onDoubleClick"),fn("focusin","onFocus"),fn("focusout","onBlur"),fn(rc,"onTransitionEnd"),Gn("onMouseEnter",["mouseout","mouseover"]),Gn("onMouseLeave",["mouseout","mouseover"]),Gn("onPointerEnter",["pointerout","pointerover"]),Gn("onPointerLeave",["pointerout","pointerover"]),Mn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Mn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Mn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Mn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Mn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Mn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var lr="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(" "),v6=new Set("cancel close invalid load scroll toggle".split(" ").concat(lr));function ic(e,t,n){var u=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,u,r,l,o,i,a){if(mp.apply(this,arguments),qu){if(!qu)throw Error(F(198));var s=Kr;qu=!1,Kr=null,Xr||(Xr=!0,ro=s)}}(u,t,void 0,e),e.currentTarget=null}function ac(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var u=e[n],r=u.event;u=u.listeners;e:{var l=void 0;if(t)for(var o=u.length-1;0<=o;o--){var i=u[o],a=i.instance,s=i.currentTarget;if(i=i.listener,a!==l&&r.isPropagationStopped())break e;ic(r,i,s),l=a}else for(o=0;o<u.length;o++){if(a=(i=u[o]).instance,s=i.currentTarget,i=i.listener,a!==l&&r.isPropagationStopped())break e;ic(r,i,s),l=a}}}if(Xr)throw e=ro,Xr=!1,ro=null,e}function X(e,t){var n=t[Io];void 0===n&&(n=t[Io]=new Set);var u=e+"__bubble";n.has(u)||(sc(t,e,2,!1),n.add(u))}function Fo(e,t,n){var u=0;t&&(u|=4),sc(n,e,u,t)}var m0="_reactListening"+Math.random().toString(36).slice(2);function or(e){if(!e[m0]){e[m0]=!0,qa.forEach((function(n){"selectionchange"!==n&&(v6.has(n)||Fo(n,!1,e),Fo(n,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[m0]||(t[m0]=!0,Fo("selectionchange",!1,t))}}function sc(e,t,n,u){switch(Ts(t)){case 1:var r=Tp;break;case 4:r=jp;break;default:r=fo}n=r.bind(null,t,n,e),r=void 0,!uo||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(r=!0),u?void 0!==r?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):void 0!==r?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function No(e,t,n,u,r){var l=u;if(!(1&t||2&t||null===u))e:for(;;){if(null===u)return;var o=u.tag;if(3===o||4===o){var i=u.stateNode.containerInfo;if(i===r||8===i.nodeType&&i.parentNode===r)break;if(4===o)for(o=u.return;null!==o;){var a=o.tag;if((3===a||4===a)&&((a=o.stateNode.containerInfo)===r||8===a.nodeType&&a.parentNode===r))return;o=o.return}for(;null!==i;){if(null===(o=jn(i)))return;if(5===(a=o.tag)||6===a){u=l=o;continue e}i=i.parentNode}}u=u.return}hs((function(){var s=l,c=eo(n),f=[];e:{var w=lc.get(e);if(void 0!==w){var y=mo,g=e;switch(e){case"keypress":if(0===s0(n))break e;case"keydown":case"keyup":y=Gp;break;case"focusin":g="focus",y=vo;break;case"focusout":g="blur",y=vo;break;case"beforeblur":case"afterblur":y=vo;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=Os;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=Ip;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=Kp;break;case tc:case nc:case uc:y=zp;break;case rc:y=Jp;break;case"scroll":y=Lp;break;case"wheel":y=t6;break;case"copy":case"cut":case"paste":y=Bp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=Ps}var k=!!(4&t),D=!k&&"scroll"===e,v=k?null!==w?w+"Capture":null:w;k=[];for(var m,d=s;null!==d;){var x=(m=d).stateNode;if(5===m.tag&&null!==x&&(m=x,null!==v&&(null!=(x=Hu(d,v))&&k.push(ir(d,x,m)))),D)break;d=d.return}0<k.length&&(w=new y(w,g,null,n,c),f.push({event:w,listeners:k}))}}if(!(7&t)){if(y="mouseout"===e||"pointerout"===e,(!(w="mouseover"===e||"pointerover"===e)||n===Jl||!(g=n.relatedTarget||n.fromElement)||!jn(g)&&!g[Ht])&&(y||w)&&(w=c.window===c?c:(w=c.ownerDocument)?w.defaultView||w.parentWindow:window,y?(y=s,null!==(g=(g=n.relatedTarget||n.toElement)?jn(g):null)&&(g!==(D=Tn(g))||5!==g.tag&&6!==g.tag)&&(g=null)):(y=null,g=s),y!==g)){if(k=Os,x="onMouseLeave",v="onMouseEnter",d="mouse",("pointerout"===e||"pointerover"===e)&&(k=Ps,x="onPointerLeave",v="onPointerEnter",d="pointer"),D=null==y?w:iu(y),m=null==g?w:iu(g),(w=new k(x,d+"leave",y,n,c)).target=D,w.relatedTarget=m,x=null,jn(c)===s&&((k=new k(v,d+"enter",g,n,c)).target=m,k.relatedTarget=D,x=k),D=x,y&&g)t:{for(v=g,d=0,m=k=y;m;m=lu(m))d++;for(m=0,x=v;x;x=lu(x))m++;for(;0<d-m;)k=lu(k),d--;for(;0<m-d;)v=lu(v),m--;for(;d--;){if(k===v||null!==v&&k===v.alternate)break t;k=lu(k),v=lu(v)}k=null}else k=null;null!==y&&cc(f,w,y,k,!1),null!==g&&null!==D&&cc(f,D,g,k,!0)}if("select"===(y=(w=s?iu(s):window).nodeName&&w.nodeName.toLowerCase())||"input"===y&&"file"===w.type)var E=a6;else if(Us(w))if(Vs)E=d6;else{E=c6;var C=s6}else(y=w.nodeName)&&"input"===y.toLowerCase()&&("checkbox"===w.type||"radio"===w.type)&&(E=f6);switch(E&&(E=E(e,s))?qs(f,E,n,c):(C&&C(e,w,s),"focusout"===e&&(C=w._wrapperState)&&C.controlled&&"number"===w.type&&Gl(w,"number",w.value)),C=s?iu(s):window,e){case"focusin":(Us(C)||"true"===C.contentEditable)&&(uu=C,Eo=s,rr=null);break;case"focusout":rr=Eo=uu=null;break;case"mousedown":Co=!0;break;case"contextmenu":case"mouseup":case"dragend":Co=!1,Js(f,n,c);break;case"selectionchange":if(m6)break;case"keydown":case"keyup":Js(f,n,c)}var S;if(xo)e:{switch(e){case"compositionstart":var A="onCompositionStart";break e;case"compositionend":A="onCompositionEnd";break e;case"compositionupdate":A="onCompositionUpdate";break e}A=void 0}else nu?Bs(e,n)&&(A="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(A="onCompositionStart");A&&(Rs&&"ko"!==n.locale&&(nu||"onCompositionStart"!==A?"onCompositionEnd"===A&&nu&&(S=js()):(ho="value"in(cn=c)?cn.value:cn.textContent,nu=!0)),0<(C=w0(s,A)).length&&(A=new Is(A,e,null,n,c),f.push({event:A,listeners:C}),S?A.data=S:null!==(S=Hs(n))&&(A.data=S))),(S=u6?function(e,t){switch(e){case"compositionend":return Hs(t);case"keypress":return 32!==t.which?null:($s=!0,zs);case"textInput":return(e=t.data)===zs&&$s?null:e;default:return null}}(e,n):function(e,t){if(nu)return"compositionend"===e||!xo&&Bs(e,t)?(e=js(),a0=ho=cn=null,nu=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Rs&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(s=w0(s,"onBeforeInput")).length&&(c=new Is("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:s}),c.data=S))}ac(f,t)}))}function ir(e,t,n){return{instance:e,listener:t,currentTarget:n}}function w0(e,t){for(var n=t+"Capture",u=[];null!==e;){var r=e,l=r.stateNode;5===r.tag&&null!==l&&(r=l,null!=(l=Hu(e,n))&&u.unshift(ir(e,l,r)),null!=(l=Hu(e,t))&&u.push(ir(e,l,r))),e=e.return}return u}function lu(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function cc(e,t,n,u,r){for(var l=t._reactName,o=[];null!==n&&n!==u;){var i=n,a=i.alternate,s=i.stateNode;if(null!==a&&a===u)break;5===i.tag&&null!==s&&(i=s,r?null!=(a=Hu(n,l))&&o.unshift(ir(n,a,i)):r||null!=(a=Hu(n,l))&&o.push(ir(n,a,i))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var y6=/\r\n?/g,x6=/\u0000|\uFFFD/g;function fc(e){return("string"==typeof e?e:""+e).replace(y6,"\n").replace(x6,"")}function g0(e,t,n){if(t=fc(t),fc(e)!==t&&n)throw Error(F(425))}function v0(){}var Mo=null,To=null;function jo(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Lo="function"==typeof setTimeout?setTimeout:void 0,b6="function"==typeof clearTimeout?clearTimeout:void 0,dc="function"==typeof Promise?Promise:void 0,_6="function"==typeof queueMicrotask?queueMicrotask:typeof dc<"u"?function(e){return dc.resolve(null).then(e).catch(k6)}:Lo;function k6(e){setTimeout((function(){throw e}))}function Oo(e,t){var n=t,u=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===u)return e.removeChild(r),void Ku(t);u--}else"$"!==n&&"$?"!==n&&"$!"!==n||u++;n=r}while(n);Ku(t)}function dn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function pc(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var ou=Math.random().toString(36).slice(2),Dt="__reactFiber$"+ou,ar="__reactProps$"+ou,Ht="__reactContainer$"+ou,Io="__reactEvents$"+ou,E6="__reactListeners$"+ou,C6="__reactHandles$"+ou;function jn(e){var t=e[Dt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ht]||n[Dt]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=pc(e);null!==e;){if(n=e[Dt])return n;e=pc(e)}return t}n=(e=n).parentNode}return null}function sr(e){return!(e=e[Dt]||e[Ht])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function iu(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(F(33))}function y0(e){return e[ar]||null}var Po=[],au=-1;function pn(e){return{current:e}}function J(e){0>au||(e.current=Po[au],Po[au]=null,au--)}function G(e,t){au++,Po[au]=e.current,e.current=t}var hn={},Ce=pn(hn),He=pn(!1),Ln=hn;function su(e,t){var n=e.type.contextTypes;if(!n)return hn;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var l,r={};for(l in n)r[l]=t[l];return u&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=r),r}function Ue(e){return null!=(e=e.childContextTypes)}function x0(){J(He),J(Ce)}function hc(e,t,n){if(Ce.current!==hn)throw Error(F(168));G(Ce,t),G(He,n)}function mc(e,t,n){var u=e.stateNode;if(t=t.childContextTypes,"function"!=typeof u.getChildContext)return n;for(var r in u=u.getChildContext())if(!(r in t))throw Error(F(108,sp(e)||"Unknown",r));return ne({},n,u)}function b0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||hn,Ln=Ce.current,G(Ce,e),G(He,He.current),!0}function wc(e,t,n){var u=e.stateNode;if(!u)throw Error(F(169));n?(e=mc(e,t,Ln),u.__reactInternalMemoizedMergedChildContext=e,J(He),J(Ce),G(Ce,e)):J(He),G(He,n)}var Ut=null,_0=!1,Ro=!1;function gc(e){null===Ut?Ut=[e]:Ut.push(e)}function mn(){if(!Ro&&null!==Ut){Ro=!0;var e=0,t=V;try{var n=Ut;for(V=1;e<n.length;e++){var u=n[e];do{u=u(!0)}while(null!==u)}Ut=null,_0=!1}catch(r){throw null!==Ut&&(Ut=Ut.slice(e+1)),ys(lo,mn),r}finally{V=t,Ro=!1}}return null}var cu=[],fu=0,k0=null,E0=0,ot=[],it=0,On=null,qt=1,Vt="";function In(e,t){cu[fu++]=E0,cu[fu++]=k0,k0=e,E0=t}function vc(e,t,n){ot[it++]=qt,ot[it++]=Vt,ot[it++]=On,On=e;var u=qt;e=Vt;var r=32-gt(u)-1;u&=~(1<<r),n+=1;var l=32-gt(t)+r;if(30<l){var o=r-r%5;l=(u&(1<<o)-1).toString(32),u>>=o,r-=o,qt=1<<32-gt(t)+r|n<<r|u,Vt=l+e}else qt=1<<l|n<<r|u,Vt=e}function zo(e){null!==e.return&&(In(e,1),vc(e,1,0))}function $o(e){for(;e===k0;)k0=cu[--fu],cu[fu]=null,E0=cu[--fu],cu[fu]=null;for(;e===On;)On=ot[--it],ot[it]=null,Vt=ot[--it],ot[it]=null,qt=ot[--it],ot[it]=null}var et=null,tt=null,te=!1,yt=null;function yc(e,t){var n=ft(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function xc(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,et=e,tt=dn(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,et=e,tt=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==On?{id:qt,overflow:Vt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=ft(18,null,null,0)).stateNode=t,n.return=e,e.child=n,et=e,tt=null,!0);default:return!1}}function Bo(e){return!(!(1&e.mode)||128&e.flags)}function Ho(e){if(te){var t=tt;if(t){var n=t;if(!xc(e,t)){if(Bo(e))throw Error(F(418));t=dn(n.nextSibling);var u=et;t&&xc(e,t)?yc(u,n):(e.flags=-4097&e.flags|2,te=!1,et=e)}}else{if(Bo(e))throw Error(F(418));e.flags=-4097&e.flags|2,te=!1,et=e}}}function bc(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;et=e}function C0(e){if(e!==et)return!1;if(!te)return bc(e),te=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!jo(e.type,e.memoizedProps)),t&&(t=tt)){if(Bo(e))throw _c(),Error(F(418));for(;t;)yc(e,t),t=dn(t.nextSibling)}if(bc(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(F(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){tt=dn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}tt=null}}else tt=et?dn(e.stateNode.nextSibling):null;return!0}function _c(){for(var e=tt;e;)e=dn(e.nextSibling)}function du(){tt=et=null,te=!1}function Uo(e){null===yt?yt=[e]:yt.push(e)}var A6=Bt.ReactCurrentBatchConfig;function cr(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(F(309));var u=n.stateNode}if(!u)throw Error(F(147,e));var r=u,l=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===l?t.ref:((t=function(o){var i=r.refs;null===o?delete i[l]:i[l]=o})._stringRef=l,t)}if("string"!=typeof e)throw Error(F(284));if(!n._owner)throw Error(F(290,e))}return e}function S0(e,t){throw e=Object.prototype.toString.call(t),Error(F(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function kc(e){return(0,e._init)(e._payload)}function Ec(e){function t(v,d){if(e){var m=v.deletions;null===m?(v.deletions=[d],v.flags|=16):m.push(d)}}function n(v,d){if(!e)return null;for(;null!==d;)t(v,d),d=d.sibling;return null}function u(v,d){for(v=new Map;null!==d;)null!==d.key?v.set(d.key,d):v.set(d.index,d),d=d.sibling;return v}function r(v,d){return(v=kn(v,d)).index=0,v.sibling=null,v}function l(v,d,m){return v.index=m,e?null!==(m=v.alternate)?(m=m.index)<d?(v.flags|=2,d):m:(v.flags|=2,d):(v.flags|=1048576,d)}function o(v){return e&&null===v.alternate&&(v.flags|=2),v}function i(v,d,m,x){return null===d||6!==d.tag?((d=Li(m,v.mode,x)).return=v,d):((d=r(d,m)).return=v,d)}function a(v,d,m,x){var E=m.type;return E===Yn?c(v,d,m.props.children,x,m.key):null!==d&&(d.elementType===E||"object"==typeof E&&null!==E&&E.$$typeof===un&&kc(E)===d.type)?((x=r(d,m.props)).ref=cr(v,d,m),x.return=v,x):((x=Y0(m.type,m.key,m.props,null,v.mode,x)).ref=cr(v,d,m),x.return=v,x)}function s(v,d,m,x){return null===d||4!==d.tag||d.stateNode.containerInfo!==m.containerInfo||d.stateNode.implementation!==m.implementation?((d=Oi(m,v.mode,x)).return=v,d):((d=r(d,m.children||[])).return=v,d)}function c(v,d,m,x,E){return null===d||7!==d.tag?((d=qn(m,v.mode,x,E)).return=v,d):((d=r(d,m)).return=v,d)}function f(v,d,m){if("string"==typeof d&&""!==d||"number"==typeof d)return(d=Li(""+d,v.mode,m)).return=v,d;if("object"==typeof d&&null!==d){switch(d.$$typeof){case Wr:return(m=Y0(d.type,d.key,d.props,null,v.mode,m)).ref=cr(v,null,d),m.return=v,m;case Qn:return(d=Oi(d,v.mode,m)).return=v,d;case un:return f(v,(0,d._init)(d._payload),m)}if(zu(d)||Pu(d))return(d=qn(d,v.mode,m,null)).return=v,d;S0(v,d)}return null}function w(v,d,m,x){var E=null!==d?d.key:null;if("string"==typeof m&&""!==m||"number"==typeof m)return null!==E?null:i(v,d,""+m,x);if("object"==typeof m&&null!==m){switch(m.$$typeof){case Wr:return m.key===E?a(v,d,m,x):null;case Qn:return m.key===E?s(v,d,m,x):null;case un:return w(v,d,(E=m._init)(m._payload),x)}if(zu(m)||Pu(m))return null!==E?null:c(v,d,m,x,null);S0(v,m)}return null}function y(v,d,m,x,E){if("string"==typeof x&&""!==x||"number"==typeof x)return i(d,v=v.get(m)||null,""+x,E);if("object"==typeof x&&null!==x){switch(x.$$typeof){case Wr:return a(d,v=v.get(null===x.key?m:x.key)||null,x,E);case Qn:return s(d,v=v.get(null===x.key?m:x.key)||null,x,E);case un:return y(v,d,m,(0,x._init)(x._payload),E)}if(zu(x)||Pu(x))return c(d,v=v.get(m)||null,x,E,null);S0(d,x)}return null}return function D(v,d,m,x){if("object"==typeof m&&null!==m&&m.type===Yn&&null===m.key&&(m=m.props.children),"object"==typeof m&&null!==m){switch(m.$$typeof){case Wr:e:{for(var E=m.key,C=d;null!==C;){if(C.key===E){if((E=m.type)===Yn){if(7===C.tag){n(v,C.sibling),(d=r(C,m.props.children)).return=v,v=d;break e}}else if(C.elementType===E||"object"==typeof E&&null!==E&&E.$$typeof===un&&kc(E)===C.type){n(v,C.sibling),(d=r(C,m.props)).ref=cr(v,C,m),d.return=v,v=d;break e}n(v,C);break}t(v,C),C=C.sibling}m.type===Yn?((d=qn(m.props.children,v.mode,x,m.key)).return=v,v=d):((x=Y0(m.type,m.key,m.props,null,v.mode,x)).ref=cr(v,d,m),x.return=v,v=x)}return o(v);case Qn:e:{for(C=m.key;null!==d;){if(d.key===C){if(4===d.tag&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(v,d.sibling),(d=r(d,m.children||[])).return=v,v=d;break e}n(v,d);break}t(v,d),d=d.sibling}(d=Oi(m,v.mode,x)).return=v,v=d}return o(v);case un:return D(v,d,(C=m._init)(m._payload),x)}if(zu(m))return function(v,d,m,x){for(var E=null,C=null,S=d,A=d=0,P=null;null!==S&&A<m.length;A++){S.index>A?(P=S,S=null):P=S.sibling;var j=w(v,S,m[A],x);if(null===j){null===S&&(S=P);break}e&&S&&null===j.alternate&&t(v,S),d=l(j,d,A),null===C?E=j:C.sibling=j,C=j,S=P}if(A===m.length)return n(v,S),te&&In(v,A),E;if(null===S){for(;A<m.length;A++)null!==(S=f(v,m[A],x))&&(d=l(S,d,A),null===C?E=S:C.sibling=S,C=S);return te&&In(v,A),E}for(S=u(v,S);A<m.length;A++)null!==(P=y(S,v,A,m[A],x))&&(e&&null!==P.alternate&&S.delete(null===P.key?A:P.key),d=l(P,d,A),null===C?E=P:C.sibling=P,C=P);return e&&S.forEach((function(O){return t(v,O)})),te&&In(v,A),E}(v,d,m,x);if(Pu(m))return function(v,d,m,x){var E=Pu(m);if("function"!=typeof E)throw Error(F(150));if(null==(m=E.call(m)))throw Error(F(151));for(var C=E=null,S=d,A=d=0,P=null,j=m.next();null!==S&&!j.done;A++,j=m.next()){S.index>A?(P=S,S=null):P=S.sibling;var O=w(v,S,j.value,x);if(null===O){null===S&&(S=P);break}e&&S&&null===O.alternate&&t(v,S),d=l(O,d,A),null===C?E=O:C.sibling=O,C=O,S=P}if(j.done)return n(v,S),te&&In(v,A),E;if(null===S){for(;!j.done;A++,j=m.next())null!==(j=f(v,j.value,x))&&(d=l(j,d,A),null===C?E=j:C.sibling=j,C=j);return te&&In(v,A),E}for(S=u(v,S);!j.done;A++,j=m.next())null!==(j=y(S,v,A,j.value,x))&&(e&&null!==j.alternate&&S.delete(null===j.key?A:j.key),d=l(j,d,A),null===C?E=j:C.sibling=j,C=j);return e&&S.forEach((function(Z){return t(v,Z)})),te&&In(v,A),E}(v,d,m,x);S0(v,m)}return"string"==typeof m&&""!==m||"number"==typeof m?(m=""+m,null!==d&&6===d.tag?(n(v,d.sibling),(d=r(d,m)).return=v,v=d):(n(v,d),(d=Li(m,v.mode,x)).return=v,v=d),o(v)):n(v,d)}}var pu=Ec(!0),Cc=Ec(!1),A0=pn(null),D0=null,hu=null,qo=null;function Vo(){qo=hu=D0=null}function Zo(e){var t=A0.current;J(A0),e._currentValue=t}function Wo(e,t,n){for(;null!==e;){var u=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==u&&(u.childLanes|=t)):null!==u&&(u.childLanes&t)!==t&&(u.childLanes|=t),e===n)break;e=e.return}}function mu(e,t){D0=e,qo=hu=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.lanes&t&&(qe=!0),e.firstContext=null)}function at(e){var t=e._currentValue;if(qo!==e)if(e={context:e,memoizedValue:t,next:null},null===hu){if(null===D0)throw Error(F(308));hu=e,D0.dependencies={lanes:0,firstContext:e}}else hu=hu.next=e;return t}var Pn=null;function Go(e){null===Pn?Pn=[e]:Pn.push(e)}function Sc(e,t,n,u){var r=t.interleaved;return null===r?(n.next=n,Go(t)):(n.next=r.next,r.next=n),t.interleaved=n,Zt(e,u)}function Zt(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var wn=!1;function Qo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ac(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Wt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function gn(e,t,n){var u=e.updateQueue;if(null===u)return null;if(u=u.shared,2&U){var r=u.pending;return null===r?t.next=t:(t.next=r.next,r.next=t),u.pending=t,Zt(e,n)}return null===(r=u.interleaved)?(t.next=t,Go(u)):(t.next=r.next,r.next=t),u.interleaved=t,Zt(e,n)}function F0(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var u=t.lanes;n|=u&=e.pendingLanes,t.lanes=n,ao(e,n)}}function Dc(e,t){var n=e.updateQueue,u=e.alternate;if(null!==u&&n===(u=u.updateQueue)){var r=null,l=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===l?r=l=o:l=l.next=o,n=n.next}while(null!==n);null===l?r=l=t:l=l.next=t}else r=l=t;return n={baseState:u.baseState,firstBaseUpdate:r,lastBaseUpdate:l,shared:u.shared,effects:u.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function N0(e,t,n,u){var r=e.updateQueue;wn=!1;var l=r.firstBaseUpdate,o=r.lastBaseUpdate,i=r.shared.pending;if(null!==i){r.shared.pending=null;var a=i,s=a.next;a.next=null,null===o?l=s:o.next=s,o=a;var c=e.alternate;null!==c&&((i=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===i?c.firstBaseUpdate=s:i.next=s,c.lastBaseUpdate=a))}if(null!==l){var f=r.baseState;for(o=0,c=s=a=null,i=l;;){var w=i.lane,y=i.eventTime;if((u&w)===w){null!==c&&(c=c.next={eventTime:y,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var g=e,k=i;switch(w=t,y=n,k.tag){case 1:if("function"==typeof(g=k.payload)){f=g.call(y,f,w);break e}f=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(w="function"==typeof(g=k.payload)?g.call(y,f,w):g))break e;f=ne({},f,w);break e;case 2:wn=!0}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(w=r.effects)?r.effects=[i]:w.push(i))}else y={eventTime:y,lane:w,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(s=c=y,a=f):c=c.next=y,o|=w;if(null===(i=i.next)){if(null===(i=r.shared.pending))break;i=(w=i).next,w.next=null,r.lastBaseUpdate=w,r.shared.pending=null}}if(null===c&&(a=f),r.baseState=a,r.firstBaseUpdate=s,r.lastBaseUpdate=c,null!==(t=r.shared.interleaved)){r=t;do{o|=r.lane,r=r.next}while(r!==t)}else null===l&&(r.shared.lanes=0);$n|=o,e.lanes=o,e.memoizedState=f}}function Fc(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var u=e[t],r=u.callback;if(null!==r){if(u.callback=null,u=n,"function"!=typeof r)throw Error(F(191,r));r.call(u)}}}var fr={},Ft=pn(fr),dr=pn(fr),pr=pn(fr);function Rn(e){if(e===fr)throw Error(F(174));return e}function Yo(e,t){switch(G(pr,t),G(dr,e),G(Ft,fr),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Yl(null,"");break;default:t=Yl(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}J(Ft),G(Ft,t)}function wu(){J(Ft),J(dr),J(pr)}function Nc(e){Rn(pr.current);var t=Rn(Ft.current),n=Yl(t,e.type);t!==n&&(G(dr,e),G(Ft,n))}function Ko(e){dr.current===e&&(J(Ft),J(dr))}var ue=pn(0);function M0(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Xo=[];function Jo(){for(var e=0;e<Xo.length;e++)Xo[e]._workInProgressVersionPrimary=null;Xo.length=0}var T0=Bt.ReactCurrentDispatcher,ei=Bt.ReactCurrentBatchConfig,zn=0,re=null,de=null,he=null,j0=!1,hr=!1,mr=0,D6=0;function Se(){throw Error(F(321))}function ti(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!vt(e[n],t[n]))return!1;return!0}function ni(e,t,n,u,r,l){if(zn=l,re=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,T0.current=null===e||null===e.memoizedState?T6:j6,e=n(u,r),hr){l=0;do{if(hr=!1,mr=0,25<=l)throw Error(F(301));l+=1,he=de=null,t.updateQueue=null,T0.current=L6,e=n(u,r)}while(hr)}if(T0.current=I0,t=null!==de&&null!==de.next,zn=0,he=de=re=null,j0=!1,t)throw Error(F(300));return e}function ui(){var e=0!==mr;return mr=0,e}function Nt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===he?re.memoizedState=he=e:he=he.next=e,he}function st(){if(null===de){var e=re.alternate;e=null!==e?e.memoizedState:null}else e=de.next;var t=null===he?re.memoizedState:he.next;if(null!==t)he=t,de=e;else{if(null===e)throw Error(F(310));e={memoizedState:(de=e).memoizedState,baseState:de.baseState,baseQueue:de.baseQueue,queue:de.queue,next:null},null===he?re.memoizedState=he=e:he=he.next=e}return he}function wr(e,t){return"function"==typeof t?t(e):t}function ri(e){var t=st(),n=t.queue;if(null===n)throw Error(F(311));n.lastRenderedReducer=e;var u=de,r=u.baseQueue,l=n.pending;if(null!==l){if(null!==r){var o=r.next;r.next=l.next,l.next=o}u.baseQueue=r=l,n.pending=null}if(null!==r){l=r.next,u=u.baseState;var i=o=null,a=null,s=l;do{var c=s.lane;if((zn&c)===c)null!==a&&(a=a.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),u=s.hasEagerState?s.eagerState:e(u,s.action);else{var f={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};null===a?(i=a=f,o=u):a=a.next=f,re.lanes|=c,$n|=c}s=s.next}while(null!==s&&s!==l);null===a?o=u:a.next=i,vt(u,t.memoizedState)||(qe=!0),t.memoizedState=u,t.baseState=o,t.baseQueue=a,n.lastRenderedState=u}if(null!==(e=n.interleaved)){r=e;do{l=r.lane,re.lanes|=l,$n|=l,r=r.next}while(r!==e)}else null===r&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function li(e){var t=st(),n=t.queue;if(null===n)throw Error(F(311));n.lastRenderedReducer=e;var u=n.dispatch,r=n.pending,l=t.memoizedState;if(null!==r){n.pending=null;var o=r=r.next;do{l=e(l,o.action),o=o.next}while(o!==r);vt(l,t.memoizedState)||(qe=!0),t.memoizedState=l,null===t.baseQueue&&(t.baseState=l),n.lastRenderedState=l}return[l,u]}function Mc(){}function Tc(e,t){var n=re,u=st(),r=t(),l=!vt(u.memoizedState,r);if(l&&(u.memoizedState=r,qe=!0),u=u.queue,oi(Oc.bind(null,n,u,e),[e]),u.getSnapshot!==t||l||null!==he&&1&he.memoizedState.tag){if(n.flags|=2048,gr(9,Lc.bind(null,n,u,r,t),void 0,null),null===me)throw Error(F(349));30&zn||jc(n,t,r)}return r}function jc(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=re.updateQueue)?(t={lastEffect:null,stores:null},re.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Lc(e,t,n,u){t.value=n,t.getSnapshot=u,Ic(t)&&Pc(e)}function Oc(e,t,n){return n((function(){Ic(t)&&Pc(e)}))}function Ic(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!vt(e,n)}catch{return!0}}function Pc(e){var t=Zt(e,1);null!==t&&kt(t,e,1,-1)}function Rc(e){var t=Nt();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wr,lastRenderedState:e},t.queue=e,e=e.dispatch=M6.bind(null,re,e),[t.memoizedState,e]}function gr(e,t,n,u){return e={tag:e,create:t,destroy:n,deps:u,next:null},null===(t=re.updateQueue)?(t={lastEffect:null,stores:null},re.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(u=n.next,n.next=e,e.next=u,t.lastEffect=e),e}function zc(){return st().memoizedState}function L0(e,t,n,u){var r=Nt();re.flags|=e,r.memoizedState=gr(1|t,n,void 0,void 0===u?null:u)}function O0(e,t,n,u){var r=st();u=void 0===u?null:u;var l=void 0;if(null!==de){var o=de.memoizedState;if(l=o.destroy,null!==u&&ti(u,o.deps))return void(r.memoizedState=gr(t,n,l,u))}re.flags|=e,r.memoizedState=gr(1|t,n,l,u)}function $c(e,t){return L0(8390656,8,e,t)}function oi(e,t){return O0(2048,8,e,t)}function Bc(e,t){return O0(4,2,e,t)}function Hc(e,t){return O0(4,4,e,t)}function Uc(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function qc(e,t,n){return n=null!=n?n.concat([e]):null,O0(4,4,Uc.bind(null,t,e),n)}function ii(){}function Vc(e,t){var n=st();t=void 0===t?null:t;var u=n.memoizedState;return null!==u&&null!==t&&ti(t,u[1])?u[0]:(n.memoizedState=[e,t],e)}function Zc(e,t){var n=st();t=void 0===t?null:t;var u=n.memoizedState;return null!==u&&null!==t&&ti(t,u[1])?u[0]:(e=e(),n.memoizedState=[e,t],e)}function Wc(e,t,n){return 21&zn?(vt(n,t)||(n=ks(),re.lanes|=n,$n|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,qe=!0),e.memoizedState=n)}function F6(e,t){var n=V;V=0!==n&&4>n?n:4,e(!0);var u=ei.transition;ei.transition={};try{e(!1),t()}finally{V=n,ei.transition=u}}function Gc(){return st().memoizedState}function N6(e,t,n){var u=bn(e);if(n={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null},Qc(e))Yc(t,n);else if(null!==(n=Sc(e,t,n,u))){kt(n,e,u,Pe()),Kc(n,t,u)}}function M6(e,t,n){var u=bn(e),r={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qc(e))Yc(t,r);else{var l=e.alternate;if(0===e.lanes&&(null===l||0===l.lanes)&&null!==(l=t.lastRenderedReducer))try{var o=t.lastRenderedState,i=l(o,n);if(r.hasEagerState=!0,r.eagerState=i,vt(i,o)){var a=t.interleaved;return null===a?(r.next=r,Go(t)):(r.next=a.next,a.next=r),void(t.interleaved=r)}}catch{}null!==(n=Sc(e,t,r,u))&&(kt(n,e,u,r=Pe()),Kc(n,t,u))}}function Qc(e){var t=e.alternate;return e===re||null!==t&&t===re}function Yc(e,t){hr=j0=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Kc(e,t,n){if(4194240&n){var u=t.lanes;n|=u&=e.pendingLanes,t.lanes=n,ao(e,n)}}var I0={readContext:at,useCallback:Se,useContext:Se,useEffect:Se,useImperativeHandle:Se,useInsertionEffect:Se,useLayoutEffect:Se,useMemo:Se,useReducer:Se,useRef:Se,useState:Se,useDebugValue:Se,useDeferredValue:Se,useTransition:Se,useMutableSource:Se,useSyncExternalStore:Se,useId:Se,unstable_isNewReconciler:!1},T6={readContext:at,useCallback:function(e,t){return Nt().memoizedState=[e,void 0===t?null:t],e},useContext:at,useEffect:$c,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,L0(4194308,4,Uc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return L0(4194308,4,e,t)},useInsertionEffect:function(e,t){return L0(4,2,e,t)},useMemo:function(e,t){var n=Nt();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var u=Nt();return t=void 0!==n?n(t):t,u.memoizedState=u.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},u.queue=e,e=e.dispatch=N6.bind(null,re,e),[u.memoizedState,e]},useRef:function(e){return e={current:e},Nt().memoizedState=e},useState:Rc,useDebugValue:ii,useDeferredValue:function(e){return Nt().memoizedState=e},useTransition:function(){var e=Rc(!1),t=e[0];return e=F6.bind(null,e[1]),Nt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var u=re,r=Nt();if(te){if(void 0===n)throw Error(F(407));n=n()}else{if(n=t(),null===me)throw Error(F(349));30&zn||jc(u,t,n)}r.memoizedState=n;var l={value:n,getSnapshot:t};return r.queue=l,$c(Oc.bind(null,u,l,e),[e]),u.flags|=2048,gr(9,Lc.bind(null,u,l,n,t),void 0,null),n},useId:function(){var e=Nt(),t=me.identifierPrefix;if(te){var n=Vt;t=":"+t+"R"+(n=(qt&~(1<<32-gt(qt)-1)).toString(32)+n),0<(n=mr++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=D6++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},j6={readContext:at,useCallback:Vc,useContext:at,useEffect:oi,useImperativeHandle:qc,useInsertionEffect:Bc,useLayoutEffect:Hc,useMemo:Zc,useReducer:ri,useRef:zc,useState:function(){return ri(wr)},useDebugValue:ii,useDeferredValue:function(e){return Wc(st(),de.memoizedState,e)},useTransition:function(){return[ri(wr)[0],st().memoizedState]},useMutableSource:Mc,useSyncExternalStore:Tc,useId:Gc,unstable_isNewReconciler:!1},L6={readContext:at,useCallback:Vc,useContext:at,useEffect:oi,useImperativeHandle:qc,useInsertionEffect:Bc,useLayoutEffect:Hc,useMemo:Zc,useReducer:li,useRef:zc,useState:function(){return li(wr)},useDebugValue:ii,useDeferredValue:function(e){var t=st();return null===de?t.memoizedState=e:Wc(t,de.memoizedState,e)},useTransition:function(){return[li(wr)[0],st().memoizedState]},useMutableSource:Mc,useSyncExternalStore:Tc,useId:Gc,unstable_isNewReconciler:!1};function xt(e,t){if(e&&e.defaultProps){for(var n in t=ne({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function ai(e,t,n,u){n=null==(n=n(u,t=e.memoizedState))?t:ne({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var P0={isMounted:function(e){return!!(e=e._reactInternals)&&Tn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var u=Pe(),r=bn(e),l=Wt(u,r);l.payload=t,null!=n&&(l.callback=n),null!==(t=gn(e,l,r))&&(kt(t,e,r,u),F0(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var u=Pe(),r=bn(e),l=Wt(u,r);l.tag=1,l.payload=t,null!=n&&(l.callback=n),null!==(t=gn(e,l,r))&&(kt(t,e,r,u),F0(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Pe(),u=bn(e),r=Wt(n,u);r.tag=2,null!=t&&(r.callback=t),null!==(t=gn(e,r,u))&&(kt(t,e,u,n),F0(t,e,u))}};function Xc(e,t,n,u,r,l,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(u,l,o):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,u)||!ur(r,l))}function Jc(e,t,n){var u=!1,r=hn,l=t.contextType;return"object"==typeof l&&null!==l?l=at(l):(r=Ue(t)?Ln:Ce.current,l=(u=null!=(u=t.contextTypes))?su(e,r):hn),t=new t(n,l),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=P0,e.stateNode=t,t._reactInternals=e,u&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=l),t}function e1(e,t,n,u){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,u),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,u),t.state!==e&&P0.enqueueReplaceState(t,t.state,null)}function si(e,t,n,u){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},Qo(e);var l=t.contextType;"object"==typeof l&&null!==l?r.context=at(l):(l=Ue(t)?Ln:Ce.current,r.context=su(e,l)),r.state=e.memoizedState,"function"==typeof(l=t.getDerivedStateFromProps)&&(ai(e,t,l,n),r.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(t=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),t!==r.state&&P0.enqueueReplaceState(r,r.state,null),N0(e,n,r,u),r.state=e.memoizedState),"function"==typeof r.componentDidMount&&(e.flags|=4194308)}function gu(e,t){try{var n="",u=t;do{n+=ap(u),u=u.return}while(u);var r=n}catch(l){r="\nError generating stack: "+l.message+"\n"+l.stack}return{value:e,source:t,stack:r,digest:null}}function ci(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function fi(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var O6="function"==typeof WeakMap?WeakMap:Map;function t1(e,t,n){(n=Wt(-1,n)).tag=3,n.payload={element:null};var u=t.value;return n.callback=function(){q0||(q0=!0,Si=u),fi(0,t)},n}function n1(e,t,n){(n=Wt(-1,n)).tag=3;var u=e.type.getDerivedStateFromError;if("function"==typeof u){var r=t.value;n.payload=function(){return u(r)},n.callback=function(){fi(0,t)}}var l=e.stateNode;return null!==l&&"function"==typeof l.componentDidCatch&&(n.callback=function(){fi(0,t),"function"!=typeof u&&(null===yn?yn=new Set([this]):yn.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:null!==o?o:""})}),n}function u1(e,t,n){var u=e.pingCache;if(null===u){u=e.pingCache=new O6;var r=new Set;u.set(t,r)}else void 0===(r=u.get(t))&&(r=new Set,u.set(t,r));r.has(n)||(r.add(n),e=Q6.bind(null,e,t,n),t.then(e,e))}function r1(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function l1(e,t,n,u,r){return 1&e.mode?(e.flags|=65536,e.lanes=r,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Wt(-1,1)).tag=2,gn(n,t,1))),n.lanes|=1),e)}var I6=Bt.ReactCurrentOwner,qe=!1;function Ie(e,t,n,u){t.child=null===e?Cc(t,null,n,u):pu(t,e.child,n,u)}function o1(e,t,n,u,r){n=n.render;var l=t.ref;return mu(t,r),u=ni(e,t,n,u,l,r),n=ui(),null===e||qe?(te&&n&&zo(t),t.flags|=1,Ie(e,t,u,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Gt(e,t,r))}function i1(e,t,n,u,r){if(null===e){var l=n.type;return"function"!=typeof l||ji(l)||void 0!==l.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Y0(n.type,null,u,t,t.mode,r)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=l,a1(e,t,l,u,r))}if(l=e.child,!(e.lanes&r)){var o=l.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(o,u)&&e.ref===t.ref)return Gt(e,t,r)}return t.flags|=1,(e=kn(l,u)).ref=t.ref,e.return=t,t.child=e}function a1(e,t,n,u,r){if(null!==e){var l=e.memoizedProps;if(ur(l,u)&&e.ref===t.ref){if(qe=!1,t.pendingProps=u=l,!(e.lanes&r))return t.lanes=e.lanes,Gt(e,t,r);131072&e.flags&&(qe=!0)}}return di(e,t,n,u,r)}function s1(e,t,n){var u=t.pendingProps,r=u.children,l=null!==e?e.memoizedState:null;if("hidden"===u.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==l?l.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,G(yu,nt),nt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=null!==l?l.baseLanes:n,G(yu,nt),nt|=u}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},G(yu,nt),nt|=n;else null!==l?(u=l.baseLanes|n,t.memoizedState=null):u=n,G(yu,nt),nt|=u;return Ie(e,t,r,n),t.child}function c1(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function di(e,t,n,u,r){var l=Ue(n)?Ln:Ce.current;return l=su(t,l),mu(t,r),n=ni(e,t,n,u,l,r),u=ui(),null===e||qe?(te&&u&&zo(t),t.flags|=1,Ie(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Gt(e,t,r))}function f1(e,t,n,u,r){if(Ue(n)){var l=!0;b0(t)}else l=!1;if(mu(t,r),null===t.stateNode)z0(e,t),Jc(t,n,u),si(t,n,u,r),u=!0;else if(null===e){var o=t.stateNode,i=t.memoizedProps;o.props=i;var a=o.context,s=n.contextType;"object"==typeof s&&null!==s?s=at(s):s=su(t,s=Ue(n)?Ln:Ce.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;f||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==u||a!==s)&&e1(t,o,u,s),wn=!1;var w=t.memoizedState;o.state=w,N0(t,u,o,r),a=t.memoizedState,i!==u||w!==a||He.current||wn?("function"==typeof c&&(ai(t,n,c,u),a=t.memoizedState),(i=wn||Xc(t,n,i,u,w,a,s))?(f||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=u,t.memoizedState=a),o.props=u,o.state=a,o.context=s,u=i):("function"==typeof o.componentDidMount&&(t.flags|=4194308),u=!1)}else{o=t.stateNode,Ac(e,t),i=t.memoizedProps,s=t.type===t.elementType?i:xt(t.type,i),o.props=s,f=t.pendingProps,w=o.context,"object"==typeof(a=n.contextType)&&null!==a?a=at(a):a=su(t,a=Ue(n)?Ln:Ce.current);var y=n.getDerivedStateFromProps;(c="function"==typeof y||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==f||w!==a)&&e1(t,o,u,a),wn=!1,w=t.memoizedState,o.state=w,N0(t,u,o,r);var g=t.memoizedState;i!==f||w!==g||He.current||wn?("function"==typeof y&&(ai(t,n,y,u),g=t.memoizedState),(s=wn||Xc(t,n,s,u,w,g,a)||!1)?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(u,g,a),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(u,g,a)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&w===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&w===e.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=g),o.props=u,o.state=g,o.context=a,u=s):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&w===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&w===e.memoizedState||(t.flags|=1024),u=!1)}return pi(e,t,n,u,l,r)}function pi(e,t,n,u,r,l){c1(e,t);var o=!!(128&t.flags);if(!u&&!o)return r&&wc(t,n,!1),Gt(e,t,l);u=t.stateNode,I6.current=t;var i=o&&"function"!=typeof n.getDerivedStateFromError?null:u.render();return t.flags|=1,null!==e&&o?(t.child=pu(t,e.child,null,l),t.child=pu(t,null,i,l)):Ie(e,t,i,l),t.memoizedState=u.state,r&&wc(t,n,!0),t.child}function d1(e){var t=e.stateNode;t.pendingContext?hc(0,t.pendingContext,t.pendingContext!==t.context):t.context&&hc(0,t.context,!1),Yo(e,t.containerInfo)}function p1(e,t,n,u,r){return du(),Uo(r),t.flags|=256,Ie(e,t,n,u),t.child}var g1,vi,v1,y1,hi={dehydrated:null,treeContext:null,retryLane:0};function mi(e){return{baseLanes:e,cachePool:null,transitions:null}}function h1(e,t,n){var i,u=t.pendingProps,r=ue.current,l=!1,o=!!(128&t.flags);if((i=o)||(i=(null===e||null!==e.memoizedState)&&!!(2&r)),i?(l=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(r|=1),G(ue,1&r),null===e)return Ho(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=u.children,e=u.fallback,l?(u=t.mode,l=t.child,o={mode:"hidden",children:o},1&u||null===l?l=K0(o,u,0,null):(l.childLanes=0,l.pendingProps=o),e=qn(e,u,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=mi(n),t.memoizedState=hi,e):wi(t,o));if(null!==(r=e.memoizedState)&&null!==(i=r.dehydrated))return function(e,t,n,u,r,l,o){if(n)return 256&t.flags?(t.flags&=-257,u=ci(Error(F(422))),R0(e,t,o,u)):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(l=u.fallback,r=t.mode,u=K0({mode:"visible",children:u.children},r,0,null),l=qn(l,r,o,null),l.flags|=2,u.return=t,l.return=t,u.sibling=l,t.child=u,1&t.mode&&pu(t,e.child,null,o),t.child.memoizedState=mi(o),t.memoizedState=hi,l);if(!(1&t.mode))return R0(e,t,o,null);if("$!"===r.data){if(u=r.nextSibling&&r.nextSibling.dataset)var i=u.dgst;return u=i,R0(e,t,o,u=ci(l=Error(F(419)),u,void 0))}if(i=!!(o&e.childLanes),qe||i){if(null!==(u=me)){switch(o&-o){case 4:r=2;break;case 16:r=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:r=32;break;case 536870912:r=268435456;break;default:r=0}0!==(r=r&(u.suspendedLanes|o)?0:r)&&r!==l.retryLane&&(l.retryLane=r,Zt(e,r),kt(u,e,r,-1))}return Ti(),R0(e,t,o,u=ci(Error(F(421))))}return"$?"===r.data?(t.flags|=128,t.child=e.child,t=Y6.bind(null,e),r._reactRetry=t,null):(e=l.treeContext,tt=dn(r.nextSibling),et=t,te=!0,yt=null,null!==e&&(ot[it++]=qt,ot[it++]=Vt,ot[it++]=On,qt=e.id,Vt=e.overflow,On=t),t=wi(t,u.children),t.flags|=4096,t)}(e,t,o,u,i,r,n);if(l){l=u.fallback,o=t.mode,i=(r=e.child).sibling;var a={mode:"hidden",children:u.children};return 1&o||t.child===r?(u=kn(r,a)).subtreeFlags=14680064&r.subtreeFlags:((u=t.child).childLanes=0,u.pendingProps=a,t.deletions=null),null!==i?l=kn(i,l):(l=qn(l,o,n,null)).flags|=2,l.return=t,u.return=t,u.sibling=l,t.child=u,u=l,l=t.child,o=null===(o=e.child.memoizedState)?mi(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},l.memoizedState=o,l.childLanes=e.childLanes&~n,t.memoizedState=hi,u}return e=(l=e.child).sibling,u=kn(l,{mode:"visible",children:u.children}),!(1&t.mode)&&(u.lanes=n),u.return=t,u.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=u,t.memoizedState=null,u}function wi(e,t){return(t=K0({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function R0(e,t,n,u){return null!==u&&Uo(u),pu(t,e.child,null,n),(e=wi(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function m1(e,t,n){e.lanes|=t;var u=e.alternate;null!==u&&(u.lanes|=t),Wo(e.return,t,n)}function gi(e,t,n,u,r){var l=e.memoizedState;null===l?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:n,tailMode:r}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=u,l.tail=n,l.tailMode=r)}function w1(e,t,n){var u=t.pendingProps,r=u.revealOrder,l=u.tail;if(Ie(e,t,u.children,n),2&(u=ue.current))u=1&u|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&m1(e,n,t);else if(19===e.tag)m1(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}if(G(ue,u),1&t.mode)switch(r){case"forwards":for(n=t.child,r=null;null!==n;)null!==(e=n.alternate)&&null===M0(e)&&(r=n),n=n.sibling;null===(n=r)?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),gi(t,!1,r,n,l);break;case"backwards":for(n=null,r=t.child,t.child=null;null!==r;){if(null!==(e=r.alternate)&&null===M0(e)){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}gi(t,!0,n,null,l);break;case"together":gi(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function z0(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Gt(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),$n|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(F(153));if(null!==t.child){for(n=kn(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=kn(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function vr(e,t){if(!te)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var u=null;null!==n;)null!==n.alternate&&(u=n),n=n.sibling;null===u?t||null===e.tail?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Ae(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,u=0;if(t)for(var r=e.child;null!==r;)n|=r.lanes|r.childLanes,u|=14680064&r.subtreeFlags,u|=14680064&r.flags,r.return=e,r=r.sibling;else for(r=e.child;null!==r;)n|=r.lanes|r.childLanes,u|=r.subtreeFlags,u|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=u,e.childLanes=n,t}function z6(e,t,n){var u=t.pendingProps;switch($o(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ae(t),null;case 1:case 17:return Ue(t.type)&&x0(),Ae(t),null;case 3:return u=t.stateNode,wu(),J(He),J(Ce),Jo(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(null===e||null===e.child)&&(C0(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==yt&&(Fi(yt),yt=null))),vi(e,t),Ae(t),null;case 5:Ko(t);var r=Rn(pr.current);if(n=t.type,null!==e&&null!=t.stateNode)v1(e,t,n,u,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!u){if(null===t.stateNode)throw Error(F(166));return Ae(t),null}if(e=Rn(Ft.current),C0(t)){u=t.stateNode,n=t.type;var l=t.memoizedProps;switch(u[Dt]=t,u[ar]=l,e=!!(1&t.mode),n){case"dialog":X("cancel",u),X("close",u);break;case"iframe":case"object":case"embed":X("load",u);break;case"video":case"audio":for(r=0;r<lr.length;r++)X(lr[r],u);break;case"source":X("error",u);break;case"img":case"image":case"link":X("error",u),X("load",u);break;case"details":X("toggle",u);break;case"input":Ja(u,l),X("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!l.multiple},X("invalid",u);break;case"textarea":ns(u,l),X("invalid",u)}for(var o in Kl(n,l),r=null,l)if(l.hasOwnProperty(o)){var i=l[o];"children"===o?"string"==typeof i?u.textContent!==i&&(!0!==l.suppressHydrationWarning&&g0(u.textContent,i,e),r=["children",i]):"number"==typeof i&&u.textContent!==""+i&&(!0!==l.suppressHydrationWarning&&g0(u.textContent,i,e),r=["children",""+i]):Iu.hasOwnProperty(o)&&null!=i&&"onScroll"===o&&X("scroll",u)}switch(n){case"input":Gr(u),ts(u,l,!0);break;case"textarea":Gr(u),rs(u);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(u.onclick=v0)}u=r,t.updateQueue=u,null!==u&&(t.flags|=4)}else{o=9===r.nodeType?r:r.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ls(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=o.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof u.is?e=o.createElement(n,{is:u.is}):(e=o.createElement(n),"select"===n&&(o=e,u.multiple?o.multiple=!0:u.size&&(o.size=u.size))):e=o.createElementNS(e,n),e[Dt]=t,e[ar]=u,g1(e,t,!1,!1),t.stateNode=e;e:{switch(o=Xl(n,u),n){case"dialog":X("cancel",e),X("close",e),r=u;break;case"iframe":case"object":case"embed":X("load",e),r=u;break;case"video":case"audio":for(r=0;r<lr.length;r++)X(lr[r],e);r=u;break;case"source":X("error",e),r=u;break;case"img":case"image":case"link":X("error",e),X("load",e),r=u;break;case"details":X("toggle",e),r=u;break;case"input":Ja(e,u),r=Zl(e,u),X("invalid",e);break;case"option":default:r=u;break;case"select":e._wrapperState={wasMultiple:!!u.multiple},r=ne({},u,{value:void 0}),X("invalid",e);break;case"textarea":ns(e,u),r=Ql(e,u),X("invalid",e)}for(l in Kl(n,r),i=r)if(i.hasOwnProperty(l)){var a=i[l];"style"===l?as(e,a):"dangerouslySetInnerHTML"===l?null!=(a=a?a.__html:void 0)&&os(e,a):"children"===l?"string"==typeof a?("textarea"!==n||""!==a)&&$u(e,a):"number"==typeof a&&$u(e,""+a):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(Iu.hasOwnProperty(l)?null!=a&&"onScroll"===l&&X("scroll",e):null!=a&&Ol(e,l,a,o))}switch(n){case"input":Gr(e),ts(e,u,!1);break;case"textarea":Gr(e),rs(e);break;case"option":null!=u.value&&e.setAttribute("value",""+rn(u.value));break;case"select":e.multiple=!!u.multiple,null!=(l=u.value)?Kn(e,!!u.multiple,l,!1):null!=u.defaultValue&&Kn(e,!!u.multiple,u.defaultValue,!0);break;default:"function"==typeof r.onClick&&(e.onclick=v0)}switch(n){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ae(t),null;case 6:if(e&&null!=t.stateNode)y1(e,t,e.memoizedProps,u);else{if("string"!=typeof u&&null===t.stateNode)throw Error(F(166));if(n=Rn(pr.current),Rn(Ft.current),C0(t)){if(u=t.stateNode,n=t.memoizedProps,u[Dt]=t,(l=u.nodeValue!==n)&&null!==(e=et))switch(e.tag){case 3:g0(u.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&g0(u.nodeValue,n,!!(1&e.mode))}l&&(t.flags|=4)}else(u=(9===n.nodeType?n:n.ownerDocument).createTextNode(u))[Dt]=t,t.stateNode=u}return Ae(t),null;case 13:if(J(ue),u=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(te&&null!==tt&&1&t.mode&&!(128&t.flags))_c(),du(),t.flags|=98560,l=!1;else if(l=C0(t),null!==u&&null!==u.dehydrated){if(null===e){if(!l)throw Error(F(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(F(317));l[Dt]=t}else du(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ae(t),l=!1}else null!==yt&&(Fi(yt),yt=null),l=!0;if(!l)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((u=null!==u)!==(null!==e&&null!==e.memoizedState)&&u&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ue.current?0===pe&&(pe=3):Ti())),null!==t.updateQueue&&(t.flags|=4),Ae(t),null);case 4:return wu(),vi(e,t),null===e&&or(t.stateNode.containerInfo),Ae(t),null;case 10:return Zo(t.type._context),Ae(t),null;case 19:if(J(ue),null===(l=t.memoizedState))return Ae(t),null;if(u=!!(128&t.flags),null===(o=l.rendering))if(u)vr(l,!1);else{if(0!==pe||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(o=M0(e))){for(t.flags|=128,vr(l,!1),null!==(u=o.updateQueue)&&(t.updateQueue=u,t.flags|=4),t.subtreeFlags=0,u=n,n=t.child;null!==n;)e=u,(l=n).flags&=14680066,null===(o=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=o.childLanes,l.lanes=o.lanes,l.child=o.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=o.memoizedProps,l.memoizedState=o.memoizedState,l.updateQueue=o.updateQueue,l.type=o.type,e=o.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return G(ue,1&ue.current|2),t.child}e=e.sibling}null!==l.tail&&ae()>xu&&(t.flags|=128,u=!0,vr(l,!1),t.lanes=4194304)}else{if(!u)if(null!==(e=M0(o))){if(t.flags|=128,u=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),vr(l,!0),null===l.tail&&"hidden"===l.tailMode&&!o.alternate&&!te)return Ae(t),null}else 2*ae()-l.renderingStartTime>xu&&1073741824!==n&&(t.flags|=128,u=!0,vr(l,!1),t.lanes=4194304);l.isBackwards?(o.sibling=t.child,t.child=o):(null!==(n=l.last)?n.sibling=o:t.child=o,l.last=o)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=ae(),t.sibling=null,n=ue.current,G(ue,u?1&n|2:1&n),t):(Ae(t),null);case 22:case 23:return Mi(),u=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==u&&(t.flags|=8192),u&&1&t.mode?1073741824&nt&&(Ae(t),6&t.subtreeFlags&&(t.flags|=8192)):Ae(t),null;case 24:case 25:return null}throw Error(F(156,t.tag))}function $6(e,t){switch($o(t),t.tag){case 1:return Ue(t.type)&&x0(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return wu(),J(He),J(Ce),Jo(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ko(t),null;case 13:if(J(ue),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(F(340));du()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return J(ue),null;case 4:return wu(),null;case 10:return Zo(t.type._context),null;case 22:case 23:return Mi(),null;default:return null}}g1=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},vi=function(){},v1=function(e,t,n,u){var r=e.memoizedProps;if(r!==u){e=t.stateNode,Rn(Ft.current);var o,l=null;switch(n){case"input":r=Zl(e,r),u=Zl(e,u),l=[];break;case"select":r=ne({},r,{value:void 0}),u=ne({},u,{value:void 0}),l=[];break;case"textarea":r=Ql(e,r),u=Ql(e,u),l=[];break;default:"function"!=typeof r.onClick&&"function"==typeof u.onClick&&(e.onclick=v0)}for(s in Kl(n,u),n=null,r)if(!u.hasOwnProperty(s)&&r.hasOwnProperty(s)&&null!=r[s])if("style"===s){var i=r[s];for(o in i)i.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(Iu.hasOwnProperty(s)?l||(l=[]):(l=l||[]).push(s,null));for(s in u){var a=u[s];if(i=null!=r?r[s]:void 0,u.hasOwnProperty(s)&&a!==i&&(null!=a||null!=i))if("style"===s)if(i){for(o in i)!i.hasOwnProperty(o)||a&&a.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in a)a.hasOwnProperty(o)&&i[o]!==a[o]&&(n||(n={}),n[o]=a[o])}else n||(l||(l=[]),l.push(s,n)),n=a;else"dangerouslySetInnerHTML"===s?(a=a?a.__html:void 0,i=i?i.__html:void 0,null!=a&&i!==a&&(l=l||[]).push(s,a)):"children"===s?"string"!=typeof a&&"number"!=typeof a||(l=l||[]).push(s,""+a):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(Iu.hasOwnProperty(s)?(null!=a&&"onScroll"===s&&X("scroll",e),l||i===a||(l=[])):(l=l||[]).push(s,a))}n&&(l=l||[]).push("style",n);var s=l;(t.updateQueue=s)&&(t.flags|=4)}},y1=function(e,t,n,u){n!==u&&(t.flags|=4)};var $0=!1,De=!1,B6="function"==typeof WeakSet?WeakSet:Set,T=null;function vu(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(u){ie(e,t,u)}else n.current=null}function yi(e,t,n){try{n()}catch(u){ie(e,t,u)}}var x1=!1;function yr(e,t,n){var u=t.updateQueue;if(null!==(u=null!==u?u.lastEffect:null)){var r=u=u.next;do{if((r.tag&e)===e){var l=r.destroy;r.destroy=void 0,void 0!==l&&yi(t,n,l)}r=r.next}while(r!==u)}}function B0(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var u=n.create;n.destroy=u()}n=n.next}while(n!==t)}}function xi(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function b1(e){var t=e.alternate;null!==t&&(e.alternate=null,b1(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[Dt],delete t[ar],delete t[Io],delete t[E6],delete t[C6])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function _1(e){return 5===e.tag||3===e.tag||4===e.tag}function k1(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||_1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function bi(e,t,n){var u=e.tag;if(5===u||6===u)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=v0));else if(4!==u&&null!==(e=e.child))for(bi(e,t,n),e=e.sibling;null!==e;)bi(e,t,n),e=e.sibling}function _i(e,t,n){var u=e.tag;if(5===u||6===u)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==u&&null!==(e=e.child))for(_i(e,t,n),e=e.sibling;null!==e;)_i(e,t,n),e=e.sibling}var be=null,bt=!1;function vn(e,t,n){for(n=n.child;null!==n;)E1(e,t,n),n=n.sibling}function E1(e,t,n){if(At&&"function"==typeof At.onCommitFiberUnmount)try{At.onCommitFiberUnmount(e0,n)}catch{}switch(n.tag){case 5:De||vu(n,t);case 6:var u=be,r=bt;be=null,vn(e,t,n),bt=r,null!==(be=u)&&(bt?(e=be,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):be.removeChild(n.stateNode));break;case 18:null!==be&&(bt?(e=be,n=n.stateNode,8===e.nodeType?Oo(e.parentNode,n):1===e.nodeType&&Oo(e,n),Ku(e)):Oo(be,n.stateNode));break;case 4:u=be,r=bt,be=n.stateNode.containerInfo,bt=!0,vn(e,t,n),be=u,bt=r;break;case 0:case 11:case 14:case 15:if(!De&&(null!==(u=n.updateQueue)&&null!==(u=u.lastEffect))){r=u=u.next;do{var l=r,o=l.destroy;l=l.tag,void 0!==o&&(2&l||4&l)&&yi(n,t,o),r=r.next}while(r!==u)}vn(e,t,n);break;case 1:if(!De&&(vu(n,t),"function"==typeof(u=n.stateNode).componentWillUnmount))try{u.props=n.memoizedProps,u.state=n.memoizedState,u.componentWillUnmount()}catch(i){ie(n,t,i)}vn(e,t,n);break;case 21:vn(e,t,n);break;case 22:1&n.mode?(De=(u=De)||null!==n.memoizedState,vn(e,t,n),De=u):vn(e,t,n);break;default:vn(e,t,n)}}function C1(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new B6),t.forEach((function(u){var r=K6.bind(null,e,u);n.has(u)||(n.add(u),u.then(r,r))}))}}function _t(e,t){var n=t.deletions;if(null!==n)for(var u=0;u<n.length;u++){var r=n[u];try{var l=e,o=t,i=o;e:for(;null!==i;){switch(i.tag){case 5:be=i.stateNode,bt=!1;break e;case 3:case 4:be=i.stateNode.containerInfo,bt=!0;break e}i=i.return}if(null===be)throw Error(F(160));E1(l,o,r),be=null,bt=!1;var a=r.alternate;null!==a&&(a.return=null),r.return=null}catch(s){ie(r,t,s)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)S1(t,e),t=t.sibling}function S1(e,t){var n=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(_t(t,e),Mt(e),4&u){try{yr(3,e,e.return),B0(3,e)}catch(k){ie(e,e.return,k)}try{yr(5,e,e.return)}catch(k){ie(e,e.return,k)}}break;case 1:_t(t,e),Mt(e),512&u&&null!==n&&vu(n,n.return);break;case 5:if(_t(t,e),Mt(e),512&u&&null!==n&&vu(n,n.return),32&e.flags){var r=e.stateNode;try{$u(r,"")}catch(k){ie(e,e.return,k)}}if(4&u&&null!=(r=e.stateNode)){var l=e.memoizedProps,o=null!==n?n.memoizedProps:l,i=e.type,a=e.updateQueue;if(e.updateQueue=null,null!==a)try{"input"===i&&"radio"===l.type&&null!=l.name&&es(r,l),Xl(i,o);var s=Xl(i,l);for(o=0;o<a.length;o+=2){var c=a[o],f=a[o+1];"style"===c?as(r,f):"dangerouslySetInnerHTML"===c?os(r,f):"children"===c?$u(r,f):Ol(r,c,f,s)}switch(i){case"input":Wl(r,l);break;case"textarea":us(r,l);break;case"select":var w=r._wrapperState.wasMultiple;r._wrapperState.wasMultiple=!!l.multiple;var y=l.value;null!=y?Kn(r,!!l.multiple,y,!1):w!==!!l.multiple&&(null!=l.defaultValue?Kn(r,!!l.multiple,l.defaultValue,!0):Kn(r,!!l.multiple,l.multiple?[]:"",!1))}r[ar]=l}catch(k){ie(e,e.return,k)}}break;case 6:if(_t(t,e),Mt(e),4&u){if(null===e.stateNode)throw Error(F(162));r=e.stateNode,l=e.memoizedProps;try{r.nodeValue=l}catch(k){ie(e,e.return,k)}}break;case 3:if(_t(t,e),Mt(e),4&u&&null!==n&&n.memoizedState.isDehydrated)try{Ku(t.containerInfo)}catch(k){ie(e,e.return,k)}break;case 4:default:_t(t,e),Mt(e);break;case 13:_t(t,e),Mt(e),8192&(r=e.child).flags&&(l=null!==r.memoizedState,r.stateNode.isHidden=l,!l||null!==r.alternate&&null!==r.alternate.memoizedState||(Ci=ae())),4&u&&C1(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(De=(s=De)||c,_t(t,e),De=s):_t(t,e),Mt(e),8192&u){if(s=null!==e.memoizedState,(e.stateNode.isHidden=s)&&!c&&1&e.mode)for(T=e,c=e.child;null!==c;){for(f=T=c;null!==T;){switch(y=(w=T).child,w.tag){case 0:case 11:case 14:case 15:yr(4,w,w.return);break;case 1:vu(w,w.return);var g=w.stateNode;if("function"==typeof g.componentWillUnmount){u=w,n=w.return;try{t=u,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(k){ie(u,n,k)}}break;case 5:vu(w,w.return);break;case 22:if(null!==w.memoizedState){F1(f);continue}}null!==y?(y.return=w,T=y):F1(f)}c=c.sibling}e:for(c=null,f=e;;){if(5===f.tag){if(null===c){c=f;try{r=f.stateNode,s?"function"==typeof(l=r.style).setProperty?l.setProperty("display","none","important"):l.display="none":(i=f.stateNode,o=null!=(a=f.memoizedProps.style)&&a.hasOwnProperty("display")?a.display:null,i.style.display=is("display",o))}catch(k){ie(e,e.return,k)}}}else if(6===f.tag){if(null===c)try{f.stateNode.nodeValue=s?"":f.memoizedProps}catch(k){ie(e,e.return,k)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:_t(t,e),Mt(e),4&u&&C1(e);case 21:}}function Mt(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(_1(n)){var u=n;break e}n=n.return}throw Error(F(160))}switch(u.tag){case 5:var r=u.stateNode;32&u.flags&&($u(r,""),u.flags&=-33),_i(e,k1(e),r);break;case 3:case 4:var o=u.stateNode.containerInfo;bi(e,k1(e),o);break;default:throw Error(F(161))}}catch(a){ie(e,e.return,a)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function U6(e,t,n){T=e,A1(e)}function A1(e,t,n){for(var u=!!(1&e.mode);null!==T;){var r=T,l=r.child;if(22===r.tag&&u){var o=null!==r.memoizedState||$0;if(!o){var i=r.alternate,a=null!==i&&null!==i.memoizedState||De;i=$0;var s=De;if($0=o,(De=a)&&!s)for(T=r;null!==T;)a=(o=T).child,22===o.tag&&null!==o.memoizedState?N1(r):null!==a?(a.return=o,T=a):N1(r);for(;null!==l;)T=l,A1(l),l=l.sibling;T=r,$0=i,De=s}D1(e)}else 8772&r.subtreeFlags&&null!==l?(l.return=r,T=l):D1(e)}}function D1(e){for(;null!==T;){var t=T;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:De||B0(5,t);break;case 1:var u=t.stateNode;if(4&t.flags&&!De)if(null===n)u.componentDidMount();else{var r=t.elementType===t.type?n.memoizedProps:xt(t.type,n.memoizedProps);u.componentDidUpdate(r,n.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var l=t.updateQueue;null!==l&&Fc(t,l,u);break;case 3:var o=t.updateQueue;if(null!==o){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Fc(t,o,n)}break;case 5:var i=t.stateNode;if(null===n&&4&t.flags){n=i;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var s=t.alternate;if(null!==s){var c=s.memoizedState;if(null!==c){var f=c.dehydrated;null!==f&&Ku(f)}}}break;default:throw Error(F(163))}De||512&t.flags&&xi(t)}catch(w){ie(t,t.return,w)}}if(t===e){T=null;break}if(null!==(n=t.sibling)){n.return=t.return,T=n;break}T=t.return}}function F1(e){for(;null!==T;){var t=T;if(t===e){T=null;break}var n=t.sibling;if(null!==n){n.return=t.return,T=n;break}T=t.return}}function N1(e){for(;null!==T;){var t=T;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{B0(4,t)}catch(a){ie(t,n,a)}break;case 1:var u=t.stateNode;if("function"==typeof u.componentDidMount){var r=t.return;try{u.componentDidMount()}catch(a){ie(t,r,a)}}var l=t.return;try{xi(t)}catch(a){ie(t,l,a)}break;case 5:var o=t.return;try{xi(t)}catch(a){ie(t,o,a)}}}catch(a){ie(t,t.return,a)}if(t===e){T=null;break}var i=t.sibling;if(null!==i){i.return=t.return,T=i;break}T=t.return}}var z1,q6=Math.ceil,H0=Bt.ReactCurrentDispatcher,ki=Bt.ReactCurrentOwner,ct=Bt.ReactCurrentBatchConfig,U=0,me=null,fe=null,_e=0,nt=0,yu=pn(0),pe=0,xr=null,$n=0,U0=0,Ei=0,br=null,Ve=null,Ci=0,xu=1/0,Qt=null,q0=!1,Si=null,yn=null,V0=!1,xn=null,Z0=0,_r=0,Ai=null,W0=-1,G0=0;function Pe(){return 6&U?ae():-1!==W0?W0:W0=ae()}function bn(e){return 1&e.mode?2&U&&0!==_e?_e&-_e:null!==A6.transition?(0===G0&&(G0=ks()),G0):(0!==(e=V)||(e=void 0===(e=window.event)?16:Ts(e.type)),e):1}function kt(e,t,n,u){if(50<_r)throw _r=0,Ai=null,Error(F(185));Zu(e,n,u),(!(2&U)||e!==me)&&(e===me&&(!(2&U)&&(U0|=n),4===pe&&_n(e,_e)),Ze(e,u),1===n&&0===U&&!(1&t.mode)&&(xu=ae()+500,_0&&mn()))}function Ze(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,u=e.pingedLanes,r=e.expirationTimes,l=e.pendingLanes;0<l;){var o=31-gt(l),i=1<<o,a=r[o];-1===a?(!(i&n)||i&u)&&(r[o]=Sp(i,t)):a<=t&&(e.expiredLanes|=i),l&=~i}}(e,t);var u=u0(e,e===me?_e:0);if(0===u)null!==n&&xs(n),e.callbackNode=null,e.callbackPriority=0;else if(t=u&-u,e.callbackPriority!==t){if(null!=n&&xs(n),1===t)0===e.tag?function(e){_0=!0,gc(e)}(T1.bind(null,e)):gc(T1.bind(null,e)),_6((function(){!(6&U)&&mn()})),n=null;else{switch(Es(u)){case 1:n=lo;break;case 4:n=bs;break;case 16:default:n=Jr;break;case 536870912:n=_s}n=$1(n,M1.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function M1(e,t){if(W0=-1,G0=0,6&U)throw Error(F(327));var n=e.callbackNode;if(bu()&&e.callbackNode!==n)return null;var u=u0(e,e===me?_e:0);if(0===u)return null;if(30&u||u&e.expiredLanes||t)t=Q0(e,u);else{t=u;var r=U;U|=2;var l=L1();for((me!==e||_e!==t)&&(Qt=null,xu=ae()+500,Hn(e,t));;)try{W6();break}catch(i){j1(e,i)}Vo(),H0.current=l,U=r,null!==fe?t=0:(me=null,_e=0,t=pe)}if(0!==t){if(2===t&&(0!==(r=oo(e))&&(u=r,t=Di(e,r))),1===t)throw n=xr,Hn(e,0),_n(e,u),Ze(e,ae()),n;if(6===t)_n(e,u);else{if(r=e.current.alternate,!(30&u||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var u=0;u<n.length;u++){var r=n[u],l=r.getSnapshot;r=r.value;try{if(!vt(l(),r))return!1}catch{return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(r)||(t=Q0(e,u),2===t&&(l=oo(e),0!==l&&(u=l,t=Di(e,l))),1!==t)))throw n=xr,Hn(e,0),_n(e,u),Ze(e,ae()),n;switch(e.finishedWork=r,e.finishedLanes=u,t){case 0:case 1:throw Error(F(345));case 2:case 5:Un(e,Ve,Qt);break;case 3:if(_n(e,u),(130023424&u)===u&&10<(t=Ci+500-ae())){if(0!==u0(e,0))break;if(((r=e.suspendedLanes)&u)!==u){Pe(),e.pingedLanes|=e.suspendedLanes&r;break}e.timeoutHandle=Lo(Un.bind(null,e,Ve,Qt),t);break}Un(e,Ve,Qt);break;case 4:if(_n(e,u),(4194240&u)===u)break;for(t=e.eventTimes,r=-1;0<u;){var o=31-gt(u);l=1<<o,(o=t[o])>r&&(r=o),u&=~l}if(u=r,10<(u=(120>(u=ae()-u)?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*q6(u/1960))-u)){e.timeoutHandle=Lo(Un.bind(null,e,Ve,Qt),u);break}Un(e,Ve,Qt);break;default:throw Error(F(329))}}}return Ze(e,ae()),e.callbackNode===n?M1.bind(null,e):null}function Di(e,t){var n=br;return e.current.memoizedState.isDehydrated&&(Hn(e,t).flags|=256),2!==(e=Q0(e,t))&&(t=Ve,Ve=n,null!==t&&Fi(t)),e}function Fi(e){null===Ve?Ve=e:Ve.push.apply(Ve,e)}function _n(e,t){for(t&=~Ei,t&=~U0,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-gt(t),u=1<<n;e[n]=-1,t&=~u}}function T1(e){if(6&U)throw Error(F(327));bu();var t=u0(e,0);if(!(1&t))return Ze(e,ae()),null;var n=Q0(e,t);if(0!==e.tag&&2===n){var u=oo(e);0!==u&&(t=u,n=Di(e,u))}if(1===n)throw n=xr,Hn(e,0),_n(e,t),Ze(e,ae()),n;if(6===n)throw Error(F(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Un(e,Ve,Qt),Ze(e,ae()),null}function Ni(e,t){var n=U;U|=1;try{return e(t)}finally{0===(U=n)&&(xu=ae()+500,_0&&mn())}}function Bn(e){null!==xn&&0===xn.tag&&!(6&U)&&bu();var t=U;U|=1;var n=ct.transition,u=V;try{if(ct.transition=null,V=1,e)return e()}finally{V=u,ct.transition=n,!(6&(U=t))&&mn()}}function Mi(){nt=yu.current,J(yu)}function Hn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,b6(n)),null!==fe)for(n=fe.return;null!==n;){var u=n;switch($o(u),u.tag){case 1:null!=(u=u.type.childContextTypes)&&x0();break;case 3:wu(),J(He),J(Ce),Jo();break;case 5:Ko(u);break;case 4:wu();break;case 13:case 19:J(ue);break;case 10:Zo(u.type._context);break;case 22:case 23:Mi()}n=n.return}if(me=e,fe=e=kn(e.current,null),_e=nt=t,pe=0,xr=null,Ei=U0=$n=0,Ve=br=null,null!==Pn){for(t=0;t<Pn.length;t++)if(null!==(u=(n=Pn[t]).interleaved)){n.interleaved=null;var r=u.next,l=n.pending;if(null!==l){var o=l.next;l.next=r,u.next=o}n.pending=u}Pn=null}return e}function j1(e,t){for(;;){var n=fe;try{if(Vo(),T0.current=I0,j0){for(var u=re.memoizedState;null!==u;){var r=u.queue;null!==r&&(r.pending=null),u=u.next}j0=!1}if(zn=0,he=de=re=null,hr=!1,mr=0,ki.current=null,null===n||null===n.return){pe=1,xr=t,fe=null;break}e:{var l=e,o=n.return,i=n,a=t;if(t=_e,i.flags|=32768,null!==a&&"object"==typeof a&&"function"==typeof a.then){var s=a,c=i,f=c.tag;if(!(1&c.mode||0!==f&&11!==f&&15!==f)){var w=c.alternate;w?(c.updateQueue=w.updateQueue,c.memoizedState=w.memoizedState,c.lanes=w.lanes):(c.updateQueue=null,c.memoizedState=null)}var y=r1(o);if(null!==y){y.flags&=-257,l1(y,o,i,0,t),1&y.mode&&u1(l,s,t),a=s;var g=(t=y).updateQueue;if(null===g){var k=new Set;k.add(a),t.updateQueue=k}else g.add(a);break e}if(!(1&t)){u1(l,s,t),Ti();break e}a=Error(F(426))}else if(te&&1&i.mode){var D=r1(o);if(null!==D){!(65536&D.flags)&&(D.flags|=256),l1(D,o,i,0,t),Uo(gu(a,i));break e}}l=a=gu(a,i),4!==pe&&(pe=2),null===br?br=[l]:br.push(l),l=o;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t,Dc(l,t1(0,a,t));break e;case 1:i=a;var d=l.type,m=l.stateNode;if(!(128&l.flags||"function"!=typeof d.getDerivedStateFromError&&(null===m||"function"!=typeof m.componentDidCatch||null!==yn&&yn.has(m)))){l.flags|=65536,t&=-t,l.lanes|=t,Dc(l,n1(l,i,t));break e}}l=l.return}while(null!==l)}I1(n)}catch(E){t=E,fe===n&&null!==n&&(fe=n=n.return);continue}break}}function L1(){var e=H0.current;return H0.current=I0,null===e?I0:e}function Ti(){(0===pe||3===pe||2===pe)&&(pe=4),null===me||!(268435455&$n)&&!(268435455&U0)||_n(me,_e)}function Q0(e,t){var n=U;U|=2;var u=L1();for((me!==e||_e!==t)&&(Qt=null,Hn(e,t));;)try{Z6();break}catch(r){j1(e,r)}if(Vo(),U=n,H0.current=u,null!==fe)throw Error(F(261));return me=null,_e=0,pe}function Z6(){for(;null!==fe;)O1(fe)}function W6(){for(;null!==fe&&!vp();)O1(fe)}function O1(e){var t=z1(e.alternate,e,nt);e.memoizedProps=e.pendingProps,null===t?I1(e):fe=t,ki.current=null}function I1(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=$6(n,t)))return n.flags&=32767,void(fe=n);if(null===e)return pe=6,void(fe=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=z6(n,t,nt)))return void(fe=n);if(null!==(t=t.sibling))return void(fe=t);fe=t=e}while(null!==t);0===pe&&(pe=5)}function Un(e,t,n){var u=V,r=ct.transition;try{ct.transition=null,V=1,function(e,t,n,u){do{bu()}while(null!==xn);if(6&U)throw Error(F(327));n=e.finishedWork;var r=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(F(177));e.callbackNode=null,e.callbackPriority=0;var l=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var u=e.eventTimes;for(e=e.expirationTimes;0<n;){var r=31-gt(n),l=1<<r;t[r]=0,u[r]=-1,e[r]=-1,n&=~l}}(e,l),e===me&&(fe=me=null,_e=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||V0||(V0=!0,$1(Jr,(function(){return bu(),null}))),l=!!(15990&n.flags),15990&n.subtreeFlags||l){l=ct.transition,ct.transition=null;var o=V;V=1;var i=U;U|=4,ki.current=null,function(e,t){if(Mo=o0,ko(e=Xs())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var u=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(u&&0!==u.rangeCount){n=u.anchorNode;var r=u.anchorOffset,l=u.focusNode;u=u.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var o=0,i=-1,a=-1,s=0,c=0,f=e,w=null;t:for(;;){for(var y;f!==n||0!==r&&3!==f.nodeType||(i=o+r),f!==l||0!==u&&3!==f.nodeType||(a=o+u),3===f.nodeType&&(o+=f.nodeValue.length),null!==(y=f.firstChild);)w=f,f=y;for(;;){if(f===e)break t;if(w===n&&++s===r&&(i=o),w===l&&++c===u&&(a=o),null!==(y=f.nextSibling))break;w=(f=w).parentNode}f=y}n=-1===i||-1===a?null:{start:i,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(To={focusedElem:e,selectionRange:n},o0=!1,T=t;null!==T;)if(e=(t=T).child,1028&t.subtreeFlags&&null!==e)e.return=t,T=e;else for(;null!==T;){t=T;try{var g=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var k=g.memoizedProps,D=g.memoizedState,v=t.stateNode,d=v.getSnapshotBeforeUpdate(t.elementType===t.type?k:xt(t.type,k),D);v.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;1===m.nodeType?m.textContent="":9===m.nodeType&&m.documentElement&&m.removeChild(m.documentElement);break;default:throw Error(F(163))}}catch(x){ie(t,t.return,x)}if(null!==(e=t.sibling)){e.return=t.return,T=e;break}T=t.return}g=x1,x1=!1}(e,n),S1(n,e),h6(To),o0=!!Mo,To=Mo=null,e.current=n,U6(n),yp(),U=i,V=o,ct.transition=l}else e.current=n;if(V0&&(V0=!1,xn=e,Z0=r),l=e.pendingLanes,0===l&&(yn=null),function(e){if(At&&"function"==typeof At.onCommitFiberRoot)try{At.onCommitFiberRoot(e0,e,void 0,!(128&~e.current.flags))}catch{}}(n.stateNode),Ze(e,ae()),null!==t)for(u=e.onRecoverableError,n=0;n<t.length;n++)r=t[n],u(r.value,{componentStack:r.stack,digest:r.digest});if(q0)throw q0=!1,e=Si,Si=null,e;1&Z0&&0!==e.tag&&bu(),l=e.pendingLanes,1&l?e===Ai?_r++:(_r=0,Ai=e):_r=0,mn()}(e,t,n,u)}finally{ct.transition=r,V=u}return null}function bu(){if(null!==xn){var e=Es(Z0),t=ct.transition,n=V;try{if(ct.transition=null,V=16>e?16:e,null===xn)var u=!1;else{if(e=xn,xn=null,Z0=0,6&U)throw Error(F(331));var r=U;for(U|=4,T=e.current;null!==T;){var l=T,o=l.child;if(16&T.flags){var i=l.deletions;if(null!==i){for(var a=0;a<i.length;a++){var s=i[a];for(T=s;null!==T;){var c=T;switch(c.tag){case 0:case 11:case 15:yr(8,c,l)}var f=c.child;if(null!==f)f.return=c,T=f;else for(;null!==T;){var w=(c=T).sibling,y=c.return;if(b1(c),c===s){T=null;break}if(null!==w){w.return=y,T=w;break}T=y}}}var g=l.alternate;if(null!==g){var k=g.child;if(null!==k){g.child=null;do{var D=k.sibling;k.sibling=null,k=D}while(null!==k)}}T=l}}if(2064&l.subtreeFlags&&null!==o)o.return=l,T=o;else e:for(;null!==T;){if(2048&(l=T).flags)switch(l.tag){case 0:case 11:case 15:yr(9,l,l.return)}var v=l.sibling;if(null!==v){v.return=l.return,T=v;break e}T=l.return}}var d=e.current;for(T=d;null!==T;){var m=(o=T).child;if(2064&o.subtreeFlags&&null!==m)m.return=o,T=m;else e:for(o=d;null!==T;){if(2048&(i=T).flags)try{switch(i.tag){case 0:case 11:case 15:B0(9,i)}}catch(E){ie(i,i.return,E)}if(i===o){T=null;break e}var x=i.sibling;if(null!==x){x.return=i.return,T=x;break e}T=i.return}}if(U=r,mn(),At&&"function"==typeof At.onPostCommitFiberRoot)try{At.onPostCommitFiberRoot(e0,e)}catch{}u=!0}return u}finally{V=n,ct.transition=t}}return!1}function P1(e,t,n){e=gn(e,t=t1(0,t=gu(n,t),1),1),t=Pe(),null!==e&&(Zu(e,1,t),Ze(e,t))}function ie(e,t,n){if(3===e.tag)P1(e,e,n);else for(;null!==t;){if(3===t.tag){P1(t,e,n);break}if(1===t.tag){var u=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof u.componentDidCatch&&(null===yn||!yn.has(u))){t=gn(t,e=n1(t,e=gu(n,e),1),1),e=Pe(),null!==t&&(Zu(t,1,e),Ze(t,e));break}}t=t.return}}function Q6(e,t,n){var u=e.pingCache;null!==u&&u.delete(t),t=Pe(),e.pingedLanes|=e.suspendedLanes&n,me===e&&(_e&n)===n&&(4===pe||3===pe&&(130023424&_e)===_e&&500>ae()-Ci?Hn(e,0):Ei|=n),Ze(e,t)}function R1(e,t){0===t&&(1&e.mode?(t=n0,!(130023424&(n0<<=1))&&(n0=4194304)):t=1);var n=Pe();null!==(e=Zt(e,t))&&(Zu(e,t,n),Ze(e,n))}function Y6(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),R1(e,n)}function K6(e,t){var n=0;switch(e.tag){case 13:var u=e.stateNode,r=e.memoizedState;null!==r&&(n=r.retryLane);break;case 19:u=e.stateNode;break;default:throw Error(F(314))}null!==u&&u.delete(t),R1(e,n)}function $1(e,t){return ys(e,t)}function X6(e,t,n,u){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ft(e,t,n,u){return new X6(e,t,n,u)}function ji(e){return!(!(e=e.prototype)||!e.isReactComponent)}function kn(e,t){var n=e.alternate;return null===n?((n=ft(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Y0(e,t,n,u,r,l){var o=2;if(u=e,"function"==typeof e)ji(e)&&(o=1);else if("string"==typeof e)o=5;else e:switch(e){case Yn:return qn(n.children,r,l,t);case Il:o=8,r|=8;break;case Pl:return(e=ft(12,n,t,2|r)).elementType=Pl,e.lanes=l,e;case zl:return(e=ft(13,n,t,r)).elementType=zl,e.lanes=l,e;case $l:return(e=ft(19,n,t,r)).elementType=$l,e.lanes=l,e;case Qa:return K0(n,r,l,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Wa:o=10;break e;case Ga:o=9;break e;case Rl:o=11;break e;case Bl:o=14;break e;case un:o=16,u=null;break e}throw Error(F(130,null==e?e:typeof e,""))}return(t=ft(o,n,t,r)).elementType=e,t.type=u,t.lanes=l,t}function qn(e,t,n,u){return(e=ft(7,e,u,t)).lanes=n,e}function K0(e,t,n,u){return(e=ft(22,e,u,t)).elementType=Qa,e.lanes=n,e.stateNode={isHidden:!1},e}function Li(e,t,n){return(e=ft(6,e,null,t)).lanes=n,e}function Oi(e,t,n){return(t=ft(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function e3(e,t,n,u,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=io(0),this.expirationTimes=io(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=io(0),this.identifierPrefix=u,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function Ii(e,t,n,u,r,l,o,i,a){return e=new e3(e,t,n,i,a),1===t?(t=1,!0===l&&(t|=8)):t=0,l=ft(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:u,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Qo(l),e}function B1(e){if(!e)return hn;e:{if(Tn(e=e._reactInternals)!==e||1!==e.tag)throw Error(F(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ue(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(F(171))}if(1===e.tag){var n=e.type;if(Ue(n))return mc(e,n,t)}return t}function H1(e,t,n,u,r,l,o,i,a){return(e=Ii(n,u,!0,e,0,l,0,i,a)).context=B1(null),n=e.current,(l=Wt(u=Pe(),r=bn(n))).callback=t??null,gn(n,l,r),e.current.lanes=r,Zu(e,r,u),Ze(e,u),e}function X0(e,t,n,u){var r=t.current,l=Pe(),o=bn(r);return n=B1(n),null===t.context?t.context=n:t.pendingContext=n,(t=Wt(l,o)).payload={element:e},null!==(u=void 0===u?null:u)&&(t.callback=u),null!==(e=gn(r,t,o))&&(kt(e,r,o,l),F0(e,r,o)),o}function J0(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function U1(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Pi(e,t){U1(e,t),(e=e.alternate)&&U1(e,t)}z1=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||He.current)qe=!0;else{if(!(e.lanes&n||128&t.flags))return qe=!1,function(e,t,n){switch(t.tag){case 3:d1(t),du();break;case 5:Nc(t);break;case 1:Ue(t.type)&&b0(t);break;case 4:Yo(t,t.stateNode.containerInfo);break;case 10:var u=t.type._context,r=t.memoizedProps.value;G(A0,u._currentValue),u._currentValue=r;break;case 13:if(null!==(u=t.memoizedState))return null!==u.dehydrated?(G(ue,1&ue.current),t.flags|=128,null):n&t.child.childLanes?h1(e,t,n):(G(ue,1&ue.current),null!==(e=Gt(e,t,n))?e.sibling:null);G(ue,1&ue.current);break;case 19:if(u=!!(n&t.childLanes),128&e.flags){if(u)return w1(e,t,n);t.flags|=128}if(null!==(r=t.memoizedState)&&(r.rendering=null,r.tail=null,r.lastEffect=null),G(ue,ue.current),u)break;return null;case 22:case 23:return t.lanes=0,s1(e,t,n)}return Gt(e,t,n)}(e,t,n);qe=!!(131072&e.flags)}else qe=!1,te&&1048576&t.flags&&vc(t,E0,t.index);switch(t.lanes=0,t.tag){case 2:var u=t.type;z0(e,t),e=t.pendingProps;var r=su(t,Ce.current);mu(t,n),r=ni(null,t,u,e,r,n);var l=ui();return t.flags|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ue(u)?(l=!0,b0(t)):l=!1,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,Qo(t),r.updater=P0,t.stateNode=r,r._reactInternals=t,si(t,u,e,n),t=pi(null,t,u,!0,l,n)):(t.tag=0,te&&l&&zo(t),Ie(null,t,r,n),t=t.child),t;case 16:u=t.elementType;e:{switch(z0(e,t),e=t.pendingProps,u=(r=u._init)(u._payload),t.type=u,r=t.tag=function(e){if("function"==typeof e)return ji(e)?1:0;if(null!=e){if((e=e.$$typeof)===Rl)return 11;if(e===Bl)return 14}return 2}(u),e=xt(u,e),r){case 0:t=di(null,t,u,e,n);break e;case 1:t=f1(null,t,u,e,n);break e;case 11:t=o1(null,t,u,e,n);break e;case 14:t=i1(null,t,u,xt(u.type,e),n);break e}throw Error(F(306,u,""))}return t;case 0:return u=t.type,r=t.pendingProps,di(e,t,u,r=t.elementType===u?r:xt(u,r),n);case 1:return u=t.type,r=t.pendingProps,f1(e,t,u,r=t.elementType===u?r:xt(u,r),n);case 3:e:{if(d1(t),null===e)throw Error(F(387));u=t.pendingProps,r=(l=t.memoizedState).element,Ac(e,t),N0(t,u,null,n);var o=t.memoizedState;if(u=o.element,l.isDehydrated){if(l={element:u,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=l,t.memoizedState=l,256&t.flags){t=p1(e,t,u,n,r=gu(Error(F(423)),t));break e}if(u!==r){t=p1(e,t,u,n,r=gu(Error(F(424)),t));break e}for(tt=dn(t.stateNode.containerInfo.firstChild),et=t,te=!0,yt=null,n=Cc(t,null,u,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(du(),u===r){t=Gt(e,t,n);break e}Ie(e,t,u,n)}t=t.child}return t;case 5:return Nc(t),null===e&&Ho(t),u=t.type,r=t.pendingProps,l=null!==e?e.memoizedProps:null,o=r.children,jo(u,r)?o=null:null!==l&&jo(u,l)&&(t.flags|=32),c1(e,t),Ie(e,t,o,n),t.child;case 6:return null===e&&Ho(t),null;case 13:return h1(e,t,n);case 4:return Yo(t,t.stateNode.containerInfo),u=t.pendingProps,null===e?t.child=pu(t,null,u,n):Ie(e,t,u,n),t.child;case 11:return u=t.type,r=t.pendingProps,o1(e,t,u,r=t.elementType===u?r:xt(u,r),n);case 7:return Ie(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(u=t.type._context,r=t.pendingProps,l=t.memoizedProps,o=r.value,G(A0,u._currentValue),u._currentValue=o,null!==l)if(vt(l.value,o)){if(l.children===r.children&&!He.current){t=Gt(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var i=l.dependencies;if(null!==i){o=l.child;for(var a=i.firstContext;null!==a;){if(a.context===u){if(1===l.tag){(a=Wt(-1,n&-n)).tag=2;var s=l.updateQueue;if(null!==s){var c=(s=s.shared).pending;null===c?a.next=a:(a.next=c.next,c.next=a),s.pending=a}}l.lanes|=n,null!==(a=l.alternate)&&(a.lanes|=n),Wo(l.return,n,t),i.lanes|=n;break}a=a.next}}else if(10===l.tag)o=l.type===t.type?null:l.child;else if(18===l.tag){if(null===(o=l.return))throw Error(F(341));o.lanes|=n,null!==(i=o.alternate)&&(i.lanes|=n),Wo(o,n,t),o=l.sibling}else o=l.child;if(null!==o)o.return=l;else for(o=l;null!==o;){if(o===t){o=null;break}if(null!==(l=o.sibling)){l.return=o.return,o=l;break}o=o.return}l=o}Ie(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,u=t.pendingProps.children,mu(t,n),u=u(r=at(r)),t.flags|=1,Ie(e,t,u,n),t.child;case 14:return r=xt(u=t.type,t.pendingProps),i1(e,t,u,r=xt(u.type,r),n);case 15:return a1(e,t,t.type,t.pendingProps,n);case 17:return u=t.type,r=t.pendingProps,r=t.elementType===u?r:xt(u,r),z0(e,t),t.tag=1,Ue(u)?(e=!0,b0(t)):e=!1,mu(t,n),Jc(t,u,r),si(t,u,r,n),pi(null,t,u,!0,e,n);case 19:return w1(e,t,n);case 22:return s1(e,t,n)}throw Error(F(156,t.tag))};var q1="function"==typeof reportError?reportError:function(e){console.error(e)};function Ri(e){this._internalRoot=e}function el(e){this._internalRoot=e}function zi(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function tl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function V1(){}function nl(e,t,n,u,r){var l=n._reactRootContainer;if(l){var o=l;if("function"==typeof r){var i=r;r=function(){var a=J0(o);i.call(a)}}X0(t,o,e,r)}else o=function(e,t,n,u,r){if(r){if("function"==typeof u){var l=u;u=function(){var s=J0(o);l.call(s)}}var o=H1(t,u,e,0,null,!1,0,"",V1);return e._reactRootContainer=o,e[Ht]=o.current,or(8===e.nodeType?e.parentNode:e),Bn(),o}for(;r=e.lastChild;)e.removeChild(r);if("function"==typeof u){var i=u;u=function(){var s=J0(a);i.call(s)}}var a=Ii(e,0,!1,null,0,!1,0,"",V1);return e._reactRootContainer=a,e[Ht]=a.current,or(8===e.nodeType?e.parentNode:e),Bn((function(){X0(t,a,n,u)})),a}(n,t,e,r,u);return J0(o)}el.prototype.render=Ri.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(F(409));X0(e,t,null,null)},el.prototype.unmount=Ri.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;Bn((function(){X0(null,e,null,null)})),t[Ht]=null}},el.prototype.unstable_scheduleHydration=function(e){if(e){var t=As();e={blockedOn:null,target:e,priority:t};for(var n=0;n<sn.length&&0!==t&&t<sn[n].priority;n++);sn.splice(n,0,e),0===n&&Ns(e)}},Cs=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Vu(t.pendingLanes);0!==n&&(ao(t,1|n),Ze(t,ae()),!(6&U)&&(xu=ae()+500,mn()))}break;case 13:Bn((function(){var u=Zt(e,1);if(null!==u){var r=Pe();kt(u,e,1,r)}})),Pi(e,1)}},so=function(e){if(13===e.tag){var t=Zt(e,134217728);if(null!==t)kt(t,e,134217728,Pe());Pi(e,134217728)}},Ss=function(e){if(13===e.tag){var t=bn(e),n=Zt(e,t);if(null!==n)kt(n,e,t,Pe());Pi(e,t)}},As=function(){return V},Ds=function(e,t){var n=V;try{return V=e,t()}finally{V=n}},to=function(e,t,n){switch(t){case"input":if(Wl(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var u=n[t];if(u!==e&&u.form===e.form){var r=y0(u);if(!r)throw Error(F(90));Xa(u),Wl(u,r)}}}break;case"textarea":us(e,n);break;case"select":null!=(t=n.value)&&Kn(e,!!n.multiple,t,!1)}},ds=Ni,ps=Bn;var r3={usingClientEntryPoint:!1,Events:[sr,iu,y0,cs,fs,Ni]},kr={findFiberByHostInstance:jn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},l3={bundleType:kr.bundleType,version:kr.version,rendererPackageName:kr.rendererPackageName,rendererConfig:kr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Bt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=gs(e))?null:e.stateNode},findFiberByHostInstance:kr.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ul=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ul.isDisabled&&ul.supportsFiber)try{e0=ul.inject(l3),At=ul}catch{}}Ke.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=r3,Ke.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!zi(t))throw Error(F(200));return function(e,t,n){var u=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Qn,key:null==u?null:""+u,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},Ke.createRoot=function(e,t){if(!zi(e))throw Error(F(299));var n=!1,u="",r=q1;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(u=t.identifierPrefix),void 0!==t.onRecoverableError&&(r=t.onRecoverableError)),t=Ii(e,1,!1,null,0,n,0,u,r),e[Ht]=t.current,or(8===e.nodeType?e.parentNode:e),new Ri(t)},Ke.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t)throw"function"==typeof e.render?Error(F(188)):(e=Object.keys(e).join(","),Error(F(268,e)));return e=null===(e=gs(t))?null:e.stateNode},Ke.flushSync=function(e){return Bn(e)},Ke.hydrate=function(e,t,n){if(!tl(t))throw Error(F(200));return nl(null,e,t,!0,n)},Ke.hydrateRoot=function(e,t,n){if(!zi(e))throw Error(F(405));var u=null!=n&&n.hydratedSources||null,r=!1,l="",o=q1;if(null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(l=n.identifierPrefix),void 0!==n.onRecoverableError&&(o=n.onRecoverableError)),t=H1(t,null,e,1,n??null,r,0,l,o),e[Ht]=t.current,or(e),u)for(e=0;e<u.length;e++)r=(r=(n=u[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,r]:t.mutableSourceEagerHydrationData.push(n,r);return new el(t)},Ke.render=function(e,t,n){if(!tl(t))throw Error(F(200));return nl(null,e,t,!1,n)},Ke.unmountComponentAtNode=function(e){if(!tl(e))throw Error(F(40));return!!e._reactRootContainer&&(Bn((function(){nl(null,null,e,!1,(function(){e._reactRootContainer=null,e[Ht]=null}))})),!0)},Ke.unstable_batchedUpdates=Ni,Ke.unstable_renderSubtreeIntoContainer=function(e,t,n,u){if(!tl(n))throw Error(F(200));if(null==e||void 0===e._reactInternals)throw Error(F(38));return nl(e,t,n,!1,u)},Ke.version="18.3.1-next-f1338f8080-20240426",function Z1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Z1)}catch(e){console.error(e)}}(),Ba.exports=Ke;var rl=Ba.exports,W1=rl;Ml.createRoot=W1.createRoot,Ml.hydrateRoot=W1.hydrateRoot;const $i=_.createContext(null),G1=({children:e})=>{const[t,n]=_.useState(!1),[u,r]=_.useState(p.jsx("div",{children:"Hello world"}));return p.jsx($i.Provider,{value:{modalOpen:t,setModalOpen:n,modalContent:u,setModalContent:r,openModal:o=>{r(o),n(!0)}},children:e})},Q1={embedId:null,brandName:"Rudi",brandSlogan:"My default brand slogan",brandImageUrl:null,headerBgColor:"#50A0FF",headerTextColor:"#FFFFFF",headerBgPattern:"dog",assistantIcon:null,buttonColor:"#262626",chatIcon:"plus",chatIconUrl:null,arrowDownColor:"white",noSponsor:"true",position:"bottom-right",offsetBottom:"0px",userBgColor:null,userTextColor:null,assistantBgColor:null,assistantTextColor:null,socialFbUrl:null,socialLineUrl:null,socialPhoneUrl:null,greeting:null,greetings:null,defaultSuggestions:null,autoSuggestions:"off",fetchSuggestions:"off",windowHeight:null,windowWidth:null,textSize:null,hideBubble:"off",allowFullscreen:"off",openOnLoad:"off",supportEmail:null,showRag:null,showCopyAction:null,showSuggestAction:null,showReportAction:null,showAssistants:null,language:"en",chatFnVersion:null,prompt:null,model:null,temperature:null,placeholder:"Talk with me",bgColorChat:"#f3f4f6",sizeOpenButton:56,allowFileUpload:"true",restApi:"false",restUrl:"",allowedPaths:null,blockedPaths:null};const ll="___anm-chat-widget-open___",Y1="___anm-chat-greetings-shown___";const c3=_.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var f3=Object.defineProperty,ol=Object.getOwnPropertySymbols,K1=Object.prototype.hasOwnProperty,X1=Object.prototype.propertyIsEnumerable,J1=(e,t,n)=>t in e?f3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,e2=(e,t)=>{for(var n in t||(t={}))K1.call(t,n)&&J1(e,n,t[n]);if(ol)for(var n of ol(t))X1.call(t,n)&&J1(e,n,t[n]);return e},t2=(e,t)=>{var n={};for(var u in e)K1.call(e,u)&&t.indexOf(u)<0&&(n[u]=e[u]);if(null!=e&&ol)for(var u of ol(e))t.indexOf(u)<0&&X1.call(e,u)&&(n[u]=e[u]);return n};const n2=_.forwardRef(((e,t)=>{const n=e,{alt:u,color:r,size:l,weight:o,mirrored:i,children:a,weights:s}=n,c=t2(n,["alt","color","size","weight","mirrored","children","weights"]),f=_.useContext(c3),{color:w="currentColor",size:y,weight:g="regular",mirrored:k=!1}=f,D=t2(f,["color","size","weight","mirrored"]);return h.createElement("svg",e2(e2({ref:t,xmlns:"http://www.w3.org/2000/svg",width:l??y,height:l??y,fill:r??w,viewBox:"0 0 256 256",transform:i||k?"scale(-1, 1)":void 0},D),c),!!u&&h.createElement("title",null,u),a,s.get(o??g))}));n2.displayName="IconBase";const We=n2,d3=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M208.49,152.49l-72,72a12,12,0,0,1-17,0l-72-72a12,12,0,0,1,17-17L116,187V40a12,12,0,0,1,24,0V187l51.51-51.52a12,12,0,0,1,17,17Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M200,144l-72,72L56,144Z",opacity:"0.2"}),h.createElement("path",{d:"M207.39,140.94A8,8,0,0,0,200,136H136V40a8,8,0,0,0-16,0v96H56a8,8,0,0,0-5.66,13.66l72,72a8,8,0,0,0,11.32,0l72-72A8,8,0,0,0,207.39,140.94ZM128,204.69,75.31,152H180.69Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72A8,8,0,0,1,56,136h64V40a8,8,0,0,1,16,0v96h64a8,8,0,0,1,5.66,13.66Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M204.24,148.24l-72,72a6,6,0,0,1-8.48,0l-72-72a6,6,0,0,1,8.48-8.48L122,201.51V40a6,6,0,0,1,12,0V201.51l61.76-61.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72a8,8,0,0,1,11.32-11.32L120,196.69V40a8,8,0,0,1,16,0V196.69l58.34-58.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M202.83,146.83l-72,72a4,4,0,0,1-5.66,0l-72-72a4,4,0,0,1,5.66-5.66L124,206.34V40a4,4,0,0,1,8,0V206.34l65.17-65.17a4,4,0,0,1,5.66,5.66Z"}))]]);var p3=Object.defineProperty,h3=Object.defineProperties,m3=Object.getOwnPropertyDescriptors,u2=Object.getOwnPropertySymbols,w3=Object.prototype.hasOwnProperty,g3=Object.prototype.propertyIsEnumerable,r2=(e,t,n)=>t in e?p3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const l2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>h3(e,m3(t)))(((e,t)=>{for(var n in t||(t={}))w3.call(t,n)&&r2(e,n,t[n]);if(u2)for(var n of u2(t))g3.call(t,n)&&r2(e,n,t[n]);return e})({ref:t},e),{weights:d3}))));l2.displayName="ArrowDown";const x3=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M241,150.65s0,0,0-.05a51.33,51.33,0,0,0-2.53-5.9L196.93,50.18a12,12,0,0,0-2.5-3.65,36,36,0,0,0-50.92,0A12,12,0,0,0,140,55V76H116V55a12,12,0,0,0-3.51-8.48,36,36,0,0,0-50.92,0,12,12,0,0,0-2.5,3.65L17.53,144.7A51.33,51.33,0,0,0,15,150.6s0,0,0,.05A52,52,0,1,0,116,168V100h24v68a52,52,0,1,0,101-17.35ZM80,62.28a12,12,0,0,1,12-1.22v63.15a51.9,51.9,0,0,0-35.9-7.62ZM64,196a28,28,0,1,1,28-28A28,28,0,0,1,64,196ZM164,61.06a12.06,12.06,0,0,1,12,1.22l23.87,54.31a51.9,51.9,0,0,0-35.9,7.62ZM192,196a28,28,0,1,1,28-28A28,28,0,0,1,192,196Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M104,168a40,40,0,1,1-40-40A40,40,0,0,1,104,168Zm88-40a40,40,0,1,0,40,40A40,40,0,0,0,192,128Z",opacity:"0.2"}),h.createElement("path",{d:"M237.2,151.87v0a47.1,47.1,0,0,0-2.35-5.45L193.26,51.8a7.82,7.82,0,0,0-1.66-2.44,32,32,0,0,0-45.26,0A8,8,0,0,0,144,55V80H112V55a8,8,0,0,0-2.34-5.66,32,32,0,0,0-45.26,0,7.82,7.82,0,0,0-1.66,2.44L21.15,146.4a47.1,47.1,0,0,0-2.35,5.45v0A48,48,0,1,0,112,168V96h32v72a48,48,0,1,0,93.2-16.13ZM76.71,59.75a16,16,0,0,1,19.29-1v73.51a47.9,47.9,0,0,0-46.79-9.92ZM64,200a32,32,0,1,1,32-32A32,32,0,0,1,64,200ZM160,58.74a16,16,0,0,1,19.29,1l27.5,62.58A47.9,47.9,0,0,0,160,132.25ZM192,200a32,32,0,1,1,32-32A32,32,0,0,1,192,200Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M237.22,151.9l0-.1a1.42,1.42,0,0,0-.07-.22,48.46,48.46,0,0,0-2.31-5.3L193.27,51.8a8,8,0,0,0-1.67-2.44,32,32,0,0,0-45.26,0A8,8,0,0,0,144,55V80H112V55a8,8,0,0,0-2.34-5.66,32,32,0,0,0-45.26,0,8,8,0,0,0-1.67,2.44L21.2,146.28a48.46,48.46,0,0,0-2.31,5.3,1.72,1.72,0,0,0-.07.21s0,.08,0,.11a48,48,0,0,0,90.32,32.51,47.49,47.49,0,0,0,2.9-16.59V96h32v71.83a47.49,47.49,0,0,0,2.9,16.59,48,48,0,0,0,90.32-32.51Zm-143.15,27a32,32,0,0,1-60.2-21.71l1.81-4.13A32,32,0,0,1,96,167.88V168h0A32,32,0,0,1,94.07,178.94ZM203,198.07A32,32,0,0,1,160,168h0v-.11a32,32,0,0,1,60.32-14.78l1.81,4.13A32,32,0,0,1,203,198.07Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M233,147.24,191.43,52.6a6,6,0,0,0-1.25-1.83,30,30,0,0,0-42.42,0A6,6,0,0,0,146,55V82H110V55a6,6,0,0,0-1.76-4.25,30,30,0,0,0-42.42,0,6,6,0,0,0-1.25,1.83L23,147.24A46,46,0,1,0,110,168V94h36v74a46,46,0,1,0,87-20.76ZM64,202a34,34,0,1,1,34-34A34,34,0,0,1,64,202Zm0-80a45.77,45.77,0,0,0-18.55,3.92L75.06,58.54A18,18,0,0,1,98,57.71V137A45.89,45.89,0,0,0,64,122Zm94-64.28a18,18,0,0,1,22.94.83l29.61,67.37A45.9,45.9,0,0,0,158,137ZM192,202a34,34,0,1,1,34-34A34,34,0,0,1,192,202Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M237.2,151.87v0a47.1,47.1,0,0,0-2.35-5.45L193.26,51.8a7.82,7.82,0,0,0-1.66-2.44,32,32,0,0,0-45.26,0A8,8,0,0,0,144,55V80H112V55a8,8,0,0,0-2.34-5.66,32,32,0,0,0-45.26,0,7.82,7.82,0,0,0-1.66,2.44L21.15,146.4a47.1,47.1,0,0,0-2.35,5.45v0A48,48,0,1,0,112,168V96h32v72a48,48,0,1,0,93.2-16.13ZM76.71,59.75a16,16,0,0,1,19.29-1v73.51a47.9,47.9,0,0,0-46.79-9.92ZM64,200a32,32,0,1,1,32-32A32,32,0,0,1,64,200ZM160,58.74a16,16,0,0,1,19.29,1l27.5,62.58A47.9,47.9,0,0,0,160,132.25ZM192,200a32,32,0,1,1,32-32A32,32,0,0,1,192,200Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M231.22,148.09,189.6,53.41a3.94,3.94,0,0,0-.83-1.22,28,28,0,0,0-39.6,0A4,4,0,0,0,148,55V84H108V55a4,4,0,0,0-1.17-2.83,28,28,0,0,0-39.6,0,3.94,3.94,0,0,0-.83,1.22L24.78,148.09A44,44,0,1,0,108,168V92h40v76a44,44,0,1,0,83.22-19.91ZM64,204a36,36,0,1,1,36-36A36,36,0,0,1,64,204Zm0-80a43.78,43.78,0,0,0-22.66,6.3L73.4,57.35a20,20,0,0,1,26.6-.59v86A44,44,0,0,0,64,124Zm92-67.23a20,20,0,0,1,26.6.59l32.06,72.94A43.92,43.92,0,0,0,156,142.74ZM192,204a36,36,0,1,1,36-36A36,36,0,0,1,192,204Z"}))]]);var b3=Object.defineProperty,_3=Object.defineProperties,k3=Object.getOwnPropertyDescriptors,o2=Object.getOwnPropertySymbols,E3=Object.prototype.hasOwnProperty,C3=Object.prototype.propertyIsEnumerable,i2=(e,t,n)=>t in e?b3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const a2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>_3(e,k3(t)))(((e,t)=>{for(var n in t||(t={}))E3.call(t,n)&&i2(e,n,t[n]);if(o2)for(var n of o2(t))C3.call(t,n)&&i2(e,n,t[n]);return e})({ref:t},e),{weights:x3}))));a2.displayName="Binoculars";const D3=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M120,128a16,16,0,1,1-16-16A16,16,0,0,1,120,128Zm32-16a16,16,0,1,0,16,16A16,16,0,0,0,152,112Zm84,16A108,108,0,0,1,78.77,224.15L46.34,235A20,20,0,0,1,21,209.66l10.81-32.43A108,108,0,1,1,236,128Zm-24,0A84,84,0,1,0,55.27,170.06a12,12,0,0,1,1,9.81l-9.93,29.79,29.79-9.93a12.1,12.1,0,0,1,3.8-.62,12,12,0,0,1,6,1.62A84,84,0,0,0,212,128Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M224,128A96,96,0,0,1,79.93,211.11h0L42.54,223.58a8,8,0,0,1-10.12-10.12l12.47-37.39h0A96,96,0,1,1,224,128Z",opacity:"0.2"}),h.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-4-1.08,7.85,7.85,0,0,0-2.53.42L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Zm12-88a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm-44,0a12,12,0,1,1-12-12A12,12,0,0,1,96,128Zm88,0a12,12,0,1,1-12-12A12,12,0,0,1,184,128Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24ZM84,140a12,12,0,1,1,12-12A12,12,0,0,1,84,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,172,140Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M138,128a10,10,0,1,1-10-10A10,10,0,0,1,138,128ZM84,118a10,10,0,1,0,10,10A10,10,0,0,0,84,118Zm88,0a10,10,0,1,0,10,10A10,10,0,0,0,172,118Zm58,10A102,102,0,0,1,79.31,217.65L44.44,229.27a14,14,0,0,1-17.71-17.71l11.62-34.87A102,102,0,1,1,230,128Zm-12,0A90,90,0,1,0,50.08,173.06a6,6,0,0,1,.5,4.91L38.12,215.35a2,2,0,0,0,2.53,2.53L78,205.42a6.2,6.2,0,0,1,1.9-.31,6.09,6.09,0,0,1,3,.81A90,90,0,0,0,218,128Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM84,116a12,12,0,1,0,12,12A12,12,0,0,0,84,116Zm88,0a12,12,0,1,0,12,12A12,12,0,0,0,172,116Zm60,12A104,104,0,0,1,79.12,219.82L45.07,231.17a16,16,0,0,1-20.24-20.24l11.35-34.05A104,104,0,1,1,232,128Zm-16,0A88,88,0,1,0,51.81,172.06a8,8,0,0,1,.66,6.54L40,216,77.4,203.53a7.85,7.85,0,0,1,2.53-.42,8,8,0,0,1,4,1.08A88,88,0,0,0,216,128Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M136,128a8,8,0,1,1-8-8A8,8,0,0,1,136,128Zm-52-8a8,8,0,1,0,8,8A8,8,0,0,0,84,120Zm88,0a8,8,0,1,0,8,8A8,8,0,0,0,172,120Zm56,8A100,100,0,0,1,79.5,215.47l-35.69,11.9a12,12,0,0,1-15.18-15.18l11.9-35.69A100,100,0,1,1,228,128Zm-8,0A92,92,0,1,0,48.35,174.07a4,4,0,0,1,.33,3.27L36.22,214.72a4,4,0,0,0,5.06,5.06l37.38-12.46a3.93,3.93,0,0,1,1.27-.21,4.05,4.05,0,0,1,2,.54A92,92,0,0,0,220,128Z"}))]]);var F3=Object.defineProperty,N3=Object.defineProperties,M3=Object.getOwnPropertyDescriptors,s2=Object.getOwnPropertySymbols,T3=Object.prototype.hasOwnProperty,j3=Object.prototype.propertyIsEnumerable,c2=(e,t,n)=>t in e?F3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const f2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>N3(e,M3(t)))(((e,t)=>{for(var n in t||(t={}))T3.call(t,n)&&c2(e,n,t[n]);if(s2)for(var n of s2(t))j3.call(t,n)&&c2(e,n,t[n]);return e})({ref:t},e),{weights:D3}))));f2.displayName="ChatCircleDots";const I3=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),h.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("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"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]);var P3=Object.defineProperty,R3=Object.defineProperties,z3=Object.getOwnPropertyDescriptors,d2=Object.getOwnPropertySymbols,$3=Object.prototype.hasOwnProperty,B3=Object.prototype.propertyIsEnumerable,p2=(e,t,n)=>t in e?P3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const h2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>R3(e,z3(t)))(((e,t)=>{for(var n in t||(t={}))$3.call(t,n)&&p2(e,n,t[n]);if(d2)for(var n of d2(t))B3.call(t,n)&&p2(e,n,t[n]);return e})({ref:t},e),{weights:I3}))));h2.displayName="Check";const q3=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),h.createElement("path",{d:"M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("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"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z"}))]]);var V3=Object.defineProperty,Z3=Object.defineProperties,W3=Object.getOwnPropertyDescriptors,m2=Object.getOwnPropertySymbols,G3=Object.prototype.hasOwnProperty,Q3=Object.prototype.propertyIsEnumerable,w2=(e,t,n)=>t in e?V3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const il=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>Z3(e,W3(t)))(((e,t)=>{for(var n in t||(t={}))G3.call(t,n)&&w2(e,n,t[n]);if(m2)for(var n of m2(t))Q3.call(t,n)&&w2(e,n,t[n]);return e})({ref:t},e),{weights:q3}))));il.displayName="CircleNotch";const X3=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),h.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("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"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Z"}))]]);var J3=Object.defineProperty,eh=Object.defineProperties,th=Object.getOwnPropertyDescriptors,g2=Object.getOwnPropertySymbols,nh=Object.prototype.hasOwnProperty,uh=Object.prototype.propertyIsEnumerable,v2=(e,t,n)=>t in e?J3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const y2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>eh(e,th(t)))(((e,t)=>{for(var n in t||(t={}))nh.call(t,n)&&v2(e,n,t[n]);if(g2)for(var n of g2(t))uh.call(t,n)&&v2(e,n,t[n]);return e})({ref:t},e),{weights:X3}))));y2.displayName="File";const oh=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M204.73,51.85A108.07,108.07,0,0,0,20,128v56a28,28,0,0,0,28,28H64a28,28,0,0,0,28-28V144a28,28,0,0,0-28-28H44.84A84.05,84.05,0,0,1,128,44h.64a83.7,83.7,0,0,1,82.52,72H192a28,28,0,0,0-28,28v40a28,28,0,0,0,28,28h19.6A20,20,0,0,1,192,228H136a12,12,0,0,0,0,24h56a44.05,44.05,0,0,0,44-44V128A107.34,107.34,0,0,0,204.73,51.85ZM64,140a4,4,0,0,1,4,4v40a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V140Zm124,44V144a4,4,0,0,1,4-4h20v48H192A4,4,0,0,1,188,184Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M80,144v40a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V128H64A16,16,0,0,1,80,144Zm112-16a16,16,0,0,0-16,16v40a16,16,0,0,0,16,16h32V128Z",opacity:"0.2"}),h.createElement("path",{d:"M201.89,54.66A104.08,104.08,0,0,0,24,128v56a24,24,0,0,0,24,24H64a24,24,0,0,0,24-24V144a24,24,0,0,0-24-24H40.36A88.12,88.12,0,0,1,190.54,65.93,87.39,87.39,0,0,1,215.65,120H192a24,24,0,0,0-24,24v40a24,24,0,0,0,24,24h24a24,24,0,0,1-24,24H136a8,8,0,0,0,0,16h56a40,40,0,0,0,40-40V128A103.41,103.41,0,0,0,201.89,54.66ZM64,136a8,8,0,0,1,8,8v40a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V136Zm128,56a8,8,0,0,1-8-8V144a8,8,0,0,1,8-8h24v56Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M232,128v80a40,40,0,0,1-40,40H136a8,8,0,0,1,0-16h56a24,24,0,0,0,24-24H192a24,24,0,0,1-24-24V144a24,24,0,0,1,24-24h23.65A88,88,0,0,0,66,65.54,87.29,87.29,0,0,0,40.36,120H64a24,24,0,0,1,24,24v40a24,24,0,0,1-24,24H48a24,24,0,0,1-24-24V128A104.11,104.11,0,0,1,201.89,54.66,103.41,103.41,0,0,1,232,128Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M200.47,56.07A101.37,101.37,0,0,0,128.77,26H128A102,102,0,0,0,26,128v56a22,22,0,0,0,22,22H64a22,22,0,0,0,22-22V144a22,22,0,0,0-22-22H38.2A90,90,0,0,1,128,38h.68a89.71,89.71,0,0,1,89.13,84H192a22,22,0,0,0-22,22v40a22,22,0,0,0,22,22h26v2a26,26,0,0,1-26,26H136a6,6,0,0,0,0,12h56a38,38,0,0,0,38-38V128A101.44,101.44,0,0,0,200.47,56.07ZM64,134a10,10,0,0,1,10,10v40a10,10,0,0,1-10,10H48a10,10,0,0,1-10-10V134Zm118,50V144a10,10,0,0,1,10-10h26v60H192A10,10,0,0,1,182,184Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M201.89,54.66A103.43,103.43,0,0,0,128.79,24H128A104,104,0,0,0,24,128v56a24,24,0,0,0,24,24H64a24,24,0,0,0,24-24V144a24,24,0,0,0-24-24H40.36A88.12,88.12,0,0,1,190.54,65.93,87.39,87.39,0,0,1,215.65,120H192a24,24,0,0,0-24,24v40a24,24,0,0,0,24,24h24a24,24,0,0,1-24,24H136a8,8,0,0,0,0,16h56a40,40,0,0,0,40-40V128A103.41,103.41,0,0,0,201.89,54.66ZM64,136a8,8,0,0,1,8,8v40a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V136Zm128,56a8,8,0,0,1-8-8V144a8,8,0,0,1,8-8h24v56Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M199.05,57.48A100.07,100.07,0,0,0,28,128v56a20,20,0,0,0,20,20H64a20,20,0,0,0,20-20V144a20,20,0,0,0-20-20H36.08A92,92,0,0,1,128,36h.7a91.75,91.75,0,0,1,91.22,88H192a20,20,0,0,0-20,20v40a20,20,0,0,0,20,20h28v4a28,28,0,0,1-28,28H136a4,4,0,0,0,0,8h56a36,36,0,0,0,36-36V128A99.44,99.44,0,0,0,199.05,57.48ZM64,132a12,12,0,0,1,12,12v40a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V132Zm116,52V144a12,12,0,0,1,12-12h28v64H192A12,12,0,0,1,180,184Z"}))]]);var ih=Object.defineProperty,ah=Object.defineProperties,sh=Object.getOwnPropertyDescriptors,x2=Object.getOwnPropertySymbols,ch=Object.prototype.hasOwnProperty,fh=Object.prototype.propertyIsEnumerable,b2=(e,t,n)=>t in e?ih(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const _2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>ah(e,sh(t)))(((e,t)=>{for(var n in t||(t={}))ch.call(t,n)&&b2(e,n,t[n]);if(x2)for(var n of x2(t))fh.call(t,n)&&b2(e,n,t[n]);return e})({ref:t},e),{weights:oh}))));_2.displayName="Headset";const hh=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M252,152a12,12,0,0,1-12,12H228v12a12,12,0,0,1-24,0V164H192a12,12,0,0,1,0-24h12V128a12,12,0,0,1,24,0v12h12A12,12,0,0,1,252,152ZM56,76H68V88a12,12,0,0,0,24,0V76h12a12,12,0,1,0,0-24H92V40a12,12,0,0,0-24,0V52H56a12,12,0,0,0,0,24ZM184,188h-4v-4a12,12,0,0,0-24,0v4h-4a12,12,0,0,0,0,24h4v4a12,12,0,0,0,24,0v-4h4a12,12,0,0,0,0-24ZM222.14,82.83,82.82,222.14a20,20,0,0,1-28.28,0L33.85,201.46a20,20,0,0,1,0-28.29L173.17,33.86a20,20,0,0,1,28.28,0l20.69,20.68A20,20,0,0,1,222.14,82.83ZM159,112,144,97,53.65,187.31l15,15Zm43.31-43.31-15-15L161,80l15,15Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M176,112,74.34,213.66a8,8,0,0,1-11.31,0L42.34,193a8,8,0,0,1,0-11.31L144,80Z",opacity:"0.2"}),h.createElement("path",{d:"M248,152a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V160H192a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,152ZM56,72H72V88a8,8,0,0,0,16,0V72h16a8,8,0,0,0,0-16H88V40a8,8,0,0,0-16,0V56H56a8,8,0,0,0,0,16ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80Zm-54.63,32L144,91.31l-96,96L68.68,208ZM208,68.69,187.31,48l-32,32L176,100.69Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M248,152a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V160H192a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,152ZM56,72H72V88a8,8,0,0,0,16,0V72h16a8,8,0,0,0,0-16H88V40a8,8,0,0,0-16,0V56H56a8,8,0,0,0,0,16ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80ZM208,68.69,187.31,48l-32,32L176,100.69Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M246,152a6,6,0,0,1-6,6H222v18a6,6,0,0,1-12,0V158H192a6,6,0,0,1,0-12h18V128a6,6,0,0,1,12,0v18h18A6,6,0,0,1,246,152ZM56,70H74V88a6,6,0,0,0,12,0V70h18a6,6,0,0,0,0-12H86V40a6,6,0,0,0-12,0V58H56a6,6,0,0,0,0,12ZM184,194H174V184a6,6,0,0,0-12,0v10H152a6,6,0,0,0,0,12h10v10a6,6,0,0,0,12,0V206h10a6,6,0,0,0,0-12ZM217.9,78.59,78.58,217.9a14,14,0,0,1-19.8,0L38.09,197.21a14,14,0,0,1,0-19.8L177.41,38.1a14,14,0,0,1,19.8,0L217.9,58.79A14,14,0,0,1,217.9,78.59ZM167.51,112,144,88.49,46.58,185.9a2,2,0,0,0,0,2.83l20.69,20.68a2,2,0,0,0,2.82,0h0Zm41.9-44.73L188.73,46.59a2,2,0,0,0-2.83,0L152.48,80,176,103.52,209.41,70.1A2,2,0,0,0,209.41,67.27Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M48,64a8,8,0,0,1,8-8H72V40a8,8,0,0,1,16,0V56h16a8,8,0,0,1,0,16H88V88a8,8,0,0,1-16,0V72H56A8,8,0,0,1,48,64ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16Zm56-48H224V128a8,8,0,0,0-16,0v16H192a8,8,0,0,0,0,16h16v16a8,8,0,0,0,16,0V160h16a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80Zm-54.63,32L144,91.31l-96,96L68.68,208ZM208,68.69,187.31,48l-32,32L176,100.69Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M244,152a4,4,0,0,1-4,4H220v20a4,4,0,0,1-8,0V156H192a4,4,0,0,1,0-8h20V128a4,4,0,0,1,8,0v20h20A4,4,0,0,1,244,152ZM56,68H76V88a4,4,0,0,0,8,0V68h20a4,4,0,0,0,0-8H84V40a4,4,0,0,0-8,0V60H56a4,4,0,0,0,0,8ZM184,196H172V184a4,4,0,0,0-8,0v12H152a4,4,0,0,0,0,8h12v12a4,4,0,0,0,8,0V204h12a4,4,0,0,0,0-8ZM216.48,77.17,77.17,216.49a12,12,0,0,1-17,0L39.51,195.8a12,12,0,0,1,0-17L178.83,39.51a12,12,0,0,1,17,0L216.48,60.2A12,12,0,0,1,216.48,77.17ZM170.34,112,144,85.66,45.17,184.49a4,4,0,0,0,0,5.65l20.68,20.69a4,4,0,0,0,5.66,0Zm40.49-46.14L190.14,45.17a4,4,0,0,0-5.66,0L149.65,80,176,106.34l34.83-34.83A4,4,0,0,0,210.83,65.86Z"}))]]);var mh=Object.defineProperty,wh=Object.defineProperties,gh=Object.getOwnPropertyDescriptors,k2=Object.getOwnPropertySymbols,vh=Object.prototype.hasOwnProperty,yh=Object.prototype.propertyIsEnumerable,E2=(e,t,n)=>t in e?mh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const C2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>wh(e,gh(t)))(((e,t)=>{for(var n in t||(t={}))vh.call(t,n)&&E2(e,n,t[n]);if(k2)for(var n of k2(t))yh.call(t,n)&&E2(e,n,t[n]);return e})({ref:t},e),{weights:hh}))));C2.displayName="MagicWand";const _h=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),h.createElement("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"}))]]);var kh=Object.defineProperty,Eh=Object.defineProperties,Ch=Object.getOwnPropertyDescriptors,S2=Object.getOwnPropertySymbols,Sh=Object.prototype.hasOwnProperty,Ah=Object.prototype.propertyIsEnumerable,A2=(e,t,n)=>t in e?kh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const D2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>Eh(e,Ch(t)))(((e,t)=>{for(var n in t||(t={}))Sh.call(t,n)&&A2(e,n,t[n]);if(S2)for(var n of S2(t))Ah.call(t,n)&&A2(e,n,t[n]);return e})({ref:t},e),{weights:_h}))));D2.displayName="MagnifyingGlass";const Nh=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M233.86,110.48,65.8,14.58A20,20,0,0,0,37.15,38.64L67.33,128,37.15,217.36A20,20,0,0,0,56,244a20.1,20.1,0,0,0,9.81-2.58l.09-.06,168-96.07a20,20,0,0,0,0-34.81ZM63.19,215.26,88.61,140H144a12,12,0,0,0,0-24H88.61L63.18,40.72l152.76,87.17Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M227.91,134.86,59.93,231a8,8,0,0,1-11.44-9.67L80,128,48.49,34.72a8,8,0,0,1,11.44-9.67l168,95.85A8,8,0,0,1,227.91,134.86Z",opacity:"0.2"}),h.createElement("path",{d:"M231.87,114l-168-95.89A16,16,0,0,0,40.92,37.34L71.55,128,40.92,218.67A16,16,0,0,0,56,240a16.15,16.15,0,0,0,7.93-2.1l167.92-96.05a16,16,0,0,0,.05-27.89ZM56,224a.56.56,0,0,0,0-.12L85.74,136H144a8,8,0,0,0,0-16H85.74L56.06,32.16A.46.46,0,0,0,56,32l168,95.83Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M240,127.89a16,16,0,0,1-8.18,14L63.9,237.9A16.15,16.15,0,0,1,56,240a16,16,0,0,1-15-21.33l27-79.95A4,4,0,0,1,71.72,136H144a8,8,0,0,0,8-8.53,8.19,8.19,0,0,0-8.26-7.47h-72a4,4,0,0,1-3.79-2.72l-27-79.94A16,16,0,0,1,63.84,18.07l168,95.89A16,16,0,0,1,240,127.89Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M230.88,115.69l-168-95.88a14,14,0,0,0-20,16.87L73.66,128,42.81,219.33A14,14,0,0,0,56,238a14.15,14.15,0,0,0,6.93-1.83L230.84,140.1a14,14,0,0,0,0-24.41Zm-5.95,14L57,225.73a2,2,0,0,1-2.86-2.42.42.42,0,0,0,0-.1L84.3,134H144a6,6,0,0,0,0-12H84.3L54.17,32.8a.3.3,0,0,0,0-.1,1.87,1.87,0,0,1,.6-2.2A1.85,1.85,0,0,1,57,30.25l168,95.89a1.93,1.93,0,0,1,1,1.74A2,2,0,0,1,224.93,129.66Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M231.87,114l-168-95.89A16,16,0,0,0,40.92,37.34L71.55,128,40.92,218.67A16,16,0,0,0,56,240a16.15,16.15,0,0,0,7.93-2.1l167.92-96.05a16,16,0,0,0,.05-27.89ZM56,224a.56.56,0,0,0,0-.12L85.74,136H144a8,8,0,0,0,0-16H85.74L56.06,32.16A.46.46,0,0,0,56,32l168,95.83Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M229.89,117.43l-168-95.88A12,12,0,0,0,44.7,36l31.08,92L44.71,220A12,12,0,0,0,56,236a12.13,12.13,0,0,0,5.93-1.57l167.94-96.08a12,12,0,0,0,0-20.92Zm-4,14L58,227.47a4,4,0,0,1-5.72-4.83l0-.07L82.87,132H144a4,4,0,0,0,0-8H82.87L52.26,33.37A3.89,3.89,0,0,1,53.44,29,4.13,4.13,0,0,1,56,28a3.88,3.88,0,0,1,1.93.54l168,95.87a4,4,0,0,1,0,7Z"}))]]);var Mh=Object.defineProperty,Th=Object.defineProperties,jh=Object.getOwnPropertyDescriptors,F2=Object.getOwnPropertySymbols,Lh=Object.prototype.hasOwnProperty,Oh=Object.prototype.propertyIsEnumerable,N2=(e,t,n)=>t in e?Mh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const M2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>Th(e,jh(t)))(((e,t)=>{for(var n in t||(t={}))Lh.call(t,n)&&N2(e,n,t[n]);if(F2)for(var n of F2(t))Oh.call(t,n)&&N2(e,n,t[n]);return e})({ref:t},e),{weights:Nh}))));M2.displayName="PaperPlaneRight";const Rh=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M212.48,136.49l-82.06,82a60,60,0,0,1-84.85-84.88l98.16-97.89a40,40,0,0,1,56.56,56.59l-.17.16-95.8,92.22a12,12,0,1,1-16.64-17.3l95.71-92.12a16,16,0,0,0-22.7-22.56L62.53,150.57a36,36,0,0,0,50.93,50.91l82.06-82a12,12,0,0,1,17,17Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M180.75,104.75,204,128l-82.06,81.94a48,48,0,0,1-67.88-67.88L153.37,41.37a32,32,0,0,1,45.26,45.26Z",opacity:"0.2"}),h.createElement("path",{d:"M209.66,122.34a8,8,0,0,1,0,11.32l-82.05,82a56,56,0,0,1-79.2-79.21L147.67,35.73a40,40,0,1,1,56.61,56.55L105,193A24,24,0,1,1,71,159L154.3,74.38A8,8,0,1,1,165.7,85.6L82.39,170.31a8,8,0,1,0,11.27,11.36L192.93,81A24,24,0,1,0,159,47L59.76,147.68a40,40,0,1,0,56.53,56.62l82.06-82A8,8,0,0,1,209.66,122.34Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,50.34a8,8,0,0,0-11.32,0L87.09,143A24,24,0,1,0,121,177l49.32-50.32a8,8,0,1,1,11.42,11.2l-49.37,50.38a40,40,0,1,1-56.62-56.51L143,63.09A24,24,0,1,1,177,97L109.71,165.6a8,8,0,1,1-11.42-11.2L165.6,85.71a8,8,0,0,0,.06-11.37Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M208.25,123.76a6,6,0,0,1,0,8.49l-82.06,82a54,54,0,0,1-76.36-76.39L149.1,37.14a38,38,0,1,1,53.77,53.72L103.59,191.54a22,22,0,1,1-31.15-31.09l83.28-84.67a6,6,0,0,1,8.56,8.42L81,168.91a10,10,0,1,0,14.11,14.18L194.35,82.4a26,26,0,1,0-36.74-36.8L58.33,146.28a42,42,0,1,0,59.37,59.44l82.06-82A6,6,0,0,1,208.25,123.76Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M209.66,122.34a8,8,0,0,1,0,11.32l-82.05,82a56,56,0,0,1-79.2-79.21L147.67,35.73a40,40,0,1,1,56.61,56.55L105,193A24,24,0,1,1,71,159L154.3,74.38A8,8,0,1,1,165.7,85.6L82.39,170.31a8,8,0,1,0,11.27,11.36L192.93,81A24,24,0,1,0,159,47L59.76,147.68a40,40,0,1,0,56.53,56.62l82.06-82A8,8,0,0,1,209.66,122.34Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M206.83,125.17a4,4,0,0,1,0,5.66l-82.06,82a52,52,0,0,1-73.54-73.55L150.52,38.55a36,36,0,1,1,50.94,50.9l-99.3,100.69a20,20,0,1,1-28.3-28.27l83.29-84.68a4,4,0,1,1,5.7,5.61L79.54,167.5a12,12,0,1,0,16.95,17L195.78,83.81A28,28,0,1,0,156.2,44.18L56.91,144.87a44,44,0,1,0,62.21,62.26l82-82A4,4,0,0,1,206.83,125.17Z"}))]]);var zh=Object.defineProperty,$h=Object.defineProperties,Bh=Object.getOwnPropertyDescriptors,T2=Object.getOwnPropertySymbols,Hh=Object.prototype.hasOwnProperty,Uh=Object.prototype.propertyIsEnumerable,j2=(e,t,n)=>t in e?zh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const L2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>$h(e,Bh(t)))(((e,t)=>{for(var n in t||(t={}))Hh.call(t,n)&&j2(e,n,t[n]);if(T2)for(var n of T2(t))Uh.call(t,n)&&j2(e,n,t[n]);return e})({ref:t},e),{weights:Rh}))));L2.displayName="Paperclip";const Zh=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),h.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z"}))]]);var Wh=Object.defineProperty,Gh=Object.defineProperties,Qh=Object.getOwnPropertyDescriptors,O2=Object.getOwnPropertySymbols,Yh=Object.prototype.hasOwnProperty,Kh=Object.prototype.propertyIsEnumerable,I2=(e,t,n)=>t in e?Wh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const P2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>Gh(e,Qh(t)))(((e,t)=>{for(var n in t||(t={}))Yh.call(t,n)&&I2(e,n,t[n]);if(O2)for(var n of O2(t))Kh.call(t,n)&&I2(e,n,t[n]);return e})({ref:t},e),{weights:Zh}))));P2.displayName="Plus";const e4=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),h.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]);var t4=Object.defineProperty,n4=Object.defineProperties,u4=Object.getOwnPropertyDescriptors,R2=Object.getOwnPropertySymbols,r4=Object.prototype.hasOwnProperty,l4=Object.prototype.propertyIsEnumerable,z2=(e,t,n)=>t in e?t4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const $2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>n4(e,u4(t)))(((e,t)=>{for(var n in t||(t={}))r4.call(t,n)&&z2(e,n,t[n]);if(R2)for(var n of R2(t))l4.call(t,n)&&z2(e,n,t[n]);return e})({ref:t},e),{weights:e4}))));$2.displayName="Warning";const a4=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),h.createElement("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"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("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"}))],["regular",h.createElement(h.Fragment,null,h.createElement("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"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]);var s4=Object.defineProperty,c4=Object.defineProperties,f4=Object.getOwnPropertyDescriptors,B2=Object.getOwnPropertySymbols,d4=Object.prototype.hasOwnProperty,p4=Object.prototype.propertyIsEnumerable,H2=(e,t,n)=>t in e?s4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Bi=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>c4(e,f4(t)))(((e,t)=>{for(var n in t||(t={}))d4.call(t,n)&&H2(e,n,t[n]);if(B2)for(var n of B2(t))p4.call(t,n)&&H2(e,n,t[n]);return e})({ref:t},e),{weights:a4}))));Bi.displayName="X";const Hi={plus:P2,chatBubble:f2,support:_2,search2:a2,search:D2,magic:C2};function w4({settings:e,isOpen:t,toggleBot:n,offsetBottom:u}){const r=Object.hasOwn(Hi,null==e?void 0:e.chatIcon)?Hi[e.chatIcon]:Hi.plus,l="white"===e.arrowDownColor?"tw-pg":"tw-og",o=u?`calc(16px + ${u})`:"16px",i="bottom-left"===e.position;return p.jsx("button",{id:"animuz-embed-chat-button",onClick:n,className:"tw-a tw-qd tw-ch tw-ho tw-id tw-rc tw-ya tw-wf tw-pm tw-fo",style:{position:"fixed",bottom:o,...i?{left:"16px",right:"unset"}:{right:"16px",left:"unset"},height:null!=e&&e.sizeOpenButton?`${null==e?void 0:e.sizeOpenButton}px`:"56px",width:null!=e&&e.sizeOpenButton?`${null==e?void 0:e.sizeOpenButton}px`:"56px",borderRadius:"9999px",backgroundColor:e.buttonColor},"aria-label":"Toggle Menu",children:p.jsxs("div",{className:" tw-ho tw-cg tw-sd tw-in tw-um tw-pm",children:[e.chatIconUrl?p.jsx("img",{style:{borderRadius:"9999px"},className:"tw-in tw-um tw-wf tw-xi"+(t?"tw-em tw-uj tw-pi":"tw-zj tw-jh tw-bl"),src:e.chatIconUrl,alt:"Chat Icon"}):p.jsx(r,{className:"tw-kk tw-vi tw-pg tw-ng tw-fl tw-wf tw-xi "+(t?"tw-em tw-uj tw-pi":"tw-zj tw-jh tw-bl")}),p.jsx("svg",{viewBox:"0 0 24 24",className:`tw-kk ${l} tw-el tw-wf tw-xi tw-vq tw-kq tw-fj `+(t?"tw-zj tw-bl tw-jh":"tw-em tw-sg tw-uj"),children:p.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})})]})})}const Ui="data:image/svg+xml,%3csvg%20width='30'%20height='31'%20viewBox='0%200%2030%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20y='0.143555'%20width='30'%20height='30'%20rx='15'%20fill='white'/%3e%3cg%20clip-path='url(%23clip0_1643_554)'%3e%3cmask%20id='mask0_1643_554'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='2'%20y='3'%20width='26'%20height='24'%3e%3cpath%20d='M27.1491%203.1709H2.94141V26.983H27.1491V3.1709Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1643_554)'%3e%3cpath%20d='M26.1442%209.97276C25.3739%208.6969%2024.2916%207.48327%2023.5608%206.84657C21.9655%205.45634%2020.6348%205.4902%2019.9834%205.63417C19.7098%205.69468%2019.4585%205.79445%2019.2373%205.9275C18.1007%205.09784%2016.718%204.69141%2015.0453%204.69141C13.3724%204.69141%2011.9897%205.09784%2010.8532%205.92754C10.6319%205.79449%2010.3807%205.69468%2010.107%205.63421C9.45581%205.49028%208.12493%205.45639%206.52976%206.84657C5.79894%207.48331%204.71668%208.69694%203.94622%209.9728C2.90311%2011.7002%202.67079%2013.0975%203.25561%2014.1261C3.96976%2015.382%205.05296%2015.7033%205.92742%2015.7826C5.71249%2016.6037%205.57977%2017.4821%205.57977%2018.5766C5.57977%2020.0273%205.91543%2021.2754%206.57759%2022.2862C7.15969%2023.1749%207.99769%2023.8865%209.06831%2024.4013C11.0464%2025.3524%2013.4269%2025.4624%2015.0453%2025.4624C16.6637%2025.4624%2019.0442%2025.3524%2021.0222%2024.4013C22.0928%2023.8865%2022.9309%2023.1749%2023.513%2022.2862C24.1751%2021.2753%2024.5108%2020.0272%2024.5108%2018.5766C24.5108%2017.4821%2024.3781%2016.6037%2024.1631%2015.7826C25.0376%2015.7033%2026.1208%2015.3819%2026.8349%2014.1261C27.4197%2013.0975%2027.1873%2011.7002%2026.1442%209.97276ZM6.3871%2014.347C5.61321%2014.327%204.98394%2014.1797%204.54892%2013.4146C4.25379%2012.8956%204.49845%2011.9124%205.22027%2010.7171C5.90535%209.5826%206.88864%208.48101%207.51233%207.9375C8.54239%207.0397%209.31458%206.99023%209.67787%207.03812C8.59673%208.33459%207.93403%2010.0195%207.37988%2011.6576C7.15038%2012.336%206.92921%2012.9152%206.71522%2013.4753C6.60078%2013.775%206.49071%2014.0633%206.3871%2014.347ZM14.0786%2019.1257C13.6953%2018.7489%2013.4947%2018.3533%2013.4947%2018.1573C13.4947%2017.9823%2013.5252%2017.9697%2013.6385%2017.9228C13.9616%2017.7891%2014.5961%2017.7736%2015.0453%2017.7736C15.4944%2017.7736%2016.1289%2017.7891%2016.452%2017.9228C16.5653%2017.9697%2016.5958%2017.9823%2016.5958%2018.1573C16.5958%2018.3533%2016.3952%2018.7488%2016.0119%2019.1257C15.6349%2019.4963%2015.2325%2019.6962%2015.0452%2019.6962C14.8579%2019.6962%2014.4555%2019.4963%2014.0786%2019.1257ZM20.3715%2023.0918C19.2344%2023.6385%2017.7291%2023.9351%2015.7861%2023.9938V21.0083C16.3678%2020.7875%2016.8416%2020.3707%2017.0594%2020.1567C17.3655%2019.8557%2018.0776%2019.0584%2018.0776%2018.1573C18.0776%2017.4202%2017.7044%2016.8598%2017.0266%2016.5794C16.5749%2016.3924%2016.0008%2016.3161%2015.0453%2016.3161C14.0897%2016.3161%2013.5157%2016.3924%2013.0639%2016.5794C12.3862%2016.8598%2012.013%2017.4202%2012.013%2018.1573C12.013%2019.0584%2012.725%2019.8557%2013.0311%2020.1567C13.2489%2020.3708%2013.7227%2020.7875%2014.3044%2021.0083V23.9938C12.3615%2023.9351%2010.8561%2023.6386%209.71898%2023.0918C7.93073%2022.232%207.06144%2020.7551%207.06144%2018.5766C7.06144%2016.7129%207.49802%2015.5699%208.10223%2013.9879C8.31087%2013.4417%208.54729%2012.8225%208.78571%2012.1178C10.0954%208.24666%2011.4808%206.14891%2015.0453%206.14891C18.6097%206.14891%2019.9951%208.2467%2021.3047%2012.1178C21.5431%2012.8226%2021.7796%2013.4417%2021.9882%2013.9879C22.5924%2015.5699%2023.029%2016.7128%2023.029%2018.5766C23.029%2020.7551%2022.1597%2022.232%2020.3715%2023.0918ZM25.5417%2013.4146C25.1066%2014.1797%2024.4773%2014.327%2023.7034%2014.347C23.5998%2014.0632%2023.4898%2013.775%2023.3754%2013.4753C23.1614%2012.9152%2022.9402%2012.336%2022.7107%2011.6576C22.1565%2010.0195%2021.4938%208.33459%2020.4127%207.03812C20.776%206.99036%2021.5482%207.0397%2022.5783%207.93754C23.202%208.48097%2024.1853%209.58251%2024.8703%2010.717C25.5921%2011.9124%2025.8368%2012.8956%2025.5417%2013.4146Z'%20fill='%2350A0FF'/%3e%3cpath%20d='M12.5777%2012.4375C12.0417%2012.4375%2011.6055%2012.871%2011.6055%2013.4063C11.6055%2013.9415%2012.0417%2014.3754%2012.5777%2014.3754C13.1145%2014.3754%2013.5506%2013.9414%2013.5506%2013.4063C13.5506%2012.871%2013.1145%2012.4375%2012.5777%2012.4375Z'%20fill='%2350A0FF'/%3e%3cpath%20d='M17.5037%2012.4297C16.9625%2012.4297%2016.5234%2012.8669%2016.5234%2013.406C16.5234%2013.9452%2016.9625%2014.3824%2017.5037%2014.3824C18.0443%2014.3824%2018.4833%2013.9452%2018.4833%2013.406C18.4834%2012.8669%2018.0443%2012.4297%2017.5037%2012.4297Z'%20fill='%2350A0FF'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1643_554'%3e%3crect%20width='27'%20height='21'%20fill='white'%20transform='translate(1.52344%204.64355)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",g4=e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},_.createElement("g",{fill:"#fff",clipPath:"url(#line_svg__a)"},_.createElement("path",{d:"M13.5 0a13 13 0 1 0 0 26 13 13 0 0 0 0-26m8.125 12.705a4 4 0 0 1-.064.492 5.4 5.4 0 0 1-.622 1.772c-.147.263-.858 1.262-1.075 1.525-1.201 1.446-3.213 3.115-6.575 4.739a.443.443 0 0 1-.634-.443l.17-1.526a.443.443 0 0 0-.392-.49 9.5 9.5 0 0 1-3.217-.917c-2.305-1.139-3.841-3.173-3.841-5.49 0-3.57 3.637-6.458 8.125-6.458 2.254 0 4.293.739 5.761 1.91 1.376 1.1 2.256 2.594 2.35 4.252q.023.316.014.633"}),_.createElement("path",{d:"M11.26 13.796a.4.4 0 0 1 .122.296.415.415 0 0 1-.415.416H9.305a.42.42 0 0 1-.417-.416v-3.14a.4.4 0 0 1 .123-.295.416.416 0 0 1 .71.296v2.722h1.246a.4.4 0 0 1 .292.121M12.613 10.864v3.32a.326.326 0 0 1-.325.325h-.186a.325.325 0 0 1-.325-.325v-3.32a.325.325 0 0 1 .325-.325h.182a.327.327 0 0 1 .33.325M16.471 10.954v3.122a.433.433 0 0 1-.418.432.42.42 0 0 1-.282-.115c-.015-.011-.573-.738-1.047-1.35-.355-.456-.662-.855-.662-.855v1.904a.415.415 0 1 1-.832 0v-3.12a.43.43 0 0 1 .4-.433.42.42 0 0 1 .327.148c.018.02.876 1.137 1.36 1.773l.324.422v-1.92a.42.42 0 0 1 .415-.415.415.415 0 0 1 .415.407M17.93 12.939v.739h1.245a.416.416 0 1 1 0 .831h-1.666a.417.417 0 0 1-.416-.416v-3.138a.417.417 0 0 1 .416-.415h1.662a.417.417 0 1 1 0 .832H17.93v.738h1.245a.415.415 0 0 1 0 .83z"})),_.createElement("defs",null,_.createElement("clipPath",{id:"line_svg__a"},_.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),v4=e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},_.createElement("g",{clipPath:"url(#messenger_svg__a)"},_.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M13.458.395q3.516.039 6.352 1.728a12.7 12.7 0 0 1 4.514 4.541q1.678 2.854 1.718 6.39-.1 4.84-3.053 8.267c-1.969 2.285-4.49 3.699-7.1 4.24v-9.045h2.467l.558-3.555h-3.736v-2.328c-.021-.482.131-.957.43-1.337q.448-.57 1.579-.6h2.256V5.582q-.049-.015-.922-.124a18 18 0 0 0-1.988-.123q-2.256.01-3.569 1.273-1.312 1.262-1.341 3.652v2.701H8.779v3.555h2.844v9.046c-3.205-.542-5.727-1.956-7.695-4.24Q.973 17.893.875 13.054q.04-3.538 1.717-6.39a12.7 12.7 0 0 1 4.514-4.542Q9.943.435 13.458.395",clipRule:"evenodd"})),_.createElement("defs",null,_.createElement("clipPath",{id:"messenger_svg__a"},_.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),y4=e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},_.createElement("g",{clipPath:"url(#phone_svg__a)"},_.createElement("path",{fill:"#fff",d:"M22.69 3.806C17.614-1.27 9.383-1.269 4.307 3.81s-5.075 13.309.003 18.385c5.077 5.076 13.308 5.075 18.384-.003a13 13 0 0 0-.002-18.385M20.189 18.11l-.002.002v-.005l-.659.655a3.47 3.47 0 0 1-3.271.936 11.5 11.5 0 0 1-3.346-1.5 15.5 15.5 0 0 1-2.639-2.127A15.6 15.6 0 0 1 8.3 13.678a12.1 12.1 0 0 1-1.482-3 3.47 3.47 0 0 1 .866-3.54l.772-.77a.55.55 0 0 1 .778-.002l.002.001 2.435 2.436a.55.55 0 0 1 .002.778l-.002.002-1.43 1.43a1.166 1.166 0 0 0-.121 1.516q.777 1.067 1.711 1.998 1.043 1.047 2.254 1.894c.465.324 1.096.27 1.499-.13l1.382-1.404a.55.55 0 0 1 .778-.002l.002.002 2.44 2.444a.55.55 0 0 1 .002.778"})),_.createElement("defs",null,_.createElement("clipPath",{id:"phone_svg__a"},_.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),x4=e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"5 20 530 159",...e},_.createElement("path",{fill:"currentColor",d:"M-.206 65.934c-.477-8.944 8.3-22.5 15.996-22.615 4.428-.046 10.215 3.456 14.346 6.442L88.15 24.662c.652-5.055 2.061-11.67 5.127-14.866 5.353-5.532 21.242-2.647 27.423 3.828 6.165 6.469.682 19.917 2.988 23.905 2.33 3.978 11.279 1.04 12.394 9.836 1.126 8.79-3.914 18.888-18.005 22.534-7.811 2.006-13.624-2.773-17.24-7.413l-51.82 22.419c.905 5.812.41 13.321-6.412 17.646-12.293 7.769-23.104 4.529-28.752-2.305-5.635-6.84 2.633-11.351 1.329-15.772-1.328-4.412-14.895-9.618-15.39-18.54M400.92-7.63c9.407-5.765 29.241-4.217 33.883 4.052 2.65 4.768 2.254 13.091 1.445 19.319l61.239 48.103c5.858-2.261 13.851-4.618 19.111-3.174 9.134 2.55 15.336 21.454 11.951 31.95-3.387 10.474-21.172 12.429-24.137 17.269-2.941 4.858 5.494 12.827-3.378 19.196-8.859 6.38-22.755 6.849-34.976-6.272-6.758-7.283-4.993-16.385-2.09-23.025l-54.701-42.967c-5.763 4.393-14.187 8.264-22.876 3.414-15.631-8.754-18.468-22.365-14.381-32.494 4.1-10.118 13.84-3.812 17.863-7.82 3.999-4.027 1.673-21.778 11.047-27.55M274.573 131.991c1.661-7.132 11.598-15.76 17.636-14.082 3.469.981 7.193 5.06 9.741 8.353l51.021-6.379c1.658-3.82 4.263-8.691 7.384-10.496 5.438-3.113 17.194 2.802 20.55 9.306 3.345 6.496-3.995 15.796-3.1 19.457.916 3.658 8.574 3.408 7.445 10.57-1.118 7.16-7.35 13.932-19.185 13.558-6.558-.22-10.012-5.308-11.782-9.782l-45.573 5.699c-.614 4.771-2.708 10.554-9.019 12.383-11.368 3.276-19.077-1.752-21.934-8.415-2.847-6.665 4.636-8.308 4.622-12.08-.033-3.768-9.448-10.973-7.806-18.092"})),b4=e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},_.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M22 12c0 5.52-4.48 10-10 10s-8.89-5.56-8.89-5.56m0 0h4.52m-4.52 0v5M2 12C2 6.48 6.44 2 12 2c6.67 0 10 5.56 10 5.56m0 0v-5m0 5h-4.44"})),_4=e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 25",...e},_.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M2 10.88V9.9c0-5 2-7 7-7h6c5 0 7 2 7 7v6c0 5-2 7-7 7h-1"}),_.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m13 11.9 5.01-5.02H14M18.01 6.88v4.01M11 17.05v2.7c0 2.25-.9 3.15-3.15 3.15h-2.7C2.9 22.9 2 22 2 19.75v-2.7c0-2.25.9-3.15 3.15-3.15h2.7c2.25 0 3.15.9 3.15 3.15"})),k4=e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},_.createElement("path",{fill:"#C3C3C3",fillRule:"evenodd",d:"M20.53 7.47a.75.75 0 0 1 0 1.06l-8 8a.75.75 0 0 1-1.06 0l-8-8a.75.75 0 0 1 1.06-1.06L12 14.94l7.47-7.47a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})),dt={en:{today:"Today",yesterday:"Yesterday",copy:"Copy",copySuccess:"Copied",suggest:"Suggest",report:"Report",selectAssistantLabel:"Select Assistant",statistic:"Stats",question:"Question",answer:"Answer",answerCorrect:"Correct Answer",sources:"Sources",sourcesEmpty:"No sources",remark:"Remark",cancel:"Cancel",attachFile:"Attach file",fileTooLarge:"File too large (max 5MB)",unsupportedFile:"Unsupported file type",uploadFailed:"Upload failed"},th:{today:"วันนี้",yesterday:"เมื่อวาน",copy:"คัดลอก",copySuccess:"คัดลอกสำเร็จ",suggest:"แนะนำ",report:"รายงาน",selectAssistantLabel:"เลือกข้อมูล",statistic:"สถิติ",question:"คำถาม",answer:"คำตอบ",answerCorrect:"คำตอบที่ถูกต้อง",sources:"เอกสารอ้างอิง",sourcesEmpty:"ไม่มีเอกสาร",remark:"หมายเหตุ",cancel:"ยกเลิก",attachFile:"แนบไฟล์",fileTooLarge:"ไฟล์ใหญ่เกินไป (สูงสุด 5MB)",unsupportedFile:"ประเภทไฟล์ไม่รองรับ",uploadFailed:"อัปโหลดล้มเหลว"}},En="https://api.rudi.animuz.ai",U2_chat=async(e,t,n="")=>{const u=await fetch(`${n||En}/v2/public/chat`,{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)});return[await u.json(),u.status]},U2_listAssistants=async(e,t="")=>await(await fetch(`${t||En}/v2/public/assistant`,{method:"GET",headers:{"Content-Type":"application/json",...e}})).json(),Er={getMessages:async(e,t="")=>{try{return(await(await fetch(`${t||En}/v2/public/conversations/message`,{method:"GET",headers:{"Content-Type":"application/json",...e}})).json()).data}catch(n){throw console.error(n),n}},resetMessages:async(e,t="")=>{try{return await(await fetch(`${t||En}/v2/public/conversations/message`,{method:"DELETE",headers:{"Content-Type":"application/json",...e}})).json()}catch(n){throw console.error(n),n}},sendEvent:async(e,t,n="")=>{try{return await(await fetch(`${n||En}/v2/public/conversations/event`,{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)})).json()}catch(u){throw console.error(u),u}},suggestionsNoAuth:async(e,t,n="")=>{try{return await(await fetch(`${n||En}/v2/public/suggest`,{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)})).json()}catch(u){throw console.error(u),u}},changeAssistant:async(e,t,n="")=>{try{return await(await fetch(`${n||En}/v2/public/conversations/assistant`,{method:"PUT",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)})).json()}catch(u){throw console.error(u),u}}};const q2=({settings:e,closeChat:t,sessionId:n,resetChat:u,isNoMessage:r,isFullScreen:l,isIframe:o,toggleFullScreen:i})=>{const a=e.language,s=dt[a]||dt.en,{assistants:c,loading:f,error:w,selectedAssistant:y,changeAssistant:g}=function(e,t=null){const[n,u]=_.useState([]),[r,l]=_.useState(null),[o,i]=_.useState(!0),[a,s]=_.useState(null);return _.useEffect((()=>{e.embedId&&t&&null!==e.showAssistants&&async function(){try{const w=await U2_listAssistants({"client-id":e.embedId,"session-id":t},e.restUrl);if(u(w),w.length>0){const y=w.find((g=>!0===g.isCurrentLocked));l((null==y?void 0:y.assistantID)??w[0].assistantID)}else l(null)}catch(w){s(w.message)}finally{i(!1)}}()}),[e.embedId,t,e.showAssistants]),{assistants:n,loading:o,error:a,selectedAssistant:r,changeAssistant:async f=>{try{await Er.changeAssistant({assistantID:f},{"client-id":e.embedId,"session-id":t},e.restUrl),l(f)}catch(w){console.error("Error changing assistant:",w)}}}}(e,n),k=()=>{if(c.length>0&&null!==e.showAssistants)return p.jsxs("div",{className:"tw-zk tw-sm",children:[p.jsx("select",{id:"selectRudi",className:"anm-peer tw-in tw-uc tw-jg tw-ti tw-rm tw-wc tw-rq",value:y||"",onChange:D=>g(D.target.value),children:c.map(((D,v)=>p.jsx("option",{value:D.assistantID,children:D.name},v)))}),p.jsx(k4,{className:"tw-kk tw-am tw-nm tw-gk tw-gc tw-gf tw-xi tw-wf tw-va tw-ib"})]})};return p.jsxs("header",{style:{"--bg-color":e.bgColorChat??"#f3f4f6"},className:"tw-qq tw-fi tw-gn tw-xa",children:[p.jsxs("div",{className:"tw-ho tw-qk tw-lh tw-tp tw-zk tw-dd tw-be tw-yf "+(V2(e)||l||null!==e.showAssistants?"tw-lj":r||null===e.showAssistants?"tw-sk":"tw-kj"),style:{backgroundColor:e.headerBgColor??"#FFFFFF",color:e.headerTextColor??"#000000"},children:["dog"===e.headerBgPattern&&p.jsx(x4,{alt:"Background",className:"tw-kk tw-xm tw-ao tw-om tw-ig tw-li tw-ui"}),p.jsxs("div",{className:"tw-ho tw-um tw-cg",children:[p.jsx("div",{className:"tw-xo tw-ap tw-ho tw-cg tw-fq",children:p.jsx("div",{className:`tw-ho tw-sd tw-cg tw-so ${e.showAssistants?"tw-hm":"tw-fm"} tw-lk tw-lg`,children:p.jsx("img",{className:"tw-in tw-um tw-td tw-lg",src:e.brandImageUrl??Ui,alt:e.brandName?e.brandName+" Logo":"Rudi Logo"})})}),p.jsxs("div",{className:"tw-ho tw-qk tw-ek tw-in tw-fq",children:[p.jsxs("div",{className:"tw-ho tw-bd tw-in tw-cg",children:[p.jsxs("div",{className:"tw-ho tw-qk",children:[p.jsx("span",{className:"tw-jm tw-ke tw-mq tw-qg tw-jj",children:e.brandName}),p.jsx("span",{className:"tw-km tw-fh tw-ae tw-mq tw-qg tw-jj",children:e.brandSlogan})]}),p.jsxs("div",{className:"tw-ho tw-cg tw-kk tw-bm tw-nm tw-gc",children:[p.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},className:"tw-ch tw-pc tw-eo tw-nf tw-qd tw-mi tw-lc tw-ml tw-go tw-fe tw-mc tw-ya tw-wf",onClick:u,children:p.jsx(b4,{stroke:"currentColor",width:"100%",height:"100%",style:{color:e.headerTextColor??"#000000"}})}),"on"===e.allowFullscreen&&p.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},"data-fullscreen":l,className:"tw-vm tw-ll tw-ch tw-nd tw-mq tw-eh tw-qd tw-mi tw-lc tw-fn tw-qq tw-qg tw-jd tw-l tw-ya tw-wf",onClick:i,children:p.jsx(_4,{stroke:"currentColor",width:"100%",height:"100%",style:{color:e.headerTextColor??"#000000"}})}),p.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},type:"button",onClick:t,"data-isIframe":o,className:"tw-zi tw-aa tw-ch tw-pc tw-eo tw-qd tw-mi tw-lc tw-ml tw-go tw-fe","aria-label":"Close",children:p.jsx(Bi,{width:"100%",height:"100%"})})]})]}),!l&&null!==e.showAssistants&&p.jsx(k,{})]})]}),V2(e)?p.jsxs("div",{className:"tw-ko tw-qi tw-pm tw-ho tw-cg tw-yn tw-fi tw-be tw-yf tw-pn",children:[e.socialFbUrl&&p.jsx("button",{className:"tw-ch tw-nd tw-mq tw-oq tw-qd tw-ya tw-wf tw-jd tw-rc",children:p.jsx(v4,{className:"tw-en",fill:"#FFFFFF",style:{color:e.headerBgColor??"#000000"}})}),e.socialLineUrl&&p.jsx("button",{className:"tw-ch tw-nd tw-mq tw-oq tw-qd tw-ya tw-wf tw-jd tw-rc",children:p.jsx(g4,{className:"tw-en",fill:"#FFFFFF"})}),e.socialPhoneUrl&&p.jsx("button",{className:"tw-ch tw-nd tw-mq tw-oq tw-qd tw-ya tw-wf tw-jd tw-rc",children:p.jsx(y4,{className:"tw-en",fill:"#FFFFFF"})})]}):null]}),l&&null!==e.showAssistants&&p.jsxs("div",{className:"tw-wo tw-ho tw-rn tw-cg tw-ve tw-ul tw-in",children:[p.jsx("label",{htmlFor:"selectRudi",className:"tw-gi tw-ke",children:s.selectAssistantLabel}),p.jsx(k,{})]})]})},V2=e=>e.socialFbUrl||e.socialLineUrl||e.socialPhoneUrl,qi=(e,t=void 0)=>{let u,n=!1;return e.map((({type:l,sender:o,senderID:i,message:a,images:s,debugPre:c,timestamp:f,read:w,msgID:y,videos:g,fileUrls:k,teamID:D},v)=>{u=new Date(f).toLocaleDateString(),n=t!==u,t=new Date(f).toLocaleDateString();const d=function(e){const t=[];if(e&&e.length>0){var n={};e.forEach((u=>{var r;if("function_call"===u.type&&(n.name=u.name,n.args=u.arguments),"function_call_output"===u.type){if(n.response=u.output,u.metadata){const l=n.response.split("<doc").filter((i=>!!i)).map((i=>i.substring(i.indexOf(">")+1))),o=null==(r=null==u?void 0:u.metadata)?void 0:r.documents;n.documents=null==l?void 0:l.map(((i,a)=>{var s,c,f,w;return{pointID:null==(s=null==o?void 0:o[a])?void 0:s.pointID,key:null==(c=null==o?void 0:o[a])?void 0:c.key,filetype:null==(f=null==o?void 0:o[a])?void 0:f.filetype,score:null==(w=null==o?void 0:o[a])?void 0:w.score,content:i}}))}t.push(n),n={}}if("assistant"===u.role&&Object.hasOwn(u,"tool_calls")){const l=u.tool_calls[0].function;n.name=l.name,n.args=l.arguments}if("tool"===u.role&&u.name===n.name&&u.content){if(n.response=u.content,"retriever"===n.name&&u.metadata){const l=n.response.split("<doc").filter((i=>!!i)).map((i=>i.substring(i.indexOf(">")+1))),o=JSON.parse(u.metadata).documents;n.documents=l.map(((i,a)=>({key:o[a].key,filetype:o[a].filetype,score:o[a].score,content:i})))}t.push(n),n={}}}))}return t}(c);return{msgID:y,type:l,role:o,timestamp:f,read:w,content:a||"",images:s,debugPre:c,...A4(d),isDateChanged:n,currDate:u,senderID:i,videos:g,fileUrls:k,teamID:D}}))},A4=e=>{const t=e.find((l=>"retriever"===l.name||"rag"===l.name)),n=t&&t.response;var u=[],r="";return n&&(r=JSON.parse(t.args).query,u=t.documents),{isRAG:n,query:r,sources:u}};const Z2={};function _u(e,t){"string"!=typeof t&&(t=_u.defaultChars);const n=function(e){let t=Z2[e];if(t)return t;t=Z2[e]=[];for(let n=0;n<128;n++){const u=String.fromCharCode(n);t.push(u)}for(let n=0;n<e.length;n++){const u=e.charCodeAt(n);t[u]="%"+("0"+u.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,(function(u){let r="";for(let l=0,o=u.length;l<o;l+=3){const i=parseInt(u.slice(l+1,l+3),16);if(i<128)r+=n[i];else{if(192==(224&i)&&l+3<o){const a=parseInt(u.slice(l+4,l+6),16);if(128==(192&a)){const s=i<<6&1984|63&a;r+=s<128?"��":String.fromCharCode(s),l+=3;continue}}if(224==(240&i)&&l+6<o){const a=parseInt(u.slice(l+4,l+6),16),s=parseInt(u.slice(l+7,l+9),16);if(128==(192&a)&&128==(192&s)){const c=i<<12&61440|a<<6&4032|63&s;r+=c<2048||c>=55296&&c<=57343?"���":String.fromCharCode(c),l+=6;continue}}if(240==(248&i)&&l+9<o){const a=parseInt(u.slice(l+4,l+6),16),s=parseInt(u.slice(l+7,l+9),16),c=parseInt(u.slice(l+10,l+12),16);if(128==(192&a)&&128==(192&s)&&128==(192&c)){let f=i<<18&1835008|a<<12&258048|s<<6&4032|63&c;f<65536||f>1114111?r+="����":(f-=65536,r+=String.fromCharCode(55296+(f>>10),56320+(1023&f))),l+=9;continue}}r+="�"}}return r}))}_u.defaultChars=";/?:@&=+$,#",_u.componentChars="";const W2={};function Cr(e,t,n){"string"!=typeof t&&(n=t,t=Cr.defaultChars),typeof n>"u"&&(n=!0);const u=function(e){let t=W2[e];if(t)return t;t=W2[e]=[];for(let n=0;n<128;n++){const u=String.fromCharCode(n);/^[0-9a-z]$/i.test(u)?t.push(u):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t);let r="";for(let l=0,o=e.length;l<o;l++){const i=e.charCodeAt(l);if(n&&37===i&&l+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(l+1,l+3)))r+=e.slice(l,l+3),l+=2;else if(i<128)r+=u[i];else if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&l+1<o){const a=e.charCodeAt(l+1);if(a>=56320&&a<=57343){r+=encodeURIComponent(e[l]+e[l+1]),l++;continue}}r+="%EF%BF%BD"}else r+=encodeURIComponent(e[l])}return r}function Vi(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function al(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}Cr.defaultChars=";/?:@&=+$,-_.!~*'()#",Cr.componentChars="-_.!~*'()";const T4=/^([a-z0-9.+-]+:)/i,j4=/:[0-9]*$/,L4=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,I4=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),P4=["'"].concat(I4),G2=["%","/","?",";","#"].concat(P4),Q2=["/","?","#"],Y2=/^[+a-z0-9A-Z_-]{0,63}$/,z4=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,K2={javascript:!0,"javascript:":!0},X2={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Zi(e,t){if(e&&e instanceof al)return e;const n=new al;return n.parse(e,t),n}al.prototype.parse=function(e,t){let n,u,r,l=e;if(l=l.trim(),!t&&1===e.split("#").length){const s=L4.exec(l);if(s)return this.pathname=s[1],s[2]&&(this.search=s[2]),this}let o=T4.exec(l);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,l=l.substr(o.length)),(t||o||l.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r="//"===l.substr(0,2),r&&!(o&&K2[o])&&(l=l.substr(2),this.slashes=!0)),!K2[o]&&(r||o&&!X2[o])){let c,f,s=-1;for(let g=0;g<Q2.length;g++)u=l.indexOf(Q2[g]),-1!==u&&(-1===s||u<s)&&(s=u);f=-1===s?l.lastIndexOf("@"):l.lastIndexOf("@",s),-1!==f&&(c=l.slice(0,f),l=l.slice(f+1),this.auth=c),s=-1;for(let g=0;g<G2.length;g++)u=l.indexOf(G2[g]),-1!==u&&(-1===s||u<s)&&(s=u);-1===s&&(s=l.length),":"===l[s-1]&&s--;const w=l.slice(0,s);l=l.slice(s),this.parseHost(w),this.hostname=this.hostname||"";const y="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!y){const g=this.hostname.split(/\./);for(let k=0,D=g.length;k<D;k++){const v=g[k];if(v&&!v.match(Y2)){let d="";for(let m=0,x=v.length;m<x;m++)v.charCodeAt(m)>127?d+="x":d+=v[m];if(!d.match(Y2)){const m=g.slice(0,k),x=g.slice(k+1),E=v.match(z4);E&&(m.push(E[1]),x.unshift(E[2])),x.length&&(l=x.join(".")+l),this.hostname=m.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),y&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const i=l.indexOf("#");-1!==i&&(this.hash=l.substr(i),l=l.slice(0,i));const a=l.indexOf("?");return-1!==a&&(this.search=l.substr(a),l=l.slice(0,a)),l&&(this.pathname=l),X2[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},al.prototype.parseHost=function(e){let t=j4.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const $4=Object.freeze(Object.defineProperty({__proto__:null,decode:_u,encode:Cr,format:Vi,parse:Zi},Symbol.toStringTag,{value:"Module"})),J2=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ef=/[\0-\x1F\x7F-\x9F]/,Wi=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,tf=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,nf=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,H4=Object.freeze(Object.defineProperty({__proto__:null,Any:J2,Cc:ef,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:Wi,S:tf,Z:nf},Symbol.toStringTag,{value:"Module"})),U4=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),q4=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var Gi;const V4=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Z4=null!==(Gi=String.fromCodePoint)&&void 0!==Gi?Gi:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var we;!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(we||(we={}));var Cn,ge,Sn;function Qi(e){return e>=we.ZERO&&e<=we.NINE}function Q4(e){return e>=we.UPPER_A&&e<=we.UPPER_F||e>=we.LOWER_A&&e<=we.LOWER_F}function K4(e){return e===we.EQUALS||function(e){return e>=we.UPPER_A&&e<=we.UPPER_Z||e>=we.LOWER_A&&e<=we.LOWER_Z||Qi(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(Cn||(Cn={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(ge||(ge={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(Sn||(Sn={}));class X4{constructor(t,n,u){this.decodeTree=t,this.emitCodePoint=n,this.errors=u,this.state=ge.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Sn.Strict}startEntity(t){this.decodeMode=t,this.state=ge.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case ge.EntityStart:return t.charCodeAt(n)===we.NUM?(this.state=ge.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=ge.NamedEntity,this.stateNamedEntity(t,n));case ge.NumericStart:return this.stateNumericStart(t,n);case ge.NumericDecimal:return this.stateNumericDecimal(t,n);case ge.NumericHex:return this.stateNumericHex(t,n);case ge.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(32|t.charCodeAt(n))===we.LOWER_X?(this.state=ge.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=ge.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,u,r){if(n!==u){const l=u-n;this.result=this.result*Math.pow(r,l)+parseInt(t.substr(n,l),r),this.consumed+=l}}stateNumericHex(t,n){const u=n;for(;n<t.length;){const r=t.charCodeAt(n);if(!Qi(r)&&!Q4(r))return this.addToNumericResult(t,u,n,16),this.emitNumericEntity(r,3);n+=1}return this.addToNumericResult(t,u,n,16),-1}stateNumericDecimal(t,n){const u=n;for(;n<t.length;){const r=t.charCodeAt(n);if(!Qi(r))return this.addToNumericResult(t,u,n,10),this.emitNumericEntity(r,2);n+=1}return this.addToNumericResult(t,u,n,10),-1}emitNumericEntity(t,n){var u;if(this.consumed<=n)return null===(u=this.errors)||void 0===u||u.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===we.SEMI)this.consumed+=1;else if(this.decodeMode===Sn.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=V4.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(t!==we.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:u}=this;let r=u[this.treeIndex],l=(r&Cn.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const o=t.charCodeAt(n);if(this.treeIndex=J4(u,r,this.treeIndex+Math.max(1,l),o),this.treeIndex<0)return 0===this.result||this.decodeMode===Sn.Attribute&&(0===l||K4(o))?0:this.emitNotTerminatedNamedEntity();if(r=u[this.treeIndex],l=(r&Cn.VALUE_LENGTH)>>14,0!==l){if(o===we.SEMI)return this.emitNamedEntityData(this.treeIndex,l,this.consumed+this.excess);this.decodeMode!==Sn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:u}=this,r=(u[n]&Cn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,r,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,u){const{decodeTree:r}=this;return this.emitCodePoint(1===n?r[t]&~Cn.VALUE_LENGTH:r[t+1],u),3===n&&this.emitCodePoint(r[t+2],u),u}end(){var t;switch(this.state){case ge.NamedEntity:return 0===this.result||this.decodeMode===Sn.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case ge.NumericDecimal:return this.emitNumericEntity(0,2);case ge.NumericHex:return this.emitNumericEntity(0,3);case ge.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ge.EntityStart:return 0}}}function uf(e){let t="";const n=new X4(e,(u=>t+=Z4(u)));return function(r,l){let o=0,i=0;for(;(i=r.indexOf("&",i))>=0;){t+=r.slice(o,i),n.startEntity(l);const s=n.write(r,i+1);if(s<0){o=i+n.end();break}o=i+s,i=0===s?o+1:o}const a=t+r.slice(o);return t="",a}}function J4(e,t,n,u){const r=(t&Cn.BRANCH_LENGTH)>>7,l=t&Cn.JUMP_TABLE;if(0===r)return 0!==l&&u===l?n:-1;if(l){const a=u-l;return a<0||a>=r?-1:e[n+a]-1}let o=n,i=o+r-1;for(;o<=i;){const a=o+i>>>1,s=e[a];if(s<u)o=a+1;else{if(!(s>u))return e[a+r];i=a-1}}return-1}const e8=uf(U4);function rf(e,t=Sn.Legacy){return e8(e,t)}function Yi(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}uf(q4);const n8=Object.prototype.hasOwnProperty;function sl(e){return Array.prototype.slice.call(arguments,1).forEach((function(n){if(n){if("object"!=typeof n)throw new TypeError(n+"must be object");Object.keys(n).forEach((function(u){e[u]=n[u]}))}})),e}function lf(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Ki(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||!(65535&~e)||65534==(65535&e)||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function cl(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const of=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,l8=new RegExp(of.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),o8=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function ku(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l8,(function(t,n,u){return n||function(e,t){if(35===t.charCodeAt(0)&&o8.test(t)){const u="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Ki(u)?cl(u):e}const n=rf(e);return n!==e?n:e}(t,u)}))}const s8=/[&<>"]/,c8=/[&<>"]/g,f8={"&":"&","<":"<",">":">",'"':"""};function d8(e){return f8[e]}function An(e){return s8.test(e)?e.replace(c8,d8):e}const p8=/[.?*+^$[\]\\(){}|-]/g;function Q(e){switch(e){case 9:case 32:return!0}return!1}function Sr(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Ar(e){return Wi.test(e)||tf.test(e)}function Dr(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function fl(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const m8=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:lf,assign:sl,escapeHtml:An,escapeRE:function(e){return e.replace(p8,"\\$&")},fromCodePoint:cl,has:function(e,t){return n8.call(e,t)},isMdAsciiPunct:Dr,isPunctChar:Ar,isSpace:Q,isString:Yi,isValidEntityCode:Ki,isWhiteSpace:Sr,lib:{mdurl:$4,ucmicro:H4},normalizeReference:fl,unescapeAll:ku,unescapeMd:function(e){return e.indexOf("\\")<0?e:e.replace(of,"$1")}},Symbol.toStringTag,{value:"Module"}));const y8=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:function(e,t,n){let u,r=t;const l={ok:!1,pos:0,str:""};if(60===e.charCodeAt(r)){for(r++;r<n;){if(u=e.charCodeAt(r),10===u||60===u)return l;if(62===u)return l.pos=r+1,l.str=ku(e.slice(t+1,r)),l.ok=!0,l;92===u&&r+1<n?r+=2:r++}return l}let o=0;for(;r<n&&(u=e.charCodeAt(r),!(32===u||u<32||127===u));)if(92===u&&r+1<n){if(32===e.charCodeAt(r+1))break;r+=2}else{if(40===u&&(o++,o>32))return l;if(41===u){if(0===o)break;o--}r++}return t===r||0!==o||(l.str=ku(e.slice(t,r)),l.pos=r,l.ok=!0),l},parseLinkLabel:function(e,t,n){let u,r,l,o;const i=e.posMax,a=e.pos;for(e.pos=t+1,u=1;e.pos<i;){if(l=e.src.charCodeAt(e.pos),93===l&&(u--,0===u)){r=!0;break}if(o=e.pos,e.md.inline.skipToken(e),91===l)if(o===e.pos-1)u++;else if(n)return e.pos=a,-1}let s=-1;return r&&(s=e.pos),e.pos=a,s},parseLinkTitle:function(e,t,n,u){let r,l=t;const o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(u)o.str=u.str,o.marker=u.marker;else{if(l>=n)return o;let i=e.charCodeAt(l);if(34!==i&&39!==i&&40!==i)return o;t++,l++,40===i&&(i=41),o.marker=i}for(;l<n;){if(r=e.charCodeAt(l),r===o.marker)return o.pos=l+1,o.str+=ku(e.slice(t,l)),o.ok=!0,o;if(40===r&&41===o.marker)return o;92===r&&l+1<n&&l++,l++}return o.can_continue=!0,o.str+=ku(e.slice(t,l)),o}},Symbol.toStringTag,{value:"Module"})),Tt={};function Eu(){this.rules=sl({},Tt)}function Ge(){this.__rules__=[],this.__cache__=null}function Et(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}function af(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}Tt.code_inline=function(e,t,n,u,r){const l=e[t];return"<code"+r.renderAttrs(l)+">"+An(l.content)+"</code>"},Tt.code_block=function(e,t,n,u,r){const l=e[t];return"<pre"+r.renderAttrs(l)+"><code>"+An(e[t].content)+"</code></pre>\n"},Tt.fence=function(e,t,n,u,r){const l=e[t],o=l.info?ku(l.info).trim():"";let s,i="",a="";if(o){const c=o.split(/(\s+)/g);i=c[0],a=c.slice(2).join("")}if(s=n.highlight&&n.highlight(l.content,i,a)||An(l.content),0===s.indexOf("<pre"))return s+"\n";if(o){const c=l.attrIndex("class"),f=l.attrs?l.attrs.slice():[];c<0?f.push(["class",n.langPrefix+i]):(f[c]=f[c].slice(),f[c][1]+=" "+n.langPrefix+i);const w={attrs:f};return`<pre><code${r.renderAttrs(w)}>${s}</code></pre>\n`}return`<pre><code${r.renderAttrs(l)}>${s}</code></pre>\n`},Tt.image=function(e,t,n,u,r){const l=e[t];return l.attrs[l.attrIndex("alt")][1]=r.renderInlineAsText(l.children,n,u),r.renderToken(e,t,n)},Tt.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},Tt.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},Tt.text=function(e,t){return An(e[t].content)},Tt.html_block=function(e,t){return e[t].content},Tt.html_inline=function(e,t){return e[t].content},Eu.prototype.renderAttrs=function(t){let n,u,r;if(!t.attrs)return"";for(r="",n=0,u=t.attrs.length;n<u;n++)r+=" "+An(t.attrs[n][0])+'="'+An(t.attrs[n][1])+'"';return r},Eu.prototype.renderToken=function(t,n,u){const r=t[n];let l="";if(r.hidden)return"";r.block&&-1!==r.nesting&&n&&t[n-1].hidden&&(l+="\n"),l+=(-1===r.nesting?"</":"<")+r.tag,l+=this.renderAttrs(r),0===r.nesting&&u.xhtmlOut&&(l+=" /");let o=!1;if(r.block&&(o=!0,1===r.nesting&&n+1<t.length)){const i=t[n+1];("inline"===i.type||i.hidden||-1===i.nesting&&i.tag===r.tag)&&(o=!1)}return l+=o?">\n":">",l},Eu.prototype.renderInline=function(e,t,n){let u="";const r=this.rules;for(let l=0,o=e.length;l<o;l++){const i=e[l].type;typeof r[i]<"u"?u+=r[i](e,l,t,n,this):u+=this.renderToken(e,l,t)}return u},Eu.prototype.renderInlineAsText=function(e,t,n){let u="";for(let r=0,l=e.length;r<l;r++)switch(e[r].type){case"text":case"html_inline":case"html_block":u+=e[r].content;break;case"image":u+=this.renderInlineAsText(e[r].children,t,n);break;case"softbreak":case"hardbreak":u+="\n"}return u},Eu.prototype.render=function(e,t,n){let u="";const r=this.rules;for(let l=0,o=e.length;l<o;l++){const i=e[l].type;"inline"===i?u+=this.renderInline(e[l].children,t,n):typeof r[i]<"u"?u+=r[i](e,l,t,n,this):u+=this.renderToken(e,l,t,n)}return u},Ge.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},Ge.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach((function(n){n.enabled&&n.alt.forEach((function(u){t.indexOf(u)<0&&t.push(u)}))})),e.__cache__={},t.forEach((function(n){e.__cache__[n]=[],e.__rules__.forEach((function(u){u.enabled&&(n&&u.alt.indexOf(n)<0||e.__cache__[n].push(u.fn))}))}))},Ge.prototype.at=function(e,t,n){const u=this.__find__(e),r=n||{};if(-1===u)throw new Error("Parser rule not found: "+e);this.__rules__[u].fn=t,this.__rules__[u].alt=r.alt||[],this.__cache__=null},Ge.prototype.before=function(e,t,n,u){const r=this.__find__(e),l=u||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:n,alt:l.alt||[]}),this.__cache__=null},Ge.prototype.after=function(e,t,n,u){const r=this.__find__(e),l=u||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:n,alt:l.alt||[]}),this.__cache__=null},Ge.prototype.push=function(e,t,n){const u=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:u.alt||[]}),this.__cache__=null},Ge.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach((function(u){const r=this.__find__(u);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+u)}this.__rules__[r].enabled=!0,n.push(u)}),this),this.__cache__=null,n},Ge.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(n){n.enabled=!1})),this.enable(e,t)},Ge.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach((function(u){const r=this.__find__(u);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+u)}this.__rules__[r].enabled=!1,n.push(u)}),this),this.__cache__=null,n},Ge.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},Et.prototype.attrIndex=function(t){if(!this.attrs)return-1;const n=this.attrs;for(let u=0,r=n.length;u<r;u++)if(n[u][0]===t)return u;return-1},Et.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},Et.prototype.attrSet=function(t,n){const u=this.attrIndex(t),r=[t,n];u<0?this.attrPush(r):this.attrs[u]=r},Et.prototype.attrGet=function(t){const n=this.attrIndex(t);let u=null;return n>=0&&(u=this.attrs[n][1]),u},Et.prototype.attrJoin=function(t,n){const u=this.attrIndex(t);u<0?this.attrPush([t,n]):this.attrs[u][1]=this.attrs[u][1]+" "+n},af.prototype.Token=Et;const x8=/\r\n?|\n/g,b8=/\0/g;function C8(e){return/^<a[>\s]/i.test(e)}function S8(e){return/^<\/a\s*>/i.test(e)}const sf=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,D8=/\((c|tm|r)\)/i,F8=/\((c|tm|r)\)/gi,N8={c:"©",r:"®",tm:"™"};function M8(e,t){return N8[t.toLowerCase()]}function T8(e){let t=0;for(let n=e.length-1;n>=0;n--){const u=e[n];"text"===u.type&&!t&&(u.content=u.content.replace(F8,M8)),"link_open"===u.type&&"auto"===u.info&&t--,"link_close"===u.type&&"auto"===u.info&&t++}}function j8(e){let t=0;for(let n=e.length-1;n>=0;n--){const u=e[n];"text"===u.type&&!t&&sf.test(u.content)&&(u.content=u.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===u.type&&"auto"===u.info&&t--,"link_close"===u.type&&"auto"===u.info&&t++}}const O8=/['"]/,cf=/['"]/g,ff="’";function dl(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function I8(e,t){let n;const u=[];for(let r=0;r<e.length;r++){const l=e[r],o=e[r].level;for(n=u.length-1;n>=0&&!(u[n].level<=o);n--);if(u.length=n+1,"text"!==l.type)continue;let i=l.content,a=0,s=i.length;e:for(;a<s;){cf.lastIndex=a;const c=cf.exec(i);if(!c)break;let f=!0,w=!0;a=c.index+1;const y="'"===c[0];let g=32;if(c.index-1>=0)g=i.charCodeAt(c.index-1);else for(n=r-1;n>=0&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n--)if(e[n].content){g=e[n].content.charCodeAt(e[n].content.length-1);break}let k=32;if(a<s)k=i.charCodeAt(a);else for(n=r+1;n<e.length&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n++)if(e[n].content){k=e[n].content.charCodeAt(0);break}const D=Dr(g)||Ar(String.fromCharCode(g)),v=Dr(k)||Ar(String.fromCharCode(k)),d=Sr(g),m=Sr(k);if(m?f=!1:v&&(d||D||(f=!1)),d?w=!1:D&&(m||v||(w=!1)),34===k&&'"'===c[0]&&g>=48&&g<=57&&(w=f=!1),f&&w&&(f=D,w=v),f||w){if(w)for(n=u.length-1;n>=0;n--){let x=u[n];if(u[n].level<o)break;if(x.single===y&&u[n].level===o){let E,C;x=u[n],y?(E=t.md.options.quotes[2],C=t.md.options.quotes[3]):(E=t.md.options.quotes[0],C=t.md.options.quotes[1]),l.content=dl(l.content,c.index,C),e[x.token].content=dl(e[x.token].content,x.pos,E),a+=C.length-1,x.token===r&&(a+=E.length-1),i=l.content,s=i.length,u.length=n;continue e}}f?u.push({token:r,pos:c.index,single:y,level:o}):w&&y&&(l.content=dl(l.content,c.index,ff))}else y&&(l.content=dl(l.content,c.index,ff))}}}const Xi=[["normalize",function(e){let t;t=e.src.replace(x8,"\n"),t=t.replace(b8,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){const t=e.tokens;for(let n=0,u=t.length;n<u;n++){const r=t[n];"inline"===r.type&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}],["linkify",function(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,u=t.length;n<u;n++){if("inline"!==t[n].type||!e.md.linkify.pretest(t[n].content))continue;let r=t[n].children,l=0;for(let o=r.length-1;o>=0;o--){const i=r[o];if("link_close"!==i.type){if("html_inline"===i.type&&(C8(i.content)&&l>0&&l--,S8(i.content)&&l++),!(l>0)&&"text"===i.type&&e.md.linkify.test(i.content)){const a=i.content;let s=e.md.linkify.match(a);const c=[];let f=i.level,w=0;s.length>0&&0===s[0].index&&o>0&&"text_special"===r[o-1].type&&(s=s.slice(1));for(let y=0;y<s.length;y++){const g=s[y].url,k=e.md.normalizeLink(g);if(!e.md.validateLink(k))continue;let D=s[y].text;D=s[y].schema?"mailto:"!==s[y].schema||/^mailto:/i.test(D)?e.md.normalizeLinkText(D):e.md.normalizeLinkText("mailto:"+D).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+D).replace(/^http:\/\//,"");const v=s[y].index;if(v>w){const E=new e.Token("text","",0);E.content=a.slice(w,v),E.level=f,c.push(E)}const d=new e.Token("link_open","a",1);d.attrs=[["href",k]],d.level=f++,d.markup="linkify",d.info="auto",c.push(d);const m=new e.Token("text","",0);m.content=D,m.level=f,c.push(m);const x=new e.Token("link_close","a",-1);x.level=--f,x.markup="linkify",x.info="auto",c.push(x),w=s[y].lastIndex}if(w<a.length){const y=new e.Token("text","",0);y.content=a.slice(w),y.level=f,c.push(y)}t[n].children=r=lf(r,o,c)}}else for(o--;r[o].level!==i.level&&"link_open"!==r[o].type;)o--}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(D8.test(e.tokens[t].content)&&T8(e.tokens[t].children),sf.test(e.tokens[t].content)&&j8(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"!==e.tokens[t].type||!O8.test(e.tokens[t].content)||I8(e.tokens[t].children,e)}],["text_join",function(e){let t,n;const u=e.tokens,r=u.length;for(let l=0;l<r;l++){if("inline"!==u[l].type)continue;const o=u[l].children,i=o.length;for(t=0;t<i;t++)"text_special"===o[t].type&&(o[t].type="text");for(t=n=0;t<i;t++)"text"===o[t].type&&t+1<i&&"text"===o[t+1].type?o[t+1].content=o[t].content+o[t+1].content:(t!==n&&(o[n]=o[t]),n++);t!==n&&(o.length=n)}}]];function Ji(){this.ruler=new Ge;for(let e=0;e<Xi.length;e++)this.ruler.push(Xi[e][0],Xi[e][1])}function jt(e,t,n,u){this.src=e,this.md=t,this.env=n,this.tokens=u,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const r=this.src;for(let l=0,o=0,i=0,a=0,s=r.length,c=!1;o<s;o++){const f=r.charCodeAt(o);if(!c){if(Q(f)){i++,9===f?a+=4-a%4:a++;continue}c=!0}(10===f||o===s-1)&&(10!==f&&o++,this.bMarks.push(l),this.eMarks.push(o),this.tShift.push(i),this.sCount.push(a),this.bsCount.push(0),c=!1,i=0,a=0,l=o+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Ji.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,u=t.length;n<u;n++)t[n](e)},Ji.prototype.State=af,jt.prototype.push=function(e,t,n){const u=new Et(e,t,n);return u.block=!0,n<0&&this.level--,u.level=this.level,n>0&&this.level++,this.tokens.push(u),u},jt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},jt.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t},jt.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){if(!Q(this.src.charCodeAt(t)))break}return t},jt.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!Q(this.src.charCodeAt(--t)))return t+1;return t},jt.prototype.skipChars=function(t,n){for(let u=this.src.length;t<u&&this.src.charCodeAt(t)===n;t++);return t},jt.prototype.skipCharsBack=function(t,n,u){if(t<=u)return t;for(;t>u;)if(n!==this.src.charCodeAt(--t))return t+1;return t},jt.prototype.getLines=function(t,n,u,r){if(t>=n)return"";const l=new Array(n-t);for(let o=0,i=t;i<n;i++,o++){let a=0;const s=this.bMarks[i];let f,c=s;for(f=i+1<n||r?this.eMarks[i]+1:this.eMarks[i];c<f&&a<u;){const w=this.src.charCodeAt(c);if(Q(w))9===w?a+=4-(a+this.bsCount[i])%4:a++;else{if(!(c-s<this.tShift[i]))break;a++}c++}l[o]=a>u?new Array(a-u+1).join(" ")+this.src.slice(c,f):this.src.slice(c,f)}return l.join("")},jt.prototype.Token=Et;function ea(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];return e.src.slice(n,u)}function df(e){const t=[],n=e.length;let u=0,r=e.charCodeAt(u),l=!1,o=0,i="";for(;u<n;)124===r&&(l?(i+=e.substring(o,u-1),o=u):(t.push(i+e.substring(o,u)),i="",o=u+1)),l=92===r,u++,r=e.charCodeAt(u);return t.push(i+e.substring(o)),t}function pf(e,t){const n=e.eMarks[t];let u=e.bMarks[t]+e.tShift[t];const r=e.src.charCodeAt(u++);if(42!==r&&45!==r&&43!==r)return-1;if(u<n){if(!Q(e.src.charCodeAt(u)))return-1}return u}function hf(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];let r=n;if(r+1>=u)return-1;let l=e.src.charCodeAt(r++);if(l<48||l>57)return-1;for(;;){if(r>=u)return-1;if(l=e.src.charCodeAt(r++),!(l>=48&&l<=57)){if(41===l||46===l)break;return-1}if(r-n>=10)return-1}return r<u&&(l=e.src.charCodeAt(r),!Q(l))?-1:r}const mf="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",wf="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",tm=new RegExp("^(?:"+mf+"|"+wf+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),nm=new RegExp("^(?:"+mf+"|"+wf+")"),Cu=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(nm.source+"\\s*$"),/^$/,!1]];const pl=[["table",function(e,t,n,u){if(t+2>n)return!1;let r=t+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let l=e.bMarks[r]+e.tShift[r];if(l>=e.eMarks[r])return!1;const o=e.src.charCodeAt(l++);if(124!==o&&45!==o&&58!==o||l>=e.eMarks[r])return!1;const i=e.src.charCodeAt(l++);if(124!==i&&45!==i&&58!==i&&!Q(i)||45===o&&Q(i))return!1;for(;l<e.eMarks[r];){const x=e.src.charCodeAt(l);if(124!==x&&45!==x&&58!==x&&!Q(x))return!1;l++}let a=ea(e,t+1),s=a.split("|");const c=[];for(let x=0;x<s.length;x++){const E=s[x].trim();if(!E){if(0===x||x===s.length-1)continue;return!1}if(!/^:?-+:?$/.test(E))return!1;58===E.charCodeAt(E.length-1)?c.push(58===E.charCodeAt(0)?"center":"right"):58===E.charCodeAt(0)?c.push("left"):c.push("")}if(a=ea(e,t).trim(),-1===a.indexOf("|")||e.sCount[t]-e.blkIndent>=4)return!1;s=df(a),s.length&&""===s[0]&&s.shift(),s.length&&""===s[s.length-1]&&s.pop();const f=s.length;if(0===f||f!==c.length)return!1;if(u)return!0;const w=e.parentType;e.parentType="table";const y=e.md.block.ruler.getRules("blockquote"),k=[t,0];e.push("table_open","table",1).map=k,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let x=0;x<s.length;x++){const E=e.push("th_open","th",1);c[x]&&(E.attrs=[["style","text-align:"+c[x]]]);const C=e.push("inline","",0);C.content=s[x].trim(),C.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let d,m=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let x=!1;for(let C=0,S=y.length;C<S;C++)if(y[C](e,r,n,!0)){x=!0;break}if(x||(a=ea(e,r).trim(),!a)||e.sCount[r]-e.blkIndent>=4||(s=df(a),s.length&&""===s[0]&&s.shift(),s.length&&""===s[s.length-1]&&s.pop(),m+=f-s.length,m>65536))break;if(r===t+2){e.push("tbody_open","tbody",1).map=d=[t+2,0]}e.push("tr_open","tr",1).map=[r,r+1];for(let C=0;C<f;C++){const S=e.push("td_open","td",1);c[C]&&(S.attrs=[["style","text-align:"+c[C]]]);const A=e.push("inline","",0);A.content=s[C]?s[C].trim():"",A.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return d&&(e.push("tbody_close","tbody",-1),d[1]=r),e.push("table_close","table",-1),k[1]=r,e.parentType=w,e.line=r,!0},["paragraph","reference"]],["code",function(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let u=t+1,r=u;for(;u<n;)if(e.isEmpty(u))u++;else{if(!(e.sCount[u]-e.blkIndent>=4))break;u++,r=u}e.line=r;const l=e.push("code_block","code",0);return l.content=e.getLines(t,r,4+e.blkIndent,!1)+"\n",l.map=[t,e.line],!0}],["fence",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>l)return!1;const o=e.src.charCodeAt(r);if(126!==o&&96!==o)return!1;let i=r;r=e.skipChars(r,o);let a=r-i;if(a<3)return!1;const s=e.src.slice(i,r),c=e.src.slice(r,l);if(96===o&&c.indexOf(String.fromCharCode(o))>=0)return!1;if(u)return!0;let f=t,w=!1;for(;f++,!(f>=n||(r=i=e.bMarks[f]+e.tShift[f],l=e.eMarks[f],r<l&&e.sCount[f]<e.blkIndent));)if(!(e.src.charCodeAt(r)!==o||e.sCount[f]-e.blkIndent>=4||(r=e.skipChars(r,o),r-i<a||(r=e.skipSpaces(r),r<l)))){w=!0;break}a=e.sCount[t],e.line=f+(w?1:0);const y=e.push("fence","code",0);return y.info=c,y.content=e.getLines(t+1,f,a,!0),y.markup=s,y.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];const o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||62!==e.src.charCodeAt(r))return!1;if(u)return!0;const i=[],a=[],s=[],c=[],f=e.md.block.ruler.getRules("blockquote"),w=e.parentType;e.parentType="blockquote";let g,y=!1;for(g=t;g<n;g++){const m=e.sCount[g]<e.blkIndent;if(r=e.bMarks[g]+e.tShift[g],l=e.eMarks[g],r>=l)break;if(62===e.src.charCodeAt(r++)&&!m){let C,S,E=e.sCount[g]+1;32===e.src.charCodeAt(r)?(r++,E++,S=!1,C=!0):9===e.src.charCodeAt(r)?(C=!0,(e.bsCount[g]+E)%4==3?(r++,E++,S=!1):S=!0):C=!1;let A=E;for(i.push(e.bMarks[g]),e.bMarks[g]=r;r<l;){const P=e.src.charCodeAt(r);if(!Q(P))break;9===P?A+=4-(A+e.bsCount[g]+(S?1:0))%4:A++,r++}y=r>=l,a.push(e.bsCount[g]),e.bsCount[g]=e.sCount[g]+1+(C?1:0),s.push(e.sCount[g]),e.sCount[g]=A-E,c.push(e.tShift[g]),e.tShift[g]=r-e.bMarks[g];continue}if(y)break;let x=!1;for(let E=0,C=f.length;E<C;E++)if(f[E](e,g,n,!0)){x=!0;break}if(x){e.lineMax=g,0!==e.blkIndent&&(i.push(e.bMarks[g]),a.push(e.bsCount[g]),c.push(e.tShift[g]),s.push(e.sCount[g]),e.sCount[g]-=e.blkIndent);break}i.push(e.bMarks[g]),a.push(e.bsCount[g]),c.push(e.tShift[g]),s.push(e.sCount[g]),e.sCount[g]=-1}const k=e.blkIndent;e.blkIndent=0;const D=e.push("blockquote_open","blockquote",1);D.markup=">";const v=[t,0];D.map=v,e.md.block.tokenize(e,t,g),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=o,e.parentType=w,v[1]=e.line;for(let m=0;m<c.length;m++)e.bMarks[m+t]=i[m],e.tShift[m+t]=c[m],e.sCount[m+t]=s[m],e.bsCount[m+t]=a[m];return e.blkIndent=k,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,n,u){const r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let l=e.bMarks[t]+e.tShift[t];const o=e.src.charCodeAt(l++);if(42!==o&&45!==o&&95!==o)return!1;let i=1;for(;l<r;){const s=e.src.charCodeAt(l++);if(s!==o&&!Q(s))return!1;s===o&&i++}if(i<3)return!1;if(u)return!0;e.line=t+1;const a=e.push("hr","hr",0);return a.map=[t,e.line],a.markup=Array(i+1).join(String.fromCharCode(o)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,n,u){let r,l,o,i,a=t,s=!0;if(e.sCount[a]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[a]-e.listIndent>=4&&e.sCount[a]<e.blkIndent)return!1;let f,w,y,c=!1;if(u&&"paragraph"===e.parentType&&e.sCount[a]>=e.blkIndent&&(c=!0),(y=hf(e,a))>=0){if(f=!0,o=e.bMarks[a]+e.tShift[a],w=Number(e.src.slice(o,y-1)),c&&1!==w)return!1}else{if(!((y=pf(e,a))>=0))return!1;f=!1}if(c&&e.skipSpaces(y)>=e.eMarks[a])return!1;if(u)return!0;const g=e.src.charCodeAt(y-1),k=e.tokens.length;f?(i=e.push("ordered_list_open","ol",1),1!==w&&(i.attrs=[["start",w]])):i=e.push("bullet_list_open","ul",1);const D=[a,0];i.map=D,i.markup=String.fromCharCode(g);let v=!1;const d=e.md.block.ruler.getRules("list"),m=e.parentType;for(e.parentType="list";a<n;){l=y,r=e.eMarks[a];const x=e.sCount[a]+y-(e.bMarks[a]+e.tShift[a]);let E=x;for(;l<r;){const Fe=e.src.charCodeAt(l);if(9===Fe)E+=4-(E+e.bsCount[a])%4;else{if(32!==Fe)break;E++}l++}const C=l;let S;S=C>=r?1:E-x,S>4&&(S=1);const A=x+S;i=e.push("list_item_open","li",1),i.markup=String.fromCharCode(g);const P=[a,0];i.map=P,f&&(i.info=e.src.slice(o,y-1));const j=e.tight,O=e.tShift[a],Z=e.sCount[a],se=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=A,e.tight=!0,e.tShift[a]=C-e.bMarks[a],e.sCount[a]=E,C>=r&&e.isEmpty(a+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,a,n,!0),(!e.tight||v)&&(s=!1),v=e.line-a>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=se,e.tShift[a]=O,e.sCount[a]=Z,e.tight=j,i=e.push("list_item_close","li",-1),i.markup=String.fromCharCode(g),a=e.line,P[1]=a,a>=n||e.sCount[a]<e.blkIndent||e.sCount[a]-e.blkIndent>=4)break;let ve=!1;for(let Fe=0,Qe=d.length;Fe<Qe;Fe++)if(d[Fe](e,a,n,!0)){ve=!0;break}if(ve)break;if(f){if(y=hf(e,a),y<0)break;o=e.bMarks[a]+e.tShift[a]}else if(y=pf(e,a),y<0)break;if(g!==e.src.charCodeAt(y-1))break}return i=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),i.markup=String.fromCharCode(g),D[1]=a,e.line=a,e.parentType=m,s&&function(e,t){const n=e.level+2;for(let u=t+2,r=e.tokens.length-2;u<r;u++)e.tokens[u].level===n&&"paragraph_open"===e.tokens[u].type&&(e.tokens[u+2].hidden=!0,e.tokens[u].hidden=!0,u+=2)}(e,k),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],l=e.eMarks[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4||91!==e.src.charCodeAt(r))return!1;function i(d){const m=e.lineMax;if(d>=m||e.isEmpty(d))return null;let x=!1;if(e.sCount[d]-e.blkIndent>3&&(x=!0),e.sCount[d]<0&&(x=!0),!x){const S=e.md.block.ruler.getRules("reference"),A=e.parentType;e.parentType="reference";let P=!1;for(let j=0,O=S.length;j<O;j++)if(S[j](e,d,m,!0)){P=!0;break}if(e.parentType=A,P)return null}const E=e.bMarks[d]+e.tShift[d],C=e.eMarks[d];return e.src.slice(E,C+1)}let a=e.src.slice(r,l+1);l=a.length;let s=-1;for(r=1;r<l;r++){const d=a.charCodeAt(r);if(91===d)return!1;if(93===d){s=r;break}if(10===d){const m=i(o);null!==m&&(a+=m,l=a.length,o++)}else if(92===d&&(r++,r<l&&10===a.charCodeAt(r))){const m=i(o);null!==m&&(a+=m,l=a.length,o++)}}if(s<0||58!==a.charCodeAt(s+1))return!1;for(r=s+2;r<l;r++){const d=a.charCodeAt(r);if(10===d){const m=i(o);null!==m&&(a+=m,l=a.length,o++)}else if(!Q(d))break}const c=e.md.helpers.parseLinkDestination(a,r,l);if(!c.ok)return!1;const f=e.md.normalizeLink(c.str);if(!e.md.validateLink(f))return!1;r=c.pos;const w=r,y=o,g=r;for(;r<l;r++){const d=a.charCodeAt(r);if(10===d){const m=i(o);null!==m&&(a+=m,l=a.length,o++)}else if(!Q(d))break}let D,k=e.md.helpers.parseLinkTitle(a,r,l);for(;k.can_continue;){const d=i(o);if(null===d)break;a+=d,r=l,l=a.length,o++,k=e.md.helpers.parseLinkTitle(a,r,l,k)}for(r<l&&g!==r&&k.ok?(D=k.str,r=k.pos):(D="",r=w,o=y);r<l;){if(!Q(a.charCodeAt(r)))break;r++}if(r<l&&10!==a.charCodeAt(r)&&D)for(D="",r=w,o=y;r<l;){if(!Q(a.charCodeAt(r)))break;r++}if(r<l&&10!==a.charCodeAt(r))return!1;const v=fl(a.slice(1,s));return!!v&&(u||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[v]>"u"&&(e.env.references[v]={title:D,href:f}),e.line=o),!0)}],["html_block",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||60!==e.src.charCodeAt(r))return!1;let o=e.src.slice(r,l),i=0;for(;i<Cu.length&&!Cu[i][0].test(o);i++);if(i===Cu.length)return!1;if(u)return Cu[i][2];let a=t+1;if(!Cu[i][1].test(o))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(r=e.bMarks[a]+e.tShift[a],l=e.eMarks[a],o=e.src.slice(r,l),Cu[i][1].test(o)){0!==o.length&&a++;break}e.line=a;const s=e.push("html_block","",0);return s.map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(r);if(35!==o||r>=l)return!1;let i=1;for(o=e.src.charCodeAt(++r);35===o&&r<l&&i<=6;)i++,o=e.src.charCodeAt(++r);if(i>6||r<l&&!Q(o))return!1;if(u)return!0;l=e.skipSpacesBack(l,r);const a=e.skipCharsBack(l,35,r);a>r&&Q(e.src.charCodeAt(a-1))&&(l=a),e.line=t+1;const s=e.push("heading_open","h"+String(i),1);s.markup="########".slice(0,i),s.map=[t,e.line];const c=e.push("inline","",0);return c.content=e.src.slice(r,l).trim(),c.map=[t,e.line],c.children=[],e.push("heading_close","h"+String(i),-1).markup="########".slice(0,i),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){const u=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let o,l=0,i=t+1;for(;i<n&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3)continue;if(e.sCount[i]>=e.blkIndent){let y=e.bMarks[i]+e.tShift[i];const g=e.eMarks[i];if(y<g&&(o=e.src.charCodeAt(y),(45===o||61===o)&&(y=e.skipChars(y,o),y=e.skipSpaces(y),y>=g))){l=61===o?1:2;break}}if(e.sCount[i]<0)continue;let w=!1;for(let y=0,g=u.length;y<g;y++)if(u[y](e,i,n,!0)){w=!0;break}if(w)break}if(!l)return!1;const a=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i+1;const s=e.push("heading_open","h"+String(l),1);s.markup=String.fromCharCode(o),s.map=[t,e.line];const c=e.push("inline","",0);return c.content=a,c.map=[t,e.line-1],c.children=[],e.push("heading_close","h"+String(l),-1).markup=String.fromCharCode(o),e.parentType=r,!0}],["paragraph",function(e,t,n){const u=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let l=t+1;for(e.parentType="paragraph";l<n&&!e.isEmpty(l);l++){if(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)continue;let s=!1;for(let c=0,f=u.length;c<f;c++)if(u[c](e,l,n,!0)){s=!0;break}if(s)break}const o=e.getLines(t,l,e.blkIndent,!1).trim();e.line=l,e.push("paragraph_open","p",1).map=[t,e.line];const a=e.push("inline","",0);return a.content=o,a.map=[t,e.line],a.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}]];function hl(){this.ruler=new Ge;for(let e=0;e<pl.length;e++)this.ruler.push(pl[e][0],pl[e][1],{alt:(pl[e][2]||[]).slice()})}function Fr(e,t,n,u){this.src=e,this.env=n,this.md=t,this.tokens=u,this.tokens_meta=Array(u.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}function im(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}hl.prototype.tokenize=function(e,t,n){const u=this.ruler.getRules(""),r=u.length,l=e.md.options.maxNesting;let o=t,i=!1;for(;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n||e.sCount[o]<e.blkIndent));){if(e.level>=l){e.line=n;break}const a=e.line;let s=!1;for(let c=0;c<r;c++)if(s=u[c](e,o,n,!1),s){if(a>=e.line)throw new Error("block rule didn't increment state.line");break}if(!s)throw new Error("none of the block rules matched");e.tight=!i,e.isEmpty(e.line-1)&&(i=!0),o=e.line,o<n&&e.isEmpty(o)&&(i=!0,o++,e.line=o)}},hl.prototype.parse=function(e,t,n,u){if(!e)return;const r=new this.State(e,t,n,u);this.tokenize(r,r.line,r.lineMax)},hl.prototype.State=jt,Fr.prototype.pushPending=function(){const e=new Et("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},Fr.prototype.push=function(e,t,n){this.pending&&this.pushPending();const u=new Et(e,t,n);let r=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),u.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(u),this.tokens_meta.push(r),u},Fr.prototype.scanDelims=function(e,t){const n=this.posMax,u=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let l=e;for(;l<n&&this.src.charCodeAt(l)===u;)l++;const o=l-e,i=l<n?this.src.charCodeAt(l):32,a=Dr(r)||Ar(String.fromCharCode(r)),s=Dr(i)||Ar(String.fromCharCode(i)),c=Sr(r),f=Sr(i),w=!f&&(!s||c||a),y=!c&&(!a||f||s);return{can_open:w&&(t||!y||a),can_close:y&&(t||!w||s),length:o}},Fr.prototype.Token=Et;const sm=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;const ta=[];for(let e=0;e<256;e++)ta.push(0);function gf(e,t){let n;const u=[],r=t.length;for(let l=0;l<r;l++){const o=t[l];if(126!==o.marker||-1===o.end)continue;const i=t[o.end];n=e.tokens[o.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[i.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&u.push(i.token-1)}for(;u.length;){const l=u.pop();let o=l+1;for(;o<e.tokens.length&&"s_close"===e.tokens[o].type;)o++;o--,l!==o&&(n=e.tokens[o],e.tokens[o]=e.tokens[l],e.tokens[l]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){ta[e.charCodeAt(0)]=1}));const vf={tokenize:function(e,t){const n=e.pos,u=e.src.charCodeAt(n);if(t||126!==u)return!1;const r=e.scanDelims(e.pos,!0);let l=r.length;const o=String.fromCharCode(u);if(l<2)return!1;let i;l%2&&(i=e.push("text","",0),i.content=o,l--);for(let a=0;a<l;a+=2)i=e.push("text","",0),i.content=o+o,e.delimiters.push({marker:u,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;gf(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&gf(e,t[u].delimiters)}};function yf(e,t){for(let u=t.length-1;u>=0;u--){const r=t[u];if(95!==r.marker&&42!==r.marker||-1===r.end)continue;const l=t[r.end],o=u>0&&t[u-1].end===r.end+1&&t[u-1].marker===r.marker&&t[u-1].token===r.token-1&&t[r.end+1].token===l.token+1,i=String.fromCharCode(r.marker),a=e.tokens[r.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?i+i:i,a.content="";const s=e.tokens[l.token];s.type=o?"strong_close":"em_close",s.tag=o?"strong":"em",s.nesting=-1,s.markup=o?i+i:i,s.content="",o&&(e.tokens[t[u-1].token].content="",e.tokens[t[r.end+1].token].content="",u--)}}const xf={tokenize:function(e,t){const n=e.pos,u=e.src.charCodeAt(n);if(t||95!==u&&42!==u)return!1;const r=e.scanDelims(e.pos,42===u);for(let l=0;l<r.length;l++){e.push("text","",0).content=String.fromCharCode(u),e.delimiters.push({marker:u,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0},postProcess:function(e){const t=e.tokens_meta,n=e.tokens_meta.length;yf(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&yf(e,t[u].delimiters)}};const xm=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,bm=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;const Am=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Dm=/^&([a-z][a-z0-9]{1,31});/i;function bf(e){const t={},n=e.length;if(!n)return;let u=0,r=-2;const l=[];for(let o=0;o<n;o++){const i=e[o];if(l.push(0),(e[u].marker!==i.marker||r!==i.token-1)&&(u=o),r=i.token,i.length=i.length||0,!i.close)continue;t.hasOwnProperty(i.marker)||(t[i.marker]=[-1,-1,-1,-1,-1,-1]);const a=t[i.marker][(i.open?3:0)+i.length%3];let s=u-l[u]-1,c=s;for(;s>a;s-=l[s]+1){const f=e[s];if(f.marker===i.marker&&f.open&&f.end<0){let w=!1;if((f.close||i.open)&&(f.length+i.length)%3==0&&(f.length%3!=0||i.length%3!=0)&&(w=!0),!w){const y=s>0&&!e[s-1].open?l[s-1]+1:0;l[o]=o-s+y,l[s]=y,i.open=!1,f.end=o,f.close=!1,c=-1,r=-2;break}}}-1!==c&&(t[i.marker][(i.open?3:0)+(i.length||0)%3]=c)}}const na=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!im(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["linkify",function(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos;if(n+3>e.posMax||58!==e.src.charCodeAt(n)||47!==e.src.charCodeAt(n+1)||47!==e.src.charCodeAt(n+2))return!1;const r=e.pending.match(sm);if(!r)return!1;const l=r[1],o=e.md.linkify.matchAtStart(e.src.slice(n-l.length));if(!o)return!1;let i=o.url;if(i.length<=l.length)return!1;i=i.replace(/\*+$/,"");const a=e.md.normalizeLink(i);if(!e.md.validateLink(a))return!1;if(!t){e.pending=e.pending.slice(0,-l.length);const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="linkify",s.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(i);const f=e.push("link_close","a",-1);f.markup="linkify",f.info="auto"}return e.pos+=i.length-l.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;const u=e.pending.length-1,r=e.posMax;if(!t)if(u>=0&&32===e.pending.charCodeAt(u))if(u>=1&&32===e.pending.charCodeAt(u-1)){let l=u-1;for(;l>=1&&32===e.pending.charCodeAt(l-1);)l--;e.pending=e.pending.slice(0,l),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<r&&Q(e.src.charCodeAt(n));)n++;return e.pos=n,!0}],["escape",function(e,t){let n=e.pos;const u=e.posMax;if(92!==e.src.charCodeAt(n)||(n++,n>=u))return!1;let r=e.src.charCodeAt(n);if(10===r){for(t||e.push("hardbreak","br",0),n++;n<u&&(r=e.src.charCodeAt(n),Q(r));)n++;return e.pos=n,!0}let l=e.src[n];if(r>=55296&&r<=56319&&n+1<u){const i=e.src.charCodeAt(n+1);i>=56320&&i<=57343&&(l+=e.src[n+1],n++)}const o="\\"+l;if(!t){const i=e.push("text_special","",0);r<256&&0!==ta[r]?i.content=l:i.content=o,i.markup=o,i.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){let n=e.pos;if(96!==e.src.charCodeAt(n))return!1;const r=n;n++;const l=e.posMax;for(;n<l&&96===e.src.charCodeAt(n);)n++;const o=e.src.slice(r,n),i=o.length;if(e.backticksScanned&&(e.backticks[i]||0)<=r)return t||(e.pending+=o),e.pos+=i,!0;let s,a=n;for(;-1!==(s=e.src.indexOf("`",a));){for(a=s+1;a<l&&96===e.src.charCodeAt(a);)a++;const c=a-s;if(c===i){if(!t){const f=e.push("code_inline","code",0);f.markup=o,f.content=e.src.slice(n,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=a,!0}e.backticks[c]=s}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=i,!0}],["strikethrough",vf.tokenize],["emphasis",xf.tokenize],["link",function(e,t){let n,u,r,l,o="",i="",a=e.pos,s=!0;if(91!==e.src.charCodeAt(e.pos))return!1;const c=e.pos,f=e.posMax,w=e.pos+1,y=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(y<0)return!1;let g=y+1;if(g<f&&40===e.src.charCodeAt(g)){for(s=!1,g++;g<f&&(n=e.src.charCodeAt(g),Q(n)||10===n);g++);if(g>=f)return!1;if(a=g,r=e.md.helpers.parseLinkDestination(e.src,g,e.posMax),r.ok){for(o=e.md.normalizeLink(r.str),e.md.validateLink(o)?g=r.pos:o="",a=g;g<f&&(n=e.src.charCodeAt(g),Q(n)||10===n);g++);if(r=e.md.helpers.parseLinkTitle(e.src,g,e.posMax),g<f&&a!==g&&r.ok)for(i=r.str,g=r.pos;g<f&&(n=e.src.charCodeAt(g),Q(n)||10===n);g++);}(g>=f||41!==e.src.charCodeAt(g))&&(s=!0),g++}if(s){if(typeof e.env.references>"u")return!1;if(g<f&&91===e.src.charCodeAt(g)?(a=g+1,g=e.md.helpers.parseLinkLabel(e,g),g>=0?u=e.src.slice(a,g++):g=y+1):g=y+1,u||(u=e.src.slice(w,y)),l=e.env.references[fl(u)],!l)return e.pos=c,!1;o=l.href,i=l.title}if(!t){e.pos=w,e.posMax=y;const D=[["href",o]];e.push("link_open","a",1).attrs=D,i&&D.push(["title",i]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=g,e.posMax=f,!0}],["image",function(e,t){let n,u,r,l,o,i,a,s,c="";const f=e.pos,w=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;const y=e.pos+2,g=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(g<0)return!1;if(l=g+1,l<w&&40===e.src.charCodeAt(l)){for(l++;l<w&&(n=e.src.charCodeAt(l),Q(n)||10===n);l++);if(l>=w)return!1;for(s=l,i=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),i.ok&&(c=e.md.normalizeLink(i.str),e.md.validateLink(c)?l=i.pos:c=""),s=l;l<w&&(n=e.src.charCodeAt(l),Q(n)||10===n);l++);if(i=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<w&&s!==l&&i.ok)for(a=i.str,l=i.pos;l<w&&(n=e.src.charCodeAt(l),Q(n)||10===n);l++);else a="";if(l>=w||41!==e.src.charCodeAt(l))return e.pos=f,!1;l++}else{if(typeof e.env.references>"u")return!1;if(l<w&&91===e.src.charCodeAt(l)?(s=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?r=e.src.slice(s,l++):l=g+1):l=g+1,r||(r=e.src.slice(y,g)),o=e.env.references[fl(r)],!o)return e.pos=f,!1;c=o.href,a=o.title}if(!t){u=e.src.slice(y,g);const k=[];e.md.inline.parse(u,e.md,e.env,k);const D=e.push("image","img",0),v=[["src",c],["alt",""]];D.attrs=v,D.children=k,D.content=u,a&&v.push(["title",a])}return e.pos=l,e.posMax=w,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;const u=e.pos,r=e.posMax;for(;;){if(++n>=r)return!1;const o=e.src.charCodeAt(n);if(60===o)return!1;if(62===o)break}const l=e.src.slice(u+1,n);if(bm.test(l)){const o=e.md.normalizeLink(l);if(!e.md.validateLink(o))return!1;if(!t){const i=e.push("link_open","a",1);i.attrs=[["href",o]],i.markup="autolink",i.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(l);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=l.length+2,!0}if(xm.test(l)){const o=e.md.normalizeLink("mailto:"+l);if(!e.md.validateLink(o))return!1;if(!t){const i=e.push("link_open","a",1);i.attrs=[["href",o]],i.markup="autolink",i.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(l);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=l.length+2,!0}return!1}],["html_inline",function(e,t){if(!e.md.options.html)return!1;const n=e.posMax,u=e.pos;if(60!==e.src.charCodeAt(u)||u+2>=n)return!1;const r=e.src.charCodeAt(u+1);if(33!==r&&63!==r&&47!==r&&!function(e){const t=32|e;return t>=97&&t<=122}(r))return!1;const l=e.src.slice(u).match(tm);if(!l)return!1;if(!t){const o=e.push("html_inline","",0);o.content=l[0],function(e){return/^<a[>\s]/i.test(e)}(o.content)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(o.content)&&e.linkLevel--}return e.pos+=l[0].length,!0}],["entity",function(e,t){const n=e.pos,u=e.posMax;if(38!==e.src.charCodeAt(n)||n+1>=u)return!1;if(35===e.src.charCodeAt(n+1)){const l=e.src.slice(n).match(Am);if(l){if(!t){const o="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),i=e.push("text_special","",0);i.content=Ki(o)?cl(o):cl(65533),i.markup=l[0],i.info="entity"}return e.pos+=l[0].length,!0}}else{const l=e.src.slice(n).match(Dm);if(l){const o=rf(l[0]);if(o!==l[0]){if(!t){const i=e.push("text_special","",0);i.content=o,i.markup=l[0],i.info="entity"}return e.pos+=l[0].length,!0}}}return!1}]],ua=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;bf(e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&bf(t[u].delimiters)}],["strikethrough",vf.postProcess],["emphasis",xf.postProcess],["fragments_join",function(e){let t,n,u=0;const r=e.tokens,l=e.tokens.length;for(t=n=0;t<l;t++)r[t].nesting<0&&u--,r[t].level=u,r[t].nesting>0&&u++,"text"===r[t].type&&t+1<l&&"text"===r[t+1].type?r[t+1].content=r[t].content+r[t+1].content:(t!==n&&(r[n]=r[t]),n++);t!==n&&(r.length=n)}]];function Nr(){this.ruler=new Ge;for(let e=0;e<na.length;e++)this.ruler.push(na[e][0],na[e][1]);this.ruler2=new Ge;for(let e=0;e<ua.length;e++)this.ruler2.push(ua[e][0],ua[e][1])}function ra(e){return Array.prototype.slice.call(arguments,1).forEach((function(n){n&&Object.keys(n).forEach((function(u){e[u]=n[u]}))})),e}function ml(e){return Object.prototype.toString.call(e)}function _f(e){return"[object Function]"===ml(e)}function Im(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}Nr.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),u=n.length,r=e.md.options.maxNesting,l=e.cache;if(typeof l[t]<"u")return void(e.pos=l[t]);let o=!1;if(e.level<r){for(let i=0;i<u;i++)if(e.level++,o=n[i](e,!0),e.level--,o){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;o||e.pos++,l[t]=e.pos},Nr.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,u=e.posMax,r=e.md.options.maxNesting;for(;e.pos<u;){const l=e.pos;let o=!1;if(e.level<r)for(let i=0;i<n;i++)if(o=t[i](e,!1),o){if(l>=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(o){if(e.pos>=u)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Nr.prototype.parse=function(e,t,n,u){const r=new this.State(e,t,n,u);this.tokenize(r);const l=this.ruler2.getRules(""),o=l.length;for(let i=0;i<o;i++)l[i](r)},Nr.prototype.State=Fr;const kf={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};const Rm={"http:":{validate:function(e,t,n){const u=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(u)?u.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const u=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(u)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:u.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const u=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(u)?u.match(n.re.mailto)[0].length:0}}},zm="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",$m="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function wl(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=J2.source,t.src_Cc=ef.source,t.src_Z=nf.source,t.src_P=Wi.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),n=e.__tlds__.slice();function u(i){return i.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push(zm),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(u(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(u(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(u(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(u(t.tpl_host_fuzzy_test),"i");const r=[];function l(i,a){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+a)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(i){const a=e.__schemas__[i];if(null===a)return;const s={validate:null,link:null};if(e.__compiled__[i]=s,function(e){return"[object Object]"===ml(e)}(a))return!function(e){return"[object RegExp]"===ml(e)}(a.validate)?_f(a.validate)?s.validate=a.validate:l(i,a):s.validate=function(e){return function(t,n){const u=t.slice(n);return e.test(u)?u.match(e)[0].length:0}}(a.validate),void(_f(a.normalize)?s.normalize=a.normalize:a.normalize?l(i,a):s.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===ml(e)}(a)?l(i,a):r.push(i)})),r.forEach((function(i){e.__compiled__[e.__schemas__[i]]&&(e.__compiled__[i].validate=e.__compiled__[e.__schemas__[i]].validate,e.__compiled__[i].normalize=e.__compiled__[e.__schemas__[i]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};const o=Object.keys(e.__compiled__).filter((function(i){return i.length>0&&e.__compiled__[i]})).map(Im).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Um(e,t){const n=e.__index__,u=e.__last_index__,r=e.__text_cache__.slice(n,u);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=u+t,this.raw=r,this.text=r,this.url=r}function la(e,t){const n=new Um(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function ut(e,t){if(!(this instanceof ut))return new ut(e,t);t||function(e){return Object.keys(e||{}).reduce((function(t,n){return t||kf.hasOwnProperty(n)}),!1)}(e)&&(t=e,e={}),this.__opts__=ra({},kf,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ra({},Rm,e),this.__compiled__={},this.__tlds__=$m,this.__tlds_replaced__=!1,this.re={},wl(this)}ut.prototype.add=function(t,n){return this.__schemas__[t]=n,wl(this),this},ut.prototype.set=function(t){return this.__opts__=ra(this.__opts__,t),this},ut.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,u,r,l,o,i,a,s,c;if(this.re.schema_test.test(t))for(a=this.re.schema_search,a.lastIndex=0;null!==(n=a.exec(t));)if(l=this.testSchemaAt(t,n[2],a.lastIndex),l){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+l;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=t.search(this.re.host_fuzzy_test),s>=0&&(this.__index__<0||s<this.__index__)&&null!==(u=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=u.index+u[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=u.index+u[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=t.indexOf("@"),c>=0&&null!==(r=t.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i))),this.__index__>=0},ut.prototype.pretest=function(t){return this.re.pretest.test(t)},ut.prototype.testSchemaAt=function(t,n,u){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,u,this):0},ut.prototype.match=function(t){const n=[];let u=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(la(this,u)),u=this.__last_index__);let r=u?t.slice(u):t;for(;this.test(r);)n.push(la(this,u)),r=r.slice(this.__last_index__),u+=this.__last_index__;return n.length?n:null},ut.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const u=this.testSchemaAt(t,n[2],n[0].length);return u?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+u,la(this,0)):null},ut.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(u,r,l){return u!==l[r-1]})).reverse(),wl(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,wl(this),this)},ut.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"===t.schema&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)},ut.prototype.onCompile=function(){};const Su=2147483647,Zm=/^xn--/,Wm=/[^\0-\x7F]/,Gm=/[\x2E\u3002\uFF0E\uFF61]/g,Qm={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ot=Math.floor,aa=String.fromCharCode;function Dn(e){throw new RangeError(Qm[e])}function Df(e,t){const n=e.split("@");let u="";n.length>1&&(u=n[0]+"@",e=n[1]);const l=function(e,t){const n=[];let u=e.length;for(;u--;)n[u]=t(e[u]);return n}((e=e.replace(Gm,".")).split("."),t).join(".");return u+l}function Ff(e){const t=[];let n=0;const u=e.length;for(;n<u;){const r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<u){const l=e.charCodeAt(n++);56320==(64512&l)?t.push(((1023&r)<<10)+(1023&l)+65536):(t.push(r),n--)}else t.push(r)}return t}const Xm=function(e){return e>=48&&e<58?e-48+26:e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},Nf=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},Mf=function(e,t,n){let u=0;for(e=n?Ot(e/700):e>>1,e+=Ot(e/t);e>455;u+=36)e=Ot(e/35);return Ot(u+36*e/(e+38))},Tf=function(e){const t=[],n=e.length;let u=0,r=128,l=72,o=e.lastIndexOf("-");o<0&&(o=0);for(let i=0;i<o;++i)e.charCodeAt(i)>=128&&Dn("not-basic"),t.push(e.charCodeAt(i));for(let i=o>0?o+1:0;i<n;){const a=u;for(let c=1,f=36;;f+=36){i>=n&&Dn("invalid-input");const w=Xm(e.charCodeAt(i++));w>=36&&Dn("invalid-input"),w>Ot((Su-u)/c)&&Dn("overflow"),u+=w*c;const y=f<=l?1:f>=l+26?26:f-l;if(w<y)break;const g=36-y;c>Ot(Su/g)&&Dn("overflow"),c*=g}const s=t.length+1;l=Mf(u-a,s,0==a),Ot(u/s)>Su-r&&Dn("overflow"),r+=Ot(u/s),u%=s,t.splice(u++,0,r)}return String.fromCodePoint(...t)},jf=function(e){const t=[],n=(e=Ff(e)).length;let u=128,r=0,l=72;for(const a of e)a<128&&t.push(aa(a));const o=t.length;let i=o;for(o&&t.push("-");i<n;){let a=Su;for(const c of e)c>=u&&c<a&&(a=c);const s=i+1;a-u>Ot((Su-r)/s)&&Dn("overflow"),r+=(a-u)*s,u=a;for(const c of e)if(c<u&&++r>Su&&Dn("overflow"),c===u){let f=r;for(let w=36;;w+=36){const y=w<=l?1:w>=l+26?26:w-l;if(f<y)break;const g=f-y,k=36-y;t.push(aa(Nf(y+g%k,0))),f=Ot(g/k)}t.push(aa(Nf(f,0))),l=Mf(r,s,i===o),r=0,++i}++r,++u}return t.join("")},Lf={version:"2.3.1",ucs2:{decode:Ff,encode:e=>String.fromCodePoint(...e)},decode:Tf,encode:jf,toASCII:function(e){return Df(e,(function(t){return Wm.test(t)?"xn--"+jf(t):t}))},toUnicode:function(e){return Df(e,(function(t){return Zm.test(t)?Tf(t.slice(4).toLowerCase()):t}))}},Jm={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},e5=/^(vbscript|javascript|file|data):/,t5=/^data:image\/(gif|png|jpeg|webp);/;function n5(e){const t=e.trim().toLowerCase();return!e5.test(t)||t5.test(t)}const Of=["http:","https:","mailto:"];function u5(e){const t=Zi(e,!0);if(t.hostname&&(!t.protocol||Of.indexOf(t.protocol)>=0))try{t.hostname=Lf.toASCII(t.hostname)}catch{}return Cr(Vi(t))}function r5(e){const t=Zi(e,!0);if(t.hostname&&(!t.protocol||Of.indexOf(t.protocol)>=0))try{t.hostname=Lf.toUnicode(t.hostname)}catch{}return _u(Vi(t),_u.defaultChars+"%")}function pt(e,t){if(!(this instanceof pt))return new pt(e,t);t||Yi(e)||(t=e||{},e="default"),this.inline=new Nr,this.block=new hl,this.core=new Ji,this.renderer=new Eu,this.linkify=new ut,this.validateLink=n5,this.normalizeLink=u5,this.normalizeLinkText=r5,this.utils=m8,this.helpers=sl({},y8),this.options={},this.configure(e),t&&this.set(t)}pt.prototype.set=function(e){return sl(this.options,e),this},pt.prototype.configure=function(e){const t=this;if(Yi(e)){const n=e;if(!(e=Jm[n]))throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach((function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)})),this},pt.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(r){n=n.concat(this[r].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));const u=e.filter((function(r){return n.indexOf(r)<0}));if(u.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+u);return this},pt.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(r){n=n.concat(this[r].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));const u=e.filter((function(r){return n.indexOf(r)<0}));if(u.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+u);return this},pt.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},pt.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},pt.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},pt.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},pt.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const sa=pt({html:!1,typographer:!0}).disable("list"),l5=sa.renderer.rules.link_open||function(e,t,n,u,r){return r.renderToken(e,t,n)};function ca(e=""){return sa.render(e)}/*! @license DOMPurify 3.1.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.1.6/LICENSE */sa.renderer.rules.link_open=function(e,t,n,u,r){return e[t].attrSet("target","_blank"),e[t].attrSet("rel","noopener noreferrer"),l5(e,t,n,u,r)};const{entries:If,setPrototypeOf:Pf,isFrozen:o5,getPrototypeOf:i5,getOwnPropertyDescriptor:a5}=Object;let{freeze:Re,seal:ht,create:Rf}=Object,{apply:fa,construct:da}=typeof Reflect<"u"&&Reflect;Re||(Re=function(t){return t}),ht||(ht=function(t){return t}),fa||(fa=function(t,n,u){return t.apply(n,u)}),da||(da=function(t,n){return new t(...n)});const gl=rt(Array.prototype.forEach),zf=rt(Array.prototype.pop),Tr=rt(Array.prototype.push),vl=rt(String.prototype.toLowerCase),pa=rt(String.prototype.toString),$f=rt(String.prototype.match),jr=rt(String.prototype.replace),s5=rt(String.prototype.indexOf),c5=rt(String.prototype.trim),Ct=rt(Object.prototype.hasOwnProperty),ze=rt(RegExp.prototype.test),Lr=function(e){return function(){for(var t=arguments.length,n=new Array(t),u=0;u<t;u++)n[u]=arguments[u];return da(e,n)}}(TypeError);function rt(e){return function(t){for(var n=arguments.length,u=new Array(n>1?n-1:0),r=1;r<n;r++)u[r-1]=arguments[r];return fa(e,t,u)}}function H(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:vl;Pf&&Pf(e,null);let u=t.length;for(;u--;){let r=t[u];if("string"==typeof r){const l=n(r);l!==r&&(o5(t)||(t[u]=l),r=l)}e[r]=!0}return e}function d5(e){for(let t=0;t<e.length;t++)Ct(e,t)||(e[t]=null);return e}function Vn(e){const t=Rf(null);for(const[n,u]of If(e))Ct(e,n)&&(Array.isArray(u)?t[n]=d5(u):u&&"object"==typeof u&&u.constructor===Object?t[n]=Vn(u):t[n]=u);return t}function Or(e,t){for(;null!==e;){const u=a5(e,t);if(u){if(u.get)return rt(u.get);if("function"==typeof u.value)return rt(u.value)}e=i5(e)}return function(){return null}}const Bf=Re(["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"]),ha=Re(["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"]),ma=Re(["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"]),p5=Re(["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"]),wa=Re(["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"]),h5=Re(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Hf=Re(["#text"]),Uf=Re(["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"]),ga=Re(["accent-height","accumulate","additive","alignment-baseline","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","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","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","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","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"]),qf=Re(["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"]),yl=Re(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),m5=ht(/\{\{[\w\W]*|[\w\W]*\}\}/gm),w5=ht(/<%[\w\W]*|[\w\W]*%>/gm),g5=ht(/\${[\w\W]*}/gm),v5=ht(/^data-[\-\w.\u00B7-\uFFFF]/),y5=ht(/^aria-[\-\w]+$/),Vf=ht(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),x5=ht(/^(?:\w+script|data):/i),b5=ht(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Zf=ht(/^html$/i),_5=ht(/^[a-z][.\w]*(-[.\w]+)+$/i);var Wf=Object.freeze({__proto__:null,MUSTACHE_EXPR:m5,ERB_EXPR:w5,TMPLIT_EXPR:g5,DATA_ATTR:v5,ARIA_ATTR:y5,IS_ALLOWED_URI:Vf,IS_SCRIPT_OR_DATA:x5,ATTR_WHITESPACE:b5,DOCTYPE_NAME:Zf,CUSTOM_ELEMENT:_5});const Ir_element=1,Ir_text=3,Ir_progressingInstruction=7,Ir_comment=8,Ir_document=9;var C5=function Gf(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:typeof window>"u"?null:window;const t=I=>Gf(I);if(t.version="3.1.6",t.removed=[],!e||!e.document||e.document.nodeType!==Ir_document)return t.isSupported=!1,t;let{document:n}=e;const u=n,r=u.currentScript,{DocumentFragment:l,HTMLTemplateElement:o,Node:i,Element:a,NodeFilter:s,NamedNodeMap:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:w,trustedTypes:y}=e,g=a.prototype,k=Or(g,"cloneNode"),D=Or(g,"remove"),v=Or(g,"nextSibling"),d=Or(g,"childNodes"),m=Or(g,"parentNode");if("function"==typeof o){const I=n.createElement("template");I.content&&I.content.ownerDocument&&(n=I.content.ownerDocument)}let x,E="";const{implementation:C,createNodeIterator:S,createDocumentFragment:A,getElementsByTagName:P}=n,{importNode:j}=u;let O={};t.isSupported="function"==typeof If&&"function"==typeof m&&C&&void 0!==C.createHTMLDocument;const{MUSTACHE_EXPR:Z,ERB_EXPR:se,TMPLIT_EXPR:ve,DATA_ATTR:Fe,ARIA_ATTR:Qe,IS_SCRIPT_OR_DATA:mt,ATTR_WHITESPACE:M,CUSTOM_ELEMENT:$}=Wf;let{IS_ALLOWED_URI:R}=Wf,z=null;const q=H({},[...Bf,...ha,...ma,...wa,...Hf]);let Y=null;const $e=H({},[...Uf,...ga,...qf,...yl]);let W=Object.seal(Rf(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}})),Ne=null,St=null,Rr=!0,Au=!0,_l=!1,zr=!0,Fn=!1,Du=!0,It=!1,ee=!1,Me=!1,le=!1,ce=!1,Te=!1,Pt=!0,wt=!1,Jt=!0,Nn=!1,oe={},lt=null;const Fu=H({},["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 en=null;const Nu=H({},["audio","video","img","source","image","track"]);let Mu=null;const yd=H({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),kl="http://www.w3.org/1998/Math/MathML",El="http://www.w3.org/2000/svg",tn="http://www.w3.org/1999/xhtml";let Tu=tn,Ea=!1,Ca=null;const Vw=H({},[kl,El,tn],pa);let Br=null;const Zw=["application/xhtml+xml","text/html"];let ye=null,ju=null;const Gw=n.createElement("form"),xd=function(b){return b instanceof RegExp||b instanceof Function},Sa=function(){let b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ju||ju!==b){if((!b||"object"!=typeof b)&&(b={}),b=Vn(b),Br=-1===Zw.indexOf(b.PARSER_MEDIA_TYPE)?"text/html":b.PARSER_MEDIA_TYPE,ye="application/xhtml+xml"===Br?pa:vl,z=Ct(b,"ALLOWED_TAGS")?H({},b.ALLOWED_TAGS,ye):q,Y=Ct(b,"ALLOWED_ATTR")?H({},b.ALLOWED_ATTR,ye):$e,Ca=Ct(b,"ALLOWED_NAMESPACES")?H({},b.ALLOWED_NAMESPACES,pa):Vw,Mu=Ct(b,"ADD_URI_SAFE_ATTR")?H(Vn(yd),b.ADD_URI_SAFE_ATTR,ye):yd,en=Ct(b,"ADD_DATA_URI_TAGS")?H(Vn(Nu),b.ADD_DATA_URI_TAGS,ye):Nu,lt=Ct(b,"FORBID_CONTENTS")?H({},b.FORBID_CONTENTS,ye):Fu,Ne=Ct(b,"FORBID_TAGS")?H({},b.FORBID_TAGS,ye):{},St=Ct(b,"FORBID_ATTR")?H({},b.FORBID_ATTR,ye):{},oe=!!Ct(b,"USE_PROFILES")&&b.USE_PROFILES,Rr=!1!==b.ALLOW_ARIA_ATTR,Au=!1!==b.ALLOW_DATA_ATTR,_l=b.ALLOW_UNKNOWN_PROTOCOLS||!1,zr=!1!==b.ALLOW_SELF_CLOSE_IN_ATTR,Fn=b.SAFE_FOR_TEMPLATES||!1,Du=!1!==b.SAFE_FOR_XML,It=b.WHOLE_DOCUMENT||!1,le=b.RETURN_DOM||!1,ce=b.RETURN_DOM_FRAGMENT||!1,Te=b.RETURN_TRUSTED_TYPE||!1,Me=b.FORCE_BODY||!1,Pt=!1!==b.SANITIZE_DOM,wt=b.SANITIZE_NAMED_PROPS||!1,Jt=!1!==b.KEEP_CONTENT,Nn=b.IN_PLACE||!1,R=b.ALLOWED_URI_REGEXP||Vf,Tu=b.NAMESPACE||tn,W=b.CUSTOM_ELEMENT_HANDLING||{},b.CUSTOM_ELEMENT_HANDLING&&xd(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(W.tagNameCheck=b.CUSTOM_ELEMENT_HANDLING.tagNameCheck),b.CUSTOM_ELEMENT_HANDLING&&xd(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(W.attributeNameCheck=b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),b.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(W.allowCustomizedBuiltInElements=b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Fn&&(Au=!1),ce&&(le=!0),oe&&(z=H({},Hf),Y=[],!0===oe.html&&(H(z,Bf),H(Y,Uf)),!0===oe.svg&&(H(z,ha),H(Y,ga),H(Y,yl)),!0===oe.svgFilters&&(H(z,ma),H(Y,ga),H(Y,yl)),!0===oe.mathMl&&(H(z,wa),H(Y,qf),H(Y,yl))),b.ADD_TAGS&&(z===q&&(z=Vn(z)),H(z,b.ADD_TAGS,ye)),b.ADD_ATTR&&(Y===$e&&(Y=Vn(Y)),H(Y,b.ADD_ATTR,ye)),b.ADD_URI_SAFE_ATTR&&H(Mu,b.ADD_URI_SAFE_ATTR,ye),b.FORBID_CONTENTS&&(lt===Fu&&(lt=Vn(lt)),H(lt,b.FORBID_CONTENTS,ye)),Jt&&(z["#text"]=!0),It&&H(z,["html","head","body"]),z.table&&(H(z,["tbody"]),delete Ne.tbody),b.TRUSTED_TYPES_POLICY){if("function"!=typeof b.TRUSTED_TYPES_POLICY.createHTML)throw Lr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof b.TRUSTED_TYPES_POLICY.createScriptURL)throw Lr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');x=b.TRUSTED_TYPES_POLICY,E=x.createHTML("")}else void 0===x&&(x=function(t,n){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let u=null;const r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(u=n.getAttribute(r));const l="dompurify"+(u?"#"+u:"");try{return t.createPolicy(l,{createHTML:o=>o,createScriptURL:o=>o})}catch{return console.warn("TrustedTypes policy "+l+" could not be created."),null}}(y,r)),null!==x&&"string"==typeof E&&(E=x.createHTML(""));Re&&Re(b),ju=b}},bd=H({},["mi","mo","mn","ms","mtext"]),_d=H({},["foreignobject","annotation-xml"]),Qw=H({},["title","style","font","a","script"]),kd=H({},[...ha,...ma,...p5]),Ed=H({},[...wa,...h5]),Rt=function(b){Tr(t.removed,{element:b});try{m(b).removeChild(b)}catch{D(b)}},Cl=function(b,N){try{Tr(t.removed,{attribute:N.getAttributeNode(b),from:N})}catch{Tr(t.removed,{attribute:null,from:N})}if(N.removeAttribute(b),"is"===b&&!Y[b])if(le||ce)try{Rt(N)}catch{}else try{N.setAttribute(b,"")}catch{}},Cd=function(b){let N=null,L=null;if(Me)b="<remove></remove>"+b;else{const Ee=$f(b,/^[\r\n\t ]+/);L=Ee&&Ee[0]}"application/xhtml+xml"===Br&&Tu===tn&&(b='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+b+"</body></html>");const K=x?x.createHTML(b):b;if(Tu===tn)try{N=(new w).parseFromString(K,Br)}catch{}if(!N||!N.documentElement){N=C.createDocument(Tu,"template",null);try{N.documentElement.innerHTML=Ea?E:K}catch{}}const je=N.body||N.documentElement;return b&&L&&je.insertBefore(n.createTextNode(L),je.childNodes[0]||null),Tu===tn?P.call(N,It?"html":"body")[0]:It?N.documentElement:je},Sd=function(b){return S.call(b.ownerDocument||b,b,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},Ad=function(b){return b instanceof f&&("string"!=typeof b.nodeName||"string"!=typeof b.textContent||"function"!=typeof b.removeChild||!(b.attributes instanceof c)||"function"!=typeof b.removeAttribute||"function"!=typeof b.setAttribute||"string"!=typeof b.namespaceURI||"function"!=typeof b.insertBefore||"function"!=typeof b.hasChildNodes)},Dd=function(b){return"function"==typeof i&&b instanceof i},nn=function(b,N,L){O[b]&&gl(O[b],(K=>{K.call(t,N,L,ju)}))},Fd=function(b){let N=null;if(nn("beforeSanitizeElements",b,null),Ad(b))return Rt(b),!0;const L=ye(b.nodeName);if(nn("uponSanitizeElement",b,{tagName:L,allowedTags:z}),b.hasChildNodes()&&!Dd(b.firstElementChild)&&ze(/<[/\w]/g,b.innerHTML)&&ze(/<[/\w]/g,b.textContent)||b.nodeType===Ir_progressingInstruction||Du&&b.nodeType===Ir_comment&&ze(/<[/\w]/g,b.data))return Rt(b),!0;if(!z[L]||Ne[L]){if(!Ne[L]&&Md(L)&&(W.tagNameCheck instanceof RegExp&&ze(W.tagNameCheck,L)||W.tagNameCheck instanceof Function&&W.tagNameCheck(L)))return!1;if(Jt&&!lt[L]){const K=m(b)||b.parentNode,je=d(b)||b.childNodes;if(je&&K){for(let Ye=je.length-1;Ye>=0;--Ye){const zt=k(je[Ye],!0);zt.__removalCount=(b.__removalCount||0)+1,K.insertBefore(zt,v(b))}}}return Rt(b),!0}return b instanceof a&&!function(b){let N=m(b);(!N||!N.tagName)&&(N={namespaceURI:Tu,tagName:"template"});const L=vl(b.tagName),K=vl(N.tagName);return!!Ca[b.namespaceURI]&&(b.namespaceURI===El?N.namespaceURI===tn?"svg"===L:N.namespaceURI===kl?"svg"===L&&("annotation-xml"===K||bd[K]):!!kd[L]:b.namespaceURI===kl?N.namespaceURI===tn?"math"===L:N.namespaceURI===El?"math"===L&&_d[K]:!!Ed[L]:b.namespaceURI===tn?!(N.namespaceURI===El&&!_d[K]||N.namespaceURI===kl&&!bd[K])&&!Ed[L]&&(Qw[L]||!kd[L]):!("application/xhtml+xml"!==Br||!Ca[b.namespaceURI]))}(b)||("noscript"===L||"noembed"===L||"noframes"===L)&&ze(/<\/no(script|embed|frames)/i,b.innerHTML)?(Rt(b),!0):(Fn&&b.nodeType===Ir_text&&(N=b.textContent,gl([Z,se,ve],(K=>{N=jr(N,K," ")})),b.textContent!==N&&(Tr(t.removed,{element:b.cloneNode()}),b.textContent=N)),nn("afterSanitizeElements",b,null),!1)},Nd=function(b,N,L){if(Pt&&("id"===N||"name"===N)&&(L in n||L in Gw))return!1;if((!Au||St[N]||!ze(Fe,N))&&(!Rr||!ze(Qe,N)))if(!Y[N]||St[N]){if(!(Md(b)&&(W.tagNameCheck instanceof RegExp&&ze(W.tagNameCheck,b)||W.tagNameCheck instanceof Function&&W.tagNameCheck(b))&&(W.attributeNameCheck instanceof RegExp&&ze(W.attributeNameCheck,N)||W.attributeNameCheck instanceof Function&&W.attributeNameCheck(N))||"is"===N&&W.allowCustomizedBuiltInElements&&(W.tagNameCheck instanceof RegExp&&ze(W.tagNameCheck,L)||W.tagNameCheck instanceof Function&&W.tagNameCheck(L))))return!1}else if(!Mu[N]&&!ze(R,jr(L,M,""))&&("src"!==N&&"xlink:href"!==N&&"href"!==N||"script"===b||0!==s5(L,"data:")||!en[b])&&(!_l||ze(mt,jr(L,M,"")))&&L)return!1;return!0},Md=function(b){return"annotation-xml"!==b&&$f(b,$)},Td=function(b){nn("beforeSanitizeAttributes",b,null);const{attributes:N}=b;if(!N)return;const L={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Y};let K=N.length;for(;K--;){const je=N[K],{name:Ee,namespaceURI:Ye,value:zt}=je,Hr=ye(Ee);let Be="value"===Ee?zt:c5(zt);if(L.attrName=Hr,L.attrValue=Be,L.keepAttr=!0,L.forceKeepAttr=void 0,nn("uponSanitizeAttribute",b,L),Be=L.attrValue,Du&&ze(/((--!?|])>)|<\/(style|title)/i,Be)){Cl(Ee,b);continue}if(L.forceKeepAttr||(Cl(Ee,b),!L.keepAttr))continue;if(!zr&&ze(/\/>/i,Be)){Cl(Ee,b);continue}Fn&&gl([Z,se,ve],(Ld=>{Be=jr(Be,Ld," ")}));const jd=ye(b.nodeName);if(Nd(jd,Hr,Be)){if(wt&&("id"===Hr||"name"===Hr)&&(Cl(Ee,b),Be="user-content-"+Be),x&&"object"==typeof y&&"function"==typeof y.getAttributeType&&!Ye)switch(y.getAttributeType(jd,Hr)){case"TrustedHTML":Be=x.createHTML(Be);break;case"TrustedScriptURL":Be=x.createScriptURL(Be)}try{Ye?b.setAttributeNS(Ye,Ee,Be):b.setAttribute(Ee,Be),Ad(b)?Rt(b):zf(t.removed)}catch{}}}nn("afterSanitizeAttributes",b,null)},Kw=function I(b){let N=null;const L=Sd(b);for(nn("beforeSanitizeShadowDOM",b,null);N=L.nextNode();)nn("uponSanitizeShadowNode",N,null),!Fd(N)&&(N.content instanceof l&&I(N.content),Td(N));nn("afterSanitizeShadowDOM",b,null)};return t.sanitize=function(I){let b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},N=null,L=null,K=null,je=null;if(Ea=!I,Ea&&(I="\x3c!--\x3e"),"string"!=typeof I&&!Dd(I)){if("function"!=typeof I.toString)throw Lr("toString is not a function");if("string"!=typeof(I=I.toString()))throw Lr("dirty is not a string, aborting")}if(!t.isSupported)return I;if(ee||Sa(b),t.removed=[],"string"==typeof I&&(Nn=!1),Nn){if(I.nodeName){const zt=ye(I.nodeName);if(!z[zt]||Ne[zt])throw Lr("root node is forbidden and cannot be sanitized in-place")}}else if(I instanceof i)N=Cd("\x3c!----\x3e"),L=N.ownerDocument.importNode(I,!0),L.nodeType===Ir_element&&"BODY"===L.nodeName||"HTML"===L.nodeName?N=L:N.appendChild(L);else{if(!le&&!Fn&&!It&&-1===I.indexOf("<"))return x&&Te?x.createHTML(I):I;if(N=Cd(I),!N)return le?null:Te?E:""}N&&Me&&Rt(N.firstChild);const Ee=Sd(Nn?I:N);for(;K=Ee.nextNode();)Fd(K)||(K.content instanceof l&&Kw(K.content),Td(K));if(Nn)return I;if(le){if(ce)for(je=A.call(N.ownerDocument);N.firstChild;)je.appendChild(N.firstChild);else je=N;return(Y.shadowroot||Y.shadowrootmode)&&(je=j.call(u,je,!0)),je}let Ye=It?N.outerHTML:N.innerHTML;return It&&z["!doctype"]&&N.ownerDocument&&N.ownerDocument.doctype&&N.ownerDocument.doctype.name&&ze(Zf,N.ownerDocument.doctype.name)&&(Ye="<!DOCTYPE "+N.ownerDocument.doctype.name+">\n"+Ye),Fn&&gl([Z,se,ve],(zt=>{Ye=jr(Ye,zt," ")})),x&&Te?x.createHTML(Ye):Ye},t.setConfig=function(){Sa(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ee=!0},t.clearConfig=function(){ju=null,ee=!1},t.isValidAttribute=function(I,b,N){ju||Sa({});const L=ye(I),K=ye(b);return Nd(L,K,N)},t.addHook=function(I,b){"function"==typeof b&&(O[I]=O[I]||[],Tr(O[I],b))},t.removeHook=function(I){if(O[I])return zf(O[I])},t.removeHooks=function(I){O[I]&&(O[I]=[])},t.removeAllHooks=function(){O={}},t}();function S5(e,t="en"){let n;n="number"==typeof e?new Date(1e3*e):new Date(e);const u="th"===t?"th-TH":"en-US";return n.toLocaleTimeString(u,{hour:"numeric",minute:"2-digit",hour12:!0})}function A5(e,t="en"){const n=new Date(e),u=new Date,r=new Date;r.setDate(u.getDate()-1);const l=dt[t]||dt.en;return n.toDateString()===u.toDateString()?l.today:n.toDateString()===r.toDateString()?l.yesterday:n.toLocaleDateString("en-US",{month:"short",day:"2-digit",year:"numeric"})}const N5=e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},_.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8.3 18.04v-1.16C6 15.49 4.11 12.78 4.11 9.9c0-4.95 4.55-8.83 9.69-7.71 2.26.5 4.24 2 5.27 4.07 2.09 4.2-.11 8.66-3.34 10.61v1.16c0 .29.11.96-.96.96H9.26c-1.1.01-.96-.42-.96-.95M8.5 22c2.29-.65 4.71-.65 7 0"})),M5=e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},_.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 9v5M12 21.41H5.94c-3.47 0-4.92-2.48-3.24-5.51l3.12-5.62L8.76 5c1.78-3.21 4.7-3.21 6.48 0l2.94 5.29 3.12 5.62c1.68 3.03.22 5.51-3.24 5.51H12zM11.995 17h.009"})),T5=e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},_.createElement("path",{stroke:"#9ca3af",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M15.24 2H8.76C5 2 4.71 5.38 6.74 7.22l10.52 9.56C19.29 18.62 19 22 15.24 22H8.76C5 22 4.71 18.62 6.74 16.78l10.52-9.56C19.29 5.38 19 2 15.24 2"})),j5=e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none",...e},_.createElement("path",{fill:"#F23D27",d:"M7 13.27A6.276 6.276 0 0 1 .73 7C.73 3.54 3.54.73 7 .73S13.27 3.54 13.27 7 10.46 13.27 7 13.27M7 1.605A5.4 5.4 0 0 0 1.604 7 5.4 5.4 0 0 0 7 12.396 5.4 5.4 0 0 0 12.396 7 5.4 5.4 0 0 0 7 1.604"}),_.createElement("path",{fill:"#F23D27",d:"M7 8.02a.44.44 0 0 1-.437-.437V4.667A.44.44 0 0 1 7 4.229a.44.44 0 0 1 .438.438v2.916A.44.44 0 0 1 7 8.021M7 9.917a.6.6 0 0 1-.222-.047.7.7 0 0 1-.192-.122.6.6 0 0 1-.123-.193.6.6 0 0 1-.046-.222.6.6 0 0 1 .046-.221q.044-.105.123-.193a.7.7 0 0 1 .192-.122.58.58 0 0 1 .444 0q.105.044.192.122a.7.7 0 0 1 .123.193.6.6 0 0 1 .046.221.6.6 0 0 1-.046.222.6.6 0 0 1-.123.193.7.7 0 0 1-.192.122.6.6 0 0 1-.222.047"})),L5=({document:e,query:t})=>p.jsxs("div",{className:"tw-qi tw-in",children:[p.jsxs("div",{className:"tw-ho tw-qk tw-oo tw-sq tw-bp tw-tf tw-mk tw-ok tw-xc",children:[p.jsx("span",{className:"tw-fk tw-ke tw-jj tw-ef",children:e.key}),p.jsxs("span",{className:"tw-km tw-fh tw-jj tw-if",children:["Query: ",t]}),p.jsxs("span",{className:"tw-km tw-fh tw-jj tw-if",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]})]}),p.jsxs("div",{className:"tw-km tw-jj tw-ip tw-dp tw-jf tw-jb tw-fa tw-fd anm-scroll-container",children:[p.jsx(Qf,{}),e.content,p.jsx(Qf,{})]})]}),Qf=()=>p.jsxs("div",{className:"tw-ph tw-vk tw-ap",children:[p.jsxs("div",{className:"tw-ho tw-cg tw-in",children:[p.jsx("div",{className:"tw-sn tw-zg tw-lg tw-cq"}),p.jsx("div",{className:"tw-sn tw-uo tw-zg tw-lg tw-bq"}),p.jsx("div",{className:"tw-sn tw-uo tw-zg tw-lg tw-in"})]}),p.jsxs("div",{className:"tw-ho tw-cg tw-in tw-ue",children:[p.jsx("div",{className:"tw-sn tw-zg tw-lg tw-in"}),p.jsx("div",{className:"tw-sn tw-uo tw-zg tw-lg tw-in"}),p.jsx("div",{className:"tw-sn tw-uo tw-zg tw-lg tw-bq"})]}),p.jsxs("div",{className:"tw-ho tw-cg tw-in tw-te",children:[p.jsx("div",{className:"tw-sn tw-zg tw-lg tw-in"}),p.jsx("div",{className:"tw-sn tw-uo tw-zg tw-lg tw-eq"}),p.jsx("div",{className:"tw-sn tw-uo tw-zg tw-lg tw-in"})]})]}),O5=e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},_.createElement("path",{fill:"#0044A0",fillRule:"evenodd",d:"M4.155 4.155C3.24 5.071 2.75 6.574 2.75 9v6c0 2.426.49 3.93 1.405 4.845.916.915 2.419 1.405 4.845 1.405h6c2.426 0 3.93-.49 4.845-1.405.915-.916 1.405-2.419 1.405-4.845v-5a.75.75 0 0 1 1.5 0v5c0 2.574-.51 4.57-1.845 5.905S17.574 22.75 15 22.75H9c-2.574 0-4.57-.51-5.905-1.845S1.25 17.574 1.25 15V9c0-2.574.51-4.57 1.845-5.905S6.426 1.25 9 1.25h5a.75.75 0 0 1 0 1.5H9c-2.426 0-3.93.49-4.845 1.405",clipRule:"evenodd"}),_.createElement("path",{fill:"#0044A0",fillRule:"evenodd",d:"M13.713 1.307a.75.75 0 0 1 .817.163l8 8a.75.75 0 0 1-.53 1.28h-4c-1.541 0-2.808-.247-3.655-1.095C13.497 8.808 13.25 7.542 13.25 6V2a.75.75 0 0 1 .463-.693m1.037 2.504V6c0 1.458.253 2.192.655 2.595.403.402 1.136.655 2.595.655h2.19zM6.25 13a.75.75 0 0 1 .75-.75h6a.75.75 0 0 1 0 1.5H7a.75.75 0 0 1-.75-.75M6.25 17a.75.75 0 0 1 .75-.75h4a.75.75 0 0 1 0 1.5H7a.75.75 0 0 1-.75-.75",clipRule:"evenodd"})),I5_createReport=async(e,t,n="")=>{try{const u=await fetch(`${n||"https://api-sso.dbt.pw"}/v2/public/report`,{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)}),r=await u.json();return{status:u.status,data:r}}catch(u){throw console.error(u),u}},P5=({message:e,query:t,sources:n,onClose:u,messageID:r,settings:l})=>{const[o,i]=_.useState(t),[a,s]=_.useState(e),[c,f]=_.useState(""),[w,y]=_.useState(""),g=Xt.settings.language,k=dt[g]||dt.en,[D,v]=_.useState(!1),[d,m]=_.useState(!1),[x,E]=_.useState(""),[C,S]=_.useState(!1),A={messageID:r,question:t,aiAnswer:a,answer:w,remark:c,reference:null==n?void 0:n.map((O=>({s3Key:null==O?void 0:O.key,content:null==O?void 0:O.content})))},j=()=>{S(!0),setTimeout((()=>S(!1)),300)};return p.jsxs("div",{className:"tw-qi tw-in tw-jj",children:[p.jsx("div",{className:"tw-ho tw-qk tw-oo tw-sq tw-tf tw-mk tw-ok tw-xc",children:p.jsx("span",{className:"tw-lm tw-vo tw-mo tw-hj",children:k.report})}),p.jsx("div",{className:"tw-ho tw-qk tw-qn tw-ea tw-fd anm-scroll-container",children:p.jsxs("div",{className:"tw-ho tw-qk tw-rn tw-tp tw-dp tw-op",children:[p.jsxs("div",{className:"tw-ho tw-qk tw-on",children:[p.jsx("span",{className:"tw-km tw-hj",children:k.question}),p.jsx("input",{type:"text",value:o,onChange:O=>i(O.target.value),className:"tw-vn tw-km tw-tf tw-ua tw-rm tw-xc tw-qi",placeholder:k.question,disabled:!0})]}),p.jsxs("div",{className:"tw-ho tw-qk tw-on",children:[p.jsx("span",{className:"tw-km tw-hj",children:k.answer}),p.jsx("textarea",{onChange:O=>{s(O.target.value)},value:a,className:"tw-vn tw-km tw-tf tw-ua tw-rm tw-xc tw-qi tw-al",cols:"30",rows:"6",placeholder:k.answer,disabled:!0,style:{scrollbarWidth:"thin"}})]}),p.jsxs("div",{className:"tw-ho tw-qk tw-on",children:[p.jsx("span",{className:"tw-hj tw-km",children:k.answerCorrect}),p.jsx("textarea",{onChange:O=>{y(O.target.value)},value:w,className:"tw-vn tw-rm tw-xc tw-jg tw-qi tw-km tw-al",cols:"10",rows:"3",placeholder:k.answerCorrect,style:{scrollbarWidth:"thin"}})]}),p.jsxs("div",{className:"tw-ho tw-qk tw-on",children:[p.jsx("span",{className:" tw-hj tw-km",children:k.sources}),(null==n?void 0:n.length)<=0?p.jsx("div",{children:p.jsx("p",{className:"tw-jc tw-km",children:k.sourcesEmpty})}):p.jsx("div",{className:"tw-ho tw-gj tw-qq tw-pn tw-rm tw-tf tw-xc tw-qi tw-fg tw-fd",style:{scrollbarWidth:"thin"},children:null==n?void 0:n.map(((O,Z)=>p.jsxs("div",{className:"tw-co tw-jp tw-wp tw-ho tw-cg tw-on tw-rm tw-tf tw-xc tw-ri",children:[p.jsx(O5,{className:"tw-cl tw-kf"}),p.jsx("span",{className:"tw-km tw-dg tw-vd",children:O.key.split("/").pop()})]},Z)))})]}),p.jsxs("div",{className:"tw-ho tw-qk tw-on",children:[p.jsx("span",{className:"tw-km tw-hj",children:k.remark}),p.jsx("input",{type:"text",value:c,onChange:O=>f(O.target.value),className:"tw-vn tw-km tw-tf tw-ua tw-rm tw-xc tw-qi tw-vb",placeholder:k.remark})]}),p.jsxs("div",{className:"tw-in tw-ho tw-qn tw-bd tw-cg tw-ld",children:[x?p.jsx("p",{className:"tw-mm tw-yd tw-eg",children:x}):p.jsx("p",{}),p.jsxs("div",{className:"tw-ho tw-cg tw-qn",children:[p.jsx("button",{onClick:u,className:"tw-qd tw-ho tw-cg tw-sd tw-ch tw-rm tw-hc tw-qi tw-jo tw-up tw-ya tw-xf tw-jd",children:p.jsx("p",{className:"tw-yd",children:k.cancel})}),p.jsxs("button",{disabled:D,onClick:async()=>{v(!0);try{const O=await I5_createReport(A,{"client-id":l.embedId},l.restUrl);200===O.status||201===O.status?(E(""),m(!0),setTimeout((()=>u()),1e3)):(E(O.data.error),j())}catch(O){console.log("Failed to fetch report."),E(`${O}`),j()}finally{v(!1)}},className:`tw-qd tw-ho tw-cg tw-ch ${d?"tw-sf tw-tc tw-lp tw-hp tw-ck tw-qb tw-zj":x?"tw-rf tw-up":"tw-qf tw-up"} ${C?"tw-sc":""} tw-qi tw-jo tw-ya tw-xf tw-jd tw-za tw-ba tw-ub`,children:[d&&p.jsx(h2,{size:16,className:"tw-vi anm-animate-draw-fadeIn"}),p.jsx("p",{className:"tw-vi",children:k.report})]})]})]})]})})]})},R5=e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none",...e},_.createElement("path",{fill:"#000",d:"M20 36.667c9.205 0 16.667-7.462 16.667-16.667S29.205 3.334 20 3.334 3.334 10.795 3.334 20 10.795 36.667 20 36.667",opacity:.4}),_.createElement("path",{fill:"#fff",d:"m21.767 20 3.833-3.833a1.26 1.26 0 0 0 0-1.767 1.26 1.26 0 0 0-1.767 0L20 18.233 16.167 14.4a1.26 1.26 0 0 0-1.767 0 1.26 1.26 0 0 0 0 1.767L18.233 20 14.4 23.833a1.26 1.26 0 0 0 0 1.767c.25.25.567.367.883.367s.634-.117.884-.367L20 21.767l3.833 3.833c.25.25.567.367.884.367.316 0 .633-.117.883-.367a1.26 1.26 0 0 0 0-1.767z"})),xl=({children:e,text:t,render:n})=>p.jsxs("div",{className:"anm-group/tooltip tw-zk tw-ho",children:[e,t&&p.jsx("span",{className:"tw-kk tw-jj tw-uk tw-fc tw-v tw-ym tw-s tw-uj tw-qp tw-mm tw-qa tw-fb tw-dm tw-vl tw-ac tw-rb tw-hi tw-ej tw-un",children:t}),n&&n]}),z5=({document:e})=>p.jsxs("div",{className:"tw-vm tw-qk tw-kk tw-wm tw-gl tw-lf tw-ma tw-pq tw-ri tw-vl tw-dq tw-lk tw-pm tw-ak tw-vj tw-ic tw-xl",children:[p.jsx("span",{className:"tw-jj tw-km tw-ui",children:e.key}),p.jsxs("span",{className:"tw-jj tw-km ",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]}),p.jsx("span",{className:"tw-jj tw-km tw-dq tw-ef tw-ac tw-dd tw-bg tw-wo",children:e.content.substring(0,50)})]});function $5({suggestionList:e,onSendMessages:t,settings:n,isLoading:u}){const r=null==n?void 0:n.headerBgColor,l=null==n?void 0:n.headerTextColor;return p.jsx("div",{style:{scrollbarWidth:"thin"},className:"tw-ho tw-gj tw-on tw-np tw-wn",children:u?p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"tw-ge tw-ah tw-ik tw-rk tw-qi"}),p.jsx("div",{className:"tw-ge tw-ah tw-il tw-rk tw-qi"}),p.jsx("div",{className:"tw-ge tw-ah tw-jl tw-rk tw-qi"})]}):null==e?void 0:e.map(((o,i)=>p.jsx("div",{style:{"--bg-color":r??"#FFFFFF","--bg-color-saturated":B5(r)??"#FFFFFF","--text-color":l??"#000000"},onClick:a=>{t(a,o)},className:"tw-la tw-km tw-tf tw-rm tw-ja tw-xp tw-an tw-lg tw-qd tw-t tw-ga tw-zb tw-ho tw-cg",children:p.jsx("span",{children:o})},i)))})}const B5=(e,t=85)=>{let i,a,n=parseInt(e.slice(1,3),16)/255,u=parseInt(e.slice(3,5),16)/255,r=parseInt(e.slice(5,7),16)/255,l=Math.max(n,u,r),o=Math.min(n,u,r);if(l===o)i=a=0;else{let c=l-o;a=(l+o)/2>.5?c/(2-l-o):c/(l+o),l===n?i=(u-r)/c+(u<r?6:0):l===u?i=(r-n)/c+2:l===r&&(i=(n-u)/c+4),i*=60}return`hsl(${Math.round(i)}, ${Math.round(100*a)}%, ${t}%)`},U5={copy:e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},_.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.668 9.668c-.578.578-.918 1.556-.918 3.232v4.2c0 1.676.34 2.654.918 3.232s1.556.918 3.232.918h4.2c1.676 0 2.654-.34 3.232-.918s.918-1.556.918-3.232v-4.2c0-1.676-.34-2.654-.918-3.232S12.776 8.75 11.1 8.75H6.9c-1.676 0-2.654.34-3.232.918m-1.06-1.06C3.603 7.61 5.075 7.25 6.9 7.25h4.2c1.824 0 3.296.36 4.293 1.357s1.357 2.469 1.357 4.293v4.2c0 1.824-.36 3.296-1.357 4.293S12.924 22.75 11.1 22.75H6.9c-1.824 0-3.296-.36-4.293-1.357S1.25 18.924 1.25 17.1v-4.2c0-1.824.36-3.296 1.357-4.293",clipRule:"evenodd"}),_.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.668 3.668C9.09 4.246 8.75 5.224 8.75 6.9v.35h2.35c1.824 0 3.296.36 4.293 1.357s1.357 2.469 1.357 4.293v2.35h.35c1.676 0 2.654-.34 3.232-.918s.918-1.556.918-3.232V6.9c0-1.676-.34-2.654-.918-3.232S18.776 2.75 17.1 2.75h-4.2c-1.676 0-2.654.34-3.232.918m-1.06-1.06C9.603 1.61 11.075 1.25 12.9 1.25h4.2c1.824 0 3.296.36 4.293 1.357S22.75 5.076 22.75 6.9v4.2c0 1.824-.36 3.296-1.357 4.293S18.924 16.75 17.1 16.75H16a.75.75 0 0 1-.75-.75v-3.1c0-1.676-.34-2.654-.918-3.232S12.776 8.75 11.1 8.75H8A.75.75 0 0 1 7.25 8V6.9c0-1.824.36-3.296 1.357-4.293",clipRule:"evenodd"})),check:e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},_.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.614 5.649a1 1 0 0 1 .084 1.422L10.184 18.74a1 1 0 0 1-1.428.058l-6.084-5.727a1.01 1.01 0 0 1-.09-1.36 1.01 1.01 0 0 1 1.455-.126l4.72 4.246a1 1 0 0 0 1.412-.074l9.043-10.027a1 1 0 0 1 1.402-.082",clipRule:"evenodd"}))},va=C5(window),q5=({settings:e,messageIndex:t,debugPre:n,sessionId:u,type:r,message:l,role:o,isRAG:i,query:a="",question:s,sources:c=[],error:f=!1,read:w,sending:y,pending:g,sentAt:k,isDateChanged:D,currDate:v,isLastMessage:d,isShowSuggestion:m,onSuggestion:x,setSuggestList:E,messageID:C,images:S,videos:A,fileUrls:P,isFullScreen:j,submit:O,suggestList:Z,isSuggestLoading:se})=>{var Du,It;const{openModal:ve,setModalOpen:Fe}=_.useContext($i),[Qe,mt]=_.useState(null),[M,$]=_.useState([]),{presignUrls:R}=((e,{clientId:t,sessionId:n})=>{const[u,r]=_.useState(null),[l,o]=_.useState(!1),[i,a]=_.useState(null),s=JSON.stringify(e);return _.useEffect((()=>{if(!e||Array.isArray(e)&&0===e.length)return;let f,c=!0;try{f=JSON.parse(s)}catch{f=s}const w=Array.isArray(f)?f:[f];return(async()=>{o(!0),a(null);try{const g=await Promise.all(w.map((async D=>{const v="string"==typeof D?D:(null==D?void 0:D.key)||"";if(!v)return{url:null};const d=v.indexOf("code_interpreter/"),m=-1!==d?v.substring(d):v.replace(/^s3:\/\/[^/]+\/(asset\/[^/]+\/)?/,""),x=await fetch(`https://api.rudi.animuz.ai/v2/public/presignedUrl?key=${m}`,{headers:{"client-id":t,"session-id":n}});if(!x.ok){const A=await x.text().catch((()=>x.statusText));throw new Error(`Error fetching presign URL for ${v}: ${A}`)}const E=x.clone();let C=null;try{C=await x.json()}catch{}return{url:(null==C?void 0:C.url)??await E.text()}})));if(!c)return;const k=g.map((D=>D.url));r(k)}catch(g){if(!c)return;a((null==g?void 0:g.message)??String(g))}finally{c&&o(!1)}})(),()=>{c=!1}}),[s,t,n]),{presignUrls:u,loading:l,error:i}})("oci"===(null==(Du=null==n?void 0:n[0])?void 0:Du.name)?null==(It=null==n?void 0:n[1])?void 0:It.metadata:[],{clientId:e.embedId,sessionId:u}),z=R||S,q=_.useRef(null),Y=e.language,$e=dt[Y]||dt.en,W=e.textSize?`anm-text-[${e.textSize}px]`:"tw-th";function Ne(ee){return"user"===ee?e.userBgColor??"#3DBEF5":e.assistantBgColor??"#FFFFFF"}function St(ee){return"user"===ee?e.userTextColor??"#FFFFFF":e.assistantTextColor??"#27272a"}const[Rr,Au]=_.useState("copy"),_l=U5[Rr],zr=_.useMemo((()=>{try{let ee=va.sanitize(ca(l));if(z&&z.length>0&&typeof window<"u"){const Me=document.createElement("div");Me.innerHTML=ee;const le=Me.querySelectorAll("img"),ce=new Set;return le.forEach((Te=>{var Nn;const Pt=Te.getAttribute("src")||Te.getAttribute("data-src")||Te.getAttribute("data-filename")||"",wt=Te.getAttribute("alt")||"",$r=(null==(Nn=Pt.split("/").pop())?void 0:Nn.split("?")[0])||"";let Jt=z.findIndex(((oe,lt)=>{if(ce.has(lt)||!oe)return!1;const Fu="string"==typeof oe?oe:oe.url||oe.presignedUrl||oe.signedUrl||"",en="object"==typeof oe&&(oe.name||oe.key)||"",Nu=Fu.split("?")[0];if(Fu&&(Fu===Pt||Nu.endsWith($r))||en&&(en===$r||en.endsWith($r)||Pt&&Pt.includes(en)))return!0;if(wt){const Mu=wt.replace(/\s+/g,"_");if(Nu.endsWith(wt)||Nu.endsWith(Mu)||en.endsWith(wt)||en.endsWith(Mu))return!0}return!1}));if(-1===Jt&&(Jt=z.findIndex(((oe,lt)=>!ce.has(lt)))),-1!==Jt){ce.add(Jt);const oe=z[Jt],lt="string"==typeof oe?oe:oe.url||oe.presignedUrl||oe.signedUrl;lt&&(Te.setAttribute("src",lt),Te.style.maxWidth="100%")}})),Me.innerHTML}if("assistant"===o&&ee){const Me=/\.(jpe?g|png|gif|webp|svg)(\?[^"']*)?$/i,le=document.createElement("div");le.innerHTML=ee,le.querySelectorAll("a[href]").forEach((ce=>{var Pt;const Te=ce.getAttribute("href");if(Te&&Me.test(Te.split("?")[0])){if(ce.querySelector("img")||"IMG"===(null==(Pt=ce.nextElementSibling)?void 0:Pt.tagName)&&ce.nextElementSibling.src===Te)return;const wt=document.createElement("img");wt.src=Te,wt.alt=ce.textContent||"Image preview",wt.style.cssText="max-width:100%;border-radius:8px;margin-top:4px;display:block;cursor:pointer",ce.parentNode.insertBefore(wt,ce.nextSibling)}})),ee=le.innerHTML}return ee}catch(ee){return console.error("Error processing markdown images:",ee),va.sanitize(ca(l))}}),[l,o,z,va,ca,u,e.embedId,n,R]);_.useEffect((()=>{if(q.current){q.current.querySelectorAll("a").forEach((le=>{le.onclick=async ce=>{ce.preventDefault(),Er.sendEvent({event:"click",url:le.href},{"client-id":e.embedId,"session-id":u}),le.onclick=null,window.location.href=le.href}}));const ee=q.current.querySelectorAll("img"),Me=Array.from(ee).map((le=>le.src));Me.length>0&&$(Me),ee.forEach((le=>{le.style.cursor="pointer",le.onclick=ce=>{ce.preventDefault(),ce.stopPropagation(),mt(le.src)}}))}}),[zr,u,e.embedId]);return"event"===r?p.jsx("div",{className:"tw-ho tw-sd tw-wo tw-oo",children:p.jsx("div",{className:"tw-wp tw-vh tw-km tw-jj",children:l})}):p.jsxs(p.Fragment,{children:[D&&p.jsx("div",{className:"tw-ho tw-sd tw-wo tw-oo",children:p.jsx("div",{className:"tw-ho tw-cg tw-sd tw-bj tw-vh tw-lg tw-wp tw-rp tw-mm tw-jj",children:A5(v,Y)})}),p.jsxs("div",{style:{"--user-bg":Ne("user"),"--asst-bg":Ne("assistant"),"--user-text":St("user"),"--asst-text":St("assistant")},className:`tw-zk ${"user"===o?"tw-cp":"tw-ep"} tw-j`,children:[p.jsxs("div",{className:"tw-ho tw-gh tw-in tw-tn "+("user"===o?"tw-hh":"tw-le"),children:["user"!==o&&p.jsx("span",{className:"tw-ho tw-dl tw-xq tw-lq tw-lg tw-so",children:p.jsx("img",{src:e.assistantIcon||Ui,alt:"Chatbot Avatar",className:"tw-lg"})}),p.jsxs("div",{"data-role":o,className:`tw-zk tw-ag tw-dh tw-yp tw-tp tw-bg tw-jj tw-tg tw-lh ${j&&"tw-ih tw-ec"} ${f?"tw-yh tw-qi":"user"===o?`${Xt.USER_STYLES.base} anm-animuz-user-message tw-oa tw-fb`:`${Xt.ASSISTANT_STYLES.base} tw-oa tw-eb tw-nk ${m&&"tw-na tw-tf"}`}`,children:["user"!==o&&f?p.jsxs("div",{className:"tw-qq tw-qi tw-cj tw-rg",children:[p.jsxs("span",{className:"tw-bg ",children:[p.jsx($2,{className:"tw-jq tw-uq tw-no tw-bg"})," ","Could not respond to message."]}),p.jsx("p",{className:"tw-mm tw-ij tw-wo tw-bi tw-pd tw-gp tw-zh tw-qq tw-si",children:f})]}):g?p.jsx("div",{className:"tw-yo tw-zo anm-dot-falling"}):p.jsxs(p.Fragment,{children:["image"===r?p.jsx(Yf,{images:S,sentAt:k}):"video"===r?p.jsx(Kf,{videos:A}):"file"===r?p.jsx(Xf,{fileUrls:P}):p.jsxs(p.Fragment,{children:[p.jsx("span",{ref:q,className:`tw-jb tw-ho tw-qk tw-ql ${W} tw-nj tw-qg tw-rd tw-nb tw-ob`,dangerouslySetInnerHTML:{__html:zr}}),"user"===o&&(null==S?void 0:S.length)>0&&p.jsx("div",{className:"tw-wo",children:p.jsx(Yf,{images:S,sentAt:k})}),"user"===o&&(null==A?void 0:A.length)>0&&p.jsx("div",{className:"tw-wo",children:p.jsx(Kf,{videos:A})}),"user"===o&&(null==P?void 0:P.length)>0&&p.jsx("div",{className:"tw-wo",children:p.jsx(Xf,{fileUrls:P})})]}),e.showRag&&i&&c.length>0&&p.jsx("div",{className:"tw-ho tw-gj tw-rl tw-cg tw-wo tw-km tw-hf",children:c.map(((ee,Me)=>p.jsx(xl,{render:p.jsx(z5,{document:ee}),children:p.jsx("span",{className:"tw-so tw-wp tw-rp tw-qi tw-yg tw-qd tw-dc tw-nc tw-ef tw-ac tw-dd anm-max-w-32",onClick:()=>ve(p.jsx(L5,{document:ee,query:a})),children:ee.key.split("/").pop()})},Me)))})]}),p.jsxs("div",{className:"tw-ho tw-qk tw-kk tw-jj tw-rh tw-gf tw-ac tw-pk "+("user"===o?"tw-mj tw-oi tw-ro":"tw-gh tw-oj tw-po"),children:["user"===o&&w&&p.jsx("span",{children:"Read"}),p.jsxs("div",{className:"tw-ho tw-cg",children:["user"===o&&y?p.jsx("span",{children:p.jsx(T5,{width:16,height:16,viewBox:"0 0 24 24"})}):"user"===o&&f?p.jsxs("span",{className:"tw-ho tw-on tw-cg tw-ro tw-rg",children:[p.jsx(j5,{})," ",f]}):p.jsx(p.Fragment,{}),k&&p.jsx("span",{children:S5(k)})]})]})]})]}),"user"!==o&&p.jsxs("div",{"aria-expanded":d&&!g,className:"anm-action-wrapper tw-sb tw-tb tw-gq tw-in tw-zm tw-cp tw-kk tw-vm tw-gl tw-bb tw-nl tw-xn tw-nd tw-ck",children:[e.showCopyAction&&p.jsx(xl,{text:"copy"===Rr?$e.copy:$e.copySuccess,children:p.jsx("button",{className:"tw-ho tw-cg tw-sd tw-qd tw-ch tw-nd tw-mq tw-qp tw-gf tw-da",onClick:()=>{navigator.clipboard.writeText(l),Au("check"),setTimeout((()=>{Au("copy")}),1e3)},children:p.jsx(_l,{className:"tw-uq tw-jq"})})}),e.showSuggestAction&&p.jsx(xl,{text:$e.suggest,children:p.jsx("button",{onClick:()=>{x(),(async()=>{try{if(E([]),null!==(null==e?void 0:e.defaultSuggestions)&&""!==(null==e?void 0:e.defaultSuggestions)){const Me=(await Er.suggestionsNoAuth({conversationID:u,defaultSuggestions:"string"==typeof e.defaultSuggestions?JSON.parse(e.defaultSuggestions.replace(/'/g,'"')):e.defaultSuggestions,messages:[{role:o,message:l,debugPre:n}]},{"client-id":e.embedId,"session-id":u},e.restUrl)).suggest;E(Me)}}catch(ee){console.error("Error fetching suggestions:",ee)}})()},className:"tw-ho tw-cg tw-sd tw-qd tw-ch tw-nd tw-mq tw-qp tw-gf tw-da tw-ba tw-ra",children:p.jsx(N5,{className:"tw-uq tw-jq"})})}),e.showReportAction&&0!==t&&p.jsx(xl,{text:$e.report,children:p.jsx("button",{className:"tw-ho tw-cg tw-sd tw-qd tw-ch tw-nd tw-mq tw-qp tw-gf tw-da tw-ba tw-ra",onClick:()=>{ve(p.jsx(P5,{datasetID:e.embedId,message:l,query:s,messageID:C,sources:c,onClose:()=>Fe(!1),settings:e}))},children:p.jsx(M5,{className:"tw-uq tw-jq"})})})]})]}),m&&p.jsx($5,{settings:e,suggestionList:Z,onSendMessages:O,isLoading:se}),Qe&&p.jsx(Jf,{selectedImage:Qe,images:M,onClose:()=>mt(null),sentAt:k})]})},Yf=({images:e,sentAt:t})=>{const[n,u]=_.useState("");return _.useState(!1),new Date(t).toLocaleString("th-TH",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}),p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"tw-ho tw-pn tw-gj",children:null==e?void 0:e.map(((l,o)=>p.jsx("img",{onClick:()=>u(l),src:l,alt:"img",className:"tw-hm tw-ti tw-rm tw-vc tw-yg tw-td tw-qd"},o)))}),n&&p.jsx(Jf,{selectedImage:n,images:e,onClose:()=>u(null),sentAt:t})]})},Kf=({videos:e})=>p.jsx("div",{className:"tw-ho tw-pn tw-gj",children:null==e?void 0:e.map(((t,n)=>p.jsx("video",{src:t,controls:!0,className:"tw-ki tw-oe tw-ti tw-rm tw-vc tw-yg"},n)))}),Xf=({fileUrls:e})=>p.jsx("div",{className:"tw-ho tw-qk tw-ol",children:null==e?void 0:e.map(((t,n)=>{var o,i;const r=decodeURIComponent((null==(o=t.split("/").pop())?void 0:o.split("?")[0])||"file").replace(/^[A-Z0-9]+_/,""),l=(null==(i=r.split(".").pop())?void 0:i.toUpperCase())||"";return p.jsxs("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"tw-ho tw-cg tw-pn tw-sp tw-xp tw-qi tw-xh tw-rm tw-tf tw-wc tw-hg tw-qg tw-cc tw-zb",children:[p.jsx("span",{className:"tw-jm",children:"📄"}),p.jsxs("div",{className:"tw-dd",children:[p.jsx("p",{className:"tw-km tw-jj tw-mq tw-hl tw-me",children:r}),p.jsx("p",{className:"tw-qh tw-jj tw-gf tw-mq tw-hk tw-me",children:l})]})]},n)}))}),Jf=({selectedImage:e,images:t,onClose:n,sentAt:u})=>{const[r,l]=_.useState(e),[o,i]=_.useState(!1);_.useEffect((()=>{l(e)}),[e]);const s=new Date(u||Date.now()).toLocaleString("th-TH",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"});return rl.createPortal(p.jsxs("div",{className:"tw-ho tw-tm tw-qk tw-rq tw-nn tw-tl tw-yi tw-sd tw-xg tw-db",children:[p.jsxs("div",{className:"tw-ho tw-cg tw-bd",children:[p.jsxs("div",{className:"tw-ho tw-qn tw-cg tw-nq",children:[p.jsx("div",{className:"tw-ho tw-sd tw-cg tw-lh tw-lk tw-gm",children:p.jsx("img",{src:Ui,alt:"avatar",className:"tw-fm tw-ig tw-ud"})}),p.jsxs("div",{className:"tw-ho tw-qk",children:[p.jsx("span",{className:"tw-vi tw-jm",children:"Rudi"}),p.jsx("span",{className:"tw-vh",children:s})]})]}),p.jsx("div",{className:"tw-ho tw-sd tw-cg tw-on",children:p.jsx(R5,{onClick:n,className:"tw-qd anm-hover:anm-scale-110 tw-be tw-xf"})})]}),p.jsx("div",{className:"tw-xe tw-pe tw-mh tw-zk tw-oh tw-ho tw-sd tw-cg tw-in",children:p.jsx("img",{src:r,alt:"Preview",onLoad:()=>i(!0),className:"tw-td tw-ki tw-ji tw-mh tw-rb tw-yf "+(o?"tw-jh":"tw-uj")},r)}),p.jsx("div",{className:"tw-ho tw-pn tw-ze tw-kl tw-bp",children:null==t?void 0:t.map(((c,f)=>p.jsx("div",{className:"tw-qd tw-be "+(r===c?"tw-nk tw-uf tw-lh":"tw-mi"),onClick:()=>{i(!1),l(c)},children:p.jsx("img",{src:c,alt:c,className:"tw-tk tw-gg tw-lh tw-ig"})},f)))})]}),document.body)};function ed(){const{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}function Z5(){var r,l;const{width:e}=function(){const[e,t]=_.useState(ed());return _.useEffect((()=>{function n(){t(ed())}return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}),[]),e}(),[t,n]=_.useState(!(null!=(r=null==window?void 0:window.sessionStorage)&&r.getItem(Y1)||null!=(l=null==window?void 0:window.localStorage)&&l.getItem(ll)));return{isGreetingsShow:t,toggleGreetingsShow:function(o){!0===o&&e>=768&&window.sessionStorage.setItem(Y1,"1"),n(o)}}}function td(e){return e&&e.greetings?JSON.parse(e.greetings).map((t=>({role:"assistant",content:t}))):[]}function W5({sessionId:e,isChatOpen:t,settings:n={},history:u=[],showSuggestions:r,setShowSuggesstion:l,setSuggestList:o,isFullScreen:i,submit:a,suggestList:s,isSuggestLoading:c}){const[f,w]=_.useState(!0),y=_.useRef(null),g=_.useMemo((()=>td(n)),[n]),k=_.useMemo((()=>[...g,...u]),[g,u]);_.useEffect((()=>{t&&v()}),[u,t]);const v=()=>{var d;null==(d=y.current)||d.scrollIntoView({behavior:"auto"})};return 0===k.length?p.jsx("div",{className:"tw-zk tw-ho tw-qk tw-sm tw-wh tw-yg",children:p.jsx("div",{className:"tw-ho tw-qk tw-ni tw-yk tw-qi tw-rp tw-um tw-wo tw-rl tw-le",children:p.jsx("div",{className:"tw-ho tw-um tw-qk tw-cg tw-sd",children:p.jsx("p",{className:"tw-zd tw-km tw-jj tw-zp tw-uh",children:(null==n?void 0:n.greeting)??"Send a chat to get started."})})})}):p.jsxs("div",{style:{"--bg-color":n.bgColorChat??"#f3f4f6"},className:"anm-wrapper-container tw-zk tw-ho tw-qk tw-sm tw-wh tw-dd tw-xa",children:[p.jsx("div",{className:"anm-scroll-container tw-xb tw-wb tw-cf tw-um tw-fp",onScroll:d=>{const x=d.target.scrollHeight-d.target.scrollTop-d.target.clientHeight<=40;w(x)},children:p.jsxs("div",{className:"tw-ho tw-qk tw-sm tw-pp tw-xj tw-z tw-tp tw-vl tw-cd",children:[k.map(((d,m)=>{var S;const x=m===k.length-1&&m>g.length-1,C=null==(S=k[m-1])?void 0:S.content;return p.jsx(q5,{settings:n,messageIndex:m,sessionId:e,type:d.type,message:d.content,sentAt:d.sentAt||d.timestamp,role:d.role,isRAG:d.isRAG,query:d.query,question:C,sources:d.sources,chatId:d.chatId,feedbackScore:d.feedbackScore,error:d.error,sending:d.sending,read:d.read,pending:d.pending,isDateChanged:d.isDateChanged,currDate:d.currDate,isLastMessage:x,onSuggestion:()=>{l(m===r?null:m)},isShowSuggestion:r===m,debugPre:d.debugPre,setSuggestList:o,messageID:d.msgID,images:null==d?void 0:d.images,fileUrls:null==d?void 0:d.fileUrls,videos:null==d?void 0:d.videos,isFullScreen:i,submit:a,suggestList:s,isSuggestLoading:c},m)})),p.jsx("div",{className:"tw-ln",ref:y})]})}),p.jsx(G5,{scrollToBottom:v,isAtBottom:f})]})}const G5=({scrollToBottom:e,isAtBottom:t})=>p.jsx("div",{className:"tw-uk tw-fc tw-kk tw-in tw-we tw-ho tw-hh tw-dj tw-ib",children:p.jsxs("button",{className:`tw-hb tw-pq tw-to tw-pm tw-qd tw-ho tw-cg tw-sd tw-lg tw-dn tw-yc tw-ug tw-bc tw-vi tw-rb tw-vf ${t?"tw-uj tw-ib":"tw-jh"} `,onClick:e,id:"scroll-to-bottom-button","aria-label":"Scroll to bottom",children:[p.jsx(l2,{weight:"bold"}),p.jsx("span",{className:"tw-im",children:"Scroll to bottom"})]})});function Q5(){return p.jsx("div",{className:"tw-um tw-yg anm-no-scroll tw-ho tw-qk tw-cg tw-sd",children:p.jsx(il,{size:28,className:"tw-zd tw-pf"})})}function Y5({settings:e}){return"true"===e.noSponsor?null:p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"tw-sl tw-zg tw-yo"}),p.jsxs("span",{className:"tw-vl tw-mm tw-jj tw-zo tw-ff",children:["Powered by"," ",p.jsx("a",{href:"https://rudi.animuz.ai/",target:"_blank",rel:"noreferrer",className:"tw-mm anm-font-inherit tw-kc tw-hg tw-df tw-kd",children:"rudi.animuz.ai"})]})]})}const K5=5242880,ya=5,Yt={image:["image/jpeg","image/png","image/webp"],video:["video/mp4"],document:["application/pdf","text/markdown","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","text/csv","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","image/tiff"]},X5=[...Yt.image,...Yt.video,...Yt.document].join(","),J5=new Set([...Yt.image,...Yt.video,...Yt.document]);function tw(e){return J5.has(e.type)?e.size>K5?"fileTooLarge":null:"unsupportedFile"}function uw({settings:e,message:t,submit:n,onChange:u,inputDisabled:r,buttonDisabled:l,attachments:o=[],onAddFiles:i,onRemoveAttachment:a,validationErrors:s=[]}){const c=_.useRef(null),f=_.useRef(null),w=_.useRef(null),[y,g]=_.useState(!1),k=e.language,D=dt[k]||dt.en;_.useEffect((()=>{!r&&f.current&&f.current.focus(),x()}),[r]);const x=()=>{if(!f.current)return;f.current.style.height="auto";const S=f.current.scrollHeight-24+"px";f.current.style.height=S};_.useLayoutEffect((()=>{x()}),[f,t]);return p.jsx("div",{className:"tw-hn tw-pk tw-ho tw-qk tw-gp tw-kp tw-bp tw-hh",children:p.jsxs("form",{onSubmit:S=>{g(!1),n(S)},className:"tw-lk tw-lh tw-ho tw-qk tw-tf tw-rm tw-wc tw-in tw-vl tw-cd",children:[p.jsx("input",{type:"file",ref:w,hidden:!0,multiple:!0,accept:X5,onChange:S=>{S.target.files&&S.target.files.length>0&&(i(S.target.files),S.target.value="")}}),o.length>0&&p.jsx("div",{className:"tw-ho tw-pn tw-sp tw-op tw-ed",children:o.map((S=>p.jsx(lw,{attachment:S,onRemove:()=>a(S.id)},S.id)))}),s.length>0&&p.jsx("div",{className:"tw-sp tw-np",children:s.map(((S,A)=>p.jsx("p",{className:"tw-mm tw-rg tw-mq tw-jj",children:S},A)))}),p.jsxs("div",{className:"tw-ho tw-mj tw-xk",children:["false"!==(null==e?void 0:e.allowFileUpload)&&p.jsx("button",{type:"button",onClick:()=>{var S;return null==(S=w.current)?void 0:S.click()},disabled:r||o.length>=ya,className:"tw-of tw-qc tw-fo tw-ee tw-pc tw-ch tw-ri tw-qd tw-gf tw-mb tw-mn tw-jn tw-y tw-kb","aria-label":D.attachFile,title:D.attachFile,children:p.jsx(L2,{size:20})}),p.jsx("textarea",{ref:f,className:"tw-ho tw-sm tw-in tw-jj tw-ia tw-nd tw-km tw-mk tw-hb tw-ne tw-pj tw-wl tw-rq tw-fd tw-x tw-kh tw-cb tw-vb tw-mf",onKeyDown:S=>{!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||window.innerWidth<=768||"ontouchstart"in window)&&13==S.keyCode&&!S.shiftKey&&(S.preventDefault(),n(S))},onChange:u,onPaste:S=>{var j;const A=null==(j=S.clipboardData)?void 0:j.items;if(!A)return;const P=[];for(const O of A)if("file"===O.kind){const Z=O.getAsFile();Z&&P.push(Z)}P.length>0&&(S.preventDefault(),i(P))},required:!(null!=o&&o.length),disabled:r,onFocus:()=>{g(!0)},onBlur:S=>{g(!1)},rows:1,tabIndex:0,enterKeyHint:"enter",value:t,placeholder:e.placeholder,id:"message-input"}),p.jsxs("button",{ref:c,type:"submit",disabled:l&&!(null!=o&&o.length),className:"tw-of tw-qc tw-fo tw-ee tw-pc tw-ch tw-ri tw-qd tw-ui tw-mn tw-kn anm-group/button tw-y",id:"send-message-button","aria-label":"Send message",children:[r?p.jsx(il,{className:"tw-uq tw-jq tw-pf"}):p.jsx(M2,{size:24,style:{"--btn-color":e.headerBgColor??"#000000"},className:"tw-pa tw-p tw-i",weight:"fill"}),p.jsx("span",{className:"tw-im",children:"Send message"})]})]}),p.jsx(Y5,{settings:e})]})})}function rw(e){var t;return(null==(t=e.split(".").pop())?void 0:t.toLowerCase())||""}function lw({attachment:e,onRemove:t}){const{previewUrl:n,file:u,status:r,category:l}=e,o="image"===l||"video"===l;return p.jsxs("div",{className:"tw-zk tw-je tw-ti tw-dd tw-rm tw-tf tw-wc anm-group/att "+(o?"tw-aq tw-lo":"tw-lo tw-re tw-ho tw-cg tw-ol tw-an tw-xh"),children:["image"===l?p.jsx("img",{src:n,alt:u.name,className:"tw-in tw-um tw-ig"}):"video"===l?p.jsx("video",{src:n,className:"tw-in tw-um tw-ig",muted:!0}):p.jsxs(p.Fragment,{children:[p.jsx(y2,{size:20,className:"tw-gf tw-je"}),p.jsxs("div",{className:"tw-dd",children:[p.jsx("p",{className:"tw-mm tw-jj tw-jf tw-mq tw-hl tw-me",children:u.name}),p.jsx("p",{className:"tw-qh tw-jj tw-gf tw-mq tw-hk tw-me",children:rw(u.name)})]})]}),p.jsx("button",{type:"button",onClick:t,className:"tw-kk tw-zn tw-yl tw-wg tw-af tw-un tw-ch tw-qd tw-uj tw-ca tw-rb",children:p.jsx(Bi,{size:10,className:"tw-vi"})}),"uploading"===r&&p.jsx("div",{className:"tw-kk tw-tl tw-bh tw-ho tw-cg tw-sd",children:p.jsx(il,{size:16,className:"tw-hf tw-pf"})}),"error"===r&&p.jsx("div",{className:"tw-kk tw-tl tw-he tw-ho tw-cg tw-sd",children:p.jsx("span",{className:"tw-rg tw-mm tw-jj tw-hj",children:"!"})})]})}const xa={message:"ping",timeout:6e4,interval:25e3};const aw=(e,t,n,u,r)=>{e.onmessage=l=>{var o;t.current.onMessage&&t.current.onMessage(l),"number"==typeof(null==u?void 0:u.current)&&(u.current=Date.now()),("function"!=typeof t.current.filter||!0===t.current.filter(l))&&(t.current.heartbeat&&"boolean"!=typeof t.current.heartbeat&&(null==(o=t.current.heartbeat)?void 0:o.returnMessage)===l.data||("number"==typeof(null==r?void 0:r.current)&&(r.current=Date.now()),n(l)))}},sw=(e,t,n,u,r,l)=>{e.onopen=o=>{if(t.current.onOpen&&t.current.onOpen(o),u.current=0,n(Kt.OPEN),t.current.heartbeat&&e instanceof WebSocket){const i="boolean"==typeof t.current.heartbeat?void 0:t.current.heartbeat;r.current=Date.now(),l.current=Date.now(),function(e,t,n){const{interval:u=xa.interval,timeout:r=xa.timeout,message:l=xa.message}=n||{},o=Math.max(100,u/10);let i=Date.now();const a=setInterval((()=>{const s=Date.now(),c=t.current;if(c+r<=s)console.warn(`Heartbeat timed out, closing connection, last message received ${s-c}ms ago, last ping sent ${s-i}ms ago`),e.close();else if(c+u<=s&&i+u<=s)try{"function"==typeof l?e.send(l()):e.send(l),i=s}catch(f){console.error("Heartbeat failed, closing connection",f instanceof Error?f.message:f),e.close()}}),o);e.addEventListener("close",(()=>{clearInterval(a)}))}(e,r,i)}}},cw=(e,t,n,u,r)=>{let l;return e.onclose=o=>{if(t.current.onClose&&t.current.onClose(o),n(Kt.CLOSED),t.current.shouldReconnect&&t.current.shouldReconnect(o)){const i=t.current.reconnectAttempts??20;if(r.current<i){const a="function"==typeof t.current.reconnectInterval?t.current.reconnectInterval(r.current):t.current.reconnectInterval;l=window.setTimeout((()=>{r.current++,u()}),a??5e3)}else t.current.onReconnectStop&&t.current.onReconnectStop(i),console.warn(`Max reconnect attempts of ${i} exceeded`)}},()=>l&&window.clearTimeout(l)},fw=(e,t,n,u,r)=>{let l;return e.onerror=o=>{if(t.current.onError&&t.current.onError(o),t.current.retryOnError)if(r.current<(t.current.reconnectAttempts??20)){const i="function"==typeof t.current.reconnectInterval?t.current.reconnectInterval(r.current):t.current.reconnectInterval;l=window.setTimeout((()=>{r.current++,u()}),i??5e3)}else t.current.onReconnectStop&&t.current.onReconnectStop(t.current.reconnectAttempts),console.warn(`Max reconnect attempts of ${t.current.reconnectAttempts} exceeded`)},()=>l&&window.clearTimeout(l)},rd=_.createContext({}),ld=({children:e})=>{const t={onOpen:()=>{},onClose:()=>{},protocols:["Client",Xt.settings.embedId],shouldReconnect:()=>Date.now()-c.current<18e5,reconnectAttempts:5,reconnectInterval:5e3,heartbeat:{message:"ping",interval:4e4,timeout:3e5}},[n,u]=_.useState(null),[r,l]=_.useState(void 0),o=_.useMemo((()=>{if(n)try{return JSON.parse(n.data)}catch{return{}}return null}),[n]),i=_.useRef(null),a=_.useRef((()=>{})),s=_.useRef(0),c=_.useRef(Date.now()),f=_.useRef(Date.now()),w=_.useRef([]),y=_.useRef(t);y.current=t;const g=_.useRef(null),[k,D]=_.useState(!1),v=r||(!0===k?Kt.CONNECTING:Kt.UNINSTANTIATED),m=_.useCallback((()=>D(!1)),[]),x=_.useCallback(((C,S=!0)=>{var A;(null==(A=i.current)?void 0:A.readyState)===Kt.OPEN?i.current.send(C):S&&w.current.push(C)}),[]),E=_.useCallback(((C,S=!0)=>{x(JSON.stringify(C),S)}),[x]);return _.useEffect((()=>{if(k){let C,S=!1,A=!0;const P=async()=>{A&&(C=pw(i,"wss://pn1o5spfd5.execute-api.ap-southeast-1.amazonaws.com/dev/",g.current,(Z=>{S||rl.flushSync((()=>l(Z)))}),y,(Z=>{S||rl.flushSync((()=>u(Z)))}),a,s,f,c))};return a.current=()=>{S||(null==C||C(),P())},P(),()=>{S=!0,A=!1,null==C||C(),u(null)}}s.current=0,l(Kt.CLOSED),i.current&&i.current.close()}),[k,x]),_.useEffect((()=>{v===Kt.OPEN&&w.current.splice(0).forEach((C=>{x(C)}))}),[v]),p.jsx(rd.Provider,{value:{connect:C=>{g.current=C,D(!0)},disconnect:m,sendMessage:x,sendJsonMessage:E,lastMessage:n,lastJsonMessage:o,readyState:v},children:e})},pw=(e,t,n,u,r,l,o,i,a,s)=>{const c=[...r.current.protocols,n];if(!c[1])throw new Error("WebSocket failed: Missing required ClientID");if(e.current=new WebSocket(t,c),u(Kt.CONNECTING),!e.current)throw new Error("WebSocket failed to be created");return((e,t,n,u,r,l,o)=>{const{setLastMessage:i,setReadyState:a}=t;let s,c;return aw(e,n,i,l,o),sw(e,n,a,r,l,o),s=cw(e,n,a,u,r),c=fw(e,n,a,u,r),()=>{a(Kt.CLOSING),s(),c(),e.close()}})(e.current,{setLastMessage:l,setReadyState:u},r,o.current,i,a,s)},Kt={UNINSTANTIATED:-1,CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},od=()=>_.useContext(rd),hw=e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",stroke:"currentColor",...e},_.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m13.01 2.92 5.9 2.62c1.7.75 1.7 1.99 0 2.74l-5.9 2.62c-.67.3-1.77.3-2.44 0l-5.9-2.62c-1.7-.75-1.7-1.99 0-2.74l5.9-2.62c.67-.3 1.77-.3 2.44 0"}),_.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M3 11c0 .84.63 1.81 1.4 2.15l6.79 3.02c.52.23 1.11.23 1.62 0l6.79-3.02c.77-.34 1.4-1.31 1.4-2.15"}),_.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M3 16c0 .93.55 1.77 1.4 2.15l6.79 3.02c.52.23 1.11.23 1.62 0l6.79-3.02c.85-.38 1.4-1.22 1.4-2.15"})),mw=e=>_.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},_.createElement("path",{stroke:"#C3C3C3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M6 12h12"})),ww=({data:e,settings:t,className:n,isFullScreen:u})=>{const[r,l]=_.useState(!0),o=t.language,i=dt[o]||dt.en,a=[{title:"กิจกรรม",value:e.msgID},{title:"เวลาประทับ",value:e.timestamp},{title:"โมเดล",value:e.model},{title:"การใช้เครื่องมือ",value:e.tool},{title:"คำสั่งเครื่องมือ",value:e.query},{title:"เอกสาร",value:e.documents},{title:"ระดับความมั่นใจ",value:e.scores}];return p.jsxs("div",{style:{"--bg-color":(null==t?void 0:t.headerBgColor)??"#FFFFFF"},className:`tw-se tw-in tw-lh tw-nk tw-ja tw-tf tw-dd tw-lk tw-kk tw-bo tw-cm ${n} ${u?"tw-jh tw-sa tw-q":"tw-uj tw-im tw-ib"}`,children:[p.jsxs("div",{className:"tw-sq tw-ho tw-cg tw-bd tw-ok tw-ei tw-di tw-tf tw-hc tw-qd tw-nh",onClick:()=>{l((c=>!c))},children:[p.jsxs("div",{className:"tw-ho tw-cg tw-dk",children:[p.jsx(hw,{style:{"--bg-color":(null==t?void 0:t.headerBgColor)??"#FFFFFF"},className:"tw-dn tw-ka"}),p.jsx("span",{className:"tw-jm tw-ke",children:i.statistic})]}),p.jsx(mw,{className:"tw-dn tw-ya tw-yf "+(r?"tw-pi":"")})]}),p.jsx("div",{className:"tw-io tw-be tw-yf tw-tp "+(r?"tw-ad tw-zp ":"tw-zc tw-vp"),children:p.jsx("div",{className:"tw-ho tw-qk tw-ek tw-dd",children:a.map(((c,f)=>p.jsxs("div",{className:"tw-ho tw-dk",children:[p.jsx("span",{className:"tw-xd tw-ye tw-qe",children:c.title}),p.jsx("span",{children:c.value})]},f)))})})]})};const vw={_Rixits:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_",fromNumber:function(e){if(isNaN(Number(e))||null===e||e===Number.POSITIVE_INFINITY)throw new Error("The input is not valid");if(e<0)throw new Error("Can't represent negative numbers now");let t,n=Math.floor(e),u="";for(;t=n%64,u=this._Rixits.charAt(t)+u,n=Math.floor(n/64),0!==n;);return u},toNumber:function(e){let t=0;e=e.split("");for(let n=0;n<e.length;n++)t=64*t+this._Rixits.indexOf(e[n]);return t}};function xw(e,t=5){return e||(e=new Date),`${e.valueOf().toString(36)}${function(e){e="number"==typeof e?e<4?4:e>2048?2048:e:16;let t="";for(;t.length<e;)t+=vw.fromNumber(Math.ceil(Math.random()*Number.MAX_SAFE_INTEGER));return t.substr(Math.floor(t.length/2-e/2),e)}(t)}`}function id(e){const t=e.substr(0,8),n=parseInt(t,36);return new Date(n)}const ad=_.createContext();function sd({children:e}){const[t,n]=_.useState(!1),[u,r]=_.useState({"test-intent":[{role:"assistant",content:"This is a test response"},{role:"assistant",content:"Second message goes here"}],"Question Submit":[{role:"assistant",content:"This is a test response for Question Submit"}]}),[l,o]=_.useState("");return _.useEffect((()=>{function i(a){if(a.data&&"intentResponse"===a.data.type){if(!a.data.intent||!a.data.response)return void console.warn("Received intentResponse without intent or response");r((s=>(console.log("Updating intentResponse",{...s,[a.data.intent]:a.data.response}),{...s,[a.data.intent]:a.data.response})))}else if(a.data&&"promptInject"===a.data.type){if(!a.data.context)return void console.warn("Received promptInject without context");o(a.data.context)}}return window.addEventListener("message",i),()=>window.removeEventListener("message",i)}),[]),p.jsx(ad.Provider,{value:{isFullScreen:t,setIsFullScreen:n,intentResponse:u,setIntentResponse:r,promptInject:l,setPromptInject:o},children:e})}const cd=()=>_.useContext(ad);async function kw(e,t){return{passedItems:await Promise.all(e.map((async u=>{const r=`code_interpreter/${u.name}`,l=await async function(e,t,n){const u=new URLSearchParams({method:t,key:e}),r=await fetch(`${En}/v2/public/presignedUrl?${u}`,{headers:n});if(!r.ok)throw new Error(`Failed to get presigned URL: ${r.status}`);return r.json()}(r,"UPLOAD",t);return await async function(e,t){const n=new FormData;e.fields&&Object.entries(e.fields).forEach((([r,l])=>{n.append(r,l)})),n.append("file",t);const u=await fetch(e.url,{method:"POST",body:n});if(!u.ok)throw new Error(`S3 upload failed: ${u.status}`)}(l,u),{url:`${l.url}${l.startsWith}${l.key}`}})))}}const Sw=(e,t)=>({handleAck:n=>{clearTimeout(t.current[n.msgID]),e((u=>Pr(u,n.msgID,"error"===n.status?n.error:void 0)))},handleAction:n=>{const{action:u}=n;if("TYPING_ON"===u)e((r=>[...r,fd]));else if("TYPING_OFF"===u)e((r=>{const l=r[r.length-1];return"assistant"===(null==l?void 0:l.role)&&l.pending?r.slice(0,-1):r}));else if("MARK_READ"===u){const r=n.timestamp;e((l=>l.map((o=>new Date(o.timestamp).getTime()<=r?{...o,read:!0}:o))))}else"SUPERSEDED"===u&&e((r=>r.filter((l=>l.msgID!==n.msgID))))},handleMessageStream:n=>{e((u=>{let r=ba(u);const l=r.findIndex((o=>o.msgID===n.msgID));if(-1!==l){const o=[...r],i=o[l];return o[l]={...i,content:i.content+n.content},o}{const o=(new Date).toISOString(),i=r.length>0?new Date(r[r.length-1].timestamp).toLocaleDateString():null,a=new Date(o).toLocaleDateString(),s=i!==a,c={msgID:n.msgID,type:"text",role:"assistant",timestamp:o,read:!1,content:n.content,isRAG:!1,query:"",sources:[],isDateChanged:s,currDate:a};return[...r,c]}}))},handleMessage:n=>{e((u=>{let r=ba(u);"text"===n.type&&n.msgID&&(r=r.filter((a=>a.msgID!==n.msgID)));const l=r[r.length-1],o=l?new Date(l.timestamp).toLocaleDateString():(new Date).toLocaleDateString(),i=qi([n],o);return[...r,i[0]]}))}}),ba=e=>{const t=e[e.length-1];return"assistant"===(null==t?void 0:t.role)&&t.pending?e.slice(0,-1):e},Aw=({settings:e,sessionId:t,setChatHistory:n,sendJsonMessage:u,ackListener:r,intentResponse:l})=>({sendViaIntent:(s,c)=>{console.debug("intentResponse",l[s]);const f=l[s];n((w=>[...Pr(w,c),...f]))},sendViaRestApi:async(s,c,f,w,y,g)=>{var D,v,d;const k=setTimeout((()=>{n((m=>[...m,fd]))}),3e3);try{const m={type:c.type||"text",message:s};(null==(D=c.images)?void 0:D.length)>0&&(m.images=c.images),(null==(v=c.videos)?void 0:v.length)>0&&(m.videos=c.videos),(null==(d=c.fileUrls)?void 0:d.length)>0&&(m.fileUrls=c.fileUrls);const x={conversationID:t,messages:[m]};y&&(x.greetings=w);const[E,C]=await U2_chat(x,{"client-id":e.embedId,"session-id":t},e.restUrl);clearTimeout(k),Dw(C,E,f,n,g)}catch(m){clearTimeout(k),console.error("Error fetching REST API:",m),n((x=>Pr(x,f,m.message)))}},sendViaWebSocket:(s,c)=>{const f=e.chatFnVersion,w=JSON.stringify({...s.toWSJson(),version:f||void 0});u({action:"sendMessage",body:w}),r.current[c]=setTimeout((()=>{n((y=>Pr(y,c,"Couldn't send")))}),2e4)}}),Dw=(e,t,n,u,r)=>{200===e?u((l=>{if(!l[l.length-1])return l;const i=Pr(ba(l),n),a=id(n).toLocaleDateString();return[...i,...qi(t,a)]})):303===e?r():console.error("Unhandled status code:",e)},Fw=(e,t,n={},u="text")=>{const l=xw(new Date,3);return{newMessage:new Mw(l,e,"user",t,!0,n,u),msgID:l}},Nw=e=>{const t=e.filter((u=>u.pending));return[...e.filter((u=>!u.pending)),...t]},Pr=(e,t,n)=>e.map((u=>u.msgID===t?{...u,sending:!1,pending:!1,...void 0!==n&&{error:n}}:u)),fd={content:"",role:"assistant",pending:!0};class Mw{constructor(t,n,u,r,l=!0,o={},i="text"){this.msgID=t,this.type=i,this.content=n,this.role=u,this.timestamp=id(t).toISOString(),this.greetings=r,this.sending=l,this.images=o.images||[],this.videos=o.videos||[],this.fileUrls=o.fileUrls||[]}toJson(){const t={msgID:this.msgID,type:this.type,content:this.content,role:this.role,timestamp:this.timestamp,sending:this.sending};return this.images.length>0&&(t.images=this.images),this.videos.length>0&&(t.videos=this.videos),this.fileUrls.length>0&&(t.fileUrls=this.fileUrls),t}toWSJson(){const t={msgID:this.msgID,type:this.type};return this.content&&(t.message=this.content),this.greetings&&this.greetings.length>0&&(t.greetings=this.greetings),this.images.length>0&&(t.images=this.images),this.videos.length>0&&(t.videos=this.videos),this.fileUrls.length>0&&(t.fileUrls=this.fileUrls),t}}let Tw=0;function jw(){const[e,t]=_.useState([]),[n,u]=_.useState([]),r=_.useCallback((s=>{const{valid:c,errors:f}=function(e,t=[]){const n=[],u=[],r=ya-t.length,l=Array.from(e).slice(0,r);e.length>r&&u.push(`Max ${ya} files allowed`);for(const o of l){const i=tw(o);i?u.push(`${o.name}: ${i}`):n.push(o)}return{valid:n,errors:u}}(s,e);if(u(f),0===c.length)return;const w=c.map((y=>{const g=function(e){return Yt.image.includes(e.type)?"image":Yt.video.includes(e.type)?"video":Yt.document.includes(e.type)?"document":null}(y);return{id:"att-"+ ++Tw,file:y,category:g,previewUrl:"image"===g||"video"===g?URL.createObjectURL(y):null,status:"pending",s3Key:null,error:null}}));t((y=>[...y,...w]))}),[e]),l=_.useCallback((s=>{t((c=>{const f=c.find((w=>w.id===s));return null!=f&&f.previewUrl&&URL.revokeObjectURL(f.previewUrl),c.filter((w=>w.id!==s))}))}),[]),o=_.useCallback((()=>{t((s=>(s.forEach((c=>{c.previewUrl&&URL.revokeObjectURL(c.previewUrl)})),[]))),u([])}),[]),i=_.useCallback(((s,c)=>{t((f=>f.map((w=>w.id===s?{...w,...c}:w))))}),[]),a=e.length>0;return{attachments:e,validationErrors:n,addFiles:r,removeAttachment:l,clearAttachments:o,updateAttachment:i,hasAttachments:a}}function Lw({isFullScreen:e,isChatOpen:t,sessionId:n,settings:u,chatHistory:r=[],setChatHistory:l}){const{showSuggest:o,setShowSugguest:i,suggestList:a,setSuggestList:s,isLoading:c}=function(e,t){const n=_.useMemo((()=>e.defaultSuggestions?JSON.parse(e.defaultSuggestions):[]),[e.defaultSuggestions]),[u,r]=_.useState(0===t.length&&n.length>0),[l,o]=_.useState([]),[i,a]=_.useState(!1);return _.useEffect((()=>{0===t.length&&n.length>0&&(r(!0),o([]))}),[t.length,n]),_.useEffect((()=>{a(l.length<=0)}),[l]),_.useEffect((()=>{const s=t.length>0&&"assistant"===t[t.length-1].role&&!t[t.length-1].pending;"on"===e.autoSuggestions&&s&&("on"===e.fetchSuggestions?console.warn("Fetching new suggestions from server is not implemented yet."):o([]),r(!0))}),[t,e.autoSuggestions,n,e.fetchSuggestions]),{showSuggest:u,setShowSugguest:r,suggestList:l,setSuggestList:o,isLoading:i}}(u,r),{connect:f,disconnect:w}=od();_.useEffect((()=>(r.length>0&&f(n),()=>w())),[]);const{attachments:y,validationErrors:g,addFiles:k,removeAttachment:D,clearAttachments:v,updateAttachment:d,hasAttachments:m}=jw(),{handleSubmit:x,message:E,setMessage:C}=function({chatHistory:e,setChatHistory:t,settings:n,sessionId:u,setShowSugguest:r,attachments:l=[],clearAttachments:o,updateAttachment:i}){const[a,s]=_.useState(""),c=_.useRef({}),{connect:f,sendJsonMessage:w,lastJsonMessage:y}=od(),{intentResponse:g}=cd(),k=_.useCallback((async(D,v=null)=>{var O;D&&D.preventDefault();const d=v??a,m=l.length>0;if(!d.trim()&&!m)return;let x={},E="text";if(m){l.forEach((se=>i(se.id,{status:"uploading"})));const Z={"client-id":n.embedId,"session-id":u};try{const se=l.map((R=>R.file)),ve=await kw(se,Z),Fe=null==(O=null==ve?void 0:ve.passedItems)?void 0:O.map((R=>R.url));if(!Fe||0===Fe.length)throw new Error("No files returned from upload");l.forEach((R=>i(R.id,{status:"done"})));const Qe=[],mt=[],M=[];l.forEach(((R,z)=>{const q=Fe[z];"video"===R.category?mt.push(q):"document"===R.category?M.push(q):Qe.push(q)})),Qe.length>0&&(x.images=Qe),mt.length>0&&(x.videos=mt),M.length>0&&(x.fileUrls=M);const $=l[0].category;E="video"===$?"video":"document"===$?"file":"image"}catch(se){return void l.forEach((ve=>i(ve.id,{status:"error",error:(null==se?void 0:se.message)||"Upload failed"})))}}r(!1);const C=0===e.length,S=C?td(n):[];"true"!==n.restApi&&C&&f(u);const{newMessage:A,msgID:P}=Fw(d,S,x,m?E:"text");t((Z=>Nw([...Z,A.toJson()]))),s(""),m&&o();const j=Aw({settings:n,sessionId:u,setChatHistory:t,sendJsonMessage:w,ackListener:c,intentResponse:g});if(g[d])j.sendViaIntent(d,P);else if("true"===n.restApi&&n.restUrl){const Z=()=>{n.restApi="true",f(u)};await j.sendViaRestApi(d,A,P,S,C,Z)}else j.sendViaWebSocket(A,P)}),[e,a,s,t,n,u,f,w,r,g,l,o,i]);return _.useEffect((()=>{if(!y)return;const D=Sw(t,c);switch(y.event){case"ack":D.handleAck(y);break;case"action":D.handleAction(y);break;case"message":case"event":D.handleMessage(y);break;case"message_stream":D.handleMessageStream(y);break;default:console.warn("Unhandled WebSocket event:",y.event)}}),[y,t]),{handleSubmit:k,message:a,setMessage:s}}({chatHistory:r,setChatHistory:l,settings:u,sessionId:n,setShowSugguest:i,attachments:y,clearAttachments:v,updateAttachment:d}),A=r[r.length-1],P={msgID:null==A?void 0:A.msgID,timestamp:null==A?void 0:A.timestamp,model:"gpt-4o",tool:null!=A&&A.isRAG?"RAG":"",query:null==A?void 0:A.query,documents:null!=A&&A.sources?`[${null==A?void 0:A.sources.map((j=>j.key)).join(", ")}]`:"[]",scores:null!=A&&A.sources?`[${null==A?void 0:A.sources.map((j=>j.score)).join(", ")}]`:"[]"};return p.jsxs("div",{className:"tw-um tw-zk tw-ho tw-qk tw-dd",children:[p.jsx(W5,{sessionId:n,settings:u,history:r,isChatOpen:t,showSuggestions:o,setShowSuggesstion:i,setSuggestList:s,isFullScreen:e,submit:x,suggestList:a,isSuggestLoading:c}),p.jsx("div",{className:"tw-kk tw-pk tw-wm tw-in tw-hq",children:p.jsx(uw,{settings:u,message:E,submit:x,onChange:j=>{C(j.target.value)},inputDisabled:!1,buttonDisabled:!(E&&""!==E||m),attachments:y,onAddFiles:k,onRemoveAttachment:D,validationErrors:g})}),P.tool&&p.jsx(ww,{data:P,isFullScreen:e,settings:u,className:""})]})}function Ow({isChatOpen:e,closeChat:t,settings:n,sessionId:u,isFullScreen:r,isIframe:l,toggleFullScreen:o}){const{chatHistory:i,setChatHistory:a,resetChat:s,loading:c}=function(e=null,t=null){const[n,u]=_.useState(!0),[r,l]=_.useState([]),o=_.useCallback((async()=>{if(t&&e){u(!0);try{const a=await Er.getMessages({"client-id":e.embedId,"session-id":t},e.restUrl),s=qi(a);l(s)}catch(a){console.error("Error fetching historical chats:",a)}finally{u(!1)}}}),[t,e]);return _.useEffect((()=>{o()}),[o]),{chatHistory:r,setChatHistory:l,resetChat:async()=>{await Er.resetMessages({"client-id":e.embedId,"session-id":t},e.restUrl),l([])},loading:n,refetch:o}}(n,u),f=0===i.length;return c?p.jsxs("main",{className:"tw-ho tw-qk tw-um",children:[p.jsx(q2,{resetChat:s,closeChat:t,settings:n}),p.jsx(Q5,{})]}):p.jsxs("main",{className:"anm-group tw-ho tw-qk tw-um tw-jj",children:[p.jsx(q2,{resetChat:s,closeChat:t,settings:n,sessionId:u,isNoMessage:f,isFullScreen:r,isIframe:l,toggleFullScreen:o}),p.jsx(Lw,{isFullScreen:r,isChatOpen:e,sessionId:u,settings:n,chatHistory:i,setChatHistory:a})]})}for(var ke=[],_a=0;_a<256;++_a)ke.push((_a+256).toString(16).slice(1));var bl,Pw=new Uint8Array(16);function Rw(){if(!bl&&!(bl=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return bl(Pw)}const dd={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function $w(e,t,n){if(dd.randomUUID&&!t&&!e)return dd.randomUUID();var u=(e=e||{}).random||(e.rng||Rw)();return u[6]=15&u[6]|64,u[8]=63&u[8]|128,function(e,t=0){return(ke[e[t+0]]+ke[e[t+1]]+ke[e[t+2]]+ke[e[t+3]]+"-"+ke[e[t+4]]+ke[e[t+5]]+"-"+ke[e[t+6]]+ke[e[t+7]]+"-"+ke[e[t+8]]+ke[e[t+9]]+"-"+ke[e[t+10]]+ke[e[t+11]]+ke[e[t+12]]+ke[e[t+13]]+ke[e[t+14]]+ke[e[t+15]]).toLowerCase()}(u)}function Hw({settings:e,toggleGreetingsShow:t}){const[n,u]=_.useState([]);return _.useEffect((()=>{const r=e.greetings?JSON.parse(e.greetings):[];u(r),t(!0)}),[e]),p.jsxs(p.Fragment,{children:[p.jsx("button",{className:"tw-kk tw-ch tw-qd tw-zn tw-yl tw-hj tw-ho tw-uj tw-m tw-sd tw-cg tw-pm tw-cn tw-lg tw-km tw-od tw-ui tw-bn",onClick:r=>{r.stopPropagation(),t(!1)},children:"✕"}),n.map(((r,l)=>p.jsx("div",{style:{animationFillMode:"forwards",animationDelay:.6+.3*l+"s"},className:"tw-ho tw-hh tw-lk tw-bk tw-rm tw-pb tw-tf tw-qi tw-tq tw-nq tw-km tw-uj tw-em tw-d tw-jj",children:r},l)))]})}const Uw=({isOpen:e,onClose:t,children:n})=>e?p.jsx("div",{className:"tw-nn tw-ho tw-tl tw-sd tw-cg tw-in tw-um tw-vg tw-pm",onClick:t,children:p.jsxs("div",{className:"tw-zk tw-lk tw-mh tw-in tw-wk tw-ak tw-ha",onClick:u=>u.stopPropagation(),children:[p.jsx("button",{className:"tw-kk tw-ao tw-zl tw-fl tw-nd tw-ch tw-qd tw-gf tw-lb tw-do",onClick:t,children:"×"}),n]})}):null;function pd(){const{isChatOpen:e,toggleOpenChat:t}=function(){var u;const[e,t]=_.useState(!(null==(u=null==window?void 0:window.localStorage)||!u.getItem(ll))||!1);return{isChatOpen:e,toggleOpenChat:function(r){!0===r&&window.localStorage.setItem(ll,"1"),!1===r&&window.localStorage.removeItem(ll),t(r)}}}(),{isGreetingsShow:n,toggleGreetingsShow:u}=Z5(),r=function(){const[e,t]=_.useState({loaded:!1,...Q1});return _.useEffect((()=>{!function(){if(!document)return!1;const u=window.ANIMUZ_EMBED_CONFIG||{},r={...Q1,...Xt.settings,...u};if(!r.embedId)throw new Error("[Animuz Embed Module::Abort] - Invalid script tag setup detected. Missing required parameters for boot!");t({...r,loaded:!0})}()}),[document]),e}(),l=function(){const[e,t]=_.useState("");return _.useEffect((()=>{!function(){if(!window||!Xt.settings.embedId)return;const u=`anm_${Xt.settings.embedId}_session_id`,r=window.localStorage.getItem(u);if(r)return void t(r);const l=Math.floor(Date.now()/1e3/3600),o="WB"+$w().replaceAll("-","")+"-"+l;window.localStorage.setItem(u,o),t(o)}()}),[]),e}(),{modalOpen:o,setModalOpen:i,modalContent:a}=_.useContext($i),s=window.self!==window.top,c="on"===r.hideBubble||s,{isFullScreen:f,setIsFullScreen:w}=cd();if(_.useEffect((()=>{("on"===r.openOnLoad||c)&&t(!0)}),[r.loaded]),!r.loaded)return null;r.position;const y=r.windowWidth??"448px",g=r.windowHeight?r.windowHeight:r.offsetBottom?`calc(85dvh - ${r.offsetBottom})`:"85dvh",k=r.sizeOpenButton,v=parseInt(k)+24,d="bottom-left"===r.position;return p.jsxs(p.Fragment,{children:[!c&&p.jsx(w4,{settings:r,isOpen:e,toggleBot:()=>{n&&u(!1),t(!e)},offsetBottom:r.offsetBottom}),p.jsx("div",{id:"animuz-embed-chat-container","data-fullscreen":f,"data-isIframe":s,"data-is-chat-open":e,style:{"--w-width":y,"--w-height":g,"--offset-bottom":r.offsetBottom||"0px","--bottom-offset":r.offsetBottom?`calc(${v}px + ${r.offsetBottom})`:`${v}px`,display:e?"block":"none"},className:"tw-nn tw-ce tw-n tw-o tw-r tw-de tw-pm tw-f tw-mg tw-in tw-ii tw-wa tw-ta tw-h tw-u tw-w tw-k tw-b tw-e tw-g tw-c tw-dd tw-tg "+(d?"tw-jk tw-oc":"tw-aj tw-md"),onWheel:m=>m.stopPropagation(),onTouchMove:m=>m.stopPropagation(),children:p.jsx(Ow,{isChatOpen:e,closeChat:()=>t(!1),settings:r,sessionId:l,isFullScreen:f,isIframe:s,toggleFullScreen:()=>w(!f)})}),!c&&n&&p.jsx("div",{id:"animuz-greeting-bubbles",className:"tw-vm tw-qm tw-qk tw-nn tw-bm tw-ie tw-pm tw-mj tw-qd anm-group/greetings",onClick:()=>{u(!1),t(!0)},children:p.jsx(Hw,{settings:r,toggleGreetingsShow:u})}),p.jsx(Uw,{isOpen:o,onClose:()=>i(!1),children:a&&a})]})}const ka=Object.assign({},(null==(gd=null==document?void 0:document.currentScript)?void 0:gd.dataset)||{}),Xt={settings:ka,stylesSrc:function(e=null){try{const t=new URL(e);return t.pathname=t.pathname.replace("animuz-chat-widget.js","animuz-chat-widget.min.css").replace("animuz-chat-widget.min.js","animuz-chat-widget.min.css"),t.toString()}catch{return""}}(null==(vd=null==document?void 0:document.currentScript)?void 0:vd.src),USER_STYLES:{base:"tw-hd tw-rj"},ASSISTANT_STYLES:{base:"tw-gd tw-tj"}};const hd=window.location.pathname,md=ka.allowedPaths,wd=ka.blockedPaths;if(md?md.split(",").map((e=>e.trim())).filter((e=>e.length>0)).some((e=>hd.startsWith(e))):!wd||!wd.split(",").map((e=>e.trim())).filter((e=>e.length>0)).some((e=>hd.startsWith(e)))){const e=document.createElement("div");e.id="animuz-chat-widget",e.setAttribute("style","visibility:hidden;opacity:0;"),document.body.appendChild(e);const t=Ml.createRoot(e);(function(e){return new Promise(((t,n)=>{if(document.querySelector(`link[href="${e}"]`))return void t();const r=document.createElement("link");r.rel="stylesheet",r.href=e,r.setAttribute("data-animuz-embed","true"),r.onload=t,r.onerror=n,document.head.appendChild(r)}))})(Xt.stylesSrc).then((()=>{t.render(p.jsx(h.StrictMode,{children:p.jsx(sd,{children:p.jsx(ld,{children:p.jsx(G1,{children:p.jsx(pd,{})})})})}))})).catch((n=>{console.error("[Animuz] CSS failed to load:",n),t.render(p.jsx(h.StrictMode,{children:p.jsx(sd,{children:p.jsx(ld,{children:p.jsx(G1,{children:p.jsx(pd,{})})})})}))}))}Zn.embedderSettings=Xt,Object.defineProperty(Zn,Symbol.toStringTag,{value:"Module"})}));
|