@animuz/embed 0.2.3-rc2.3 → 0.2.4-rc1
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(
|
|
1
|
+
!function(Qn,zu){"object"==typeof exports&&typeof module<"u"?zu(exports):"function"==typeof define&&define.amd?define(["exports"],zu):zu((Qn=typeof globalThis<"u"?globalThis:Qn||self).EmbeddedAnimuz={})}(this,(function(Qn){"use strict";var Od,Id;var za={exports:{}},Gr={},$a={exports:{}},q={},$u=Symbol.for("react.element"),Xd=Symbol.for("react.portal"),Jd=Symbol.for("react.fragment"),ep=Symbol.for("react.strict_mode"),tp=Symbol.for("react.profiler"),np=Symbol.for("react.provider"),up=Symbol.for("react.context"),rp=Symbol.for("react.forward_ref"),lp=Symbol.for("react.suspense"),op=Symbol.for("react.memo"),ip=Symbol.for("react.lazy"),qa=Symbol.iterator;
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react.production.min.js
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var
|
|
10
|
+
*/var Ba={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ha=Object.assign,Ua={};function Yn(e,t,n){this.props=e,this.context=t,this.refs=Ua,this.updater=n||Ba}function Va(){}function Tl(e,t,n){this.props=e,this.context=t,this.refs=Ua,this.updater=n||Ba}Yn.prototype.isReactComponent={},Yn.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")},Yn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},Va.prototype=Yn.prototype;var Ll=Tl.prototype=new Va;Ll.constructor=Tl,Ha(Ll,Yn.prototype),Ll.isPureReactComponent=!0;var Za=Array.isArray,Wa=Object.prototype.hasOwnProperty,Ol={current:null},Ga={key:!0,ref:!0,__self:!0,__source:!0};function Qa(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)Wa.call(t,u)&&!Ga.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),c=0;c<i;c++)a[c]=arguments[c+2];r.children=a}if(e&&e.defaultProps)for(u in i=e.defaultProps)void 0===r[u]&&(r[u]=i[u]);return{$$typeof:$u,type:e,key:l,ref:o,props:r,_owner:Ol.current}}function Il(e){return"object"==typeof e&&null!==e&&e.$$typeof===$u}var Ya=/\/+/g;function Pl(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 $u:case Xd:o=!0}}if(o)return r=r(o=e),e=""===u?"."+Pl(o,0):u,Za(r)?(n="",null!=e&&(n=e.replace(Ya,"$&/")+"/"),Qr(r,t,n,"",(function(c){return c}))):null!=r&&(Il(r)&&(r=function(e,t){return{$$typeof:$u,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(Ya,"$&/")+"/")+e)),t.push(r)),1;if(o=0,u=""===u?".":u+":",Za(e))for(var i=0;i<e.length;i++){var a=u+Pl(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=qa&&e[qa]||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+Pl(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 Yr(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 fp(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 Te={current:null},Kr={transition:null},dp={ReactCurrentDispatcher:Te,ReactCurrentBatchConfig:Kr,ReactCurrentOwner:Ol};function Ka(){throw Error("act(...) is not supported in production builds of React.")}q.Children={map:Yr,forEach:function(e,t,n){Yr(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Yr(e,(function(){t++})),t},toArray:function(e){return Yr(e,(function(t){return t}))||[]},only:function(e){if(!Il(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},q.Component=Yn,q.Fragment=Jd,q.Profiler=tp,q.PureComponent=Tl,q.StrictMode=ep,q.Suspense=lp,q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dp,q.act=Ka,q.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=Ha({},e.props),r=e.key,l=e.ref,o=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,o=Ol.current),void 0!==t.key&&(r=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(a in t)Wa.call(t,a)&&!Ga.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 c=0;c<a;c++)i[c]=arguments[c+2];u.children=i}return{$$typeof:$u,type:e.type,key:r,ref:l,props:u,_owner:o}},q.createContext=function(e){return(e={$$typeof:up,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:np,_context:e},e.Consumer=e},q.createElement=Qa,q.createFactory=function(e){var t=Qa.bind(null,e);return t.type=e,t},q.createRef=function(){return{current:null}},q.forwardRef=function(e){return{$$typeof:rp,render:e}},q.isValidElement=Il,q.lazy=function(e){return{$$typeof:ip,_payload:{_status:-1,_result:e},_init:fp}},q.memo=function(e,t){return{$$typeof:op,type:e,compare:void 0===t?null:t}},q.startTransition=function(e){var t=Kr.transition;Kr.transition={};try{e()}finally{Kr.transition=t}},q.unstable_act=Ka,q.useCallback=function(e,t){return Te.current.useCallback(e,t)},q.useContext=function(e){return Te.current.useContext(e)},q.useDebugValue=function(){},q.useDeferredValue=function(e){return Te.current.useDeferredValue(e)},q.useEffect=function(e,t){return Te.current.useEffect(e,t)},q.useId=function(){return Te.current.useId()},q.useImperativeHandle=function(e,t,n){return Te.current.useImperativeHandle(e,t,n)},q.useInsertionEffect=function(e,t){return Te.current.useInsertionEffect(e,t)},q.useLayoutEffect=function(e,t){return Te.current.useLayoutEffect(e,t)},q.useMemo=function(e,t){return Te.current.useMemo(e,t)},q.useReducer=function(e,t,n){return Te.current.useReducer(e,t,n)},q.useRef=function(e){return Te.current.useRef(e)},q.useState=function(e){return Te.current.useState(e)},q.useSyncExternalStore=function(e,t,n){return Te.current.useSyncExternalStore(e,t,n)},q.useTransition=function(){return Te.current.useTransition()},q.version="18.3.1",$a.exports=q;var b=$a.exports;const h=(e=b)&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;
|
|
11
11
|
/**
|
|
12
12
|
* @license React
|
|
13
13
|
* react-jsx-runtime.production.min.js
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*
|
|
17
17
|
* This source code is licensed under the MIT license found in the
|
|
18
18
|
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/var e,
|
|
19
|
+
*/var e,pp=b,hp=Symbol.for("react.element"),mp=Symbol.for("react.fragment"),wp=Object.prototype.hasOwnProperty,gp=pp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,xp={key:!0,ref:!0,__self:!0,__source:!0};function Xa(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)wp.call(t,u)&&!xp.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:hp,type:e,key:l,ref:o,props:r,_owner:gp.current}}Gr.Fragment=mp,Gr.jsx=Xa,Gr.jsxs=Xa,za.exports=Gr;var s=za.exports,Rl={},Ja={exports:{}},Ke={},es={exports:{}},ts={};
|
|
20
20
|
/**
|
|
21
21
|
* @license React
|
|
22
22
|
* scheduler.production.min.js
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
*
|
|
26
26
|
* This source code is licensed under the MIT license found in the
|
|
27
27
|
* LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/(function(e){function t(
|
|
28
|
+
*/(function(e){function t(N,$){var R=N.length;N.push($);e:for(;0<R;){var z=R-1>>>1,V=N[z];if(!(0<r(V,$)))break e;N[z]=$,N[R]=V,R=z}}function n(N){return 0===N.length?null:N[0]}function u(N){if(0===N.length)return null;var $=N[0],R=N.pop();if(R!==$){N[0]=R;e:for(var z=0,V=N.length,K=V>>>1;z<K;){var ze=2*(z+1)-1,G=N[ze],Ee=ze+1,wt=N[Ee];if(0>r(G,R))Ee<V&&0>r(wt,G)?(N[z]=wt,N[Ee]=R,z=Ee):(N[z]=G,N[ze]=R,z=ze);else{if(!(Ee<V&&0>r(wt,R)))break e;N[z]=wt,N[Ee]=R,z=Ee}}}return $}function r(N,$){var R=N.sortIndex-$.sortIndex;return 0!==R?R:N.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=[],c=[],f=1,d=null,g=3,y=!1,m=!1,k=!1,j="function"==typeof setTimeout?setTimeout:null,x="function"==typeof clearTimeout?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;function w(N){for(var $=n(c);null!==$;){if(null===$.callback)u(c);else{if(!($.startTime<=N))break;u(c),$.sortIndex=$.expirationTime,t(a,$)}$=n(c)}}function v(N){if(k=!1,w(N),!m)if(null!==n(a))m=!0,Ge(E);else{var $=n(c);null!==$&<(v,$.startTime-N)}}function E(N,$){m=!1,k&&(k=!1,x(A),A=-1),y=!0;var R=g;try{for(w($),d=n(a);null!==d&&(!(d.expirationTime>$)||N&&!I());){var z=d.callback;if("function"==typeof z){d.callback=null,g=d.priorityLevel;var V=z(d.expirationTime<=$);$=e.unstable_now(),"function"==typeof V?d.callback=V:d===n(a)&&u(a),w($)}else u(a);d=n(a)}if(null!==d)var K=!0;else{var ze=n(c);null!==ze&<(v,ze.startTime-$),K=!1}return K}finally{d=null,g=R,y=!1}}typeof navigator<"u"&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var ie,S=!1,C=null,A=-1,O=5,T=-1;function I(){return!(e.unstable_now()-T<O)}function W(){if(null!==C){var N=e.unstable_now();T=N;var $=!0;try{$=C(!0,N)}finally{$?ie():(S=!1,C=null)}}else S=!1}if("function"==typeof p)ie=function(){p(W)};else if(typeof MessageChannel<"u"){var xe=new MessageChannel,Ne=xe.port2;xe.port1.onmessage=W,ie=function(){Ne.postMessage(null)}}else ie=function(){j(W,0)};function Ge(N){C=N,S||(S=!0,ie())}function lt(N,$){A=j((function(){N(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(N){N.callback=null},e.unstable_continueExecution=function(){m||y||(m=!0,Ge(E))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(N){switch(g){case 1:case 2:case 3:var $=3;break;default:$=g}var R=g;g=$;try{return N()}finally{g=R}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,$){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var R=g;g=N;try{return $()}finally{g=R}},e.unstable_scheduleCallback=function(N,$,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,N){case 1:var V=-1;break;case 2:V=250;break;case 5:V=1073741823;break;case 4:V=1e4;break;default:V=5e3}return N={id:f++,callback:$,priorityLevel:N,startTime:R,expirationTime:V=R+V,sortIndex:-1},R>z?(N.sortIndex=R,t(c,N),null===n(a)&&N===n(c)&&(k?(x(A),A=-1):k=!0,lt(v,R-z))):(N.sortIndex=V,t(a,N),m||y||(m=!0,Ge(E))),N},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(N){var $=g;return function(){var R=g;g=$;try{return N.apply(this,arguments)}finally{g=R}}}})(ts),es.exports=ts;var yp=es.exports,vp=b,Xe=yp;
|
|
29
29
|
/**
|
|
30
30
|
* @license React
|
|
31
31
|
* react-dom.production.min.js
|
|
@@ -34,4 +34,4 @@
|
|
|
34
34
|
*
|
|
35
35
|
* This source code is licensed under the MIT license found in the
|
|
36
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]*$/,Wa={},Ga={};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 Ll=/[\-:]([a-z])/g;function jl(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(Ga,e)||!Tl.call(Wa,e)&&(rp.test(e)?Ga[e]=!0:(Wa[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(Ll,jl);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(Ll,jl);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(Ll,jl);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"),Qa=Symbol.for("react.provider"),Ya=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"),nn=Symbol.for("react.lazy"),Ka=Symbol.for("react.offscreen"),Xa=Symbol.iterator;function Pu(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Xa&&e[Xa]||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 Vl(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=Vl(e.type,!1);case 11:return e=Vl(e.type.render,!1);case 1:return e=Vl(e.type,!0);default:return""}}function Zl(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 Ya:return(e.displayName||"Context")+".Consumer";case Qa: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:Zl(e.type)||"Memo";case nn:t=e._payload,e=e._init;try{return Zl(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 Zl(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 un(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Ja(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=Ja(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 es(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),u="";return e&&(u=Ja(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 ql(e,t){var n=t.checked;return ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ts(e,t){var n=null==t.defaultValue?"":t.defaultValue,u=null!=t.checked?t.checked:t.defaultChecked;n=un(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 ns(e,t){null!=(t=t.checked)&&Ol(e,"checked",t,!1)}function Wl(e,t){ns(e,t);var n=un(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,un(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function us(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=""+un(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 rs(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:un(n)}}function ls(e,t){var n=un(t.value),u=un(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 os(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function is(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?is(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Yr,as=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 ss(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 cs(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var u=0===n.indexOf("--"),r=ss(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 fs(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 ds(e){Xn?Jn?Jn.push(e):Jn=[e]:Xn=e}function ps(){if(Xn){var e=Xn,t=Jn;if(Jn=Xn=null,fs(e),t)for(e=0;e<t.length;e++)fs(t[e])}}function hs(e,t){return e(t)}function ms(){}var no=!1;function ws(e,t,n){if(no)return e(t,n);no=!0;try{return hs(e,t,n)}finally{no=!1,(null!==Xn||null!==Jn)&&(ms(),ps())}}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 Vu=!1,Kr=null,Xr=!1,ro=null,hp={onError:function(e){Vu=!0,Kr=e}};function mp(e,t,n,u,r,l,o,i,a){Vu=!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 gs(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 vs(e){if(Tn(e)!==e)throw Error(F(188))}function ys(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 vs(r),e;if(l===u)return vs(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))?xs(e):null}function xs(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=xs(e);if(null!==t)return t;e=e.sibling}return null}var bs=Xe.unstable_scheduleCallback,_s=Xe.unstable_cancelCallback,vp=Xe.unstable_shouldYield,yp=Xe.unstable_requestPaint,ae=Xe.unstable_now,xp=Xe.unstable_getCurrentPriorityLevel,lo=Xe.unstable_ImmediatePriority,ks=Xe.unstable_UserBlockingPriority,Jr=Xe.unstable_NormalPriority,bp=Xe.unstable_LowPriority,Es=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 Zu(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=Zu(i):0!==(l&=o)&&(u=Zu(l))}else 0!==(o=n&~r)?u=Zu(o):0!==l&&(u=Zu(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 Cs(){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 qu(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 Z=0;function Ss(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var As,so,Ds,Fs,Ns,co=!1,r0=[],rn=null,ln=null,on=null,Wu=new Map,Gu=new Map,an=[],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 Ms(e,t){switch(e){case"focusin":case"focusout":rn=null;break;case"dragenter":case"dragleave":ln=null;break;case"mouseover":case"mouseout":on=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 Ts(e){var t=Ln(e.target);if(null!==t){var n=Tn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=gs(n)))return e.blockedOn=t,void Ns(e.priority,(function(){Ds(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 Ls(e,t,n){l0(e)&&n.delete(t)}function Mp(){co=!1,null!==rn&&l0(rn)&&(rn=null),null!==ln&&l0(ln)&&(ln=null),null!==on&&l0(on)&&(on=null),Wu.forEach(Ls),Gu.forEach(Ls)}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!==rn&&Yu(rn,e),null!==ln&&Yu(ln,e),null!==on&&Yu(on,e),Wu.forEach(t),Gu.forEach(t),n=0;n<an.length;n++)(u=an[n]).blockedOn===e&&(u.blockedOn=null);for(;0<an.length&&null===(n=an[0]).blockedOn;)Ts(n),null===n.blockedOn&&an.shift()}var eu=Bt.ReactCurrentBatchConfig,o0=!0;function Tp(e,t,n,u){var r=Z,l=eu.transition;eu.transition=null;try{Z=1,fo(e,t,n,u)}finally{Z=r,eu.transition=l}}function Lp(e,t,n,u){var r=Z,l=eu.transition;eu.transition=null;try{Z=4,fo(e,t,n,u)}finally{Z=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),Ms(e,u);else if(function(e,t,n,u,r){switch(t){case"focusin":return rn=Qu(rn,e,t,n,u,r),!0;case"dragenter":return ln=Qu(ln,e,t,n,u,r),!0;case"mouseover":return on=Qu(on,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(Ms(e,u),4&t&&-1<Fp.indexOf(e)){for(;null!==r;){var l=sr(r);if(null!==l&&As(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=Ln(e=eo(u))))if(null===(t=Tn(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=gs(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 js(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 ks:return 4;case Jr:case bp:return 16;case Es:return 536870912;default:return 16}default:return 16}}var sn=null,ho=null,a0=null;function Os(){if(a0)return a0;var e,u,t=ho,n=t.length,r="value"in sn?sn.value:sn.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 Is(){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:Is,this.isPropagationStopped=Is,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}),jp=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}}),Ps=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),Rs=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"},Vp={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"},Zp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qp(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Zp[e])&&!!t[e]}function yo(){return qp}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?Vp[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),zs=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,$s=$t&&(!xo||er&&8<er&&11>=er),Bs=" ",Hs=!1;function Us(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 Vs(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 Zs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!o6[e.type]:"textarea"===t}function qs(e,t,n,u){ds(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){cc(e,0)}function d0(e){if(es(iu(e)))return e}function a6(e,t){if("change"===e)return t}var Ws=!1;if($t){var bo;if($t){var _o="oninput"in document;if(!_o){var Gs=document.createElement("div");Gs.setAttribute("oninput","return;"),_o="function"==typeof Gs.oninput}bo=_o}else bo=!1;Ws=bo&&(!document.documentMode||9<document.documentMode)}function Qs(){tr&&(tr.detachEvent("onpropertychange",Ys),nr=tr=null)}function Ys(e){if("value"===e.propertyName&&d0(nr)){var t=[];qs(t,nr,e,eo(e)),ws(i6,t)}}function s6(e,t,n){"focusin"===e?(Qs(),nr=n,(tr=t).attachEvent("onpropertychange",Ys)):"focusout"===e&&Qs()}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 Ks(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xs(e,t){var u,n=Ks(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=Ks(n)}}function Js(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Js(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function ec(){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=ec(),n=e.focusedElem,u=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Js(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=Xs(n,l);var o=Xs(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 tc(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={},nc={};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 nc)return So[e]=t[n];return e}$t&&(nc=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 uc=h0("animationend"),rc=h0("animationiteration"),lc=h0("animationstart"),oc=h0("transitionend"),ic=new Map,ac="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 cn(e,t){ic.set(e,t),Mn(t,[e])}for(var Ao=0;Ao<ac.length;Ao++){var Do=ac[Ao];cn(Do.toLowerCase(),"on"+(Do[0].toUpperCase()+Do.slice(1)))}cn(uc,"onAnimationEnd"),cn(rc,"onAnimationIteration"),cn(lc,"onAnimationStart"),cn("dblclick","onDoubleClick"),cn("focusin","onFocus"),cn("focusout","onBlur"),cn(oc,"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 sc(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),Vu){if(!Vu)throw Error(F(198));var s=Kr;Vu=!1,Kr=null,Xr||(Xr=!0,ro=s)}}(u,t,void 0,e),e.currentTarget=null}function cc(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;sc(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;sc(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)||(fc(t,e,2,!1),n.add(u))}function Fo(e,t,n){var u=0;t&&(u|=4),fc(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 fc(e,t,n,u){switch(js(t)){case 1:var r=Tp;break;case 4:r=Lp;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=Ln(i)))return;if(5===(a=o.tag)||6===a){u=l=o;continue e}i=i.parentNode}}u=u.return}ws((function(){var s=l,c=eo(n),f=[];e:{var w=ic.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=Ps;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 uc:case rc:case lc:y=zp;break;case oc:y=Jp;break;case"scroll":y=jp;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=zs}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)||!Ln(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)?Ln(g):null)&&(g!==(D=Tn(g))||5!==g.tag&&6!==g.tag)&&(g=null)):(y=null,g=s),y!==g)){if(k=Ps,x="onMouseLeave",v="onMouseEnter",d="mouse",("pointerout"===e||"pointerover"===e)&&(k=zs,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,Ln(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&&dc(f,w,y,k,!1),null!==g&&null!==D&&dc(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(Zs(w))if(Ws)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":(Zs(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,tc(f,n,c);break;case"selectionchange":if(m6)break;case"keydown":case"keyup":tc(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?Us(e,n)&&(A="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(A="onCompositionStart");A&&($s&&"ko"!==n.locale&&(nu||"onCompositionStart"!==A?"onCompositionEnd"===A&&nu&&(S=Os()):(ho="value"in(sn=c)?sn.value:sn.textContent,nu=!0)),0<(C=w0(s,A)).length&&(A=new Rs(A,e,null,n,c),f.push({event:A,listeners:C}),S?A.data=S:null!==(S=Vs(n))&&(A.data=S))),(S=u6?function(e,t){switch(e){case"compositionend":return Vs(t);case"keypress":return 32!==t.which?null:(Hs=!0,Bs);case"textInput":return(e=t.data)===Bs&&Hs?null:e;default:return null}}(e,n):function(e,t){if(nu)return"compositionend"===e||!xo&&Us(e,t)?(e=Os(),a0=ho=sn=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 $s&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(s=w0(s,"onBeforeInput")).length&&(c=new Rs("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:s}),c.data=S))}cc(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 dc(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 pc(e){return("string"==typeof e?e:""+e).replace(y6,"\n").replace(x6,"")}function g0(e,t,n){if(t=pc(t),pc(e)!==t&&n)throw Error(F(425))}function v0(){}var Mo=null,To=null;function Lo(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 jo="function"==typeof setTimeout?setTimeout:void 0,b6="function"==typeof clearTimeout?clearTimeout:void 0,hc="function"==typeof Promise?Promise:void 0,_6="function"==typeof queueMicrotask?queueMicrotask:typeof hc<"u"?function(e){return hc.resolve(null).then(e).catch(k6)}:jo;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 fn(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 mc(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 Ln(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=mc(e);null!==e;){if(n=e[Dt])return n;e=mc(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 dn(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 pn={},Ce=dn(pn),He=dn(!1),jn=pn;function su(e,t){var n=e.type.contextTypes;if(!n)return pn;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 wc(e,t,n){if(Ce.current!==pn)throw Error(F(168));G(Ce,t),G(He,n)}function gc(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||pn,jn=Ce.current,G(Ce,e),G(He,He.current),!0}function vc(e,t,n){var u=e.stateNode;if(!u)throw Error(F(169));n?(e=gc(e,t,jn),u.__reactInternalMemoizedMergedChildContext=e,J(He),J(Ce),G(Ce,e)):J(He),G(He,n)}var Ut=null,_0=!1,Ro=!1;function yc(e){null===Ut?Ut=[e]:Ut.push(e)}function hn(){if(!Ro&&null!==Ut){Ro=!0;var e=0,t=Z;try{var n=Ut;for(Z=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)),bs(lo,hn),r}finally{Z=t,Ro=!1}}return null}var cu=[],fu=0,k0=null,E0=0,ot=[],it=0,On=null,Vt=1,Zt="";function In(e,t){cu[fu++]=E0,cu[fu++]=k0,k0=e,E0=t}function xc(e,t,n){ot[it++]=Vt,ot[it++]=Zt,ot[it++]=On,On=e;var u=Vt;e=Zt;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,Vt=1<<32-gt(t)+r|n<<r|u,Zt=l+e}else Vt=1<<l|n<<r|u,Zt=e}function zo(e){null!==e.return&&(In(e,1),xc(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,Zt=ot[--it],ot[it]=null,Vt=ot[--it],ot[it]=null}var et=null,tt=null,te=!1,yt=null;function bc(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 _c(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=fn(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:Vt,overflow:Zt}: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(!_c(e,t)){if(Bo(e))throw Error(F(418));t=fn(n.nextSibling);var u=et;t&&_c(e,t)?bc(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 kc(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 kc(e),te=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Lo(e.type,e.memoizedProps)),t&&(t=tt)){if(Bo(e))throw Ec(),Error(F(418));for(;t;)bc(e,t),t=fn(t.nextSibling)}if(kc(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=fn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}tt=null}}else tt=et?fn(e.stateNode.nextSibling):null;return!0}function Ec(){for(var e=tt;e;)e=fn(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 Cc(e){return(0,e._init)(e._payload)}function Sc(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=_n(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=ji(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===nn&&Cc(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=Vn(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=ji(""+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 nn:return f(v,(0,d._init)(d._payload),m)}if(zu(d)||Pu(d))return(d=Vn(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 nn: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 nn: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===nn&&Cc(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=Vn(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 nn: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 L=w(v,S,m[A],x);if(null===L){null===S&&(S=P);break}e&&S&&null===L.alternate&&t(v,S),d=l(L,d,A),null===C?E=L:C.sibling=L,C=L,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,L=m.next();null!==S&&!L.done;A++,L=m.next()){S.index>A?(P=S,S=null):P=S.sibling;var O=w(v,S,L.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(L.done)return n(v,S),te&&In(v,A),E;if(null===S){for(;!L.done;A++,L=m.next())null!==(L=f(v,L.value,x))&&(d=l(L,d,A),null===C?E=L:C.sibling=L,C=L);return te&&In(v,A),E}for(S=u(v,S);!L.done;A++,L=m.next())null!==(L=y(S,v,A,L.value,x))&&(e&&null!==L.alternate&&S.delete(null===L.key?A:L.key),d=l(L,d,A),null===C?E=L:C.sibling=L,C=L);return e&&S.forEach((function(q){return t(v,q)})),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=ji(m,v.mode,x)).return=v,v=d),o(v)):n(v,d)}}var pu=Sc(!0),Ac=Sc(!1),A0=dn(null),D0=null,hu=null,Vo=null;function Zo(){Vo=hu=D0=null}function qo(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,Vo=hu=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.lanes&t&&(Ve=!0),e.firstContext=null)}function at(e){var t=e._currentValue;if(Vo!==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 Dc(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,qt(e,u)}function qt(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 mn=!1;function Qo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fc(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 wn(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,qt(e,n)}return null===(r=u.interleaved)?(t.next=t,Go(u)):(t.next=r.next,r.next=t),u.interleaved=t,qt(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 Nc(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;mn=!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:mn=!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 Mc(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=dn(fr),dr=dn(fr),pr=dn(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 Tc(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=dn(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,L0=!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:L6,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=j6,e=n(u,r)}while(hr)}if(T0.current=I0,t=null!==de&&null!==de.next,zn=0,he=de=re=null,L0=!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)||(Ve=!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)||(Ve=!0),t.memoizedState=l,null===t.baseQueue&&(t.baseState=l),n.lastRenderedState=l}return[l,u]}function Lc(){}function jc(e,t){var n=re,u=st(),r=t(),l=!vt(u.memoizedState,r);if(l&&(u.memoizedState=r,Ve=!0),u=u.queue,oi(Pc.bind(null,n,u,e),[e]),u.getSnapshot!==t||l||null!==he&&1&he.memoizedState.tag){if(n.flags|=2048,gr(9,Ic.bind(null,n,u,r,t),void 0,null),null===me)throw Error(F(349));30&zn||Oc(n,t,r)}return r}function Oc(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 Ic(e,t,n,u){t.value=n,t.getSnapshot=u,Rc(t)&&zc(e)}function Pc(e,t,n){return n((function(){Rc(t)&&zc(e)}))}function Rc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!vt(e,n)}catch{return!0}}function zc(e){var t=qt(e,1);null!==t&&kt(t,e,1,-1)}function $c(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 Bc(){return st().memoizedState}function j0(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 Hc(e,t){return j0(8390656,8,e,t)}function oi(e,t){return O0(2048,8,e,t)}function Uc(e,t){return O0(4,2,e,t)}function Vc(e,t){return O0(4,4,e,t)}function Zc(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,Zc.bind(null,t,e),n)}function ii(){}function Wc(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 Gc(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 Qc(e,t,n){return 21&zn?(vt(n,t)||(n=Cs(),re.lanes|=n,$n|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ve=!0),e.memoizedState=n)}function F6(e,t){var n=Z;Z=0!==n&&4>n?n:4,e(!0);var u=ei.transition;ei.transition={};try{e(!1),t()}finally{Z=n,ei.transition=u}}function Yc(){return st().memoizedState}function N6(e,t,n){var u=xn(e);if(n={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null},Kc(e))Xc(t,n);else if(null!==(n=Dc(e,t,n,u))){kt(n,e,u,Pe()),Jc(n,t,u)}}function M6(e,t,n){var u=xn(e),r={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null};if(Kc(e))Xc(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=Dc(e,t,r,u))&&(kt(n,e,u,r=Pe()),Jc(n,t,u))}}function Kc(e){var t=e.alternate;return e===re||null!==t&&t===re}function Xc(e,t){hr=L0=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Jc(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:Hc,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,j0(4194308,4,Zc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return j0(4194308,4,e,t)},useInsertionEffect:function(e,t){return j0(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:$c,useDebugValue:ii,useDeferredValue:function(e){return Nt().memoizedState=e},useTransition:function(){var e=$c(!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||Oc(u,t,n)}r.memoizedState=n;var l={value:n,getSnapshot:t};return r.queue=l,Hc(Pc.bind(null,u,l,e),[e]),u.flags|=2048,gr(9,Ic.bind(null,u,l,n,t),void 0,null),n},useId:function(){var e=Nt(),t=me.identifierPrefix;if(te){var n=Zt;t=":"+t+"R"+(n=(Vt&~(1<<32-gt(Vt)-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},L6={readContext:at,useCallback:Wc,useContext:at,useEffect:oi,useImperativeHandle:qc,useInsertionEffect:Uc,useLayoutEffect:Vc,useMemo:Gc,useReducer:ri,useRef:Bc,useState:function(){return ri(wr)},useDebugValue:ii,useDeferredValue:function(e){return Qc(st(),de.memoizedState,e)},useTransition:function(){return[ri(wr)[0],st().memoizedState]},useMutableSource:Lc,useSyncExternalStore:jc,useId:Yc,unstable_isNewReconciler:!1},j6={readContext:at,useCallback:Wc,useContext:at,useEffect:oi,useImperativeHandle:qc,useInsertionEffect:Uc,useLayoutEffect:Vc,useMemo:Gc,useReducer:li,useRef:Bc,useState:function(){return li(wr)},useDebugValue:ii,useDeferredValue:function(e){var t=st();return null===de?t.memoizedState=e:Qc(t,de.memoizedState,e)},useTransition:function(){return[li(wr)[0],st().memoizedState]},useMutableSource:Lc,useSyncExternalStore:jc,useId:Yc,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=xn(e),l=Wt(u,r);l.payload=t,null!=n&&(l.callback=n),null!==(t=wn(e,l,r))&&(kt(t,e,r,u),F0(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var u=Pe(),r=xn(e),l=Wt(u,r);l.tag=1,l.payload=t,null!=n&&(l.callback=n),null!==(t=wn(e,l,r))&&(kt(t,e,r,u),F0(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Pe(),u=xn(e),r=Wt(n,u);r.tag=2,null!=t&&(r.callback=t),null!==(t=wn(e,r,u))&&(kt(t,e,u,n),F0(t,e,u))}};function e1(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 t1(e,t,n){var u=!1,r=pn,l=t.contextType;return"object"==typeof l&&null!==l?l=at(l):(r=Ue(t)?jn:Ce.current,l=(u=null!=(u=t.contextTypes))?su(e,r):pn),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 n1(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)?jn: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 u1(e,t,n){(n=Wt(-1,n)).tag=3,n.payload={element:null};var u=t.value;return n.callback=function(){V0||(V0=!0,Si=u),fi(0,t)},n}function r1(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===vn?vn=new Set([this]):vn.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:null!==o?o:""})}),n}function l1(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 o1(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 i1(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,wn(n,t,1))),n.lanes|=1),e)}var I6=Bt.ReactCurrentOwner,Ve=!1;function Ie(e,t,n,u){t.child=null===e?Ac(t,null,n,u):pu(t,e.child,n,u)}function a1(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||Ve?(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 s1(e,t,n,u,r){if(null===e){var l=n.type;return"function"!=typeof l||Li(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,c1(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=_n(l,u)).ref=t.ref,e.return=t,t.child=e}function c1(e,t,n,u,r){if(null!==e){var l=e.memoizedProps;if(ur(l,u)&&e.ref===t.ref){if(Ve=!1,t.pendingProps=u=l,!(e.lanes&r))return t.lanes=e.lanes,Gt(e,t,r);131072&e.flags&&(Ve=!0)}}return di(e,t,n,u,r)}function f1(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 d1(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)?jn:Ce.current;return l=su(t,l),mu(t,r),n=ni(e,t,n,u,l,r),u=ui(),null===e||Ve?(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 p1(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),t1(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)?jn: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)&&n1(t,o,u,s),mn=!1;var w=t.memoizedState;o.state=w,N0(t,u,o,r),a=t.memoizedState,i!==u||w!==a||He.current||mn?("function"==typeof c&&(ai(t,n,c,u),a=t.memoizedState),(i=mn||e1(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,Fc(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)?jn: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)&&n1(t,o,u,a),mn=!1,w=t.memoizedState,o.state=w,N0(t,u,o,r);var g=t.memoizedState;i!==f||w!==g||He.current||mn?("function"==typeof y&&(ai(t,n,y,u),g=t.memoizedState),(s=mn||e1(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){d1(e,t);var o=!!(128&t.flags);if(!u&&!o)return r&&vc(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&&vc(t,n,!0),t.child}function h1(e){var t=e.stateNode;t.pendingContext?wc(0,t.pendingContext,t.pendingContext!==t.context):t.context&&wc(0,t.context,!1),Yo(e,t.containerInfo)}function m1(e,t,n,u,r){return du(),Uo(r),t.flags|=256,Ie(e,t,n,u),t.child}var y1,vi,x1,b1,hi={dehydrated:null,treeContext:null,retryLane:0};function mi(e){return{baseLanes:e,cachePool:null,transitions:null}}function w1(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=Vn(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=Vn(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),Ve||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,qt(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=fn(r.nextSibling),et=t,te=!0,yt=null,null!==e&&(ot[it++]=Vt,ot[it++]=Zt,ot[it++]=On,Vt=e.id,Zt=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=_n(r,a)).subtreeFlags=14680064&r.subtreeFlags:((u=t.child).childLanes=0,u.pendingProps=a,t.deletions=null),null!==i?l=_n(i,l):(l=Vn(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=_n(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 g1(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 v1(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&&g1(e,n,t);else if(19===e.tag)g1(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=_n(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=_n(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)x1(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":ts(u,l),X("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!l.multiple},X("invalid",u);break;case"textarea":rs(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),us(u,l,!0);break;case"textarea":Gr(u),os(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=is(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,y1(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":ts(e,u),r=ql(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":rs(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?cs(e,a):"dangerouslySetInnerHTML"===l?null!=(a=a?a.__html:void 0)&&as(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),us(e,u,!1);break;case"textarea":Gr(e),os(e);break;case"option":null!=u.value&&e.setAttribute("value",""+un(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)b1(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))Ec(),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 qo(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 qo(t.type._context),null;case 22:case 23:return Mi(),null;default:return null}}y1=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(){},x1=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=ql(e,r),u=ql(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)}},b1=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 _1=!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 k1(e){var t=e.alternate;null!==t&&(e.alternate=null,k1(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 E1(e){return 5===e.tag||3===e.tag||4===e.tag}function C1(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||E1(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 gn(e,t,n){for(n=n.child;null!==n;)S1(e,t,n),n=n.sibling}function S1(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,gn(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,gn(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)}gn(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)}gn(e,t,n);break;case 21:gn(e,t,n);break;case 22:1&n.mode?(De=(u=De)||null!==n.memoizedState,gn(e,t,n),De=u):gn(e,t,n);break;default:gn(e,t,n)}}function A1(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));S1(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;)D1(t,e),t=t.sibling}function D1(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&&ns(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?cs(r,f):"dangerouslySetInnerHTML"===c?as(r,f):"children"===c?$u(r,f):Ol(r,c,f,s)}switch(i){case"input":Wl(r,l);break;case"textarea":ls(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&&A1(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){M1(f);continue}}null!==y?(y.return=w,T=y):M1(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=ss("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&&A1(e);case 21:}}function Mt(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(E1(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,C1(e),r);break;case 3:case 4:var o=u.stateNode.containerInfo;bi(e,C1(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,F1(e)}function F1(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?T1(r):null!==a?(a.return=o,T=a):T1(r);for(;null!==l;)T=l,F1(l),l=l.sibling;T=r,$0=i,De=s}N1(e)}else 8772&r.subtreeFlags&&null!==l?(l.return=r,T=l):N1(e)}}function N1(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&&Mc(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}Mc(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 M1(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 T1(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 B1,V6=Math.ceil,H0=Bt.ReactCurrentDispatcher,ki=Bt.ReactCurrentOwner,ct=Bt.ReactCurrentBatchConfig,U=0,me=null,fe=null,_e=0,nt=0,yu=dn(0),pe=0,xr=null,$n=0,U0=0,Ei=0,br=null,Ze=null,Ci=0,xu=1/0,Qt=null,V0=!1,Si=null,vn=null,Z0=!1,yn=null,q0=0,_r=0,Ai=null,W0=-1,G0=0;function Pe(){return 6&U?ae():-1!==W0?W0:W0=ae()}function xn(e){return 1&e.mode?2&U&&0!==_e?_e&-_e:null!==A6.transition?(0===G0&&(G0=Cs()),G0):(0!==(e=Z)||(e=void 0===(e=window.event)?16:js(e.type)),e):1}function kt(e,t,n,u){if(50<_r)throw _r=0,Ai=null,Error(F(185));qu(e,n,u),(!(2&U)||e!==me)&&(e===me&&(!(2&U)&&(U0|=n),4===pe&&bn(e,_e)),qe(e,u),1===n&&0===U&&!(1&t.mode)&&(xu=ae()+500,_0&&hn()))}function qe(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&&_s(n),e.callbackNode=null,e.callbackPriority=0;else if(t=u&-u,e.callbackPriority!==t){if(null!=n&&_s(n),1===t)0===e.tag?function(e){_0=!0,yc(e)}(j1.bind(null,e)):yc(j1.bind(null,e)),_6((function(){!(6&U)&&hn()})),n=null;else{switch(Ss(u)){case 1:n=lo;break;case 4:n=ks;break;case 16:default:n=Jr;break;case 536870912:n=Es}n=H1(n,L1.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function L1(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=I1();for((me!==e||_e!==t)&&(Qt=null,xu=ae()+500,Hn(e,t));;)try{W6();break}catch(i){O1(e,i)}Zo(),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),bn(e,u),qe(e,ae()),n;if(6===t)bn(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),bn(e,u),qe(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,Ze,Qt);break;case 3:if(bn(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=jo(Un.bind(null,e,Ze,Qt),t);break}Un(e,Ze,Qt);break;case 4:if(bn(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*V6(u/1960))-u)){e.timeoutHandle=jo(Un.bind(null,e,Ze,Qt),u);break}Un(e,Ze,Qt);break;default:throw Error(F(329))}}}return qe(e,ae()),e.callbackNode===n?L1.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=Ze,Ze=n,null!==t&&Fi(t)),e}function Fi(e){null===Ze?Ze=e:Ze.push.apply(Ze,e)}function bn(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 j1(e){if(6&U)throw Error(F(327));bu();var t=u0(e,0);if(!(1&t))return qe(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),bn(e,t),qe(e,ae()),n;if(6===n)throw Error(F(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Un(e,Ze,Qt),qe(e,ae()),null}function Ni(e,t){var n=U;U|=1;try{return e(t)}finally{0===(U=n)&&(xu=ae()+500,_0&&hn())}}function Bn(e){null!==yn&&0===yn.tag&&!(6&U)&&bu();var t=U;U|=1;var n=ct.transition,u=Z;try{if(ct.transition=null,Z=1,e)return e()}finally{Z=u,ct.transition=n,!(6&(U=t))&&hn()}}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:qo(u.type._context);break;case 22:case 23:Mi()}n=n.return}if(me=e,fe=e=_n(e.current,null),_e=nt=t,pe=0,xr=null,Ei=U0=$n=0,Ze=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 O1(e,t){for(;;){var n=fe;try{if(Zo(),T0.current=I0,L0){for(var u=re.memoizedState;null!==u;){var r=u.queue;null!==r&&(r.pending=null),u=u.next}L0=!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=o1(o);if(null!==y){y.flags&=-257,i1(y,o,i,0,t),1&y.mode&&l1(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)){l1(l,s,t),Ti();break e}a=Error(F(426))}else if(te&&1&i.mode){var D=o1(o);if(null!==D){!(65536&D.flags)&&(D.flags|=256),i1(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,Nc(l,u1(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!==vn&&vn.has(m)))){l.flags|=65536,t&=-t,l.lanes|=t,Nc(l,r1(l,i,t));break e}}l=l.return}while(null!==l)}R1(n)}catch(E){t=E,fe===n&&null!==n&&(fe=n=n.return);continue}break}}function I1(){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)||bn(me,_e)}function Q0(e,t){var n=U;U|=2;var u=I1();for((me!==e||_e!==t)&&(Qt=null,Hn(e,t));;)try{q6();break}catch(r){O1(e,r)}if(Zo(),U=n,H0.current=u,null!==fe)throw Error(F(261));return me=null,_e=0,pe}function q6(){for(;null!==fe;)P1(fe)}function W6(){for(;null!==fe&&!vp();)P1(fe)}function P1(e){var t=B1(e.alternate,e,nt);e.memoizedProps=e.pendingProps,null===t?R1(e):fe=t,ki.current=null}function R1(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=Z,r=ct.transition;try{ct.transition=null,Z=1,function(e,t,n,u){do{bu()}while(null!==yn);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)||Z0||(Z0=!0,H1(Jr,(function(){return bu(),null}))),l=!!(15990&n.flags),15990&n.subtreeFlags||l){l=ct.transition,ct.transition=null;var o=Z;Z=1;var i=U;U|=4,ki.current=null,function(e,t){if(Mo=o0,ko(e=ec())){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=_1,_1=!1}(e,n),D1(n,e),h6(To),o0=!!Mo,To=Mo=null,e.current=n,U6(n),yp(),U=i,Z=o,ct.transition=l}else e.current=n;if(Z0&&(Z0=!1,yn=e,q0=r),l=e.pendingLanes,0===l&&(vn=null),function(e){if(At&&"function"==typeof At.onCommitFiberRoot)try{At.onCommitFiberRoot(e0,e,void 0,!(128&~e.current.flags))}catch{}}(n.stateNode),qe(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(V0)throw V0=!1,e=Si,Si=null,e;1&q0&&0!==e.tag&&bu(),l=e.pendingLanes,1&l?e===Ai?_r++:(_r=0,Ai=e):_r=0,hn()}(e,t,n,u)}finally{ct.transition=r,Z=u}return null}function bu(){if(null!==yn){var e=Ss(q0),t=ct.transition,n=Z;try{if(ct.transition=null,Z=16>e?16:e,null===yn)var u=!1;else{if(e=yn,yn=null,q0=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(k1(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,hn(),At&&"function"==typeof At.onPostCommitFiberRoot)try{At.onPostCommitFiberRoot(e0,e)}catch{}u=!0}return u}finally{Z=n,ct.transition=t}}return!1}function z1(e,t,n){e=wn(e,t=u1(0,t=gu(n,t),1),1),t=Pe(),null!==e&&(qu(e,1,t),qe(e,t))}function ie(e,t,n){if(3===e.tag)z1(e,e,n);else for(;null!==t;){if(3===t.tag){z1(t,e,n);break}if(1===t.tag){var u=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof u.componentDidCatch&&(null===vn||!vn.has(u))){t=wn(t,e=r1(t,e=gu(n,e),1),1),e=Pe(),null!==t&&(qu(t,1,e),qe(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),qe(e,t)}function $1(e,t){0===t&&(1&e.mode?(t=n0,!(130023424&(n0<<=1))&&(n0=4194304)):t=1);var n=Pe();null!==(e=qt(e,t))&&(qu(e,t,n),qe(e,n))}function Y6(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),$1(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),$1(e,n)}function H1(e,t){return bs(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 Li(e){return!(!(e=e.prototype)||!e.isReactComponent)}function _n(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)Li(e)&&(o=1);else if("string"==typeof e)o=5;else e:switch(e){case Yn:return Vn(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 Ka:return K0(n,r,l,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Qa:o=10;break e;case Ya:o=9;break e;case Rl:o=11;break e;case Bl:o=14;break e;case nn: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 Vn(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=Ka,e.lanes=n,e.stateNode={isHidden:!1},e}function ji(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 U1(e){if(!e)return pn;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 gc(e,n,t)}return t}function V1(e,t,n,u,r,l,o,i,a){return(e=Ii(n,u,!0,e,0,l,0,i,a)).context=U1(null),n=e.current,(l=Wt(u=Pe(),r=xn(n))).callback=t??null,wn(n,l,r),e.current.lanes=r,qu(e,r,u),qe(e,u),e}function X0(e,t,n,u){var r=t.current,l=Pe(),o=xn(r);return n=U1(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=wn(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 Z1(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){Z1(e,t),(e=e.alternate)&&Z1(e,t)}B1=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||He.current)Ve=!0;else{if(!(e.lanes&n||128&t.flags))return Ve=!1,function(e,t,n){switch(t.tag){case 3:h1(t),du();break;case 5:Tc(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?w1(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 v1(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,f1(e,t,n)}return Gt(e,t,n)}(e,t,n);Ve=!!(131072&e.flags)}else Ve=!1,te&&1048576&t.flags&&xc(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 Li(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=p1(null,t,u,e,n);break e;case 11:t=a1(null,t,u,e,n);break e;case 14:t=s1(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,p1(e,t,u,r=t.elementType===u?r:xt(u,r),n);case 3:e:{if(h1(t),null===e)throw Error(F(387));u=t.pendingProps,r=(l=t.memoizedState).element,Fc(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=m1(e,t,u,n,r=gu(Error(F(423)),t));break e}if(u!==r){t=m1(e,t,u,n,r=gu(Error(F(424)),t));break e}for(tt=fn(t.stateNode.containerInfo.firstChild),et=t,te=!0,yt=null,n=Ac(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 Tc(t),null===e&&Ho(t),u=t.type,r=t.pendingProps,l=null!==e?e.memoizedProps:null,o=r.children,Lo(u,r)?o=null:null!==l&&Lo(u,l)&&(t.flags|=32),d1(e,t),Ie(e,t,o,n),t.child;case 6:return null===e&&Ho(t),null;case 13:return w1(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,a1(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),s1(e,t,u,r=xt(u.type,r),n);case 15:return c1(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),t1(t,u,r),si(t,u,r,n),pi(null,t,u,!0,e,n);case 19:return v1(e,t,n);case 22:return f1(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 W1(){}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=V1(t,u,e,0,null,!1,0,"",W1);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,"",W1);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=Fs();e={blockedOn:null,target:e,priority:t};for(var n=0;n<an.length&&0!==t&&t<an[n].priority;n++);an.splice(n,0,e),0===n&&Ts(e)}},As=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Zu(t.pendingLanes);0!==n&&(ao(t,1|n),qe(t,ae()),!(6&U)&&(xu=ae()+500,hn()))}break;case 13:Bn((function(){var u=qt(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=qt(e,134217728);if(null!==t)kt(t,e,134217728,Pe());Pi(e,134217728)}},Ds=function(e){if(13===e.tag){var t=xn(e),n=qt(e,t);if(null!==n)kt(n,e,t,Pe());Pi(e,t)}},Fs=function(){return Z},Ns=function(e,t){var n=Z;try{return Z=e,t()}finally{Z=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));es(u),Wl(u,r)}}}break;case"textarea":ls(e,n);break;case"select":null!=(t=n.value)&&Kn(e,!!n.multiple,t,!1)}},hs=Ni,ms=Bn;var r3={usingClientEntryPoint:!1,Events:[sr,iu,y0,ds,ps,Ni]},kr={findFiberByHostInstance:Ln,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=ys(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=ys(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=V1(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 G1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(G1)}catch(e){console.error(e)}}(),Ua.exports=Ke;var rl=Ua.exports,Q1=rl;Ml.createRoot=Q1.createRoot,Ml.hydrateRoot=Q1.hydrateRoot;const $i=_.createContext(null),Y1=({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})},K1={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___",X1="___anm-chat-greetings-shown___";const c3=_.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var f3=Object.defineProperty,ol=Object.getOwnPropertySymbols,J1=Object.prototype.hasOwnProperty,e2=Object.prototype.propertyIsEnumerable,t2=(e,t,n)=>t in e?f3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,n2=(e,t)=>{for(var n in t||(t={}))J1.call(t,n)&&t2(e,n,t[n]);if(ol)for(var n of ol(t))e2.call(t,n)&&t2(e,n,t[n]);return e},u2=(e,t)=>{var n={};for(var u in e)J1.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&&e2.call(e,u)&&(n[u]=e[u]);return n};const r2=_.forwardRef(((e,t)=>{const n=e,{alt:u,color:r,size:l,weight:o,mirrored:i,children:a,weights:s}=n,c=u2(n,["alt","color","size","weight","mirrored","children","weights"]),f=_.useContext(c3),{color:w="currentColor",size:y,weight:g="regular",mirrored:k=!1}=f,D=u2(f,["color","size","weight","mirrored"]);return h.createElement("svg",n2(n2({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))}));r2.displayName="IconBase";const We=r2,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,l2=Object.getOwnPropertySymbols,w3=Object.prototype.hasOwnProperty,g3=Object.prototype.propertyIsEnumerable,o2=(e,t,n)=>t in e?p3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const i2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>h3(e,m3(t)))(((e,t)=>{for(var n in t||(t={}))w3.call(t,n)&&o2(e,n,t[n]);if(l2)for(var n of l2(t))g3.call(t,n)&&o2(e,n,t[n]);return e})({ref:t},e),{weights:d3}))));i2.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,a2=Object.getOwnPropertySymbols,E3=Object.prototype.hasOwnProperty,C3=Object.prototype.propertyIsEnumerable,s2=(e,t,n)=>t in e?b3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const c2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>_3(e,k3(t)))(((e,t)=>{for(var n in t||(t={}))E3.call(t,n)&&s2(e,n,t[n]);if(a2)for(var n of a2(t))C3.call(t,n)&&s2(e,n,t[n]);return e})({ref:t},e),{weights:x3}))));c2.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,f2=Object.getOwnPropertySymbols,T3=Object.prototype.hasOwnProperty,L3=Object.prototype.propertyIsEnumerable,d2=(e,t,n)=>t in e?F3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const p2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>N3(e,M3(t)))(((e,t)=>{for(var n in t||(t={}))T3.call(t,n)&&d2(e,n,t[n]);if(f2)for(var n of f2(t))L3.call(t,n)&&d2(e,n,t[n]);return e})({ref:t},e),{weights:D3}))));p2.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,h2=Object.getOwnPropertySymbols,$3=Object.prototype.hasOwnProperty,B3=Object.prototype.propertyIsEnumerable,m2=(e,t,n)=>t in e?P3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const w2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>R3(e,z3(t)))(((e,t)=>{for(var n in t||(t={}))$3.call(t,n)&&m2(e,n,t[n]);if(h2)for(var n of h2(t))B3.call(t,n)&&m2(e,n,t[n]);return e})({ref:t},e),{weights:I3}))));w2.displayName="Check";const V3=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 Z3=Object.defineProperty,q3=Object.defineProperties,W3=Object.getOwnPropertyDescriptors,g2=Object.getOwnPropertySymbols,G3=Object.prototype.hasOwnProperty,Q3=Object.prototype.propertyIsEnumerable,v2=(e,t,n)=>t in e?Z3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const il=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>q3(e,W3(t)))(((e,t)=>{for(var n in t||(t={}))G3.call(t,n)&&v2(e,n,t[n]);if(g2)for(var n of g2(t))Q3.call(t,n)&&v2(e,n,t[n]);return e})({ref:t},e),{weights:V3}))));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,y2=Object.getOwnPropertySymbols,nh=Object.prototype.hasOwnProperty,uh=Object.prototype.propertyIsEnumerable,x2=(e,t,n)=>t in e?J3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const b2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>eh(e,th(t)))(((e,t)=>{for(var n in t||(t={}))nh.call(t,n)&&x2(e,n,t[n]);if(y2)for(var n of y2(t))uh.call(t,n)&&x2(e,n,t[n]);return e})({ref:t},e),{weights:X3}))));b2.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,_2=Object.getOwnPropertySymbols,ch=Object.prototype.hasOwnProperty,fh=Object.prototype.propertyIsEnumerable,k2=(e,t,n)=>t in e?ih(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const E2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>ah(e,sh(t)))(((e,t)=>{for(var n in t||(t={}))ch.call(t,n)&&k2(e,n,t[n]);if(_2)for(var n of _2(t))fh.call(t,n)&&k2(e,n,t[n]);return e})({ref:t},e),{weights:oh}))));E2.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,C2=Object.getOwnPropertySymbols,vh=Object.prototype.hasOwnProperty,yh=Object.prototype.propertyIsEnumerable,S2=(e,t,n)=>t in e?mh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const A2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>wh(e,gh(t)))(((e,t)=>{for(var n in t||(t={}))vh.call(t,n)&&S2(e,n,t[n]);if(C2)for(var n of C2(t))yh.call(t,n)&&S2(e,n,t[n]);return e})({ref:t},e),{weights:hh}))));A2.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,D2=Object.getOwnPropertySymbols,Sh=Object.prototype.hasOwnProperty,Ah=Object.prototype.propertyIsEnumerable,F2=(e,t,n)=>t in e?kh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const N2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>Eh(e,Ch(t)))(((e,t)=>{for(var n in t||(t={}))Sh.call(t,n)&&F2(e,n,t[n]);if(D2)for(var n of D2(t))Ah.call(t,n)&&F2(e,n,t[n]);return e})({ref:t},e),{weights:_h}))));N2.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,Lh=Object.getOwnPropertyDescriptors,M2=Object.getOwnPropertySymbols,jh=Object.prototype.hasOwnProperty,Oh=Object.prototype.propertyIsEnumerable,T2=(e,t,n)=>t in e?Mh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const L2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>Th(e,Lh(t)))(((e,t)=>{for(var n in t||(t={}))jh.call(t,n)&&T2(e,n,t[n]);if(M2)for(var n of M2(t))Oh.call(t,n)&&T2(e,n,t[n]);return e})({ref:t},e),{weights:Nh}))));L2.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,j2=Object.getOwnPropertySymbols,Hh=Object.prototype.hasOwnProperty,Uh=Object.prototype.propertyIsEnumerable,O2=(e,t,n)=>t in e?zh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const I2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>$h(e,Bh(t)))(((e,t)=>{for(var n in t||(t={}))Hh.call(t,n)&&O2(e,n,t[n]);if(j2)for(var n of j2(t))Uh.call(t,n)&&O2(e,n,t[n]);return e})({ref:t},e),{weights:Rh}))));I2.displayName="Paperclip";const qh=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,P2=Object.getOwnPropertySymbols,Yh=Object.prototype.hasOwnProperty,Kh=Object.prototype.propertyIsEnumerable,R2=(e,t,n)=>t in e?Wh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const z2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>Gh(e,Qh(t)))(((e,t)=>{for(var n in t||(t={}))Yh.call(t,n)&&R2(e,n,t[n]);if(P2)for(var n of P2(t))Kh.call(t,n)&&R2(e,n,t[n]);return e})({ref:t},e),{weights:qh}))));z2.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,$2=Object.getOwnPropertySymbols,r4=Object.prototype.hasOwnProperty,l4=Object.prototype.propertyIsEnumerable,B2=(e,t,n)=>t in e?t4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const H2=_.forwardRef(((e,t)=>h.createElement(We,((e,t)=>n4(e,u4(t)))(((e,t)=>{for(var n in t||(t={}))r4.call(t,n)&&B2(e,n,t[n]);if($2)for(var n of $2(t))l4.call(t,n)&&B2(e,n,t[n]);return e})({ref:t},e),{weights:e4}))));H2.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,U2=Object.getOwnPropertySymbols,d4=Object.prototype.hasOwnProperty,p4=Object.prototype.propertyIsEnumerable,V2=(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)&&V2(e,n,t[n]);if(U2)for(var n of U2(t))p4.call(t,n)&&V2(e,n,t[n]);return e})({ref:t},e),{weights:a4}))));Bi.displayName="X";const Hi={plus:z2,chatBubble:p2,support:E2,search2:c2,search:N2,magic:A2};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-gh":"tw-fh",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-xd tw-wh tw-cp tw-pd tw-yc tw-bb tw-ng tw-kn tw-ap",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-cp tw-tg tw-zd tw-do tw-pn tw-kn",children:[e.chatIconUrl?p.jsx("img",{style:{borderRadius:"9999px"},className:"tw-do tw-pn tw-ng tw-sj"+(t?"tw-zm tw-pk tw-kj":"tw-uk tw-di tw-wl"),src:e.chatIconUrl,alt:"Chat Icon"}):p.jsx(r,{className:"tw-fl tw-qj tw-gh tw-eh tw-am tw-ng tw-sj "+(t?"tw-zm tw-pk tw-kj":"tw-uk tw-di tw-wl")}),p.jsx("svg",{viewBox:"0 0 24 24",className:`tw-fl ${l} tw-zl tw-ng tw-sj tw-qr tw-fr tw-ak `+(t?"tw-uk tw-wl tw-di":"tw-zm tw-mh tw-pk"),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:"อัปโหลดล้มเหลว"}},kn="https://api.rudi.animuz.ai",Z2_chat=async(e,t,n="")=>{const u=await fetch(`${n||kn}/v2/public/chat`,{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)});return[await u.json(),u.status]},Z2_listAssistants=async(e,t="")=>await(await fetch(`${t||kn}/v2/public/assistant`,{method:"GET",headers:{"Content-Type":"application/json",...e}})).json(),Er={getMessages:async(e,t="")=>{try{return(await(await fetch(`${t||kn}/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||kn}/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||kn}/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||kn}/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||kn}/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 Z2_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-ul tw-nn",children:[p.jsx("select",{id:"selectRudi",className:"anm-peer tw-do tw-bd tw-ah tw-oj tw-mn tw-dd tw-mr",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-fl tw-vm tw-in tw-bl tw-mc tw-rf tw-sj tw-ng tw-xa tw-mb"})]})};return p.jsxs("header",{style:{"--bg-color":e.bgColorChat??"#f3f4f6"},className:"tw-lr tw-aj tw-bo tw-ab",children:[p.jsxs("div",{className:"tw-cp tw-ll tw-fi tw-oq tw-ul tw-kd tw-ie tw-pg "+(W2(e)||l||null!==e.showAssistants?"tw-gk":r||null===e.showAssistants?"tw-nl":"tw-fk"),style:{backgroundColor:e.headerBgColor??"#FFFFFF",color:e.headerTextColor??"#000000"},children:["dog"===e.headerBgPattern&&p.jsx(x4,{alt:"Background",className:"tw-fl tw-sn tw-vo tw-jn tw-zg tw-gj tw-pj"}),p.jsxs("div",{className:"tw-cp tw-pn tw-tg",children:[p.jsx("div",{className:"tw-sp tw-vp tw-cp tw-tg tw-ar",children:p.jsx("div",{className:`tw-cp tw-zd tw-tg tw-np ${e.showAssistants?"tw-cn":"tw-an"} tw-gl tw-ch`,children:p.jsx("img",{className:"tw-do tw-pn tw-ae tw-ch",src:e.brandImageUrl??Ui,alt:e.brandName?e.brandName+" Logo":"Rudi Logo"})})}),p.jsxs("div",{className:"tw-cp tw-ll tw-zk tw-do tw-ar",children:[p.jsxs("div",{className:"tw-cp tw-id tw-do tw-tg",children:[p.jsxs("div",{className:"tw-cp tw-ll",children:[p.jsx("span",{className:"tw-en tw-ve tw-hr tw-hh tw-ek",children:e.brandName}),p.jsx("span",{className:"tw-fn tw-zh tw-he tw-hr tw-hh tw-ek",children:e.brandSlogan})]}),p.jsxs("div",{className:"tw-cp tw-tg tw-fl tw-wm tw-in tw-mc",children:[p.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},className:"tw-wh tw-vc tw-zo tw-yf tw-xd tw-hj tw-rc tw-hm tw-bp tw-me tw-sc tw-bb tw-ng",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-qn tw-gm tw-wh tw-ud tw-hr tw-yh tw-xd tw-hj tw-rc tw-ao tw-lr tw-hh tw-qd tw-l tw-bb tw-ng",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-uj tw-aa tw-wh tw-vc tw-zo tw-xd tw-hj tw-rc tw-hm tw-bp tw-me","aria-label":"Close",children:p.jsx(Bi,{width:"100%",height:"100%"})})]})]}),!l&&null!==e.showAssistants&&p.jsx(k,{})]})]}),W2(e)?p.jsxs("div",{className:"tw-fp tw-lj tw-kn tw-cp tw-tg tw-to tw-aj tw-ie tw-pg tw-ko",children:[e.socialFbUrl&&p.jsx("button",{className:"tw-wh tw-ud tw-hr tw-jr tw-xd tw-bb tw-ng tw-qd tw-yc",children:p.jsx(v4,{className:"tw-zn",fill:"#FFFFFF",style:{color:e.headerBgColor??"#000000"}})}),e.socialLineUrl&&p.jsx("button",{className:"tw-wh tw-ud tw-hr tw-jr tw-xd tw-bb tw-ng tw-qd tw-yc",children:p.jsx(g4,{className:"tw-zn",fill:"#FFFFFF"})}),e.socialPhoneUrl&&p.jsx("button",{className:"tw-wh tw-ud tw-hr tw-jr tw-xd tw-bb tw-ng tw-qd tw-yc",children:p.jsx(y4,{className:"tw-zn",fill:"#FFFFFF"})})]}):null]}),l&&null!==e.showAssistants&&p.jsxs("div",{className:"tw-rp tw-cp tw-mo tw-tg tw-gf tw-pm tw-do",children:[p.jsx("label",{htmlFor:"selectRudi",className:"tw-bj tw-ve",children:s.selectAssistantLabel}),p.jsx(k,{})]})]})},W2=e=>e.socialFbUrl||e.socialLineUrl||e.socialPhoneUrl,Vi=(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 G2={};function _u(e,t){"string"!=typeof t&&(t=_u.defaultChars);const n=function(e){let t=G2[e];if(t)return t;t=G2[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 Q2={};function Cr(e,t,n){"string"!=typeof t&&(n=t,t=Cr.defaultChars),typeof n>"u"&&(n=!0);const u=function(e){let t=Q2[e];if(t)return t;t=Q2[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 Zi(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,L4=/:[0-9]*$/,j4=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,I4=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),P4=["'"].concat(I4),Y2=["%","/","?",";","#"].concat(P4),K2=["/","?","#"],X2=/^[+a-z0-9A-Z_-]{0,63}$/,z4=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,J2={javascript:!0,"javascript:":!0},ef={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function qi(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=j4.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&&J2[o])&&(l=l.substr(2),this.slashes=!0)),!J2[o]&&(r||o&&!ef[o])){let c,f,s=-1;for(let g=0;g<K2.length;g++)u=l.indexOf(K2[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<Y2.length;g++)u=l.indexOf(Y2[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(X2)){let d="";for(let m=0,x=v.length;m<x;m++)v.charCodeAt(m)>127?d+="x":d+=v[m];if(!d.match(X2)){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),ef[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},al.prototype.parseHost=function(e){let t=L4.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:Zi,parse:qi},Symbol.toStringTag,{value:"Module"})),tf=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,nf=/[\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]/,uf=/[\$\+<->\^`\|~\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]/,rf=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,H4=Object.freeze(Object.defineProperty({__proto__:null,Any:tf,Cc:nf,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:uf,Z:rf},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)))),V4=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var Gi;const Z4=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]]),q4=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 En,ge,Cn;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"}(En||(En={})),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"}(Cn||(Cn={}));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=Cn.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===Cn.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=Z4.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&En.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===Cn.Attribute&&(0===l||K4(o))?0:this.emitNotTerminatedNamedEntity();if(r=u[this.treeIndex],l=(r&En.VALUE_LENGTH)>>14,0!==l){if(o===we.SEMI)return this.emitNamedEntityData(this.treeIndex,l,this.consumed+this.excess);this.decodeMode!==Cn.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]&En.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]&~En.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===Cn.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 lf(e){let t="";const n=new X4(e,(u=>t+=q4(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&En.BRANCH_LENGTH)>>7,l=t&En.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=lf(U4);function of(e,t=Cn.Legacy){return e8(e,t)}function Yi(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}lf(V4);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 af(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 sf=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,l8=new RegExp(sf.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=of(e);return n!==e?n:e}(t,u)}))}const s8=/[&<>"]/,c8=/[&<>"]/g,f8={"&":"&","<":"<",">":">",'"':"""};function d8(e){return f8[e]}function Sn(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)||uf.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:af,assign:sl,escapeHtml:Sn,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(sf,"$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 cf(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)+">"+Sn(l.content)+"</code>"},Tt.code_block=function(e,t,n,u,r){const l=e[t];return"<pre"+r.renderAttrs(l)+"><code>"+Sn(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)||Sn(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 Sn(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+=" "+Sn(t.attrs[n][0])+'="'+Sn(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},cf.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 ff=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,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 L8(e){let t=0;for(let n=e.length-1;n>=0;n--){const u=e[n];"text"===u.type&&!t&&ff.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=/['"]/,df=/['"]/g,pf="’";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;){df.lastIndex=a;const c=df.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,pf))}else y&&(l.content=dl(l.content,c.index,pf))}}}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=af(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),ff.test(e.tokens[t].content)&&L8(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 Lt(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=cf,Lt.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},Lt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},Lt.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t},Lt.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){if(!Q(this.src.charCodeAt(t)))break}return t},Lt.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!Q(this.src.charCodeAt(--t)))return t+1;return t},Lt.prototype.skipChars=function(t,n){for(let u=this.src.length;t<u&&this.src.charCodeAt(t)===n;t++);return t},Lt.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},Lt.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("")},Lt.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 hf(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 mf(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 wf(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 gf="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",vf="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",tm=new RegExp("^(?:"+gf+"|"+vf+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),nm=new RegExp("^(?:"+gf+"|"+vf+")"),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=hf(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=hf(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=wf(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=mf(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 L=e.tight,O=e.tShift[a],q=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]=q,e.tight=L,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=wf(e,a),y<0)break;o=e.bMarks[a]+e.tShift[a]}else if(y=mf(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 L=0,O=S.length;L<O;L++)if(S[L](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=Lt,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 yf(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 xf={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;yf(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&yf(e,t[u].delimiters)}};function bf(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 _f={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;bf(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&bf(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 kf(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",xf.tokenize],["emphasis",_f.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=of(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;kf(e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&kf(t[u].delimiters)}],["strikethrough",xf.postProcess],["emphasis",_f.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 Ef(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 Cf={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=tf.source,t.src_Cc=nf.source,t.src_Z=rf.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)?Ef(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(Ef(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||Cf.hasOwnProperty(n)}),!1)}(e)&&(t=e,e={}),this.__opts__=ra({},Cf,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,qm=/^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 An(e){throw new RangeError(Qm[e])}function Nf(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 Mf(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},Tf=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},Lf=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))},jf=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&&An("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&&An("invalid-input");const w=Xm(e.charCodeAt(i++));w>=36&&An("invalid-input"),w>Ot((Su-u)/c)&&An("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)&&An("overflow"),c*=g}const s=t.length+1;l=Lf(u-a,s,0==a),Ot(u/s)>Su-r&&An("overflow"),r+=Ot(u/s),u%=s,t.splice(u++,0,r)}return String.fromCodePoint(...t)},Of=function(e){const t=[],n=(e=Mf(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)&&An("overflow"),r+=(a-u)*s,u=a;for(const c of e)if(c<u&&++r>Su&&An("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(Tf(y+g%k,0))),f=Ot(g/k)}t.push(aa(Tf(f,0))),l=Lf(r,s,i===o),r=0,++i}++r,++u}return t.join("")},If={version:"2.3.1",ucs2:{decode:Mf,encode:e=>String.fromCodePoint(...e)},decode:jf,encode:Of,toASCII:function(e){return Nf(e,(function(t){return Wm.test(t)?"xn--"+Of(t):t}))},toUnicode:function(e){return Nf(e,(function(t){return qm.test(t)?jf(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 Pf=["http:","https:","mailto:"];function u5(e){const t=qi(e,!0);if(t.hostname&&(!t.protocol||Pf.indexOf(t.protocol)>=0))try{t.hostname=If.toASCII(t.hostname)}catch{}return Cr(Zi(t))}function r5(e){const t=qi(e,!0);if(t.hostname&&(!t.protocol||Pf.indexOf(t.protocol)>=0))try{t.hostname=If.toUnicode(t.hostname)}catch{}return _u(Zi(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,linkify:!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:Rf,setPrototypeOf:zf,isFrozen:o5,getPrototypeOf:i5,getOwnPropertyDescriptor:a5}=Object;let{freeze:Re,seal:ht,create:$f}=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),Bf=rt(Array.prototype.pop),Tr=rt(Array.prototype.push),vl=rt(String.prototype.toLowerCase),pa=rt(String.prototype.toString),Hf=rt(String.prototype.match),Lr=rt(String.prototype.replace),s5=rt(String.prototype.indexOf),c5=rt(String.prototype.trim),Ct=rt(Object.prototype.hasOwnProperty),ze=rt(RegExp.prototype.test),jr=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;zf&&zf(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 Zn(e){const t=$f(null);for(const[n,u]of Rf(e))Ct(e,n)&&(Array.isArray(u)?t[n]=d5(u):u&&"object"==typeof u&&u.constructor===Object?t[n]=Zn(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 Uf=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"]),Vf=Re(["#text"]),Zf=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]+$/),Wf=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),Gf=ht(/^html$/i),_5=ht(/^[a-z][.\w]*(-[.\w]+)+$/i);var Qf=Object.freeze({__proto__:null,MUSTACHE_EXPR:m5,ERB_EXPR:w5,TMPLIT_EXPR:g5,DATA_ATTR:v5,ARIA_ATTR:y5,IS_ALLOWED_URI:Wf,IS_SCRIPT_OR_DATA:x5,ATTR_WHITESPACE:b5,DOCTYPE_NAME:Gf,CUSTOM_ELEMENT:_5});const Ir_element=1,Ir_text=3,Ir_progressingInstruction=7,Ir_comment=8,Ir_document=9;var C5=function Yf(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:typeof window>"u"?null:window;const t=I=>Yf(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:L}=u;let O={};t.isSupported="function"==typeof Rf&&"function"==typeof m&&C&&void 0!==C.createHTMLDocument;const{MUSTACHE_EXPR:q,ERB_EXPR:se,TMPLIT_EXPR:ve,DATA_ATTR:Fe,ARIA_ATTR:Qe,IS_SCRIPT_OR_DATA:mt,ATTR_WHITESPACE:M,CUSTOM_ELEMENT:$}=Qf;let{IS_ALLOWED_URI:R}=Qf,z=null;const V=H({},[...Uf,...ha,...ma,...wa,...Vf]);let Y=null;const $e=H({},[...Zf,...ga,...qf,...yl]);let W=Object.seal($f(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,Xt=!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 Jt=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",en="http://www.w3.org/1999/xhtml";let Tu=en,Sa=!1,Aa=null;const Zw=H({},[kl,El,en],pa);let Br=null;const qw=["application/xhtml+xml","text/html"];let ye=null,Lu=null;const Gw=n.createElement("form"),xd=function(b){return b instanceof RegExp||b instanceof Function},Da=function(){let b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Lu||Lu!==b){if((!b||"object"!=typeof b)&&(b={}),b=Zn(b),Br=-1===qw.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):V,Y=Ct(b,"ALLOWED_ATTR")?H({},b.ALLOWED_ATTR,ye):$e,Aa=Ct(b,"ALLOWED_NAMESPACES")?H({},b.ALLOWED_NAMESPACES,pa):Zw,Mu=Ct(b,"ADD_URI_SAFE_ATTR")?H(Zn(yd),b.ADD_URI_SAFE_ATTR,ye):yd,Jt=Ct(b,"ADD_DATA_URI_TAGS")?H(Zn(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,Xt=!1!==b.KEEP_CONTENT,Nn=b.IN_PLACE||!1,R=b.ALLOWED_URI_REGEXP||Wf,Tu=b.NAMESPACE||en,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({},Vf),Y=[],!0===oe.html&&(H(z,Uf),H(Y,Zf)),!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===V&&(z=Zn(z)),H(z,b.ADD_TAGS,ye)),b.ADD_ATTR&&(Y===$e&&(Y=Zn(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=Zn(lt)),H(lt,b.FORBID_CONTENTS,ye)),Xt&&(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 jr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof b.TRUSTED_TYPES_POLICY.createScriptURL)throw jr('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),Lu=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,j=null;if(Me)b="<remove></remove>"+b;else{const Ee=Hf(b,/^[\r\n\t ]+/);j=Ee&&Ee[0]}"application/xhtml+xml"===Br&&Tu===en&&(b='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+b+"</body></html>");const K=x?x.createHTML(b):b;if(Tu===en)try{N=(new w).parseFromString(K,Br)}catch{}if(!N||!N.documentElement){N=C.createDocument(Tu,"template",null);try{N.documentElement.innerHTML=Sa?E:K}catch{}}const Le=N.body||N.documentElement;return b&&j&&Le.insertBefore(n.createTextNode(j),Le.childNodes[0]||null),Tu===en?P.call(N,It?"html":"body")[0]:It?N.documentElement:Le},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},tn=function(b,N,j){O[b]&&gl(O[b],(K=>{K.call(t,N,j,Lu)}))},Fd=function(b){let N=null;if(tn("beforeSanitizeElements",b,null),Ad(b))return Rt(b),!0;const j=ye(b.nodeName);if(tn("uponSanitizeElement",b,{tagName:j,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[j]||Ne[j]){if(!Ne[j]&&Md(j)&&(W.tagNameCheck instanceof RegExp&&ze(W.tagNameCheck,j)||W.tagNameCheck instanceof Function&&W.tagNameCheck(j)))return!1;if(Xt&&!lt[j]){const K=m(b)||b.parentNode,Le=d(b)||b.childNodes;if(Le&&K){for(let Ye=Le.length-1;Ye>=0;--Ye){const zt=k(Le[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 j=vl(b.tagName),K=vl(N.tagName);return!!Aa[b.namespaceURI]&&(b.namespaceURI===El?N.namespaceURI===en?"svg"===j:N.namespaceURI===kl?"svg"===j&&("annotation-xml"===K||bd[K]):!!kd[j]:b.namespaceURI===kl?N.namespaceURI===en?"math"===j:N.namespaceURI===El?"math"===j&&_d[K]:!!Ed[j]:b.namespaceURI===en?!(N.namespaceURI===El&&!_d[K]||N.namespaceURI===kl&&!bd[K])&&!Ed[j]&&(Qw[j]||!kd[j]):!("application/xhtml+xml"!==Br||!Aa[b.namespaceURI]))}(b)||("noscript"===j||"noembed"===j||"noframes"===j)&&ze(/<\/no(script|embed|frames)/i,b.innerHTML)?(Rt(b),!0):(Fn&&b.nodeType===Ir_text&&(N=b.textContent,gl([q,se,ve],(K=>{N=Lr(N,K," ")})),b.textContent!==N&&(Tr(t.removed,{element:b.cloneNode()}),b.textContent=N)),tn("afterSanitizeElements",b,null),!1)},Nd=function(b,N,j){if(Pt&&("id"===N||"name"===N)&&(j in n||j 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,j)||W.tagNameCheck instanceof Function&&W.tagNameCheck(j))))return!1}else if(!Mu[N]&&!ze(R,Lr(j,M,""))&&("src"!==N&&"xlink:href"!==N&&"href"!==N||"script"===b||0!==s5(j,"data:")||!Jt[b])&&(!_l||ze(mt,Lr(j,M,"")))&&j)return!1;return!0},Md=function(b){return"annotation-xml"!==b&&Hf(b,$)},Td=function(b){tn("beforeSanitizeAttributes",b,null);const{attributes:N}=b;if(!N)return;const j={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Y};let K=N.length;for(;K--;){const Le=N[K],{name:Ee,namespaceURI:Ye,value:zt}=Le,Hr=ye(Ee);let Be="value"===Ee?zt:c5(zt);if(j.attrName=Hr,j.attrValue=Be,j.keepAttr=!0,j.forceKeepAttr=void 0,tn("uponSanitizeAttribute",b,j),Be=j.attrValue,Du&&ze(/((--!?|])>)|<\/(style|title)/i,Be)){Cl(Ee,b);continue}if(j.forceKeepAttr||(Cl(Ee,b),!j.keepAttr))continue;if(!zr&&ze(/\/>/i,Be)){Cl(Ee,b);continue}Fn&&gl([q,se,ve],(jd=>{Be=Lr(Be,jd," ")}));const Ld=ye(b.nodeName);if(Nd(Ld,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(Ld,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):Bf(t.removed)}catch{}}}tn("afterSanitizeAttributes",b,null)},Kw=function I(b){let N=null;const j=Sd(b);for(tn("beforeSanitizeShadowDOM",b,null);N=j.nextNode();)tn("uponSanitizeShadowNode",N,null),!Fd(N)&&(N.content instanceof l&&I(N.content),Td(N));tn("afterSanitizeShadowDOM",b,null)};return t.sanitize=function(I){let b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},N=null,j=null,K=null,Le=null;if(Sa=!I,Sa&&(I="\x3c!--\x3e"),"string"!=typeof I&&!Dd(I)){if("function"!=typeof I.toString)throw jr("toString is not a function");if("string"!=typeof(I=I.toString()))throw jr("dirty is not a string, aborting")}if(!t.isSupported)return I;if(ee||Da(b),t.removed=[],"string"==typeof I&&(Nn=!1),Nn){if(I.nodeName){const zt=ye(I.nodeName);if(!z[zt]||Ne[zt])throw jr("root node is forbidden and cannot be sanitized in-place")}}else if(I instanceof i)N=Cd("\x3c!----\x3e"),j=N.ownerDocument.importNode(I,!0),j.nodeType===Ir_element&&"BODY"===j.nodeName||"HTML"===j.nodeName?N=j:N.appendChild(j);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(Le=A.call(N.ownerDocument);N.firstChild;)Le.appendChild(N.firstChild);else Le=N;return(Y.shadowroot||Y.shadowrootmode)&&(Le=L.call(u,Le,!0)),Le}let Ye=It?N.outerHTML:N.innerHTML;return It&&z["!doctype"]&&N.ownerDocument&&N.ownerDocument.doctype&&N.ownerDocument.doctype.name&&ze(Gf,N.ownerDocument.doctype.name)&&(Ye="<!DOCTYPE "+N.ownerDocument.doctype.name+">\n"+Ye),Fn&&gl([q,se,ve],(zt=>{Ye=Lr(Ye,zt," ")})),x&&Te?x.createHTML(Ye):Ye},t.setConfig=function(){Da(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ee=!0},t.clearConfig=function(){Lu=null,ee=!1},t.isValidAttribute=function(I,b,N){Lu||Da({});const j=ye(I),K=ye(b);return Nd(j,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 Bf(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"})),L5=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"})),j5=({document:e,query:t})=>p.jsxs("div",{className:"tw-lj tw-do",children:[p.jsxs("div",{className:"tw-cp tw-ll tw-jp tw-nr tw-wp tw-kg tw-hl tw-jl tw-ed",children:[p.jsx("span",{className:"tw-al tw-ve tw-ek tw-pf",children:e.key}),p.jsxs("span",{className:"tw-fn tw-zh tw-ek tw-tf",children:["Query: ",t]}),p.jsxs("span",{className:"tw-fn tw-zh tw-ek tw-tf",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]})]}),p.jsxs("div",{className:"tw-fn tw-ek tw-dq tw-yp tw-uf tw-nb tw-fa tw-md anm-scroll-container",children:[p.jsx(Kf,{}),e.content,p.jsx(Kf,{})]})]}),Kf=()=>p.jsxs("div",{className:"tw-ji tw-ql tw-vp",children:[p.jsxs("div",{className:"tw-cp tw-tg tw-do",children:[p.jsx("div",{className:"tw-no tw-th tw-ch tw-xq"}),p.jsx("div",{className:"tw-no tw-pp tw-th tw-ch tw-wq"}),p.jsx("div",{className:"tw-no tw-pp tw-th tw-ch tw-do"})]}),p.jsxs("div",{className:"tw-cp tw-tg tw-do tw-ff",children:[p.jsx("div",{className:"tw-no tw-th tw-ch tw-do"}),p.jsx("div",{className:"tw-no tw-pp tw-th tw-ch tw-do"}),p.jsx("div",{className:"tw-no tw-pp tw-th tw-ch tw-wq"})]}),p.jsxs("div",{className:"tw-cp tw-tg tw-do tw-ef",children:[p.jsx("div",{className:"tw-no tw-th tw-ch tw-do"}),p.jsx("div",{className:"tw-no tw-pp tw-th tw-ch tw-zq"}),p.jsx("div",{className:"tw-no tw-pp tw-th tw-ch tw-do"})]})]}),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=Dn.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})))},L=()=>{S(!0),setTimeout((()=>S(!1)),300)};return p.jsxs("div",{className:"tw-lj tw-do tw-ek",children:[p.jsx("div",{className:"tw-cp tw-ll tw-jp tw-nr tw-kg tw-hl tw-jl tw-ed",children:p.jsx("span",{className:"tw-gn tw-qp tw-hp tw-ck",children:k.report})}),p.jsx("div",{className:"tw-cp tw-ll tw-lo tw-ea tw-md anm-scroll-container",children:p.jsxs("div",{className:"tw-cp tw-ll tw-mo tw-oq tw-yp tw-jq",children:[p.jsxs("div",{className:"tw-cp tw-ll tw-jo",children:[p.jsx("span",{className:"tw-fn tw-ck",children:k.question}),p.jsx("input",{type:"text",value:o,onChange:O=>i(O.target.value),className:"tw-qo tw-fn tw-kg tw-wa tw-mn tw-ed tw-lj",placeholder:k.question,disabled:!0})]}),p.jsxs("div",{className:"tw-cp tw-ll tw-jo",children:[p.jsx("span",{className:"tw-fn tw-ck",children:k.answer}),p.jsx("textarea",{onChange:O=>{s(O.target.value)},value:a,className:"tw-qo tw-fn tw-kg tw-wa tw-mn tw-ed tw-lj tw-vl",cols:"30",rows:"6",placeholder:k.answer,disabled:!0,style:{scrollbarWidth:"thin"}})]}),p.jsxs("div",{className:"tw-cp tw-ll tw-jo",children:[p.jsx("span",{className:"tw-ck tw-fn",children:k.answerCorrect}),p.jsx("textarea",{onChange:O=>{y(O.target.value)},value:w,className:"tw-qo tw-mn tw-ed tw-ah tw-lj tw-fn tw-vl",cols:"10",rows:"3",placeholder:k.answerCorrect,style:{scrollbarWidth:"thin"}})]}),p.jsxs("div",{className:"tw-cp tw-ll tw-jo",children:[p.jsx("span",{className:" tw-ck tw-fn",children:k.sources}),(null==n?void 0:n.length)<=0?p.jsx("div",{children:p.jsx("p",{className:"tw-pc tw-fn",children:k.sourcesEmpty})}):p.jsx("div",{className:"tw-cp tw-bk tw-lr tw-ko tw-mn tw-kg tw-ed tw-lj tw-wg tw-md",style:{scrollbarWidth:"thin"},children:null==n?void 0:n.map(((O,q)=>p.jsxs("div",{className:"tw-xo tw-eq tw-rq tw-cp tw-tg tw-jo tw-mn tw-kg tw-ed tw-mj",children:[p.jsx(O5,{className:"tw-xl tw-vf"}),p.jsx("span",{className:"tw-fn tw-ug tw-ce",children:O.key.split("/").pop()})]},q)))})]}),p.jsxs("div",{className:"tw-cp tw-ll tw-jo",children:[p.jsx("span",{className:"tw-fn tw-ck",children:k.remark}),p.jsx("input",{type:"text",value:c,onChange:O=>f(O.target.value),className:"tw-qo tw-fn tw-kg tw-wa tw-mn tw-ed tw-lj tw-zb",placeholder:k.remark})]}),p.jsxs("div",{className:"tw-do tw-cp tw-lo tw-id tw-tg tw-sd",children:[x?p.jsx("p",{className:"tw-hn tw-fe tw-vg",children:x}):p.jsx("p",{}),p.jsxs("div",{className:"tw-cp tw-tg tw-lo",children:[p.jsx("button",{onClick:u,className:"tw-xd tw-cp tw-tg tw-zd tw-wh tw-mn tw-nc tw-lj tw-ep tw-pq tw-bb tw-og tw-qd",children:p.jsx("p",{className:"tw-fe",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),L())}catch(O){console.error("Failed to create report."),E(`${O}`),L()}finally{v(!1)}},className:`tw-xd tw-cp tw-tg tw-wh ${d?"tw-jg tw-ad tw-gq tw-cq tw-xk tw-ub tw-uk":x?"tw-ig tw-pq":"tw-hg tw-pq"} ${C?"tw-zc":""} tw-lj tw-ep tw-bb tw-og tw-qd tw-cb tw-ba tw-yb`,children:[d&&p.jsx(w2,{size:16,className:"tw-qj anm-animate-draw-fadeIn"}),p.jsx("p",{className:"tw-qj",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-ul tw-cp",children:[e,t&&p.jsx("span",{className:"tw-fl tw-ek tw-pl tw-jc tw-v tw-tn tw-s tw-pk tw-lq tw-hn tw-qa tw-jb tw-ym tw-qm tw-ec tw-vb tw-cj tw-zj tw-po",children:t}),n&&n]}),z5=({document:e})=>p.jsxs("div",{className:"tw-qn tw-ll tw-fl tw-rn tw-bm tw-wf tw-ma tw-kr tw-mj tw-qm tw-yq tw-gl tw-kn tw-vk tw-qk tw-oc tw-sm",children:[p.jsx("span",{className:"tw-ek tw-fn tw-pj",children:e.key}),p.jsxs("span",{className:"tw-ek tw-fn ",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]}),p.jsx("span",{className:"tw-ek tw-fn tw-yq tw-pf tw-ec tw-kd tw-sg tw-rp",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-cp tw-bk tw-jo tw-iq tw-ro",children:u?p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"tw-re tw-uh tw-dl tw-ml tw-lj"}),p.jsx("div",{className:"tw-re tw-uh tw-dm tw-ml tw-lj"}),p.jsx("div",{className:"tw-re tw-uh tw-em tw-ml tw-lj"})]}):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-fn tw-kg tw-mn tw-ja tw-sq tw-vn tw-ch tw-xd tw-t tw-ga tw-dc tw-cp tw-tg",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),V5=({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:L,submit:O,suggestList:q,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,V=_.useRef(null),Y=e.language,$e=dt[Y]||dt.en,W=e.textSize?`anm-text-[${e.textSize}px]`:"tw-ni";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 Xt=z.findIndex(((oe,lt)=>{if(ce.has(lt)||!oe)return!1;const Fu="string"==typeof oe?oe:oe.url||oe.presignedUrl||oe.signedUrl||"",Jt="object"==typeof oe&&(oe.name||oe.key)||"",Nu=Fu.split("?")[0];if(Fu&&(Fu===Pt||Nu.endsWith($r))||Jt&&(Jt===$r||Jt.endsWith($r)||Pt&&Pt.includes(Jt)))return!0;if(wt){const Mu=wt.replace(/\s+/g,"_");if(Nu.endsWith(wt)||Nu.endsWith(Mu)||Jt.endsWith(wt)||Jt.endsWith(Mu))return!0}return!1}));if(-1===Xt&&(Xt=z.findIndex(((oe,lt)=>!ce.has(lt)))),-1!==Xt){ce.add(Xt);const oe=z[Xt],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(V.current){V.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=V.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-cp tw-zd tw-rp tw-jp",children:p.jsx("div",{className:"tw-rq tw-pi tw-fn tw-ek",children:l})}):p.jsxs(p.Fragment,{children:[D&&p.jsx("div",{className:"tw-cp tw-zd tw-rp tw-jp",children:p.jsx("div",{className:"tw-cp tw-tg tw-zd tw-wj tw-pi tw-ch tw-rq tw-mq tw-hn tw-ek",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-ul ${"user"===o?"tw-xp":"tw-zp"} tw-j`,children:[p.jsxs("div",{className:"tw-cp tw-ai tw-do tw-oo "+("user"===o?"tw-bi":"tw-we"),children:["user"!==o&&p.jsx("span",{className:"tw-cp tw-yl tw-sr tw-gr tw-ch tw-np",children:p.jsx("img",{src:e.assistantIcon||Ui,alt:"Chatbot Avatar",className:"tw-ch"})}),p.jsxs("div",{"data-role":o,className:`tw-ul tw-rg tw-xh tw-tq tw-oq tw-sg tw-ek tw-nh tw-fi ${L?"tw-ci tw-ic":"tw-ci"} ${f?"tw-ti tw-lj":"user"===o?"anm-animuz-user-message tw-qa tw-jb":`${Dn.ASSISTANT_STYLES.base} tw-oa tw-ib ${m&&"tw-na tw-kg"}`}`,children:["user"!==o&&f?p.jsxs("div",{className:"tw-lr tw-lj tw-xj tw-ih",children:[p.jsxs("span",{className:"tw-sg ",children:[p.jsx(H2,{className:"tw-er tw-pr tw-ip tw-sg"})," ","Could not respond to message."]}),p.jsx("p",{className:"tw-hn tw-dk tw-rp tw-wi tw-wd tw-bq tw-ui tw-lr tw-nj",children:f})]}):g?p.jsx("div",{className:"tw-tp tw-up anm-dot-falling"}):p.jsxs(p.Fragment,{children:["image"===r?p.jsx(Xf,{images:S,sentAt:k}):"video"===r?p.jsx(Jf,{videos:A}):"file"===r?p.jsx(ed,{fileUrls:P}):p.jsxs(p.Fragment,{children:[p.jsx("span",{ref:V,className:`tw-cp tw-ll tw-lm ${W} tw-ik tw-hh tw-yd tw-rb tw-sb tw-cp tw-ll tw-lm tw-qi tw-ra tw-va tw-qe tw-lh tw-lc tw-pe tw-kh tw-fb tw-oe tw-jh tw-kc tw-ne tw-ag tw-bg tw-cg tw-dg tw-eg tw-fg tw-za tw-xc`,dangerouslySetInnerHTML:{__html:zr}}),"user"===o&&(null==S?void 0:S.length)>0&&p.jsx("div",{className:"tw-rp",children:p.jsx(Xf,{images:S,sentAt:k})}),"user"===o&&(null==A?void 0:A.length)>0&&p.jsx("div",{className:"tw-rp",children:p.jsx(Jf,{videos:A})}),"user"===o&&(null==P?void 0:P.length)>0&&p.jsx("div",{className:"tw-rp",children:p.jsx(ed,{fileUrls:P})})]}),e.showRag&&i&&c.length>0&&p.jsx("div",{className:"tw-cp tw-bk tw-mm tw-tg tw-rp tw-fn tw-sf",children:c.map(((ee,Me)=>p.jsx(xl,{render:p.jsx(z5,{document:ee}),children:p.jsx("span",{className:"tw-np tw-rq tw-mq tw-lj tw-sh tw-xd tw-hc tw-tc tw-pf tw-ec tw-kd anm-max-w-32",onClick:()=>ve(p.jsx(j5,{document:ee,query:a})),children:ee.key.split("/").pop()})},Me)))})]}),p.jsxs("div",{className:"tw-cp tw-ll tw-fl tw-ek tw-li tw-rf tw-ec tw-kl "+("user"===o?"tw-hk tw-jj tw-mp":"tw-ai tw-jk tw-kp"),children:["user"===o&&w&&p.jsx("span",{children:"Read"}),p.jsxs("div",{className:"tw-cp tw-tg",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-cp tw-jo tw-tg tw-mp tw-ih",children:[p.jsx(L5,{})," ",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-wb tw-xb tw-br tw-do tw-un tw-xp tw-fl tw-qn tw-bm tw-eb tw-im tw-so tw-ud tw-xk",children:[e.showCopyAction&&p.jsx(xl,{text:"copy"===Rr?$e.copy:$e.copySuccess,children:p.jsx("button",{className:"tw-cp tw-tg tw-zd tw-xd tw-wh tw-ud tw-hr tw-lq tw-rf tw-da",onClick:()=>{navigator.clipboard.writeText(l),Au("check"),setTimeout((()=>{Au("copy")}),1e3)},children:p.jsx(_l,{className:"tw-pr tw-er"})})}),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-cp tw-tg tw-zd tw-xd tw-wh tw-ud tw-hr tw-lq tw-rf tw-da tw-ba tw-sa",children:p.jsx(N5,{className:"tw-pr tw-er"})})}),e.showReportAction&&0!==t&&p.jsx(xl,{text:$e.report,children:p.jsx("button",{className:"tw-cp tw-tg tw-zd tw-xd tw-wh tw-ud tw-hr tw-lq tw-rf tw-da tw-ba tw-sa",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-pr tw-er"})})})]})]}),m&&p.jsx($5,{settings:e,suggestionList:q,onSendMessages:O,isLoading:se}),Qe&&p.jsx(td,{selectedImage:Qe,images:M,onClose:()=>mt(null),sentAt:k})]})},Xf=({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-cp tw-ko tw-bk",children:null==e?void 0:e.map(((l,o)=>p.jsx("img",{onClick:()=>u(l),src:l,alt:"img",className:"tw-cn tw-oj tw-mn tw-cd tw-sh tw-ae tw-xd"},o)))}),n&&p.jsx(td,{selectedImage:n,images:e,onClose:()=>u(null),sentAt:t})]})},Jf=({videos:e})=>p.jsx("div",{className:"tw-cp tw-ko tw-bk",children:null==e?void 0:e.map(((t,n)=>p.jsx("video",{src:t,controls:!0,className:"tw-fj tw-ze tw-oj tw-mn tw-cd tw-sh"},n)))}),ed=({fileUrls:e})=>p.jsx("div",{className:"tw-cp tw-ll tw-jm",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-cp tw-tg tw-ko tw-nq tw-sq tw-lj tw-si tw-mn tw-kg tw-dd tw-yg tw-hh tw-gc tw-dc",children:[p.jsx("span",{className:"tw-en",children:"📄"}),p.jsxs("div",{className:"tw-kd",children:[p.jsx("p",{className:"tw-fn tw-ek tw-hr tw-cm tw-xe",children:r}),p.jsx("p",{className:"tw-ki tw-ek tw-rf tw-hr tw-cl tw-xe",children:l})]})]},n)}))}),td=({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-cp tw-on tw-ll tw-mr tw-io tw-om tw-tj tw-zd tw-rh tw-hb",children:[p.jsxs("div",{className:"tw-cp tw-tg tw-id",children:[p.jsxs("div",{className:"tw-cp tw-lo tw-tg tw-ir",children:[p.jsx("div",{className:"tw-cp tw-zd tw-tg tw-fi tw-gl tw-bn",children:p.jsx("img",{src:Ui,alt:"avatar",className:"tw-an tw-zg tw-be"})}),p.jsxs("div",{className:"tw-cp tw-ll",children:[p.jsx("span",{className:"tw-qj tw-en",children:"Rudi"}),p.jsx("span",{className:"tw-pi",children:s})]})]}),p.jsx("div",{className:"tw-cp tw-zd tw-tg tw-jo",children:p.jsx(R5,{onClick:n,className:"tw-xd anm-hover:anm-scale-110 tw-ie tw-og"})})]}),p.jsx("div",{className:"tw-if tw-af tw-gi tw-ul tw-ii tw-cp tw-zd tw-tg tw-do",children:p.jsx("img",{src:r,alt:"Preview",onLoad:()=>i(!0),className:"tw-ae tw-fj tw-ej tw-gi tw-vb tw-pg "+(o?"tw-di":"tw-pk")},r)}),p.jsx("div",{className:"tw-cp tw-ko tw-kf tw-fm tw-wp",children:null==t?void 0:t.map(((c,f)=>p.jsx("div",{className:"tw-xd tw-ie "+(r===c?"tw-il tw-lg tw-fi":"tw-hj"),onClick:()=>{i(!1),l(c)},children:p.jsx("img",{src:c,alt:c,className:"tw-ol tw-xg tw-fi tw-zg"})},f)))})]}),document.body)};function nd(){const{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}function q5(){var r,l;const{width:e}=function(){const[e,t]=_.useState(nd());return _.useEffect((()=>{function n(){t(nd())}return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}),[]),e}(),[t,n]=_.useState(!(null!=(r=null==window?void 0:window.sessionStorage)&&r.getItem(X1)||null!=(l=null==window?void 0:window.localStorage)&&l.getItem(ll)));return{isGreetingsShow:t,toggleGreetingsShow:function(o){!0===o&&e>=768&&window.sessionStorage.setItem(X1,"1"),n(o)}}}function ud(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((()=>ud(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-ul tw-cp tw-ll tw-nn tw-ri tw-sh",children:p.jsx("div",{className:"tw-cp tw-ll tw-ij tw-tl tw-lj tw-mq tw-pn tw-rp tw-mm tw-we",children:p.jsx("div",{className:"tw-cp tw-pn tw-ll tw-tg tw-zd",children:p.jsx("p",{className:"tw-ge tw-fn tw-ek tw-uq tw-oi",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-ul tw-cp tw-ll tw-nn tw-ri tw-kd tw-ab",children:[p.jsx("div",{className:"anm-scroll-container tw-bc tw-ac tw-nf tw-pn tw-aq",onScroll:d=>{const x=d.target.scrollHeight-d.target.scrollTop-d.target.clientHeight<=40;w(x)},children:p.jsxs("div",{className:"tw-cp tw-ll tw-nn tw-kq tw-sk tw-z tw-oq tw-qm tw-jd",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(V5,{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-go",ref:y})]})}),p.jsx(G5,{scrollToBottom:v,isAtBottom:f})]})}const G5=({scrollToBottom:e,isAtBottom:t})=>p.jsx("div",{className:"tw-pl tw-jc tw-fl tw-do tw-hf tw-cp tw-bi tw-yj tw-mb",children:p.jsxs("button",{className:`tw-lb tw-kr tw-op tw-kn tw-xd tw-cp tw-tg tw-zd tw-ch tw-yn tw-fd tw-oh tw-fc tw-qj tw-vb tw-mg ${t?"tw-pk tw-mb":"tw-di"} `,onClick:e,id:"scroll-to-bottom-button","aria-label":"Scroll to bottom",children:[p.jsx(i2,{weight:"bold"}),p.jsx("span",{className:"tw-dn",children:"Scroll to bottom"})]})});function Q5(){return p.jsx("div",{className:"tw-pn tw-sh anm-no-scroll tw-cp tw-ll tw-tg tw-zd",children:p.jsx(il,{size:28,className:"tw-ge tw-gg"})})}function Y5({settings:e}){return"true"===e.noSponsor?null:p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"tw-nm tw-th tw-tp"}),p.jsxs("span",{className:"tw-qm tw-hn tw-ek tw-up tw-qf",children:["Powered by"," ",p.jsx("a",{href:"https://rudi.animuz.ai/",target:"_blank",rel:"noreferrer",className:"tw-hn anm-font-inherit tw-qc tw-yg tw-of tw-rd",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-co tw-kl tw-cp tw-ll tw-bq tw-fq tw-wp tw-bi",children:p.jsxs("form",{onSubmit:S=>{g(!1),n(S)},className:"tw-gl tw-fi tw-cp tw-ll tw-kg tw-mn tw-dd tw-do tw-qm tw-jd",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-cp tw-ko tw-nq tw-jq tw-ld",children:o.map((S=>p.jsx(lw,{attachment:S,onRemove:()=>a(S.id)},S.id)))}),s.length>0&&p.jsx("div",{className:"tw-nq tw-iq",children:s.map(((S,A)=>p.jsx("p",{className:"tw-hn tw-ih tw-hr tw-ek",children:S},A)))}),p.jsxs("div",{className:"tw-cp tw-hk tw-sl",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-zf tw-wc tw-ap tw-le tw-vc tw-wh tw-mj tw-xd tw-rf tw-qb tw-ho tw-eo tw-y tw-ob","aria-label":D.attachFile,title:D.attachFile,children:p.jsx(I2,{size:20})}),p.jsx("textarea",{ref:f,className:"tw-cp tw-nn tw-do tw-ek tw-ia tw-ud tw-fn tw-hl tw-lb tw-ye tw-kk tw-rm tw-mr tw-md tw-x tw-ei tw-gb tw-zb tw-xf",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 L;const A=null==(L=S.clipboardData)?void 0:L.items;if(!A)return;const P=[];for(const O of A)if("file"===O.kind){const q=O.getAsFile();q&&P.push(q)}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-zf tw-wc tw-ap tw-le tw-vc tw-wh tw-mj tw-xd tw-pj tw-ho tw-fo anm-group/button tw-y",id:"send-message-button","aria-label":"Send message",children:[r?p.jsx(il,{className:"tw-pr tw-er tw-gg"}):p.jsx(L2,{size:24,style:{"--btn-color":e.headerBgColor??"#000000"},className:"tw-pa tw-p tw-i",weight:"fill"}),p.jsx("span",{className:"tw-dn",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-ul tw-ue tw-oj tw-kd tw-mn tw-kg tw-dd anm-group/att "+(o?"tw-vq tw-gp":"tw-gp tw-cf tw-cp tw-tg tw-jm tw-vn tw-si"),children:["image"===l?p.jsx("img",{src:n,alt:u.name,className:"tw-do tw-pn tw-zg"}):"video"===l?p.jsx("video",{src:n,className:"tw-do tw-pn tw-zg",muted:!0}):p.jsxs(p.Fragment,{children:[p.jsx(b2,{size:20,className:"tw-rf tw-ue"}),p.jsxs("div",{className:"tw-kd",children:[p.jsx("p",{className:"tw-hn tw-ek tw-uf tw-hr tw-cm tw-xe",children:u.name}),p.jsx("p",{className:"tw-ki tw-ek tw-rf tw-hr tw-cl tw-xe",children:rw(u.name)})]})]}),p.jsx("button",{type:"button",onClick:t,className:"tw-fl tw-uo tw-tm tw-qh tw-lf tw-po tw-wh tw-xd tw-pk tw-ca tw-vb",children:p.jsx(Bi,{size:10,className:"tw-qj"})}),"uploading"===r&&p.jsx("div",{className:"tw-fl tw-om tw-vh tw-cp tw-tg tw-zd",children:p.jsx(il,{size:16,className:"tw-sf tw-gg"})}),"error"===r&&p.jsx("div",{className:"tw-fl tw-om tw-se tw-cp tw-tg tw-zd",children:p.jsx("span",{className:"tw-ih tw-hn tw-ek tw-ck",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)},od=_.createContext({}),id=({children:e})=>{const t={onOpen:()=>{},onClose:()=>{},protocols:["Client",Dn.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,(q=>{S||rl.flushSync((()=>l(q)))}),y,(q=>{S||rl.flushSync((()=>u(q)))}),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(od.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},ad=()=>_.useContext(od),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-df tw-do tw-fi tw-il tw-ja tw-kg tw-kd tw-gl tw-fl tw-wo tw-xm ${n} ${u?"tw-di tw-ta tw-q":"tw-pk tw-dn tw-mb"}`,children:[p.jsxs("div",{className:"tw-nr tw-cp tw-tg tw-id tw-jl tw-zi tw-yi tw-kg tw-nc tw-xd tw-hi",onClick:()=>{l((c=>!c))},children:[p.jsxs("div",{className:"tw-cp tw-tg tw-yk",children:[p.jsx(hw,{style:{"--bg-color":(null==t?void 0:t.headerBgColor)??"#FFFFFF"},className:"tw-yn tw-ka"}),p.jsx("span",{className:"tw-en tw-ve",children:i.statistic})]}),p.jsx(mw,{className:"tw-yn tw-bb tw-pg "+(r?"tw-kj":"")})]}),p.jsx("div",{className:"tw-dp tw-ie tw-pg tw-oq "+(r?"tw-hd tw-uq ":"tw-gd tw-qq"),children:p.jsx("div",{className:"tw-cp tw-ll tw-zk tw-kd",children:a.map(((c,f)=>p.jsxs("div",{className:"tw-cp tw-yk",children:[p.jsx("span",{className:"tw-ee tw-jf tw-bf",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 sd(e){const t=e.substr(0,8),n=parseInt(t,36);return new Date(n)}const cd=_.createContext();function fd({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(cd.Provider,{value:{isFullScreen:t,setIsFullScreen:n,intentResponse:u,setIntentResponse:r,promptInject:l,setPromptInject:o},children:e})}const dd=()=>_.useContext(cd);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(`${kn}/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,pd]));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=Vi([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)=>{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,pd]))}),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 Z2_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=sd(n).toLocaleDateString();return[...i,...Vi(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)),pd={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=sd(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 Lw(){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 jw({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}=ad();_.useEffect((()=>(r.length>0&&f(n),()=>w())),[]);const{attachments:y,validationErrors:g,addFiles:k,removeAttachment:D,clearAttachments:v,updateAttachment:d,hasAttachments:m}=Lw(),{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}=ad(),{intentResponse:g}=dd(),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 q={"client-id":n.embedId,"session-id":u};try{const se=l.map((R=>R.file)),ve=await kw(se,q),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 V=Fe[z];"video"===R.category?mt.push(V):"document"===R.category?M.push(V):Qe.push(V)})),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?ud(n):[];"true"!==n.restApi&&C&&f(u);const{newMessage:A,msgID:P}=Fw(d,S,x,m?E:"text");t((q=>Nw([...q,A.toJson()]))),s(""),m&&o();const L=Aw({settings:n,sessionId:u,setChatHistory:t,sendJsonMessage:w,ackListener:c,intentResponse:g});if(g[d])L.sendViaIntent(d,P);else if("true"===n.restApi&&n.restUrl){const q=()=>{n.restApi="true",f(u)};await L.sendViaRestApi(d,A,P,S,C,q)}else L.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((L=>L.key)).join(", ")}]`:"[]",scores:null!=A&&A.sources?`[${null==A?void 0:A.sources.map((L=>L.score)).join(", ")}]`:"[]"};return p.jsxs("div",{className:"tw-pn tw-ul tw-cp tw-ll tw-kd",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-fl tw-kl tw-rn tw-do tw-cr",children:p.jsx(uw,{settings:u,message:E,submit:x,onChange:L=>{C(L.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=Vi(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-cp tw-ll tw-pn",children:[p.jsx(q2,{resetChat:s,closeChat:t,settings:n}),p.jsx(Q5,{})]}):p.jsxs("main",{className:"anm-group tw-cp tw-ll tw-pn tw-ek",children:[p.jsx(q2,{resetChat:s,closeChat:t,settings:n,sessionId:u,isNoMessage:f,isFullScreen:r,isIframe:l,toggleFullScreen:o}),p.jsx(jw,{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 hd={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function $w(e,t,n){if(hd.randomUUID&&!t&&!e)return hd.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-fl tw-wh tw-xd tw-uo tw-tm tw-ck tw-cp tw-pk tw-m tw-zd tw-tg tw-kn tw-xn tw-ch tw-fn tw-vd tw-pj tw-wn",onClick:r=>{r.stopPropagation(),t(!1)},children:"✕"}),n.map(((r,l)=>p.jsx("div",{style:{animationFillMode:"forwards",animationDelay:.6+.3*l+"s"},className:"tw-cp tw-bi tw-gl tw-wk tw-mn tw-tb tw-kg tw-lj tw-or tw-ir tw-fn tw-pk tw-zm tw-d tw-ek",children:r},l)))]})}const Uw=({isOpen:e,onClose:t,children:n})=>e?p.jsx("div",{className:"tw-io tw-cp tw-om tw-zd tw-tg tw-do tw-pn tw-ph tw-kn",onClick:t,children:p.jsxs("div",{className:"tw-ul tw-gl tw-gi tw-do tw-rl tw-vk tw-ha",onClick:u=>u.stopPropagation(),children:[p.jsx("button",{className:"tw-fl tw-vo tw-um tw-am tw-ud tw-wh tw-xd tw-rf tw-pb tw-yo",onClick:t,children:"×"}),n]})}):null;function md(){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}=q5(),r=function(){const[e,t]=_.useState({loaded:!1,...K1});return _.useEffect((()=>{!function(){if(!document)return!1;const u=window.ANIMUZ_EMBED_CONFIG||{},r={...K1,...Dn.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||!Dn.settings.embedId)return;const u=`anm_${Dn.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}=dd();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-io tw-je tw-n tw-o tw-r tw-ke tw-kn tw-f tw-dh tw-do tw-dj tw-ya tw-ua tw-h tw-u tw-w tw-k tw-b tw-e tw-g tw-c tw-kd tw-nh "+(d?"tw-el tw-uc":"tw-vj tw-td"),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-qn tw-ln tw-ll tw-io tw-wm tw-te tw-kn tw-hk tw-xd 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)||{}),Dn={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-od tw-mk"},ASSISTANT_STYLES:{base:"tw-nd tw-ok"}};const Ea=ka.allowedPaths,Ca=ka.blockedPaths;function wd(e){return Ea?Ea.split(",").map((t=>t.trim())).filter((t=>t.length>0)).some((t=>e.startsWith(t))):!Ca||!Ca.split(",").map((t=>t.trim())).filter((t=>t.length>0)).some((t=>e.startsWith(t)))}if(wd(window.location.pathname)){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)}))})(Dn.stylesSrc).then((()=>{t.render(p.jsx(h.StrictMode,{children:p.jsx(fd,{children:p.jsx(id,{children:p.jsx(Y1,{children:p.jsx(md,{})})})})}))})).catch((n=>{console.error("[Animuz] CSS failed to load:",n),t.render(p.jsx(h.StrictMode,{children:p.jsx(fd,{children:p.jsx(id,{children:p.jsx(Y1,{children:p.jsx(md,{})})})})}))}))}if(Ea||Ca){const e=()=>{const u=document.getElementById("animuz-chat-widget");u&&(u.style.display=wd(window.location.pathname)?"":"none")},t=history.pushState,n=history.replaceState;history.pushState=function(){t.apply(this,arguments),e()},history.replaceState=function(){n.apply(this,arguments),e()},window.addEventListener("popstate",e)}qn.embedderSettings=Dn,Object.defineProperty(qn,Symbol.toStringTag,{value:"Module"})}));
|
|
37
|
+
*/function D(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 ns=new Set,qu={};function Mn(e,t){Kn(e,t),Kn(e+"Capture",t)}function Kn(e,t){for(qu[e]=t,e=0;e<t.length;e++)ns.add(t[e])}var $t=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zl=Object.prototype.hasOwnProperty,bp=/^[: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]*$/,us={},rs={};function Le(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 ve={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){ve[e]=new Le(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];ve[t]=new Le(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){ve[e]=new Le(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){ve[e]=new Le(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){ve[e]=new Le(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){ve[e]=new Le(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){ve[e]=new Le(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){ve[e]=new Le(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){ve[e]=new Le(e,5,!1,e.toLowerCase(),null,!1,!1)}));var $l=/[\-:]([a-z])/g;function ql(e){return e[1].toUpperCase()}function Bl(e,t,n,u){var r=ve.hasOwnProperty(t)?ve[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!!zl.call(rs,e)||!zl.call(us,e)&&(bp.test(e)?rs[e]=!0:(us[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($l,ql);ve[t]=new Le(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($l,ql);ve[t]=new Le(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($l,ql);ve[t]=new Le(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){ve[e]=new Le(e,1,!1,e.toLowerCase(),null,!1,!1)})),ve.xlinkHref=new Le("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){ve[e]=new Le(e,1,!1,e.toLowerCase(),null,!0,!0)}));var qt=vp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Xr=Symbol.for("react.element"),Xn=Symbol.for("react.portal"),Jn=Symbol.for("react.fragment"),Hl=Symbol.for("react.strict_mode"),Ul=Symbol.for("react.profiler"),ls=Symbol.for("react.provider"),os=Symbol.for("react.context"),Vl=Symbol.for("react.forward_ref"),Zl=Symbol.for("react.suspense"),Wl=Symbol.for("react.suspense_list"),Gl=Symbol.for("react.memo"),ln=Symbol.for("react.lazy"),is=Symbol.for("react.offscreen"),as=Symbol.iterator;function Bu(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=as&&e[as]||e["@@iterator"])?e:null}var Ql,ne=Object.assign;function Hu(e){if(void 0===Ql)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ql=t&&t[1]||""}return"\n"+Ql+e}var Yl=!1;function Kl(e,t){if(!e||Yl)return"";Yl=!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(c){var u=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){u=c}e.call(t.prototype)}else{try{throw Error()}catch(c){u=c}e()}}catch(c){if(c&&u&&"string"==typeof c.stack){for(var r=c.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{Yl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Hu(e):""}function Cp(e){switch(e.tag){case 5:return Hu(e.type);case 16:return Hu("Lazy");case 13:return Hu("Suspense");case 19:return Hu("SuspenseList");case 0:case 2:case 15:return e=Kl(e.type,!1);case 11:return e=Kl(e.type.render,!1);case 1:return e=Kl(e.type,!0);default:return""}}function Xl(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 Jn:return"Fragment";case Xn:return"Portal";case Ul:return"Profiler";case Hl:return"StrictMode";case Zl:return"Suspense";case Wl:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case os:return(e.displayName||"Context")+".Consumer";case ls:return(e._context.displayName||"Context")+".Provider";case Vl:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Gl:return null!==(t=e.displayName||null)?t:Xl(e.type)||"Memo";case ln:t=e._payload,e=e._init;try{return Xl(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 Xl(t);case 8:return t===Hl?"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 on(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ss(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Jr(e){e._valueTracker||(e._valueTracker=function(e){var t=ss(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 cs(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),u="";return e&&(u=ss(e)?e.checked?"true":"false":e.value),(e=u)!==n&&(t.setValue(e),!0)}function e0(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 Jl(e,t){var n=t.checked;return ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function fs(e,t){var n=null==t.defaultValue?"":t.defaultValue,u=null!=t.checked?t.checked:t.defaultChecked;n=on(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 ds(e,t){null!=(t=t.checked)&&Bl(e,"checked",t,!1)}function eo(e,t){ds(e,t);var n=on(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")?to(e,t.type,n):t.hasOwnProperty("defaultValue")&&to(e,t.type,on(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ps(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 to(e,t,n){("number"!==t||e0(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Uu=Array.isArray;function eu(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=""+on(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 no(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(D(91));return ne({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function hs(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(D(92));if(Uu(n)){if(1<n.length)throw Error(D(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:on(n)}}function ms(e,t){var n=on(t.value),u=on(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 ws(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function gs(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 uo(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?gs(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var t0,xs=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((t0=t0||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=t0.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Vu(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 Zu={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},jp=["Webkit","ms","Moz","O"];function ys(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Zu.hasOwnProperty(e)&&Zu[e]?(""+t).trim():t+"px"}function vs(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var u=0===n.indexOf("--"),r=ys(n,t[n],u);"float"===n&&(n="cssFloat"),u?e.setProperty(n,r):e[n]=r}}Object.keys(Zu).forEach((function(e){jp.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zu[t]=Zu[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 ro(e,t){if(t){if(Dp[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(D(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(D(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(D(62))}}function lo(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 oo=null;function io(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ao=null,tu=null,nu=null;function bs(e){if(e=hr(e)){if("function"!=typeof ao)throw Error(D(280));var t=e.stateNode;t&&(t=E0(t),ao(e.stateNode,e.type,t))}}function _s(e){tu?nu?nu.push(e):nu=[e]:tu=e}function ks(){if(tu){var e=tu,t=nu;if(nu=tu=null,bs(e),t)for(e=0;e<t.length;e++)bs(t[e])}}function Es(e,t){return e(t)}function Cs(){}var so=!1;function Ss(e,t,n){if(so)return e(t,n);so=!0;try{return Es(e,t,n)}finally{so=!1,(null!==tu||null!==nu)&&(Cs(),ks())}}function Wu(e,t){var n=e.stateNode;if(null===n)return null;var u=E0(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(D(231,t,typeof n));return n}var co=!1;if($t)try{var Gu={};Object.defineProperty(Gu,"passive",{get:function(){co=!0}}),window.addEventListener("test",Gu,Gu),window.removeEventListener("test",Gu,Gu)}catch{co=!1}function Fp(e,t,n,u,r,l,o,i,a){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(f){this.onError(f)}}var Qu=!1,n0=null,u0=!1,fo=null,Np={onError:function(e){Qu=!0,n0=e}};function Mp(e,t,n,u,r,l,o,i,a){Qu=!1,n0=null,Fp.apply(Np,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 As(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 js(e){if(Tn(e)!==e)throw Error(D(188))}function Ds(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Tn(e)))throw Error(D(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 js(r),e;if(l===u)return js(r),t;l=l.sibling}throw Error(D(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(D(189))}}if(n.alternate!==u)throw Error(D(190))}if(3!==n.tag)throw Error(D(188));return n.stateNode.current===n?e:t}(e))?Fs(e):null}function Fs(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Fs(e);if(null!==t)return t;e=e.sibling}return null}var Ns=Xe.unstable_scheduleCallback,Ms=Xe.unstable_cancelCallback,Op=Xe.unstable_shouldYield,Ip=Xe.unstable_requestPaint,oe=Xe.unstable_now,Pp=Xe.unstable_getCurrentPriorityLevel,po=Xe.unstable_ImmediatePriority,Ts=Xe.unstable_UserBlockingPriority,r0=Xe.unstable_NormalPriority,Rp=Xe.unstable_LowPriority,Ls=Xe.unstable_IdlePriority,l0=null,At=null;var xt=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-($p(e)/qp|0)|0},$p=Math.log,qp=Math.LN2;var o0=64,i0=4194304;function Yu(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 a0(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=Yu(i):0!==(l&=o)&&(u=Yu(l))}else 0!==(o=n&~r)?u=Yu(o):0!==l&&(u=Yu(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-xt(t)),u|=e[n],t&=~r;return u}function Hp(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 ho(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Os(){var e=o0;return!(4194240&(o0<<=1))&&(o0=64),e}function mo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ku(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-xt(t)]=n}function wo(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var u=31-xt(n),r=1<<u;r&t|e[u]&t&&(e[u]|=t),n&=~r}}var Z=0;function Is(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var Ps,go,Rs,zs,$s,xo=!1,s0=[],an=null,sn=null,cn=null,Xu=new Map,Ju=new Map,fn=[],Zp="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 qs(e,t){switch(e){case"focusin":case"focusout":an=null;break;case"dragenter":case"dragleave":sn=null;break;case"mouseover":case"mouseout":cn=null;break;case"pointerover":case"pointerout":Xu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ju.delete(t.pointerId)}}function er(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=hr(t))&&go(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,null!==r&&-1===t.indexOf(r)&&t.push(r),e)}function Bs(e){var t=Ln(e.target);if(null!==t){var n=Tn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=As(n)))return e.blockedOn=t,void $s(e.priority,(function(){Rs(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 c0(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=vo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=hr(n))&&go(t),e.blockedOn=n,!1;var u=new(n=e.nativeEvent).constructor(n.type,n);oo=u,n.target.dispatchEvent(u),oo=null,t.shift()}return!0}function Hs(e,t,n){c0(e)&&n.delete(t)}function Gp(){xo=!1,null!==an&&c0(an)&&(an=null),null!==sn&&c0(sn)&&(sn=null),null!==cn&&c0(cn)&&(cn=null),Xu.forEach(Hs),Ju.forEach(Hs)}function tr(e,t){e.blockedOn===t&&(e.blockedOn=null,xo||(xo=!0,Xe.unstable_scheduleCallback(Xe.unstable_NormalPriority,Gp)))}function nr(e){function t(r){return tr(r,e)}if(0<s0.length){tr(s0[0],e);for(var n=1;n<s0.length;n++){var u=s0[n];u.blockedOn===e&&(u.blockedOn=null)}}for(null!==an&&tr(an,e),null!==sn&&tr(sn,e),null!==cn&&tr(cn,e),Xu.forEach(t),Ju.forEach(t),n=0;n<fn.length;n++)(u=fn[n]).blockedOn===e&&(u.blockedOn=null);for(;0<fn.length&&null===(n=fn[0]).blockedOn;)Bs(n),null===n.blockedOn&&fn.shift()}var uu=qt.ReactCurrentBatchConfig,f0=!0;function Qp(e,t,n,u){var r=Z,l=uu.transition;uu.transition=null;try{Z=1,yo(e,t,n,u)}finally{Z=r,uu.transition=l}}function Yp(e,t,n,u){var r=Z,l=uu.transition;uu.transition=null;try{Z=4,yo(e,t,n,u)}finally{Z=r,uu.transition=l}}function yo(e,t,n,u){if(f0){var r=vo(e,t,n,u);if(null===r)Po(e,t,u,d0,n),qs(e,u);else if(function(e,t,n,u,r){switch(t){case"focusin":return an=er(an,e,t,n,u,r),!0;case"dragenter":return sn=er(sn,e,t,n,u,r),!0;case"mouseover":return cn=er(cn,e,t,n,u,r),!0;case"pointerover":var l=r.pointerId;return Xu.set(l,er(Xu.get(l)||null,e,t,n,u,r)),!0;case"gotpointercapture":return l=r.pointerId,Ju.set(l,er(Ju.get(l)||null,e,t,n,u,r)),!0}return!1}(r,e,t,n,u))u.stopPropagation();else if(qs(e,u),4&t&&-1<Zp.indexOf(e)){for(;null!==r;){var l=hr(r);if(null!==l&&Ps(l),null===(l=vo(e,t,n,u))&&Po(e,t,u,d0,n),l===r)break;r=l}null!==r&&u.stopPropagation()}else Po(e,t,u,null,n)}}var d0=null;function vo(e,t,n,u){if(d0=null,null!==(e=Ln(e=io(u))))if(null===(t=Tn(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=As(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 d0=e,null}function Us(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(Pp()){case po:return 1;case Ts:return 4;case r0:case Rp:return 16;case Ls:return 536870912;default:return 16}default:return 16}}var dn=null,bo=null,p0=null;function Vs(){if(p0)return p0;var e,u,t=bo,n=t.length,r="value"in dn?dn.value:dn.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 p0=r.slice(e,1<u?1-u:void 0)}function h0(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 m0(){return!0}function Zs(){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)?m0:Zs,this.isPropagationStopped=Zs,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=m0)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():"unknown"!=typeof n.cancelBubble&&(n.cancelBubble=!0),this.isPropagationStopped=m0)},persist:function(){},isPersistent:m0}),t}var ko,Eo,rr,ru={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_o=Je(ru),ur=ne({},ru,{view:0,detail:0}),Kp=Je(ur),w0=ne({},ur,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:So,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!==rr&&(rr&&"mousemove"===e.type?(ko=e.screenX-rr.screenX,Eo=e.screenY-rr.screenY):Eo=ko=0,rr=e),ko)},movementY:function(e){return"movementY"in e?e.movementY:Eo}}),Ws=Je(w0),Jp=Je(ne({},w0,{dataTransfer:0})),Co=Je(ne({},ur,{relatedTarget:0})),nh=Je(ne({},ru,{animationName:0,elapsedTime:0,pseudoElement:0})),uh=ne({},ru,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),rh=Je(uh),Gs=Je(ne({},ru,{data:0})),oh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ih={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"},ah={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function sh(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=ah[e])&&!!t[e]}function So(){return sh}var ch=ne({},ur,{key:function(e){if(e.key){var t=oh[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=h0(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ih[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:So,charCode:function(e){return"keypress"===e.type?h0(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?h0(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),fh=Je(ch),Qs=Je(ne({},w0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),hh=Je(ne({},ur,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:So})),wh=Je(ne({},ru,{propertyName:0,elapsedTime:0,pseudoElement:0})),gh=ne({},w0,{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}),xh=Je(gh),yh=[9,13,27,32],Ao=$t&&"CompositionEvent"in window,lr=null;$t&&"documentMode"in document&&(lr=document.documentMode);var vh=$t&&"TextEvent"in window&&!lr,Ys=$t&&(!Ao||lr&&8<lr&&11>=lr),Ks=" ",Xs=!1;function Js(e,t){switch(e){case"keyup":return-1!==yh.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ec(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var lu=!1;var kh={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 tc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!kh[e.type]:"textarea"===t}function nc(e,t,n,u){_s(u),0<(t=b0(t,"onChange")).length&&(n=new _o("onChange","change",null,n,u),e.push({event:n,listeners:t}))}var or=null,ir=null;function Eh(e){vc(e,0)}function g0(e){if(cs(cu(e)))return e}function Ch(e,t){if("change"===e)return t}var uc=!1;if($t){var jo;if($t){var Do="oninput"in document;if(!Do){var rc=document.createElement("div");rc.setAttribute("oninput","return;"),Do="function"==typeof rc.oninput}jo=Do}else jo=!1;uc=jo&&(!document.documentMode||9<document.documentMode)}function lc(){or&&(or.detachEvent("onpropertychange",oc),ir=or=null)}function oc(e){if("value"===e.propertyName&&g0(ir)){var t=[];nc(t,ir,e,io(e)),Ss(Eh,t)}}function Sh(e,t,n){"focusin"===e?(lc(),ir=n,(or=t).attachEvent("onpropertychange",oc)):"focusout"===e&&lc()}function Ah(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return g0(ir)}function jh(e,t){if("click"===e)return g0(t)}function Dh(e,t){if("input"===e||"change"===e)return g0(t)}var yt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ar(e,t){if(yt(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(!zl.call(t,r)||!yt(e[r],t[r]))return!1}return!0}function ic(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ac(e,t){var u,n=ic(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=ic(n)}}function sc(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?sc(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function cc(){for(var e=window,t=e0();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch{n=!1}if(!n)break;t=e0((e=t.contentWindow).document)}return t}function Fo(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 Nh(e){var t=cc(),n=e.focusedElem,u=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sc(n.ownerDocument.documentElement,n)){if(null!==u&&Fo(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=ac(n,l);var o=ac(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 Mh=$t&&"documentMode"in document&&11>=document.documentMode,ou=null,No=null,sr=null,Mo=!1;function fc(e,t,n){var u=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Mo||null==ou||ou!==e0(u)||("selectionStart"in(u=ou)&&Fo(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},sr&&ar(sr,u)||(sr=u,0<(u=b0(No,"onSelect")).length&&(t=new _o("onSelect","select",null,t,n),e.push({event:t,listeners:u}),t.target=ou)))}function x0(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var iu={animationend:x0("Animation","AnimationEnd"),animationiteration:x0("Animation","AnimationIteration"),animationstart:x0("Animation","AnimationStart"),transitionend:x0("Transition","TransitionEnd")},To={},dc={};function y0(e){if(To[e])return To[e];if(!iu[e])return e;var n,t=iu[e];for(n in t)if(t.hasOwnProperty(n)&&n in dc)return To[e]=t[n];return e}$t&&(dc=document.createElement("div").style,"AnimationEvent"in window||(delete iu.animationend.animation,delete iu.animationiteration.animation,delete iu.animationstart.animation),"TransitionEvent"in window||delete iu.transitionend.transition);var pc=y0("animationend"),hc=y0("animationiteration"),mc=y0("animationstart"),wc=y0("transitionend"),gc=new Map,xc="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 pn(e,t){gc.set(e,t),Mn(t,[e])}for(var Lo=0;Lo<xc.length;Lo++){var Oo=xc[Lo];pn(Oo.toLowerCase(),"on"+(Oo[0].toUpperCase()+Oo.slice(1)))}pn(pc,"onAnimationEnd"),pn(hc,"onAnimationIteration"),pn(mc,"onAnimationStart"),pn("dblclick","onDoubleClick"),pn("focusin","onFocus"),pn("focusout","onBlur"),pn(wc,"onTransitionEnd"),Kn("onMouseEnter",["mouseout","mouseover"]),Kn("onMouseLeave",["mouseout","mouseover"]),Kn("onPointerEnter",["pointerout","pointerover"]),Kn("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 cr="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(" "),Oh=new Set("cancel close invalid load scroll toggle".split(" ").concat(cr));function yc(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(D(198));var c=n0;Qu=!1,n0=null,u0||(u0=!0,fo=c)}}(u,t,void 0,e),e.currentTarget=null}function vc(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,c=i.currentTarget;if(i=i.listener,a!==l&&r.isPropagationStopped())break e;yc(r,i,c),l=a}else for(o=0;o<u.length;o++){if(a=(i=u[o]).instance,c=i.currentTarget,i=i.listener,a!==l&&r.isPropagationStopped())break e;yc(r,i,c),l=a}}}if(u0)throw e=fo,u0=!1,fo=null,e}function J(e,t){var n=t[Ho];void 0===n&&(n=t[Ho]=new Set);var u=e+"__bubble";n.has(u)||(bc(t,e,2,!1),n.add(u))}function Io(e,t,n){var u=0;t&&(u|=4),bc(n,e,u,t)}var v0="_reactListening"+Math.random().toString(36).slice(2);function fr(e){if(!e[v0]){e[v0]=!0,ns.forEach((function(n){"selectionchange"!==n&&(Oh.has(n)||Io(n,!1,e),Io(n,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[v0]||(t[v0]=!0,Io("selectionchange",!1,t))}}function bc(e,t,n,u){switch(Us(t)){case 1:var r=Qp;break;case 4:r=Yp;break;default:r=yo}n=r.bind(null,t,n,e),r=void 0,!co||"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 Po(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=Ln(i)))return;if(5===(a=o.tag)||6===a){u=l=o;continue e}i=i.parentNode}}u=u.return}Ss((function(){var c=l,f=io(n),d=[];e:{var g=gc.get(e);if(void 0!==g){var y=_o,m=e;switch(e){case"keypress":if(0===h0(n))break e;case"keydown":case"keyup":y=fh;break;case"focusin":m="focus",y=Co;break;case"focusout":m="blur",y=Co;break;case"beforeblur":case"afterblur":y=Co;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=Ws;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=Jp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=hh;break;case pc:case hc:case mc:y=nh;break;case wc:y=wh;break;case"scroll":y=Kp;break;case"wheel":y=xh;break;case"copy":case"cut":case"paste":y=rh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=Qs}var k=!!(4&t),j=!k&&"scroll"===e,x=k?null!==g?g+"Capture":null:g;k=[];for(var w,p=c;null!==p;){var v=(w=p).stateNode;if(5===w.tag&&null!==v&&(w=v,null!==x&&(null!=(v=Wu(p,x))&&k.push(dr(p,v,w)))),j)break;p=p.return}0<k.length&&(g=new y(g,m,null,n,f),d.push({event:g,listeners:k}))}}if(!(7&t)){if(y="mouseout"===e||"pointerout"===e,(!(g="mouseover"===e||"pointerover"===e)||n===oo||!(m=n.relatedTarget||n.fromElement)||!Ln(m)&&!m[Bt])&&(y||g)&&(g=f.window===f?f:(g=f.ownerDocument)?g.defaultView||g.parentWindow:window,y?(y=c,null!==(m=(m=n.relatedTarget||n.toElement)?Ln(m):null)&&(m!==(j=Tn(m))||5!==m.tag&&6!==m.tag)&&(m=null)):(y=null,m=c),y!==m)){if(k=Ws,v="onMouseLeave",x="onMouseEnter",p="mouse",("pointerout"===e||"pointerover"===e)&&(k=Qs,v="onPointerLeave",x="onPointerEnter",p="pointer"),j=null==y?g:cu(y),w=null==m?g:cu(m),(g=new k(v,p+"leave",y,n,f)).target=j,g.relatedTarget=w,v=null,Ln(f)===c&&((k=new k(x,p+"enter",m,n,f)).target=w,k.relatedTarget=j,v=k),j=v,y&&m)t:{for(x=m,p=0,w=k=y;w;w=au(w))p++;for(w=0,v=x;v;v=au(v))w++;for(;0<p-w;)k=au(k),p--;for(;0<w-p;)x=au(x),w--;for(;p--;){if(k===x||null!==x&&k===x.alternate)break t;k=au(k),x=au(x)}k=null}else k=null;null!==y&&_c(d,g,y,k,!1),null!==m&&null!==j&&_c(d,j,m,k,!0)}if("select"===(y=(g=c?cu(c):window).nodeName&&g.nodeName.toLowerCase())||"input"===y&&"file"===g.type)var E=Ch;else if(tc(g))if(uc)E=Dh;else{E=Ah;var S=Sh}else(y=g.nodeName)&&"input"===y.toLowerCase()&&("checkbox"===g.type||"radio"===g.type)&&(E=jh);switch(E&&(E=E(e,c))?nc(d,E,n,f):(S&&S(e,g,c),"focusout"===e&&(S=g._wrapperState)&&S.controlled&&"number"===g.type&&to(g,"number",g.value)),S=c?cu(c):window,e){case"focusin":(tc(S)||"true"===S.contentEditable)&&(ou=S,No=c,sr=null);break;case"focusout":sr=No=ou=null;break;case"mousedown":Mo=!0;break;case"contextmenu":case"mouseup":case"dragend":Mo=!1,fc(d,n,f);break;case"selectionchange":if(Mh)break;case"keydown":case"keyup":fc(d,n,f)}var C;if(Ao)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 lu?Js(e,n)&&(A="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(A="onCompositionStart");A&&(Ys&&"ko"!==n.locale&&(lu||"onCompositionStart"!==A?"onCompositionEnd"===A&&lu&&(C=Vs()):(bo="value"in(dn=f)?dn.value:dn.textContent,lu=!0)),0<(S=b0(c,A)).length&&(A=new Gs(A,e,null,n,f),d.push({event:A,listeners:S}),C?A.data=C:null!==(C=ec(n))&&(A.data=C))),(C=vh?function(e,t){switch(e){case"compositionend":return ec(t);case"keypress":return 32!==t.which?null:(Xs=!0,Ks);case"textInput":return(e=t.data)===Ks&&Xs?null:e;default:return null}}(e,n):function(e,t){if(lu)return"compositionend"===e||!Ao&&Js(e,t)?(e=Vs(),p0=bo=dn=null,lu=!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 Ys&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(c=b0(c,"onBeforeInput")).length&&(f=new Gs("onBeforeInput","beforeinput",null,n,f),d.push({event:f,listeners:c}),f.data=C))}vc(d,t)}))}function dr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function b0(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=Wu(e,n))&&u.unshift(dr(e,l,r)),null!=(l=Wu(e,t))&&u.push(dr(e,l,r))),e=e.return}return u}function au(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function _c(e,t,n,u,r){for(var l=t._reactName,o=[];null!==n&&n!==u;){var i=n,a=i.alternate,c=i.stateNode;if(null!==a&&a===u)break;5===i.tag&&null!==c&&(i=c,r?null!=(a=Wu(n,l))&&o.unshift(dr(n,a,i)):r||null!=(a=Wu(n,l))&&o.push(dr(n,a,i))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var Ih=/\r\n?/g,Ph=/\u0000|\uFFFD/g;function kc(e){return("string"==typeof e?e:""+e).replace(Ih,"\n").replace(Ph,"")}function _0(e,t,n){if(t=kc(t),kc(e)!==t&&n)throw Error(D(425))}function k0(){}var Ro=null,zo=null;function $o(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 qo="function"==typeof setTimeout?setTimeout:void 0,Rh="function"==typeof clearTimeout?clearTimeout:void 0,Ec="function"==typeof Promise?Promise:void 0,zh="function"==typeof queueMicrotask?queueMicrotask:typeof Ec<"u"?function(e){return Ec.resolve(null).then(e).catch($h)}:qo;function $h(e){setTimeout((function(){throw e}))}function Bo(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 nr(t);u--}else"$"!==n&&"$?"!==n&&"$!"!==n||u++;n=r}while(n);nr(t)}function hn(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 Cc(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 su=Math.random().toString(36).slice(2),jt="__reactFiber$"+su,pr="__reactProps$"+su,Bt="__reactContainer$"+su,Ho="__reactEvents$"+su,qh="__reactListeners$"+su,Bh="__reactHandles$"+su;function Ln(e){var t=e[jt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Bt]||n[jt]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Cc(e);null!==e;){if(n=e[jt])return n;e=Cc(e)}return t}n=(e=n).parentNode}return null}function hr(e){return!(e=e[jt]||e[Bt])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function cu(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(D(33))}function E0(e){return e[pr]||null}var Uo=[],fu=-1;function mn(e){return{current:e}}function ee(e){0>fu||(e.current=Uo[fu],Uo[fu]=null,fu--)}function Q(e,t){fu++,Uo[fu]=e.current,e.current=t}var wn={},Ae=mn(wn),qe=mn(!1),On=wn;function du(e,t){var n=e.type.contextTypes;if(!n)return wn;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 Be(e){return null!=(e=e.childContextTypes)}function C0(){ee(qe),ee(Ae)}function Sc(e,t,n){if(Ae.current!==wn)throw Error(D(168));Q(Ae,t),Q(qe,n)}function Ac(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(D(108,Sp(e)||"Unknown",r));return ne({},n,u)}function S0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wn,On=Ae.current,Q(Ae,e),Q(qe,qe.current),!0}function jc(e,t,n){var u=e.stateNode;if(!u)throw Error(D(169));n?(e=Ac(e,t,On),u.__reactInternalMemoizedMergedChildContext=e,ee(qe),ee(Ae),Q(Ae,e)):ee(qe),Q(qe,n)}var Ht=null,A0=!1,Vo=!1;function Dc(e){null===Ht?Ht=[e]:Ht.push(e)}function gn(){if(!Vo&&null!==Ht){Vo=!0;var e=0,t=Z;try{var n=Ht;for(Z=1;e<n.length;e++){var u=n[e];do{u=u(!0)}while(null!==u)}Ht=null,A0=!1}catch(r){throw null!==Ht&&(Ht=Ht.slice(e+1)),Ns(po,gn),r}finally{Z=t,Vo=!1}}return null}var pu=[],hu=0,j0=null,D0=0,it=[],at=0,In=null,Ut=1,Vt="";function Pn(e,t){pu[hu++]=D0,pu[hu++]=j0,j0=e,D0=t}function Fc(e,t,n){it[at++]=Ut,it[at++]=Vt,it[at++]=In,In=e;var u=Ut;e=Vt;var r=32-xt(u)-1;u&=~(1<<r),n+=1;var l=32-xt(t)+r;if(30<l){var o=r-r%5;l=(u&(1<<o)-1).toString(32),u>>=o,r-=o,Ut=1<<32-xt(t)+r|n<<r|u,Vt=l+e}else Ut=1<<l|n<<r|u,Vt=e}function Zo(e){null!==e.return&&(Pn(e,1),Fc(e,1,0))}function Wo(e){for(;e===j0;)j0=pu[--hu],pu[hu]=null,D0=pu[--hu],pu[hu]=null;for(;e===In;)In=it[--at],it[at]=null,Vt=it[--at],it[at]=null,Ut=it[--at],it[at]=null}var et=null,tt=null,te=!1,vt=null;function Nc(e,t){var n=dt(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 Mc(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=hn(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!==In?{id:Ut,overflow:Vt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=dt(18,null,null,0)).stateNode=t,n.return=e,e.child=n,et=e,tt=null,!0);default:return!1}}function Go(e){return!(!(1&e.mode)||128&e.flags)}function Qo(e){if(te){var t=tt;if(t){var n=t;if(!Mc(e,t)){if(Go(e))throw Error(D(418));t=hn(n.nextSibling);var u=et;t&&Mc(e,t)?Nc(u,n):(e.flags=-4097&e.flags|2,te=!1,et=e)}}else{if(Go(e))throw Error(D(418));e.flags=-4097&e.flags|2,te=!1,et=e}}}function Tc(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;et=e}function F0(e){if(e!==et)return!1;if(!te)return Tc(e),te=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!$o(e.type,e.memoizedProps)),t&&(t=tt)){if(Go(e))throw Lc(),Error(D(418));for(;t;)Nc(e,t),t=hn(t.nextSibling)}if(Tc(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(D(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){tt=hn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}tt=null}}else tt=et?hn(e.stateNode.nextSibling):null;return!0}function Lc(){for(var e=tt;e;)e=hn(e.nextSibling)}function mu(){tt=et=null,te=!1}function Yo(e){null===vt?vt=[e]:vt.push(e)}var Uh=qt.ReactCurrentBatchConfig;function mr(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(D(309));var u=n.stateNode}if(!u)throw Error(D(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(D(284));if(!n._owner)throw Error(D(290,e))}return e}function N0(e,t){throw e=Object.prototype.toString.call(t),Error(D(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Oc(e){return(0,e._init)(e._payload)}function Ic(e){function t(x,p){if(e){var w=x.deletions;null===w?(x.deletions=[p],x.flags|=16):w.push(p)}}function n(x,p){if(!e)return null;for(;null!==p;)t(x,p),p=p.sibling;return null}function u(x,p){for(x=new Map;null!==p;)null!==p.key?x.set(p.key,p):x.set(p.index,p),p=p.sibling;return x}function r(x,p){return(x=Cn(x,p)).index=0,x.sibling=null,x}function l(x,p,w){return x.index=w,e?null!==(w=x.alternate)?(w=w.index)<p?(x.flags|=2,p):w:(x.flags|=2,p):(x.flags|=1048576,p)}function o(x){return e&&null===x.alternate&&(x.flags|=2),x}function i(x,p,w,v){return null===p||6!==p.tag?((p=qi(w,x.mode,v)).return=x,p):((p=r(p,w)).return=x,p)}function a(x,p,w,v){var E=w.type;return E===Jn?f(x,p,w.props.children,v,w.key):null!==p&&(p.elementType===E||"object"==typeof E&&null!==E&&E.$$typeof===ln&&Oc(E)===p.type)?((v=r(p,w.props)).ref=mr(x,p,w),v.return=x,v):((v=tl(w.type,w.key,w.props,null,x.mode,v)).ref=mr(x,p,w),v.return=x,v)}function c(x,p,w,v){return null===p||4!==p.tag||p.stateNode.containerInfo!==w.containerInfo||p.stateNode.implementation!==w.implementation?((p=Bi(w,x.mode,v)).return=x,p):((p=r(p,w.children||[])).return=x,p)}function f(x,p,w,v,E){return null===p||7!==p.tag?((p=Vn(w,x.mode,v,E)).return=x,p):((p=r(p,w)).return=x,p)}function d(x,p,w){if("string"==typeof p&&""!==p||"number"==typeof p)return(p=qi(""+p,x.mode,w)).return=x,p;if("object"==typeof p&&null!==p){switch(p.$$typeof){case Xr:return(w=tl(p.type,p.key,p.props,null,x.mode,w)).ref=mr(x,null,p),w.return=x,w;case Xn:return(p=Bi(p,x.mode,w)).return=x,p;case ln:return d(x,(0,p._init)(p._payload),w)}if(Uu(p)||Bu(p))return(p=Vn(p,x.mode,w,null)).return=x,p;N0(x,p)}return null}function g(x,p,w,v){var E=null!==p?p.key:null;if("string"==typeof w&&""!==w||"number"==typeof w)return null!==E?null:i(x,p,""+w,v);if("object"==typeof w&&null!==w){switch(w.$$typeof){case Xr:return w.key===E?a(x,p,w,v):null;case Xn:return w.key===E?c(x,p,w,v):null;case ln:return g(x,p,(E=w._init)(w._payload),v)}if(Uu(w)||Bu(w))return null!==E?null:f(x,p,w,v,null);N0(x,w)}return null}function y(x,p,w,v,E){if("string"==typeof v&&""!==v||"number"==typeof v)return i(p,x=x.get(w)||null,""+v,E);if("object"==typeof v&&null!==v){switch(v.$$typeof){case Xr:return a(p,x=x.get(null===v.key?w:v.key)||null,v,E);case Xn:return c(p,x=x.get(null===v.key?w:v.key)||null,v,E);case ln:return y(x,p,w,(0,v._init)(v._payload),E)}if(Uu(v)||Bu(v))return f(p,x=x.get(w)||null,v,E,null);N0(p,v)}return null}return function j(x,p,w,v){if("object"==typeof w&&null!==w&&w.type===Jn&&null===w.key&&(w=w.props.children),"object"==typeof w&&null!==w){switch(w.$$typeof){case Xr:e:{for(var E=w.key,S=p;null!==S;){if(S.key===E){if((E=w.type)===Jn){if(7===S.tag){n(x,S.sibling),(p=r(S,w.props.children)).return=x,x=p;break e}}else if(S.elementType===E||"object"==typeof E&&null!==E&&E.$$typeof===ln&&Oc(E)===S.type){n(x,S.sibling),(p=r(S,w.props)).ref=mr(x,S,w),p.return=x,x=p;break e}n(x,S);break}t(x,S),S=S.sibling}w.type===Jn?((p=Vn(w.props.children,x.mode,v,w.key)).return=x,x=p):((v=tl(w.type,w.key,w.props,null,x.mode,v)).ref=mr(x,p,w),v.return=x,x=v)}return o(x);case Xn:e:{for(S=w.key;null!==p;){if(p.key===S){if(4===p.tag&&p.stateNode.containerInfo===w.containerInfo&&p.stateNode.implementation===w.implementation){n(x,p.sibling),(p=r(p,w.children||[])).return=x,x=p;break e}n(x,p);break}t(x,p),p=p.sibling}(p=Bi(w,x.mode,v)).return=x,x=p}return o(x);case ln:return j(x,p,(S=w._init)(w._payload),v)}if(Uu(w))return function(x,p,w,v){for(var E=null,S=null,C=p,A=p=0,O=null;null!==C&&A<w.length;A++){C.index>A?(O=C,C=null):O=C.sibling;var T=g(x,C,w[A],v);if(null===T){null===C&&(C=O);break}e&&C&&null===T.alternate&&t(x,C),p=l(T,p,A),null===S?E=T:S.sibling=T,S=T,C=O}if(A===w.length)return n(x,C),te&&Pn(x,A),E;if(null===C){for(;A<w.length;A++)null!==(C=d(x,w[A],v))&&(p=l(C,p,A),null===S?E=C:S.sibling=C,S=C);return te&&Pn(x,A),E}for(C=u(x,C);A<w.length;A++)null!==(O=y(C,x,A,w[A],v))&&(e&&null!==O.alternate&&C.delete(null===O.key?A:O.key),p=l(O,p,A),null===S?E=O:S.sibling=O,S=O);return e&&C.forEach((function(I){return t(x,I)})),te&&Pn(x,A),E}(x,p,w,v);if(Bu(w))return function(x,p,w,v){var E=Bu(w);if("function"!=typeof E)throw Error(D(150));if(null==(w=E.call(w)))throw Error(D(151));for(var S=E=null,C=p,A=p=0,O=null,T=w.next();null!==C&&!T.done;A++,T=w.next()){C.index>A?(O=C,C=null):O=C.sibling;var I=g(x,C,T.value,v);if(null===I){null===C&&(C=O);break}e&&C&&null===I.alternate&&t(x,C),p=l(I,p,A),null===S?E=I:S.sibling=I,S=I,C=O}if(T.done)return n(x,C),te&&Pn(x,A),E;if(null===C){for(;!T.done;A++,T=w.next())null!==(T=d(x,T.value,v))&&(p=l(T,p,A),null===S?E=T:S.sibling=T,S=T);return te&&Pn(x,A),E}for(C=u(x,C);!T.done;A++,T=w.next())null!==(T=y(C,x,A,T.value,v))&&(e&&null!==T.alternate&&C.delete(null===T.key?A:T.key),p=l(T,p,A),null===S?E=T:S.sibling=T,S=T);return e&&C.forEach((function(W){return t(x,W)})),te&&Pn(x,A),E}(x,p,w,v);N0(x,w)}return"string"==typeof w&&""!==w||"number"==typeof w?(w=""+w,null!==p&&6===p.tag?(n(x,p.sibling),(p=r(p,w)).return=x,x=p):(n(x,p),(p=qi(w,x.mode,v)).return=x,x=p),o(x)):n(x,p)}}var wu=Ic(!0),Pc=Ic(!1),M0=mn(null),T0=null,gu=null,Ko=null;function Xo(){Ko=gu=T0=null}function Jo(e){var t=M0.current;ee(M0),e._currentValue=t}function ei(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 xu(e,t){T0=e,Ko=gu=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.lanes&t&&(He=!0),e.firstContext=null)}function st(e){var t=e._currentValue;if(Ko!==e)if(e={context:e,memoizedValue:t,next:null},null===gu){if(null===T0)throw Error(D(308));gu=e,T0.dependencies={lanes:0,firstContext:e}}else gu=gu.next=e;return t}var Rn=null;function ti(e){null===Rn?Rn=[e]:Rn.push(e)}function Rc(e,t,n,u){var r=t.interleaved;return null===r?(n.next=n,ti(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 xn=!1;function ni(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function zc(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 yn(e,t,n){var u=e.updateQueue;if(null===u)return null;if(u=u.shared,2&H){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,ti(u)):(t.next=r.next,r.next=t),u.interleaved=t,Zt(e,n)}function L0(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var u=t.lanes;n|=u&=e.pendingLanes,t.lanes=n,wo(e,n)}}function $c(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 O0(e,t,n,u){var r=e.updateQueue;xn=!1;var l=r.firstBaseUpdate,o=r.lastBaseUpdate,i=r.shared.pending;if(null!==i){r.shared.pending=null;var a=i,c=a.next;a.next=null,null===o?l=c:o.next=c,o=a;var f=e.alternate;null!==f&&((i=(f=f.updateQueue).lastBaseUpdate)!==o&&(null===i?f.firstBaseUpdate=c:i.next=c,f.lastBaseUpdate=a))}if(null!==l){var d=r.baseState;for(o=0,f=c=a=null,i=l;;){var g=i.lane,y=i.eventTime;if((u&g)===g){null!==f&&(f=f.next={eventTime:y,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var m=e,k=i;switch(g=t,y=n,k.tag){case 1:if("function"==typeof(m=k.payload)){d=m.call(y,d,g);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(g="function"==typeof(m=k.payload)?m.call(y,d,g):m))break e;d=ne({},d,g);break e;case 2:xn=!0}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(g=r.effects)?r.effects=[i]:g.push(i))}else y={eventTime:y,lane:g,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===f?(c=f=y,a=d):f=f.next=y,o|=g;if(null===(i=i.next)){if(null===(i=r.shared.pending))break;i=(g=i).next,g.next=null,r.lastBaseUpdate=g,r.shared.pending=null}}if(null===f&&(a=d),r.baseState=a,r.firstBaseUpdate=c,r.lastBaseUpdate=f,null!==(t=r.shared.interleaved)){r=t;do{o|=r.lane,r=r.next}while(r!==t)}else null===l&&(r.shared.lanes=0);qn|=o,e.lanes=o,e.memoizedState=d}}function qc(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(D(191,r));r.call(u)}}}var wr={},Dt=mn(wr),gr=mn(wr),xr=mn(wr);function zn(e){if(e===wr)throw Error(D(174));return e}function ui(e,t){switch(Q(xr,t),Q(gr,e),Q(Dt,wr),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:uo(null,"");break;default:t=uo(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ee(Dt),Q(Dt,t)}function yu(){ee(Dt),ee(gr),ee(xr)}function Bc(e){zn(xr.current);var t=zn(Dt.current),n=uo(t,e.type);t!==n&&(Q(gr,e),Q(Dt,n))}function ri(e){gr.current===e&&(ee(Dt),ee(gr))}var ue=mn(0);function I0(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 li=[];function oi(){for(var e=0;e<li.length;e++)li[e]._workInProgressVersionPrimary=null;li.length=0}var P0=qt.ReactCurrentDispatcher,ii=qt.ReactCurrentBatchConfig,$n=0,re=null,ce=null,he=null,R0=!1,yr=!1,vr=0,Vh=0;function je(){throw Error(D(321))}function ai(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!yt(e[n],t[n]))return!1;return!0}function si(e,t,n,u,r,l){if($n=l,re=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,P0.current=null===e||null===e.memoizedState?Qh:Yh,e=n(u,r),yr){l=0;do{if(yr=!1,vr=0,25<=l)throw Error(D(301));l+=1,he=ce=null,t.updateQueue=null,P0.current=Kh,e=n(u,r)}while(yr)}if(P0.current=q0,t=null!==ce&&null!==ce.next,$n=0,he=ce=re=null,R0=!1,t)throw Error(D(300));return e}function ci(){var e=0!==vr;return vr=0,e}function Ft(){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 ct(){if(null===ce){var e=re.alternate;e=null!==e?e.memoizedState:null}else e=ce.next;var t=null===he?re.memoizedState:he.next;if(null!==t)he=t,ce=e;else{if(null===e)throw Error(D(310));e={memoizedState:(ce=e).memoizedState,baseState:ce.baseState,baseQueue:ce.baseQueue,queue:ce.queue,next:null},null===he?re.memoizedState=he=e:he=he.next=e}return he}function br(e,t){return"function"==typeof t?t(e):t}function fi(e){var t=ct(),n=t.queue;if(null===n)throw Error(D(311));n.lastRenderedReducer=e;var u=ce,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,c=l;do{var f=c.lane;if(($n&f)===f)null!==a&&(a=a.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),u=c.hasEagerState?c.eagerState:e(u,c.action);else{var d={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===a?(i=a=d,o=u):a=a.next=d,re.lanes|=f,qn|=f}c=c.next}while(null!==c&&c!==l);null===a?o=u:a.next=i,yt(u,t.memoizedState)||(He=!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,qn|=l,r=r.next}while(r!==e)}else null===r&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function di(e){var t=ct(),n=t.queue;if(null===n)throw Error(D(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);yt(l,t.memoizedState)||(He=!0),t.memoizedState=l,null===t.baseQueue&&(t.baseState=l),n.lastRenderedState=l}return[l,u]}function Hc(){}function Uc(e,t){var n=re,u=ct(),r=t(),l=!yt(u.memoizedState,r);if(l&&(u.memoizedState=r,He=!0),u=u.queue,pi(Wc.bind(null,n,u,e),[e]),u.getSnapshot!==t||l||null!==he&&1&he.memoizedState.tag){if(n.flags|=2048,_r(9,Zc.bind(null,n,u,r,t),void 0,null),null===me)throw Error(D(349));30&$n||Vc(n,t,r)}return r}function Vc(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 Zc(e,t,n,u){t.value=n,t.getSnapshot=u,Gc(t)&&Qc(e)}function Wc(e,t,n){return n((function(){Gc(t)&&Qc(e)}))}function Gc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!yt(e,n)}catch{return!0}}function Qc(e){var t=Zt(e,1);null!==t&&Et(t,e,1,-1)}function Yc(e){var t=Ft();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:br,lastRenderedState:e},t.queue=e,e=e.dispatch=Gh.bind(null,re,e),[t.memoizedState,e]}function _r(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 Kc(){return ct().memoizedState}function z0(e,t,n,u){var r=Ft();re.flags|=e,r.memoizedState=_r(1|t,n,void 0,void 0===u?null:u)}function $0(e,t,n,u){var r=ct();u=void 0===u?null:u;var l=void 0;if(null!==ce){var o=ce.memoizedState;if(l=o.destroy,null!==u&&ai(u,o.deps))return void(r.memoizedState=_r(t,n,l,u))}re.flags|=e,r.memoizedState=_r(1|t,n,l,u)}function Xc(e,t){return z0(8390656,8,e,t)}function pi(e,t){return $0(2048,8,e,t)}function Jc(e,t){return $0(4,2,e,t)}function e1(e,t){return $0(4,4,e,t)}function t1(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 n1(e,t,n){return n=null!=n?n.concat([e]):null,$0(4,4,t1.bind(null,t,e),n)}function hi(){}function u1(e,t){var n=ct();t=void 0===t?null:t;var u=n.memoizedState;return null!==u&&null!==t&&ai(t,u[1])?u[0]:(n.memoizedState=[e,t],e)}function r1(e,t){var n=ct();t=void 0===t?null:t;var u=n.memoizedState;return null!==u&&null!==t&&ai(t,u[1])?u[0]:(e=e(),n.memoizedState=[e,t],e)}function l1(e,t,n){return 21&$n?(yt(n,t)||(n=Os(),re.lanes|=n,qn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,He=!0),e.memoizedState=n)}function Zh(e,t){var n=Z;Z=0!==n&&4>n?n:4,e(!0);var u=ii.transition;ii.transition={};try{e(!1),t()}finally{Z=n,ii.transition=u}}function o1(){return ct().memoizedState}function Wh(e,t,n){var u=kn(e);if(n={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null},i1(e))a1(t,n);else if(null!==(n=Rc(e,t,n,u))){Et(n,e,u,Ie()),s1(n,t,u)}}function Gh(e,t,n){var u=kn(e),r={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null};if(i1(e))a1(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,yt(i,o)){var a=t.interleaved;return null===a?(r.next=r,ti(t)):(r.next=a.next,a.next=r),void(t.interleaved=r)}}catch{}null!==(n=Rc(e,t,r,u))&&(Et(n,e,u,r=Ie()),s1(n,t,u))}}function i1(e){var t=e.alternate;return e===re||null!==t&&t===re}function a1(e,t){yr=R0=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function s1(e,t,n){if(4194240&n){var u=t.lanes;n|=u&=e.pendingLanes,t.lanes=n,wo(e,n)}}var q0={readContext:st,useCallback:je,useContext:je,useEffect:je,useImperativeHandle:je,useInsertionEffect:je,useLayoutEffect:je,useMemo:je,useReducer:je,useRef:je,useState:je,useDebugValue:je,useDeferredValue:je,useTransition:je,useMutableSource:je,useSyncExternalStore:je,useId:je,unstable_isNewReconciler:!1},Qh={readContext:st,useCallback:function(e,t){return Ft().memoizedState=[e,void 0===t?null:t],e},useContext:st,useEffect:Xc,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,z0(4194308,4,t1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return z0(4194308,4,e,t)},useInsertionEffect:function(e,t){return z0(4,2,e,t)},useMemo:function(e,t){var n=Ft();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var u=Ft();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=Wh.bind(null,re,e),[u.memoizedState,e]},useRef:function(e){return e={current:e},Ft().memoizedState=e},useState:Yc,useDebugValue:hi,useDeferredValue:function(e){return Ft().memoizedState=e},useTransition:function(){var e=Yc(!1),t=e[0];return e=Zh.bind(null,e[1]),Ft().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var u=re,r=Ft();if(te){if(void 0===n)throw Error(D(407));n=n()}else{if(n=t(),null===me)throw Error(D(349));30&$n||Vc(u,t,n)}r.memoizedState=n;var l={value:n,getSnapshot:t};return r.queue=l,Xc(Wc.bind(null,u,l,e),[e]),u.flags|=2048,_r(9,Zc.bind(null,u,l,n,t),void 0,null),n},useId:function(){var e=Ft(),t=me.identifierPrefix;if(te){var n=Vt;t=":"+t+"R"+(n=(Ut&~(1<<32-xt(Ut)-1)).toString(32)+n),0<(n=vr++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Vh++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Yh={readContext:st,useCallback:u1,useContext:st,useEffect:pi,useImperativeHandle:n1,useInsertionEffect:Jc,useLayoutEffect:e1,useMemo:r1,useReducer:fi,useRef:Kc,useState:function(){return fi(br)},useDebugValue:hi,useDeferredValue:function(e){return l1(ct(),ce.memoizedState,e)},useTransition:function(){return[fi(br)[0],ct().memoizedState]},useMutableSource:Hc,useSyncExternalStore:Uc,useId:o1,unstable_isNewReconciler:!1},Kh={readContext:st,useCallback:u1,useContext:st,useEffect:pi,useImperativeHandle:n1,useInsertionEffect:Jc,useLayoutEffect:e1,useMemo:r1,useReducer:di,useRef:Kc,useState:function(){return di(br)},useDebugValue:hi,useDeferredValue:function(e){var t=ct();return null===ce?t.memoizedState=e:l1(t,ce.memoizedState,e)},useTransition:function(){return[di(br)[0],ct().memoizedState]},useMutableSource:Hc,useSyncExternalStore:Uc,useId:o1,unstable_isNewReconciler:!1};function bt(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 mi(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 B0={isMounted:function(e){return!!(e=e._reactInternals)&&Tn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var u=Ie(),r=kn(e),l=Wt(u,r);l.payload=t,null!=n&&(l.callback=n),null!==(t=yn(e,l,r))&&(Et(t,e,r,u),L0(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var u=Ie(),r=kn(e),l=Wt(u,r);l.tag=1,l.payload=t,null!=n&&(l.callback=n),null!==(t=yn(e,l,r))&&(Et(t,e,r,u),L0(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ie(),u=kn(e),r=Wt(n,u);r.tag=2,null!=t&&(r.callback=t),null!==(t=yn(e,r,u))&&(Et(t,e,u,n),L0(t,e,u))}};function c1(e,t,n,u,r,l,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(u,l,o):!t.prototype||!t.prototype.isPureReactComponent||(!ar(n,u)||!ar(r,l))}function f1(e,t,n){var u=!1,r=wn,l=t.contextType;return"object"==typeof l&&null!==l?l=st(l):(r=Be(t)?On:Ae.current,l=(u=null!=(u=t.contextTypes))?du(e,r):wn),t=new t(n,l),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=B0,e.stateNode=t,t._reactInternals=e,u&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=l),t}function d1(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&&B0.enqueueReplaceState(t,t.state,null)}function wi(e,t,n,u){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},ni(e);var l=t.contextType;"object"==typeof l&&null!==l?r.context=st(l):(l=Be(t)?On:Ae.current,r.context=du(e,l)),r.state=e.memoizedState,"function"==typeof(l=t.getDerivedStateFromProps)&&(mi(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&&B0.enqueueReplaceState(r,r.state,null),O0(e,n,r,u),r.state=e.memoizedState),"function"==typeof r.componentDidMount&&(e.flags|=4194308)}function vu(e,t){try{var n="",u=t;do{n+=Cp(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 gi(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function xi(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var Xh="function"==typeof WeakMap?WeakMap:Map;function p1(e,t,n){(n=Wt(-1,n)).tag=3,n.payload={element:null};var u=t.value;return n.callback=function(){Q0||(Q0=!0,Ti=u),xi(0,t)},n}function h1(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(){xi(0,t)}}var l=e.stateNode;return null!==l&&"function"==typeof l.componentDidCatch&&(n.callback=function(){xi(0,t),"function"!=typeof u&&(null===bn?bn=new Set([this]):bn.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:null!==o?o:""})}),n}function m1(e,t,n){var u=e.pingCache;if(null===u){u=e.pingCache=new Xh;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=d6.bind(null,e,t,n),t.then(e,e))}function w1(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 g1(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,yn(n,t,1))),n.lanes|=1),e)}var Jh=qt.ReactCurrentOwner,He=!1;function Oe(e,t,n,u){t.child=null===e?Pc(t,null,n,u):wu(t,e.child,n,u)}function x1(e,t,n,u,r){n=n.render;var l=t.ref;return xu(t,r),u=si(e,t,n,u,l,r),n=ci(),null===e||He?(te&&n&&Zo(t),t.flags|=1,Oe(e,t,u,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Gt(e,t,r))}function y1(e,t,n,u,r){if(null===e){var l=n.type;return"function"!=typeof l||$i(l)||void 0!==l.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=tl(n.type,null,u,t,t.mode,r)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=l,v1(e,t,l,u,r))}if(l=e.child,!(e.lanes&r)){var o=l.memoizedProps;if((n=null!==(n=n.compare)?n:ar)(o,u)&&e.ref===t.ref)return Gt(e,t,r)}return t.flags|=1,(e=Cn(l,u)).ref=t.ref,e.return=t,t.child=e}function v1(e,t,n,u,r){if(null!==e){var l=e.memoizedProps;if(ar(l,u)&&e.ref===t.ref){if(He=!1,t.pendingProps=u=l,!(e.lanes&r))return t.lanes=e.lanes,Gt(e,t,r);131072&e.flags&&(He=!0)}}return yi(e,t,n,u,r)}function b1(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,Q(_u,nt),nt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=null!==l?l.baseLanes:n,Q(_u,nt),nt|=u}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Q(_u,nt),nt|=n;else null!==l?(u=l.baseLanes|n,t.memoizedState=null):u=n,Q(_u,nt),nt|=u;return Oe(e,t,r,n),t.child}function _1(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function yi(e,t,n,u,r){var l=Be(n)?On:Ae.current;return l=du(t,l),xu(t,r),n=si(e,t,n,u,l,r),u=ci(),null===e||He?(te&&u&&Zo(t),t.flags|=1,Oe(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Gt(e,t,r))}function k1(e,t,n,u,r){if(Be(n)){var l=!0;S0(t)}else l=!1;if(xu(t,r),null===t.stateNode)U0(e,t),f1(t,n,u),wi(t,n,u,r),u=!0;else if(null===e){var o=t.stateNode,i=t.memoizedProps;o.props=i;var a=o.context,c=n.contextType;"object"==typeof c&&null!==c?c=st(c):c=du(t,c=Be(n)?On:Ae.current);var f=n.getDerivedStateFromProps,d="function"==typeof f||"function"==typeof o.getSnapshotBeforeUpdate;d||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==u||a!==c)&&d1(t,o,u,c),xn=!1;var g=t.memoizedState;o.state=g,O0(t,u,o,r),a=t.memoizedState,i!==u||g!==a||qe.current||xn?("function"==typeof f&&(mi(t,n,f,u),a=t.memoizedState),(i=xn||c1(t,n,i,u,g,a,c))?(d||"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=c,u=i):("function"==typeof o.componentDidMount&&(t.flags|=4194308),u=!1)}else{o=t.stateNode,zc(e,t),i=t.memoizedProps,c=t.type===t.elementType?i:bt(t.type,i),o.props=c,d=t.pendingProps,g=o.context,"object"==typeof(a=n.contextType)&&null!==a?a=st(a):a=du(t,a=Be(n)?On:Ae.current);var y=n.getDerivedStateFromProps;(f="function"==typeof y||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==d||g!==a)&&d1(t,o,u,a),xn=!1,g=t.memoizedState,o.state=g,O0(t,u,o,r);var m=t.memoizedState;i!==d||g!==m||qe.current||xn?("function"==typeof y&&(mi(t,n,y,u),m=t.memoizedState),(c=xn||c1(t,n,c,u,g,m,a)||!1)?(f||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(u,m,a),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(u,m,a)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=m),o.props=u,o.state=m,o.context=a,u=c):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),u=!1)}return vi(e,t,n,u,l,r)}function vi(e,t,n,u,r,l){_1(e,t);var o=!!(128&t.flags);if(!u&&!o)return r&&jc(t,n,!1),Gt(e,t,l);u=t.stateNode,Jh.current=t;var i=o&&"function"!=typeof n.getDerivedStateFromError?null:u.render();return t.flags|=1,null!==e&&o?(t.child=wu(t,e.child,null,l),t.child=wu(t,null,i,l)):Oe(e,t,i,l),t.memoizedState=u.state,r&&jc(t,n,!0),t.child}function E1(e){var t=e.stateNode;t.pendingContext?Sc(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Sc(0,t.context,!1),ui(e,t.containerInfo)}function C1(e,t,n,u,r){return mu(),Yo(r),t.flags|=256,Oe(e,t,n,u),t.child}var D1,Ci,F1,N1,bi={dehydrated:null,treeContext:null,retryLane:0};function _i(e){return{baseLanes:e,cachePool:null,transitions:null}}function S1(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),Q(ue,1&r),null===e)return Qo(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=nl(o,u,0,null):(l.childLanes=0,l.pendingProps=o),e=Vn(e,u,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=_i(n),t.memoizedState=bi,e):ki(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=gi(Error(D(422))),H0(e,t,o,u)):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(l=u.fallback,r=t.mode,u=nl({mode:"visible",children:u.children},r,0,null),l=Vn(l,r,o,null),l.flags|=2,u.return=t,l.return=t,u.sibling=l,t.child=u,1&t.mode&&wu(t,e.child,null,o),t.child.memoizedState=_i(o),t.memoizedState=bi,l);if(!(1&t.mode))return H0(e,t,o,null);if("$!"===r.data){if(u=r.nextSibling&&r.nextSibling.dataset)var i=u.dgst;return u=i,H0(e,t,o,u=gi(l=Error(D(419)),u,void 0))}if(i=!!(o&e.childLanes),He||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),Et(u,e,r,-1))}return zi(),H0(e,t,o,u=gi(Error(D(421))))}return"$?"===r.data?(t.flags|=128,t.child=e.child,t=p6.bind(null,e),r._reactRetry=t,null):(e=l.treeContext,tt=hn(r.nextSibling),et=t,te=!0,vt=null,null!==e&&(it[at++]=Ut,it[at++]=Vt,it[at++]=In,Ut=e.id,Vt=e.overflow,In=t),t=ki(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=Cn(r,a)).subtreeFlags=14680064&r.subtreeFlags:((u=t.child).childLanes=0,u.pendingProps=a,t.deletions=null),null!==i?l=Cn(i,l):(l=Vn(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)?_i(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},l.memoizedState=o,l.childLanes=e.childLanes&~n,t.memoizedState=bi,u}return e=(l=e.child).sibling,u=Cn(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 ki(e,t){return(t=nl({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function H0(e,t,n,u){return null!==u&&Yo(u),wu(t,e.child,null,n),(e=ki(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function A1(e,t,n){e.lanes|=t;var u=e.alternate;null!==u&&(u.lanes|=t),ei(e.return,t,n)}function Ei(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 j1(e,t,n){var u=t.pendingProps,r=u.revealOrder,l=u.tail;if(Oe(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&&A1(e,n,t);else if(19===e.tag)A1(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(Q(ue,u),1&t.mode)switch(r){case"forwards":for(n=t.child,r=null;null!==n;)null!==(e=n.alternate)&&null===I0(e)&&(r=n),n=n.sibling;null===(n=r)?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),Ei(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===I0(e)){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}Ei(t,!0,n,null,l);break;case"together":Ei(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function U0(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),qn|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(D(153));if(null!==t.child){for(n=Cn(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Cn(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function kr(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 De(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 n6(e,t,n){var u=t.pendingProps;switch(Wo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return De(t),null;case 1:case 17:return Be(t.type)&&C0(),De(t),null;case 3:return u=t.stateNode,yu(),ee(qe),ee(Ae),oi(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(null===e||null===e.child)&&(F0(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==vt&&(Ii(vt),vt=null))),Ci(e,t),De(t),null;case 5:ri(t);var r=zn(xr.current);if(n=t.type,null!==e&&null!=t.stateNode)F1(e,t,n,u,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!u){if(null===t.stateNode)throw Error(D(166));return De(t),null}if(e=zn(Dt.current),F0(t)){u=t.stateNode,n=t.type;var l=t.memoizedProps;switch(u[jt]=t,u[pr]=l,e=!!(1&t.mode),n){case"dialog":J("cancel",u),J("close",u);break;case"iframe":case"object":case"embed":J("load",u);break;case"video":case"audio":for(r=0;r<cr.length;r++)J(cr[r],u);break;case"source":J("error",u);break;case"img":case"image":case"link":J("error",u),J("load",u);break;case"details":J("toggle",u);break;case"input":fs(u,l),J("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!l.multiple},J("invalid",u);break;case"textarea":hs(u,l),J("invalid",u)}for(var o in ro(n,l),r=null,l)if(l.hasOwnProperty(o)){var i=l[o];"children"===o?"string"==typeof i?u.textContent!==i&&(!0!==l.suppressHydrationWarning&&_0(u.textContent,i,e),r=["children",i]):"number"==typeof i&&u.textContent!==""+i&&(!0!==l.suppressHydrationWarning&&_0(u.textContent,i,e),r=["children",""+i]):qu.hasOwnProperty(o)&&null!=i&&"onScroll"===o&&J("scroll",u)}switch(n){case"input":Jr(u),ps(u,l,!0);break;case"textarea":Jr(u),ws(u);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(u.onclick=k0)}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=gs(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[jt]=t,e[pr]=u,D1(e,t,!1,!1),t.stateNode=e;e:{switch(o=lo(n,u),n){case"dialog":J("cancel",e),J("close",e),r=u;break;case"iframe":case"object":case"embed":J("load",e),r=u;break;case"video":case"audio":for(r=0;r<cr.length;r++)J(cr[r],e);r=u;break;case"source":J("error",e),r=u;break;case"img":case"image":case"link":J("error",e),J("load",e),r=u;break;case"details":J("toggle",e),r=u;break;case"input":fs(e,u),r=Jl(e,u),J("invalid",e);break;case"option":default:r=u;break;case"select":e._wrapperState={wasMultiple:!!u.multiple},r=ne({},u,{value:void 0}),J("invalid",e);break;case"textarea":hs(e,u),r=no(e,u),J("invalid",e)}for(l in ro(n,r),i=r)if(i.hasOwnProperty(l)){var a=i[l];"style"===l?vs(e,a):"dangerouslySetInnerHTML"===l?null!=(a=a?a.__html:void 0)&&xs(e,a):"children"===l?"string"==typeof a?("textarea"!==n||""!==a)&&Vu(e,a):"number"==typeof a&&Vu(e,""+a):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(qu.hasOwnProperty(l)?null!=a&&"onScroll"===l&&J("scroll",e):null!=a&&Bl(e,l,a,o))}switch(n){case"input":Jr(e),ps(e,u,!1);break;case"textarea":Jr(e),ws(e);break;case"option":null!=u.value&&e.setAttribute("value",""+on(u.value));break;case"select":e.multiple=!!u.multiple,null!=(l=u.value)?eu(e,!!u.multiple,l,!1):null!=u.defaultValue&&eu(e,!!u.multiple,u.defaultValue,!0);break;default:"function"==typeof r.onClick&&(e.onclick=k0)}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 De(t),null;case 6:if(e&&null!=t.stateNode)N1(e,t,e.memoizedProps,u);else{if("string"!=typeof u&&null===t.stateNode)throw Error(D(166));if(n=zn(xr.current),zn(Dt.current),F0(t)){if(u=t.stateNode,n=t.memoizedProps,u[jt]=t,(l=u.nodeValue!==n)&&null!==(e=et))switch(e.tag){case 3:_0(u.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&_0(u.nodeValue,n,!!(1&e.mode))}l&&(t.flags|=4)}else(u=(9===n.nodeType?n:n.ownerDocument).createTextNode(u))[jt]=t,t.stateNode=u}return De(t),null;case 13:if(ee(ue),u=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(te&&null!==tt&&1&t.mode&&!(128&t.flags))Lc(),mu(),t.flags|=98560,l=!1;else if(l=F0(t),null!==u&&null!==u.dehydrated){if(null===e){if(!l)throw Error(D(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(D(317));l[jt]=t}else mu(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;De(t),l=!1}else null!==vt&&(Ii(vt),vt=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===fe&&(fe=3):zi())),null!==t.updateQueue&&(t.flags|=4),De(t),null);case 4:return yu(),Ci(e,t),null===e&&fr(t.stateNode.containerInfo),De(t),null;case 10:return Jo(t.type._context),De(t),null;case 19:if(ee(ue),null===(l=t.memoizedState))return De(t),null;if(u=!!(128&t.flags),null===(o=l.rendering))if(u)kr(l,!1);else{if(0!==fe||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(o=I0(e))){for(t.flags|=128,kr(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 Q(ue,1&ue.current|2),t.child}e=e.sibling}null!==l.tail&&oe()>ku&&(t.flags|=128,u=!0,kr(l,!1),t.lanes=4194304)}else{if(!u)if(null!==(e=I0(o))){if(t.flags|=128,u=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),kr(l,!0),null===l.tail&&"hidden"===l.tailMode&&!o.alternate&&!te)return De(t),null}else 2*oe()-l.renderingStartTime>ku&&1073741824!==n&&(t.flags|=128,u=!0,kr(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=oe(),t.sibling=null,n=ue.current,Q(ue,u?1&n|2:1&n),t):(De(t),null);case 22:case 23:return Ri(),u=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==u&&(t.flags|=8192),u&&1&t.mode?1073741824&nt&&(De(t),6&t.subtreeFlags&&(t.flags|=8192)):De(t),null;case 24:case 25:return null}throw Error(D(156,t.tag))}function u6(e,t){switch(Wo(t),t.tag){case 1:return Be(t.type)&&C0(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return yu(),ee(qe),ee(Ae),oi(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ri(t),null;case 13:if(ee(ue),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(D(340));mu()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ee(ue),null;case 4:return yu(),null;case 10:return Jo(t.type._context),null;case 22:case 23:return Ri(),null;default:return null}}D1=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}},Ci=function(){},F1=function(e,t,n,u){var r=e.memoizedProps;if(r!==u){e=t.stateNode,zn(Dt.current);var o,l=null;switch(n){case"input":r=Jl(e,r),u=Jl(e,u),l=[];break;case"select":r=ne({},r,{value:void 0}),u=ne({},u,{value:void 0}),l=[];break;case"textarea":r=no(e,r),u=no(e,u),l=[];break;default:"function"!=typeof r.onClick&&"function"==typeof u.onClick&&(e.onclick=k0)}for(c in ro(n,u),n=null,r)if(!u.hasOwnProperty(c)&&r.hasOwnProperty(c)&&null!=r[c])if("style"===c){var i=r[c];for(o in i)i.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(qu.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in u){var a=u[c];if(i=null!=r?r[c]:void 0,u.hasOwnProperty(c)&&a!==i&&(null!=a||null!=i))if("style"===c)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(c,n)),n=a;else"dangerouslySetInnerHTML"===c?(a=a?a.__html:void 0,i=i?i.__html:void 0,null!=a&&i!==a&&(l=l||[]).push(c,a)):"children"===c?"string"!=typeof a&&"number"!=typeof a||(l=l||[]).push(c,""+a):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(qu.hasOwnProperty(c)?(null!=a&&"onScroll"===c&&J("scroll",e),l||i===a||(l=[])):(l=l||[]).push(c,a))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},N1=function(e,t,n,u){n!==u&&(t.flags|=4)};var V0=!1,Fe=!1,r6="function"==typeof WeakSet?WeakSet:Set,M=null;function bu(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(u){le(e,t,u)}else n.current=null}function Si(e,t,n){try{n()}catch(u){le(e,t,u)}}var M1=!1;function Er(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&&Si(t,n,l)}r=r.next}while(r!==u)}}function Z0(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 Ai(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 T1(e){var t=e.alternate;null!==t&&(e.alternate=null,T1(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[jt],delete t[pr],delete t[Ho],delete t[qh],delete t[Bh])),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 L1(e){return 5===e.tag||3===e.tag||4===e.tag}function O1(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||L1(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 ji(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=k0));else if(4!==u&&null!==(e=e.child))for(ji(e,t,n),e=e.sibling;null!==e;)ji(e,t,n),e=e.sibling}function Di(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(Di(e,t,n),e=e.sibling;null!==e;)Di(e,t,n),e=e.sibling}var be=null,_t=!1;function vn(e,t,n){for(n=n.child;null!==n;)I1(e,t,n),n=n.sibling}function I1(e,t,n){if(At&&"function"==typeof At.onCommitFiberUnmount)try{At.onCommitFiberUnmount(l0,n)}catch{}switch(n.tag){case 5:Fe||bu(n,t);case 6:var u=be,r=_t;be=null,vn(e,t,n),_t=r,null!==(be=u)&&(_t?(e=be,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):be.removeChild(n.stateNode));break;case 18:null!==be&&(_t?(e=be,n=n.stateNode,8===e.nodeType?Bo(e.parentNode,n):1===e.nodeType&&Bo(e,n),nr(e)):Bo(be,n.stateNode));break;case 4:u=be,r=_t,be=n.stateNode.containerInfo,_t=!0,vn(e,t,n),be=u,_t=r;break;case 0:case 11:case 14:case 15:if(!Fe&&(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)&&Si(n,t,o),r=r.next}while(r!==u)}vn(e,t,n);break;case 1:if(!Fe&&(bu(n,t),"function"==typeof(u=n.stateNode).componentWillUnmount))try{u.props=n.memoizedProps,u.state=n.memoizedState,u.componentWillUnmount()}catch(i){le(n,t,i)}vn(e,t,n);break;case 21:vn(e,t,n);break;case 22:1&n.mode?(Fe=(u=Fe)||null!==n.memoizedState,vn(e,t,n),Fe=u):vn(e,t,n);break;default:vn(e,t,n)}}function P1(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new r6),t.forEach((function(u){var r=h6.bind(null,e,u);n.has(u)||(n.add(u),u.then(r,r))}))}}function kt(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,_t=!1;break e;case 3:case 4:be=i.stateNode.containerInfo,_t=!0;break e}i=i.return}if(null===be)throw Error(D(160));I1(l,o,r),be=null,_t=!1;var a=r.alternate;null!==a&&(a.return=null),r.return=null}catch(c){le(r,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)R1(t,e),t=t.sibling}function R1(e,t){var n=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(kt(t,e),Nt(e),4&u){try{Er(3,e,e.return),Z0(3,e)}catch(k){le(e,e.return,k)}try{Er(5,e,e.return)}catch(k){le(e,e.return,k)}}break;case 1:kt(t,e),Nt(e),512&u&&null!==n&&bu(n,n.return);break;case 5:if(kt(t,e),Nt(e),512&u&&null!==n&&bu(n,n.return),32&e.flags){var r=e.stateNode;try{Vu(r,"")}catch(k){le(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&&ds(r,l),lo(i,o);var c=lo(i,l);for(o=0;o<a.length;o+=2){var f=a[o],d=a[o+1];"style"===f?vs(r,d):"dangerouslySetInnerHTML"===f?xs(r,d):"children"===f?Vu(r,d):Bl(r,f,d,c)}switch(i){case"input":eo(r,l);break;case"textarea":ms(r,l);break;case"select":var g=r._wrapperState.wasMultiple;r._wrapperState.wasMultiple=!!l.multiple;var y=l.value;null!=y?eu(r,!!l.multiple,y,!1):g!==!!l.multiple&&(null!=l.defaultValue?eu(r,!!l.multiple,l.defaultValue,!0):eu(r,!!l.multiple,l.multiple?[]:"",!1))}r[pr]=l}catch(k){le(e,e.return,k)}}break;case 6:if(kt(t,e),Nt(e),4&u){if(null===e.stateNode)throw Error(D(162));r=e.stateNode,l=e.memoizedProps;try{r.nodeValue=l}catch(k){le(e,e.return,k)}}break;case 3:if(kt(t,e),Nt(e),4&u&&null!==n&&n.memoizedState.isDehydrated)try{nr(t.containerInfo)}catch(k){le(e,e.return,k)}break;case 4:default:kt(t,e),Nt(e);break;case 13:kt(t,e),Nt(e),8192&(r=e.child).flags&&(l=null!==r.memoizedState,r.stateNode.isHidden=l,!l||null!==r.alternate&&null!==r.alternate.memoizedState||(Mi=oe())),4&u&&P1(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Fe=(c=Fe)||f,kt(t,e),Fe=c):kt(t,e),Nt(e),8192&u){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&1&e.mode)for(M=e,f=e.child;null!==f;){for(d=M=f;null!==M;){switch(y=(g=M).child,g.tag){case 0:case 11:case 14:case 15:Er(4,g,g.return);break;case 1:bu(g,g.return);var m=g.stateNode;if("function"==typeof m.componentWillUnmount){u=g,n=g.return;try{t=u,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(k){le(u,n,k)}}break;case 5:bu(g,g.return);break;case 22:if(null!==g.memoizedState){q1(d);continue}}null!==y?(y.return=g,M=y):q1(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{r=d.stateNode,c?"function"==typeof(l=r.style).setProperty?l.setProperty("display","none","important"):l.display="none":(i=d.stateNode,o=null!=(a=d.memoizedProps.style)&&a.hasOwnProperty("display")?a.display:null,i.style.display=ys("display",o))}catch(k){le(e,e.return,k)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(k){le(e,e.return,k)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:kt(t,e),Nt(e),4&u&&P1(e);case 21:}}function Nt(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(L1(n)){var u=n;break e}n=n.return}throw Error(D(160))}switch(u.tag){case 5:var r=u.stateNode;32&u.flags&&(Vu(r,""),u.flags&=-33),Di(e,O1(e),r);break;case 3:case 4:var o=u.stateNode.containerInfo;ji(e,O1(e),o);break;default:throw Error(D(161))}}catch(a){le(e,e.return,a)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function o6(e,t,n){M=e,z1(e)}function z1(e,t,n){for(var u=!!(1&e.mode);null!==M;){var r=M,l=r.child;if(22===r.tag&&u){var o=null!==r.memoizedState||V0;if(!o){var i=r.alternate,a=null!==i&&null!==i.memoizedState||Fe;i=V0;var c=Fe;if(V0=o,(Fe=a)&&!c)for(M=r;null!==M;)a=(o=M).child,22===o.tag&&null!==o.memoizedState?B1(r):null!==a?(a.return=o,M=a):B1(r);for(;null!==l;)M=l,z1(l),l=l.sibling;M=r,V0=i,Fe=c}$1(e)}else 8772&r.subtreeFlags&&null!==l?(l.return=r,M=l):$1(e)}}function $1(e){for(;null!==M;){var t=M;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Fe||Z0(5,t);break;case 1:var u=t.stateNode;if(4&t.flags&&!Fe)if(null===n)u.componentDidMount();else{var r=t.elementType===t.type?n.memoizedProps:bt(t.type,n.memoizedProps);u.componentDidUpdate(r,n.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var l=t.updateQueue;null!==l&&qc(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}qc(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 c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&nr(d)}}}break;default:throw Error(D(163))}Fe||512&t.flags&&Ai(t)}catch(g){le(t,t.return,g)}}if(t===e){M=null;break}if(null!==(n=t.sibling)){n.return=t.return,M=n;break}M=t.return}}function q1(e){for(;null!==M;){var t=M;if(t===e){M=null;break}var n=t.sibling;if(null!==n){n.return=t.return,M=n;break}M=t.return}}function B1(e){for(;null!==M;){var t=M;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Z0(4,t)}catch(a){le(t,n,a)}break;case 1:var u=t.stateNode;if("function"==typeof u.componentDidMount){var r=t.return;try{u.componentDidMount()}catch(a){le(t,r,a)}}var l=t.return;try{Ai(t)}catch(a){le(t,l,a)}break;case 5:var o=t.return;try{Ai(t)}catch(a){le(t,o,a)}}}catch(a){le(t,t.return,a)}if(t===e){M=null;break}var i=t.sibling;if(null!==i){i.return=t.return,M=i;break}M=t.return}}var K1,i6=Math.ceil,W0=qt.ReactCurrentDispatcher,Fi=qt.ReactCurrentOwner,ft=qt.ReactCurrentBatchConfig,H=0,me=null,se=null,_e=0,nt=0,_u=mn(0),fe=0,Cr=null,qn=0,G0=0,Ni=0,Sr=null,Ue=null,Mi=0,ku=1/0,Qt=null,Q0=!1,Ti=null,bn=null,Y0=!1,_n=null,K0=0,Ar=0,Li=null,X0=-1,J0=0;function Ie(){return 6&H?oe():-1!==X0?X0:X0=oe()}function kn(e){return 1&e.mode?2&H&&0!==_e?_e&-_e:null!==Uh.transition?(0===J0&&(J0=Os()),J0):(0!==(e=Z)||(e=void 0===(e=window.event)?16:Us(e.type)),e):1}function Et(e,t,n,u){if(50<Ar)throw Ar=0,Li=null,Error(D(185));Ku(e,n,u),(!(2&H)||e!==me)&&(e===me&&(!(2&H)&&(G0|=n),4===fe&&En(e,_e)),Ve(e,u),1===n&&0===H&&!(1&t.mode)&&(ku=oe()+500,A0&&gn()))}function Ve(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-xt(l),i=1<<o,a=r[o];-1===a?(!(i&n)||i&u)&&(r[o]=Hp(i,t)):a<=t&&(e.expiredLanes|=i),l&=~i}}(e,t);var u=a0(e,e===me?_e:0);if(0===u)null!==n&&Ms(n),e.callbackNode=null,e.callbackPriority=0;else if(t=u&-u,e.callbackPriority!==t){if(null!=n&&Ms(n),1===t)0===e.tag?function(e){A0=!0,Dc(e)}(U1.bind(null,e)):Dc(U1.bind(null,e)),zh((function(){!(6&H)&&gn()})),n=null;else{switch(Is(u)){case 1:n=po;break;case 4:n=Ts;break;case 16:default:n=r0;break;case 536870912:n=Ls}n=X1(n,H1.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function H1(e,t){if(X0=-1,J0=0,6&H)throw Error(D(327));var n=e.callbackNode;if(Eu()&&e.callbackNode!==n)return null;var u=a0(e,e===me?_e:0);if(0===u)return null;if(30&u||u&e.expiredLanes||t)t=el(e,u);else{t=u;var r=H;H|=2;var l=Z1();for((me!==e||_e!==t)&&(Qt=null,ku=oe()+500,Hn(e,t));;)try{c6();break}catch(i){V1(e,i)}Xo(),W0.current=l,H=r,null!==se?t=0:(me=null,_e=0,t=fe)}if(0!==t){if(2===t&&(0!==(r=ho(e))&&(u=r,t=Oi(e,r))),1===t)throw n=Cr,Hn(e,0),En(e,u),Ve(e,oe()),n;if(6===t)En(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(!yt(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=el(e,u),2===t&&(l=ho(e),0!==l&&(u=l,t=Oi(e,l))),1!==t)))throw n=Cr,Hn(e,0),En(e,u),Ve(e,oe()),n;switch(e.finishedWork=r,e.finishedLanes=u,t){case 0:case 1:throw Error(D(345));case 2:case 5:Un(e,Ue,Qt);break;case 3:if(En(e,u),(130023424&u)===u&&10<(t=Mi+500-oe())){if(0!==a0(e,0))break;if(((r=e.suspendedLanes)&u)!==u){Ie(),e.pingedLanes|=e.suspendedLanes&r;break}e.timeoutHandle=qo(Un.bind(null,e,Ue,Qt),t);break}Un(e,Ue,Qt);break;case 4:if(En(e,u),(4194240&u)===u)break;for(t=e.eventTimes,r=-1;0<u;){var o=31-xt(u);l=1<<o,(o=t[o])>r&&(r=o),u&=~l}if(u=r,10<(u=(120>(u=oe()-u)?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*i6(u/1960))-u)){e.timeoutHandle=qo(Un.bind(null,e,Ue,Qt),u);break}Un(e,Ue,Qt);break;default:throw Error(D(329))}}}return Ve(e,oe()),e.callbackNode===n?H1.bind(null,e):null}function Oi(e,t){var n=Sr;return e.current.memoizedState.isDehydrated&&(Hn(e,t).flags|=256),2!==(e=el(e,t))&&(t=Ue,Ue=n,null!==t&&Ii(t)),e}function Ii(e){null===Ue?Ue=e:Ue.push.apply(Ue,e)}function En(e,t){for(t&=~Ni,t&=~G0,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-xt(t),u=1<<n;e[n]=-1,t&=~u}}function U1(e){if(6&H)throw Error(D(327));Eu();var t=a0(e,0);if(!(1&t))return Ve(e,oe()),null;var n=el(e,t);if(0!==e.tag&&2===n){var u=ho(e);0!==u&&(t=u,n=Oi(e,u))}if(1===n)throw n=Cr,Hn(e,0),En(e,t),Ve(e,oe()),n;if(6===n)throw Error(D(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Un(e,Ue,Qt),Ve(e,oe()),null}function Pi(e,t){var n=H;H|=1;try{return e(t)}finally{0===(H=n)&&(ku=oe()+500,A0&&gn())}}function Bn(e){null!==_n&&0===_n.tag&&!(6&H)&&Eu();var t=H;H|=1;var n=ft.transition,u=Z;try{if(ft.transition=null,Z=1,e)return e()}finally{Z=u,ft.transition=n,!(6&(H=t))&&gn()}}function Ri(){nt=_u.current,ee(_u)}function Hn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Rh(n)),null!==se)for(n=se.return;null!==n;){var u=n;switch(Wo(u),u.tag){case 1:null!=(u=u.type.childContextTypes)&&C0();break;case 3:yu(),ee(qe),ee(Ae),oi();break;case 5:ri(u);break;case 4:yu();break;case 13:case 19:ee(ue);break;case 10:Jo(u.type._context);break;case 22:case 23:Ri()}n=n.return}if(me=e,se=e=Cn(e.current,null),_e=nt=t,fe=0,Cr=null,Ni=G0=qn=0,Ue=Sr=null,null!==Rn){for(t=0;t<Rn.length;t++)if(null!==(u=(n=Rn[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}Rn=null}return e}function V1(e,t){for(;;){var n=se;try{if(Xo(),P0.current=q0,R0){for(var u=re.memoizedState;null!==u;){var r=u.queue;null!==r&&(r.pending=null),u=u.next}R0=!1}if($n=0,he=ce=re=null,yr=!1,vr=0,Fi.current=null,null===n||null===n.return){fe=1,Cr=t,se=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 c=a,f=i,d=f.tag;if(!(1&f.mode||0!==d&&11!==d&&15!==d)){var g=f.alternate;g?(f.updateQueue=g.updateQueue,f.memoizedState=g.memoizedState,f.lanes=g.lanes):(f.updateQueue=null,f.memoizedState=null)}var y=w1(o);if(null!==y){y.flags&=-257,g1(y,o,i,0,t),1&y.mode&&m1(l,c,t),a=c;var m=(t=y).updateQueue;if(null===m){var k=new Set;k.add(a),t.updateQueue=k}else m.add(a);break e}if(!(1&t)){m1(l,c,t),zi();break e}a=Error(D(426))}else if(te&&1&i.mode){var j=w1(o);if(null!==j){!(65536&j.flags)&&(j.flags|=256),g1(j,o,i,0,t),Yo(vu(a,i));break e}}l=a=vu(a,i),4!==fe&&(fe=2),null===Sr?Sr=[l]:Sr.push(l),l=o;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t,$c(l,p1(0,a,t));break e;case 1:i=a;var p=l.type,w=l.stateNode;if(!(128&l.flags||"function"!=typeof p.getDerivedStateFromError&&(null===w||"function"!=typeof w.componentDidCatch||null!==bn&&bn.has(w)))){l.flags|=65536,t&=-t,l.lanes|=t,$c(l,h1(l,i,t));break e}}l=l.return}while(null!==l)}G1(n)}catch(E){t=E,se===n&&null!==n&&(se=n=n.return);continue}break}}function Z1(){var e=W0.current;return W0.current=q0,null===e?q0:e}function zi(){(0===fe||3===fe||2===fe)&&(fe=4),null===me||!(268435455&qn)&&!(268435455&G0)||En(me,_e)}function el(e,t){var n=H;H|=2;var u=Z1();for((me!==e||_e!==t)&&(Qt=null,Hn(e,t));;)try{s6();break}catch(r){V1(e,r)}if(Xo(),H=n,W0.current=u,null!==se)throw Error(D(261));return me=null,_e=0,fe}function s6(){for(;null!==se;)W1(se)}function c6(){for(;null!==se&&!Op();)W1(se)}function W1(e){var t=K1(e.alternate,e,nt);e.memoizedProps=e.pendingProps,null===t?G1(e):se=t,Fi.current=null}function G1(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=u6(n,t)))return n.flags&=32767,void(se=n);if(null===e)return fe=6,void(se=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=n6(n,t,nt)))return void(se=n);if(null!==(t=t.sibling))return void(se=t);se=t=e}while(null!==t);0===fe&&(fe=5)}function Un(e,t,n){var u=Z,r=ft.transition;try{ft.transition=null,Z=1,function(e,t,n,u){do{Eu()}while(null!==_n);if(6&H)throw Error(D(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(D(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-xt(n),l=1<<r;t[r]=0,u[r]=-1,e[r]=-1,n&=~l}}(e,l),e===me&&(se=me=null,_e=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Y0||(Y0=!0,X1(r0,(function(){return Eu(),null}))),l=!!(15990&n.flags),15990&n.subtreeFlags||l){l=ft.transition,ft.transition=null;var o=Z;Z=1;var i=H;H|=4,Fi.current=null,function(e,t){if(Ro=f0,Fo(e=cc())){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,c=0,f=0,d=e,g=null;t:for(;;){for(var y;d!==n||0!==r&&3!==d.nodeType||(i=o+r),d!==l||0!==u&&3!==d.nodeType||(a=o+u),3===d.nodeType&&(o+=d.nodeValue.length),null!==(y=d.firstChild);)g=d,d=y;for(;;){if(d===e)break t;if(g===n&&++c===r&&(i=o),g===l&&++f===u&&(a=o),null!==(y=d.nextSibling))break;g=(d=g).parentNode}d=y}n=-1===i||-1===a?null:{start:i,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(zo={focusedElem:e,selectionRange:n},f0=!1,M=t;null!==M;)if(e=(t=M).child,1028&t.subtreeFlags&&null!==e)e.return=t,M=e;else for(;null!==M;){t=M;try{var m=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!==m){var k=m.memoizedProps,j=m.memoizedState,x=t.stateNode,p=x.getSnapshotBeforeUpdate(t.elementType===t.type?k:bt(t.type,k),j);x.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(D(163))}}catch(v){le(t,t.return,v)}if(null!==(e=t.sibling)){e.return=t.return,M=e;break}M=t.return}m=M1,M1=!1}(e,n),R1(n,e),Nh(zo),f0=!!Ro,zo=Ro=null,e.current=n,o6(n),Ip(),H=i,Z=o,ft.transition=l}else e.current=n;if(Y0&&(Y0=!1,_n=e,K0=r),l=e.pendingLanes,0===l&&(bn=null),function(e){if(At&&"function"==typeof At.onCommitFiberRoot)try{At.onCommitFiberRoot(l0,e,void 0,!(128&~e.current.flags))}catch{}}(n.stateNode),Ve(e,oe()),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=Ti,Ti=null,e;1&K0&&0!==e.tag&&Eu(),l=e.pendingLanes,1&l?e===Li?Ar++:(Ar=0,Li=e):Ar=0,gn()}(e,t,n,u)}finally{ft.transition=r,Z=u}return null}function Eu(){if(null!==_n){var e=Is(K0),t=ft.transition,n=Z;try{if(ft.transition=null,Z=16>e?16:e,null===_n)var u=!1;else{if(e=_n,_n=null,K0=0,6&H)throw Error(D(331));var r=H;for(H|=4,M=e.current;null!==M;){var l=M,o=l.child;if(16&M.flags){var i=l.deletions;if(null!==i){for(var a=0;a<i.length;a++){var c=i[a];for(M=c;null!==M;){var f=M;switch(f.tag){case 0:case 11:case 15:Er(8,f,l)}var d=f.child;if(null!==d)d.return=f,M=d;else for(;null!==M;){var g=(f=M).sibling,y=f.return;if(T1(f),f===c){M=null;break}if(null!==g){g.return=y,M=g;break}M=y}}}var m=l.alternate;if(null!==m){var k=m.child;if(null!==k){m.child=null;do{var j=k.sibling;k.sibling=null,k=j}while(null!==k)}}M=l}}if(2064&l.subtreeFlags&&null!==o)o.return=l,M=o;else e:for(;null!==M;){if(2048&(l=M).flags)switch(l.tag){case 0:case 11:case 15:Er(9,l,l.return)}var x=l.sibling;if(null!==x){x.return=l.return,M=x;break e}M=l.return}}var p=e.current;for(M=p;null!==M;){var w=(o=M).child;if(2064&o.subtreeFlags&&null!==w)w.return=o,M=w;else e:for(o=p;null!==M;){if(2048&(i=M).flags)try{switch(i.tag){case 0:case 11:case 15:Z0(9,i)}}catch(E){le(i,i.return,E)}if(i===o){M=null;break e}var v=i.sibling;if(null!==v){v.return=i.return,M=v;break e}M=i.return}}if(H=r,gn(),At&&"function"==typeof At.onPostCommitFiberRoot)try{At.onPostCommitFiberRoot(l0,e)}catch{}u=!0}return u}finally{Z=n,ft.transition=t}}return!1}function Q1(e,t,n){e=yn(e,t=p1(0,t=vu(n,t),1),1),t=Ie(),null!==e&&(Ku(e,1,t),Ve(e,t))}function le(e,t,n){if(3===e.tag)Q1(e,e,n);else for(;null!==t;){if(3===t.tag){Q1(t,e,n);break}if(1===t.tag){var u=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof u.componentDidCatch&&(null===bn||!bn.has(u))){t=yn(t,e=h1(t,e=vu(n,e),1),1),e=Ie(),null!==t&&(Ku(t,1,e),Ve(t,e));break}}t=t.return}}function d6(e,t,n){var u=e.pingCache;null!==u&&u.delete(t),t=Ie(),e.pingedLanes|=e.suspendedLanes&n,me===e&&(_e&n)===n&&(4===fe||3===fe&&(130023424&_e)===_e&&500>oe()-Mi?Hn(e,0):Ni|=n),Ve(e,t)}function Y1(e,t){0===t&&(1&e.mode?(t=i0,!(130023424&(i0<<=1))&&(i0=4194304)):t=1);var n=Ie();null!==(e=Zt(e,t))&&(Ku(e,t,n),Ve(e,n))}function p6(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Y1(e,n)}function h6(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(D(314))}null!==u&&u.delete(t),Y1(e,n)}function X1(e,t){return Ns(e,t)}function m6(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 dt(e,t,n,u){return new m6(e,t,n,u)}function $i(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Cn(e,t){var n=e.alternate;return null===n?((n=dt(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 tl(e,t,n,u,r,l){var o=2;if(u=e,"function"==typeof e)$i(e)&&(o=1);else if("string"==typeof e)o=5;else e:switch(e){case Jn:return Vn(n.children,r,l,t);case Hl:o=8,r|=8;break;case Ul:return(e=dt(12,n,t,2|r)).elementType=Ul,e.lanes=l,e;case Zl:return(e=dt(13,n,t,r)).elementType=Zl,e.lanes=l,e;case Wl:return(e=dt(19,n,t,r)).elementType=Wl,e.lanes=l,e;case is:return nl(n,r,l,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ls:o=10;break e;case os:o=9;break e;case Vl:o=11;break e;case Gl:o=14;break e;case ln:o=16,u=null;break e}throw Error(D(130,null==e?e:typeof e,""))}return(t=dt(o,n,t,r)).elementType=e,t.type=u,t.lanes=l,t}function Vn(e,t,n,u){return(e=dt(7,e,u,t)).lanes=n,e}function nl(e,t,n,u){return(e=dt(22,e,u,t)).elementType=is,e.lanes=n,e.stateNode={isHidden:!1},e}function qi(e,t,n){return(e=dt(6,e,null,t)).lanes=n,e}function Bi(e,t,n){return(t=dt(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function g6(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=mo(0),this.expirationTimes=mo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mo(0),this.identifierPrefix=u,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function Hi(e,t,n,u,r,l,o,i,a){return e=new g6(e,t,n,i,a),1===t?(t=1,!0===l&&(t|=8)):t=0,l=dt(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:u,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ni(l),e}function J1(e){if(!e)return wn;e:{if(Tn(e=e._reactInternals)!==e||1!==e.tag)throw Error(D(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Be(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(D(171))}if(1===e.tag){var n=e.type;if(Be(n))return Ac(e,n,t)}return t}function e2(e,t,n,u,r,l,o,i,a){return(e=Hi(n,u,!0,e,0,l,0,i,a)).context=J1(null),n=e.current,(l=Wt(u=Ie(),r=kn(n))).callback=t??null,yn(n,l,r),e.current.lanes=r,Ku(e,r,u),Ve(e,u),e}function ul(e,t,n,u){var r=t.current,l=Ie(),o=kn(r);return n=J1(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=yn(r,t,o))&&(Et(e,r,o,l),L0(e,r,o)),o}function rl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function t2(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ui(e,t){t2(e,t),(e=e.alternate)&&t2(e,t)}K1=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||qe.current)He=!0;else{if(!(e.lanes&n||128&t.flags))return He=!1,function(e,t,n){switch(t.tag){case 3:E1(t),mu();break;case 5:Bc(t);break;case 1:Be(t.type)&&S0(t);break;case 4:ui(t,t.stateNode.containerInfo);break;case 10:var u=t.type._context,r=t.memoizedProps.value;Q(M0,u._currentValue),u._currentValue=r;break;case 13:if(null!==(u=t.memoizedState))return null!==u.dehydrated?(Q(ue,1&ue.current),t.flags|=128,null):n&t.child.childLanes?S1(e,t,n):(Q(ue,1&ue.current),null!==(e=Gt(e,t,n))?e.sibling:null);Q(ue,1&ue.current);break;case 19:if(u=!!(n&t.childLanes),128&e.flags){if(u)return j1(e,t,n);t.flags|=128}if(null!==(r=t.memoizedState)&&(r.rendering=null,r.tail=null,r.lastEffect=null),Q(ue,ue.current),u)break;return null;case 22:case 23:return t.lanes=0,b1(e,t,n)}return Gt(e,t,n)}(e,t,n);He=!!(131072&e.flags)}else He=!1,te&&1048576&t.flags&&Fc(t,D0,t.index);switch(t.lanes=0,t.tag){case 2:var u=t.type;U0(e,t),e=t.pendingProps;var r=du(t,Ae.current);xu(t,n),r=si(null,t,u,e,r,n);var l=ci();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,Be(u)?(l=!0,S0(t)):l=!1,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,ni(t),r.updater=B0,t.stateNode=r,r._reactInternals=t,wi(t,u,e,n),t=vi(null,t,u,!0,l,n)):(t.tag=0,te&&l&&Zo(t),Oe(null,t,r,n),t=t.child),t;case 16:u=t.elementType;e:{switch(U0(e,t),e=t.pendingProps,u=(r=u._init)(u._payload),t.type=u,r=t.tag=function(e){if("function"==typeof e)return $i(e)?1:0;if(null!=e){if((e=e.$$typeof)===Vl)return 11;if(e===Gl)return 14}return 2}(u),e=bt(u,e),r){case 0:t=yi(null,t,u,e,n);break e;case 1:t=k1(null,t,u,e,n);break e;case 11:t=x1(null,t,u,e,n);break e;case 14:t=y1(null,t,u,bt(u.type,e),n);break e}throw Error(D(306,u,""))}return t;case 0:return u=t.type,r=t.pendingProps,yi(e,t,u,r=t.elementType===u?r:bt(u,r),n);case 1:return u=t.type,r=t.pendingProps,k1(e,t,u,r=t.elementType===u?r:bt(u,r),n);case 3:e:{if(E1(t),null===e)throw Error(D(387));u=t.pendingProps,r=(l=t.memoizedState).element,zc(e,t),O0(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=C1(e,t,u,n,r=vu(Error(D(423)),t));break e}if(u!==r){t=C1(e,t,u,n,r=vu(Error(D(424)),t));break e}for(tt=hn(t.stateNode.containerInfo.firstChild),et=t,te=!0,vt=null,n=Pc(t,null,u,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(mu(),u===r){t=Gt(e,t,n);break e}Oe(e,t,u,n)}t=t.child}return t;case 5:return Bc(t),null===e&&Qo(t),u=t.type,r=t.pendingProps,l=null!==e?e.memoizedProps:null,o=r.children,$o(u,r)?o=null:null!==l&&$o(u,l)&&(t.flags|=32),_1(e,t),Oe(e,t,o,n),t.child;case 6:return null===e&&Qo(t),null;case 13:return S1(e,t,n);case 4:return ui(t,t.stateNode.containerInfo),u=t.pendingProps,null===e?t.child=wu(t,null,u,n):Oe(e,t,u,n),t.child;case 11:return u=t.type,r=t.pendingProps,x1(e,t,u,r=t.elementType===u?r:bt(u,r),n);case 7:return Oe(e,t,t.pendingProps,n),t.child;case 8:case 12:return Oe(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,Q(M0,u._currentValue),u._currentValue=o,null!==l)if(yt(l.value,o)){if(l.children===r.children&&!qe.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 c=l.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?a.next=a:(a.next=f.next,f.next=a),c.pending=a}}l.lanes|=n,null!==(a=l.alternate)&&(a.lanes|=n),ei(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(D(341));o.lanes|=n,null!==(i=o.alternate)&&(i.lanes|=n),ei(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}Oe(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,u=t.pendingProps.children,xu(t,n),u=u(r=st(r)),t.flags|=1,Oe(e,t,u,n),t.child;case 14:return r=bt(u=t.type,t.pendingProps),y1(e,t,u,r=bt(u.type,r),n);case 15:return v1(e,t,t.type,t.pendingProps,n);case 17:return u=t.type,r=t.pendingProps,r=t.elementType===u?r:bt(u,r),U0(e,t),t.tag=1,Be(u)?(e=!0,S0(t)):e=!1,xu(t,n),f1(t,u,r),wi(t,u,r,n),vi(null,t,u,!0,e,n);case 19:return j1(e,t,n);case 22:return b1(e,t,n)}throw Error(D(156,t.tag))};var n2="function"==typeof reportError?reportError:function(e){console.error(e)};function Vi(e){this._internalRoot=e}function ll(e){this._internalRoot=e}function Zi(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function ol(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function u2(){}function il(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=rl(o);i.call(a)}}ul(t,o,e,r)}else o=function(e,t,n,u,r){if(r){if("function"==typeof u){var l=u;u=function(){var c=rl(o);l.call(c)}}var o=e2(t,u,e,0,null,!1,0,"",u2);return e._reactRootContainer=o,e[Bt]=o.current,fr(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 c=rl(a);i.call(c)}}var a=Hi(e,0,!1,null,0,!1,0,"",u2);return e._reactRootContainer=a,e[Bt]=a.current,fr(8===e.nodeType?e.parentNode:e),Bn((function(){ul(t,a,n,u)})),a}(n,t,e,r,u);return rl(o)}ll.prototype.render=Vi.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(D(409));ul(e,t,null,null)},ll.prototype.unmount=Vi.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;Bn((function(){ul(null,e,null,null)})),t[Bt]=null}},ll.prototype.unstable_scheduleHydration=function(e){if(e){var t=zs();e={blockedOn:null,target:e,priority:t};for(var n=0;n<fn.length&&0!==t&&t<fn[n].priority;n++);fn.splice(n,0,e),0===n&&Bs(e)}},Ps=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Yu(t.pendingLanes);0!==n&&(wo(t,1|n),Ve(t,oe()),!(6&H)&&(ku=oe()+500,gn()))}break;case 13:Bn((function(){var u=Zt(e,1);if(null!==u){var r=Ie();Et(u,e,1,r)}})),Ui(e,1)}},go=function(e){if(13===e.tag){var t=Zt(e,134217728);if(null!==t)Et(t,e,134217728,Ie());Ui(e,134217728)}},Rs=function(e){if(13===e.tag){var t=kn(e),n=Zt(e,t);if(null!==n)Et(n,e,t,Ie());Ui(e,t)}},zs=function(){return Z},$s=function(e,t){var n=Z;try{return Z=e,t()}finally{Z=n}},ao=function(e,t,n){switch(t){case"input":if(eo(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=E0(u);if(!r)throw Error(D(90));cs(u),eo(u,r)}}}break;case"textarea":ms(e,n);break;case"select":null!=(t=n.value)&&eu(e,!!n.multiple,t,!1)}},Es=Pi,Cs=Bn;var b6={usingClientEntryPoint:!1,Events:[hr,cu,E0,_s,ks,Pi]},jr={findFiberByHostInstance:Ln,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},_6={bundleType:jr.bundleType,version:jr.version,rendererPackageName:jr.rendererPackageName,rendererConfig:jr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:qt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ds(e))?null:e.stateNode},findFiberByHostInstance:jr.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 al=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!al.isDisabled&&al.supportsFiber)try{l0=al.inject(_6),At=al}catch{}}Ke.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=b6,Ke.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zi(t))throw Error(D(200));return function(e,t,n){var u=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Xn,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(D(299));var n=!1,u="",r=n2;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(u=t.identifierPrefix),void 0!==t.onRecoverableError&&(r=t.onRecoverableError)),t=Hi(e,1,!1,null,0,n,0,u,r),e[Bt]=t.current,fr(8===e.nodeType?e.parentNode:e),new Vi(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(D(188)):(e=Object.keys(e).join(","),Error(D(268,e)));return e=null===(e=Ds(t))?null:e.stateNode},Ke.flushSync=function(e){return Bn(e)},Ke.hydrate=function(e,t,n){if(!ol(t))throw Error(D(200));return il(null,e,t,!0,n)},Ke.hydrateRoot=function(e,t,n){if(!Zi(e))throw Error(D(405));var u=null!=n&&n.hydratedSources||null,r=!1,l="",o=n2;if(null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(l=n.identifierPrefix),void 0!==n.onRecoverableError&&(o=n.onRecoverableError)),t=e2(t,null,e,1,n??null,r,0,l,o),e[Bt]=t.current,fr(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 ll(t)},Ke.render=function(e,t,n){if(!ol(t))throw Error(D(200));return il(null,e,t,!1,n)},Ke.unmountComponentAtNode=function(e){if(!ol(e))throw Error(D(40));return!!e._reactRootContainer&&(Bn((function(){il(null,null,e,!1,(function(){e._reactRootContainer=null,e[Bt]=null}))})),!0)},Ke.unstable_batchedUpdates=Pi,Ke.unstable_renderSubtreeIntoContainer=function(e,t,n,u){if(!ol(n))throw Error(D(200));if(null==e||void 0===e._reactInternals)throw Error(D(38));return il(e,t,n,!1,u)},Ke.version="18.3.1-next-f1338f8080-20240426",function r2(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r2)}catch(e){console.error(e)}}(),Ja.exports=Ke;var Dr=Ja.exports,l2=Dr;Rl.createRoot=l2.createRoot,Rl.hydrateRoot=l2.hydrateRoot;const Wi=b.createContext(null),o2=({children:e})=>{const[t,n]=b.useState(!1),[u,r]=b.useState(s.jsx("div",{children:"Hello world"}));return s.jsx(Wi.Provider,{value:{modalOpen:t,setModalOpen:n,modalContent:u,setModalContent:r,openModal:o=>{r(o),n(!0)}},children:e})},i2={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 sl="___anm-chat-widget-open___",a2="___anm-chat-greetings-shown___";const A6=b.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var j6=Object.defineProperty,cl=Object.getOwnPropertySymbols,s2=Object.prototype.hasOwnProperty,c2=Object.prototype.propertyIsEnumerable,f2=(e,t,n)=>t in e?j6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d2=(e,t)=>{for(var n in t||(t={}))s2.call(t,n)&&f2(e,n,t[n]);if(cl)for(var n of cl(t))c2.call(t,n)&&f2(e,n,t[n]);return e},p2=(e,t)=>{var n={};for(var u in e)s2.call(e,u)&&t.indexOf(u)<0&&(n[u]=e[u]);if(null!=e&&cl)for(var u of cl(e))t.indexOf(u)<0&&c2.call(e,u)&&(n[u]=e[u]);return n};const h2=b.forwardRef(((e,t)=>{const n=e,{alt:u,color:r,size:l,weight:o,mirrored:i,children:a,weights:c}=n,f=p2(n,["alt","color","size","weight","mirrored","children","weights"]),d=b.useContext(A6),{color:g="currentColor",size:y,weight:m="regular",mirrored:k=!1}=d,j=p2(d,["color","size","weight","mirrored"]);return h.createElement("svg",d2(d2({ref:t,xmlns:"http://www.w3.org/2000/svg",width:l??y,height:l??y,fill:r??g,viewBox:"0 0 256 256",transform:i||k?"scale(-1, 1)":void 0},j),f),!!u&&h.createElement("title",null,u),a,c.get(o??m))}));h2.displayName="IconBase";const Ze=h2,D6=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 F6=Object.defineProperty,N6=Object.defineProperties,M6=Object.getOwnPropertyDescriptors,m2=Object.getOwnPropertySymbols,T6=Object.prototype.hasOwnProperty,L6=Object.prototype.propertyIsEnumerable,w2=(e,t,n)=>t in e?F6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const g2=b.forwardRef(((e,t)=>h.createElement(Ze,((e,t)=>N6(e,M6(t)))(((e,t)=>{for(var n in t||(t={}))T6.call(t,n)&&w2(e,n,t[n]);if(m2)for(var n of m2(t))L6.call(t,n)&&w2(e,n,t[n]);return e})({ref:t},e),{weights:D6}))));g2.displayName="ArrowDown";const P6=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 R6=Object.defineProperty,z6=Object.defineProperties,$6=Object.getOwnPropertyDescriptors,x2=Object.getOwnPropertySymbols,q6=Object.prototype.hasOwnProperty,B6=Object.prototype.propertyIsEnumerable,y2=(e,t,n)=>t in e?R6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const v2=b.forwardRef(((e,t)=>h.createElement(Ze,((e,t)=>z6(e,$6(t)))(((e,t)=>{for(var n in t||(t={}))q6.call(t,n)&&y2(e,n,t[n]);if(x2)for(var n of x2(t))B6.call(t,n)&&y2(e,n,t[n]);return e})({ref:t},e),{weights:P6}))));v2.displayName="Binoculars";const V6=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 Z6=Object.defineProperty,W6=Object.defineProperties,G6=Object.getOwnPropertyDescriptors,b2=Object.getOwnPropertySymbols,Q6=Object.prototype.hasOwnProperty,Y6=Object.prototype.propertyIsEnumerable,_2=(e,t,n)=>t in e?Z6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const k2=b.forwardRef(((e,t)=>h.createElement(Ze,((e,t)=>W6(e,G6(t)))(((e,t)=>{for(var n in t||(t={}))Q6.call(t,n)&&_2(e,n,t[n]);if(b2)for(var n of b2(t))Y6.call(t,n)&&_2(e,n,t[n]);return e})({ref:t},e),{weights:V6}))));k2.displayName="ChatCircleDots";const J6=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 e3=Object.defineProperty,t3=Object.defineProperties,n3=Object.getOwnPropertyDescriptors,E2=Object.getOwnPropertySymbols,u3=Object.prototype.hasOwnProperty,r3=Object.prototype.propertyIsEnumerable,C2=(e,t,n)=>t in e?e3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const S2=b.forwardRef(((e,t)=>h.createElement(Ze,((e,t)=>t3(e,n3(t)))(((e,t)=>{for(var n in t||(t={}))u3.call(t,n)&&C2(e,n,t[n]);if(E2)for(var n of E2(t))r3.call(t,n)&&C2(e,n,t[n]);return e})({ref:t},e),{weights:J6}))));S2.displayName="Check";const i3=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 a3=Object.defineProperty,s3=Object.defineProperties,c3=Object.getOwnPropertyDescriptors,A2=Object.getOwnPropertySymbols,f3=Object.prototype.hasOwnProperty,d3=Object.prototype.propertyIsEnumerable,j2=(e,t,n)=>t in e?a3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const fl=b.forwardRef(((e,t)=>h.createElement(Ze,((e,t)=>s3(e,c3(t)))(((e,t)=>{for(var n in t||(t={}))f3.call(t,n)&&j2(e,n,t[n]);if(A2)for(var n of A2(t))d3.call(t,n)&&j2(e,n,t[n]);return e})({ref:t},e),{weights:i3}))));fl.displayName="CircleNotch";const m3=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 w3=Object.defineProperty,g3=Object.defineProperties,x3=Object.getOwnPropertyDescriptors,D2=Object.getOwnPropertySymbols,y3=Object.prototype.hasOwnProperty,v3=Object.prototype.propertyIsEnumerable,F2=(e,t,n)=>t in e?w3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const N2=b.forwardRef(((e,t)=>h.createElement(Ze,((e,t)=>g3(e,x3(t)))(((e,t)=>{for(var n in t||(t={}))y3.call(t,n)&&F2(e,n,t[n]);if(D2)for(var n of D2(t))v3.call(t,n)&&F2(e,n,t[n]);return e})({ref:t},e),{weights:m3}))));N2.displayName="File";const k3=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 E3=Object.defineProperty,C3=Object.defineProperties,S3=Object.getOwnPropertyDescriptors,M2=Object.getOwnPropertySymbols,A3=Object.prototype.hasOwnProperty,j3=Object.prototype.propertyIsEnumerable,T2=(e,t,n)=>t in e?E3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const L2=b.forwardRef(((e,t)=>h.createElement(Ze,((e,t)=>C3(e,S3(t)))(((e,t)=>{for(var n in t||(t={}))A3.call(t,n)&&T2(e,n,t[n]);if(M2)for(var n of M2(t))j3.call(t,n)&&T2(e,n,t[n]);return e})({ref:t},e),{weights:k3}))));L2.displayName="Headset";const N3=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 M3=Object.defineProperty,T3=Object.defineProperties,L3=Object.getOwnPropertyDescriptors,O2=Object.getOwnPropertySymbols,O3=Object.prototype.hasOwnProperty,I3=Object.prototype.propertyIsEnumerable,I2=(e,t,n)=>t in e?M3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const P2=b.forwardRef(((e,t)=>h.createElement(Ze,((e,t)=>T3(e,L3(t)))(((e,t)=>{for(var n in t||(t={}))O3.call(t,n)&&I2(e,n,t[n]);if(O2)for(var n of O2(t))I3.call(t,n)&&I2(e,n,t[n]);return e})({ref:t},e),{weights:N3}))));P2.displayName="MagicWand";const z3=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 $3=Object.defineProperty,q3=Object.defineProperties,B3=Object.getOwnPropertyDescriptors,R2=Object.getOwnPropertySymbols,H3=Object.prototype.hasOwnProperty,U3=Object.prototype.propertyIsEnumerable,z2=(e,t,n)=>t in e?$3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const $2=b.forwardRef(((e,t)=>h.createElement(Ze,((e,t)=>q3(e,B3(t)))(((e,t)=>{for(var n in t||(t={}))H3.call(t,n)&&z2(e,n,t[n]);if(R2)for(var n of R2(t))U3.call(t,n)&&z2(e,n,t[n]);return e})({ref:t},e),{weights:z3}))));$2.displayName="MagnifyingGlass";const W3=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 G3=Object.defineProperty,Q3=Object.defineProperties,Y3=Object.getOwnPropertyDescriptors,q2=Object.getOwnPropertySymbols,K3=Object.prototype.hasOwnProperty,X3=Object.prototype.propertyIsEnumerable,B2=(e,t,n)=>t in e?G3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const H2=b.forwardRef(((e,t)=>h.createElement(Ze,((e,t)=>Q3(e,Y3(t)))(((e,t)=>{for(var n in t||(t={}))K3.call(t,n)&&B2(e,n,t[n]);if(q2)for(var n of q2(t))X3.call(t,n)&&B2(e,n,t[n]);return e})({ref:t},e),{weights:W3}))));H2.displayName="PaperPlaneRight";const t4=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 n4=Object.defineProperty,u4=Object.defineProperties,r4=Object.getOwnPropertyDescriptors,U2=Object.getOwnPropertySymbols,l4=Object.prototype.hasOwnProperty,o4=Object.prototype.propertyIsEnumerable,V2=(e,t,n)=>t in e?n4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Z2=b.forwardRef(((e,t)=>h.createElement(Ze,((e,t)=>u4(e,r4(t)))(((e,t)=>{for(var n in t||(t={}))l4.call(t,n)&&V2(e,n,t[n]);if(U2)for(var n of U2(t))o4.call(t,n)&&V2(e,n,t[n]);return e})({ref:t},e),{weights:t4}))));Z2.displayName="Paperclip";const s4=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 c4=Object.defineProperty,f4=Object.defineProperties,d4=Object.getOwnPropertyDescriptors,W2=Object.getOwnPropertySymbols,p4=Object.prototype.hasOwnProperty,h4=Object.prototype.propertyIsEnumerable,G2=(e,t,n)=>t in e?c4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Q2=b.forwardRef(((e,t)=>h.createElement(Ze,((e,t)=>f4(e,d4(t)))(((e,t)=>{for(var n in t||(t={}))p4.call(t,n)&&G2(e,n,t[n]);if(W2)for(var n of W2(t))h4.call(t,n)&&G2(e,n,t[n]);return e})({ref:t},e),{weights:s4}))));Q2.displayName="Plus";const g4=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 x4=Object.defineProperty,y4=Object.defineProperties,v4=Object.getOwnPropertyDescriptors,Y2=Object.getOwnPropertySymbols,b4=Object.prototype.hasOwnProperty,_4=Object.prototype.propertyIsEnumerable,K2=(e,t,n)=>t in e?x4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const X2=b.forwardRef(((e,t)=>h.createElement(Ze,((e,t)=>y4(e,v4(t)))(((e,t)=>{for(var n in t||(t={}))b4.call(t,n)&&K2(e,n,t[n]);if(Y2)for(var n of Y2(t))_4.call(t,n)&&K2(e,n,t[n]);return e})({ref:t},e),{weights:g4}))));X2.displayName="Warning";const C4=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,A4=Object.defineProperties,j4=Object.getOwnPropertyDescriptors,J2=Object.getOwnPropertySymbols,D4=Object.prototype.hasOwnProperty,F4=Object.prototype.propertyIsEnumerable,ef=(e,t,n)=>t in e?S4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Gi=b.forwardRef(((e,t)=>h.createElement(Ze,((e,t)=>A4(e,j4(t)))(((e,t)=>{for(var n in t||(t={}))D4.call(t,n)&&ef(e,n,t[n]);if(J2)for(var n of J2(t))F4.call(t,n)&&ef(e,n,t[n]);return e})({ref:t},e),{weights:C4}))));Gi.displayName="X";const Qi={plus:Q2,chatBubble:k2,support:L2,search2:v2,search:$2,magic:P2};function T4({settings:e,isOpen:t,toggleBot:n,offsetBottom:u}){const r=Object.hasOwn(Qi,null==e?void 0:e.chatIcon)?Qi[e.chatIcon]:Qi.plus,l="white"===e.arrowDownColor?"tw-ei":"tw-di",o=u?`calc(16px + ${u})`:"16px",i="bottom-left"===e.position;return s.jsx("button",{id:"animuz-embed-chat-button",onClick:n,className:"tw-a tw-fe tw-vi tw-yq tw-wd tw-ad tw-za tw-fh tw-xo tw-wq",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:s.jsxs("div",{className:" tw-yq tw-lh tw-ie tw-xp tw-cp tw-xo",children:[e.chatIconUrl?s.jsx("img",{style:{borderRadius:"9999px"},className:"tw-xp tw-cp tw-fh tw-xk"+(t?"tw-mo tw-ul tw-pk":"tw-zl tw-ej tw-hn"),src:e.chatIconUrl,alt:"Chat Icon"}):s.jsx(r,{className:"tw-qm tw-vk tw-ei tw-ci tw-ln tw-fh tw-xk "+(t?"tw-mo tw-ul tw-pk":"tw-zl tw-ej tw-hn")}),s.jsx("svg",{viewBox:"0 0 24 24",className:`tw-qm ${l} tw-kn tw-fh tw-xk tw-pt tw-dt tw-fl `+(t?"tw-zl tw-hn tw-ej":"tw-mo tw-ki tw-ul"),children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})})]})})}const Yi="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",L4=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},b.createElement("g",{fill:"#fff",clipPath:"url(#line_svg__a)"},b.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"}),b.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"})),b.createElement("defs",null,b.createElement("clipPath",{id:"line_svg__a"},b.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),O4=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},b.createElement("g",{clipPath:"url(#messenger_svg__a)"},b.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"})),b.createElement("defs",null,b.createElement("clipPath",{id:"messenger_svg__a"},b.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),I4=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},b.createElement("g",{clipPath:"url(#phone_svg__a)"},b.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"})),b.createElement("defs",null,b.createElement("clipPath",{id:"phone_svg__a"},b.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),P4=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"5 20 530 159",...e},b.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"})),R4=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},b.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"})),z4=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 25",...e},b.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"}),b.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"})),$4=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},b.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"})),pt={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:"อัปโหลดล้มเหลว"}},Sn="https://api.rudi.animuz.ai",tf_chat=async(e,t,n="")=>{const u=await fetch(`${n||Sn}/v2/public/chat`,{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)});return[await u.json(),u.status]},tf_listAssistants=async(e,t="")=>await(await fetch(`${t||Sn}/v2/public/assistant`,{method:"GET",headers:{"Content-Type":"application/json",...e}})).json(),Cu={getMessages:async(e,t="")=>{try{return(await(await fetch(`${t||Sn}/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||Sn}/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||Sn}/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||Sn}/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||Sn}/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 nf=({settings:e,closeChat:t,sessionId:n,resetChat:u,isNoMessage:r,isFullScreen:l,isIframe:o,toggleFullScreen:i})=>{const a=e.language,c=pt[a]||pt.en,{assistants:f,loading:d,error:g,selectedAssistant:y,changeAssistant:m}=function(e,t=null){const[n,u]=b.useState([]),[r,l]=b.useState(null),[o,i]=b.useState(!0),[a,c]=b.useState(null);return b.useEffect((()=>{e.embedId&&t&&null!==e.showAssistants&&async function(){try{const g=await tf_listAssistants({"client-id":e.embedId,"session-id":t},e.restUrl);if(u(g),g.length>0){const y=g.find((m=>!0===m.isCurrentLocked));l((null==y?void 0:y.assistantID)??g[0].assistantID)}else l(null)}catch(g){c(g.message)}finally{i(!1)}}()}),[e.embedId,t,e.showAssistants]),{assistants:n,loading:o,error:a,selectedAssistant:r,changeAssistant:async d=>{try{await Cu.changeAssistant({assistantID:d},{"client-id":e.embedId,"session-id":t},e.restUrl),l(d)}catch(g){console.error("Error changing assistant:",g)}}}}(e,n),k=()=>{if(f.length>0&&null!==e.showAssistants)return s.jsxs("div",{className:"tw-fn tw-ap",children:[s.jsx("select",{id:"selectRudi",className:"anm-peer tw-xp tw-dd tw-yh tw-tk tw-zo tw-gd tw-kt",value:y||"",onChange:j=>m(j.target.value),children:f.map(((j,x)=>s.jsx("option",{value:j.assistantID,children:j.name},x)))}),s.jsx($4,{className:"tw-qm tw-io tw-vo tw-im tw-oc tw-hg tw-xk tw-fh tw-va tw-jb"})]})};return s.jsxs("header",{style:{"--bg-color":e.bgColorChat??"#f3f4f6"},className:"tw-jt tw-fk tw-vp tw-ya",children:[s.jsxs("div",{className:"tw-yq tw-wm tw-gj tw-ls tw-fn tw-od tw-se tw-hh "+(uf(e)||l||null!==e.showAssistants?"tw-ll":r||null===e.showAssistants?"tw-ym":"tw-kl"),style:{backgroundColor:e.headerBgColor??"#FFFFFF",color:e.headerTextColor??"#000000"},children:["dog"===e.headerBgPattern&&s.jsx(P4,{alt:"Background",className:"tw-qm tw-fp tw-qq tw-wo tw-xh tw-lk tw-uk"}),s.jsxs("div",{className:"tw-yq tw-cp tw-lh",children:[s.jsx("div",{className:"tw-or tw-rr tw-yq tw-lh tw-xs",children:s.jsx("div",{className:`tw-yq tw-ie tw-lh tw-ir ${e.showAssistants?"tw-po":"tw-no"} tw-rm tw-ai`,children:s.jsx("img",{className:"tw-xp tw-cp tw-je tw-ai",src:e.brandImageUrl??Yi,alt:e.brandName?e.brandName+" Logo":"Rudi Logo"})})}),s.jsxs("div",{className:"tw-yq tw-wm tw-fm tw-xp tw-xs",children:[s.jsxs("div",{className:"tw-yq tw-md tw-xp tw-lh",children:[s.jsxs("div",{className:"tw-yq tw-wm",children:[s.jsx("span",{className:"tw-ro tw-gf tw-ft tw-fi tw-jl",children:e.brandName}),s.jsx("span",{className:"tw-so tw-zi tw-qe tw-ft tw-fi tw-jl",children:e.brandSlogan})]}),s.jsxs("div",{className:"tw-yq tw-lh tw-qm tw-jo tw-vo tw-oc",children:[s.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},className:"tw-vi tw-xc tw-vq tw-pg tw-fe tw-mk tw-tc tw-tn tw-xq tw-we tw-uc tw-za tw-fh",onClick:u,children:s.jsx(R4,{stroke:"currentColor",width:"100%",height:"100%",style:{color:e.headerTextColor??"#000000"}})}),"on"===e.allowFullscreen&&s.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},"data-fullscreen":l,className:"tw-dp tw-sn tw-vi tw-be tw-ft tw-yi tw-fe tw-mk tw-tc tw-up tw-jt tw-fi tw-xd tw-l tw-za tw-fh",onClick:i,children:s.jsx(z4,{stroke:"currentColor",width:"100%",height:"100%",style:{color:e.headerTextColor??"#000000"}})}),s.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},type:"button",onClick:t,"data-isIframe":o,className:"tw-zk tw-aa tw-vi tw-xc tw-vq tw-fe tw-mk tw-tc tw-tn tw-xq tw-we","aria-label":"Close",children:s.jsx(Gi,{width:"100%",height:"100%"})})]})]}),!l&&null!==e.showAssistants&&s.jsx(k,{})]})]}),uf(e)?s.jsxs("div",{className:"tw-br tw-qk tw-xo tw-yq tw-lh tw-oq tw-fk tw-se tw-hh tw-eq",children:[e.socialFbUrl&&s.jsx("button",{className:"tw-vi tw-be tw-ft tw-ht tw-fe tw-za tw-fh tw-xd tw-ad",children:s.jsx(O4,{className:"tw-tp",fill:"#FFFFFF",style:{color:e.headerBgColor??"#000000"}})}),e.socialLineUrl&&s.jsx("button",{className:"tw-vi tw-be tw-ft tw-ht tw-fe tw-za tw-fh tw-xd tw-ad",children:s.jsx(L4,{className:"tw-tp",fill:"#FFFFFF"})}),e.socialPhoneUrl&&s.jsx("button",{className:"tw-vi tw-be tw-ft tw-ht tw-fe tw-za tw-fh tw-xd tw-ad",children:s.jsx(I4,{className:"tw-tp",fill:"#FFFFFF"})})]}):null]}),l&&null!==e.showAssistants&&s.jsxs("div",{className:"tw-nr tw-yq tw-gq tw-lh tw-rf tw-co tw-xp",children:[s.jsx("label",{htmlFor:"selectRudi",className:"tw-gk tw-gf",children:c.selectAssistantLabel}),s.jsx(k,{})]})]})},uf=e=>e.socialFbUrl||e.socialLineUrl||e.socialPhoneUrl,Ki=(e,t=void 0)=>{let u,n=!1;return e.map((({type:l,sender:o,senderID:i,message:a,images:c,debugPre:f,timestamp:d,read:g,msgID:y,videos:m,fileUrls:k,teamID:j},x)=>{u=new Date(d).toLocaleDateString(),n=t!==u,t=new Date(d).toLocaleDateString();const p=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 c,f,d,g;return{pointID:null==(c=null==o?void 0:o[a])?void 0:c.pointID,key:null==(f=null==o?void 0:o[a])?void 0:f.key,filetype:null==(d=null==o?void 0:o[a])?void 0:d.filetype,score:null==(g=null==o?void 0:o[a])?void 0:g.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}(f);return{msgID:y,type:l,role:o,timestamp:d,read:g,content:a||"",images:c,debugPre:f,...U4(p),isDateChanged:n,currDate:u,senderID:i,videos:m,fileUrls:k,teamID:j}}))},U4=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 rf={};function Su(e,t){"string"!=typeof t&&(t=Su.defaultChars);const n=function(e){let t=rf[e];if(t)return t;t=rf[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 c=i<<6&1984|63&a;r+=c<128?"��":String.fromCharCode(c),l+=3;continue}}if(224==(240&i)&&l+6<o){const a=parseInt(u.slice(l+4,l+6),16),c=parseInt(u.slice(l+7,l+9),16);if(128==(192&a)&&128==(192&c)){const f=i<<12&61440|a<<6&4032|63&c;r+=f<2048||f>=55296&&f<=57343?"���":String.fromCharCode(f),l+=6;continue}}if(240==(248&i)&&l+9<o){const a=parseInt(u.slice(l+4,l+6),16),c=parseInt(u.slice(l+7,l+9),16),f=parseInt(u.slice(l+10,l+12),16);if(128==(192&a)&&128==(192&c)&&128==(192&f)){let d=i<<18&1835008|a<<12&258048|c<<6&4032|63&f;d<65536||d>1114111?r+="����":(d-=65536,r+=String.fromCharCode(55296+(d>>10),56320+(1023&d))),l+=9;continue}}r+="�"}}return r}))}Su.defaultChars=";/?:@&=+$,#",Su.componentChars="";const lf={};function Fr(e,t,n){"string"!=typeof t&&(n=t,t=Fr.defaultChars),typeof n>"u"&&(n=!0);const u=function(e){let t=lf[e];if(t)return t;t=lf[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 Xi(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 dl(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}Fr.defaultChars=";/?:@&=+$,-_.!~*'()#",Fr.componentChars="-_.!~*'()";const Q4=/^([a-z0-9.+-]+:)/i,Y4=/:[0-9]*$/,K4=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,J4=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),em=["'"].concat(J4),of=["%","/","?",";","#"].concat(em),af=["/","?","#"],sf=/^[+a-z0-9A-Z_-]{0,63}$/,nm=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,cf={javascript:!0,"javascript:":!0},ff={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ji(e,t){if(e&&e instanceof dl)return e;const n=new dl;return n.parse(e,t),n}dl.prototype.parse=function(e,t){let n,u,r,l=e;if(l=l.trim(),!t&&1===e.split("#").length){const c=K4.exec(l);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let o=Q4.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&&cf[o])&&(l=l.substr(2),this.slashes=!0)),!cf[o]&&(r||o&&!ff[o])){let f,d,c=-1;for(let m=0;m<af.length;m++)u=l.indexOf(af[m]),-1!==u&&(-1===c||u<c)&&(c=u);d=-1===c?l.lastIndexOf("@"):l.lastIndexOf("@",c),-1!==d&&(f=l.slice(0,d),l=l.slice(d+1),this.auth=f),c=-1;for(let m=0;m<of.length;m++)u=l.indexOf(of[m]),-1!==u&&(-1===c||u<c)&&(c=u);-1===c&&(c=l.length),":"===l[c-1]&&c--;const g=l.slice(0,c);l=l.slice(c),this.parseHost(g),this.hostname=this.hostname||"";const y="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!y){const m=this.hostname.split(/\./);for(let k=0,j=m.length;k<j;k++){const x=m[k];if(x&&!x.match(sf)){let p="";for(let w=0,v=x.length;w<v;w++)x.charCodeAt(w)>127?p+="x":p+=x[w];if(!p.match(sf)){const w=m.slice(0,k),v=m.slice(k+1),E=x.match(nm);E&&(w.push(E[1]),v.unshift(E[2])),v.length&&(l=v.join(".")+l),this.hostname=w.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),ff[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},dl.prototype.parseHost=function(e){let t=Y4.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 um=Object.freeze(Object.defineProperty({__proto__:null,decode:Su,encode:Fr,format:Xi,parse:Ji},Symbol.toStringTag,{value:"Module"})),df=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,pf=/[\0-\x1F\x7F-\x9F]/,ea=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,hf=/[\$\+<->\^`\|~\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]/,mf=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,lm=Object.freeze(Object.defineProperty({__proto__:null,Any:df,Cc:pf,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:ea,S:hf,Z:mf},Symbol.toStringTag,{value:"Module"})),om=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)))),im=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var ta;const am=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]]),sm=null!==(ta=String.fromCodePoint)&&void 0!==ta?ta: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 An,ge,jn;function na(e){return e>=we.ZERO&&e<=we.NINE}function dm(e){return e>=we.UPPER_A&&e<=we.UPPER_F||e>=we.LOWER_A&&e<=we.LOWER_F}function hm(e){return e===we.EQUALS||function(e){return e>=we.UPPER_A&&e<=we.UPPER_Z||e>=we.LOWER_A&&e<=we.LOWER_Z||na(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"}(An||(An={})),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"}(jn||(jn={}));class mm{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=jn.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(!na(r)&&!dm(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(!na(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===jn.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=am.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&An.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const o=t.charCodeAt(n);if(this.treeIndex=wm(u,r,this.treeIndex+Math.max(1,l),o),this.treeIndex<0)return 0===this.result||this.decodeMode===jn.Attribute&&(0===l||hm(o))?0:this.emitNotTerminatedNamedEntity();if(r=u[this.treeIndex],l=(r&An.VALUE_LENGTH)>>14,0!==l){if(o===we.SEMI)return this.emitNamedEntityData(this.treeIndex,l,this.consumed+this.excess);this.decodeMode!==jn.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]&An.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]&~An.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===jn.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 wf(e){let t="";const n=new mm(e,(u=>t+=sm(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 c=n.write(r,i+1);if(c<0){o=i+n.end();break}o=i+c,i=0===c?o+1:o}const a=t+r.slice(o);return t="",a}}function wm(e,t,n,u){const r=(t&An.BRANCH_LENGTH)>>7,l=t&An.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,c=e[a];if(c<u)o=a+1;else{if(!(c>u))return e[a+r];i=a-1}}return-1}const gm=wf(om);function gf(e,t=jn.Legacy){return gm(e,t)}function ua(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}wf(im);const ym=Object.prototype.hasOwnProperty;function pl(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 xf(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function ra(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 hl(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const yf=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,_m=new RegExp(yf.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),km=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Au(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(_m,(function(t,n,u){return n||function(e,t){if(35===t.charCodeAt(0)&&km.test(t)){const u="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return ra(u)?hl(u):e}const n=gf(e);return n!==e?n:e}(t,u)}))}const Sm=/[&<>"]/,Am=/[&<>"]/g,jm={"&":"&","<":"<",">":">",'"':"""};function Dm(e){return jm[e]}function Dn(e){return Sm.test(e)?e.replace(Am,Dm):e}const Fm=/[.?*+^$[\]\\(){}|-]/g;function Y(e){switch(e){case 9:case 32:return!0}return!1}function Nr(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 Mr(e){return ea.test(e)||hf.test(e)}function Tr(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 ml(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const Mm=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:xf,assign:pl,escapeHtml:Dn,escapeRE:function(e){return e.replace(Fm,"\\$&")},fromCodePoint:hl,has:function(e,t){return ym.call(e,t)},isMdAsciiPunct:Tr,isPunctChar:Mr,isSpace:Y,isString:ua,isValidEntityCode:ra,isWhiteSpace:Nr,lib:{mdurl:um,ucmicro:lm},normalizeReference:ml,unescapeAll:Au,unescapeMd:function(e){return e.indexOf("\\")<0?e:e.replace(yf,"$1")}},Symbol.toStringTag,{value:"Module"}));const Im=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=Au(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=Au(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 c=-1;return r&&(c=e.pos),e.pos=a,c},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+=Au(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+=Au(e.slice(t,l)),o}},Symbol.toStringTag,{value:"Module"})),Mt={};function ju(){this.rules=pl({},Mt)}function We(){this.__rules__=[],this.__cache__=null}function Ct(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 vf(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}Mt.code_inline=function(e,t,n,u,r){const l=e[t];return"<code"+r.renderAttrs(l)+">"+Dn(l.content)+"</code>"},Mt.code_block=function(e,t,n,u,r){const l=e[t];return"<pre"+r.renderAttrs(l)+"><code>"+Dn(e[t].content)+"</code></pre>\n"},Mt.fence=function(e,t,n,u,r){const l=e[t],o=l.info?Au(l.info).trim():"";let c,i="",a="";if(o){const f=o.split(/(\s+)/g);i=f[0],a=f.slice(2).join("")}if(c=n.highlight&&n.highlight(l.content,i,a)||Dn(l.content),0===c.indexOf("<pre"))return c+"\n";if(o){const f=l.attrIndex("class"),d=l.attrs?l.attrs.slice():[];f<0?d.push(["class",n.langPrefix+i]):(d[f]=d[f].slice(),d[f][1]+=" "+n.langPrefix+i);const g={attrs:d};return`<pre><code${r.renderAttrs(g)}>${c}</code></pre>\n`}return`<pre><code${r.renderAttrs(l)}>${c}</code></pre>\n`},Mt.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)},Mt.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},Mt.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},Mt.text=function(e,t){return Dn(e[t].content)},Mt.html_block=function(e,t){return e[t].content},Mt.html_inline=function(e,t){return e[t].content},ju.prototype.renderAttrs=function(t){let n,u,r;if(!t.attrs)return"";for(r="",n=0,u=t.attrs.length;n<u;n++)r+=" "+Dn(t.attrs[n][0])+'="'+Dn(t.attrs[n][1])+'"';return r},ju.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},ju.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},ju.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},ju.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},We.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},We.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))}))}))},We.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},We.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},We.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},We.prototype.push=function(e,t,n){const u=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:u.alt||[]}),this.__cache__=null},We.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},We.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(n){n.enabled=!1})),this.enable(e,t)},We.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},We.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},Ct.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},Ct.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},Ct.prototype.attrSet=function(t,n){const u=this.attrIndex(t),r=[t,n];u<0?this.attrPush(r):this.attrs[u]=r},Ct.prototype.attrGet=function(t){const n=this.attrIndex(t);let u=null;return n>=0&&(u=this.attrs[n][1]),u},Ct.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},vf.prototype.Token=Ct;const Pm=/\r\n?|\n/g,Rm=/\0/g;function Bm(e){return/^<a[>\s]/i.test(e)}function Hm(e){return/^<\/a\s*>/i.test(e)}const bf=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Vm=/\((c|tm|r)\)/i,Zm=/\((c|tm|r)\)/gi,Wm={c:"©",r:"®",tm:"™"};function Gm(e,t){return Wm[t.toLowerCase()]}function Qm(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(Zm,Gm)),"link_open"===u.type&&"auto"===u.info&&t--,"link_close"===u.type&&"auto"===u.info&&t++}}function Ym(e){let t=0;for(let n=e.length-1;n>=0;n--){const u=e[n];"text"===u.type&&!t&&bf.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 Xm=/['"]/,_f=/['"]/g,kf="’";function wl(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function Jm(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,c=i.length;e:for(;a<c;){_f.lastIndex=a;const f=_f.exec(i);if(!f)break;let d=!0,g=!0;a=f.index+1;const y="'"===f[0];let m=32;if(f.index-1>=0)m=i.charCodeAt(f.index-1);else for(n=r-1;n>=0&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n--)if(e[n].content){m=e[n].content.charCodeAt(e[n].content.length-1);break}let k=32;if(a<c)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 j=Tr(m)||Mr(String.fromCharCode(m)),x=Tr(k)||Mr(String.fromCharCode(k)),p=Nr(m),w=Nr(k);if(w?d=!1:x&&(p||j||(d=!1)),p?g=!1:j&&(w||x||(g=!1)),34===k&&'"'===f[0]&&m>=48&&m<=57&&(g=d=!1),d&&g&&(d=j,g=x),d||g){if(g)for(n=u.length-1;n>=0;n--){let v=u[n];if(u[n].level<o)break;if(v.single===y&&u[n].level===o){let E,S;v=u[n],y?(E=t.md.options.quotes[2],S=t.md.options.quotes[3]):(E=t.md.options.quotes[0],S=t.md.options.quotes[1]),l.content=wl(l.content,f.index,S),e[v.token].content=wl(e[v.token].content,v.pos,E),a+=S.length-1,v.token===r&&(a+=E.length-1),i=l.content,c=i.length,u.length=n;continue e}}d?u.push({token:r,pos:f.index,single:y,level:o}):g&&y&&(l.content=wl(l.content,f.index,kf))}else y&&(l.content=wl(l.content,f.index,kf))}}}const la=[["normalize",function(e){let t;t=e.src.replace(Pm,"\n"),t=t.replace(Rm,"�"),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&&(Bm(i.content)&&l>0&&l--,Hm(i.content)&&l++),!(l>0)&&"text"===i.type&&e.md.linkify.test(i.content)){const a=i.content;let c=e.md.linkify.match(a);const f=[];let d=i.level,g=0;c.length>0&&0===c[0].index&&o>0&&"text_special"===r[o-1].type&&(c=c.slice(1));for(let y=0;y<c.length;y++){const m=c[y].url,k=e.md.normalizeLink(m);if(!e.md.validateLink(k))continue;let j=c[y].text;j=c[y].schema?"mailto:"!==c[y].schema||/^mailto:/i.test(j)?e.md.normalizeLinkText(j):e.md.normalizeLinkText("mailto:"+j).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+j).replace(/^http:\/\//,"");const x=c[y].index;if(x>g){const E=new e.Token("text","",0);E.content=a.slice(g,x),E.level=d,f.push(E)}const p=new e.Token("link_open","a",1);p.attrs=[["href",k]],p.level=d++,p.markup="linkify",p.info="auto",f.push(p);const w=new e.Token("text","",0);w.content=j,w.level=d,f.push(w);const v=new e.Token("link_close","a",-1);v.level=--d,v.markup="linkify",v.info="auto",f.push(v),g=c[y].lastIndex}if(g<a.length){const y=new e.Token("text","",0);y.content=a.slice(g),y.level=d,f.push(y)}t[n].children=r=xf(r,o,f)}}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&&(Vm.test(e.tokens[t].content)&&Qm(e.tokens[t].children),bf.test(e.tokens[t].content)&&Ym(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||!Xm.test(e.tokens[t].content)||Jm(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 oa(){this.ruler=new We;for(let e=0;e<la.length;e++)this.ruler.push(la[e][0],la[e][1])}function Tt(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,c=r.length,f=!1;o<c;o++){const d=r.charCodeAt(o);if(!f){if(Y(d)){i++,9===d?a+=4-a%4:a++;continue}f=!0}(10===d||o===c-1)&&(10!==d&&o++,this.bMarks.push(l),this.eMarks.push(o),this.tShift.push(i),this.sCount.push(a),this.bsCount.push(0),f=!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}oa.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,u=t.length;n<u;n++)t[n](e)},oa.prototype.State=vf,Tt.prototype.push=function(e,t,n){const u=new Ct(e,t,n);return u.block=!0,n<0&&this.level--,u.level=this.level,n>0&&this.level++,this.tokens.push(u),u},Tt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},Tt.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t},Tt.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){if(!Y(this.src.charCodeAt(t)))break}return t},Tt.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!Y(this.src.charCodeAt(--t)))return t+1;return t},Tt.prototype.skipChars=function(t,n){for(let u=this.src.length;t<u&&this.src.charCodeAt(t)===n;t++);return t},Tt.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},Tt.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 c=this.bMarks[i];let d,f=c;for(d=i+1<n||r?this.eMarks[i]+1:this.eMarks[i];f<d&&a<u;){const g=this.src.charCodeAt(f);if(Y(g))9===g?a+=4-(a+this.bsCount[i])%4:a++;else{if(!(f-c<this.tShift[i]))break;a++}f++}l[o]=a>u?new Array(a-u+1).join(" ")+this.src.slice(f,d):this.src.slice(f,d)}return l.join("")},Tt.prototype.Token=Ct;function ia(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];return e.src.slice(n,u)}function Ef(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 Cf(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(!Y(e.src.charCodeAt(u)))return-1}return u}function Sf(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),!Y(l))?-1:r}const Af="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",jf="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",x8=new RegExp("^(?:"+Af+"|"+jf+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),y8=new RegExp("^(?:"+Af+"|"+jf+")"),Du=[[/^<(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(y8.source+"\\s*$"),/^$/,!1]];const gl=[["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&&!Y(i)||45===o&&Y(i))return!1;for(;l<e.eMarks[r];){const v=e.src.charCodeAt(l);if(124!==v&&45!==v&&58!==v&&!Y(v))return!1;l++}let a=ia(e,t+1),c=a.split("|");const f=[];for(let v=0;v<c.length;v++){const E=c[v].trim();if(!E){if(0===v||v===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(E))return!1;58===E.charCodeAt(E.length-1)?f.push(58===E.charCodeAt(0)?"center":"right"):58===E.charCodeAt(0)?f.push("left"):f.push("")}if(a=ia(e,t).trim(),-1===a.indexOf("|")||e.sCount[t]-e.blkIndent>=4)return!1;c=Ef(a),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();const d=c.length;if(0===d||d!==f.length)return!1;if(u)return!0;const g=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 v=0;v<c.length;v++){const E=e.push("th_open","th",1);f[v]&&(E.attrs=[["style","text-align:"+f[v]]]);const S=e.push("inline","",0);S.content=c[v].trim(),S.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let p,w=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let v=!1;for(let S=0,C=y.length;S<C;S++)if(y[S](e,r,n,!0)){v=!0;break}if(v||(a=ia(e,r).trim(),!a)||e.sCount[r]-e.blkIndent>=4||(c=Ef(a),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),w+=d-c.length,w>65536))break;if(r===t+2){e.push("tbody_open","tbody",1).map=p=[t+2,0]}e.push("tr_open","tr",1).map=[r,r+1];for(let S=0;S<d;S++){const C=e.push("td_open","td",1);f[S]&&(C.attrs=[["style","text-align:"+f[S]]]);const A=e.push("inline","",0);A.content=c[S]?c[S].trim():"",A.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return p&&(e.push("tbody_close","tbody",-1),p[1]=r),e.push("table_close","table",-1),k[1]=r,e.parentType=g,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 c=e.src.slice(i,r),f=e.src.slice(r,l);if(96===o&&f.indexOf(String.fromCharCode(o))>=0)return!1;if(u)return!0;let d=t,g=!1;for(;d++,!(d>=n||(r=i=e.bMarks[d]+e.tShift[d],l=e.eMarks[d],r<l&&e.sCount[d]<e.blkIndent));)if(!(e.src.charCodeAt(r)!==o||e.sCount[d]-e.blkIndent>=4||(r=e.skipChars(r,o),r-i<a||(r=e.skipSpaces(r),r<l)))){g=!0;break}a=e.sCount[t],e.line=d+(g?1:0);const y=e.push("fence","code",0);return y.info=f,y.content=e.getLines(t+1,d,a,!0),y.markup=c,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=[],c=[],f=[],d=e.md.block.ruler.getRules("blockquote"),g=e.parentType;e.parentType="blockquote";let m,y=!1;for(m=t;m<n;m++){const w=e.sCount[m]<e.blkIndent;if(r=e.bMarks[m]+e.tShift[m],l=e.eMarks[m],r>=l)break;if(62===e.src.charCodeAt(r++)&&!w){let S,C,E=e.sCount[m]+1;32===e.src.charCodeAt(r)?(r++,E++,C=!1,S=!0):9===e.src.charCodeAt(r)?(S=!0,(e.bsCount[m]+E)%4==3?(r++,E++,C=!1):C=!0):S=!1;let A=E;for(i.push(e.bMarks[m]),e.bMarks[m]=r;r<l;){const O=e.src.charCodeAt(r);if(!Y(O))break;9===O?A+=4-(A+e.bsCount[m]+(C?1:0))%4:A++,r++}y=r>=l,a.push(e.bsCount[m]),e.bsCount[m]=e.sCount[m]+1+(S?1:0),c.push(e.sCount[m]),e.sCount[m]=A-E,f.push(e.tShift[m]),e.tShift[m]=r-e.bMarks[m];continue}if(y)break;let v=!1;for(let E=0,S=d.length;E<S;E++)if(d[E](e,m,n,!0)){v=!0;break}if(v){e.lineMax=m,0!==e.blkIndent&&(i.push(e.bMarks[m]),a.push(e.bsCount[m]),f.push(e.tShift[m]),c.push(e.sCount[m]),e.sCount[m]-=e.blkIndent);break}i.push(e.bMarks[m]),a.push(e.bsCount[m]),f.push(e.tShift[m]),c.push(e.sCount[m]),e.sCount[m]=-1}const k=e.blkIndent;e.blkIndent=0;const j=e.push("blockquote_open","blockquote",1);j.markup=">";const x=[t,0];j.map=x,e.md.block.tokenize(e,t,m),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=o,e.parentType=g,x[1]=e.line;for(let w=0;w<f.length;w++)e.bMarks[w+t]=i[w],e.tShift[w+t]=f[w],e.sCount[w+t]=c[w],e.bsCount[w+t]=a[w];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 c=e.src.charCodeAt(l++);if(c!==o&&!Y(c))return!1;c===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,c=!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 d,g,y,f=!1;if(u&&"paragraph"===e.parentType&&e.sCount[a]>=e.blkIndent&&(f=!0),(y=Sf(e,a))>=0){if(d=!0,o=e.bMarks[a]+e.tShift[a],g=Number(e.src.slice(o,y-1)),f&&1!==g)return!1}else{if(!((y=Cf(e,a))>=0))return!1;d=!1}if(f&&e.skipSpaces(y)>=e.eMarks[a])return!1;if(u)return!0;const m=e.src.charCodeAt(y-1),k=e.tokens.length;d?(i=e.push("ordered_list_open","ol",1),1!==g&&(i.attrs=[["start",g]])):i=e.push("bullet_list_open","ul",1);const j=[a,0];i.map=j,i.markup=String.fromCharCode(m);let x=!1;const p=e.md.block.ruler.getRules("list"),w=e.parentType;for(e.parentType="list";a<n;){l=y,r=e.eMarks[a];const v=e.sCount[a]+y-(e.bMarks[a]+e.tShift[a]);let E=v;for(;l<r;){const Ne=e.src.charCodeAt(l);if(9===Ne)E+=4-(E+e.bsCount[a])%4;else{if(32!==Ne)break;E++}l++}const S=l;let C;C=S>=r?1:E-v,C>4&&(C=1);const A=v+C;i=e.push("list_item_open","li",1),i.markup=String.fromCharCode(m);const O=[a,0];i.map=O,d&&(i.info=e.src.slice(o,y-1));const T=e.tight,I=e.tShift[a],W=e.sCount[a],ie=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=A,e.tight=!0,e.tShift[a]=S-e.bMarks[a],e.sCount[a]=E,S>=r&&e.isEmpty(a+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,a,n,!0),(!e.tight||x)&&(c=!1),x=e.line-a>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=ie,e.tShift[a]=I,e.sCount[a]=W,e.tight=T,i=e.push("list_item_close","li",-1),i.markup=String.fromCharCode(m),a=e.line,O[1]=a,a>=n||e.sCount[a]<e.blkIndent||e.sCount[a]-e.blkIndent>=4)break;let xe=!1;for(let Ne=0,Ge=p.length;Ne<Ge;Ne++)if(p[Ne](e,a,n,!0)){xe=!0;break}if(xe)break;if(d){if(y=Sf(e,a),y<0)break;o=e.bMarks[a]+e.tShift[a]}else if(y=Cf(e,a),y<0)break;if(m!==e.src.charCodeAt(y-1))break}return i=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),i.markup=String.fromCharCode(m),j[1]=a,e.line=a,e.parentType=w,c&&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(p){const w=e.lineMax;if(p>=w||e.isEmpty(p))return null;let v=!1;if(e.sCount[p]-e.blkIndent>3&&(v=!0),e.sCount[p]<0&&(v=!0),!v){const C=e.md.block.ruler.getRules("reference"),A=e.parentType;e.parentType="reference";let O=!1;for(let T=0,I=C.length;T<I;T++)if(C[T](e,p,w,!0)){O=!0;break}if(e.parentType=A,O)return null}const E=e.bMarks[p]+e.tShift[p],S=e.eMarks[p];return e.src.slice(E,S+1)}let a=e.src.slice(r,l+1);l=a.length;let c=-1;for(r=1;r<l;r++){const p=a.charCodeAt(r);if(91===p)return!1;if(93===p){c=r;break}if(10===p){const w=i(o);null!==w&&(a+=w,l=a.length,o++)}else if(92===p&&(r++,r<l&&10===a.charCodeAt(r))){const w=i(o);null!==w&&(a+=w,l=a.length,o++)}}if(c<0||58!==a.charCodeAt(c+1))return!1;for(r=c+2;r<l;r++){const p=a.charCodeAt(r);if(10===p){const w=i(o);null!==w&&(a+=w,l=a.length,o++)}else if(!Y(p))break}const f=e.md.helpers.parseLinkDestination(a,r,l);if(!f.ok)return!1;const d=e.md.normalizeLink(f.str);if(!e.md.validateLink(d))return!1;r=f.pos;const g=r,y=o,m=r;for(;r<l;r++){const p=a.charCodeAt(r);if(10===p){const w=i(o);null!==w&&(a+=w,l=a.length,o++)}else if(!Y(p))break}let j,k=e.md.helpers.parseLinkTitle(a,r,l);for(;k.can_continue;){const p=i(o);if(null===p)break;a+=p,r=l,l=a.length,o++,k=e.md.helpers.parseLinkTitle(a,r,l,k)}for(r<l&&m!==r&&k.ok?(j=k.str,r=k.pos):(j="",r=g,o=y);r<l;){if(!Y(a.charCodeAt(r)))break;r++}if(r<l&&10!==a.charCodeAt(r)&&j)for(j="",r=g,o=y;r<l;){if(!Y(a.charCodeAt(r)))break;r++}if(r<l&&10!==a.charCodeAt(r))return!1;const x=ml(a.slice(1,c));return!!x&&(u||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[x]>"u"&&(e.env.references[x]={title:j,href:d}),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<Du.length&&!Du[i][0].test(o);i++);if(i===Du.length)return!1;if(u)return Du[i][2];let a=t+1;if(!Du[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),Du[i][1].test(o)){0!==o.length&&a++;break}e.line=a;const c=e.push("html_block","",0);return c.map=[t,a],c.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&&!Y(o))return!1;if(u)return!0;l=e.skipSpacesBack(l,r);const a=e.skipCharsBack(l,35,r);a>r&&Y(e.src.charCodeAt(a-1))&&(l=a),e.line=t+1;const c=e.push("heading_open","h"+String(i),1);c.markup="########".slice(0,i),c.map=[t,e.line];const f=e.push("inline","",0);return f.content=e.src.slice(r,l).trim(),f.map=[t,e.line],f.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 m=e.eMarks[i];if(y<m&&(o=e.src.charCodeAt(y),(45===o||61===o)&&(y=e.skipChars(y,o),y=e.skipSpaces(y),y>=m))){l=61===o?1:2;break}}if(e.sCount[i]<0)continue;let g=!1;for(let y=0,m=u.length;y<m;y++)if(u[y](e,i,n,!0)){g=!0;break}if(g)break}if(!l)return!1;const a=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i+1;const c=e.push("heading_open","h"+String(l),1);c.markup=String.fromCharCode(o),c.map=[t,e.line];const f=e.push("inline","",0);return f.content=a,f.map=[t,e.line-1],f.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 c=!1;for(let f=0,d=u.length;f<d;f++)if(u[f](e,l,n,!0)){c=!0;break}if(c)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 xl(){this.ruler=new We;for(let e=0;e<gl.length;e++)this.ruler.push(gl[e][0],gl[e][1],{alt:(gl[e][2]||[]).slice()})}function Lr(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 E8(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}}xl.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 c=!1;for(let f=0;f<r;f++)if(c=u[f](e,o,n,!1),c){if(a>=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)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)}},xl.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)},xl.prototype.State=Tt,Lr.prototype.pushPending=function(){const e=new Ct("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},Lr.prototype.push=function(e,t,n){this.pending&&this.pushPending();const u=new Ct(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},Lr.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=Tr(r)||Mr(String.fromCharCode(r)),c=Tr(i)||Mr(String.fromCharCode(i)),f=Nr(r),d=Nr(i),g=!d&&(!c||f||a),y=!f&&(!a||d||c);return{can_open:g&&(t||!y||a),can_close:y&&(t||!g||c),length:o}},Lr.prototype.Token=Ct;const S8=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;const aa=[];for(let e=0;e<256;e++)aa.push(0);function Df(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){aa[e.charCodeAt(0)]=1}));const Ff={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;Df(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&Df(e,t[u].delimiters)}};function Nf(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 c=e.tokens[l.token];c.type=o?"strong_close":"em_close",c.tag=o?"strong":"em",c.nesting=-1,c.markup=o?i+i:i,c.content="",o&&(e.tokens[t[u-1].token].content="",e.tokens[t[r.end+1].token].content="",u--)}}const Mf={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;Nf(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&Nf(e,t[u].delimiters)}};const P8=/^([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])?)*)$/,R8=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;const U8=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,V8=/^&([a-z][a-z0-9]{1,31});/i;function Tf(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 c=u-l[u]-1,f=c;for(;c>a;c-=l[c]+1){const d=e[c];if(d.marker===i.marker&&d.open&&d.end<0){let g=!1;if((d.close||i.open)&&(d.length+i.length)%3==0&&(d.length%3!=0||i.length%3!=0)&&(g=!0),!g){const y=c>0&&!e[c-1].open?l[c-1]+1:0;l[o]=o-c+y,l[c]=y,i.open=!1,d.end=o,d.close=!1,f=-1,r=-2;break}}}-1!==f&&(t[i.marker][(i.open?3:0)+(i.length||0)%3]=f)}}const sa=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!E8(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(S8);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 c=e.push("link_open","a",1);c.attrs=[["href",a]],c.markup="linkify",c.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(i);const d=e.push("link_close","a",-1);d.markup="linkify",d.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&&Y(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),Y(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!==aa[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 c,a=n;for(;-1!==(c=e.src.indexOf("`",a));){for(a=c+1;a<l&&96===e.src.charCodeAt(a);)a++;const f=a-c;if(f===i){if(!t){const d=e.push("code_inline","code",0);d.markup=o,d.content=e.src.slice(n,c).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=a,!0}e.backticks[f]=c}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=i,!0}],["strikethrough",Ff.tokenize],["emphasis",Mf.tokenize],["link",function(e,t){let n,u,r,l,o="",i="",a=e.pos,c=!0;if(91!==e.src.charCodeAt(e.pos))return!1;const f=e.pos,d=e.posMax,g=e.pos+1,y=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(y<0)return!1;let m=y+1;if(m<d&&40===e.src.charCodeAt(m)){for(c=!1,m++;m<d&&(n=e.src.charCodeAt(m),Y(n)||10===n);m++);if(m>=d)return!1;if(a=m,r=e.md.helpers.parseLinkDestination(e.src,m,e.posMax),r.ok){for(o=e.md.normalizeLink(r.str),e.md.validateLink(o)?m=r.pos:o="",a=m;m<d&&(n=e.src.charCodeAt(m),Y(n)||10===n);m++);if(r=e.md.helpers.parseLinkTitle(e.src,m,e.posMax),m<d&&a!==m&&r.ok)for(i=r.str,m=r.pos;m<d&&(n=e.src.charCodeAt(m),Y(n)||10===n);m++);}(m>=d||41!==e.src.charCodeAt(m))&&(c=!0),m++}if(c){if(typeof e.env.references>"u")return!1;if(m<d&&91===e.src.charCodeAt(m)?(a=m+1,m=e.md.helpers.parseLinkLabel(e,m),m>=0?u=e.src.slice(a,m++):m=y+1):m=y+1,u||(u=e.src.slice(g,y)),l=e.env.references[ml(u)],!l)return e.pos=f,!1;o=l.href,i=l.title}if(!t){e.pos=g,e.posMax=y;const j=[["href",o]];e.push("link_open","a",1).attrs=j,i&&j.push(["title",i]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=m,e.posMax=d,!0}],["image",function(e,t){let n,u,r,l,o,i,a,c,f="";const d=e.pos,g=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;const y=e.pos+2,m=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(m<0)return!1;if(l=m+1,l<g&&40===e.src.charCodeAt(l)){for(l++;l<g&&(n=e.src.charCodeAt(l),Y(n)||10===n);l++);if(l>=g)return!1;for(c=l,i=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),i.ok&&(f=e.md.normalizeLink(i.str),e.md.validateLink(f)?l=i.pos:f=""),c=l;l<g&&(n=e.src.charCodeAt(l),Y(n)||10===n);l++);if(i=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<g&&c!==l&&i.ok)for(a=i.str,l=i.pos;l<g&&(n=e.src.charCodeAt(l),Y(n)||10===n);l++);else a="";if(l>=g||41!==e.src.charCodeAt(l))return e.pos=d,!1;l++}else{if(typeof e.env.references>"u")return!1;if(l<g&&91===e.src.charCodeAt(l)?(c=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?r=e.src.slice(c,l++):l=m+1):l=m+1,r||(r=e.src.slice(y,m)),o=e.env.references[ml(r)],!o)return e.pos=d,!1;f=o.href,a=o.title}if(!t){u=e.src.slice(y,m);const k=[];e.md.inline.parse(u,e.md,e.env,k);const j=e.push("image","img",0),x=[["src",f],["alt",""]];j.attrs=x,j.children=k,j.content=u,a&&x.push(["title",a])}return e.pos=l,e.posMax=g,!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(R8.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 c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=l.length+2,!0}if(P8.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 c=e.push("link_close","a",-1);c.markup="autolink",c.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(x8);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(U8);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=ra(o)?hl(o):hl(65533),i.markup=l[0],i.info="entity"}return e.pos+=l[0].length,!0}}else{const l=e.src.slice(n).match(V8);if(l){const o=gf(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}]],ca=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;Tf(e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&Tf(t[u].delimiters)}],["strikethrough",Ff.postProcess],["emphasis",Mf.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 Or(){this.ruler=new We;for(let e=0;e<sa.length;e++)this.ruler.push(sa[e][0],sa[e][1]);this.ruler2=new We;for(let e=0;e<ca.length;e++)this.ruler2.push(ca[e][0],ca[e][1])}function fa(e){return Array.prototype.slice.call(arguments,1).forEach((function(n){n&&Object.keys(n).forEach((function(u){e[u]=n[u]}))})),e}function yl(e){return Object.prototype.toString.call(e)}function Lf(e){return"[object Function]"===yl(e)}function J8(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}Or.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},Or.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()},Or.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)},Or.prototype.State=Lr;const Of={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};const tw={"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}}},nw="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]",uw="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function vl(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=df.source,t.src_Cc=pf.source,t.src_Z=mf.source,t.src_P=ea.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(nw),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 c={validate:null,link:null};if(e.__compiled__[i]=c,function(e){return"[object Object]"===yl(e)}(a))return!function(e){return"[object RegExp]"===yl(e)}(a.validate)?Lf(a.validate)?c.validate=a.validate:l(i,a):c.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(Lf(a.normalize)?c.normalize=a.normalize:a.normalize?l(i,a):c.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===yl(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(J8).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 ow(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 da(e,t){const n=new ow(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||Of.hasOwnProperty(n)}),!1)}(e)&&(t=e,e={}),this.__opts__=fa({},Of,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=fa({},tw,e),this.__compiled__={},this.__tlds__=uw,this.__tlds_replaced__=!1,this.re={},vl(this)}ut.prototype.add=function(t,n){return this.__schemas__[t]=n,vl(this),this},ut.prototype.set=function(t){return this.__opts__=fa(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,c,f;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:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c<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:"]&&(f=t.indexOf("@"),f>=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(da(this,u)),u=this.__last_index__);let r=u?t.slice(u):t;for(;this.test(r);)n.push(da(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,da(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(),vl(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,vl(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 Fu=2147483647,sw=/^xn--/,cw=/[^\0-\x7F]/,fw=/[\x2E\u3002\uFF0E\uFF61]/g,dw={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,ma=String.fromCharCode;function Fn(e){throw new RangeError(dw[e])}function $f(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(fw,".")).split("."),t).join(".");return u+l}function qf(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 mw=function(e){return e>=48&&e<58?e-48+26:e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},Bf=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},Hf=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))},Uf=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&&Fn("not-basic"),t.push(e.charCodeAt(i));for(let i=o>0?o+1:0;i<n;){const a=u;for(let f=1,d=36;;d+=36){i>=n&&Fn("invalid-input");const g=mw(e.charCodeAt(i++));g>=36&&Fn("invalid-input"),g>Ot((Fu-u)/f)&&Fn("overflow"),u+=g*f;const y=d<=l?1:d>=l+26?26:d-l;if(g<y)break;const m=36-y;f>Ot(Fu/m)&&Fn("overflow"),f*=m}const c=t.length+1;l=Hf(u-a,c,0==a),Ot(u/c)>Fu-r&&Fn("overflow"),r+=Ot(u/c),u%=c,t.splice(u++,0,r)}return String.fromCodePoint(...t)},Vf=function(e){const t=[],n=(e=qf(e)).length;let u=128,r=0,l=72;for(const a of e)a<128&&t.push(ma(a));const o=t.length;let i=o;for(o&&t.push("-");i<n;){let a=Fu;for(const f of e)f>=u&&f<a&&(a=f);const c=i+1;a-u>Ot((Fu-r)/c)&&Fn("overflow"),r+=(a-u)*c,u=a;for(const f of e)if(f<u&&++r>Fu&&Fn("overflow"),f===u){let d=r;for(let g=36;;g+=36){const y=g<=l?1:g>=l+26?26:g-l;if(d<y)break;const m=d-y,k=36-y;t.push(ma(Bf(y+m%k,0))),d=Ot(m/k)}t.push(ma(Bf(d,0))),l=Hf(r,c,i===o),r=0,++i}++r,++u}return t.join("")},Zf={version:"2.3.1",ucs2:{decode:qf,encode:e=>String.fromCodePoint(...e)},decode:Uf,encode:Vf,toASCII:function(e){return $f(e,(function(t){return cw.test(t)?"xn--"+Vf(t):t}))},toUnicode:function(e){return $f(e,(function(t){return sw.test(t)?Uf(t.slice(4).toLowerCase()):t}))}},ww={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"]}}}},gw=/^(vbscript|javascript|file|data):/,xw=/^data:image\/(gif|png|jpeg|webp);/;function yw(e){const t=e.trim().toLowerCase();return!gw.test(t)||xw.test(t)}const Wf=["http:","https:","mailto:"];function vw(e){const t=Ji(e,!0);if(t.hostname&&(!t.protocol||Wf.indexOf(t.protocol)>=0))try{t.hostname=Zf.toASCII(t.hostname)}catch{}return Fr(Xi(t))}function bw(e){const t=Ji(e,!0);if(t.hostname&&(!t.protocol||Wf.indexOf(t.protocol)>=0))try{t.hostname=Zf.toUnicode(t.hostname)}catch{}return Su(Xi(t),Su.defaultChars+"%")}function ht(e,t){if(!(this instanceof ht))return new ht(e,t);t||ua(e)||(t=e||{},e="default"),this.inline=new Or,this.block=new xl,this.core=new oa,this.renderer=new ju,this.linkify=new ut,this.validateLink=yw,this.normalizeLink=vw,this.normalizeLinkText=bw,this.utils=Mm,this.helpers=pl({},Im),this.options={},this.configure(e),t&&this.set(t)}ht.prototype.set=function(e){return pl(this.options,e),this},ht.prototype.configure=function(e){const t=this;if(ua(e)){const n=e;if(!(e=ww[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},ht.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},ht.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},ht.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},ht.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},ht.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},ht.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},ht.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const wa=ht({html:!1,typographer:!0,linkify:!0}).disable("list"),_w=wa.renderer.rules.link_open||function(e,t,n,u,r){return r.renderToken(e,t,n)};function bl(e=""){return wa.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 */wa.renderer.rules.link_open=function(e,t,n,u,r){return e[t].attrSet("target","_blank"),e[t].attrSet("rel","noopener noreferrer"),_w(e,t,n,u,r)};const{entries:Gf,setPrototypeOf:Qf,isFrozen:kw,getPrototypeOf:Ew,getOwnPropertyDescriptor:Cw}=Object;let{freeze:Pe,seal:mt,create:Yf}=Object,{apply:ga,construct:xa}=typeof Reflect<"u"&&Reflect;Pe||(Pe=function(t){return t}),mt||(mt=function(t){return t}),ga||(ga=function(t,n,u){return t.apply(n,u)}),xa||(xa=function(t,n){return new t(...n)});const _l=rt(Array.prototype.forEach),Kf=rt(Array.prototype.pop),Pr=rt(Array.prototype.push),kl=rt(String.prototype.toLowerCase),ya=rt(String.prototype.toString),Xf=rt(String.prototype.match),Rr=rt(String.prototype.replace),Sw=rt(String.prototype.indexOf),Aw=rt(String.prototype.trim),St=rt(Object.prototype.hasOwnProperty),Re=rt(RegExp.prototype.test),zr=function(e){return function(){for(var t=arguments.length,n=new Array(t),u=0;u<t;u++)n[u]=arguments[u];return xa(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 ga(e,t,u)}}function B(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:kl;Qf&&Qf(e,null);let u=t.length;for(;u--;){let r=t[u];if("string"==typeof r){const l=n(r);l!==r&&(kw(t)||(t[u]=l),r=l)}e[r]=!0}return e}function Dw(e){for(let t=0;t<e.length;t++)St(e,t)||(e[t]=null);return e}function Zn(e){const t=Yf(null);for(const[n,u]of Gf(e))St(e,n)&&(Array.isArray(u)?t[n]=Dw(u):u&&"object"==typeof u&&u.constructor===Object?t[n]=Zn(u):t[n]=u);return t}function $r(e,t){for(;null!==e;){const u=Cw(e,t);if(u){if(u.get)return rt(u.get);if("function"==typeof u.value)return rt(u.value)}e=Ew(e)}return function(){return null}}const Jf=Pe(["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"]),va=Pe(["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"]),ba=Pe(["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"]),Fw=Pe(["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"]),_a=Pe(["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"]),Nw=Pe(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ed=Pe(["#text"]),td=Pe(["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"]),ka=Pe(["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"]),nd=Pe(["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"]),El=Pe(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Mw=mt(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Tw=mt(/<%[\w\W]*|[\w\W]*%>/gm),Lw=mt(/\${[\w\W]*}/gm),Ow=mt(/^data-[\-\w.\u00B7-\uFFFF]/),Iw=mt(/^aria-[\-\w]+$/),ud=mt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Pw=mt(/^(?:\w+script|data):/i),Rw=mt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),rd=mt(/^html$/i),zw=mt(/^[a-z][.\w]*(-[.\w]+)+$/i);var ld=Object.freeze({__proto__:null,MUSTACHE_EXPR:Mw,ERB_EXPR:Tw,TMPLIT_EXPR:Lw,DATA_ATTR:Ow,ARIA_ATTR:Iw,IS_ALLOWED_URI:ud,IS_SCRIPT_OR_DATA:Pw,ATTR_WHITESPACE:Rw,DOCTYPE_NAME:rd,CUSTOM_ELEMENT:zw});const qr_element=1,qr_text=3,qr_progressingInstruction=7,qr_comment=8,qr_document=9;var id=function od(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:typeof window>"u"?null:window;const t=P=>od(P);if(t.version="3.1.6",t.removed=[],!e||!e.document||e.document.nodeType!==qr_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:c,NamedNodeMap:f=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:g,trustedTypes:y}=e,m=a.prototype,k=$r(m,"cloneNode"),j=$r(m,"remove"),x=$r(m,"nextSibling"),p=$r(m,"childNodes"),w=$r(m,"parentNode");if("function"==typeof o){const P=n.createElement("template");P.content&&P.content.ownerDocument&&(n=P.content.ownerDocument)}let v,E="";const{implementation:S,createNodeIterator:C,createDocumentFragment:A,getElementsByTagName:O}=n,{importNode:T}=u;let I={};t.isSupported="function"==typeof Gf&&"function"==typeof w&&S&&void 0!==S.createHTMLDocument;const{MUSTACHE_EXPR:W,ERB_EXPR:ie,TMPLIT_EXPR:xe,DATA_ATTR:Ne,ARIA_ATTR:Ge,IS_SCRIPT_OR_DATA:lt,ATTR_WHITESPACE:N,CUSTOM_ELEMENT:$}=ld;let{IS_ALLOWED_URI:R}=ld,z=null;const V=B({},[...Jf,...va,...ba,..._a,...ed]);let K=null;const ze=B({},[...td,...ka,...nd,...El]);let G=Object.seal(Yf(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}})),Ee=null,wt=null,Hr=!0,Mu=!0,Fl=!1,Ur=!0,It=!1,Vr=!0,Xt=!1,Tu=!1,Lu=!1,U=!1,Ce=!1,ae=!1,de=!0,Qe=!1,ot=!0,en=!1,gt={},tn=null;const pe=B({},["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 nn=null;const Ou=B({},["audio","video","img","source","image","track"]);let Pt=null;const Iu=B({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Gn="http://www.w3.org/1998/Math/MathML",Nl="http://www.w3.org/2000/svg",un="http://www.w3.org/1999/xhtml";let Pu=un,Ia=!1,Pa=null;const Og=B({},[Gn,Nl,un],ya);let Zr=null;const Ig=["application/xhtml+xml","text/html"];let ye=null,Ru=null;const Rg=n.createElement("form"),Pd=function(_){return _ instanceof RegExp||_ instanceof Function},Ra=function(){let _=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ru||Ru!==_){if((!_||"object"!=typeof _)&&(_={}),_=Zn(_),Zr=-1===Ig.indexOf(_.PARSER_MEDIA_TYPE)?"text/html":_.PARSER_MEDIA_TYPE,ye="application/xhtml+xml"===Zr?ya:kl,z=St(_,"ALLOWED_TAGS")?B({},_.ALLOWED_TAGS,ye):V,K=St(_,"ALLOWED_ATTR")?B({},_.ALLOWED_ATTR,ye):ze,Pa=St(_,"ALLOWED_NAMESPACES")?B({},_.ALLOWED_NAMESPACES,ya):Og,Pt=St(_,"ADD_URI_SAFE_ATTR")?B(Zn(Iu),_.ADD_URI_SAFE_ATTR,ye):Iu,nn=St(_,"ADD_DATA_URI_TAGS")?B(Zn(Ou),_.ADD_DATA_URI_TAGS,ye):Ou,tn=St(_,"FORBID_CONTENTS")?B({},_.FORBID_CONTENTS,ye):pe,Ee=St(_,"FORBID_TAGS")?B({},_.FORBID_TAGS,ye):{},wt=St(_,"FORBID_ATTR")?B({},_.FORBID_ATTR,ye):{},gt=!!St(_,"USE_PROFILES")&&_.USE_PROFILES,Hr=!1!==_.ALLOW_ARIA_ATTR,Mu=!1!==_.ALLOW_DATA_ATTR,Fl=_.ALLOW_UNKNOWN_PROTOCOLS||!1,Ur=!1!==_.ALLOW_SELF_CLOSE_IN_ATTR,It=_.SAFE_FOR_TEMPLATES||!1,Vr=!1!==_.SAFE_FOR_XML,Xt=_.WHOLE_DOCUMENT||!1,U=_.RETURN_DOM||!1,Ce=_.RETURN_DOM_FRAGMENT||!1,ae=_.RETURN_TRUSTED_TYPE||!1,Lu=_.FORCE_BODY||!1,de=!1!==_.SANITIZE_DOM,Qe=_.SANITIZE_NAMED_PROPS||!1,ot=!1!==_.KEEP_CONTENT,en=_.IN_PLACE||!1,R=_.ALLOWED_URI_REGEXP||ud,Pu=_.NAMESPACE||un,G=_.CUSTOM_ELEMENT_HANDLING||{},_.CUSTOM_ELEMENT_HANDLING&&Pd(_.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(G.tagNameCheck=_.CUSTOM_ELEMENT_HANDLING.tagNameCheck),_.CUSTOM_ELEMENT_HANDLING&&Pd(_.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(G.attributeNameCheck=_.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),_.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof _.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(G.allowCustomizedBuiltInElements=_.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),It&&(Mu=!1),Ce&&(U=!0),gt&&(z=B({},ed),K=[],!0===gt.html&&(B(z,Jf),B(K,td)),!0===gt.svg&&(B(z,va),B(K,ka),B(K,El)),!0===gt.svgFilters&&(B(z,ba),B(K,ka),B(K,El)),!0===gt.mathMl&&(B(z,_a),B(K,nd),B(K,El))),_.ADD_TAGS&&(z===V&&(z=Zn(z)),B(z,_.ADD_TAGS,ye)),_.ADD_ATTR&&(K===ze&&(K=Zn(K)),B(K,_.ADD_ATTR,ye)),_.ADD_URI_SAFE_ATTR&&B(Pt,_.ADD_URI_SAFE_ATTR,ye),_.FORBID_CONTENTS&&(tn===pe&&(tn=Zn(tn)),B(tn,_.FORBID_CONTENTS,ye)),ot&&(z["#text"]=!0),Xt&&B(z,["html","head","body"]),z.table&&(B(z,["tbody"]),delete Ee.tbody),_.TRUSTED_TYPES_POLICY){if("function"!=typeof _.TRUSTED_TYPES_POLICY.createHTML)throw zr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof _.TRUSTED_TYPES_POLICY.createScriptURL)throw zr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');v=_.TRUSTED_TYPES_POLICY,E=v.createHTML("")}else void 0===v&&(v=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!==v&&"string"==typeof E&&(E=v.createHTML(""));Pe&&Pe(_),Ru=_}},Rd=B({},["mi","mo","mn","ms","mtext"]),zd=B({},["foreignobject","annotation-xml"]),zg=B({},["title","style","font","a","script"]),$d=B({},[...va,...ba,...Fw]),qd=B({},[..._a,...Nw]),Rt=function(_){Pr(t.removed,{element:_});try{w(_).removeChild(_)}catch{j(_)}},Ml=function(_,F){try{Pr(t.removed,{attribute:F.getAttributeNode(_),from:F})}catch{Pr(t.removed,{attribute:null,from:F})}if(F.removeAttribute(_),"is"===_&&!K[_])if(U||Ce)try{Rt(F)}catch{}else try{F.setAttribute(_,"")}catch{}},Bd=function(_){let F=null,L=null;if(Lu)_="<remove></remove>"+_;else{const Se=Xf(_,/^[\r\n\t ]+/);L=Se&&Se[0]}"application/xhtml+xml"===Zr&&Pu===un&&(_='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+_+"</body></html>");const X=v?v.createHTML(_):_;if(Pu===un)try{F=(new g).parseFromString(X,Zr)}catch{}if(!F||!F.documentElement){F=S.createDocument(Pu,"template",null);try{F.documentElement.innerHTML=Ia?E:X}catch{}}const Me=F.body||F.documentElement;return _&&L&&Me.insertBefore(n.createTextNode(L),Me.childNodes[0]||null),Pu===un?O.call(F,Xt?"html":"body")[0]:Xt?F.documentElement:Me},Hd=function(_){return C.call(_.ownerDocument||_,_,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Ud=function(_){return _ instanceof d&&("string"!=typeof _.nodeName||"string"!=typeof _.textContent||"function"!=typeof _.removeChild||!(_.attributes instanceof f)||"function"!=typeof _.removeAttribute||"function"!=typeof _.setAttribute||"string"!=typeof _.namespaceURI||"function"!=typeof _.insertBefore||"function"!=typeof _.hasChildNodes)},Vd=function(_){return"function"==typeof i&&_ instanceof i},rn=function(_,F,L){I[_]&&_l(I[_],(X=>{X.call(t,F,L,Ru)}))},Zd=function(_){let F=null;if(rn("beforeSanitizeElements",_,null),Ud(_))return Rt(_),!0;const L=ye(_.nodeName);if(rn("uponSanitizeElement",_,{tagName:L,allowedTags:z}),_.hasChildNodes()&&!Vd(_.firstElementChild)&&Re(/<[/\w]/g,_.innerHTML)&&Re(/<[/\w]/g,_.textContent)||_.nodeType===qr_progressingInstruction||Vr&&_.nodeType===qr_comment&&Re(/<[/\w]/g,_.data))return Rt(_),!0;if(!z[L]||Ee[L]){if(!Ee[L]&&Gd(L)&&(G.tagNameCheck instanceof RegExp&&Re(G.tagNameCheck,L)||G.tagNameCheck instanceof Function&&G.tagNameCheck(L)))return!1;if(ot&&!tn[L]){const X=w(_)||_.parentNode,Me=p(_)||_.childNodes;if(Me&&X){for(let Ye=Me.length-1;Ye>=0;--Ye){const zt=k(Me[Ye],!0);zt.__removalCount=(_.__removalCount||0)+1,X.insertBefore(zt,x(_))}}}return Rt(_),!0}return _ instanceof a&&!function(_){let F=w(_);(!F||!F.tagName)&&(F={namespaceURI:Pu,tagName:"template"});const L=kl(_.tagName),X=kl(F.tagName);return!!Pa[_.namespaceURI]&&(_.namespaceURI===Nl?F.namespaceURI===un?"svg"===L:F.namespaceURI===Gn?"svg"===L&&("annotation-xml"===X||Rd[X]):!!$d[L]:_.namespaceURI===Gn?F.namespaceURI===un?"math"===L:F.namespaceURI===Nl?"math"===L&&zd[X]:!!qd[L]:_.namespaceURI===un?!(F.namespaceURI===Nl&&!zd[X]||F.namespaceURI===Gn&&!Rd[X])&&!qd[L]&&(zg[L]||!$d[L]):!("application/xhtml+xml"!==Zr||!Pa[_.namespaceURI]))}(_)||("noscript"===L||"noembed"===L||"noframes"===L)&&Re(/<\/no(script|embed|frames)/i,_.innerHTML)?(Rt(_),!0):(It&&_.nodeType===qr_text&&(F=_.textContent,_l([W,ie,xe],(X=>{F=Rr(F,X," ")})),_.textContent!==F&&(Pr(t.removed,{element:_.cloneNode()}),_.textContent=F)),rn("afterSanitizeElements",_,null),!1)},Wd=function(_,F,L){if(de&&("id"===F||"name"===F)&&(L in n||L in Rg))return!1;if((!Mu||wt[F]||!Re(Ne,F))&&(!Hr||!Re(Ge,F)))if(!K[F]||wt[F]){if(!(Gd(_)&&(G.tagNameCheck instanceof RegExp&&Re(G.tagNameCheck,_)||G.tagNameCheck instanceof Function&&G.tagNameCheck(_))&&(G.attributeNameCheck instanceof RegExp&&Re(G.attributeNameCheck,F)||G.attributeNameCheck instanceof Function&&G.attributeNameCheck(F))||"is"===F&&G.allowCustomizedBuiltInElements&&(G.tagNameCheck instanceof RegExp&&Re(G.tagNameCheck,L)||G.tagNameCheck instanceof Function&&G.tagNameCheck(L))))return!1}else if(!Pt[F]&&!Re(R,Rr(L,N,""))&&("src"!==F&&"xlink:href"!==F&&"href"!==F||"script"===_||0!==Sw(L,"data:")||!nn[_])&&(!Fl||Re(lt,Rr(L,N,"")))&&L)return!1;return!0},Gd=function(_){return"annotation-xml"!==_&&Xf(_,$)},Qd=function(_){rn("beforeSanitizeAttributes",_,null);const{attributes:F}=_;if(!F)return;const L={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:K};let X=F.length;for(;X--;){const Me=F[X],{name:Se,namespaceURI:Ye,value:zt}=Me,Wr=ye(Se);let $e="value"===Se?zt:Aw(zt);if(L.attrName=Wr,L.attrValue=$e,L.keepAttr=!0,L.forceKeepAttr=void 0,rn("uponSanitizeAttribute",_,L),$e=L.attrValue,Vr&&Re(/((--!?|])>)|<\/(style|title)/i,$e)){Ml(Se,_);continue}if(L.forceKeepAttr||(Ml(Se,_),!L.keepAttr))continue;if(!Ur&&Re(/\/>/i,$e)){Ml(Se,_);continue}It&&_l([W,ie,xe],(Kd=>{$e=Rr($e,Kd," ")}));const Yd=ye(_.nodeName);if(Wd(Yd,Wr,$e)){if(Qe&&("id"===Wr||"name"===Wr)&&(Ml(Se,_),$e="user-content-"+$e),v&&"object"==typeof y&&"function"==typeof y.getAttributeType&&!Ye)switch(y.getAttributeType(Yd,Wr)){case"TrustedHTML":$e=v.createHTML($e);break;case"TrustedScriptURL":$e=v.createScriptURL($e)}try{Ye?_.setAttributeNS(Ye,Se,$e):_.setAttribute(Se,$e),Ud(_)?Rt(_):Kf(t.removed)}catch{}}}rn("afterSanitizeAttributes",_,null)},qg=function P(_){let F=null;const L=Hd(_);for(rn("beforeSanitizeShadowDOM",_,null);F=L.nextNode();)rn("uponSanitizeShadowNode",F,null),!Zd(F)&&(F.content instanceof l&&P(F.content),Qd(F));rn("afterSanitizeShadowDOM",_,null)};return t.sanitize=function(P){let _=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},F=null,L=null,X=null,Me=null;if(Ia=!P,Ia&&(P="\x3c!--\x3e"),"string"!=typeof P&&!Vd(P)){if("function"!=typeof P.toString)throw zr("toString is not a function");if("string"!=typeof(P=P.toString()))throw zr("dirty is not a string, aborting")}if(!t.isSupported)return P;if(Tu||Ra(_),t.removed=[],"string"==typeof P&&(en=!1),en){if(P.nodeName){const zt=ye(P.nodeName);if(!z[zt]||Ee[zt])throw zr("root node is forbidden and cannot be sanitized in-place")}}else if(P instanceof i)F=Bd("\x3c!----\x3e"),L=F.ownerDocument.importNode(P,!0),L.nodeType===qr_element&&"BODY"===L.nodeName||"HTML"===L.nodeName?F=L:F.appendChild(L);else{if(!U&&!It&&!Xt&&-1===P.indexOf("<"))return v&&ae?v.createHTML(P):P;if(F=Bd(P),!F)return U?null:ae?E:""}F&&Lu&&Rt(F.firstChild);const Se=Hd(en?P:F);for(;X=Se.nextNode();)Zd(X)||(X.content instanceof l&&qg(X.content),Qd(X));if(en)return P;if(U){if(Ce)for(Me=A.call(F.ownerDocument);F.firstChild;)Me.appendChild(F.firstChild);else Me=F;return(K.shadowroot||K.shadowrootmode)&&(Me=T.call(u,Me,!0)),Me}let Ye=Xt?F.outerHTML:F.innerHTML;return Xt&&z["!doctype"]&&F.ownerDocument&&F.ownerDocument.doctype&&F.ownerDocument.doctype.name&&Re(rd,F.ownerDocument.doctype.name)&&(Ye="<!DOCTYPE "+F.ownerDocument.doctype.name+">\n"+Ye),It&&_l([W,ie,xe],(zt=>{Ye=Rr(Ye,zt," ")})),v&&ae?v.createHTML(Ye):Ye},t.setConfig=function(){Ra(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Tu=!0},t.clearConfig=function(){Ru=null,Tu=!1},t.isValidAttribute=function(P,_,F){Ru||Ra({});const L=ye(P),X=ye(_);return Wd(L,X,F)},t.addHook=function(P,_){"function"==typeof _&&(I[P]=I[P]||[],Pr(I[P],_))},t.removeHook=function(P){if(I[P])return Kf(I[P])},t.removeHooks=function(P){I[P]&&(I[P]=[])},t.removeAllHooks=function(){I={}},t}();function ad(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 Bw(e,t="en"){const n=new Date(e),u=new Date,r=new Date;r.setDate(u.getDate()-1);const l=pt[t]||pt.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 Vw=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},b.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"})),Zw=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},b.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"})),Ww=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},b.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"})),Gw=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none",...e},b.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"}),b.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"})),Qw=({document:e,query:t})=>s.jsxs("div",{className:"tw-qk tw-xp",children:[s.jsxs("div",{className:"tw-yq tw-wm tw-fr tw-lt tw-tr tw-ch tw-sm tw-um tw-hd",children:[s.jsx("span",{className:"tw-gm tw-gf tw-jl tw-fg",children:e.key}),s.jsxs("span",{className:"tw-so tw-zi tw-jl tw-jg",children:["Query: ",t]}),s.jsxs("span",{className:"tw-so tw-zi tw-jl tw-jg",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]})]}),s.jsxs("div",{className:"tw-so tw-jl tw-as tw-vr tw-kg tw-kb tw-fa tw-qd anm-scroll-container",children:[s.jsx(sd,{}),e.content,s.jsx(sd,{})]})]}),sd=()=>s.jsxs("div",{className:"tw-kj tw-bn tw-rr",children:[s.jsxs("div",{className:"tw-yq tw-lh tw-xp",children:[s.jsx("div",{className:"tw-hq tw-si tw-ai tw-us"}),s.jsx("div",{className:"tw-hq tw-kr tw-si tw-ai tw-ts"}),s.jsx("div",{className:"tw-hq tw-kr tw-si tw-ai tw-xp"})]}),s.jsxs("div",{className:"tw-yq tw-lh tw-xp tw-qf",children:[s.jsx("div",{className:"tw-hq tw-si tw-ai tw-xp"}),s.jsx("div",{className:"tw-hq tw-kr tw-si tw-ai tw-xp"}),s.jsx("div",{className:"tw-hq tw-kr tw-si tw-ai tw-ts"})]}),s.jsxs("div",{className:"tw-yq tw-lh tw-xp tw-pf",children:[s.jsx("div",{className:"tw-hq tw-si tw-ai tw-xp"}),s.jsx("div",{className:"tw-hq tw-kr tw-si tw-ai tw-ws"}),s.jsx("div",{className:"tw-hq tw-kr tw-si tw-ai tw-xp"})]})]}),Yw=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},b.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"}),b.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"})),Kw_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}},Xw=({message:e,query:t,sources:n,onClose:u,messageID:r,settings:l})=>{const[o,i]=b.useState(t),[a,c]=b.useState(e),[f,d]=b.useState(""),[g,y]=b.useState(""),m=Wn.settings.language,k=pt[m]||pt.en,[j,x]=b.useState(!1),[p,w]=b.useState(!1),[v,E]=b.useState(""),[S,C]=b.useState(!1),A={messageID:r,question:t,aiAnswer:a,answer:g,remark:f,reference:null==n?void 0:n.map((I=>({s3Key:null==I?void 0:I.key,content:null==I?void 0:I.content})))},T=()=>{C(!0),setTimeout((()=>C(!1)),300)};return s.jsxs("div",{className:"tw-qk tw-xp tw-jl",children:[s.jsx("div",{className:"tw-yq tw-wm tw-fr tw-lt tw-ch tw-sm tw-um tw-hd",children:s.jsx("span",{className:"tw-to tw-mr tw-dr tw-hl",children:k.report})}),s.jsx("div",{className:"tw-yq tw-wm tw-fq tw-ea tw-qd anm-scroll-container",children:s.jsxs("div",{className:"tw-yq tw-wm tw-gq tw-ls tw-vr tw-gs",children:[s.jsxs("div",{className:"tw-yq tw-wm tw-dq",children:[s.jsx("span",{className:"tw-so tw-hl",children:k.question}),s.jsx("input",{type:"text",value:o,onChange:I=>i(I.target.value),className:"tw-lq tw-so tw-ch tw-ua tw-zo tw-hd tw-qk",placeholder:k.question,disabled:!0})]}),s.jsxs("div",{className:"tw-yq tw-wm tw-dq",children:[s.jsx("span",{className:"tw-so tw-hl",children:k.answer}),s.jsx("textarea",{onChange:I=>{c(I.target.value)},value:a,className:"tw-lq tw-so tw-ch tw-ua tw-zo tw-hd tw-qk tw-gn",cols:"30",rows:"6",placeholder:k.answer,disabled:!0,style:{scrollbarWidth:"thin"}})]}),s.jsxs("div",{className:"tw-yq tw-wm tw-dq",children:[s.jsx("span",{className:"tw-hl tw-so",children:k.answerCorrect}),s.jsx("textarea",{onChange:I=>{y(I.target.value)},value:g,className:"tw-lq tw-zo tw-hd tw-yh tw-qk tw-so tw-gn",cols:"10",rows:"3",placeholder:k.answerCorrect,style:{scrollbarWidth:"thin"}})]}),s.jsxs("div",{className:"tw-yq tw-wm tw-dq",children:[s.jsx("span",{className:" tw-hl tw-so",children:k.sources}),(null==n?void 0:n.length)<=0?s.jsx("div",{children:s.jsx("p",{className:"tw-rc tw-so",children:k.sourcesEmpty})}):s.jsx("div",{className:"tw-yq tw-gl tw-jt tw-eq tw-zo tw-ch tw-hd tw-qk tw-th tw-qd",style:{scrollbarWidth:"thin"},children:null==n?void 0:n.map(((I,W)=>s.jsxs("div",{className:"tw-tq tw-bs tw-os tw-yq tw-lh tw-dq tw-zo tw-ch tw-hd tw-rk",children:[s.jsx(Yw,{className:"tw-in tw-mg"}),s.jsx("span",{className:"tw-so tw-oh tw-le",children:I.key.split("/").pop()})]},W)))})]}),s.jsxs("div",{className:"tw-yq tw-wm tw-dq",children:[s.jsx("span",{className:"tw-so tw-hl",children:k.remark}),s.jsx("input",{type:"text",value:f,onChange:I=>d(I.target.value),className:"tw-lq tw-so tw-ch tw-ua tw-zo tw-hd tw-qk tw-xb",placeholder:k.remark})]}),s.jsxs("div",{className:"tw-xp tw-yq tw-fq tw-md tw-lh tw-zd",children:[v?s.jsx("p",{className:"tw-uo tw-oe tw-qh",children:v}):s.jsx("p",{}),s.jsxs("div",{className:"tw-yq tw-lh tw-fq",children:[s.jsx("button",{onClick:u,className:"tw-fe tw-yq tw-lh tw-ie tw-vi tw-zo tw-pc tw-qk tw-ar tw-ms tw-za tw-gh tw-xd",children:s.jsx("p",{className:"tw-oe",children:k.cancel})}),s.jsxs("button",{disabled:j,onClick:async()=>{x(!0);try{const I=await Kw_createReport(A,{"client-id":l.embedId},l.restUrl);200===I.status||201===I.status?(E(""),w(!0),setTimeout((()=>u()),1e3)):(E(I.data.error),T())}catch(I){console.error("Failed to create report."),E(`${I}`),T()}finally{x(!1)}},className:`tw-fe tw-yq tw-lh tw-vi ${p?"tw-ah tw-cd tw-ds tw-zr tw-dm tw-sb tw-zl":v?"tw-zg tw-ms":"tw-yg tw-ms"} ${S?"tw-bd":""} tw-qk tw-ar tw-za tw-gh tw-xd tw-ab tw-ba tw-wb`,children:[p&&s.jsx(S2,{size:16,className:"tw-vk anm-animate-draw-fadeIn"}),s.jsx("p",{className:"tw-vk",children:k.report})]})]})]})]})})]})},Jw=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none",...e},b.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}),b.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"})),Cl=({children:e,text:t,render:n})=>s.jsxs("div",{className:"anm-group/tooltip tw-fn tw-yq",children:[e,t&&s.jsx("span",{className:"tw-qm tw-jl tw-an tw-lc tw-v tw-hp tw-s tw-ul tw-is tw-uo tw-oa tw-gb tw-lo tw-do tw-ec tw-tb tw-hk tw-el tw-kq",children:t}),n&&n]}),e5=({document:e})=>s.jsxs("div",{className:"tw-dp tw-wm tw-qm tw-ep tw-nn tw-ng tw-ma tw-it tw-rk tw-do tw-vs tw-rm tw-xo tw-am tw-vl tw-qc tw-fo",children:[s.jsx("span",{className:"tw-jl tw-so tw-uk",children:e.key}),s.jsxs("span",{className:"tw-jl tw-so ",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]}),s.jsx("span",{className:"tw-jl tw-so tw-vs tw-fg tw-ec tw-od tw-kh tw-nr",children:e.content.substring(0,50)})]});function t5({suggestionList:e,onSendMessages:t,settings:n,isLoading:u}){const r=null==n?void 0:n.headerBgColor,l=null==n?void 0:n.headerTextColor;return s.jsx("div",{style:{scrollbarWidth:"thin"},className:"tw-yq tw-gl tw-dq tw-fs tw-mq",children:u?s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"tw-bf tw-ti tw-lm tw-xm tw-qk"}),s.jsx("div",{className:"tw-bf tw-ti tw-pn tw-xm tw-qk"}),s.jsx("div",{className:"tw-bf tw-ti tw-qn tw-xm tw-qk"})]}):null==e?void 0:e.map(((o,i)=>s.jsx("div",{style:{"--bg-color":r??"#FFFFFF","--bg-color-saturated":n5(r)??"#FFFFFF","--text-color":l??"#000000"},onClick:a=>{t(a,o)},className:"tw-la tw-so tw-ch tw-zo tw-ja tw-ps tw-mp tw-ai tw-fe tw-t tw-ga tw-cc tw-yq tw-lh",children:s.jsx("span",{children:o})},i)))})}const n5=(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 f=l-o;a=(l+o)/2>.5?f/(2-l-o):f/(l+o),l===n?i=(u-r)/f+(u<r?6:0):l===u?i=(r-n)/f+2:l===r&&(i=(n-u)/f+4),i*=60}return`hsl(${Math.round(i)}, ${Math.round(100*a)}%, ${t}%)`};function Ea(e){const t=e.trim().split("\n").filter((i=>i.trim()));if(t.length<2)return null;let n=-1,u=-1;for(let i=0;i<t.length;i++)if(/^\|[\s\-:|]+\|$/.test(t[i].trim())){u=i,n=i-1;break}if(-1===u||n<0)return null;const r=i=>i.trim().split("|").slice(1,-1).map((a=>a.trim())),l=r(t[n]),o=[];for(let i=u+1;i<t.length;i++){const a=t[i].trim();if(!a.startsWith("|")||!a.endsWith("|"))break;o.push(r(a))}return 0===o.length?null:{headers:l,rows:o}}function r5(e){const t=n=>{const u=e.match(new RegExp(`<${n}>([\\s\\S]*?)<\\/${n}>`,"i"));return u?u[1].trim():""};return{title:t("title"),subtitle:t("subtitle"),description:t("description"),url:t("url"),image:t("image")}}function l5(e){const t=u=>{const r=e.match(new RegExp(`<${u}>([\\s\\S]*?)<\\/${u}>`,"i"));return r?r[1].trim():""},n={name:t("name")||t("title"),address:t("address"),description:t("description"),url:t("url"),image:t("image")};if(n.name||n.address||n.url||n.image)return n;try{const u=JSON.parse(e.trim());if(u&&"object"==typeof u&&!Array.isArray(u))return{name:u.name||u.title||"",address:u.address||u.location||"",description:u.description||"",url:u.url||u.link||u.href||"",image:u.image||u.thumbnail||""}}catch{}return n}function o5(e){const t=n=>{const u=e.match(new RegExp(`<${n}>([\\s\\S]*?)<\\/${n}>`,"i"));return u?u[1].trim():""};return{name:t("name")||t("title"),description:t("description"),price:t("price"),originalPrice:t("originalPrice")||t("original-price"),discount:t("discount"),code:t("code"),expiry:t("expiry")||t("validUntil")||t("valid-until"),url:t("url"),image:t("image")}}function i5(e){const t=/^(name|ชื่อ|title|product|สินค้า|description|รายละเอียด|desc|detail|price|ราคา|cost|url|link|ลิงก์|href|image|img|photo|picture|รูป|รูปภาพ|thumbnail)$/i;return e.headers.filter((u=>t.test(u.trim()))).length>=3}function a5(e,t){if(!e.trim())return;const n=/(?:^|\n)(\|[^\n]+\|\s*\n\|[\s\-:|]+\|\s*\n(?:\|[^\n]+\|\s*(?:\n|$))*)/g;let r,u=0;for(;null!==(r=n.exec(e));){const l=r.index+("\n"===e[r.index]?1:0);l>u&&cd(e.substring(u,l),t);const o=Ea(r[1]);o?t.push({type:i5(o)?"products":"table",table:o}):t.push({type:"text",content:r[1]}),u=r.index+r[0].length}u<e.length&&cd(e.substring(u),t)}function cd(e,t){if(!e.trim())return;const n=e.split("\n"),u=/^!\[([^\]]*)\]\(([^)]+)\)\s*$/;let r=[],l=[];const o=()=>{const a=r.join("\n").trim();a&&t.push({type:"text",content:a}),r=[]},i=()=>{l.length>=1&&t.push({type:"images",images:[...l]}),l=[]};for(const a of n){const c=a.trim().match(u);c?l.push({alt:c[1],url:c[2]}):(l.length>0&&(o(),i()),r.push(a))}l.length>0&&(o(),i()),o()}const Nu=({children:e,className:t=""})=>{const n=b.useRef(null),[u,r]=b.useState(!1),l=b.useRef(!1),o=b.useRef(0),i=b.useRef(0),a=b.useRef(!1),c=b.useCallback((m=>{const k=n.current;k&&(l.current=!0,a.current=!1,o.current=m.clientX,i.current=k.scrollLeft)}),[]),f=b.useCallback((m=>{if(!l.current)return;const k=m.clientX-o.current;Math.abs(k)>3&&(a.current||(a.current=!0,r(!0)));const j=n.current;j&&(j.scrollLeft=i.current-k)}),[]),d=b.useCallback((()=>{!l.current||(l.current=!1,!n.current)||a.current&&requestAnimationFrame((()=>r(!1)))}),[]),g=b.useCallback((m=>{a.current&&(m.stopPropagation(),m.preventDefault())}),[]),y=b.useCallback((m=>{m.preventDefault()}),[]);return b.useEffect((()=>(window.addEventListener("mouseup",d),window.addEventListener("mousemove",f),()=>{window.removeEventListener("mouseup",d),window.removeEventListener("mousemove",f)})),[d,f]),s.jsx("div",{ref:n,className:`tw-yq tw-fq tw-pd tw-tr anm-scrollbar-thin ${u?"tw-jd":"tw-xi"} ${t}`,style:u?{userSelect:"none"}:void 0,onMouseDown:c,onClickCapture:g,onDragStart:y,children:e})},f5=({images:e,presignUrls:t})=>{const[n,u]=b.useState(null),r=o=>{var c;if(!t||0===t.length)return o;const i=(null==(c=o.split("/").pop())?void 0:c.split("?")[0])||"",a=t.find((f=>{const d="string"==typeof f?f:f.url||f.presignedUrl||"",g="object"==typeof f&&(f.name||f.key)||"";return d.split("?")[0].endsWith(i)||g.endsWith(i)}));return a?"string"==typeof a?a:a.url||a.presignedUrl||a.signedUrl||o:o},l=e.map((o=>({...o,resolvedUrl:r(o.url)})));return s.jsxs(s.Fragment,{children:[s.jsx(Nu,{children:l.map(((o,i)=>s.jsx("div",{className:"tw-ff tw-mm tw-ml tw-gj tw-od tw-fe",onClick:()=>u(o.resolvedUrl),children:s.jsx("img",{src:o.resolvedUrl,alt:o.alt||"",className:"tw-xp tw-cp tw-xh"})},i)))}),n&&Dr.createPortal(s.jsx("div",{className:"tw-cq tw-ao tw-yk tw-yq tw-lh tw-ie tw-pi tw-fb tw-fe",onClick:()=>u(null),children:s.jsx("img",{src:n,alt:"Preview",className:"tw-uh tw-sh tw-je tw-gj",onClick:o=>o.stopPropagation()})}),document.body)]})};function Nn(e){return e?e.replace(/!\[[^\]]*\]\([^)]+\)/g,"").replace(/\[([^\]]*)\]\([^)]+\)/g,"$1").replace(/\*\*([^*]+)\*\*/g,"$1").replace(/\*([^*]+)\*/g,"$1").replace(/__([^_]+)__/g,"$1").replace(/_([^_]+)_/g,"$1").trim():""}function Ca(e){try{const t=new URL(e),n="/"===t.pathname?"":t.pathname,u=t.hostname+n;return u.length>25?u.slice(0,25)+"…":u}catch{return e.length>25?e.slice(0,25)+"…":e}}function Sa(e){if(!e)return null;const t=e.match(/!\[[^\]]*\]\(([^)]+)\)/);if(t)return t[1];const n=e.trim().match(/^(https?:\/\/[^\s]+\.(jpe?g|png|gif|webp|svg)(\?[^\s]*)?)$/i);return n?n[1]:null}const p5=()=>s.jsxs("svg",{className:"tw-nt tw-bt tw-ff",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[s.jsx("path",{d:"M6 3.5H3.5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V10"}),s.jsx("path",{d:"M9.5 2.5h4v4"}),s.jsx("path",{d:"M13.5 2.5 8 8"})]}),h5=({table:e,textColor:t})=>{const n=e.headers.findIndex((i=>/^(image|img|photo|picture|รูป|รูปภาพ|thumbnail)$/i.test(i.trim()))),u=e.headers.findIndex((i=>/^(price|ราคา|cost)$/i.test(i.trim()))),r=e.headers.findIndex((i=>/^(url|link|ลิงก์|href)$/i.test(i.trim()))),l=new Set([n,u,r].filter((i=>i>=0))),o=e.headers.findIndex(((i,a)=>!l.has(a)));return s.jsx(Nu,{children:e.rows.map(((i,a)=>{const c=n>=0?Sa(i[n]):null,f=u>=0?Nn(i[u]):null,d=r>=0?function(e){if(!e)return[];const t=[],n=[...e.matchAll(/\[([^\]]*)\]\(([^)]+)\)/g)];for(const l of n)t.push({label:l[1]||Ca(l[2]),url:l[2]});const r=[...e.replace(/\[([^\]]*)\]\(([^)]+)\)/g,"").matchAll(/https?:\/\/[^\s,|)]+/g)];for(const l of r)t.push({label:Ca(l[0]),url:l[0]});return t}(i[r]):[],g=o>=0?Nn(i[o]):null;return s.jsxs("div",{className:"tw-ff tw-mm tw-rm tw-gj tw-od tw-cm tw-yq tw-wm tw-jq",children:[c&&s.jsx("div",{className:"tw-xp tw-ll tw-ri",children:s.jsx("img",{src:c,alt:g||"",className:"tw-xp tw-cp tw-xh"})}),s.jsxs("div",{className:"tw-kt",children:[g&&s.jsx("p",{className:"tw-gf tw-oj tw-ft tw-if tw-ph",style:{color:t},children:g}),e.headers.map(((y,m)=>{var k;return l.has(m)||m===o||null==(k=i[m])||!k.trim()?null:s.jsx("div",{className:"tw-jp",children:s.jsx("p",{className:"tw-mj tw-ft tw-if tw-ph",style:{color:t},children:Nn(i[m])})},m)})),f&&s.jsx("p",{className:"tw-oj tw-gf tw-cg tw-ft tw-nr tw-mn",children:f})]}),d.length>0&&s.jsx("div",{className:"tw-mp tw-kp tw-yq tw-wm tw-vn",children:d.map(((y,m)=>s.jsxs("a",{href:y.url,target:"_blank",rel:"noopener noreferrer",className:"tw-yq tw-lh tw-vn tw-mp tw-op tw-qk tw-vj tw-wh tw-cg tw-gc tw-cc",children:[s.jsx(p5,{}),s.jsx("span",{className:"tw-mj tw-on tw-jl tw-yi",children:y.label})]},m)))})]},a)}))})},m5=({table:e,textColor:t})=>{const u=e.rows.findIndex((l=>l.some((o=>Sa(o))))),r=u>=0;return s.jsx(Nu,{children:e.headers.slice(1).map(((l,o)=>{const i=o+1,a=r?Sa(e.rows[u][i]):null,c=e.rows.map(((g,y)=>{if(y===u)return null;const m=Nn(g[0]||""),k=Nn(g[i]||"");return k?{label:m,value:k,rowIdx:y}:null})).filter(Boolean),f=!r&&c.length>0?c[0]:null,d=f?c.slice(1):c;return s.jsxs("div",{className:"tw-ff tw-nm tw-rm tw-gj tw-od tw-cm",children:[a&&s.jsx("div",{className:"tw-xp tw-ll tw-ri",children:s.jsx("img",{src:a,alt:l,className:"tw-xp tw-cp tw-xh"})}),s.jsxs("div",{className:"tw-kt",children:[s.jsx("p",{className:"tw-gf tw-pj tw-ft tw-if tw-tr",style:{color:t},children:Nn(l)}),f&&s.jsxs("div",{className:"tw-nr tw-ps tw-mp tw-qk tw-vj",children:[s.jsx("p",{className:"tw-lj tw-bg tw-ft tw-jm tw-if tw-gf",children:f.label}),s.jsx("p",{className:"tw-pj tw-gf tw-dg tw-ft tw-nh tw-ip",children:f.value})]}),d.map((g=>s.jsxs("div",{className:"tw-nr tw-tr tw-om",children:[s.jsx("p",{className:"tw-lj tw-hg tw-ft tw-jm tw-if",children:g.label}),s.jsx("p",{className:"tw-nj tw-ft tw-nh tw-ip",style:{color:t},children:g.value})]},g.rowIdx)))]})]},o)}))})},w5=({table:e,textColor:t})=>s.jsx("div",{className:"tw-pd anm-scrollbar-thin tw-sr",children:s.jsxs("table",{className:"tw-xp tw-ed tw-oj tw-jl",children:[s.jsx("thead",{children:s.jsx("tr",{className:"tw-si",children:e.headers.map(((n,u)=>s.jsx("th",{className:`tw-ls tw-ps tw-hm tw-hl tw-lj tw-jm tw-re tw-jg tw-ec tw-um tw-ch tw-fd ${0===u?"tw-yf":""} ${u===e.headers.length-1?"tw-zf":""}`,children:Nn(n)},u)))})}),s.jsx("tbody",{children:e.rows.map(((n,u)=>{const r=u===e.rows.length-1;return s.jsx("tr",{className:"tw-cc tw-rm tw-mb",children:n.map(((l,o)=>s.jsx("td",{className:`tw-ls tw-pp tw-ec tw-nj ${r?"":"tw-um tw-ch tw-de"} ${0===o?"tw-yi":""}`,style:{color:0===o?t:void 0,opacity:0===o?1:.8},children:s.jsx("span",{style:{color:0!==o?t:void 0},children:Nn(l)})},o)))},u)}))})]})}),g5=()=>s.jsxs("svg",{className:"tw-nt tw-bt tw-ff",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[s.jsx("path",{d:"M6 3.5H3.5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V10"}),s.jsx("path",{d:"M9.5 2.5h4v4"}),s.jsx("path",{d:"M13.5 2.5 8 8"})]}),fd=({url:e})=>s.jsxs("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"tw-yq tw-lh tw-vn tw-mp tw-op tw-qk tw-vj tw-wh tw-cg tw-gc tw-cc",children:[s.jsx(g5,{}),s.jsx("span",{className:"tw-mj tw-on tw-jl tw-yi",children:Ca(e)})]}),x5=({cards:e,textColor:t})=>1===e.length?s.jsx(y5,{card:e[0],textColor:t}):s.jsx(Nu,{children:e.map(((n,u)=>s.jsx(v5,{card:n,textColor:t},u)))}),y5=({card:e,textColor:t})=>s.jsxs("div",{className:"tw-yq tw-rm tw-gj tw-od tw-cm",children:[e.image&&s.jsx("div",{className:"tw-km tw-ff tw-ri",children:s.jsx("img",{src:e.image,alt:e.title||"",className:"tw-xp tw-cp tw-xh"})}),s.jsxs("div",{className:"tw-kt tw-bo tw-ap tw-yq tw-wm",children:[s.jsxs("div",{className:"tw-ap",children:[e.title&&s.jsx("p",{className:"tw-gf tw-pj tw-ft tw-if",style:{color:t},children:e.title}),e.subtitle&&s.jsx("p",{className:"tw-nj tw-td tw-ft tw-rr tw-if font-semibold",children:e.subtitle}),e.description&&s.jsx("p",{className:"tw-nj tw-ft tw-jp tw-nh tw-ph",style:{color:t+"85"},children:e.description})]}),e.url&&s.jsx("div",{className:"tw-nr",children:s.jsx(fd,{url:e.url})})]})]}),v5=({card:e,textColor:t})=>s.jsxs("div",{className:"tw-ff tw-nm tw-rm tw-gj tw-od tw-cm tw-yq tw-wm",children:[e.image&&s.jsx("div",{className:"tw-xp tw-ll tw-ri",children:s.jsx("img",{src:e.image,alt:e.title||"",className:"tw-xp tw-cp tw-xh"})}),s.jsxs("div",{className:"tw-kt tw-ap tw-yq tw-wm",children:[s.jsxs("div",{className:"tw-ap",children:[e.title&&s.jsx("p",{className:"tw-gf tw-oj tw-ft tw-if",style:{color:t},children:e.title}),e.subtitle&&s.jsx("p",{className:"tw-mj tw-hg tw-ft tw-ip tw-if",children:e.subtitle}),e.description&&s.jsx("p",{className:"tw-nj tw-ft tw-jp tw-nh tw-qh",style:{color:t},children:e.description})]}),e.url&&s.jsx("div",{className:"tw-nr",children:s.jsx(fd,{url:e.url})})]})]}),dd=()=>s.jsxs("svg",{className:"tw-sq tw-iq tw-ff",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[s.jsx("path",{d:"M13 6.5c0 4-5 8.5-5 8.5S3 10.5 3 6.5a5 5 0 0 1 10 0Z"}),s.jsx("circle",{cx:"8",cy:"6.5",r:"1.75"})]}),b5=()=>s.jsxs("svg",{className:"tw-nt tw-bt tw-ff",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[s.jsx("path",{d:"M8 1.5 14.5 8 8 14.5 1.5 8 8 1.5Z"}),s.jsx("path",{d:"M6 9v-2a1 1 0 0 1 1-1h3"}),s.jsx("path",{d:"m8.5 4.5 2 2-2 2"})]}),pd=({url:e,label:t})=>s.jsxs("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"tw-yq tw-lh tw-ie tw-vn tw-mp tw-op tw-qk tw-vj tw-wh tw-cg tw-gc tw-cc",children:[s.jsx(b5,{}),s.jsx("span",{className:"tw-mj tw-on tw-jl tw-yi",children:t})]}),_5=({locations:e,textColor:t})=>1===e.length?s.jsx(k5,{location:e[0],textColor:t}):s.jsx(Nu,{children:e.map(((n,u)=>s.jsx(E5,{location:n,textColor:t},u)))}),k5=({location:e,textColor:t})=>{const{name:n,address:u,description:r,url:l,image:o}=e;return s.jsxs("div",{className:"tw-yq tw-rm tw-gj tw-od tw-cm",children:[o&&s.jsx("div",{className:"tw-km tw-ff tw-ri",children:s.jsx("img",{src:o,alt:n||"",className:"tw-xp tw-cp tw-xh"})}),s.jsxs("div",{className:"tw-kt tw-bo tw-ap tw-yq tw-wm",children:[s.jsxs("div",{className:"tw-ap",children:[n&&s.jsxs("div",{className:"tw-yq tw-bj tw-vn",style:{color:t},children:[s.jsx("span",{className:"tw-ip tw-cg",children:s.jsx(dd,{})}),s.jsx("p",{className:"tw-gf tw-pj tw-ft tw-if",children:n})]}),u&&s.jsx("p",{className:"tw-nj tw-ft tw-jp tw-nh tw-ph",style:{color:t+"85"},children:u}),r&&s.jsx("p",{className:"tw-nj tw-ft tw-jp tw-nh tw-ph",style:{color:t+"85"},children:r})]}),l&&s.jsx("div",{className:"tw-nr",children:s.jsx(pd,{url:l,label:"Open in Maps"})})]})]})},E5=({location:e,textColor:t})=>{const{name:n,address:u,description:r,url:l,image:o}=e;return s.jsxs("div",{className:"tw-ff tw-nm tw-rm tw-gj tw-od tw-cm tw-yq tw-wm",children:[o&&s.jsx("div",{className:"tw-xp tw-ll tw-ri",children:s.jsx("img",{src:o,alt:n||"",className:"tw-xp tw-cp tw-xh"})}),s.jsxs("div",{className:"tw-kt tw-ap tw-yq tw-wm",children:[s.jsxs("div",{className:"tw-ap",children:[n&&s.jsxs("div",{className:"tw-yq tw-bj tw-vn",style:{color:t},children:[s.jsx("span",{className:"tw-ip tw-cg",children:s.jsx(dd,{})}),s.jsx("p",{className:"tw-gf tw-oj tw-ft tw-if tw-ph",children:n})]}),u&&s.jsx("p",{className:"tw-mj tw-ft tw-jp tw-nh tw-ph",style:{color:t+"85"},children:u}),r&&s.jsx("p",{className:"tw-nj tw-ft tw-jp tw-nh tw-ph",style:{color:t},children:r})]}),l&&s.jsx("div",{className:"tw-nr",children:s.jsx(pd,{url:l,label:"Open in Maps"})})]})]})},Aa=()=>s.jsxs("svg",{className:"tw-nt tw-bt tw-ff",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[s.jsx("path",{d:"M8.5 1.5H2.5v6L10 15l5-5L8.5 1.5Z"}),s.jsx("circle",{cx:"5.5",cy:"4.5",r:"0.75",fill:"currentColor"})]}),C5=()=>s.jsxs("svg",{className:"tw-nt tw-bt tw-ff",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[s.jsx("circle",{cx:"8",cy:"8",r:"6.5"}),s.jsx("path",{d:"M8 4.5V8l2 1.5"})]}),S5=()=>s.jsxs("svg",{className:"tw-nt tw-bt tw-ff",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[s.jsx("path",{d:"M3.5 8h9"}),s.jsx("path",{d:"m9 4.5 3.5 3.5L9 11.5"})]}),hd=({url:e,label:t="Buy Now"})=>s.jsxs("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"tw-yq tw-lh tw-ie tw-vn tw-mp tw-op tw-qk tw-qi tw-wh tw-vk tw-hc tw-cc",children:[s.jsx("span",{className:"tw-mj tw-on tw-jl tw-yi",children:t}),s.jsx(S5,{})]}),md=({discount:e})=>s.jsxs("div",{className:"tw-qm tw-qq tw-fp tw-yq tw-lh tw-dq tw-zj tw-vk tw-js tw-np tw-rk tw-cm",children:[s.jsx(Aa,{}),s.jsx("span",{className:"tw-mj tw-gf tw-jl tw-mh",children:e})]}),wd=({price:e,originalPrice:t,textColor:n})=>s.jsxs("div",{className:"tw-yq tw-he tw-eq tw-gl",children:[e&&s.jsx("p",{className:"tw-qj tw-hl tw-gi tw-ft tw-if",children:e}),t&&s.jsx("p",{className:"tw-mj tw-rh tw-ft tw-if",style:{color:n+"70"},children:t})]}),gd=({expiry:e,textColor:t})=>s.jsxs("div",{className:"tw-yq tw-lh tw-dq tw-jp",style:{color:t+"85"},children:[s.jsx(C5,{}),s.jsx("span",{className:"tw-mj tw-jl",children:e})]}),xd=({code:e})=>s.jsxs("div",{className:"tw-jp tw-aj tw-lh tw-vn tw-js tw-os tw-rk tw-bh tw-zo tw-df tw-yb",children:[s.jsx("span",{className:"tw-lj tw-ud tw-jl tw-jm tw-lg",children:"Code"}),s.jsx("span",{className:"tw-nj tw-gf tw-vd tw-il",children:e})]}),A5=({promotions:e,textColor:t})=>1===e.length?s.jsx(j5,{promotion:e[0],textColor:t}):s.jsx(Nu,{children:e.map(((n,u)=>s.jsx(D5,{promotion:n,textColor:t},u)))}),j5=({promotion:e,textColor:t})=>{const{name:n,description:u,price:r,originalPrice:l,discount:o,code:i,expiry:a,url:c,image:f}=e;return s.jsxs("div",{className:"tw-yq tw-rm tw-gj tw-od tw-cm",children:[f&&s.jsxs("div",{className:"tw-fn tw-km tw-ff tw-ri",children:[s.jsx("img",{src:f,alt:n||"",className:"tw-xp tw-cp tw-xh"}),o&&s.jsx(md,{discount:o})]}),s.jsxs("div",{className:"tw-kt tw-bo tw-ap tw-yq tw-wm",children:[s.jsxs("div",{className:"tw-ap",children:[!f&&o&&s.jsxs("div",{className:"tw-gp tw-aj tw-lh tw-dq tw-zj tw-vk tw-js tw-np tw-rk",children:[s.jsx(Aa,{}),s.jsx("span",{className:"tw-mj tw-gf tw-jl tw-mh",children:o})]}),n&&s.jsx("p",{className:"tw-gf tw-pj tw-ft tw-if",style:{color:t},children:n}),u&&s.jsx("p",{className:"tw-nj tw-ft tw-jp tw-nh tw-ph",style:{color:t+"85"},children:u}),s.jsx("div",{className:"tw-nr",children:s.jsx(wd,{price:r,originalPrice:l,textColor:t})}),i&&s.jsx(xd,{code:i}),a&&s.jsx(gd,{expiry:a,textColor:t})]}),c&&s.jsx("div",{className:"tw-nr",children:s.jsx(hd,{url:c})})]})]})},D5=({promotion:e,textColor:t})=>{const{name:n,description:u,price:r,originalPrice:l,discount:o,code:i,expiry:a,url:c,image:f}=e;return s.jsxs("div",{className:"tw-ff tw-nm tw-rm tw-gj tw-od tw-cm tw-yq tw-wm",children:[s.jsxs("div",{className:"tw-fn",children:[f?s.jsx("div",{className:"tw-xp tw-ll tw-ri",children:s.jsx("img",{src:f,alt:n||"",className:"tw-xp tw-cp tw-xh"})}):null,o&&f&&s.jsx(md,{discount:o})]}),s.jsxs("div",{className:"tw-kt tw-ap tw-yq tw-wm",children:[s.jsxs("div",{className:"tw-ap",children:[o&&!f&&s.jsxs("div",{className:"tw-gp tw-aj tw-lh tw-dq tw-zj tw-vk tw-js tw-np tw-rk",children:[s.jsx(Aa,{}),s.jsx("span",{className:"tw-mj tw-gf tw-jl tw-mh",children:o})]}),n&&s.jsx("p",{className:"tw-gf tw-oj tw-ft tw-if tw-ph",style:{color:t},children:n}),u&&s.jsx("p",{className:"tw-nj tw-ft tw-jp tw-nh tw-ph",style:{color:t},children:u}),s.jsx("div",{className:"tw-nr",children:s.jsx(wd,{price:r,originalPrice:l,textColor:t})}),i&&s.jsx(xd,{code:i}),a&&s.jsx(gd,{expiry:a,textColor:t})]}),c&&s.jsx("div",{className:"tw-nr",children:s.jsx(hd,{url:c})})]})]})},F5=id(window),N5=({content:e,textSize:t,textColor:n,presignUrls:u,onImageClick:r,onLinkClick:l})=>{const o=b.useRef(null),i=b.useMemo((()=>{let a=F5.sanitize(bl(e));if((null==u?void 0:u.length)>0&&typeof window<"u"){const d=document.createElement("div");d.innerHTML=a;const g=d.querySelectorAll("img"),y=new Set;g.forEach((m=>{var p;const k=m.getAttribute("src")||"",j=(null==(p=k.split("/").pop())?void 0:p.split("?")[0])||"";let x=u.findIndex(((w,v)=>{if(y.has(v)||!w)return!1;const E="string"==typeof w?w:w.url||w.presignedUrl||w.signedUrl||"",S="object"==typeof w&&(w.name||w.key)||"",C=E.split("?")[0];return E===k||C.endsWith(j)||S===j||S.endsWith(j)}));if(-1===x&&(x=u.findIndex(((w,v)=>!y.has(v)))),-1!==x){y.add(x);const w=u[x],v="string"==typeof w?w:w.url||w.presignedUrl||w.signedUrl;v&&(m.setAttribute("src",v),m.style.maxWidth="100%")}})),a=d.innerHTML}const c=/\.(jpe?g|png|gif|webp|svg)(\?[^"']*)?$/i,f=document.createElement("div");return f.innerHTML=a,f.querySelectorAll("a[href]").forEach((d=>{var y;const g=d.getAttribute("href");if(g&&c.test(g.split("?")[0])){if(d.querySelector("img")||"IMG"===(null==(y=d.nextElementSibling)?void 0:y.tagName)&&d.nextElementSibling.src===g)return;const m=document.createElement("img");m.src=g,m.alt=d.textContent||"Image preview",m.style.cssText="max-width:100%;border-radius:8px;margin-top:4px;display:block;cursor:pointer",d.parentNode.insertBefore(m,d.nextSibling)}})),f.innerHTML}),[e,u]);return b.useEffect((()=>{o.current&&(o.current.querySelectorAll("a").forEach((a=>{a.onclick=c=>{c.preventDefault(),null==l||l(a.href),a.onclick=null,window.location.href=a.href}})),o.current.querySelectorAll("img").forEach((a=>{a.style.cursor="pointer",a.onclick=c=>{c.preventDefault(),c.stopPropagation(),null==r||r(a.src)}})))}),[i,r,l]),s.jsx("span",{ref:o,className:`anm-md-content tw-yq tw-wm tw-xn ${t} tw-ol tw-pb tw-qb tw-af tw-ji tw-nc tw-ze tw-ii tw-db tw-ye tw-hi tw-mc tw-xe tw-xa tw-zc`,style:{color:n},dangerouslySetInnerHTML:{__html:i}})},M5=({blocks:e,textSize:t,textColor:n,bubbleBgColor:u,presignUrls:r,onImageClick:l,onLinkClick:o})=>{if(!e||0===e.length)return null;return s.jsx("div",{className:"tw-yq tw-wm tw-fq",children:e.map(((a,c)=>{switch(a.type){case"text":return((a,c)=>{const f=s.jsx(N5,{content:a.content,textSize:t,textColor:n,presignUrls:r,onImageClick:l,onLinkClick:o});return u?s.jsx("div",{children:s.jsx("div",{className:"tw-kh tw-qs tw-ls tw-gj",style:{backgroundColor:u,color:n},children:f})},c):s.jsx("div",{children:f},c)})(a,c);case"images":return s.jsx(f5,{images:a.images,presignUrls:r},c);case"products":return s.jsx(h5,{table:a.table,textColor:n},c);case"compare":return s.jsx(m5,{table:a.table,textColor:n},c);case"table":return s.jsx(w5,{table:a.table,textColor:n},c);case"cards":return s.jsx(x5,{cards:a.cards,textColor:n},c);case"locations":return s.jsx(_5,{locations:a.locations,textColor:n},c);case"promotions":return s.jsx(A5,{promotions:a.promotions,textColor:n},c);default:return null}}))})},T5={copy:e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},b.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"}),b.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=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},b.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"}))},ja=id(window),L5=({settings:e,messageIndex:t,debugPre:n,sessionId:u,type:r,message:l,role:o,isRAG:i,query:a="",question:c,sources:f=[],error:d=!1,read:g,sending:y,pending:m,sentAt:k,isDateChanged:j,currDate:x,isLastMessage:p,isShowSuggestion:w,onSuggestion:v,setSuggestList:E,messageID:S,images:C,videos:A,fileUrls:O,isFullScreen:T,submit:I,suggestList:W,isSuggestLoading:ie})=>{var Tu,Lu;const{openModal:xe,setModalOpen:Ne}=b.useContext(Wi),[Ge,lt]=b.useState(null),[N,$]=b.useState([]),{presignUrls:R}=((e,{clientId:t,sessionId:n})=>{const[u,r]=b.useState(null),[l,o]=b.useState(!1),[i,a]=b.useState(null),c=JSON.stringify(e);return b.useEffect((()=>{if(!e||Array.isArray(e)&&0===e.length)return;let d,f=!0;try{d=JSON.parse(c)}catch{d=c}const g=Array.isArray(d)?d:[d];return(async()=>{o(!0),a(null);try{const m=await Promise.all(g.map((async j=>{const x="string"==typeof j?j:(null==j?void 0:j.key)||"";if(!x)return{url:null};const p=x.indexOf("code_interpreter/"),w=-1!==p?x.substring(p):x.replace(/^s3:\/\/[^/]+\/(asset\/[^/]+\/)?/,""),v=await fetch(`https://api.rudi.animuz.ai/v2/public/presignedUrl?key=${w}`,{headers:{"client-id":t,"session-id":n}});if(!v.ok){const A=await v.text().catch((()=>v.statusText));throw new Error(`Error fetching presign URL for ${x}: ${A}`)}const E=v.clone();let S=null;try{S=await v.json()}catch{}return{url:(null==S?void 0:S.url)??await E.text()}})));if(!f)return;const k=m.map((j=>j.url));r(k)}catch(m){if(!f)return;a((null==m?void 0:m.message)??String(m))}finally{f&&o(!1)}})(),()=>{f=!1}}),[c,t,n]),{presignUrls:u,loading:l,error:i}})("oci"===(null==(Tu=null==n?void 0:n[0])?void 0:Tu.name)?null==(Lu=null==n?void 0:n[1])?void 0:Lu.metadata:[],{clientId:e.embedId,sessionId:u}),z=R||C,V=b.useRef(null),K=e.language,ze=pt[K]||pt.en,G=e.textSize?`anm-text-[${e.textSize}px]`:"tw-qj";function Ee(U){return"user"===U?e.userBgColor??"#3DBEF5":e.assistantBgColor??"#FFFFFF"}function wt(U){return"user"===U?e.userTextColor??"#FFFFFF":e.assistantTextColor??"#27272a"}const[Hr,Mu]=b.useState("copy"),Fl=T5[Hr],Ur=b.useMemo((()=>{try{let U=ja.sanitize(bl(l));if(z&&z.length>0&&typeof window<"u"){const Ce=document.createElement("div");Ce.innerHTML=U;const ae=Ce.querySelectorAll("img"),de=new Set;return ae.forEach((Qe=>{var tn;const Jt=Qe.getAttribute("src")||Qe.getAttribute("data-src")||Qe.getAttribute("data-filename")||"",ot=Qe.getAttribute("alt")||"",en=(null==(tn=Jt.split("/").pop())?void 0:tn.split("?")[0])||"";let gt=z.findIndex(((pe,nn)=>{if(de.has(nn)||!pe)return!1;const Ou="string"==typeof pe?pe:pe.url||pe.presignedUrl||pe.signedUrl||"",Pt="object"==typeof pe&&(pe.name||pe.key)||"",Iu=Ou.split("?")[0];if(Ou&&(Ou===Jt||Iu.endsWith(en))||Pt&&(Pt===en||Pt.endsWith(en)||Jt&&Jt.includes(Pt)))return!0;if(ot){const Gn=ot.replace(/\s+/g,"_");if(Iu.endsWith(ot)||Iu.endsWith(Gn)||Pt.endsWith(ot)||Pt.endsWith(Gn))return!0}return!1}));if(-1===gt&&(gt=z.findIndex(((pe,nn)=>!de.has(nn)))),-1!==gt){de.add(gt);const pe=z[gt],nn="string"==typeof pe?pe:pe.url||pe.presignedUrl||pe.signedUrl;nn&&(Qe.setAttribute("src",nn),Qe.style.maxWidth="100%")}})),Ce.innerHTML}if("assistant"===o&&U){const Ce=/\.(jpe?g|png|gif|webp|svg)(\?[^"']*)?$/i,ae=document.createElement("div");ae.innerHTML=U,ae.querySelectorAll("a[href]").forEach((de=>{var Jt;const Qe=de.getAttribute("href");if(Qe&&Ce.test(Qe.split("?")[0])){if(de.querySelector("img")||"IMG"===(null==(Jt=de.nextElementSibling)?void 0:Jt.tagName)&&de.nextElementSibling.src===Qe)return;const ot=document.createElement("img");ot.src=Qe,ot.alt=de.textContent||"Image preview",ot.style.cssText="max-width:100%;border-radius:8px;margin-top:4px;display:block;cursor:pointer",de.parentNode.insertBefore(ot,de.nextSibling)}})),U=ae.innerHTML}return U}catch(U){return console.error("Error processing markdown images:",U),ja.sanitize(bl(l))}}),[l,o,z,ja,bl,u,e.embedId,n,R]),It=b.useMemo((()=>"user"===o||!l||m||d?null:function(e){if(!e)return[{type:"text",content:""}];const t=[];let n=e;n=n.replace(/<products>([\s\S]*?)<\/products>/gi,((l,o)=>{const i=`\n__BLOCK_${t.length}__\n`,a=Ea(o);return t.push(a?{type:"products",table:a}:{type:"text",content:o}),i})),n=n.replace(/<compare>([\s\S]*?)<\/compare>/gi,((l,o)=>{const i=`\n__BLOCK_${t.length}__\n`,a=Ea(o);return t.push(a?{type:"compare",table:a}:{type:"text",content:o}),i})),n=n.replace(/<card>([\s\S]*?)<\/card>/gi,((l,o)=>{const i=`\n__BLOCK_${t.length}__\n`;return t.push({type:"card",card:r5(o)}),i})),n=n.replace(/<location>([\s\S]*?)<\/location>/gi,((l,o)=>{const i=`\n__BLOCK_${t.length}__\n`;return t.push({type:"location",location:l5(o)}),i})),n=n.replace(/<promotion>([\s\S]*?)<\/promotion>/gi,((l,o)=>{const i=`\n__BLOCK_${t.length}__\n`;return t.push({type:"promotion",promotion:o5(o)}),i}));const u=n.split(/(__BLOCK_\d+__)/),r=[];for(const l of u){const o=l.match(/^__BLOCK_(\d+)__$/);if(o){const i=t[parseInt(o[1])];"card"===i.type?r.length>0&&"cards"===r[r.length-1].type?r[r.length-1].cards.push(i.card):r.push({type:"cards",cards:[i.card]}):"location"===i.type?r.length>0&&"locations"===r[r.length-1].type?r[r.length-1].locations.push(i.location):r.push({type:"locations",locations:[i.location]}):"promotion"===i.type?r.length>0&&"promotions"===r[r.length-1].type?r[r.length-1].promotions.push(i.promotion):r.push({type:"promotions",promotions:[i.promotion]}):r.push(i)}else a5(l,r)}return r.length>0?r:[{type:"text",content:e}]}(l)),[l,o,m,d]),Vr=!!It&&function(e){return e.some((t=>"text"!==t.type))}(It);b.useEffect((()=>{if(V.current){V.current.querySelectorAll("a").forEach((ae=>{ae.onclick=async de=>{de.preventDefault(),Cu.sendEvent({event:"click",url:ae.href},{"client-id":e.embedId,"session-id":u}),ae.onclick=null,window.location.href=ae.href}}));const U=V.current.querySelectorAll("img"),Ce=Array.from(U).map((ae=>ae.src));Ce.length>0&&$(Ce),U.forEach((ae=>{ae.style.cursor="pointer",ae.onclick=de=>{de.preventDefault(),de.stopPropagation(),lt(ae.src)}}))}}),[Ur,u,e.embedId]);return"event"===r?s.jsx("div",{className:"tw-yq tw-ie tw-nr tw-fr",children:s.jsx("div",{className:"tw-os tw-sj tw-so tw-jl",children:l})}):s.jsxs(s.Fragment,{children:[j&&s.jsx("div",{className:"tw-yq tw-ie tw-nr tw-fr",children:s.jsx("div",{className:"tw-yq tw-lh tw-ie tw-bl tw-sj tw-ai tw-os tw-js tw-uo tw-jl",children:Bw(x,K)})}),s.jsxs("div",{style:{"--user-bg":Ee("user"),"--asst-bg":Ee("assistant"),"--user-text":wt("user"),"--asst-text":wt("assistant")},className:`tw-fn ${"user"===o?"tw-ur":"tw-wr"} tw-j`,children:[s.jsxs("div",{className:"tw-yq tw-bj tw-xp tw-jq "+("user"===o?"tw-cj":"tw-hf"),children:["user"!==o&&s.jsx("span",{className:"tw-yq tw-jn tw-rt tw-et tw-ai tw-ir tw-ip",children:s.jsx("img",{src:e.assistantIcon||Yi,alt:"Chatbot Avatar",className:"tw-ai"})}),"user"===o?s.jsxs("div",{"data-role":"user",className:`tw-fn tw-jh tw-wi tw-qs tw-ls tw-kh tw-jl tw-li tw-gj ${T?"tw-dj tw-kc":"tw-dj"} ${d?"tw-xj tw-qk":"anm-animuz-user-message tw-oa tw-gb"}`,children:["image"===r?s.jsx(Sl,{images:C,sentAt:k}):"video"===r?s.jsx(Al,{videos:A}):"file"===r?s.jsx(jl,{fileUrls:O}):s.jsxs(s.Fragment,{children:[s.jsx("span",{ref:V,className:`anm-md-content tw-yq tw-wm tw-xn ${G} tw-ol tw-fi tw-pb tw-qb tw-af tw-ji tw-nc tw-ze tw-ii tw-db tw-ye tw-hi tw-mc tw-xe tw-xa tw-zc`,dangerouslySetInnerHTML:{__html:Ur}}),(null==C?void 0:C.length)>0&&s.jsx("div",{className:"tw-nr",children:s.jsx(Sl,{images:C,sentAt:k})}),(null==A?void 0:A.length)>0&&s.jsx("div",{className:"tw-nr",children:s.jsx(Al,{videos:A})}),(null==O?void 0:O.length)>0&&s.jsx("div",{className:"tw-nr",children:s.jsx(jl,{fileUrls:O})})]}),s.jsxs("div",{className:"tw-yq tw-wm tw-qm tw-jl tw-mj tw-hg tw-ec tw-vm tw-nl tw-ok tw-hr",children:[g&&s.jsx("span",{children:"Read"}),s.jsxs("div",{className:"tw-yq tw-lh",children:[y?s.jsx("span",{children:s.jsx(Ww,{width:16,height:16,viewBox:"0 0 24 24"})}):d?s.jsxs("span",{className:"tw-yq tw-dq tw-lh tw-hr tw-gi",children:[s.jsx(Gw,{})," ",d]}):s.jsx(s.Fragment,{}),k&&s.jsx("span",{children:ad(k)})]})]})]}):s.jsxs("div",{"data-role":"assistant",className:"tw-fn tw-ap tw-bo tw-jl tw-li tw-jh tw-wi "+(Vr?"":"tw-tl"),children:[d?s.jsxs("div",{className:"tw-jt tw-qk tw-cl tw-gi",children:[s.jsxs("span",{className:"tw-kh",children:[s.jsx(X2,{className:"tw-ct tw-ot tw-er tw-kh"})," ","Could not respond to message."]}),s.jsx("p",{className:"tw-uo tw-il tw-nr tw-bk tw-ee tw-yr tw-yj tw-jt tw-sk",children:d})]}):m?s.jsx("div",{className:"tw-pr tw-qr anm-dot-falling"}):s.jsxs(s.Fragment,{children:["image"===r?s.jsx(Sl,{images:C,sentAt:k}):"video"===r?s.jsx(Al,{videos:A}):"file"===r?s.jsx(jl,{fileUrls:O}):s.jsxs(s.Fragment,{children:[s.jsx(M5,{blocks:It,textSize:G,textColor:wt("assistant"),bubbleBgColor:Ee("assistant"),presignUrls:z,onImageClick:U=>lt(U),onLinkClick:U=>{Cu.sendEvent({event:"click",url:U},{"client-id":e.embedId,"session-id":u})}}),(null==C?void 0:C.length)>0&&s.jsx("div",{className:"tw-nr",children:s.jsx(Sl,{images:C,sentAt:k})}),(null==A?void 0:A.length)>0&&s.jsx("div",{className:"tw-nr",children:s.jsx(Al,{videos:A})}),(null==O?void 0:O.length)>0&&s.jsx("div",{className:"tw-nr",children:s.jsx(jl,{fileUrls:O})})]}),e.showRag&&i&&f.length>0&&s.jsx("div",{className:"tw-yq tw-gl tw-yn tw-lh tw-nr tw-so tw-ig",children:f.map(((U,Ce)=>s.jsx(Cl,{render:s.jsx(e5,{document:U}),children:s.jsx("span",{className:"tw-ir tw-os tw-js tw-qk tw-ri tw-fe tw-jc tw-vc tw-fg tw-ec tw-od anm-max-w-32",onClick:()=>xe(s.jsx(Qw,{document:U,query:a})),children:U.key.split("/").pop()})},Ce)))})]}),k&&s.jsx("div",{className:"tw-jl tw-mj tw-hg tw-mr",children:ad(k)})]})]}),"user"!==o&&s.jsxs("div",{"aria-expanded":p&&!m,className:"anm-action-wrapper tw-ub tw-vb tw-ys tw-xp tw-lp tw-ur tw-qm tw-dp tw-nn tw-cb tw-un tw-nq tw-be tw-dm",children:[e.showCopyAction&&s.jsx(Cl,{text:"copy"===Hr?ze.copy:ze.copySuccess,children:s.jsx("button",{className:"tw-yq tw-lh tw-ie tw-fe tw-vi tw-be tw-ft tw-is tw-hg tw-da",onClick:()=>{navigator.clipboard.writeText(l),Mu("check"),setTimeout((()=>{Mu("copy")}),1e3)},children:s.jsx(Fl,{className:"tw-ot tw-ct"})})}),e.showSuggestAction&&s.jsx(Cl,{text:ze.suggest,children:s.jsx("button",{onClick:()=>{v(),(async()=>{try{if(E([]),null!==(null==e?void 0:e.defaultSuggestions)&&""!==(null==e?void 0:e.defaultSuggestions)){const Ce=(await Cu.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(Ce)}}catch(U){console.error("Error fetching suggestions:",U)}})()},className:"tw-yq tw-lh tw-ie tw-fe tw-vi tw-be tw-ft tw-is tw-hg tw-da tw-ba tw-qa",children:s.jsx(Vw,{className:"tw-ot tw-ct"})})}),e.showReportAction&&0!==t&&s.jsx(Cl,{text:ze.report,children:s.jsx("button",{className:"tw-yq tw-lh tw-ie tw-fe tw-vi tw-be tw-ft tw-is tw-hg tw-da tw-ba tw-qa",onClick:()=>{xe(s.jsx(Xw,{datasetID:e.embedId,message:l,query:c,messageID:S,sources:f,onClose:()=>Ne(!1),settings:e}))},children:s.jsx(Zw,{className:"tw-ot tw-ct"})})})]})]}),w&&s.jsx(t5,{settings:e,suggestionList:W,onSendMessages:I,isLoading:ie}),Ge&&s.jsx(yd,{selectedImage:Ge,images:N,onClose:()=>lt(null),sentAt:k})]})},Sl=({images:e,sentAt:t})=>{const[n,u]=b.useState("");return b.useState(!1),new Date(t).toLocaleString("th-TH",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}),s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"tw-yq tw-eq tw-gl",children:null==e?void 0:e.map(((l,o)=>s.jsx("img",{onClick:()=>u(l),src:l,alt:"img",className:"tw-po tw-tk tw-zo tw-fd tw-ri tw-je tw-fe"},o)))}),n&&s.jsx(yd,{selectedImage:n,images:e,onClose:()=>u(null),sentAt:t})]})},Al=({videos:e})=>s.jsx("div",{className:"tw-yq tw-eq tw-gl",children:null==e?void 0:e.map(((t,n)=>s.jsx("video",{src:t,controls:!0,className:"tw-kk tw-kf tw-tk tw-zo tw-fd tw-ri"},n)))}),jl=({fileUrls:e})=>s.jsx("div",{className:"tw-yq tw-wm tw-vn",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 s.jsxs("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"tw-yq tw-lh tw-eq tw-ks tw-ps tw-qk tw-wj tw-zo tw-ch tw-gd tw-wh tw-fi tw-ic tw-cc",children:[s.jsx("span",{className:"tw-ro",children:"📄"}),s.jsxs("div",{className:"tw-od",children:[s.jsx("p",{className:"tw-so tw-jl tw-ft tw-on tw-if",children:r}),s.jsx("p",{className:"tw-lj tw-jl tw-hg tw-ft tw-jm tw-if",children:l})]})]},n)}))}),yd=({selectedImage:e,images:t,onClose:n,sentAt:u})=>{const[r,l]=b.useState(e),[o,i]=b.useState(!1);b.useEffect((()=>{l(e)}),[e]);const c=new Date(u||Date.now()).toLocaleString("th-TH",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"});return Dr.createPortal(s.jsxs("div",{className:"tw-yq tw-bp tw-wm tw-kt tw-cq tw-ao tw-yk tw-ie tw-pi tw-fb",children:[s.jsxs("div",{className:"tw-yq tw-lh tw-md",children:[s.jsxs("div",{className:"tw-yq tw-fq tw-lh tw-gt",children:[s.jsx("div",{className:"tw-yq tw-ie tw-lh tw-gj tw-rm tw-oo",children:s.jsx("img",{src:Yi,alt:"avatar",className:"tw-no tw-xh tw-ke"})}),s.jsxs("div",{className:"tw-yq tw-wm",children:[s.jsx("span",{className:"tw-vk tw-ro",children:"Rudi"}),s.jsx("span",{className:"tw-sj",children:c})]})]}),s.jsx("div",{className:"tw-yq tw-ie tw-lh tw-dq",children:s.jsx(Jw,{onClick:n,className:"tw-fe anm-hover:anm-scale-110 tw-se tw-gh"})})]}),s.jsx("div",{className:"tw-tf tw-lf tw-hj tw-fn tw-jj tw-yq tw-ie tw-lh tw-xp",children:s.jsx("img",{src:r,alt:"Preview",onLoad:()=>i(!0),className:"tw-je tw-kk tw-jk tw-hj tw-tb tw-hh "+(o?"tw-ej":"tw-ul")},r)}),s.jsx("div",{className:"tw-yq tw-eq tw-vf tw-rn tw-tr",children:null==t?void 0:t.map(((f,d)=>s.jsx("div",{className:"tw-fe tw-se "+(r===f?"tw-tm tw-dh tw-gj":"tw-mk"),onClick:()=>{i(!1),l(f)},children:s.jsx("img",{src:f,alt:f,className:"tw-zm tw-vh tw-gj tw-xh"})},d)))})]}),document.body)};function vd(){const{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}function I5(){var r,l;const{width:e}=function(){const[e,t]=b.useState(vd());return b.useEffect((()=>{function n(){t(vd())}return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}),[]),e}(),[t,n]=b.useState(!(null!=(r=null==window?void 0:window.sessionStorage)&&r.getItem(a2)||null!=(l=null==window?void 0:window.localStorage)&&l.getItem(sl)));return{isGreetingsShow:t,toggleGreetingsShow:function(o){!0===o&&e>=768&&window.sessionStorage.setItem(a2,"1"),n(o)}}}function bd(e){return e&&e.greetings?JSON.parse(e.greetings).map((t=>({role:"assistant",content:t}))):[]}function P5({sessionId:e,isChatOpen:t,settings:n={},history:u=[],showSuggestions:r,setShowSuggesstion:l,setSuggestList:o,isFullScreen:i,submit:a,suggestList:c,isSuggestLoading:f}){const[d,g]=b.useState(!0),y=b.useRef(null),m=b.useMemo((()=>bd(n)),[n]),k=b.useMemo((()=>[...m,...u]),[m,u]);b.useEffect((()=>{t&&x()}),[u,t]);const x=()=>{var p;null==(p=y.current)||p.scrollIntoView({behavior:"auto"})};return 0===k.length?s.jsx("div",{className:"tw-fn tw-yq tw-wm tw-ap tw-uj tw-ri",children:s.jsx("div",{className:"tw-yq tw-wm tw-nk tw-en tw-qk tw-js tw-cp tw-nr tw-yn tw-hf",children:s.jsx("div",{className:"tw-yq tw-cp tw-wm tw-lh tw-ie",children:s.jsx("p",{className:"tw-pe tw-so tw-jl tw-rs tw-rj",children:(null==n?void 0:n.greeting)??"Send a chat to get started."})})})}):s.jsxs("div",{style:{"--bg-color":n.bgColorChat??"#f3f4f6"},className:"anm-wrapper-container tw-fn tw-yq tw-wm tw-ap tw-uj tw-od tw-ya",children:[s.jsx("div",{className:"anm-scroll-container tw-ac tw-zb tw-ag tw-cp tw-xr",onScroll:p=>{const v=p.target.scrollHeight-p.target.scrollTop-p.target.clientHeight<=40;g(v)},children:s.jsxs("div",{className:"tw-yq tw-wm tw-ap tw-hs tw-xl tw-z tw-ls tw-do tw-nd",children:[k.map(((p,w)=>{var C;const v=w===k.length-1&&w>m.length-1,S=null==(C=k[w-1])?void 0:C.content;return s.jsx(L5,{settings:n,messageIndex:w,sessionId:e,type:p.type,message:p.content,sentAt:p.sentAt||p.timestamp,role:p.role,isRAG:p.isRAG,query:p.query,question:S,sources:p.sources,chatId:p.chatId,feedbackScore:p.feedbackScore,error:p.error,sending:p.sending,read:p.read,pending:p.pending,isDateChanged:p.isDateChanged,currDate:p.currDate,isLastMessage:v,onSuggestion:()=>{l(w===r?null:w)},isShowSuggestion:r===w,debugPre:p.debugPre,setSuggestList:o,messageID:p.msgID,images:null==p?void 0:p.images,fileUrls:null==p?void 0:p.fileUrls,videos:null==p?void 0:p.videos,isFullScreen:i,submit:a,suggestList:c,isSuggestLoading:f},w)})),s.jsx("div",{className:"tw-aq",ref:y})]})}),s.jsx(R5,{scrollToBottom:x,isAtBottom:d})]})}const R5=({scrollToBottom:e,isAtBottom:t})=>s.jsx("div",{className:"tw-an tw-lc tw-qm tw-xp tw-sf tw-yq tw-cj tw-dl tw-jb",children:s.jsxs("button",{className:`tw-ib tw-it tw-jr tw-xo tw-fe tw-yq tw-lh tw-ie tw-ai tw-sp tw-id tw-mi tw-fc tw-vk tw-tb tw-eh ${t?"tw-ul tw-jb":"tw-ej"} `,onClick:e,id:"scroll-to-bottom-button","aria-label":"Scroll to bottom",children:[s.jsx(g2,{weight:"bold"}),s.jsx("span",{className:"tw-qo",children:"Scroll to bottom"})]})});function z5(){return s.jsx("div",{className:"tw-cp tw-ri anm-no-scroll tw-yq tw-wm tw-lh tw-ie",children:s.jsx(fl,{size:28,className:"tw-pe tw-xg"})})}function $5({settings:e}){return"true"===e.noSponsor?null:s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"tw-zn tw-si tw-pr"}),s.jsxs("span",{className:"tw-do tw-uo tw-jl tw-qr tw-gg",children:["Powered by"," ",s.jsx("a",{href:"https://rudi.animuz.ai/",target:"_blank",rel:"noreferrer",className:"tw-uo anm-font-inherit tw-sc tw-wh tw-eg tw-yd",children:"rudi.animuz.ai"})]})]})}const q5=5242880,Da=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"]},B5=[...Yt.image,...Yt.video,...Yt.document].join(","),H5=new Set([...Yt.image,...Yt.video,...Yt.document]);function V5(e){return H5.has(e.type)?e.size>q5?"fileTooLarge":null:"unsupportedFile"}function W5({settings:e,message:t,submit:n,onChange:u,inputDisabled:r,buttonDisabled:l,attachments:o=[],onAddFiles:i,onRemoveAttachment:a,validationErrors:c=[]}){const f=b.useRef(null),d=b.useRef(null),g=b.useRef(null),[y,m]=b.useState(!1),k=e.language,j=pt[k]||pt.en;b.useEffect((()=>{!r&&d.current&&d.current.focus(),v()}),[r]);const v=()=>{if(!d.current)return;d.current.style.height="auto";const C=d.current.scrollHeight-24+"px";d.current.style.height=C};b.useLayoutEffect((()=>{v()}),[d,t]);return s.jsx("div",{className:"tw-wp tw-vm tw-yq tw-wm tw-yr tw-cs tw-tr tw-cj",children:s.jsxs("form",{onSubmit:C=>{m(!1),n(C)},className:"tw-rm tw-gj tw-yq tw-wm tw-ch tw-zo tw-gd tw-xp tw-do tw-nd",children:[s.jsx("input",{type:"file",ref:g,hidden:!0,multiple:!0,accept:B5,onChange:C=>{C.target.files&&C.target.files.length>0&&(i(C.target.files),C.target.value="")}}),o.length>0&&s.jsx("div",{className:"tw-yq tw-eq tw-ks tw-gs tw-pd",children:o.map((C=>s.jsx(Q5,{attachment:C,onRemove:()=>a(C.id)},C.id)))}),c.length>0&&s.jsx("div",{className:"tw-ks tw-fs",children:c.map(((C,A)=>s.jsx("p",{className:"tw-uo tw-gi tw-ft tw-jl",children:C},A)))}),s.jsxs("div",{className:"tw-yq tw-nl tw-dn",children:["false"!==(null==e?void 0:e.allowFileUpload)&&s.jsx("button",{type:"button",onClick:()=>{var C;return null==(C=g.current)?void 0:C.click()},disabled:r||o.length>=Da,className:"tw-qg tw-yc tw-wq tw-ve tw-xc tw-vi tw-rk tw-fe tw-hg tw-ob tw-bq tw-yp tw-y tw-lb","aria-label":j.attachFile,title:j.attachFile,children:s.jsx(Z2,{size:20})}),s.jsx("textarea",{ref:d,className:"tw-yq tw-ap tw-xp tw-jl tw-ia tw-be tw-so tw-sm tw-ib tw-jf tw-pl tw-eo tw-kt tw-qd tw-x tw-fj tw-eb tw-xb tw-og",onKeyDown:C=>{!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||window.innerWidth<=768||"ontouchstart"in window)&&13==C.keyCode&&!C.shiftKey&&(C.preventDefault(),n(C))},onChange:u,onPaste:C=>{var T;const A=null==(T=C.clipboardData)?void 0:T.items;if(!A)return;const O=[];for(const I of A)if("file"===I.kind){const W=I.getAsFile();W&&O.push(W)}O.length>0&&(C.preventDefault(),i(O))},required:!(null!=o&&o.length),disabled:r,onFocus:()=>{m(!0)},onBlur:C=>{m(!1)},rows:1,tabIndex:0,enterKeyHint:"enter",value:t,placeholder:e.placeholder,id:"message-input"}),s.jsxs("button",{ref:f,type:"submit",disabled:l&&!(null!=o&&o.length),className:"tw-qg tw-yc tw-wq tw-ve tw-xc tw-vi tw-rk tw-fe tw-uk tw-bq tw-zp anm-group/button tw-y",id:"send-message-button","aria-label":"Send message",children:[r?s.jsx(fl,{className:"tw-ot tw-ct tw-xg"}):s.jsx(H2,{size:24,style:{"--btn-color":e.headerBgColor??"#000000"},className:"tw-na tw-p tw-i",weight:"fill"}),s.jsx("span",{className:"tw-qo",children:"Send message"})]})]}),s.jsx($5,{settings:e})]})})}function G5(e){var t;return(null==(t=e.split(".").pop())?void 0:t.toLowerCase())||""}function Q5({attachment:e,onRemove:t}){const{previewUrl:n,file:u,status:r,category:l}=e,o="image"===l||"video"===l;return s.jsxs("div",{className:"tw-fn tw-ff tw-tk tw-od tw-zo tw-ch tw-gd anm-group/att "+(o?"tw-ss tw-cr":"tw-cr tw-nf tw-yq tw-lh tw-vn tw-mp tw-wj"),children:["image"===l?s.jsx("img",{src:n,alt:u.name,className:"tw-xp tw-cp tw-xh"}):"video"===l?s.jsx("video",{src:n,className:"tw-xp tw-cp tw-xh",muted:!0}):s.jsxs(s.Fragment,{children:[s.jsx(N2,{size:20,className:"tw-hg tw-ff"}),s.jsxs("div",{className:"tw-od",children:[s.jsx("p",{className:"tw-uo tw-jl tw-kg tw-ft tw-on tw-if",children:u.name}),s.jsx("p",{className:"tw-lj tw-jl tw-hg tw-ft tw-jm tw-if",children:G5(u.name)})]})]}),s.jsx("button",{type:"button",onClick:t,className:"tw-qm tw-pq tw-go tw-oi tw-wf tw-kq tw-vi tw-fe tw-ul tw-ca tw-tb",children:s.jsx(Gi,{size:10,className:"tw-vk"})}),"uploading"===r&&s.jsx("div",{className:"tw-qm tw-ao tw-ui tw-yq tw-lh tw-ie",children:s.jsx(fl,{size:16,className:"tw-ig tw-xg"})}),"error"===r&&s.jsx("div",{className:"tw-qm tw-ao tw-cf tw-yq tw-lh tw-ie",children:s.jsx("span",{className:"tw-gi tw-uo tw-jl tw-hl",children:"!"})})]})}const Fa={message:"ping",timeout:6e4,interval:25e3};const X5=(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)))}},J5=(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=Fa.interval,timeout:r=Fa.timeout,message:l=Fa.message}=n||{},o=Math.max(100,u/10);let i=Date.now();const a=setInterval((()=>{const c=Date.now(),f=t.current;if(f+r<=c)console.warn(`Heartbeat timed out, closing connection, last message received ${c-f}ms ago, last ping sent ${c-i}ms ago`),e.close();else if(f+u<=c&&i+u<=c)try{"function"==typeof l?e.send(l()):e.send(l),i=c}catch(d){console.error("Heartbeat failed, closing connection",d instanceof Error?d.message:d),e.close()}}),o);e.addEventListener("close",(()=>{clearInterval(a)}))}(e,r,i)}}},eg=(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)},tg=(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)},Ed=b.createContext({}),Cd=({children:e})=>{const t={onOpen:()=>{},onClose:()=>{},protocols:["Client",Wn.settings.embedId],shouldReconnect:()=>Date.now()-f.current<18e5,reconnectAttempts:5,reconnectInterval:5e3,heartbeat:{message:"ping",interval:4e4,timeout:3e5}},[n,u]=b.useState(null),[r,l]=b.useState(void 0),o=b.useMemo((()=>{if(n)try{return JSON.parse(n.data)}catch{return{}}return null}),[n]),i=b.useRef(null),a=b.useRef((()=>{})),c=b.useRef(0),f=b.useRef(Date.now()),d=b.useRef(Date.now()),g=b.useRef([]),y=b.useRef(t);y.current=t;const m=b.useRef(null),[k,j]=b.useState(!1),x=r||(!0===k?Kt.CONNECTING:Kt.UNINSTANTIATED),w=b.useCallback((()=>j(!1)),[]),v=b.useCallback(((S,C=!0)=>{var A;(null==(A=i.current)?void 0:A.readyState)===Kt.OPEN?i.current.send(S):C&&g.current.push(S)}),[]),E=b.useCallback(((S,C=!0)=>{v(JSON.stringify(S),C)}),[v]);return b.useEffect((()=>{if(k){let S,C=!1,A=!0;const O=async()=>{A&&(S=ug(i,"wss://pn1o5spfd5.execute-api.ap-southeast-1.amazonaws.com/dev/",m.current,(W=>{C||Dr.flushSync((()=>l(W)))}),y,(W=>{C||Dr.flushSync((()=>u(W)))}),a,c,d,f))};return a.current=()=>{C||(null==S||S(),O())},O(),()=>{C=!0,A=!1,null==S||S(),u(null)}}c.current=0,l(Kt.CLOSED),i.current&&i.current.close()}),[k,v]),b.useEffect((()=>{x===Kt.OPEN&&g.current.splice(0).forEach((S=>{v(S)}))}),[x]),s.jsx(Ed.Provider,{value:{connect:S=>{m.current=S,j(!0)},disconnect:w,sendMessage:v,sendJsonMessage:E,lastMessage:n,lastJsonMessage:o,readyState:x},children:e})},ug=(e,t,n,u,r,l,o,i,a,c)=>{const f=[...r.current.protocols,n];if(!f[1])throw new Error("WebSocket failed: Missing required ClientID");if(e.current=new WebSocket(t,f),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 c,f;return X5(e,n,i,l,o),J5(e,n,a,r,l,o),c=eg(e,n,a,u,r),f=tg(e,n,a,u,r),()=>{a(Kt.CLOSING),c(),f(),e.close()}})(e.current,{setLastMessage:l,setReadyState:u},r,o.current,i,a,c)},Kt={UNINSTANTIATED:-1,CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},Sd=()=>b.useContext(Ed),rg=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",stroke:"currentColor",...e},b.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"}),b.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"}),b.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"})),lg=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},b.createElement("path",{stroke:"#C3C3C3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M6 12h12"})),og=({data:e,settings:t,className:n,isFullScreen:u})=>{const[r,l]=b.useState(!0),o=t.language,i=pt[o]||pt.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 s.jsxs("div",{style:{"--bg-color":(null==t?void 0:t.headerBgColor)??"#FFFFFF"},className:`tw-of tw-xp tw-gj tw-tm tw-ja tw-ch tw-od tw-rm tw-qm tw-rq tw-ko ${n} ${u?"tw-ej tw-ra tw-q":"tw-ul tw-qo tw-jb"}`,children:[s.jsxs("div",{className:"tw-lt tw-yq tw-lh tw-md tw-um tw-ek tw-dk tw-ch tw-pc tw-fe tw-ij",onClick:()=>{l((f=>!f))},children:[s.jsxs("div",{className:"tw-yq tw-lh tw-em",children:[s.jsx(rg,{style:{"--bg-color":(null==t?void 0:t.headerBgColor)??"#FFFFFF"},className:"tw-sp tw-ka"}),s.jsx("span",{className:"tw-ro tw-gf",children:i.statistic})]}),s.jsx(lg,{className:"tw-sp tw-za tw-hh "+(r?"tw-pk":"")})]}),s.jsx("div",{className:"tw-zq tw-se tw-hh tw-ls "+(r?"tw-ld tw-rs ":"tw-kd tw-ns"),children:s.jsx("div",{className:"tw-yq tw-wm tw-fm tw-od",children:a.map(((f,d)=>s.jsxs("div",{className:"tw-yq tw-em",children:[s.jsx("span",{className:"tw-ne tw-uf tw-mf",children:f.title}),s.jsx("span",{children:f.value})]},d)))})})]})};const ag={_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 cg(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+=ag.fromNumber(Math.ceil(Math.random()*Number.MAX_SAFE_INTEGER));return t.substr(Math.floor(t.length/2-e/2),e)}(t)}`}function Ad(e){const t=e.substr(0,8),n=parseInt(t,36);return new Date(n)}const jd=b.createContext();function Dd({children:e}){const[t,n]=b.useState(!1),[u,r]=b.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]=b.useState("");return b.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((c=>(console.log("Updating intentResponse",{...c,[a.data.intent]:a.data.response}),{...c,[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)}),[]),s.jsx(jd.Provider,{value:{isFullScreen:t,setIsFullScreen:n,intentResponse:u,setIntentResponse:r,promptInject:l,setPromptInject:o},children:e})}const Fd=()=>b.useContext(jd);async function pg(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(`${Sn}/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 wg=(e,t)=>({handleAck:n=>{clearTimeout(t.current[n.msgID]),e((u=>Br(u,n.msgID,"error"===n.status?n.error:void 0)))},handleAction:n=>{const{action:u}=n;if("TYPING_ON"===u)e((r=>[...r,Nd]));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=Na(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(),c=i!==a,f={msgID:n.msgID,type:"text",role:"assistant",timestamp:o,read:!1,content:n.content,isRAG:!1,query:"",sources:[],isDateChanged:c,currDate:a};return[...r,f]}}))},handleMessage:n=>{e((u=>{let r=Na(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=Ki([n],o);return[...r,i[0]]}))}}),Na=e=>{const t=e[e.length-1];return"assistant"===(null==t?void 0:t.role)&&t.pending?e.slice(0,-1):e},gg=({settings:e,sessionId:t,setChatHistory:n,sendJsonMessage:u,ackListener:r,intentResponse:l})=>({sendViaIntent:(c,f)=>{const d=l[c];n((g=>[...Br(g,f),...d]))},sendViaRestApi:async(c,f,d,g,y,m)=>{var j,x,p;const k=setTimeout((()=>{n((w=>[...w,Nd]))}),3e3);try{const w={type:f.type||"text",message:c};(null==(j=f.images)?void 0:j.length)>0&&(w.images=f.images),(null==(x=f.videos)?void 0:x.length)>0&&(w.videos=f.videos),(null==(p=f.fileUrls)?void 0:p.length)>0&&(w.fileUrls=f.fileUrls);const v={conversationID:t,messages:[w]};y&&(v.greetings=g);const[E,S]=await tf_chat(v,{"client-id":e.embedId,"session-id":t},e.restUrl);clearTimeout(k),xg(S,E,d,n,m)}catch(w){clearTimeout(k),console.error("Error fetching REST API:",w),n((v=>Br(v,d,w.message)))}},sendViaWebSocket:(c,f)=>{const d=e.chatFnVersion,g=JSON.stringify({...c.toWSJson(),version:d||void 0});u({action:"sendMessage",body:g}),r.current[f]=setTimeout((()=>{n((y=>Br(y,f,"Couldn't send")))}),2e4)}}),xg=(e,t,n,u,r)=>{200===e?u((l=>{if(!l[l.length-1])return l;const i=Br(Na(l),n),a=Ad(n).toLocaleDateString();return[...i,...Ki(t,a)]})):303===e?r():console.error("Unhandled status code:",e)},yg=(e,t,n={},u="text")=>{const l=cg(new Date,3);return{newMessage:new bg(l,e,"user",t,!0,n,u),msgID:l}},vg=e=>{const t=e.filter((u=>u.pending));return[...e.filter((u=>!u.pending)),...t]},Br=(e,t,n)=>e.map((u=>u.msgID===t?{...u,sending:!1,pending:!1,...void 0!==n&&{error:n}}:u)),Nd={content:"",role:"assistant",pending:!0};class bg{constructor(t,n,u,r,l=!0,o={},i="text"){this.msgID=t,this.type=i,this.content=n,this.role=u,this.timestamp=Ad(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 _g=0;function kg(){const[e,t]=b.useState([]),[n,u]=b.useState([]),r=b.useCallback((c=>{const{valid:f,errors:d}=function(e,t=[]){const n=[],u=[],r=Da-t.length,l=Array.from(e).slice(0,r);e.length>r&&u.push(`Max ${Da} files allowed`);for(const o of l){const i=V5(o);i?u.push(`${o.name}: ${i}`):n.push(o)}return{valid:n,errors:u}}(c,e);if(u(d),0===f.length)return;const g=f.map((y=>{const m=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-"+ ++_g,file:y,category:m,previewUrl:"image"===m||"video"===m?URL.createObjectURL(y):null,status:"pending",s3Key:null,error:null}}));t((y=>[...y,...g]))}),[e]),l=b.useCallback((c=>{t((f=>{const d=f.find((g=>g.id===c));return null!=d&&d.previewUrl&&URL.revokeObjectURL(d.previewUrl),f.filter((g=>g.id!==c))}))}),[]),o=b.useCallback((()=>{t((c=>(c.forEach((f=>{f.previewUrl&&URL.revokeObjectURL(f.previewUrl)})),[]))),u([])}),[]),i=b.useCallback(((c,f)=>{t((d=>d.map((g=>g.id===c?{...g,...f}:g))))}),[]),a=e.length>0;return{attachments:e,validationErrors:n,addFiles:r,removeAttachment:l,clearAttachments:o,updateAttachment:i,hasAttachments:a}}function Eg({isFullScreen:e,isChatOpen:t,sessionId:n,settings:u,chatHistory:r=[],setChatHistory:l}){const{showSuggest:o,setShowSugguest:i,suggestList:a,setSuggestList:c,isLoading:f}=function(e,t){const n=b.useMemo((()=>e.defaultSuggestions?JSON.parse(e.defaultSuggestions):[]),[e.defaultSuggestions]),[u,r]=b.useState(0===t.length&&n.length>0),[l,o]=b.useState([]),[i,a]=b.useState(!1);return b.useEffect((()=>{0===t.length&&n.length>0&&(r(!0),o([]))}),[t.length,n]),b.useEffect((()=>{a(l.length<=0)}),[l]),b.useEffect((()=>{const c=t.length>0&&"assistant"===t[t.length-1].role&&!t[t.length-1].pending;"on"===e.autoSuggestions&&c&&("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:d,disconnect:g}=Sd();b.useEffect((()=>(r.length>0&&d(n),()=>g())),[]);const{attachments:y,validationErrors:m,addFiles:k,removeAttachment:j,clearAttachments:x,updateAttachment:p,hasAttachments:w}=kg(),{handleSubmit:v,message:E,setMessage:S}=function({chatHistory:e,setChatHistory:t,settings:n,sessionId:u,setShowSugguest:r,attachments:l=[],clearAttachments:o,updateAttachment:i}){const[a,c]=b.useState(""),f=b.useRef({}),{connect:d,sendJsonMessage:g,lastJsonMessage:y}=Sd(),{intentResponse:m}=Fd(),k=b.useCallback((async(j,x=null)=>{var I;j&&j.preventDefault();const p=x??a,w=l.length>0;if(!p.trim()&&!w)return;let v={},E="text";if(w){l.forEach((ie=>i(ie.id,{status:"uploading"})));const W={"client-id":n.embedId,"session-id":u};try{const ie=l.map((R=>R.file)),xe=await pg(ie,W),Ne=null==(I=null==xe?void 0:xe.passedItems)?void 0:I.map((R=>R.url));if(!Ne||0===Ne.length)throw new Error("No files returned from upload");l.forEach((R=>i(R.id,{status:"done"})));const Ge=[],lt=[],N=[];l.forEach(((R,z)=>{const V=Ne[z];"video"===R.category?lt.push(V):"document"===R.category?N.push(V):Ge.push(V)})),Ge.length>0&&(v.images=Ge),lt.length>0&&(v.videos=lt),N.length>0&&(v.fileUrls=N);const $=l[0].category;E="video"===$?"video":"document"===$?"file":"image"}catch(ie){return void l.forEach((xe=>i(xe.id,{status:"error",error:(null==ie?void 0:ie.message)||"Upload failed"})))}}r(!1);const S=0===e.length,C=S?bd(n):[];"true"!==n.restApi&&S&&d(u);const{newMessage:A,msgID:O}=yg(p,C,v,w?E:"text");t((W=>vg([...W,A.toJson()]))),c(""),w&&o();const T=gg({settings:n,sessionId:u,setChatHistory:t,sendJsonMessage:g,ackListener:f,intentResponse:m});if(m[p])T.sendViaIntent(p,O);else if("true"===n.restApi&&n.restUrl){const W=()=>{n.restApi="true",d(u)};await T.sendViaRestApi(p,A,O,C,S,W)}else T.sendViaWebSocket(A,O)}),[e,a,c,t,n,u,d,g,r,m,l,o,i]);return b.useEffect((()=>{if(!y)return;const j=wg(t,f);switch(y.event){case"ack":j.handleAck(y);break;case"action":j.handleAction(y);break;case"message":case"event":j.handleMessage(y);break;case"message_stream":j.handleMessageStream(y);break;default:console.warn("Unhandled WebSocket event:",y.event)}}),[y,t]),{handleSubmit:k,message:a,setMessage:c}}({chatHistory:r,setChatHistory:l,settings:u,sessionId:n,setShowSugguest:i,attachments:y,clearAttachments:x,updateAttachment:p}),A=r[r.length-1],O={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((T=>T.key)).join(", ")}]`:"[]",scores:null!=A&&A.sources?`[${null==A?void 0:A.sources.map((T=>T.score)).join(", ")}]`:"[]"};return s.jsxs("div",{className:"tw-cp tw-fn tw-yq tw-wm tw-od",children:[s.jsx(P5,{sessionId:n,settings:u,history:r,isChatOpen:t,showSuggestions:o,setShowSuggesstion:i,setSuggestList:c,isFullScreen:e,submit:v,suggestList:a,isSuggestLoading:f}),s.jsx("div",{className:"tw-qm tw-vm tw-ep tw-xp tw-zs",children:s.jsx(W5,{settings:u,message:E,submit:v,onChange:T=>{S(T.target.value)},inputDisabled:!1,buttonDisabled:!(E&&""!==E||w),attachments:y,onAddFiles:k,onRemoveAttachment:j,validationErrors:m})}),O.tool&&s.jsx(og,{data:O,isFullScreen:e,settings:u,className:""})]})}function Cg({isChatOpen:e,closeChat:t,settings:n,sessionId:u,isFullScreen:r,isIframe:l,toggleFullScreen:o}){const{chatHistory:i,setChatHistory:a,resetChat:c,loading:f}=function(e=null,t=null){const[n,u]=b.useState(!0),[r,l]=b.useState([]),o=b.useCallback((async()=>{if(t&&e){u(!0);try{const a=await Cu.getMessages({"client-id":e.embedId,"session-id":t},e.restUrl),c=Ki(a);l(c)}catch(a){console.error("Error fetching historical chats:",a)}finally{u(!1)}}}),[t,e]);return b.useEffect((()=>{o()}),[o]),{chatHistory:r,setChatHistory:l,resetChat:async()=>{await Cu.resetMessages({"client-id":e.embedId,"session-id":t},e.restUrl),l([])},loading:n,refetch:o}}(n,u),d=0===i.length;return f?s.jsxs("main",{className:"tw-yq tw-wm tw-cp",children:[s.jsx(nf,{resetChat:c,closeChat:t,settings:n}),s.jsx(z5,{})]}):s.jsxs("main",{className:"anm-group tw-yq tw-wm tw-cp tw-jl",children:[s.jsx(nf,{resetChat:c,closeChat:t,settings:n,sessionId:u,isNoMessage:d,isFullScreen:r,isIframe:l,toggleFullScreen:o}),s.jsx(Eg,{isFullScreen:r,isChatOpen:e,sessionId:u,settings:n,chatHistory:i,setChatHistory:a})]})}for(var ke=[],Ma=0;Ma<256;++Ma)ke.push((Ma+256).toString(16).slice(1));var Dl,Ag=new Uint8Array(16);function jg(){if(!Dl&&!(Dl=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 Dl(Ag)}const Md={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Fg(e,t,n){if(Md.randomUUID&&!t&&!e)return Md.randomUUID();var u=(e=e||{}).random||(e.rng||jg)();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 Mg({settings:e,toggleGreetingsShow:t}){const[n,u]=b.useState([]);return b.useEffect((()=>{const r=e.greetings?JSON.parse(e.greetings):[];u(r),t(!0)}),[e]),s.jsxs(s.Fragment,{children:[s.jsx("button",{className:"tw-qm tw-vi tw-fe tw-pq tw-go tw-hl tw-yq tw-ul tw-m tw-ie tw-lh tw-xo tw-rp tw-ai tw-so tw-ce tw-uk tw-qp",onClick:r=>{r.stopPropagation(),t(!1)},children:"✕"}),n.map(((r,l)=>s.jsx("div",{style:{animationFillMode:"forwards",animationDelay:.6+.3*l+"s"},className:"tw-yq tw-cj tw-rm tw-bm tw-zo tw-rb tw-ch tw-qk tw-mt tw-gt tw-so tw-ul tw-mo tw-d tw-jl",children:r},l)))]})}const Tg=({isOpen:e,onClose:t,children:n})=>e?s.jsx("div",{className:"tw-cq tw-yq tw-ao tw-ie tw-lh tw-xp tw-cp tw-ni tw-xo",onClick:t,children:s.jsxs("div",{className:"tw-fn tw-rm tw-hj tw-xp tw-cn tw-am tw-ha",onClick:u=>u.stopPropagation(),children:[s.jsx("button",{className:"tw-qm tw-qq tw-ho tw-ln tw-be tw-vi tw-fe tw-hg tw-nb tw-uq",onClick:t,children:"×"}),n]})}):null;function Td(){const{isChatOpen:e,toggleOpenChat:t}=function(){var u;const[e,t]=b.useState(!(null==(u=null==window?void 0:window.localStorage)||!u.getItem(sl))||!1);return{isChatOpen:e,toggleOpenChat:function(r){!0===r&&window.localStorage.setItem(sl,"1"),!1===r&&window.localStorage.removeItem(sl),t(r)}}}(),{isGreetingsShow:n,toggleGreetingsShow:u}=I5(),r=function(){const[e,t]=b.useState({loaded:!1,...i2});return b.useEffect((()=>{!function(){if(!document)return!1;const u=window.ANIMUZ_EMBED_CONFIG||{},r={...i2,...Wn.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]=b.useState("");return b.useEffect((()=>{!function(){if(!window||!Wn.settings.embedId)return;const u=`anm_${Wn.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"+Fg().replaceAll("-","")+"-"+l;window.localStorage.setItem(u,o),t(o)}()}),[]),e}(),{modalOpen:o,setModalOpen:i,modalContent:a}=b.useContext(Wi),c=window.self!==window.top,f="on"===r.hideBubble||c,{isFullScreen:d,setIsFullScreen:g}=Fd();if(b.useEffect((()=>{("on"===r.openOnLoad||f)&&t(!0)}),[r.loaded]),!r.loaded)return null;r.position;const y=r.windowWidth??"448px",m=r.windowHeight?r.windowHeight:r.offsetBottom?`calc(85dvh - ${r.offsetBottom})`:"85dvh",k=r.sizeOpenButton,x=parseInt(k)+24,p="bottom-left"===r.position;return s.jsxs(s.Fragment,{children:[!f&&s.jsx(T4,{settings:r,isOpen:e,toggleBot:()=>{n&&u(!1),t(!e)},offsetBottom:r.offsetBottom}),s.jsx("div",{id:"animuz-embed-chat-container","data-fullscreen":d,"data-isIframe":c,"data-is-chat-open":e,style:{"--w-width":y,"--w-height":m,"--offset-bottom":r.offsetBottom||"0px","--bottom-offset":r.offsetBottom?`calc(${x}px + ${r.offsetBottom})`:`${x}px`,display:e?"block":"none"},className:"tw-cq tw-te tw-n tw-o tw-r tw-ue tw-xo tw-f tw-bi tw-xp tw-ik tw-wa tw-sa tw-h tw-u tw-w tw-k tw-b tw-e tw-g tw-c tw-od tw-li "+(p?"tw-pm tw-wc":"tw-al tw-ae"),onWheel:w=>w.stopPropagation(),onTouchMove:w=>w.stopPropagation(),children:s.jsx(Cg,{isChatOpen:e,closeChat:()=>t(!1),settings:r,sessionId:l,isFullScreen:d,isIframe:c,toggleFullScreen:()=>g(!d)})}),!f&&n&&s.jsx("div",{id:"animuz-greeting-bubbles",className:"tw-dp tw-yo tw-wm tw-cq tw-jo tw-ef tw-xo tw-nl tw-fe anm-group/greetings",onClick:()=>{u(!1),t(!0)},children:s.jsx(Mg,{settings:r,toggleGreetingsShow:u})}),s.jsx(Tg,{isOpen:o,onClose:()=>i(!1),children:a&&a})]})}const Ta=Object.assign({},(null==(Od=null==document?void 0:document.currentScript)?void 0:Od.dataset)||{}),Wn={settings:Ta,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==(Id=null==document?void 0:document.currentScript)?void 0:Id.src),USER_STYLES:{base:"tw-sd tw-rl"},ASSISTANT_STYLES:{base:"tw-rd tw-tl"}};const La=Ta.allowedPaths,Oa=Ta.blockedPaths;function Ld(e){return La?La.split(",").map((t=>t.trim())).filter((t=>t.length>0)).some((t=>e.startsWith(t))):!Oa||!Oa.split(",").map((t=>t.trim())).filter((t=>t.length>0)).some((t=>e.startsWith(t)))}if(Ld(window.location.pathname)){const e=document.createElement("div");e.id="animuz-chat-widget",e.setAttribute("style","visibility:hidden;opacity:0;"),document.body.appendChild(e);const t=Rl.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)}))})(Wn.stylesSrc).then((()=>{t.render(s.jsx(h.StrictMode,{children:s.jsx(Dd,{children:s.jsx(Cd,{children:s.jsx(o2,{children:s.jsx(Td,{})})})})}))})).catch((n=>{console.error("[Animuz] CSS failed to load:",n),t.render(s.jsx(h.StrictMode,{children:s.jsx(Dd,{children:s.jsx(Cd,{children:s.jsx(o2,{children:s.jsx(Td,{})})})})}))}))}if(La||Oa){const e=()=>{const u=document.getElementById("animuz-chat-widget");u&&(u.style.display=Ld(window.location.pathname)?"":"none")},t=history.pushState,n=history.replaceState;history.pushState=function(){t.apply(this,arguments),e()},history.replaceState=function(){n.apply(this,arguments),e()},window.addEventListener("popstate",e)}Qn.embedderSettings=Wn,Object.defineProperty(Qn,Symbol.toStringTag,{value:"Module"})}));
|