@animuz/embed 0.2.2-rc14.1 → 0.2.2-rc14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(et,ve){"object"==typeof exports&&typeof module<"u"?ve(exports):"function"==typeof define&&define.amd?define(["exports"],ve):ve((et=typeof globalThis<"u"?globalThis:et||self).EmbeddedAnimuz={})}(this,(function(et){"use strict";var vd,yd,zw=Object.defineProperty,Vd=(et,ve,kn)=>((et,ve,kn)=>ve in et?zw(et,ve,{enumerable:!0,configurable:!0,writable:!0,value:kn}):et[ve]=kn)(et,"symbol"!=typeof ve?ve+"":ve,kn);function ve(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kn={exports:{}},Ir={},Ma={exports:{}},B={},Fu=Symbol.for("react.element"),Zd=Symbol.for("react.portal"),qd=Symbol.for("react.fragment"),Wd=Symbol.for("react.strict_mode"),Gd=Symbol.for("react.profiler"),Qd=Symbol.for("react.provider"),Yd=Symbol.for("react.context"),Xd=Symbol.for("react.forward_ref"),Kd=Symbol.for("react.suspense"),Jd=Symbol.for("react.memo"),ep=Symbol.for("react.lazy"),La=Symbol.iterator;
1
+ !function(et,ve){"object"==typeof exports&&typeof module<"u"?ve(exports):"function"==typeof define&&define.amd?define(["exports"],ve):ve((et=typeof globalThis<"u"?globalThis:et||self).EmbeddedAnimuz={})}(this,(function(et){"use strict";var vd,yd,Iw=Object.defineProperty,Vd=(et,ve,kn)=>((et,ve,kn)=>ve in et?Iw(et,ve,{enumerable:!0,configurable:!0,writable:!0,value:kn}):et[ve]=kn)(et,"symbol"!=typeof ve?ve+"":ve,kn);function ve(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kn={exports:{}},Ir={},Ma={exports:{}},B={},Fu=Symbol.for("react.element"),Zd=Symbol.for("react.portal"),qd=Symbol.for("react.fragment"),Wd=Symbol.for("react.strict_mode"),Gd=Symbol.for("react.profiler"),Qd=Symbol.for("react.provider"),Yd=Symbol.for("react.context"),Xd=Symbol.for("react.forward_ref"),Kd=Symbol.for("react.suspense"),Jd=Symbol.for("react.memo"),ep=Symbol.for("react.lazy"),La=Symbol.iterator;
2
2
  /**
3
3
  * @license React
4
4
  * react.production.min.js
@@ -34,9 +34,9 @@
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 T(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 Ga=new Set,Nu={};function Cn(e,t){Un(e,t),Un(e+"Capture",t)}function Un(e,t){for(Nu[e]=t,e=0;e<t.length;e++)Ga.add(t[e])}var Pt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),No=Object.prototype.hasOwnProperty,hp=/^[: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]*$/,Qa={},Ya={};function Fe(e,t,n,u,r,o,l){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=o,this.removeEmptyString=l}var ye={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){ye[e]=new Fe(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];ye[t]=new Fe(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){ye[e]=new Fe(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){ye[e]=new Fe(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){ye[e]=new Fe(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){ye[e]=new Fe(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){ye[e]=new Fe(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){ye[e]=new Fe(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){ye[e]=new Fe(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Mo=/[\-:]([a-z])/g;function Lo(e){return e[1].toUpperCase()}function jo(e,t,n,u){var r=ye.hasOwnProperty(t)?ye[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!!No.call(Ya,e)||!No.call(Qa,e)&&(hp.test(e)?Ya[e]=!0:(Qa[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(Mo,Lo);ye[t]=new Fe(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(Mo,Lo);ye[t]=new Fe(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(Mo,Lo);ye[t]=new Fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){ye[e]=new Fe(e,1,!1,e.toLowerCase(),null,!1,!1)})),ye.xlinkHref=new Fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){ye[e]=new Fe(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Rt=pp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Br=Symbol.for("react.element"),Vn=Symbol.for("react.portal"),Zn=Symbol.for("react.fragment"),Oo=Symbol.for("react.strict_mode"),Po=Symbol.for("react.profiler"),Xa=Symbol.for("react.provider"),Ka=Symbol.for("react.context"),Ro=Symbol.for("react.forward_ref"),Io=Symbol.for("react.suspense"),zo=Symbol.for("react.suspense_list"),Ho=Symbol.for("react.memo"),Xt=Symbol.for("react.lazy"),Ja=Symbol.for("react.offscreen"),es=Symbol.iterator;function Mu(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=es&&e[es]||e["@@iterator"])?e:null}var $o,re=Object.assign;function Lu(e){if(void 0===$o)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);$o=t&&t[1]||""}return"\n"+$o+e}var Bo=!1;function Uo(e,t){if(!e||Bo)return"";Bo=!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"),o=u.stack.split("\n"),l=r.length-1,i=o.length-1;1<=l&&0<=i&&r[l]!==o[i];)i--;for(;1<=l&&0<=i;l--,i--)if(r[l]!==o[i]){if(1!==l||1!==i)do{if(l--,0>--i||r[l]!==o[i]){var a="\n"+r[l].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}}while(1<=l&&0<=i);break}}}finally{Bo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Lu(e):""}function vp(e){switch(e.tag){case 5:return Lu(e.type);case 16:return Lu("Lazy");case 13:return Lu("Suspense");case 19:return Lu("SuspenseList");case 0:case 2:case 15:return e=Uo(e.type,!1);case 11:return e=Uo(e.type.render,!1);case 1:return e=Uo(e.type,!0);default:return""}}function Vo(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 Zn:return"Fragment";case Vn:return"Portal";case Po:return"Profiler";case Oo:return"StrictMode";case Io:return"Suspense";case zo:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Ka:return(e.displayName||"Context")+".Consumer";case Xa:return(e._context.displayName||"Context")+".Provider";case Ro:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Ho:return null!==(t=e.displayName||null)?t:Vo(e.type)||"Memo";case Xt:t=e._payload,e=e._init;try{return Vo(e(t))}catch{}}return null}function yp(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 Vo(t);case 8:return t===Oo?"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 Kt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ts(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ur(e){e._valueTracker||(e._valueTracker=function(e){var t=ts(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,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(l){u=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return u},setValue:function(l){u=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function ns(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),u="";return e&&(u=ts(e)?e.checked?"true":"false":e.value),(e=u)!==n&&(t.setValue(e),!0)}function Vr(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 Zo(e,t){var n=t.checked;return re({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function us(e,t){var n=null==t.defaultValue?"":t.defaultValue,u=null!=t.checked?t.checked:t.defaultChecked;n=Kt(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 rs(e,t){null!=(t=t.checked)&&jo(e,"checked",t,!1)}function qo(e,t){rs(e,t);var n=Kt(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")?Wo(e,t.type,n):t.hasOwnProperty("defaultValue")&&Wo(e,t.type,Kt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function os(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 Wo(e,t,n){("number"!==t||Vr(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ju=Array.isArray;function qn(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=""+Kt(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 Go(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(T(91));return re({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ls(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(T(92));if(ju(n)){if(1<n.length)throw Error(T(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Kt(n)}}function is(e,t){var n=Kt(t.value),u=Kt(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 as(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ss(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 Qo(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ss(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Zr,e,cs=(e=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Zr=Zr||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Zr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,u,r){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e);function Ou(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 Pu={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},bp=["Webkit","ms","Moz","O"];function fs(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Pu.hasOwnProperty(e)&&Pu[e]?(""+t).trim():t+"px"}function ds(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var u=0===n.indexOf("--"),r=fs(n,t[n],u);"float"===n&&(n="cssFloat"),u?e.setProperty(n,r):e[n]=r}}Object.keys(Pu).forEach((function(e){bp.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pu[t]=Pu[e]}))}));var _p=re({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 Yo(e,t){if(t){if(_p[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(T(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(T(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(T(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(T(62))}}function Xo(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 Ko=null;function Jo(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var el=null,Wn=null,Gn=null;function ps(e){if(e=rr(e)){if("function"!=typeof el)throw Error(T(280));var t=e.stateNode;t&&(t=h0(t),el(e.stateNode,e.type,t))}}function hs(e){Wn?Gn?Gn.push(e):Gn=[e]:Wn=e}function ms(){if(Wn){var e=Wn,t=Gn;if(Gn=Wn=null,ps(e),t)for(e=0;e<t.length;e++)ps(t[e])}}function gs(e,t){return e(t)}function ws(){}var tl=!1;function vs(e,t,n){if(tl)return e(t,n);tl=!0;try{return gs(e,t,n)}finally{tl=!1,(null!==Wn||null!==Gn)&&(ws(),ms())}}function Ru(e,t){var n=e.stateNode;if(null===n)return null;var u=h0(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(T(231,t,typeof n));return n}var nl=!1;if(Pt)try{var Iu={};Object.defineProperty(Iu,"passive",{get:function(){nl=!0}}),window.addEventListener("test",Iu,Iu),window.removeEventListener("test",Iu,Iu)}catch{nl=!1}function Ep(e,t,n,u,r,o,l,i,a){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var zu=!1,qr=null,Wr=!1,ul=null,kp={onError:function(e){zu=!0,qr=e}};function Cp(e,t,n,u,r,o,l,i,a){zu=!1,qr=null,Ep.apply(kp,arguments)}function Sn(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 ys(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 xs(e){if(Sn(e)!==e)throw Error(T(188))}function bs(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Sn(e)))throw Error(T(188));return t!==e?null:e}for(var n=e,u=t;;){var r=n.return;if(null===r)break;var o=r.alternate;if(null===o){if(null!==(u=r.return)){n=u;continue}break}if(r.child===o.child){for(o=r.child;o;){if(o===n)return xs(r),e;if(o===u)return xs(r),t;o=o.sibling}throw Error(T(188))}if(n.return!==u.return)n=r,u=o;else{for(var l=!1,i=r.child;i;){if(i===n){l=!0,n=r,u=o;break}if(i===u){l=!0,u=r,n=o;break}i=i.sibling}if(!l){for(i=o.child;i;){if(i===n){l=!0,n=o,u=r;break}if(i===u){l=!0,u=o,n=r;break}i=i.sibling}if(!l)throw Error(T(189))}}if(n.alternate!==u)throw Error(T(190))}if(3!==n.tag)throw Error(T(188));return n.stateNode.current===n?e:t}(e))?_s(e):null}function _s(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=_s(e);if(null!==t)return t;e=e.sibling}return null}var Es=qe.unstable_scheduleCallback,ks=qe.unstable_cancelCallback,Tp=qe.unstable_shouldYield,Dp=qe.unstable_requestPaint,ae=qe.unstable_now,Fp=qe.unstable_getCurrentPriorityLevel,rl=qe.unstable_ImmediatePriority,Cs=qe.unstable_UserBlockingPriority,Gr=qe.unstable_NormalPriority,Np=qe.unstable_LowPriority,Ss=qe.unstable_IdlePriority,Qr=null,kt=null;var pt=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(Lp(e)/jp|0)|0},Lp=Math.log,jp=Math.LN2;var Yr=64,Xr=4194304;function Hu(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 Kr(e,t){var n=e.pendingLanes;if(0===n)return 0;var u=0,r=e.suspendedLanes,o=e.pingedLanes,l=268435455&n;if(0!==l){var i=l&~r;0!==i?u=Hu(i):0!==(o&=l)&&(u=Hu(o))}else 0!==(l=n&~r)?u=Hu(l):0!==o&&(u=Hu(o));if(0===u)return 0;if(0!==t&&t!==u&&!(t&r)&&((r=u&-u)>=(o=t&-t)||16===r&&4194240&o))return t;if(4&u&&(u|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=u;0<t;)r=1<<(n=31-pt(t)),u|=e[n],t&=~r;return u}function Pp(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 ol(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function As(){var e=Yr;return!(4194240&(Yr<<=1))&&(Yr=64),e}function ll(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function $u(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-pt(t)]=n}function il(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var u=31-pt(n),r=1<<u;r&t|e[u]&t&&(e[u]|=t),n&=~r}}var Z=0;function Ts(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var Ds,al,Fs,Ns,Ms,sl=!1,Jr=[],Jt=null,en=null,tn=null,Bu=new Map,Uu=new Map,nn=[],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 Ls(e,t){switch(e){case"focusin":case"focusout":Jt=null;break;case"dragenter":case"dragleave":en=null;break;case"mouseover":case"mouseout":tn=null;break;case"pointerover":case"pointerout":Bu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Uu.delete(t.pointerId)}}function Vu(e,t,n,u,r,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:u,nativeEvent:o,targetContainers:[r]},null!==t&&(null!==(t=rr(t))&&al(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,null!==r&&-1===t.indexOf(r)&&t.push(r),e)}function js(e){var t=An(e.target);if(null!==t){var n=Sn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=ys(n)))return e.blockedOn=t,void Ms(e.priority,(function(){Fs(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 e0(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=fl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=rr(n))&&al(t),e.blockedOn=n,!1;var u=new(n=e.nativeEvent).constructor(n.type,n);Ko=u,n.target.dispatchEvent(u),Ko=null,t.shift()}return!0}function Os(e,t,n){e0(e)&&n.delete(t)}function $p(){sl=!1,null!==Jt&&e0(Jt)&&(Jt=null),null!==en&&e0(en)&&(en=null),null!==tn&&e0(tn)&&(tn=null),Bu.forEach(Os),Uu.forEach(Os)}function Zu(e,t){e.blockedOn===t&&(e.blockedOn=null,sl||(sl=!0,qe.unstable_scheduleCallback(qe.unstable_NormalPriority,$p)))}function qu(e){function t(r){return Zu(r,e)}if(0<Jr.length){Zu(Jr[0],e);for(var n=1;n<Jr.length;n++){var u=Jr[n];u.blockedOn===e&&(u.blockedOn=null)}}for(null!==Jt&&Zu(Jt,e),null!==en&&Zu(en,e),null!==tn&&Zu(tn,e),Bu.forEach(t),Uu.forEach(t),n=0;n<nn.length;n++)(u=nn[n]).blockedOn===e&&(u.blockedOn=null);for(;0<nn.length&&null===(n=nn[0]).blockedOn;)js(n),null===n.blockedOn&&nn.shift()}var Qn=Rt.ReactCurrentBatchConfig,t0=!0;function Bp(e,t,n,u){var r=Z,o=Qn.transition;Qn.transition=null;try{Z=1,cl(e,t,n,u)}finally{Z=r,Qn.transition=o}}function Up(e,t,n,u){var r=Z,o=Qn.transition;Qn.transition=null;try{Z=4,cl(e,t,n,u)}finally{Z=r,Qn.transition=o}}function cl(e,t,n,u){if(t0){var r=fl(e,t,n,u);if(null===r)Tl(e,t,u,n0,n),Ls(e,u);else if(function(e,t,n,u,r){switch(t){case"focusin":return Jt=Vu(Jt,e,t,n,u,r),!0;case"dragenter":return en=Vu(en,e,t,n,u,r),!0;case"mouseover":return tn=Vu(tn,e,t,n,u,r),!0;case"pointerover":var o=r.pointerId;return Bu.set(o,Vu(Bu.get(o)||null,e,t,n,u,r)),!0;case"gotpointercapture":return o=r.pointerId,Uu.set(o,Vu(Uu.get(o)||null,e,t,n,u,r)),!0}return!1}(r,e,t,n,u))u.stopPropagation();else if(Ls(e,u),4&t&&-1<zp.indexOf(e)){for(;null!==r;){var o=rr(r);if(null!==o&&Ds(o),null===(o=fl(e,t,n,u))&&Tl(e,t,u,n0,n),o===r)break;r=o}null!==r&&u.stopPropagation()}else Tl(e,t,u,null,n)}}var n0=null;function fl(e,t,n,u){if(n0=null,null!==(e=An(e=Jo(u))))if(null===(t=Sn(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=ys(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 n0=e,null}function Ps(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(Fp()){case rl:return 1;case Cs:return 4;case Gr:case Np:return 16;case Ss:return 536870912;default:return 16}default:return 16}}var un=null,dl=null,u0=null;function Rs(){if(u0)return u0;var e,u,t=dl,n=t.length,r="value"in un?un.value:un.textContent,o=r.length;for(e=0;e<n&&t[e]===r[e];e++);var l=n-e;for(u=1;u<=l&&t[n-u]===r[o-u];u++);return u0=r.slice(e,1<u?1-u:void 0)}function r0(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 o0(){return!0}function Is(){return!1}function We(e){function t(n,u,r,o,l){for(var i in this._reactName=n,this._targetInst=r,this.type=u,this.nativeEvent=o,this.target=l,this.currentTarget=null,e)e.hasOwnProperty(i)&&(n=e[i],this[i]=n?n(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?o0:Is,this.isPropagationStopped=Is,this}return re(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=o0)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():"unknown"!=typeof n.cancelBubble&&(n.cancelBubble=!0),this.isPropagationStopped=o0)},persist:function(){},isPersistent:o0}),t}var hl,ml,Gu,Yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pl=We(Yn),Wu=re({},Yn,{view:0,detail:0}),Vp=We(Wu),l0=re({},Wu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wl,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!==Gu&&(Gu&&"mousemove"===e.type?(hl=e.screenX-Gu.screenX,ml=e.screenY-Gu.screenY):ml=hl=0,Gu=e),hl)},movementY:function(e){return"movementY"in e?e.movementY:ml}}),zs=We(l0),qp=We(re({},l0,{dataTransfer:0})),gl=We(re({},Wu,{relatedTarget:0})),Qp=We(re({},Yn,{animationName:0,elapsedTime:0,pseudoElement:0})),Yp=re({},Yn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Xp=We(Yp),Hs=We(re({},Yn,{data:0})),Jp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},e3={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"},t3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function n3(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=t3[e])&&!!t[e]}function wl(){return n3}var u3=re({},Wu,{key:function(e){if(e.key){var t=Jp[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=r0(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?e3[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wl,charCode:function(e){return"keypress"===e.type?r0(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?r0(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),r3=We(u3),$s=We(re({},l0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),i3=We(re({},Wu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wl})),s3=We(re({},Yn,{propertyName:0,elapsedTime:0,pseudoElement:0})),c3=re({},l0,{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}),f3=We(c3),d3=[9,13,27,32],vl=Pt&&"CompositionEvent"in window,Qu=null;Pt&&"documentMode"in document&&(Qu=document.documentMode);var p3=Pt&&"TextEvent"in window&&!Qu,Bs=Pt&&(!vl||Qu&&8<Qu&&11>=Qu),Us=" ",Vs=!1;function Zs(e,t){switch(e){case"keyup":return-1!==d3.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qs(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Xn=!1;var g3={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 Ws(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!g3[e.type]:"textarea"===t}function Gs(e,t,n,u){hs(u),0<(t=f0(t,"onChange")).length&&(n=new pl("onChange","change",null,n,u),e.push({event:n,listeners:t}))}var Yu=null,Xu=null;function w3(e){dc(e,0)}function i0(e){if(ns(nu(e)))return e}function v3(e,t){if("change"===e)return t}var Qs=!1;if(Pt){var yl;if(Pt){var xl="oninput"in document;if(!xl){var Ys=document.createElement("div");Ys.setAttribute("oninput","return;"),xl="function"==typeof Ys.oninput}yl=xl}else yl=!1;Qs=yl&&(!document.documentMode||9<document.documentMode)}function Xs(){Yu&&(Yu.detachEvent("onpropertychange",Ks),Xu=Yu=null)}function Ks(e){if("value"===e.propertyName&&i0(Xu)){var t=[];Gs(t,Xu,e,Jo(e)),vs(w3,t)}}function y3(e,t,n){"focusin"===e?(Xs(),Xu=n,(Yu=t).attachEvent("onpropertychange",Ks)):"focusout"===e&&Xs()}function x3(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return i0(Xu)}function b3(e,t){if("click"===e)return i0(t)}function _3(e,t){if("input"===e||"change"===e)return i0(t)}var ht="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Ku(e,t){if(ht(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(!No.call(t,r)||!ht(e[r],t[r]))return!1}return!0}function Js(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ec(e,t){var u,n=Js(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=Js(n)}}function tc(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?tc(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function nc(){for(var e=window,t=Vr();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch{n=!1}if(!n)break;t=Vr((e=t.contentWindow).document)}return t}function bl(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 k3(e){var t=nc(),n=e.focusedElem,u=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&tc(n.ownerDocument.documentElement,n)){if(null!==u&&bl(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,o=Math.min(u.start,r);u=void 0===u.end?o:Math.min(u.end,r),!e.extend&&o>u&&(r=u,u=o,o=r),r=ec(n,o);var l=ec(n,u);r&&l&&(1!==e.rangeCount||e.anchorNode!==r.node||e.anchorOffset!==r.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&((t=t.createRange()).setStart(r.node,r.offset),e.removeAllRanges(),o>u?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.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 C3=Pt&&"documentMode"in document&&11>=document.documentMode,Kn=null,_l=null,Ju=null,El=!1;function uc(e,t,n){var u=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;El||null==Kn||Kn!==Vr(u)||("selectionStart"in(u=Kn)&&bl(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},Ju&&Ku(Ju,u)||(Ju=u,0<(u=f0(_l,"onSelect")).length&&(t=new pl("onSelect","select",null,t,n),e.push({event:t,listeners:u}),t.target=Kn)))}function a0(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Jn={animationend:a0("Animation","AnimationEnd"),animationiteration:a0("Animation","AnimationIteration"),animationstart:a0("Animation","AnimationStart"),transitionend:a0("Transition","TransitionEnd")},kl={},rc={};function s0(e){if(kl[e])return kl[e];if(!Jn[e])return e;var n,t=Jn[e];for(n in t)if(t.hasOwnProperty(n)&&n in rc)return kl[e]=t[n];return e}Pt&&(rc=document.createElement("div").style,"AnimationEvent"in window||(delete Jn.animationend.animation,delete Jn.animationiteration.animation,delete Jn.animationstart.animation),"TransitionEvent"in window||delete Jn.transitionend.transition);var oc=s0("animationend"),lc=s0("animationiteration"),ic=s0("animationstart"),ac=s0("transitionend"),sc=new Map,cc="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 rn(e,t){sc.set(e,t),Cn(t,[e])}for(var Cl=0;Cl<cc.length;Cl++){var Sl=cc[Cl];rn(Sl.toLowerCase(),"on"+(Sl[0].toUpperCase()+Sl.slice(1)))}rn(oc,"onAnimationEnd"),rn(lc,"onAnimationIteration"),rn(ic,"onAnimationStart"),rn("dblclick","onDoubleClick"),rn("focusin","onFocus"),rn("focusout","onBlur"),rn(ac,"onTransitionEnd"),Un("onMouseEnter",["mouseout","mouseover"]),Un("onMouseLeave",["mouseout","mouseover"]),Un("onPointerEnter",["pointerout","pointerover"]),Un("onPointerLeave",["pointerout","pointerover"]),Cn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Cn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Cn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Cn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Cn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Cn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var er="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(" "),T3=new Set("cancel close invalid load scroll toggle".split(" ").concat(er));function fc(e,t,n){var u=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,u,r,o,l,i,a){if(Cp.apply(this,arguments),zu){if(!zu)throw Error(T(198));var s=qr;zu=!1,qr=null,Wr||(Wr=!0,ul=s)}}(u,t,void 0,e),e.currentTarget=null}function dc(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 o=void 0;if(t)for(var l=u.length-1;0<=l;l--){var i=u[l],a=i.instance,s=i.currentTarget;if(i=i.listener,a!==o&&r.isPropagationStopped())break e;fc(r,i,s),o=a}else for(l=0;l<u.length;l++){if(a=(i=u[l]).instance,s=i.currentTarget,i=i.listener,a!==o&&r.isPropagationStopped())break e;fc(r,i,s),o=a}}}if(Wr)throw e=ul,Wr=!1,ul=null,e}function K(e,t){var n=t[jl];void 0===n&&(n=t[jl]=new Set);var u=e+"__bubble";n.has(u)||(pc(t,e,2,!1),n.add(u))}function Al(e,t,n){var u=0;t&&(u|=4),pc(n,e,u,t)}var c0="_reactListening"+Math.random().toString(36).slice(2);function tr(e){if(!e[c0]){e[c0]=!0,Ga.forEach((function(n){"selectionchange"!==n&&(T3.has(n)||Al(n,!1,e),Al(n,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[c0]||(t[c0]=!0,Al("selectionchange",!1,t))}}function pc(e,t,n,u){switch(Ps(t)){case 1:var r=Bp;break;case 4:r=Up;break;default:r=cl}n=r.bind(null,t,n,e),r=void 0,!nl||"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 Tl(e,t,n,u,r){var o=u;if(!(1&t||2&t||null===u))e:for(;;){if(null===u)return;var l=u.tag;if(3===l||4===l){var i=u.stateNode.containerInfo;if(i===r||8===i.nodeType&&i.parentNode===r)break;if(4===l)for(l=u.return;null!==l;){var a=l.tag;if((3===a||4===a)&&((a=l.stateNode.containerInfo)===r||8===a.nodeType&&a.parentNode===r))return;l=l.return}for(;null!==i;){if(null===(l=An(i)))return;if(5===(a=l.tag)||6===a){u=o=l;continue e}i=i.parentNode}}u=u.return}vs((function(){var s=o,c=Jo(n),d=[];e:{var h=sc.get(e);if(void 0!==h){var v=pl,g=e;switch(e){case"keypress":if(0===r0(n))break e;case"keydown":case"keyup":v=r3;break;case"focusin":g="focus",v=gl;break;case"focusout":g="blur",v=gl;break;case"beforeblur":case"afterblur":v=gl;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":v=zs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=qp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=i3;break;case oc:case lc:case ic:v=Qp;break;case ac:v=s3;break;case"scroll":v=Vp;break;case"wheel":v=f3;break;case"copy":case"cut":case"paste":v=Xp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=$s}var _=!!(4&t),S=!_&&"scroll"===e,y=_?null!==h?h+"Capture":null:h;_=[];for(var w,f=s;null!==f;){var x=(w=f).stateNode;if(5===w.tag&&null!==x&&(w=x,null!==y&&(null!=(x=Ru(f,y))&&_.push(nr(f,x,w)))),S)break;f=f.return}0<_.length&&(h=new v(h,g,null,n,c),d.push({event:h,listeners:_}))}}if(!(7&t)){if(v="mouseout"===e||"pointerout"===e,(!(h="mouseover"===e||"pointerover"===e)||n===Ko||!(g=n.relatedTarget||n.fromElement)||!An(g)&&!g[It])&&(v||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,v?(v=s,null!==(g=(g=n.relatedTarget||n.toElement)?An(g):null)&&(g!==(S=Sn(g))||5!==g.tag&&6!==g.tag)&&(g=null)):(v=null,g=s),v!==g)){if(_=zs,x="onMouseLeave",y="onMouseEnter",f="mouse",("pointerout"===e||"pointerover"===e)&&(_=$s,x="onPointerLeave",y="onPointerEnter",f="pointer"),S=null==v?h:nu(v),w=null==g?h:nu(g),(h=new _(x,f+"leave",v,n,c)).target=S,h.relatedTarget=w,x=null,An(c)===s&&((_=new _(y,f+"enter",g,n,c)).target=w,_.relatedTarget=S,x=_),S=x,v&&g)t:{for(y=g,f=0,w=_=v;w;w=eu(w))f++;for(w=0,x=y;x;x=eu(x))w++;for(;0<f-w;)_=eu(_),f--;for(;0<w-f;)y=eu(y),w--;for(;f--;){if(_===y||null!==y&&_===y.alternate)break t;_=eu(_),y=eu(y)}_=null}else _=null;null!==v&&hc(d,h,v,_,!1),null!==g&&null!==S&&hc(d,S,g,_,!0)}if("select"===(v=(h=s?nu(s):window).nodeName&&h.nodeName.toLowerCase())||"input"===v&&"file"===h.type)var k=v3;else if(Ws(h))if(Qs)k=_3;else{k=x3;var C=y3}else(v=h.nodeName)&&"input"===v.toLowerCase()&&("checkbox"===h.type||"radio"===h.type)&&(k=b3);switch(k&&(k=k(e,s))?Gs(d,k,n,c):(C&&C(e,h,s),"focusout"===e&&(C=h._wrapperState)&&C.controlled&&"number"===h.type&&Wo(h,"number",h.value)),C=s?nu(s):window,e){case"focusin":(Ws(C)||"true"===C.contentEditable)&&(Kn=C,_l=s,Ju=null);break;case"focusout":Ju=_l=Kn=null;break;case"mousedown":El=!0;break;case"contextmenu":case"mouseup":case"dragend":El=!1,uc(d,n,c);break;case"selectionchange":if(C3)break;case"keydown":case"keyup":uc(d,n,c)}var A;if(vl)e:{switch(e){case"compositionstart":var F="onCompositionStart";break e;case"compositionend":F="onCompositionEnd";break e;case"compositionupdate":F="onCompositionUpdate";break e}F=void 0}else Xn?Zs(e,n)&&(F="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(F="onCompositionStart");F&&(Bs&&"ko"!==n.locale&&(Xn||"onCompositionStart"!==F?"onCompositionEnd"===F&&Xn&&(A=Rs()):(dl="value"in(un=c)?un.value:un.textContent,Xn=!0)),0<(C=f0(s,F)).length&&(F=new Hs(F,e,null,n,c),d.push({event:F,listeners:C}),A?F.data=A:null!==(A=qs(n))&&(F.data=A))),(A=p3?function(e,t){switch(e){case"compositionend":return qs(t);case"keypress":return 32!==t.which?null:(Vs=!0,Us);case"textInput":return(e=t.data)===Us&&Vs?null:e;default:return null}}(e,n):function(e,t){if(Xn)return"compositionend"===e||!vl&&Zs(e,t)?(e=Rs(),u0=dl=un=null,Xn=!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 Bs&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(s=f0(s,"onBeforeInput")).length&&(c=new Hs("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:s}),c.data=A))}dc(d,t)}))}function nr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function f0(e,t){for(var n=t+"Capture",u=[];null!==e;){var r=e,o=r.stateNode;5===r.tag&&null!==o&&(r=o,null!=(o=Ru(e,n))&&u.unshift(nr(e,o,r)),null!=(o=Ru(e,t))&&u.push(nr(e,o,r))),e=e.return}return u}function eu(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function hc(e,t,n,u,r){for(var o=t._reactName,l=[];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=Ru(n,o))&&l.unshift(nr(n,a,i)):r||null!=(a=Ru(n,o))&&l.push(nr(n,a,i))),n=n.return}0!==l.length&&e.push({event:t,listeners:l})}var D3=/\r\n?/g,F3=/\u0000|\uFFFD/g;function mc(e){return("string"==typeof e?e:""+e).replace(D3,"\n").replace(F3,"")}function d0(e,t,n){if(t=mc(t),mc(e)!==t&&n)throw Error(T(425))}function p0(){}var Dl=null,Fl=null;function Nl(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 Ml="function"==typeof setTimeout?setTimeout:void 0,N3="function"==typeof clearTimeout?clearTimeout:void 0,gc="function"==typeof Promise?Promise:void 0,M3="function"==typeof queueMicrotask?queueMicrotask:typeof gc<"u"?function(e){return gc.resolve(null).then(e).catch(L3)}:Ml;function L3(e){setTimeout((function(){throw e}))}function Ll(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 qu(t);u--}else"$"!==n&&"$?"!==n&&"$!"!==n||u++;n=r}while(n);qu(t)}function on(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 wc(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 tu=Math.random().toString(36).slice(2),Ct="__reactFiber$"+tu,ur="__reactProps$"+tu,It="__reactContainer$"+tu,jl="__reactEvents$"+tu,j3="__reactListeners$"+tu,O3="__reactHandles$"+tu;function An(e){var t=e[Ct];if(t)return t;for(var n=e.parentNode;n;){if(t=n[It]||n[Ct]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=wc(e);null!==e;){if(n=e[Ct])return n;e=wc(e)}return t}n=(e=n).parentNode}return null}function rr(e){return!(e=e[Ct]||e[It])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function nu(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(T(33))}function h0(e){return e[ur]||null}var Ol=[],uu=-1;function ln(e){return{current:e}}function J(e){0>uu||(e.current=Ol[uu],Ol[uu]=null,uu--)}function G(e,t){uu++,Ol[uu]=e.current,e.current=t}var an={},ke=ln(an),Pe=ln(!1),Tn=an;function ru(e,t){var n=e.type.contextTypes;if(!n)return an;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var o,r={};for(o in n)r[o]=t[o];return u&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=r),r}function Re(e){return null!=(e=e.childContextTypes)}function m0(){J(Pe),J(ke)}function vc(e,t,n){if(ke.current!==an)throw Error(T(168));G(ke,t),G(Pe,n)}function yc(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(T(108,yp(e)||"Unknown",r));return re({},n,u)}function g0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||an,Tn=ke.current,G(ke,e),G(Pe,Pe.current),!0}function xc(e,t,n){var u=e.stateNode;if(!u)throw Error(T(169));n?(e=yc(e,t,Tn),u.__reactInternalMemoizedMergedChildContext=e,J(Pe),J(ke),G(ke,e)):J(Pe),G(Pe,n)}var zt=null,w0=!1,Pl=!1;function bc(e){null===zt?zt=[e]:zt.push(e)}function sn(){if(!Pl&&null!==zt){Pl=!0;var e=0,t=Z;try{var n=zt;for(Z=1;e<n.length;e++){var u=n[e];do{u=u(!0)}while(null!==u)}zt=null,w0=!1}catch(r){throw null!==zt&&(zt=zt.slice(e+1)),Es(rl,sn),r}finally{Z=t,Pl=!1}}return null}var ou=[],lu=0,v0=null,y0=0,tt=[],nt=0,Dn=null,Ht=1,$t="";function Fn(e,t){ou[lu++]=y0,ou[lu++]=v0,v0=e,y0=t}function _c(e,t,n){tt[nt++]=Ht,tt[nt++]=$t,tt[nt++]=Dn,Dn=e;var u=Ht;e=$t;var r=32-pt(u)-1;u&=~(1<<r),n+=1;var o=32-pt(t)+r;if(30<o){var l=r-r%5;o=(u&(1<<l)-1).toString(32),u>>=l,r-=l,Ht=1<<32-pt(t)+r|n<<r|u,$t=o+e}else Ht=1<<o|n<<r|u,$t=e}function Rl(e){null!==e.return&&(Fn(e,1),_c(e,1,0))}function Il(e){for(;e===v0;)v0=ou[--lu],ou[lu]=null,y0=ou[--lu],ou[lu]=null;for(;e===Dn;)Dn=tt[--nt],tt[nt]=null,$t=tt[--nt],tt[nt]=null,Ht=tt[--nt],tt[nt]=null}var Ge=null,Qe=null,ee=!1,mt=null;function Ec(e,t){var n=lt(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 kc(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,Ge=e,Qe=on(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Ge=e,Qe=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Dn?{id:Ht,overflow:$t}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=lt(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Ge=e,Qe=null,!0);default:return!1}}function zl(e){return!(!(1&e.mode)||128&e.flags)}function Hl(e){if(ee){var t=Qe;if(t){var n=t;if(!kc(e,t)){if(zl(e))throw Error(T(418));t=on(n.nextSibling);var u=Ge;t&&kc(e,t)?Ec(u,n):(e.flags=-4097&e.flags|2,ee=!1,Ge=e)}}else{if(zl(e))throw Error(T(418));e.flags=-4097&e.flags|2,ee=!1,Ge=e}}}function Cc(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ge=e}function x0(e){if(e!==Ge)return!1;if(!ee)return Cc(e),ee=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Nl(e.type,e.memoizedProps)),t&&(t=Qe)){if(zl(e))throw Sc(),Error(T(418));for(;t;)Ec(e,t),t=on(t.nextSibling)}if(Cc(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(T(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Qe=on(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Qe=null}}else Qe=Ge?on(e.stateNode.nextSibling):null;return!0}function Sc(){for(var e=Qe;e;)e=on(e.nextSibling)}function iu(){Qe=Ge=null,ee=!1}function $l(e){null===mt?mt=[e]:mt.push(e)}var R3=Rt.ReactCurrentBatchConfig;function or(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(T(309));var u=n.stateNode}if(!u)throw Error(T(147,e));var r=u,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(l){var i=r.refs;null===l?delete i[o]:i[o]=l})._stringRef=o,t)}if("string"!=typeof e)throw Error(T(284));if(!n._owner)throw Error(T(290,e))}return e}function b0(e,t){throw e=Object.prototype.toString.call(t),Error(T(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ac(e){return(0,e._init)(e._payload)}function Tc(e){function t(y,f){if(e){var w=y.deletions;null===w?(y.deletions=[f],y.flags|=16):w.push(f)}}function n(y,f){if(!e)return null;for(;null!==f;)t(y,f),f=f.sibling;return null}function u(y,f){for(y=new Map;null!==f;)null!==f.key?y.set(f.key,f):y.set(f.index,f),f=f.sibling;return y}function r(y,f){return(y=wn(y,f)).index=0,y.sibling=null,y}function o(y,f,w){return y.index=w,e?null!==(w=y.alternate)?(w=w.index)<f?(y.flags|=2,f):w:(y.flags|=2,f):(y.flags|=1048576,f)}function l(y){return e&&null===y.alternate&&(y.flags|=2),y}function i(y,f,w,x){return null===f||6!==f.tag?((f=Mi(w,y.mode,x)).return=y,f):((f=r(f,w)).return=y,f)}function a(y,f,w,x){var k=w.type;return k===Zn?c(y,f,w.props.children,x,w.key):null!==f&&(f.elementType===k||"object"==typeof k&&null!==k&&k.$$typeof===Xt&&Ac(k)===f.type)?((x=r(f,w.props)).ref=or(y,f,w),x.return=y,x):((x=Z0(w.type,w.key,w.props,null,y.mode,x)).ref=or(y,f,w),x.return=y,x)}function s(y,f,w,x){return null===f||4!==f.tag||f.stateNode.containerInfo!==w.containerInfo||f.stateNode.implementation!==w.implementation?((f=Li(w,y.mode,x)).return=y,f):((f=r(f,w.children||[])).return=y,f)}function c(y,f,w,x,k){return null===f||7!==f.tag?((f=In(w,y.mode,x,k)).return=y,f):((f=r(f,w)).return=y,f)}function d(y,f,w){if("string"==typeof f&&""!==f||"number"==typeof f)return(f=Mi(""+f,y.mode,w)).return=y,f;if("object"==typeof f&&null!==f){switch(f.$$typeof){case Br:return(w=Z0(f.type,f.key,f.props,null,y.mode,w)).ref=or(y,null,f),w.return=y,w;case Vn:return(f=Li(f,y.mode,w)).return=y,f;case Xt:return d(y,(0,f._init)(f._payload),w)}if(ju(f)||Mu(f))return(f=In(f,y.mode,w,null)).return=y,f;b0(y,f)}return null}function h(y,f,w,x){var k=null!==f?f.key:null;if("string"==typeof w&&""!==w||"number"==typeof w)return null!==k?null:i(y,f,""+w,x);if("object"==typeof w&&null!==w){switch(w.$$typeof){case Br:return w.key===k?a(y,f,w,x):null;case Vn:return w.key===k?s(y,f,w,x):null;case Xt:return h(y,f,(k=w._init)(w._payload),x)}if(ju(w)||Mu(w))return null!==k?null:c(y,f,w,x,null);b0(y,w)}return null}function v(y,f,w,x,k){if("string"==typeof x&&""!==x||"number"==typeof x)return i(f,y=y.get(w)||null,""+x,k);if("object"==typeof x&&null!==x){switch(x.$$typeof){case Br:return a(f,y=y.get(null===x.key?w:x.key)||null,x,k);case Vn:return s(f,y=y.get(null===x.key?w:x.key)||null,x,k);case Xt:return v(y,f,w,(0,x._init)(x._payload),k)}if(ju(x)||Mu(x))return c(f,y=y.get(w)||null,x,k,null);b0(f,x)}return null}return function S(y,f,w,x){if("object"==typeof w&&null!==w&&w.type===Zn&&null===w.key&&(w=w.props.children),"object"==typeof w&&null!==w){switch(w.$$typeof){case Br:e:{for(var k=w.key,C=f;null!==C;){if(C.key===k){if((k=w.type)===Zn){if(7===C.tag){n(y,C.sibling),(f=r(C,w.props.children)).return=y,y=f;break e}}else if(C.elementType===k||"object"==typeof k&&null!==k&&k.$$typeof===Xt&&Ac(k)===C.type){n(y,C.sibling),(f=r(C,w.props)).ref=or(y,C,w),f.return=y,y=f;break e}n(y,C);break}t(y,C),C=C.sibling}w.type===Zn?((f=In(w.props.children,y.mode,x,w.key)).return=y,y=f):((x=Z0(w.type,w.key,w.props,null,y.mode,x)).ref=or(y,f,w),x.return=y,y=x)}return l(y);case Vn:e:{for(C=w.key;null!==f;){if(f.key===C){if(4===f.tag&&f.stateNode.containerInfo===w.containerInfo&&f.stateNode.implementation===w.implementation){n(y,f.sibling),(f=r(f,w.children||[])).return=y,y=f;break e}n(y,f);break}t(y,f),f=f.sibling}(f=Li(w,y.mode,x)).return=y,y=f}return l(y);case Xt:return S(y,f,(C=w._init)(w._payload),x)}if(ju(w))return function(y,f,w,x){for(var k=null,C=null,A=f,F=f=0,$=null;null!==A&&F<w.length;F++){A.index>F?($=A,A=null):$=A.sibling;var P=h(y,A,w[F],x);if(null===P){null===A&&(A=$);break}e&&A&&null===P.alternate&&t(y,A),f=o(P,f,F),null===C?k=P:C.sibling=P,C=P,A=$}if(F===w.length)return n(y,A),ee&&Fn(y,F),k;if(null===A){for(;F<w.length;F++)null!==(A=d(y,w[F],x))&&(f=o(A,f,F),null===C?k=A:C.sibling=A,C=A);return ee&&Fn(y,F),k}for(A=u(y,A);F<w.length;F++)null!==($=v(A,y,F,w[F],x))&&(e&&null!==$.alternate&&A.delete(null===$.key?F:$.key),f=o($,f,F),null===C?k=$:C.sibling=$,C=$);return e&&A.forEach((function(O){return t(y,O)})),ee&&Fn(y,F),k}(y,f,w,x);if(Mu(w))return function(y,f,w,x){var k=Mu(w);if("function"!=typeof k)throw Error(T(150));if(null==(w=k.call(w)))throw Error(T(151));for(var C=k=null,A=f,F=f=0,$=null,P=w.next();null!==A&&!P.done;F++,P=w.next()){A.index>F?($=A,A=null):$=A.sibling;var O=h(y,A,P.value,x);if(null===O){null===A&&(A=$);break}e&&A&&null===O.alternate&&t(y,A),f=o(O,f,F),null===C?k=O:C.sibling=O,C=O,A=$}if(P.done)return n(y,A),ee&&Fn(y,F),k;if(null===A){for(;!P.done;F++,P=w.next())null!==(P=d(y,P.value,x))&&(f=o(P,f,F),null===C?k=P:C.sibling=P,C=P);return ee&&Fn(y,F),k}for(A=u(y,A);!P.done;F++,P=w.next())null!==(P=v(A,y,F,P.value,x))&&(e&&null!==P.alternate&&A.delete(null===P.key?F:P.key),f=o(P,f,F),null===C?k=P:C.sibling=P,C=P);return e&&A.forEach((function(de){return t(y,de)})),ee&&Fn(y,F),k}(y,f,w,x);b0(y,w)}return"string"==typeof w&&""!==w||"number"==typeof w?(w=""+w,null!==f&&6===f.tag?(n(y,f.sibling),(f=r(f,w)).return=y,y=f):(n(y,f),(f=Mi(w,y.mode,x)).return=y,y=f),l(y)):n(y,f)}}var au=Tc(!0),Dc=Tc(!1),_0=ln(null),E0=null,su=null,Bl=null;function Ul(){Bl=su=E0=null}function Vl(e){var t=_0.current;J(_0),e._currentValue=t}function Zl(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 cu(e,t){E0=e,Bl=su=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.lanes&t&&(Ie=!0),e.firstContext=null)}function ut(e){var t=e._currentValue;if(Bl!==e)if(e={context:e,memoizedValue:t,next:null},null===su){if(null===E0)throw Error(T(308));su=e,E0.dependencies={lanes:0,firstContext:e}}else su=su.next=e;return t}var Nn=null;function ql(e){null===Nn?Nn=[e]:Nn.push(e)}function Fc(e,t,n,u){var r=t.interleaved;return null===r?(n.next=n,ql(t)):(n.next=r.next,r.next=n),t.interleaved=n,Bt(e,u)}function Bt(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 cn=!1;function Wl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Nc(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 Ut(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fn(e,t,n){var u=e.updateQueue;if(null===u)return null;if(u=u.shared,2&V){var r=u.pending;return null===r?t.next=t:(t.next=r.next,r.next=t),u.pending=t,Bt(e,n)}return null===(r=u.interleaved)?(t.next=t,ql(u)):(t.next=r.next,r.next=t),u.interleaved=t,Bt(e,n)}function k0(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var u=t.lanes;n|=u&=e.pendingLanes,t.lanes=n,il(e,n)}}function Mc(e,t){var n=e.updateQueue,u=e.alternate;if(null!==u&&n===(u=u.updateQueue)){var r=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?r=o=l:o=o.next=l,n=n.next}while(null!==n);null===o?r=o=t:o=o.next=t}else r=o=t;return n={baseState:u.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:u.shared,effects:u.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function C0(e,t,n,u){var r=e.updateQueue;cn=!1;var o=r.firstBaseUpdate,l=r.lastBaseUpdate,i=r.shared.pending;if(null!==i){r.shared.pending=null;var a=i,s=a.next;a.next=null,null===l?o=s:l.next=s,l=a;var c=e.alternate;null!==c&&((i=(c=c.updateQueue).lastBaseUpdate)!==l&&(null===i?c.firstBaseUpdate=s:i.next=s,c.lastBaseUpdate=a))}if(null!==o){var d=r.baseState;for(l=0,c=s=a=null,i=o;;){var h=i.lane,v=i.eventTime;if((u&h)===h){null!==c&&(c=c.next={eventTime:v,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var g=e,_=i;switch(h=t,v=n,_.tag){case 1:if("function"==typeof(g=_.payload)){d=g.call(v,d,h);break e}d=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(h="function"==typeof(g=_.payload)?g.call(v,d,h):g))break e;d=re({},d,h);break e;case 2:cn=!0}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(h=r.effects)?r.effects=[i]:h.push(i))}else v={eventTime:v,lane:h,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(s=c=v,a=d):c=c.next=v,l|=h;if(null===(i=i.next)){if(null===(i=r.shared.pending))break;i=(h=i).next,h.next=null,r.lastBaseUpdate=h,r.shared.pending=null}}if(null===c&&(a=d),r.baseState=a,r.firstBaseUpdate=s,r.lastBaseUpdate=c,null!==(t=r.shared.interleaved)){r=t;do{l|=r.lane,r=r.next}while(r!==t)}else null===o&&(r.shared.lanes=0);jn|=l,e.lanes=l,e.memoizedState=d}}function Lc(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(T(191,r));r.call(u)}}}var lr={},St=ln(lr),ir=ln(lr),ar=ln(lr);function Mn(e){if(e===lr)throw Error(T(174));return e}function Gl(e,t){switch(G(ar,t),G(ir,e),G(St,lr),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Qo(null,"");break;default:t=Qo(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}J(St),G(St,t)}function fu(){J(St),J(ir),J(ar)}function jc(e){Mn(ar.current);var t=Mn(St.current),n=Qo(t,e.type);t!==n&&(G(ir,e),G(St,n))}function Ql(e){ir.current===e&&(J(St),J(ir))}var oe=ln(0);function S0(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 Yl=[];function Xl(){for(var e=0;e<Yl.length;e++)Yl[e]._workInProgressVersionPrimary=null;Yl.length=0}var A0=Rt.ReactCurrentDispatcher,Kl=Rt.ReactCurrentBatchConfig,Ln=0,le=null,ce=null,pe=null,T0=!1,sr=!1,cr=0,I3=0;function Ce(){throw Error(T(321))}function Jl(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ht(e[n],t[n]))return!1;return!0}function ei(e,t,n,u,r,o){if(Ln=o,le=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,A0.current=null===e||null===e.memoizedState?B3:U3,e=n(u,r),sr){o=0;do{if(sr=!1,cr=0,25<=o)throw Error(T(301));o+=1,pe=ce=null,t.updateQueue=null,A0.current=V3,e=n(u,r)}while(sr)}if(A0.current=N0,t=null!==ce&&null!==ce.next,Ln=0,pe=ce=le=null,T0=!1,t)throw Error(T(300));return e}function ti(){var e=0!==cr;return cr=0,e}function At(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===pe?le.memoizedState=pe=e:pe=pe.next=e,pe}function rt(){if(null===ce){var e=le.alternate;e=null!==e?e.memoizedState:null}else e=ce.next;var t=null===pe?le.memoizedState:pe.next;if(null!==t)pe=t,ce=e;else{if(null===e)throw Error(T(310));e={memoizedState:(ce=e).memoizedState,baseState:ce.baseState,baseQueue:ce.baseQueue,queue:ce.queue,next:null},null===pe?le.memoizedState=pe=e:pe=pe.next=e}return pe}function fr(e,t){return"function"==typeof t?t(e):t}function ni(e){var t=rt(),n=t.queue;if(null===n)throw Error(T(311));n.lastRenderedReducer=e;var u=ce,r=u.baseQueue,o=n.pending;if(null!==o){if(null!==r){var l=r.next;r.next=o.next,o.next=l}u.baseQueue=r=o,n.pending=null}if(null!==r){o=r.next,u=u.baseState;var i=l=null,a=null,s=o;do{var c=s.lane;if((Ln&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 d={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};null===a?(i=a=d,l=u):a=a.next=d,le.lanes|=c,jn|=c}s=s.next}while(null!==s&&s!==o);null===a?l=u:a.next=i,ht(u,t.memoizedState)||(Ie=!0),t.memoizedState=u,t.baseState=l,t.baseQueue=a,n.lastRenderedState=u}if(null!==(e=n.interleaved)){r=e;do{o=r.lane,le.lanes|=o,jn|=o,r=r.next}while(r!==e)}else null===r&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ui(e){var t=rt(),n=t.queue;if(null===n)throw Error(T(311));n.lastRenderedReducer=e;var u=n.dispatch,r=n.pending,o=t.memoizedState;if(null!==r){n.pending=null;var l=r=r.next;do{o=e(o,l.action),l=l.next}while(l!==r);ht(o,t.memoizedState)||(Ie=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,u]}function Oc(){}function Pc(e,t){var n=le,u=rt(),r=t(),o=!ht(u.memoizedState,r);if(o&&(u.memoizedState=r,Ie=!0),u=u.queue,ri(zc.bind(null,n,u,e),[e]),u.getSnapshot!==t||o||null!==pe&&1&pe.memoizedState.tag){if(n.flags|=2048,dr(9,Ic.bind(null,n,u,r,t),void 0,null),null===he)throw Error(T(349));30&Ln||Rc(n,t,r)}return r}function Rc(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=le.updateQueue)?(t={lastEffect:null,stores:null},le.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,Hc(t)&&$c(e)}function zc(e,t,n){return n((function(){Hc(t)&&$c(e)}))}function Hc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ht(e,n)}catch{return!0}}function $c(e){var t=Bt(e,1);null!==t&&yt(t,e,1,-1)}function Bc(e){var t=At();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:fr,lastRenderedState:e},t.queue=e,e=e.dispatch=$3.bind(null,le,e),[t.memoizedState,e]}function dr(e,t,n,u){return e={tag:e,create:t,destroy:n,deps:u,next:null},null===(t=le.updateQueue)?(t={lastEffect:null,stores:null},le.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 Uc(){return rt().memoizedState}function D0(e,t,n,u){var r=At();le.flags|=e,r.memoizedState=dr(1|t,n,void 0,void 0===u?null:u)}function F0(e,t,n,u){var r=rt();u=void 0===u?null:u;var o=void 0;if(null!==ce){var l=ce.memoizedState;if(o=l.destroy,null!==u&&Jl(u,l.deps))return void(r.memoizedState=dr(t,n,o,u))}le.flags|=e,r.memoizedState=dr(1|t,n,o,u)}function Vc(e,t){return D0(8390656,8,e,t)}function ri(e,t){return F0(2048,8,e,t)}function Zc(e,t){return F0(4,2,e,t)}function qc(e,t){return F0(4,4,e,t)}function Wc(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 Gc(e,t,n){return n=null!=n?n.concat([e]):null,F0(4,4,Wc.bind(null,t,e),n)}function oi(){}function Qc(e,t){var n=rt();t=void 0===t?null:t;var u=n.memoizedState;return null!==u&&null!==t&&Jl(t,u[1])?u[0]:(n.memoizedState=[e,t],e)}function Yc(e,t){var n=rt();t=void 0===t?null:t;var u=n.memoizedState;return null!==u&&null!==t&&Jl(t,u[1])?u[0]:(e=e(),n.memoizedState=[e,t],e)}function Xc(e,t,n){return 21&Ln?(ht(n,t)||(n=As(),le.lanes|=n,jn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ie=!0),e.memoizedState=n)}function z3(e,t){var n=Z;Z=0!==n&&4>n?n:4,e(!0);var u=Kl.transition;Kl.transition={};try{e(!1),t()}finally{Z=n,Kl.transition=u}}function Kc(){return rt().memoizedState}function H3(e,t,n){var u=mn(e);if(n={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null},Jc(e))e1(t,n);else if(null!==(n=Fc(e,t,n,u))){yt(n,e,u,Me()),t1(n,t,u)}}function $3(e,t,n){var u=mn(e),r={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null};if(Jc(e))e1(t,r);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var l=t.lastRenderedState,i=o(l,n);if(r.hasEagerState=!0,r.eagerState=i,ht(i,l)){var a=t.interleaved;return null===a?(r.next=r,ql(t)):(r.next=a.next,a.next=r),void(t.interleaved=r)}}catch{}null!==(n=Fc(e,t,r,u))&&(yt(n,e,u,r=Me()),t1(n,t,u))}}function Jc(e){var t=e.alternate;return e===le||null!==t&&t===le}function e1(e,t){sr=T0=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function t1(e,t,n){if(4194240&n){var u=t.lanes;n|=u&=e.pendingLanes,t.lanes=n,il(e,n)}}var N0={readContext:ut,useCallback:Ce,useContext:Ce,useEffect:Ce,useImperativeHandle:Ce,useInsertionEffect:Ce,useLayoutEffect:Ce,useMemo:Ce,useReducer:Ce,useRef:Ce,useState:Ce,useDebugValue:Ce,useDeferredValue:Ce,useTransition:Ce,useMutableSource:Ce,useSyncExternalStore:Ce,useId:Ce,unstable_isNewReconciler:!1},B3={readContext:ut,useCallback:function(e,t){return At().memoizedState=[e,void 0===t?null:t],e},useContext:ut,useEffect:Vc,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,D0(4194308,4,Wc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return D0(4194308,4,e,t)},useInsertionEffect:function(e,t){return D0(4,2,e,t)},useMemo:function(e,t){var n=At();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var u=At();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=H3.bind(null,le,e),[u.memoizedState,e]},useRef:function(e){return e={current:e},At().memoizedState=e},useState:Bc,useDebugValue:oi,useDeferredValue:function(e){return At().memoizedState=e},useTransition:function(){var e=Bc(!1),t=e[0];return e=z3.bind(null,e[1]),At().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var u=le,r=At();if(ee){if(void 0===n)throw Error(T(407));n=n()}else{if(n=t(),null===he)throw Error(T(349));30&Ln||Rc(u,t,n)}r.memoizedState=n;var o={value:n,getSnapshot:t};return r.queue=o,Vc(zc.bind(null,u,o,e),[e]),u.flags|=2048,dr(9,Ic.bind(null,u,o,n,t),void 0,null),n},useId:function(){var e=At(),t=he.identifierPrefix;if(ee){var n=$t;t=":"+t+"R"+(n=(Ht&~(1<<32-pt(Ht)-1)).toString(32)+n),0<(n=cr++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=I3++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},U3={readContext:ut,useCallback:Qc,useContext:ut,useEffect:ri,useImperativeHandle:Gc,useInsertionEffect:Zc,useLayoutEffect:qc,useMemo:Yc,useReducer:ni,useRef:Uc,useState:function(){return ni(fr)},useDebugValue:oi,useDeferredValue:function(e){return Xc(rt(),ce.memoizedState,e)},useTransition:function(){return[ni(fr)[0],rt().memoizedState]},useMutableSource:Oc,useSyncExternalStore:Pc,useId:Kc,unstable_isNewReconciler:!1},V3={readContext:ut,useCallback:Qc,useContext:ut,useEffect:ri,useImperativeHandle:Gc,useInsertionEffect:Zc,useLayoutEffect:qc,useMemo:Yc,useReducer:ui,useRef:Uc,useState:function(){return ui(fr)},useDebugValue:oi,useDeferredValue:function(e){var t=rt();return null===ce?t.memoizedState=e:Xc(t,ce.memoizedState,e)},useTransition:function(){return[ui(fr)[0],rt().memoizedState]},useMutableSource:Oc,useSyncExternalStore:Pc,useId:Kc,unstable_isNewReconciler:!1};function gt(e,t){if(e&&e.defaultProps){for(var n in t=re({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function li(e,t,n,u){n=null==(n=n(u,t=e.memoizedState))?t:re({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var M0={isMounted:function(e){return!!(e=e._reactInternals)&&Sn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var u=Me(),r=mn(e),o=Ut(u,r);o.payload=t,null!=n&&(o.callback=n),null!==(t=fn(e,o,r))&&(yt(t,e,r,u),k0(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var u=Me(),r=mn(e),o=Ut(u,r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=fn(e,o,r))&&(yt(t,e,r,u),k0(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Me(),u=mn(e),r=Ut(n,u);r.tag=2,null!=t&&(r.callback=t),null!==(t=fn(e,r,u))&&(yt(t,e,u,n),k0(t,e,u))}};function n1(e,t,n,u,r,o,l){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(u,o,l):!t.prototype||!t.prototype.isPureReactComponent||(!Ku(n,u)||!Ku(r,o))}function u1(e,t,n){var u=!1,r=an,o=t.contextType;return"object"==typeof o&&null!==o?o=ut(o):(r=Re(t)?Tn:ke.current,o=(u=null!=(u=t.contextTypes))?ru(e,r):an),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=M0,e.stateNode=t,t._reactInternals=e,u&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=o),t}function r1(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&&M0.enqueueReplaceState(t,t.state,null)}function ii(e,t,n,u){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},Wl(e);var o=t.contextType;"object"==typeof o&&null!==o?r.context=ut(o):(o=Re(t)?Tn:ke.current,r.context=ru(e,o)),r.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(li(e,t,o,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&&M0.enqueueReplaceState(r,r.state,null),C0(e,n,r,u),r.state=e.memoizedState),"function"==typeof r.componentDidMount&&(e.flags|=4194308)}function du(e,t){try{var n="",u=t;do{n+=vp(u),u=u.return}while(u);var r=n}catch(o){r="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:r,digest:null}}function ai(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function si(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var Z3="function"==typeof WeakMap?WeakMap:Map;function o1(e,t,n){(n=Ut(-1,n)).tag=3,n.payload={element:null};var u=t.value;return n.callback=function(){z0||(z0=!0,ki=u),si(0,t)},n}function l1(e,t,n){(n=Ut(-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(){si(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){si(0,t),"function"!=typeof u&&(null===pn?pn=new Set([this]):pn.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:null!==l?l:""})}),n}function i1(e,t,n){var u=e.pingCache;if(null===u){u=e.pingCache=new Z3;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=oh.bind(null,e,t,n),t.then(e,e))}function a1(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 s1(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=Ut(-1,1)).tag=2,fn(n,t,1))),n.lanes|=1),e)}var q3=Rt.ReactCurrentOwner,Ie=!1;function Ne(e,t,n,u){t.child=null===e?Dc(t,null,n,u):au(t,e.child,n,u)}function c1(e,t,n,u,r){n=n.render;var o=t.ref;return cu(t,r),u=ei(e,t,n,u,o,r),n=ti(),null===e||Ie?(ee&&n&&Rl(t),t.flags|=1,Ne(e,t,u,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Vt(e,t,r))}function f1(e,t,n,u,r){if(null===e){var o=n.type;return"function"!=typeof o||Ni(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Z0(n.type,null,u,t,t.mode,r)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,d1(e,t,o,u,r))}if(o=e.child,!(e.lanes&r)){var l=o.memoizedProps;if((n=null!==(n=n.compare)?n:Ku)(l,u)&&e.ref===t.ref)return Vt(e,t,r)}return t.flags|=1,(e=wn(o,u)).ref=t.ref,e.return=t,t.child=e}function d1(e,t,n,u,r){if(null!==e){var o=e.memoizedProps;if(Ku(o,u)&&e.ref===t.ref){if(Ie=!1,t.pendingProps=u=o,!(e.lanes&r))return t.lanes=e.lanes,Vt(e,t,r);131072&e.flags&&(Ie=!0)}}return ci(e,t,n,u,r)}function p1(e,t,n){var u=t.pendingProps,r=u.children,o=null!==e?e.memoizedState:null;if("hidden"===u.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,G(hu,Ye),Ye|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=null!==o?o.baseLanes:n,G(hu,Ye),Ye|=u}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},G(hu,Ye),Ye|=n;else null!==o?(u=o.baseLanes|n,t.memoizedState=null):u=n,G(hu,Ye),Ye|=u;return Ne(e,t,r,n),t.child}function h1(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ci(e,t,n,u,r){var o=Re(n)?Tn:ke.current;return o=ru(t,o),cu(t,r),n=ei(e,t,n,u,o,r),u=ti(),null===e||Ie?(ee&&u&&Rl(t),t.flags|=1,Ne(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Vt(e,t,r))}function m1(e,t,n,u,r){if(Re(n)){var o=!0;g0(t)}else o=!1;if(cu(t,r),null===t.stateNode)j0(e,t),u1(t,n,u),ii(t,n,u,r),u=!0;else if(null===e){var l=t.stateNode,i=t.memoizedProps;l.props=i;var a=l.context,s=n.contextType;"object"==typeof s&&null!==s?s=ut(s):s=ru(t,s=Re(n)?Tn:ke.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof l.getSnapshotBeforeUpdate;d||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i!==u||a!==s)&&r1(t,l,u,s),cn=!1;var h=t.memoizedState;l.state=h,C0(t,u,l,r),a=t.memoizedState,i!==u||h!==a||Pe.current||cn?("function"==typeof c&&(li(t,n,c,u),a=t.memoizedState),(i=cn||n1(t,n,i,u,h,a,s))?(d||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||("function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"==typeof l.componentDidMount&&(t.flags|=4194308)):("function"==typeof l.componentDidMount&&(t.flags|=4194308),t.memoizedProps=u,t.memoizedState=a),l.props=u,l.state=a,l.context=s,u=i):("function"==typeof l.componentDidMount&&(t.flags|=4194308),u=!1)}else{l=t.stateNode,Nc(e,t),i=t.memoizedProps,s=t.type===t.elementType?i:gt(t.type,i),l.props=s,d=t.pendingProps,h=l.context,"object"==typeof(a=n.contextType)&&null!==a?a=ut(a):a=ru(t,a=Re(n)?Tn:ke.current);var v=n.getDerivedStateFromProps;(c="function"==typeof v||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i!==d||h!==a)&&r1(t,l,u,a),cn=!1,h=t.memoizedState,l.state=h,C0(t,u,l,r);var g=t.memoizedState;i!==d||h!==g||Pe.current||cn?("function"==typeof v&&(li(t,n,v,u),g=t.memoizedState),(s=cn||n1(t,n,s,u,h,g,a)||!1)?(c||"function"!=typeof l.UNSAFE_componentWillUpdate&&"function"!=typeof l.componentWillUpdate||("function"==typeof l.componentWillUpdate&&l.componentWillUpdate(u,g,a),"function"==typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(u,g,a)),"function"==typeof l.componentDidUpdate&&(t.flags|=4),"function"==typeof l.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof l.componentDidUpdate||i===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=g),l.props=u,l.state=g,l.context=a,u=s):("function"!=typeof l.componentDidUpdate||i===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),u=!1)}return fi(e,t,n,u,o,r)}function fi(e,t,n,u,r,o){h1(e,t);var l=!!(128&t.flags);if(!u&&!l)return r&&xc(t,n,!1),Vt(e,t,o);u=t.stateNode,q3.current=t;var i=l&&"function"!=typeof n.getDerivedStateFromError?null:u.render();return t.flags|=1,null!==e&&l?(t.child=au(t,e.child,null,o),t.child=au(t,null,i,o)):Ne(e,t,i,o),t.memoizedState=u.state,r&&xc(t,n,!0),t.child}function g1(e){var t=e.stateNode;t.pendingContext?vc(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vc(0,t.context,!1),Gl(e,t.containerInfo)}function w1(e,t,n,u,r){return iu(),$l(r),t.flags|=256,Ne(e,t,n,u),t.child}var b1,gi,_1,E1,di={dehydrated:null,treeContext:null,retryLane:0};function pi(e){return{baseLanes:e,cachePool:null,transitions:null}}function v1(e,t,n){var i,u=t.pendingProps,r=oe.current,o=!1,l=!!(128&t.flags);if((i=l)||(i=(null===e||null!==e.memoizedState)&&!!(2&r)),i?(o=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(r|=1),G(oe,1&r),null===e)return Hl(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=u.children,e=u.fallback,o?(u=t.mode,o=t.child,l={mode:"hidden",children:l},1&u||null===o?o=q0(l,u,0,null):(o.childLanes=0,o.pendingProps=l),e=In(e,u,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=pi(n),t.memoizedState=di,e):hi(t,l));if(null!==(r=e.memoizedState)&&null!==(i=r.dehydrated))return function(e,t,n,u,r,o,l){if(n)return 256&t.flags?(t.flags&=-257,u=ai(Error(T(422))),L0(e,t,l,u)):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=u.fallback,r=t.mode,u=q0({mode:"visible",children:u.children},r,0,null),o=In(o,r,l,null),o.flags|=2,u.return=t,o.return=t,u.sibling=o,t.child=u,1&t.mode&&au(t,e.child,null,l),t.child.memoizedState=pi(l),t.memoizedState=di,o);if(!(1&t.mode))return L0(e,t,l,null);if("$!"===r.data){if(u=r.nextSibling&&r.nextSibling.dataset)var i=u.dgst;return u=i,L0(e,t,l,u=ai(o=Error(T(419)),u,void 0))}if(i=!!(l&e.childLanes),Ie||i){if(null!==(u=he)){switch(l&-l){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|l)?0:r)&&r!==o.retryLane&&(o.retryLane=r,Bt(e,r),yt(u,e,r,-1))}return Fi(),L0(e,t,l,u=ai(Error(T(421))))}return"$?"===r.data?(t.flags|=128,t.child=e.child,t=lh.bind(null,e),r._reactRetry=t,null):(e=o.treeContext,Qe=on(r.nextSibling),Ge=t,ee=!0,mt=null,null!==e&&(tt[nt++]=Ht,tt[nt++]=$t,tt[nt++]=Dn,Ht=e.id,$t=e.overflow,Dn=t),t=hi(t,u.children),t.flags|=4096,t)}(e,t,l,u,i,r,n);if(o){o=u.fallback,l=t.mode,i=(r=e.child).sibling;var a={mode:"hidden",children:u.children};return 1&l||t.child===r?(u=wn(r,a)).subtreeFlags=14680064&r.subtreeFlags:((u=t.child).childLanes=0,u.pendingProps=a,t.deletions=null),null!==i?o=wn(i,o):(o=In(o,l,n,null)).flags|=2,o.return=t,u.return=t,u.sibling=o,t.child=u,u=o,o=t.child,l=null===(l=e.child.memoizedState)?pi(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=di,u}return e=(o=e.child).sibling,u=wn(o,{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 hi(e,t){return(t=q0({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function L0(e,t,n,u){return null!==u&&$l(u),au(t,e.child,null,n),(e=hi(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function y1(e,t,n){e.lanes|=t;var u=e.alternate;null!==u&&(u.lanes|=t),Zl(e.return,t,n)}function mi(e,t,n,u,r){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:n,tailMode:r}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=u,o.tail=n,o.tailMode=r)}function x1(e,t,n){var u=t.pendingProps,r=u.revealOrder,o=u.tail;if(Ne(e,t,u.children,n),2&(u=oe.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&&y1(e,n,t);else if(19===e.tag)y1(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(oe,u),1&t.mode)switch(r){case"forwards":for(n=t.child,r=null;null!==n;)null!==(e=n.alternate)&&null===S0(e)&&(r=n),n=n.sibling;null===(n=r)?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),mi(t,!1,r,n,o);break;case"backwards":for(n=null,r=t.child,t.child=null;null!==r;){if(null!==(e=r.alternate)&&null===S0(e)){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}mi(t,!0,n,null,o);break;case"together":mi(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function j0(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vt(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),jn|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(T(153));if(null!==t.child){for(n=wn(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=wn(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function pr(e,t){if(!ee)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 Se(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 Q3(e,t,n){var u=t.pendingProps;switch(Il(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Se(t),null;case 1:case 17:return Re(t.type)&&m0(),Se(t),null;case 3:return u=t.stateNode,fu(),J(Pe),J(ke),Xl(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(null===e||null===e.child)&&(x0(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==mt&&(Ai(mt),mt=null))),gi(e,t),Se(t),null;case 5:Ql(t);var r=Mn(ar.current);if(n=t.type,null!==e&&null!=t.stateNode)_1(e,t,n,u,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!u){if(null===t.stateNode)throw Error(T(166));return Se(t),null}if(e=Mn(St.current),x0(t)){u=t.stateNode,n=t.type;var o=t.memoizedProps;switch(u[Ct]=t,u[ur]=o,e=!!(1&t.mode),n){case"dialog":K("cancel",u),K("close",u);break;case"iframe":case"object":case"embed":K("load",u);break;case"video":case"audio":for(r=0;r<er.length;r++)K(er[r],u);break;case"source":K("error",u);break;case"img":case"image":case"link":K("error",u),K("load",u);break;case"details":K("toggle",u);break;case"input":us(u,o),K("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!o.multiple},K("invalid",u);break;case"textarea":ls(u,o),K("invalid",u)}for(var l in Yo(n,o),r=null,o)if(o.hasOwnProperty(l)){var i=o[l];"children"===l?"string"==typeof i?u.textContent!==i&&(!0!==o.suppressHydrationWarning&&d0(u.textContent,i,e),r=["children",i]):"number"==typeof i&&u.textContent!==""+i&&(!0!==o.suppressHydrationWarning&&d0(u.textContent,i,e),r=["children",""+i]):Nu.hasOwnProperty(l)&&null!=i&&"onScroll"===l&&K("scroll",u)}switch(n){case"input":Ur(u),os(u,o,!0);break;case"textarea":Ur(u),as(u);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(u.onclick=p0)}u=r,t.updateQueue=u,null!==u&&(t.flags|=4)}else{l=9===r.nodeType?r:r.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ss(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof u.is?e=l.createElement(n,{is:u.is}):(e=l.createElement(n),"select"===n&&(l=e,u.multiple?l.multiple=!0:u.size&&(l.size=u.size))):e=l.createElementNS(e,n),e[Ct]=t,e[ur]=u,b1(e,t,!1,!1),t.stateNode=e;e:{switch(l=Xo(n,u),n){case"dialog":K("cancel",e),K("close",e),r=u;break;case"iframe":case"object":case"embed":K("load",e),r=u;break;case"video":case"audio":for(r=0;r<er.length;r++)K(er[r],e);r=u;break;case"source":K("error",e),r=u;break;case"img":case"image":case"link":K("error",e),K("load",e),r=u;break;case"details":K("toggle",e),r=u;break;case"input":us(e,u),r=Zo(e,u),K("invalid",e);break;case"option":default:r=u;break;case"select":e._wrapperState={wasMultiple:!!u.multiple},r=re({},u,{value:void 0}),K("invalid",e);break;case"textarea":ls(e,u),r=Go(e,u),K("invalid",e)}for(o in Yo(n,r),i=r)if(i.hasOwnProperty(o)){var a=i[o];"style"===o?ds(e,a):"dangerouslySetInnerHTML"===o?null!=(a=a?a.__html:void 0)&&cs(e,a):"children"===o?"string"==typeof a?("textarea"!==n||""!==a)&&Ou(e,a):"number"==typeof a&&Ou(e,""+a):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(Nu.hasOwnProperty(o)?null!=a&&"onScroll"===o&&K("scroll",e):null!=a&&jo(e,o,a,l))}switch(n){case"input":Ur(e),os(e,u,!1);break;case"textarea":Ur(e),as(e);break;case"option":null!=u.value&&e.setAttribute("value",""+Kt(u.value));break;case"select":e.multiple=!!u.multiple,null!=(o=u.value)?qn(e,!!u.multiple,o,!1):null!=u.defaultValue&&qn(e,!!u.multiple,u.defaultValue,!0);break;default:"function"==typeof r.onClick&&(e.onclick=p0)}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 Se(t),null;case 6:if(e&&null!=t.stateNode)E1(e,t,e.memoizedProps,u);else{if("string"!=typeof u&&null===t.stateNode)throw Error(T(166));if(n=Mn(ar.current),Mn(St.current),x0(t)){if(u=t.stateNode,n=t.memoizedProps,u[Ct]=t,(o=u.nodeValue!==n)&&null!==(e=Ge))switch(e.tag){case 3:d0(u.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&d0(u.nodeValue,n,!!(1&e.mode))}o&&(t.flags|=4)}else(u=(9===n.nodeType?n:n.ownerDocument).createTextNode(u))[Ct]=t,t.stateNode=u}return Se(t),null;case 13:if(J(oe),u=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ee&&null!==Qe&&1&t.mode&&!(128&t.flags))Sc(),iu(),t.flags|=98560,o=!1;else if(o=x0(t),null!==u&&null!==u.dehydrated){if(null===e){if(!o)throw Error(T(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(T(317));o[Ct]=t}else iu(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Se(t),o=!1}else null!==mt&&(Ai(mt),mt=null),o=!0;if(!o)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&oe.current?0===fe&&(fe=3):Fi())),null!==t.updateQueue&&(t.flags|=4),Se(t),null);case 4:return fu(),gi(e,t),null===e&&tr(t.stateNode.containerInfo),Se(t),null;case 10:return Vl(t.type._context),Se(t),null;case 19:if(J(oe),null===(o=t.memoizedState))return Se(t),null;if(u=!!(128&t.flags),null===(l=o.rendering))if(u)pr(o,!1);else{if(0!==fe||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=S0(e))){for(t.flags|=128,pr(o,!1),null!==(u=l.updateQueue)&&(t.updateQueue=u,t.flags|=4),t.subtreeFlags=0,u=n,n=t.child;null!==n;)e=u,(o=n).flags&=14680066,null===(l=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return G(oe,1&oe.current|2),t.child}e=e.sibling}null!==o.tail&&ae()>mu&&(t.flags|=128,u=!0,pr(o,!1),t.lanes=4194304)}else{if(!u)if(null!==(e=S0(l))){if(t.flags|=128,u=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),pr(o,!0),null===o.tail&&"hidden"===o.tailMode&&!l.alternate&&!ee)return Se(t),null}else 2*ae()-o.renderingStartTime>mu&&1073741824!==n&&(t.flags|=128,u=!0,pr(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=o.last)?n.sibling=l:t.child=l,o.last=l)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ae(),t.sibling=null,n=oe.current,G(oe,u?1&n|2:1&n),t):(Se(t),null);case 22:case 23:return Di(),u=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==u&&(t.flags|=8192),u&&1&t.mode?1073741824&Ye&&(Se(t),6&t.subtreeFlags&&(t.flags|=8192)):Se(t),null;case 24:case 25:return null}throw Error(T(156,t.tag))}function Y3(e,t){switch(Il(t),t.tag){case 1:return Re(t.type)&&m0(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return fu(),J(Pe),J(ke),Xl(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ql(t),null;case 13:if(J(oe),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(T(340));iu()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return J(oe),null;case 4:return fu(),null;case 10:return Vl(t.type._context),null;case 22:case 23:return Di(),null;default:return null}}b1=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}},gi=function(){},_1=function(e,t,n,u){var r=e.memoizedProps;if(r!==u){e=t.stateNode,Mn(St.current);var l,o=null;switch(n){case"input":r=Zo(e,r),u=Zo(e,u),o=[];break;case"select":r=re({},r,{value:void 0}),u=re({},u,{value:void 0}),o=[];break;case"textarea":r=Go(e,r),u=Go(e,u),o=[];break;default:"function"!=typeof r.onClick&&"function"==typeof u.onClick&&(e.onclick=p0)}for(s in Yo(n,u),n=null,r)if(!u.hasOwnProperty(s)&&r.hasOwnProperty(s)&&null!=r[s])if("style"===s){var i=r[s];for(l in i)i.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(Nu.hasOwnProperty(s)?o||(o=[]):(o=o||[]).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(l in i)!i.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&i[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(o||(o=[]),o.push(s,n)),n=a;else"dangerouslySetInnerHTML"===s?(a=a?a.__html:void 0,i=i?i.__html:void 0,null!=a&&i!==a&&(o=o||[]).push(s,a)):"children"===s?"string"!=typeof a&&"number"!=typeof a||(o=o||[]).push(s,""+a):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(Nu.hasOwnProperty(s)?(null!=a&&"onScroll"===s&&K("scroll",e),o||i===a||(o=[])):(o=o||[]).push(s,a))}n&&(o=o||[]).push("style",n);var s=o;(t.updateQueue=s)&&(t.flags|=4)}},E1=function(e,t,n,u){n!==u&&(t.flags|=4)};var O0=!1,Ae=!1,X3="function"==typeof WeakSet?WeakSet:Set,M=null;function pu(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 wi(e,t,n){try{n()}catch(u){ie(e,t,u)}}var k1=!1;function hr(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 o=r.destroy;r.destroy=void 0,void 0!==o&&wi(t,n,o)}r=r.next}while(r!==u)}}function P0(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 vi(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 C1(e){var t=e.alternate;null!==t&&(e.alternate=null,C1(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[Ct],delete t[ur],delete t[jl],delete t[j3],delete t[O3])),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 S1(e){return 5===e.tag||3===e.tag||4===e.tag}function A1(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||S1(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 yi(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=p0));else if(4!==u&&null!==(e=e.child))for(yi(e,t,n),e=e.sibling;null!==e;)yi(e,t,n),e=e.sibling}function xi(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(xi(e,t,n),e=e.sibling;null!==e;)xi(e,t,n),e=e.sibling}var xe=null,wt=!1;function dn(e,t,n){for(n=n.child;null!==n;)T1(e,t,n),n=n.sibling}function T1(e,t,n){if(kt&&"function"==typeof kt.onCommitFiberUnmount)try{kt.onCommitFiberUnmount(Qr,n)}catch{}switch(n.tag){case 5:Ae||pu(n,t);case 6:var u=xe,r=wt;xe=null,dn(e,t,n),wt=r,null!==(xe=u)&&(wt?(e=xe,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):xe.removeChild(n.stateNode));break;case 18:null!==xe&&(wt?(e=xe,n=n.stateNode,8===e.nodeType?Ll(e.parentNode,n):1===e.nodeType&&Ll(e,n),qu(e)):Ll(xe,n.stateNode));break;case 4:u=xe,r=wt,xe=n.stateNode.containerInfo,wt=!0,dn(e,t,n),xe=u,wt=r;break;case 0:case 11:case 14:case 15:if(!Ae&&(null!==(u=n.updateQueue)&&null!==(u=u.lastEffect))){r=u=u.next;do{var o=r,l=o.destroy;o=o.tag,void 0!==l&&(2&o||4&o)&&wi(n,t,l),r=r.next}while(r!==u)}dn(e,t,n);break;case 1:if(!Ae&&(pu(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)}dn(e,t,n);break;case 21:dn(e,t,n);break;case 22:1&n.mode?(Ae=(u=Ae)||null!==n.memoizedState,dn(e,t,n),Ae=u):dn(e,t,n);break;default:dn(e,t,n)}}function D1(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new X3),t.forEach((function(u){var r=ih.bind(null,e,u);n.has(u)||(n.add(u),u.then(r,r))}))}}function vt(e,t){var n=t.deletions;if(null!==n)for(var u=0;u<n.length;u++){var r=n[u];try{var o=e,l=t,i=l;e:for(;null!==i;){switch(i.tag){case 5:xe=i.stateNode,wt=!1;break e;case 3:case 4:xe=i.stateNode.containerInfo,wt=!0;break e}i=i.return}if(null===xe)throw Error(T(160));T1(o,l,r),xe=null,wt=!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;)F1(t,e),t=t.sibling}function F1(e,t){var n=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vt(t,e),Tt(e),4&u){try{hr(3,e,e.return),P0(3,e)}catch(_){ie(e,e.return,_)}try{hr(5,e,e.return)}catch(_){ie(e,e.return,_)}}break;case 1:vt(t,e),Tt(e),512&u&&null!==n&&pu(n,n.return);break;case 5:if(vt(t,e),Tt(e),512&u&&null!==n&&pu(n,n.return),32&e.flags){var r=e.stateNode;try{Ou(r,"")}catch(_){ie(e,e.return,_)}}if(4&u&&null!=(r=e.stateNode)){var o=e.memoizedProps,l=null!==n?n.memoizedProps:o,i=e.type,a=e.updateQueue;if(e.updateQueue=null,null!==a)try{"input"===i&&"radio"===o.type&&null!=o.name&&rs(r,o),Xo(i,l);var s=Xo(i,o);for(l=0;l<a.length;l+=2){var c=a[l],d=a[l+1];"style"===c?ds(r,d):"dangerouslySetInnerHTML"===c?cs(r,d):"children"===c?Ou(r,d):jo(r,c,d,s)}switch(i){case"input":qo(r,o);break;case"textarea":is(r,o);break;case"select":var h=r._wrapperState.wasMultiple;r._wrapperState.wasMultiple=!!o.multiple;var v=o.value;null!=v?qn(r,!!o.multiple,v,!1):h!==!!o.multiple&&(null!=o.defaultValue?qn(r,!!o.multiple,o.defaultValue,!0):qn(r,!!o.multiple,o.multiple?[]:"",!1))}r[ur]=o}catch(_){ie(e,e.return,_)}}break;case 6:if(vt(t,e),Tt(e),4&u){if(null===e.stateNode)throw Error(T(162));r=e.stateNode,o=e.memoizedProps;try{r.nodeValue=o}catch(_){ie(e,e.return,_)}}break;case 3:if(vt(t,e),Tt(e),4&u&&null!==n&&n.memoizedState.isDehydrated)try{qu(t.containerInfo)}catch(_){ie(e,e.return,_)}break;case 4:default:vt(t,e),Tt(e);break;case 13:vt(t,e),Tt(e),8192&(r=e.child).flags&&(o=null!==r.memoizedState,r.stateNode.isHidden=o,!o||null!==r.alternate&&null!==r.alternate.memoizedState||(Ei=ae())),4&u&&D1(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(Ae=(s=Ae)||c,vt(t,e),Ae=s):vt(t,e),Tt(e),8192&u){if(s=null!==e.memoizedState,(e.stateNode.isHidden=s)&&!c&&1&e.mode)for(M=e,c=e.child;null!==c;){for(d=M=c;null!==M;){switch(v=(h=M).child,h.tag){case 0:case 11:case 14:case 15:hr(4,h,h.return);break;case 1:pu(h,h.return);var g=h.stateNode;if("function"==typeof g.componentWillUnmount){u=h,n=h.return;try{t=u,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(_){ie(u,n,_)}}break;case 5:pu(h,h.return);break;case 22:if(null!==h.memoizedState){L1(d);continue}}null!==v?(v.return=h,M=v):L1(d)}c=c.sibling}e:for(c=null,d=e;;){if(5===d.tag){if(null===c){c=d;try{r=d.stateNode,s?"function"==typeof(o=r.style).setProperty?o.setProperty("display","none","important"):o.display="none":(i=d.stateNode,l=null!=(a=d.memoizedProps.style)&&a.hasOwnProperty("display")?a.display:null,i.style.display=fs("display",l))}catch(_){ie(e,e.return,_)}}}else if(6===d.tag){if(null===c)try{d.stateNode.nodeValue=s?"":d.memoizedProps}catch(_){ie(e,e.return,_)}}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;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:vt(t,e),Tt(e),4&u&&D1(e);case 21:}}function Tt(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(S1(n)){var u=n;break e}n=n.return}throw Error(T(160))}switch(u.tag){case 5:var r=u.stateNode;32&u.flags&&(Ou(r,""),u.flags&=-33),xi(e,A1(e),r);break;case 3:case 4:var l=u.stateNode.containerInfo;yi(e,A1(e),l);break;default:throw Error(T(161))}}catch(a){ie(e,e.return,a)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function J3(e,t,n){M=e,N1(e)}function N1(e,t,n){for(var u=!!(1&e.mode);null!==M;){var r=M,o=r.child;if(22===r.tag&&u){var l=null!==r.memoizedState||O0;if(!l){var i=r.alternate,a=null!==i&&null!==i.memoizedState||Ae;i=O0;var s=Ae;if(O0=l,(Ae=a)&&!s)for(M=r;null!==M;)a=(l=M).child,22===l.tag&&null!==l.memoizedState?j1(r):null!==a?(a.return=l,M=a):j1(r);for(;null!==o;)M=o,N1(o),o=o.sibling;M=r,O0=i,Ae=s}M1(e)}else 8772&r.subtreeFlags&&null!==o?(o.return=r,M=o):M1(e)}}function M1(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:Ae||P0(5,t);break;case 1:var u=t.stateNode;if(4&t.flags&&!Ae)if(null===n)u.componentDidMount();else{var r=t.elementType===t.type?n.memoizedProps:gt(t.type,n.memoizedProps);u.componentDidUpdate(r,n.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Lc(t,o,u);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Lc(t,l,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 d=c.dehydrated;null!==d&&qu(d)}}}break;default:throw Error(T(163))}Ae||512&t.flags&&vi(t)}catch(h){ie(t,t.return,h)}}if(t===e){M=null;break}if(null!==(n=t.sibling)){n.return=t.return,M=n;break}M=t.return}}function L1(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 j1(e){for(;null!==M;){var t=M;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{P0(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 o=t.return;try{vi(t)}catch(a){ie(t,o,a)}break;case 5:var l=t.return;try{vi(t)}catch(a){ie(t,l,a)}}}catch(a){ie(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 U1,eh=Math.ceil,R0=Rt.ReactCurrentDispatcher,bi=Rt.ReactCurrentOwner,ot=Rt.ReactCurrentBatchConfig,V=0,he=null,se=null,be=0,Ye=0,hu=ln(0),fe=0,mr=null,jn=0,I0=0,_i=0,gr=null,ze=null,Ei=0,mu=1/0,Zt=null,z0=!1,ki=null,pn=null,H0=!1,hn=null,$0=0,wr=0,Ci=null,B0=-1,U0=0;function Me(){return 6&V?ae():-1!==B0?B0:B0=ae()}function mn(e){return 1&e.mode?2&V&&0!==be?be&-be:null!==R3.transition?(0===U0&&(U0=As()),U0):(0!==(e=Z)||(e=void 0===(e=window.event)?16:Ps(e.type)),e):1}function yt(e,t,n,u){if(50<wr)throw wr=0,Ci=null,Error(T(185));$u(e,n,u),(!(2&V)||e!==he)&&(e===he&&(!(2&V)&&(I0|=n),4===fe&&gn(e,be)),He(e,u),1===n&&0===V&&!(1&t.mode)&&(mu=ae()+500,w0&&sn()))}function He(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,u=e.pingedLanes,r=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-pt(o),i=1<<l,a=r[l];-1===a?(!(i&n)||i&u)&&(r[l]=Pp(i,t)):a<=t&&(e.expiredLanes|=i),o&=~i}}(e,t);var u=Kr(e,e===he?be:0);if(0===u)null!==n&&ks(n),e.callbackNode=null,e.callbackPriority=0;else if(t=u&-u,e.callbackPriority!==t){if(null!=n&&ks(n),1===t)0===e.tag?function(e){w0=!0,bc(e)}(P1.bind(null,e)):bc(P1.bind(null,e)),M3((function(){!(6&V)&&sn()})),n=null;else{switch(Ts(u)){case 1:n=rl;break;case 4:n=Cs;break;case 16:default:n=Gr;break;case 536870912:n=Ss}n=V1(n,O1.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function O1(e,t){if(B0=-1,U0=0,6&V)throw Error(T(327));var n=e.callbackNode;if(gu()&&e.callbackNode!==n)return null;var u=Kr(e,e===he?be:0);if(0===u)return null;if(30&u||u&e.expiredLanes||t)t=V0(e,u);else{t=u;var r=V;V|=2;var o=I1();for((he!==e||be!==t)&&(Zt=null,mu=ae()+500,Pn(e,t));;)try{uh();break}catch(i){R1(e,i)}Ul(),R0.current=o,V=r,null!==se?t=0:(he=null,be=0,t=fe)}if(0!==t){if(2===t&&(0!==(r=ol(e))&&(u=r,t=Si(e,r))),1===t)throw n=mr,Pn(e,0),gn(e,u),He(e,ae()),n;if(6===t)gn(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],o=r.getSnapshot;r=r.value;try{if(!ht(o(),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=V0(e,u),2===t&&(o=ol(e),0!==o&&(u=o,t=Si(e,o))),1!==t)))throw n=mr,Pn(e,0),gn(e,u),He(e,ae()),n;switch(e.finishedWork=r,e.finishedLanes=u,t){case 0:case 1:throw Error(T(345));case 2:case 5:Rn(e,ze,Zt);break;case 3:if(gn(e,u),(130023424&u)===u&&10<(t=Ei+500-ae())){if(0!==Kr(e,0))break;if(((r=e.suspendedLanes)&u)!==u){Me(),e.pingedLanes|=e.suspendedLanes&r;break}e.timeoutHandle=Ml(Rn.bind(null,e,ze,Zt),t);break}Rn(e,ze,Zt);break;case 4:if(gn(e,u),(4194240&u)===u)break;for(t=e.eventTimes,r=-1;0<u;){var l=31-pt(u);o=1<<l,(l=t[l])>r&&(r=l),u&=~o}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*eh(u/1960))-u)){e.timeoutHandle=Ml(Rn.bind(null,e,ze,Zt),u);break}Rn(e,ze,Zt);break;default:throw Error(T(329))}}}return He(e,ae()),e.callbackNode===n?O1.bind(null,e):null}function Si(e,t){var n=gr;return e.current.memoizedState.isDehydrated&&(Pn(e,t).flags|=256),2!==(e=V0(e,t))&&(t=ze,ze=n,null!==t&&Ai(t)),e}function Ai(e){null===ze?ze=e:ze.push.apply(ze,e)}function gn(e,t){for(t&=~_i,t&=~I0,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-pt(t),u=1<<n;e[n]=-1,t&=~u}}function P1(e){if(6&V)throw Error(T(327));gu();var t=Kr(e,0);if(!(1&t))return He(e,ae()),null;var n=V0(e,t);if(0!==e.tag&&2===n){var u=ol(e);0!==u&&(t=u,n=Si(e,u))}if(1===n)throw n=mr,Pn(e,0),gn(e,t),He(e,ae()),n;if(6===n)throw Error(T(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Rn(e,ze,Zt),He(e,ae()),null}function Ti(e,t){var n=V;V|=1;try{return e(t)}finally{0===(V=n)&&(mu=ae()+500,w0&&sn())}}function On(e){null!==hn&&0===hn.tag&&!(6&V)&&gu();var t=V;V|=1;var n=ot.transition,u=Z;try{if(ot.transition=null,Z=1,e)return e()}finally{Z=u,ot.transition=n,!(6&(V=t))&&sn()}}function Di(){Ye=hu.current,J(hu)}function Pn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,N3(n)),null!==se)for(n=se.return;null!==n;){var u=n;switch(Il(u),u.tag){case 1:null!=(u=u.type.childContextTypes)&&m0();break;case 3:fu(),J(Pe),J(ke),Xl();break;case 5:Ql(u);break;case 4:fu();break;case 13:case 19:J(oe);break;case 10:Vl(u.type._context);break;case 22:case 23:Di()}n=n.return}if(he=e,se=e=wn(e.current,null),be=Ye=t,fe=0,mr=null,_i=I0=jn=0,ze=gr=null,null!==Nn){for(t=0;t<Nn.length;t++)if(null!==(u=(n=Nn[t]).interleaved)){n.interleaved=null;var r=u.next,o=n.pending;if(null!==o){var l=o.next;o.next=r,u.next=l}n.pending=u}Nn=null}return e}function R1(e,t){for(;;){var n=se;try{if(Ul(),A0.current=N0,T0){for(var u=le.memoizedState;null!==u;){var r=u.queue;null!==r&&(r.pending=null),u=u.next}T0=!1}if(Ln=0,pe=ce=le=null,sr=!1,cr=0,bi.current=null,null===n||null===n.return){fe=1,mr=t,se=null;break}e:{var o=e,l=n.return,i=n,a=t;if(t=be,i.flags|=32768,null!==a&&"object"==typeof a&&"function"==typeof a.then){var s=a,c=i,d=c.tag;if(!(1&c.mode||0!==d&&11!==d&&15!==d)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var v=a1(l);if(null!==v){v.flags&=-257,s1(v,l,i,0,t),1&v.mode&&i1(o,s,t),a=s;var g=(t=v).updateQueue;if(null===g){var _=new Set;_.add(a),t.updateQueue=_}else g.add(a);break e}if(!(1&t)){i1(o,s,t),Fi();break e}a=Error(T(426))}else if(ee&&1&i.mode){var S=a1(l);if(null!==S){!(65536&S.flags)&&(S.flags|=256),s1(S,l,i,0,t),$l(du(a,i));break e}}o=a=du(a,i),4!==fe&&(fe=2),null===gr?gr=[o]:gr.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,Mc(o,o1(0,a,t));break e;case 1:i=a;var f=o.type,w=o.stateNode;if(!(128&o.flags||"function"!=typeof f.getDerivedStateFromError&&(null===w||"function"!=typeof w.componentDidCatch||null!==pn&&pn.has(w)))){o.flags|=65536,t&=-t,o.lanes|=t,Mc(o,l1(o,i,t));break e}}o=o.return}while(null!==o)}H1(n)}catch(k){t=k,se===n&&null!==n&&(se=n=n.return);continue}break}}function I1(){var e=R0.current;return R0.current=N0,null===e?N0:e}function Fi(){(0===fe||3===fe||2===fe)&&(fe=4),null===he||!(268435455&jn)&&!(268435455&I0)||gn(he,be)}function V0(e,t){var n=V;V|=2;var u=I1();for((he!==e||be!==t)&&(Zt=null,Pn(e,t));;)try{nh();break}catch(r){R1(e,r)}if(Ul(),V=n,R0.current=u,null!==se)throw Error(T(261));return he=null,be=0,fe}function nh(){for(;null!==se;)z1(se)}function uh(){for(;null!==se&&!Tp();)z1(se)}function z1(e){var t=U1(e.alternate,e,Ye);e.memoizedProps=e.pendingProps,null===t?H1(e):se=t,bi.current=null}function H1(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Y3(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=Q3(n,t,Ye)))return void(se=n);if(null!==(t=t.sibling))return void(se=t);se=t=e}while(null!==t);0===fe&&(fe=5)}function Rn(e,t,n){var u=Z,r=ot.transition;try{ot.transition=null,Z=1,function(e,t,n,u){do{gu()}while(null!==hn);if(6&V)throw Error(T(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(T(177));e.callbackNode=null,e.callbackPriority=0;var o=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-pt(n),o=1<<r;t[r]=0,u[r]=-1,e[r]=-1,n&=~o}}(e,o),e===he&&(se=he=null,be=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||H0||(H0=!0,V1(Gr,(function(){return gu(),null}))),o=!!(15990&n.flags),15990&n.subtreeFlags||o){o=ot.transition,ot.transition=null;var l=Z;Z=1;var i=V;V|=4,bi.current=null,function(e,t){if(Dl=t0,bl(e=nc())){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,o=u.focusNode;u=u.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,i=-1,a=-1,s=0,c=0,d=e,h=null;t:for(;;){for(var v;d!==n||0!==r&&3!==d.nodeType||(i=l+r),d!==o||0!==u&&3!==d.nodeType||(a=l+u),3===d.nodeType&&(l+=d.nodeValue.length),null!==(v=d.firstChild);)h=d,d=v;for(;;){if(d===e)break t;if(h===n&&++s===r&&(i=l),h===o&&++c===u&&(a=l),null!==(v=d.nextSibling))break;h=(d=h).parentNode}d=v}n=-1===i||-1===a?null:{start:i,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fl={focusedElem:e,selectionRange:n},t0=!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 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 _=g.memoizedProps,S=g.memoizedState,y=t.stateNode,f=y.getSnapshotBeforeUpdate(t.elementType===t.type?_:gt(t.type,_),S);y.__reactInternalSnapshotBeforeUpdate=f}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(T(163))}}catch(x){ie(t,t.return,x)}if(null!==(e=t.sibling)){e.return=t.return,M=e;break}M=t.return}g=k1,k1=!1}(e,n),F1(n,e),k3(Fl),t0=!!Dl,Fl=Dl=null,e.current=n,J3(n),Dp(),V=i,Z=l,ot.transition=o}else e.current=n;if(H0&&(H0=!1,hn=e,$0=r),o=e.pendingLanes,0===o&&(pn=null),function(e){if(kt&&"function"==typeof kt.onCommitFiberRoot)try{kt.onCommitFiberRoot(Qr,e,void 0,!(128&~e.current.flags))}catch{}}(n.stateNode),He(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(z0)throw z0=!1,e=ki,ki=null,e;1&$0&&0!==e.tag&&gu(),o=e.pendingLanes,1&o?e===Ci?wr++:(wr=0,Ci=e):wr=0,sn()}(e,t,n,u)}finally{ot.transition=r,Z=u}return null}function gu(){if(null!==hn){var e=Ts($0),t=ot.transition,n=Z;try{if(ot.transition=null,Z=16>e?16:e,null===hn)var u=!1;else{if(e=hn,hn=null,$0=0,6&V)throw Error(T(331));var r=V;for(V|=4,M=e.current;null!==M;){var o=M,l=o.child;if(16&M.flags){var i=o.deletions;if(null!==i){for(var a=0;a<i.length;a++){var s=i[a];for(M=s;null!==M;){var c=M;switch(c.tag){case 0:case 11:case 15:hr(8,c,o)}var d=c.child;if(null!==d)d.return=c,M=d;else for(;null!==M;){var h=(c=M).sibling,v=c.return;if(C1(c),c===s){M=null;break}if(null!==h){h.return=v,M=h;break}M=v}}}var g=o.alternate;if(null!==g){var _=g.child;if(null!==_){g.child=null;do{var S=_.sibling;_.sibling=null,_=S}while(null!==_)}}M=o}}if(2064&o.subtreeFlags&&null!==l)l.return=o,M=l;else e:for(;null!==M;){if(2048&(o=M).flags)switch(o.tag){case 0:case 11:case 15:hr(9,o,o.return)}var y=o.sibling;if(null!==y){y.return=o.return,M=y;break e}M=o.return}}var f=e.current;for(M=f;null!==M;){var w=(l=M).child;if(2064&l.subtreeFlags&&null!==w)w.return=l,M=w;else e:for(l=f;null!==M;){if(2048&(i=M).flags)try{switch(i.tag){case 0:case 11:case 15:P0(9,i)}}catch(k){ie(i,i.return,k)}if(i===l){M=null;break e}var x=i.sibling;if(null!==x){x.return=i.return,M=x;break e}M=i.return}}if(V=r,sn(),kt&&"function"==typeof kt.onPostCommitFiberRoot)try{kt.onPostCommitFiberRoot(Qr,e)}catch{}u=!0}return u}finally{Z=n,ot.transition=t}}return!1}function $1(e,t,n){e=fn(e,t=o1(0,t=du(n,t),1),1),t=Me(),null!==e&&($u(e,1,t),He(e,t))}function ie(e,t,n){if(3===e.tag)$1(e,e,n);else for(;null!==t;){if(3===t.tag){$1(t,e,n);break}if(1===t.tag){var u=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof u.componentDidCatch&&(null===pn||!pn.has(u))){t=fn(t,e=l1(t,e=du(n,e),1),1),e=Me(),null!==t&&($u(t,1,e),He(t,e));break}}t=t.return}}function oh(e,t,n){var u=e.pingCache;null!==u&&u.delete(t),t=Me(),e.pingedLanes|=e.suspendedLanes&n,he===e&&(be&n)===n&&(4===fe||3===fe&&(130023424&be)===be&&500>ae()-Ei?Pn(e,0):_i|=n),He(e,t)}function B1(e,t){0===t&&(1&e.mode?(t=Xr,!(130023424&(Xr<<=1))&&(Xr=4194304)):t=1);var n=Me();null!==(e=Bt(e,t))&&($u(e,t,n),He(e,n))}function lh(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),B1(e,n)}function ih(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(T(314))}null!==u&&u.delete(t),B1(e,n)}function V1(e,t){return Es(e,t)}function ah(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 lt(e,t,n,u){return new ah(e,t,n,u)}function Ni(e){return!(!(e=e.prototype)||!e.isReactComponent)}function wn(e,t){var n=e.alternate;return null===n?((n=lt(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 Z0(e,t,n,u,r,o){var l=2;if(u=e,"function"==typeof e)Ni(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case Zn:return In(n.children,r,o,t);case Oo:l=8,r|=8;break;case Po:return(e=lt(12,n,t,2|r)).elementType=Po,e.lanes=o,e;case Io:return(e=lt(13,n,t,r)).elementType=Io,e.lanes=o,e;case zo:return(e=lt(19,n,t,r)).elementType=zo,e.lanes=o,e;case Ja:return q0(n,r,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Xa:l=10;break e;case Ka:l=9;break e;case Ro:l=11;break e;case Ho:l=14;break e;case Xt:l=16,u=null;break e}throw Error(T(130,null==e?e:typeof e,""))}return(t=lt(l,n,t,r)).elementType=e,t.type=u,t.lanes=o,t}function In(e,t,n,u){return(e=lt(7,e,u,t)).lanes=n,e}function q0(e,t,n,u){return(e=lt(22,e,u,t)).elementType=Ja,e.lanes=n,e.stateNode={isHidden:!1},e}function Mi(e,t,n){return(e=lt(6,e,null,t)).lanes=n,e}function Li(e,t,n){return(t=lt(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ch(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=ll(0),this.expirationTimes=ll(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ll(0),this.identifierPrefix=u,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function ji(e,t,n,u,r,o,l,i,a){return e=new ch(e,t,n,i,a),1===t?(t=1,!0===o&&(t|=8)):t=0,o=lt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:u,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Wl(o),e}function Z1(e){if(!e)return an;e:{if(Sn(e=e._reactInternals)!==e||1!==e.tag)throw Error(T(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Re(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(T(171))}if(1===e.tag){var n=e.type;if(Re(n))return yc(e,n,t)}return t}function q1(e,t,n,u,r,o,l,i,a){return(e=ji(n,u,!0,e,0,o,0,i,a)).context=Z1(null),n=e.current,(o=Ut(u=Me(),r=mn(n))).callback=t??null,fn(n,o,r),e.current.lanes=r,$u(e,r,u),He(e,u),e}function W0(e,t,n,u){var r=t.current,o=Me(),l=mn(r);return n=Z1(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ut(o,l)).payload={element:e},null!==(u=void 0===u?null:u)&&(t.callback=u),null!==(e=fn(r,t,l))&&(yt(e,r,l,o),k0(e,r,l)),l}function G0(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function W1(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Oi(e,t){W1(e,t),(e=e.alternate)&&W1(e,t)}U1=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Pe.current)Ie=!0;else{if(!(e.lanes&n||128&t.flags))return Ie=!1,function(e,t,n){switch(t.tag){case 3:g1(t),iu();break;case 5:jc(t);break;case 1:Re(t.type)&&g0(t);break;case 4:Gl(t,t.stateNode.containerInfo);break;case 10:var u=t.type._context,r=t.memoizedProps.value;G(_0,u._currentValue),u._currentValue=r;break;case 13:if(null!==(u=t.memoizedState))return null!==u.dehydrated?(G(oe,1&oe.current),t.flags|=128,null):n&t.child.childLanes?v1(e,t,n):(G(oe,1&oe.current),null!==(e=Vt(e,t,n))?e.sibling:null);G(oe,1&oe.current);break;case 19:if(u=!!(n&t.childLanes),128&e.flags){if(u)return x1(e,t,n);t.flags|=128}if(null!==(r=t.memoizedState)&&(r.rendering=null,r.tail=null,r.lastEffect=null),G(oe,oe.current),u)break;return null;case 22:case 23:return t.lanes=0,p1(e,t,n)}return Vt(e,t,n)}(e,t,n);Ie=!!(131072&e.flags)}else Ie=!1,ee&&1048576&t.flags&&_c(t,y0,t.index);switch(t.lanes=0,t.tag){case 2:var u=t.type;j0(e,t),e=t.pendingProps;var r=ru(t,ke.current);cu(t,n),r=ei(null,t,u,e,r,n);var o=ti();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,Re(u)?(o=!0,g0(t)):o=!1,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,Wl(t),r.updater=M0,t.stateNode=r,r._reactInternals=t,ii(t,u,e,n),t=fi(null,t,u,!0,o,n)):(t.tag=0,ee&&o&&Rl(t),Ne(null,t,r,n),t=t.child),t;case 16:u=t.elementType;e:{switch(j0(e,t),e=t.pendingProps,u=(r=u._init)(u._payload),t.type=u,r=t.tag=function(e){if("function"==typeof e)return Ni(e)?1:0;if(null!=e){if((e=e.$$typeof)===Ro)return 11;if(e===Ho)return 14}return 2}(u),e=gt(u,e),r){case 0:t=ci(null,t,u,e,n);break e;case 1:t=m1(null,t,u,e,n);break e;case 11:t=c1(null,t,u,e,n);break e;case 14:t=f1(null,t,u,gt(u.type,e),n);break e}throw Error(T(306,u,""))}return t;case 0:return u=t.type,r=t.pendingProps,ci(e,t,u,r=t.elementType===u?r:gt(u,r),n);case 1:return u=t.type,r=t.pendingProps,m1(e,t,u,r=t.elementType===u?r:gt(u,r),n);case 3:e:{if(g1(t),null===e)throw Error(T(387));u=t.pendingProps,r=(o=t.memoizedState).element,Nc(e,t),C0(t,u,null,n);var l=t.memoizedState;if(u=l.element,o.isDehydrated){if(o={element:u,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=w1(e,t,u,n,r=du(Error(T(423)),t));break e}if(u!==r){t=w1(e,t,u,n,r=du(Error(T(424)),t));break e}for(Qe=on(t.stateNode.containerInfo.firstChild),Ge=t,ee=!0,mt=null,n=Dc(t,null,u,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(iu(),u===r){t=Vt(e,t,n);break e}Ne(e,t,u,n)}t=t.child}return t;case 5:return jc(t),null===e&&Hl(t),u=t.type,r=t.pendingProps,o=null!==e?e.memoizedProps:null,l=r.children,Nl(u,r)?l=null:null!==o&&Nl(u,o)&&(t.flags|=32),h1(e,t),Ne(e,t,l,n),t.child;case 6:return null===e&&Hl(t),null;case 13:return v1(e,t,n);case 4:return Gl(t,t.stateNode.containerInfo),u=t.pendingProps,null===e?t.child=au(t,null,u,n):Ne(e,t,u,n),t.child;case 11:return u=t.type,r=t.pendingProps,c1(e,t,u,r=t.elementType===u?r:gt(u,r),n);case 7:return Ne(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ne(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(u=t.type._context,r=t.pendingProps,o=t.memoizedProps,l=r.value,G(_0,u._currentValue),u._currentValue=l,null!==o)if(ht(o.value,l)){if(o.children===r.children&&!Pe.current){t=Vt(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var i=o.dependencies;if(null!==i){l=o.child;for(var a=i.firstContext;null!==a;){if(a.context===u){if(1===o.tag){(a=Ut(-1,n&-n)).tag=2;var s=o.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}}o.lanes|=n,null!==(a=o.alternate)&&(a.lanes|=n),Zl(o.return,n,t),i.lanes|=n;break}a=a.next}}else if(10===o.tag)l=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(l=o.return))throw Error(T(341));l.lanes|=n,null!==(i=l.alternate)&&(i.lanes|=n),Zl(l,n,t),l=o.sibling}else l=o.child;if(null!==l)l.return=o;else for(l=o;null!==l;){if(l===t){l=null;break}if(null!==(o=l.sibling)){o.return=l.return,l=o;break}l=l.return}o=l}Ne(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,u=t.pendingProps.children,cu(t,n),u=u(r=ut(r)),t.flags|=1,Ne(e,t,u,n),t.child;case 14:return r=gt(u=t.type,t.pendingProps),f1(e,t,u,r=gt(u.type,r),n);case 15:return d1(e,t,t.type,t.pendingProps,n);case 17:return u=t.type,r=t.pendingProps,r=t.elementType===u?r:gt(u,r),j0(e,t),t.tag=1,Re(u)?(e=!0,g0(t)):e=!1,cu(t,n),u1(t,u,r),ii(t,u,r,n),fi(null,t,u,!0,e,n);case 19:return x1(e,t,n);case 22:return p1(e,t,n)}throw Error(T(156,t.tag))};var G1="function"==typeof reportError?reportError:function(e){console.error(e)};function Pi(e){this._internalRoot=e}function Q0(e){this._internalRoot=e}function Ri(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Y0(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Q1(){}function X0(e,t,n,u,r){var o=n._reactRootContainer;if(o){var l=o;if("function"==typeof r){var i=r;r=function(){var a=G0(l);i.call(a)}}W0(t,l,e,r)}else l=function(e,t,n,u,r){if(r){if("function"==typeof u){var o=u;u=function(){var s=G0(l);o.call(s)}}var l=q1(t,u,e,0,null,!1,0,"",Q1);return e._reactRootContainer=l,e[It]=l.current,tr(8===e.nodeType?e.parentNode:e),On(),l}for(;r=e.lastChild;)e.removeChild(r);if("function"==typeof u){var i=u;u=function(){var s=G0(a);i.call(s)}}var a=ji(e,0,!1,null,0,!1,0,"",Q1);return e._reactRootContainer=a,e[It]=a.current,tr(8===e.nodeType?e.parentNode:e),On((function(){W0(t,a,n,u)})),a}(n,t,e,r,u);return G0(l)}Q0.prototype.render=Pi.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(T(409));W0(e,t,null,null)},Q0.prototype.unmount=Pi.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;On((function(){W0(null,e,null,null)})),t[It]=null}},Q0.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ns();e={blockedOn:null,target:e,priority:t};for(var n=0;n<nn.length&&0!==t&&t<nn[n].priority;n++);nn.splice(n,0,e),0===n&&js(e)}},Ds=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Hu(t.pendingLanes);0!==n&&(il(t,1|n),He(t,ae()),!(6&V)&&(mu=ae()+500,sn()))}break;case 13:On((function(){var u=Bt(e,1);if(null!==u){var r=Me();yt(u,e,1,r)}})),Oi(e,1)}},al=function(e){if(13===e.tag){var t=Bt(e,134217728);if(null!==t)yt(t,e,134217728,Me());Oi(e,134217728)}},Fs=function(e){if(13===e.tag){var t=mn(e),n=Bt(e,t);if(null!==n)yt(n,e,t,Me());Oi(e,t)}},Ns=function(){return Z},Ms=function(e,t){var n=Z;try{return Z=e,t()}finally{Z=n}},el=function(e,t,n){switch(t){case"input":if(qo(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=h0(u);if(!r)throw Error(T(90));ns(u),qo(u,r)}}}break;case"textarea":is(e,n);break;case"select":null!=(t=n.value)&&qn(e,!!n.multiple,t,!1)}},gs=Ti,ws=On;var hh={usingClientEntryPoint:!1,Events:[rr,nu,h0,hs,ms,Ti]},vr={findFiberByHostInstance:An,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},mh={bundleType:vr.bundleType,version:vr.version,rendererPackageName:vr.rendererPackageName,rendererConfig:vr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Rt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=bs(e))?null:e.stateNode},findFiberByHostInstance:vr.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 K0=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!K0.isDisabled&&K0.supportsFiber)try{Qr=K0.inject(mh),kt=K0}catch{}}Ze.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=hh,Ze.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ri(t))throw Error(T(200));return function(e,t,n){var u=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Vn,key:null==u?null:""+u,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},Ze.createRoot=function(e,t){if(!Ri(e))throw Error(T(299));var n=!1,u="",r=G1;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(u=t.identifierPrefix),void 0!==t.onRecoverableError&&(r=t.onRecoverableError)),t=ji(e,1,!1,null,0,n,0,u,r),e[It]=t.current,tr(8===e.nodeType?e.parentNode:e),new Pi(t)},Ze.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(T(188)):(e=Object.keys(e).join(","),Error(T(268,e)));return e=null===(e=bs(t))?null:e.stateNode},Ze.flushSync=function(e){return On(e)},Ze.hydrate=function(e,t,n){if(!Y0(t))throw Error(T(200));return X0(null,e,t,!0,n)},Ze.hydrateRoot=function(e,t,n){if(!Ri(e))throw Error(T(405));var u=null!=n&&n.hydratedSources||null,r=!1,o="",l=G1;if(null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=q1(t,null,e,1,n??null,r,0,o,l),e[It]=t.current,tr(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 Q0(t)},Ze.render=function(e,t,n){if(!Y0(t))throw Error(T(200));return X0(null,e,t,!1,n)},Ze.unmountComponentAtNode=function(e){if(!Y0(e))throw Error(T(40));return!!e._reactRootContainer&&(On((function(){X0(null,null,e,!1,(function(){e._reactRootContainer=null,e[It]=null}))})),!0)},Ze.unstable_batchedUpdates=Ti,Ze.unstable_renderSubtreeIntoContainer=function(e,t,n,u){if(!Y0(n))throw Error(T(200));if(null==e||void 0===e._reactInternals)throw Error(T(38));return X0(e,t,n,!1,u)},Ze.version="18.3.1-next-f1338f8080-20240426",function Y1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Y1)}catch(e){console.error(e)}}(),Za.exports=Ze;var Ii=Za.exports,X1=Ii;Fo.createRoot=X1.createRoot,Fo.hydrateRoot=X1.hydrateRoot;const zi=E.createContext(null),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:"v2",prompt:null,model:null,temperature:null,placeholder:"Talk with me",bgColorChat:"#f3f4f6",sizeOpenButton:56,restApi:"false",restUrl:""};const J0="___anm-chat-widget-open___",J1="___anm-chat-greetings-shown___";const bh=E.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var _h=Object.defineProperty,eo=Object.getOwnPropertySymbols,ef=Object.prototype.hasOwnProperty,tf=Object.prototype.propertyIsEnumerable,nf=(e,t,n)=>t in e?_h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uf=(e,t)=>{for(var n in t||(t={}))ef.call(t,n)&&nf(e,n,t[n]);if(eo)for(var n of eo(t))tf.call(t,n)&&nf(e,n,t[n]);return e},rf=(e,t)=>{var n={};for(var u in e)ef.call(e,u)&&t.indexOf(u)<0&&(n[u]=e[u]);if(null!=e&&eo)for(var u of eo(e))t.indexOf(u)<0&&tf.call(e,u)&&(n[u]=e[u]);return n};const of=E.forwardRef(((e,t)=>{const n=e,{alt:u,color:r,size:o,weight:l,mirrored:i,children:a,weights:s}=n,c=rf(n,["alt","color","size","weight","mirrored","children","weights"]),d=E.useContext(bh),{color:h="currentColor",size:v,weight:g="regular",mirrored:_=!1}=d,S=rf(d,["color","size","weight","mirrored"]);return m.createElement("svg",uf(uf({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o??v,height:o??v,fill:r??h,viewBox:"0 0 256 256",transform:i||_?"scale(-1, 1)":void 0},S),c),!!u&&m.createElement("title",null,u),a,s.get(l??g))}));of.displayName="IconBase";const it=of,Eh=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.createElement("path",{d:"M200,144l-72,72L56,144Z",opacity:"0.2"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 kh=Object.defineProperty,Ch=Object.defineProperties,Sh=Object.getOwnPropertyDescriptors,lf=Object.getOwnPropertySymbols,Ah=Object.prototype.hasOwnProperty,Th=Object.prototype.propertyIsEnumerable,af=(e,t,n)=>t in e?kh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const sf=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>Ch(e,Sh(t)))(((e,t)=>{for(var n in t||(t={}))Ah.call(t,n)&&af(e,n,t[n]);if(lf)for(var n of lf(t))Th.call(t,n)&&af(e,n,t[n]);return e})({ref:t},e),{weights:Eh}))));sf.displayName="ArrowDown";const Nh=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 Mh=Object.defineProperty,Lh=Object.defineProperties,jh=Object.getOwnPropertyDescriptors,cf=Object.getOwnPropertySymbols,Oh=Object.prototype.hasOwnProperty,Ph=Object.prototype.propertyIsEnumerable,ff=(e,t,n)=>t in e?Mh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const df=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>Lh(e,jh(t)))(((e,t)=>{for(var n in t||(t={}))Oh.call(t,n)&&ff(e,n,t[n]);if(cf)for(var n of cf(t))Ph.call(t,n)&&ff(e,n,t[n]);return e})({ref:t},e),{weights:Nh}))));df.displayName="Binoculars";const zh=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 Hh=Object.defineProperty,$h=Object.defineProperties,Bh=Object.getOwnPropertyDescriptors,pf=Object.getOwnPropertySymbols,Uh=Object.prototype.hasOwnProperty,Vh=Object.prototype.propertyIsEnumerable,hf=(e,t,n)=>t in e?Hh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const mf=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>$h(e,Bh(t)))(((e,t)=>{for(var n in t||(t={}))Uh.call(t,n)&&hf(e,n,t[n]);if(pf)for(var n of pf(t))Vh.call(t,n)&&hf(e,n,t[n]);return e})({ref:t},e),{weights:zh}))));mf.displayName="ChatCircleDots";const Wh=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 Gh=Object.defineProperty,Qh=Object.defineProperties,Yh=Object.getOwnPropertyDescriptors,gf=Object.getOwnPropertySymbols,Xh=Object.prototype.hasOwnProperty,Kh=Object.prototype.propertyIsEnumerable,wf=(e,t,n)=>t in e?Gh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const vf=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>Qh(e,Yh(t)))(((e,t)=>{for(var n in t||(t={}))Xh.call(t,n)&&wf(e,n,t[n]);if(gf)for(var n of gf(t))Kh.call(t,n)&&wf(e,n,t[n]);return e})({ref:t},e),{weights:Wh}))));vf.displayName="Check";const t6=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 n6=Object.defineProperty,u6=Object.defineProperties,r6=Object.getOwnPropertyDescriptors,yf=Object.getOwnPropertySymbols,o6=Object.prototype.hasOwnProperty,l6=Object.prototype.propertyIsEnumerable,xf=(e,t,n)=>t in e?n6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Hi=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>u6(e,r6(t)))(((e,t)=>{for(var n in t||(t={}))o6.call(t,n)&&xf(e,n,t[n]);if(yf)for(var n of yf(t))l6.call(t,n)&&xf(e,n,t[n]);return e})({ref:t},e),{weights:t6}))));Hi.displayName="CircleNotch";const s6=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 c6=Object.defineProperty,f6=Object.defineProperties,d6=Object.getOwnPropertyDescriptors,bf=Object.getOwnPropertySymbols,p6=Object.prototype.hasOwnProperty,h6=Object.prototype.propertyIsEnumerable,_f=(e,t,n)=>t in e?c6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Ef=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>f6(e,d6(t)))(((e,t)=>{for(var n in t||(t={}))p6.call(t,n)&&_f(e,n,t[n]);if(bf)for(var n of bf(t))h6.call(t,n)&&_f(e,n,t[n]);return e})({ref:t},e),{weights:s6}))));Ef.displayName="Headset";const w6=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 v6=Object.defineProperty,y6=Object.defineProperties,x6=Object.getOwnPropertyDescriptors,kf=Object.getOwnPropertySymbols,b6=Object.prototype.hasOwnProperty,_6=Object.prototype.propertyIsEnumerable,Cf=(e,t,n)=>t in e?v6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Sf=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>y6(e,x6(t)))(((e,t)=>{for(var n in t||(t={}))b6.call(t,n)&&Cf(e,n,t[n]);if(kf)for(var n of kf(t))_6.call(t,n)&&Cf(e,n,t[n]);return e})({ref:t},e),{weights:w6}))));Sf.displayName="MagicWand";const C6=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 S6=Object.defineProperty,A6=Object.defineProperties,T6=Object.getOwnPropertyDescriptors,Af=Object.getOwnPropertySymbols,D6=Object.prototype.hasOwnProperty,F6=Object.prototype.propertyIsEnumerable,Tf=(e,t,n)=>t in e?S6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Df=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>A6(e,T6(t)))(((e,t)=>{for(var n in t||(t={}))D6.call(t,n)&&Tf(e,n,t[n]);if(Af)for(var n of Af(t))F6.call(t,n)&&Tf(e,n,t[n]);return e})({ref:t},e),{weights:C6}))));Df.displayName="MagnifyingGlass";const L6=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 j6=Object.defineProperty,O6=Object.defineProperties,P6=Object.getOwnPropertyDescriptors,Ff=Object.getOwnPropertySymbols,R6=Object.prototype.hasOwnProperty,I6=Object.prototype.propertyIsEnumerable,Nf=(e,t,n)=>t in e?j6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Mf=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>O6(e,P6(t)))(((e,t)=>{for(var n in t||(t={}))R6.call(t,n)&&Nf(e,n,t[n]);if(Ff)for(var n of Ff(t))I6.call(t,n)&&Nf(e,n,t[n]);return e})({ref:t},e),{weights:L6}))));Mf.displayName="PaperPlaneRight";const $6=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 B6=Object.defineProperty,U6=Object.defineProperties,V6=Object.getOwnPropertyDescriptors,Lf=Object.getOwnPropertySymbols,Z6=Object.prototype.hasOwnProperty,q6=Object.prototype.propertyIsEnumerable,jf=(e,t,n)=>t in e?B6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Of=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>U6(e,V6(t)))(((e,t)=>{for(var n in t||(t={}))Z6.call(t,n)&&jf(e,n,t[n]);if(Lf)for(var n of Lf(t))q6.call(t,n)&&jf(e,n,t[n]);return e})({ref:t},e),{weights:$6}))));Of.displayName="Plus";const Q6=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 Y6=Object.defineProperty,X6=Object.defineProperties,K6=Object.getOwnPropertyDescriptors,Pf=Object.getOwnPropertySymbols,J6=Object.prototype.hasOwnProperty,e4=Object.prototype.propertyIsEnumerable,Rf=(e,t,n)=>t in e?Y6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const If=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>X6(e,K6(t)))(((e,t)=>{for(var n in t||(t={}))J6.call(t,n)&&Rf(e,n,t[n]);if(Pf)for(var n of Pf(t))e4.call(t,n)&&Rf(e,n,t[n]);return e})({ref:t},e),{weights:Q6}))));If.displayName="Warning";const u4=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 r4=Object.defineProperty,o4=Object.defineProperties,l4=Object.getOwnPropertyDescriptors,zf=Object.getOwnPropertySymbols,i4=Object.prototype.hasOwnProperty,a4=Object.prototype.propertyIsEnumerable,Hf=(e,t,n)=>t in e?r4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const $f=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>o4(e,l4(t)))(((e,t)=>{for(var n in t||(t={}))i4.call(t,n)&&Hf(e,n,t[n]);if(zf)for(var n of zf(t))a4.call(t,n)&&Hf(e,n,t[n]);return e})({ref:t},e),{weights:u4}))));$f.displayName="X";const $i={plus:Of,chatBubble:mf,support:Ef,search2:df,search:Df,magic:Sf};function f4({settings:e,isOpen:t,toggleBot:n,offsetBottom:u}){const r=Object.hasOwn($i,null==e?void 0:e.chatIcon)?$i[e.chatIcon]:$i.plus,o="white"===e.arrowDownColor?"tw-jg":"tw-ig",l=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-md tw-ug tw-ao tw-ed tw-oc tw-xa tw-pf tw-im tw-yn",style:{position:"fixed",bottom:l,...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-ao tw-vf tw-od tw-bn tw-nm tw-im",children:[e.chatIconUrl?p.jsx("img",{style:{borderRadius:"9999px"},className:"tw-bn tw-nm tw-pf tw-ni"+(t?"tw-xl tw-mj tw-fi":"tw-rj tw-bh tw-vk"),src:e.chatIconUrl,alt:"Chat Icon"}):p.jsx(r,{className:"tw-dk tw-li tw-jg tw-hg tw-zk tw-pf tw-ni "+(t?"tw-xl tw-mj tw-fi":"tw-rj tw-bh tw-vk")}),p.jsx("svg",{viewBox:"0 0 24 24",className:`tw-dk ${o} tw-yk tw-pf tw-ni tw-nq tw-cq tw-ui `+(t?"tw-rj tw-vk tw-bh":"tw-xl tw-mg tw-mj"),children:p.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})})]})})}const Bi="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",d4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},E.createElement("g",{fill:"#fff",clipPath:"url(#line_svg__a)"},E.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"}),E.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"})),E.createElement("defs",null,E.createElement("clipPath",{id:"line_svg__a"},E.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),p4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},E.createElement("g",{clipPath:"url(#messenger_svg__a)"},E.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"})),E.createElement("defs",null,E.createElement("clipPath",{id:"messenger_svg__a"},E.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),h4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},E.createElement("g",{clipPath:"url(#phone_svg__a)"},E.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"})),E.createElement("defs",null,E.createElement("clipPath",{id:"phone_svg__a"},E.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),m4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"5 20 530 159",...e},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"})),g4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},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"})),w4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 25",...e},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"}),E.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"})),v4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},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"},th:{today:"วันนี้",yesterday:"เมื่อวาน",copy:"คัดลอก",copySuccess:"คัดลอกสำเร็จ",suggest:"แนะนำ",report:"รายงาน",selectAssistantLabel:"เลือกข้อมูล",statistic:"สถิติ",question:"คำถาม",answer:"คำตอบ",answerCorrect:"คำตอบที่ถูกต้อง",sources:"เอกสารอ้างอิง",sourcesEmpty:"ไม่มีเอกสาร",remark:"หมายเหตุ",cancel:"ยกเลิก"}},vn="https://api.rudi.animuz.ai",Ui_chat=async(e,t,n="")=>{const u=await fetch(`${n||vn}/chat`,{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)});return[await u.json(),u.status]},Ui_ping=async()=>{try{fetch(`${vn}/pingModal`)}catch(e){console.error(e)}},Ui_listAssistants=async(e,t="")=>await(await fetch(`${t||vn}/v2/public/assistant`,{method:"GET",headers:{"Content-Type":"application/json",...e}})).json(),yr={getMessages:async(e,t="")=>{try{return(await(await fetch(`${t||vn}/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||vn}/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||vn}/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||vn}/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||vn}/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 Bf=({settings:e,closeChat:t,sessionId:n,resetChat:u,isNoMessage:r,isFullScreen:o,isIframe:l,toggleFullScreen:i})=>{const a=e.language,s=Dt[a]||Dt.en,{assistants:c,loading:d,error:h,selectedAssistant:v,changeAssistant:g}=function(e,t=null){const[n,u]=E.useState([]),[r,o]=E.useState(null),[l,i]=E.useState(!0),[a,s]=E.useState(null);return E.useEffect((()=>{e.embedId&&t&&null!==e.showAssistants&&async function(){try{const h=await Ui_listAssistants({"client-id":e.embedId,"session-id":t},e.restUrl);if(u(h),h.length>0){const v=h.find((g=>!0===g.isCurrentLocked));o((null==v?void 0:v.assistantID)??h[0].assistantID)}else o(null)}catch(h){s(h.message)}finally{i(!1)}}()}),[e.embedId,t,e.showAssistants]),{assistants:n,loading:l,error:a,selectedAssistant:r,changeAssistant:async d=>{try{await yr.changeAssistant({assistantID:d},{"client-id":e.embedId,"session-id":t},e.restUrl),o(d)}catch(h){console.error("Error changing assistant:",h)}}}}(e,n),_=()=>{if(c.length>0&&null!==e.showAssistants)return p.jsxs("div",{className:"tw-tk tw-lm",children:[p.jsx("select",{id:"selectRudi",className:"anm-peer tw-bn tw-rc tw-dg tw-ji tw-km tw-tc tw-jq",value:v||"",onChange:S=>g(S.target.value),children:c.map(((S,y)=>p.jsx("option",{value:S.assistantID,children:S.name},y)))}),p.jsx(v4,{className:"tw-dk tw-tl tw-gm tw-zj tw-cc tw-af tw-ni tw-pf tw-ua tw-hb"})]})};return p.jsxs("header",{style:{"--bg-color":e.bgColorChat??"#f3f4f6"},className:"tw-iq tw-xh tw-zm tw-wa",children:[p.jsxs("div",{className:"tw-ao tw-jk tw-dh tw-mp tw-tk tw-ad tw-yd tw-rf "+(Uf(e)||o||null!==e.showAssistants?"tw-bj":r||null===e.showAssistants?"tw-mk":"tw-aj"),style:{backgroundColor:e.headerBgColor??"#FFFFFF",color:e.headerTextColor??"#000000"},children:["dog"===e.headerBgPattern&&p.jsx(m4,{alt:"Background",className:"tw-dk tw-qm tw-sn tw-hm tw-cg tw-bi tw-ki"}),p.jsxs("div",{className:"tw-ao tw-nm tw-vf",children:[p.jsx("div",{className:"tw-qo tw-to tw-ao tw-vf tw-xp",children:p.jsx("div",{className:`tw-ao tw-od tw-vf tw-ko ${e.showAssistants?"tw-am":"tw-yl"} tw-ek tw-fg`,children:p.jsx("img",{className:"tw-bn tw-nm tw-pd tw-fg",src:e.brandImageUrl??Bi,alt:e.brandName?e.brandName+" Logo":"Rudi Logo"})})}),p.jsxs("div",{className:"tw-ao tw-jk tw-wj tw-bn tw-xp",children:[p.jsxs("div",{className:"tw-ao tw-yc tw-bn tw-vf",children:[p.jsxs("div",{className:"tw-ao tw-jk",children:[p.jsx("span",{className:"tw-cm tw-ge tw-eq tw-kg tw-yi",children:e.brandName}),p.jsx("span",{className:"tw-dm tw-xg tw-xd tw-eq tw-kg tw-yi",children:e.brandSlogan})]}),p.jsxs("div",{className:"tw-ao tw-vf tw-dk tw-ul tw-tn",children:[p.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},className:"tw-ug tw-mc tw-xn tw-hf tw-md tw-ci tw-ic tw-fl tw-zn tw-ce tw-jc tw-xa tw-pf",onClick:u,children:p.jsx(g4,{stroke:"currentColor",width:"100%",height:"100%",style:{color:e.headerTextColor??"#000000"}})}),"on"===e.allowFullscreen&&p.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},"data-fullscreen":o,className:"tw-om tw-el tw-ug tw-jd tw-eq tw-wg tw-md tw-ci tw-ic tw-ym tw-iq tw-kg tw-fd tw-l tw-xa tw-pf",onClick:i,children:p.jsx(w4,{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":l,className:"tw-oi tw-aa tw-ug tw-mc tw-xn tw-md tw-ci tw-ic tw-fl tw-zn tw-ce","aria-label":"Close",children:p.jsx($f,{width:"100%",height:"100%"})})]})]}),!o&&null!==e.showAssistants&&p.jsx(_,{})]})]}),Uf(e)?p.jsxs("div",{className:"tw-do tw-gi tw-im tw-ao tw-vf tw-qn tw-xh tw-yd tw-rf tw-hn",children:[e.socialFbUrl&&p.jsx("button",{className:"tw-ug tw-jd tw-eq tw-gq tw-md tw-xa tw-pf tw-fd tw-oc",children:p.jsx(p4,{className:"tw-xm",fill:"#FFFFFF",style:{color:e.headerBgColor??"#000000"}})}),e.socialLineUrl&&p.jsx("button",{className:"tw-ug tw-jd tw-eq tw-gq tw-md tw-xa tw-pf tw-fd tw-oc",children:p.jsx(d4,{className:"tw-xm",fill:"#FFFFFF"})}),e.socialPhoneUrl&&p.jsx("button",{className:"tw-ug tw-jd tw-eq tw-gq tw-md tw-xa tw-pf tw-fd tw-oc",children:p.jsx(h4,{className:"tw-xm",fill:"#FFFFFF"})})]}):null]}),o&&null!==e.showAssistants&&p.jsxs("div",{className:"tw-po tw-ao tw-jn tw-vf tw-oe tw-nl tw-bn",children:[p.jsx("label",{htmlFor:"selectRudi",className:"tw-yh tw-ge",children:s.selectAssistantLabel}),p.jsx(_,{})]})]})},Uf=e=>e.socialFbUrl||e.socialLineUrl||e.socialPhoneUrl,Vi=(e,t=void 0)=>{let u,n=!1;return e.map((({type:o,sender:l,senderID:i,message:a,images:s,debugPre:c,timestamp:d,read:h,msgID:v,videoUrls:g,fileUrls:_},S)=>{u=new Date(d).toLocaleDateString(),n=t!==u,t=new Date(d).toLocaleDateString();const y=function(e){const t=[];if(e&&e.length>0){var n={};e.forEach((u=>{if("assistant"===u.role&&Object.hasOwn(u,"tool_calls")){const r=u.tool_calls[0].function;n.name=r.name,n.args=r.arguments}if("tool"===u.role&&u.name===n.name&&u.content){if(n.response=u.content,"retriever"===n.name&&u.metadata){const r=n.response.split("<doc").filter((l=>!!l)).map((l=>l.substring(l.indexOf(">")+1))),o=JSON.parse(u.metadata).documents;n.documents=r.map(((l,i)=>({key:o[i].key,filetype:o[i].filetype,score:o[i].score,content:l})))}t.push(n),n={}}}))}return t}(c);return{msgID:v,type:o,role:l,timestamp:d,read:h,content:a||"",images:s,debugPre:c,..._4(y),isDateChanged:n,currDate:u,senderID:i,videoUrls:g,fileUrls:_}}))},_4=e=>{const t=e.find((o=>"retriever"===o.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 Vf={};function wu(e,t){"string"!=typeof t&&(t=wu.defaultChars);const n=function(e){let t=Vf[e];if(t)return t;t=Vf[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 o=0,l=u.length;o<l;o+=3){const i=parseInt(u.slice(o+1,o+3),16);if(i<128)r+=n[i];else{if(192==(224&i)&&o+3<l){const a=parseInt(u.slice(o+4,o+6),16);if(128==(192&a)){const s=i<<6&1984|63&a;r+=s<128?"��":String.fromCharCode(s),o+=3;continue}}if(224==(240&i)&&o+6<l){const a=parseInt(u.slice(o+4,o+6),16),s=parseInt(u.slice(o+7,o+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),o+=6;continue}}if(240==(248&i)&&o+9<l){const a=parseInt(u.slice(o+4,o+6),16),s=parseInt(u.slice(o+7,o+9),16),c=parseInt(u.slice(o+10,o+12),16);if(128==(192&a)&&128==(192&s)&&128==(192&c)){let d=i<<18&1835008|a<<12&258048|s<<6&4032|63&c;d<65536||d>1114111?r+="����":(d-=65536,r+=String.fromCharCode(55296+(d>>10),56320+(1023&d))),o+=9;continue}}r+="�"}}return r}))}wu.defaultChars=";/?:@&=+$,#",wu.componentChars="";const Zf={};function xr(e,t,n){"string"!=typeof t&&(n=t,t=xr.defaultChars),typeof n>"u"&&(n=!0);const u=function(e){let t=Zf[e];if(t)return t;t=Zf[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 o=0,l=e.length;o<l;o++){const i=e.charCodeAt(o);if(n&&37===i&&o+2<l&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))r+=e.slice(o,o+3),o+=2;else if(i<128)r+=u[i];else if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&o+1<l){const a=e.charCodeAt(o+1);if(a>=56320&&a<=57343){r+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}r+="%EF%BF%BD"}else r+=encodeURIComponent(e[o])}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 to(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}xr.defaultChars=";/?:@&=+$,-_.!~*'()#",xr.componentChars="-_.!~*'()";const A4=/^([a-z0-9.+-]+:)/i,T4=/:[0-9]*$/,D4=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,N4=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),M4=["'"].concat(N4),qf=["%","/","?",";","#"].concat(M4),Wf=["/","?","#"],Gf=/^[+a-z0-9A-Z_-]{0,63}$/,j4=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Qf={javascript:!0,"javascript:":!0},Yf={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 to)return e;const n=new to;return n.parse(e,t),n}to.prototype.parse=function(e,t){let n,u,r,o=e;if(o=o.trim(),!t&&1===e.split("#").length){const s=D4.exec(o);if(s)return this.pathname=s[1],s[2]&&(this.search=s[2]),this}let l=A4.exec(o);if(l&&(l=l[0],n=l.toLowerCase(),this.protocol=l,o=o.substr(l.length)),(t||l||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r="//"===o.substr(0,2),r&&!(l&&Qf[l])&&(o=o.substr(2),this.slashes=!0)),!Qf[l]&&(r||l&&!Yf[l])){let c,d,s=-1;for(let g=0;g<Wf.length;g++)u=o.indexOf(Wf[g]),-1!==u&&(-1===s||u<s)&&(s=u);d=-1===s?o.lastIndexOf("@"):o.lastIndexOf("@",s),-1!==d&&(c=o.slice(0,d),o=o.slice(d+1),this.auth=c),s=-1;for(let g=0;g<qf.length;g++)u=o.indexOf(qf[g]),-1!==u&&(-1===s||u<s)&&(s=u);-1===s&&(s=o.length),":"===o[s-1]&&s--;const h=o.slice(0,s);o=o.slice(s),this.parseHost(h),this.hostname=this.hostname||"";const v="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!v){const g=this.hostname.split(/\./);for(let _=0,S=g.length;_<S;_++){const y=g[_];if(y&&!y.match(Gf)){let f="";for(let w=0,x=y.length;w<x;w++)y.charCodeAt(w)>127?f+="x":f+=y[w];if(!f.match(Gf)){const w=g.slice(0,_),x=g.slice(_+1),k=y.match(j4);k&&(w.push(k[1]),x.unshift(k[2])),x.length&&(o=x.join(".")+o),this.hostname=w.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const i=o.indexOf("#");-1!==i&&(this.hash=o.substr(i),o=o.slice(0,i));const a=o.indexOf("?");return-1!==a&&(this.search=o.substr(a),o=o.slice(0,a)),o&&(this.pathname=o),Yf[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},to.prototype.parseHost=function(e){let t=T4.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 O4=Object.freeze(Object.defineProperty({__proto__:null,decode:wu,encode:xr,format:Zi,parse:qi},Symbol.toStringTag,{value:"Module"})),Xf=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Kf=/[\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]/,Jf=/[\$\+<->\^`\|~\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]/,e2=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,R4=Object.freeze(Object.defineProperty({__proto__:null,Any:Xf,Cc:Kf,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:Jf,Z:e2},Symbol.toStringTag,{value:"Module"})),I4=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୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢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;怳Ādp໩໮uct;戏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ǣጓ\0጖y;䐎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Ā;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀ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Ā;e᜚᜜lƀ;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\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩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ↄⅪ←ٖ↛ǰ↉\0↎proø₞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;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\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\0⹻m;櫳;櫽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)))),z4=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var Gi;const H4=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]]),$4=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 me;!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"}(me||(me={}));var yn,ge,xn;function Qi(e){return e>=me.ZERO&&e<=me.NINE}function V4(e){return e>=me.UPPER_A&&e<=me.UPPER_F||e>=me.LOWER_A&&e<=me.LOWER_F}function q4(e){return e===me.EQUALS||function(e){return e>=me.UPPER_A&&e<=me.UPPER_Z||e>=me.LOWER_A&&e<=me.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"}(yn||(yn={})),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"}(xn||(xn={}));class W4{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=xn.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)===me.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))===me.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 o=u-n;this.result=this.result*Math.pow(r,o)+parseInt(t.substr(n,o),r),this.consumed+=o}}stateNumericHex(t,n){const u=n;for(;n<t.length;){const r=t.charCodeAt(n);if(!Qi(r)&&!V4(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===me.SEMI)this.consumed+=1;else if(this.decodeMode===xn.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=H4.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(t!==me.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:u}=this;let r=u[this.treeIndex],o=(r&yn.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const l=t.charCodeAt(n);if(this.treeIndex=G4(u,r,this.treeIndex+Math.max(1,o),l),this.treeIndex<0)return 0===this.result||this.decodeMode===xn.Attribute&&(0===o||q4(l))?0:this.emitNotTerminatedNamedEntity();if(r=u[this.treeIndex],o=(r&yn.VALUE_LENGTH)>>14,0!==o){if(l===me.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==xn.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]&yn.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]&~yn.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===xn.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 t2(e){let t="";const n=new W4(e,(u=>t+=$4(u)));return function(r,o){let l=0,i=0;for(;(i=r.indexOf("&",i))>=0;){t+=r.slice(l,i),n.startEntity(o);const s=n.write(r,i+1);if(s<0){l=i+n.end();break}l=i+s,i=0===s?l+1:l}const a=t+r.slice(l);return t="",a}}function G4(e,t,n,u){const r=(t&yn.BRANCH_LENGTH)>>7,o=t&yn.JUMP_TABLE;if(0===r)return 0!==o&&u===o?n:-1;if(o){const a=u-o;return a<0||a>=r?-1:e[n+a]-1}let l=n,i=l+r-1;for(;l<=i;){const a=l+i>>>1,s=e[a];if(s<u)l=a+1;else{if(!(s>u))return e[a+r];i=a-1}}return-1}const Q4=t2(I4);function n2(e,t=xn.Legacy){return Q4(e,t)}function Yi(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}t2(z4);const X4=Object.prototype.hasOwnProperty;function no(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 u2(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Xi(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 uo(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const r2=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,em=new RegExp(r2.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),tm=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function vu(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(em,(function(t,n,u){return n||function(e,t){if(35===t.charCodeAt(0)&&tm.test(t)){const u="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Xi(u)?uo(u):e}const n=n2(e);return n!==e?n:e}(t,u)}))}const rm=/[&<>"]/,om=/[&<>"]/g,lm={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function im(e){return lm[e]}function bn(e){return rm.test(e)?e.replace(om,im):e}const am=/[.?*+^$[\]\\(){}|-]/g;function Q(e){switch(e){case 9:case 32:return!0}return!1}function br(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 _r(e){return Wi.test(e)||Jf.test(e)}function Er(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 ro(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const cm=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:u2,assign:no,escapeHtml:bn,escapeRE:function(e){return e.replace(am,"\\$&")},fromCodePoint:uo,has:function(e,t){return X4.call(e,t)},isMdAsciiPunct:Er,isPunctChar:_r,isSpace:Q,isString:Yi,isValidEntityCode:Xi,isWhiteSpace:br,lib:{mdurl:O4,ucmicro:R4},normalizeReference:ro,unescapeAll:vu,unescapeMd:function(e){return e.indexOf("\\")<0?e:e.replace(r2,"$1")}},Symbol.toStringTag,{value:"Module"}));const hm=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:function(e,t,n){let u,r=t;const o={ok:!1,pos:0,str:""};if(60===e.charCodeAt(r)){for(r++;r<n;){if(u=e.charCodeAt(r),10===u||60===u)return o;if(62===u)return o.pos=r+1,o.str=vu(e.slice(t+1,r)),o.ok=!0,o;92===u&&r+1<n?r+=2:r++}return o}let l=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&&(l++,l>32))return o;if(41===u){if(0===l)break;l--}r++}return t===r||0!==l||(o.str=vu(e.slice(t,r)),o.pos=r,o.ok=!0),o},parseLinkLabel:function(e,t,n){let u,r,o,l;const i=e.posMax,a=e.pos;for(e.pos=t+1,u=1;e.pos<i;){if(o=e.src.charCodeAt(e.pos),93===o&&(u--,0===u)){r=!0;break}if(l=e.pos,e.md.inline.skipToken(e),91===o)if(l===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,o=t;const l={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(u)l.str=u.str,l.marker=u.marker;else{if(o>=n)return l;let i=e.charCodeAt(o);if(34!==i&&39!==i&&40!==i)return l;t++,o++,40===i&&(i=41),l.marker=i}for(;o<n;){if(r=e.charCodeAt(o),r===l.marker)return l.pos=o+1,l.str+=vu(e.slice(t,o)),l.ok=!0,l;if(40===r&&41===l.marker)return l;92===r&&o+1<n&&o++,o++}return l.can_continue=!0,l.str+=vu(e.slice(t,o)),l}},Symbol.toStringTag,{value:"Module"})),Ft={};function yu(){this.rules=no({},Ft)}function $e(){this.__rules__=[],this.__cache__=null}function xt(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 o2(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}Ft.code_inline=function(e,t,n,u,r){const o=e[t];return"<code"+r.renderAttrs(o)+">"+bn(o.content)+"</code>"},Ft.code_block=function(e,t,n,u,r){const o=e[t];return"<pre"+r.renderAttrs(o)+"><code>"+bn(e[t].content)+"</code></pre>\n"},Ft.fence=function(e,t,n,u,r){const o=e[t],l=o.info?vu(o.info).trim():"";let s,i="",a="";if(l){const c=l.split(/(\s+)/g);i=c[0],a=c.slice(2).join("")}if(s=n.highlight&&n.highlight(o.content,i,a)||bn(o.content),0===s.indexOf("<pre"))return s+"\n";if(l){const c=o.attrIndex("class"),d=o.attrs?o.attrs.slice():[];c<0?d.push(["class",n.langPrefix+i]):(d[c]=d[c].slice(),d[c][1]+=" "+n.langPrefix+i);const h={attrs:d};return`<pre><code${r.renderAttrs(h)}>${s}</code></pre>\n`}return`<pre><code${r.renderAttrs(o)}>${s}</code></pre>\n`},Ft.image=function(e,t,n,u,r){const o=e[t];return o.attrs[o.attrIndex("alt")][1]=r.renderInlineAsText(o.children,n,u),r.renderToken(e,t,n)},Ft.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},Ft.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},Ft.text=function(e,t){return bn(e[t].content)},Ft.html_block=function(e,t){return e[t].content},Ft.html_inline=function(e,t){return e[t].content},yu.prototype.renderAttrs=function(t){let n,u,r;if(!t.attrs)return"";for(r="",n=0,u=t.attrs.length;n<u;n++)r+=" "+bn(t.attrs[n][0])+'="'+bn(t.attrs[n][1])+'"';return r},yu.prototype.renderToken=function(t,n,u){const r=t[n];let o="";if(r.hidden)return"";r.block&&-1!==r.nesting&&n&&t[n-1].hidden&&(o+="\n"),o+=(-1===r.nesting?"</":"<")+r.tag,o+=this.renderAttrs(r),0===r.nesting&&u.xhtmlOut&&(o+=" /");let l=!1;if(r.block&&(l=!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)&&(l=!1)}return o+=l?">\n":">",o},yu.prototype.renderInline=function(e,t,n){let u="";const r=this.rules;for(let o=0,l=e.length;o<l;o++){const i=e[o].type;typeof r[i]<"u"?u+=r[i](e,o,t,n,this):u+=this.renderToken(e,o,t)}return u},yu.prototype.renderInlineAsText=function(e,t,n){let u="";for(let r=0,o=e.length;r<o;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},yu.prototype.render=function(e,t,n){let u="";const r=this.rules;for(let o=0,l=e.length;o<l;o++){const i=e[o].type;"inline"===i?u+=this.renderInline(e[o].children,t,n):typeof r[i]<"u"?u+=r[i](e,o,t,n,this):u+=this.renderToken(e,o,t,n)}return u},$e.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},$e.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))}))}))},$e.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},$e.prototype.before=function(e,t,n,u){const r=this.__find__(e),o=u||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},$e.prototype.after=function(e,t,n,u){const r=this.__find__(e),o=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:o.alt||[]}),this.__cache__=null},$e.prototype.push=function(e,t,n){const u=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:u.alt||[]}),this.__cache__=null},$e.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},$e.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(n){n.enabled=!1})),this.enable(e,t)},$e.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},$e.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},xt.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},xt.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},xt.prototype.attrSet=function(t,n){const u=this.attrIndex(t),r=[t,n];u<0?this.attrPush(r):this.attrs[u]=r},xt.prototype.attrGet=function(t){const n=this.attrIndex(t);let u=null;return n>=0&&(u=this.attrs[n][1]),u},xt.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},o2.prototype.Token=xt;const mm=/\r\n?|\n/g,gm=/\0/g;function xm(e){return/^<a[>\s]/i.test(e)}function bm(e){return/^<\/a\s*>/i.test(e)}const l2=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Em=/\((c|tm|r)\)/i,km=/\((c|tm|r)\)/gi,Cm={c:"©",r:"®",tm:"™"};function Sm(e,t){return Cm[t.toLowerCase()]}function Am(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(km,Sm)),"link_open"===u.type&&"auto"===u.info&&t--,"link_close"===u.type&&"auto"===u.info&&t++}}function Tm(e){let t=0;for(let n=e.length-1;n>=0;n--){const u=e[n];"text"===u.type&&!t&&l2.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 Fm=/['"]/,i2=/['"]/g,a2="’";function oo(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function Nm(e,t){let n;const u=[];for(let r=0;r<e.length;r++){const o=e[r],l=e[r].level;for(n=u.length-1;n>=0&&!(u[n].level<=l);n--);if(u.length=n+1,"text"!==o.type)continue;let i=o.content,a=0,s=i.length;e:for(;a<s;){i2.lastIndex=a;const c=i2.exec(i);if(!c)break;let d=!0,h=!0;a=c.index+1;const v="'"===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 _=32;if(a<s)_=i.charCodeAt(a);else for(n=r+1;n<e.length&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n++)if(e[n].content){_=e[n].content.charCodeAt(0);break}const S=Er(g)||_r(String.fromCharCode(g)),y=Er(_)||_r(String.fromCharCode(_)),f=br(g),w=br(_);if(w?d=!1:y&&(f||S||(d=!1)),f?h=!1:S&&(w||y||(h=!1)),34===_&&'"'===c[0]&&g>=48&&g<=57&&(h=d=!1),d&&h&&(d=S,h=y),d||h){if(h)for(n=u.length-1;n>=0;n--){let x=u[n];if(u[n].level<l)break;if(x.single===v&&u[n].level===l){let k,C;x=u[n],v?(k=t.md.options.quotes[2],C=t.md.options.quotes[3]):(k=t.md.options.quotes[0],C=t.md.options.quotes[1]),o.content=oo(o.content,c.index,C),e[x.token].content=oo(e[x.token].content,x.pos,k),a+=C.length-1,x.token===r&&(a+=k.length-1),i=o.content,s=i.length,u.length=n;continue e}}d?u.push({token:r,pos:c.index,single:v,level:l}):h&&v&&(o.content=oo(o.content,c.index,a2))}else v&&(o.content=oo(o.content,c.index,a2))}}}const Ki=[["normalize",function(e){let t;t=e.src.replace(mm,"\n"),t=t.replace(gm,"�"),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,o=0;for(let l=r.length-1;l>=0;l--){const i=r[l];if("link_close"!==i.type){if("html_inline"===i.type&&(xm(i.content)&&o>0&&o--,bm(i.content)&&o++),!(o>0)&&"text"===i.type&&e.md.linkify.test(i.content)){const a=i.content;let s=e.md.linkify.match(a);const c=[];let d=i.level,h=0;s.length>0&&0===s[0].index&&l>0&&"text_special"===r[l-1].type&&(s=s.slice(1));for(let v=0;v<s.length;v++){const g=s[v].url,_=e.md.normalizeLink(g);if(!e.md.validateLink(_))continue;let S=s[v].text;S=s[v].schema?"mailto:"!==s[v].schema||/^mailto:/i.test(S)?e.md.normalizeLinkText(S):e.md.normalizeLinkText("mailto:"+S).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+S).replace(/^http:\/\//,"");const y=s[v].index;if(y>h){const k=new e.Token("text","",0);k.content=a.slice(h,y),k.level=d,c.push(k)}const f=new e.Token("link_open","a",1);f.attrs=[["href",_]],f.level=d++,f.markup="linkify",f.info="auto",c.push(f);const w=new e.Token("text","",0);w.content=S,w.level=d,c.push(w);const x=new e.Token("link_close","a",-1);x.level=--d,x.markup="linkify",x.info="auto",c.push(x),h=s[v].lastIndex}if(h<a.length){const v=new e.Token("text","",0);v.content=a.slice(h),v.level=d,c.push(v)}t[n].children=r=u2(r,l,c)}}else for(l--;r[l].level!==i.level&&"link_open"!==r[l].type;)l--}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(Em.test(e.tokens[t].content)&&Am(e.tokens[t].children),l2.test(e.tokens[t].content)&&Tm(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||!Fm.test(e.tokens[t].content)||Nm(e.tokens[t].children,e)}],["text_join",function(e){let t,n;const u=e.tokens,r=u.length;for(let o=0;o<r;o++){if("inline"!==u[o].type)continue;const l=u[o].children,i=l.length;for(t=0;t<i;t++)"text_special"===l[t].type&&(l[t].type="text");for(t=n=0;t<i;t++)"text"===l[t].type&&t+1<i&&"text"===l[t+1].type?l[t+1].content=l[t].content+l[t+1].content:(t!==n&&(l[n]=l[t]),n++);t!==n&&(l.length=n)}}]];function Ji(){this.ruler=new $e;for(let e=0;e<Ki.length;e++)this.ruler.push(Ki[e][0],Ki[e][1])}function Nt(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 o=0,l=0,i=0,a=0,s=r.length,c=!1;l<s;l++){const d=r.charCodeAt(l);if(!c){if(Q(d)){i++,9===d?a+=4-a%4:a++;continue}c=!0}(10===d||l===s-1)&&(10!==d&&l++,this.bMarks.push(o),this.eMarks.push(l),this.tShift.push(i),this.sCount.push(a),this.bsCount.push(0),c=!1,i=0,a=0,o=l+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=o2,Nt.prototype.push=function(e,t,n){const u=new xt(e,t,n);return u.block=!0,n<0&&this.level--,u.level=this.level,n>0&&this.level++,this.tokens.push(u),u},Nt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},Nt.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t},Nt.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){if(!Q(this.src.charCodeAt(t)))break}return t},Nt.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!Q(this.src.charCodeAt(--t)))return t+1;return t},Nt.prototype.skipChars=function(t,n){for(let u=this.src.length;t<u&&this.src.charCodeAt(t)===n;t++);return t},Nt.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},Nt.prototype.getLines=function(t,n,u,r){if(t>=n)return"";const o=new Array(n-t);for(let l=0,i=t;i<n;i++,l++){let a=0;const s=this.bMarks[i];let d,c=s;for(d=i+1<n||r?this.eMarks[i]+1:this.eMarks[i];c<d&&a<u;){const h=this.src.charCodeAt(c);if(Q(h))9===h?a+=4-(a+this.bsCount[i])%4:a++;else{if(!(c-s<this.tShift[i]))break;a++}c++}o[l]=a>u?new Array(a-u+1).join(" ")+this.src.slice(c,d):this.src.slice(c,d)}return o.join("")},Nt.prototype.Token=xt;function ea(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];return e.src.slice(n,u)}function s2(e){const t=[],n=e.length;let u=0,r=e.charCodeAt(u),o=!1,l=0,i="";for(;u<n;)124===r&&(o?(i+=e.substring(l,u-1),l=u):(t.push(i+e.substring(l,u)),i="",l=u+1)),o=92===r,u++,r=e.charCodeAt(u);return t.push(i+e.substring(l)),t}function c2(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 f2(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];let r=n;if(r+1>=u)return-1;let o=e.src.charCodeAt(r++);if(o<48||o>57)return-1;for(;;){if(r>=u)return-1;if(o=e.src.charCodeAt(r++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(r-n>=10)return-1}return r<u&&(o=e.src.charCodeAt(r),!Q(o))?-1:r}const d2="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",p2="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Ym=new RegExp("^(?:"+d2+"|"+p2+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),Xm=new RegExp("^(?:"+d2+"|"+p2+")"),xu=[[/^<(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(Xm.source+"\\s*$"),/^$/,!1]];const lo=[["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 o=e.bMarks[r]+e.tShift[r];if(o>=e.eMarks[r])return!1;const l=e.src.charCodeAt(o++);if(124!==l&&45!==l&&58!==l||o>=e.eMarks[r])return!1;const i=e.src.charCodeAt(o++);if(124!==i&&45!==i&&58!==i&&!Q(i)||45===l&&Q(i))return!1;for(;o<e.eMarks[r];){const x=e.src.charCodeAt(o);if(124!==x&&45!==x&&58!==x&&!Q(x))return!1;o++}let a=ea(e,t+1),s=a.split("|");const c=[];for(let x=0;x<s.length;x++){const k=s[x].trim();if(!k){if(0===x||x===s.length-1)continue;return!1}if(!/^:?-+:?$/.test(k))return!1;58===k.charCodeAt(k.length-1)?c.push(58===k.charCodeAt(0)?"center":"right"):58===k.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=s2(a),s.length&&""===s[0]&&s.shift(),s.length&&""===s[s.length-1]&&s.pop();const d=s.length;if(0===d||d!==c.length)return!1;if(u)return!0;const h=e.parentType;e.parentType="table";const v=e.md.block.ruler.getRules("blockquote"),_=[t,0];e.push("table_open","table",1).map=_,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 k=e.push("th_open","th",1);c[x]&&(k.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 f,w=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let x=!1;for(let C=0,A=v.length;C<A;C++)if(v[C](e,r,n,!0)){x=!0;break}if(x||(a=ea(e,r).trim(),!a)||e.sCount[r]-e.blkIndent>=4||(s=s2(a),s.length&&""===s[0]&&s.shift(),s.length&&""===s[s.length-1]&&s.pop(),w+=d-s.length,w>65536))break;if(r===t+2){e.push("tbody_open","tbody",1).map=f=[t+2,0]}e.push("tr_open","tr",1).map=[r,r+1];for(let C=0;C<d;C++){const A=e.push("td_open","td",1);c[C]&&(A.attrs=[["style","text-align:"+c[C]]]);const F=e.push("inline","",0);F.content=s[C]?s[C].trim():"",F.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return f&&(e.push("tbody_close","tbody",-1),f[1]=r),e.push("table_close","table",-1),_[1]=r,e.parentType=h,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 o=e.push("code_block","code",0);return o.content=e.getLines(t,r,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}],["fence",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>o)return!1;const l=e.src.charCodeAt(r);if(126!==l&&96!==l)return!1;let i=r;r=e.skipChars(r,l);let a=r-i;if(a<3)return!1;const s=e.src.slice(i,r),c=e.src.slice(r,o);if(96===l&&c.indexOf(String.fromCharCode(l))>=0)return!1;if(u)return!0;let d=t,h=!1;for(;d++,!(d>=n||(r=i=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],r<o&&e.sCount[d]<e.blkIndent));)if(!(e.src.charCodeAt(r)!==l||e.sCount[d]-e.blkIndent>=4||(r=e.skipChars(r,l),r-i<a||(r=e.skipSpaces(r),r<o)))){h=!0;break}a=e.sCount[t],e.line=d+(h?1:0);const v=e.push("fence","code",0);return v.info=c,v.content=e.getLines(t+1,d,a,!0),v.markup=s,v.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];const l=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=[],d=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let g,v=!1;for(g=t;g<n;g++){const w=e.sCount[g]<e.blkIndent;if(r=e.bMarks[g]+e.tShift[g],o=e.eMarks[g],r>=o)break;if(62===e.src.charCodeAt(r++)&&!w){let C,A,k=e.sCount[g]+1;32===e.src.charCodeAt(r)?(r++,k++,A=!1,C=!0):9===e.src.charCodeAt(r)?(C=!0,(e.bsCount[g]+k)%4==3?(r++,k++,A=!1):A=!0):C=!1;let F=k;for(i.push(e.bMarks[g]),e.bMarks[g]=r;r<o;){const $=e.src.charCodeAt(r);if(!Q($))break;9===$?F+=4-(F+e.bsCount[g]+(A?1:0))%4:F++,r++}v=r>=o,a.push(e.bsCount[g]),e.bsCount[g]=e.sCount[g]+1+(C?1:0),s.push(e.sCount[g]),e.sCount[g]=F-k,c.push(e.tShift[g]),e.tShift[g]=r-e.bMarks[g];continue}if(v)break;let x=!1;for(let k=0,C=d.length;k<C;k++)if(d[k](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 _=e.blkIndent;e.blkIndent=0;const S=e.push("blockquote_open","blockquote",1);S.markup=">";const y=[t,0];S.map=y,e.md.block.tokenize(e,t,g),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=l,e.parentType=h,y[1]=e.line;for(let w=0;w<c.length;w++)e.bMarks[w+t]=i[w],e.tShift[w+t]=c[w],e.sCount[w+t]=s[w],e.bsCount[w+t]=a[w];return e.blkIndent=_,!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 o=e.bMarks[t]+e.tShift[t];const l=e.src.charCodeAt(o++);if(42!==l&&45!==l&&95!==l)return!1;let i=1;for(;o<r;){const s=e.src.charCodeAt(o++);if(s!==l&&!Q(s))return!1;s===l&&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(l)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,n,u){let r,o,l,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 d,h,v,c=!1;if(u&&"paragraph"===e.parentType&&e.sCount[a]>=e.blkIndent&&(c=!0),(v=f2(e,a))>=0){if(d=!0,l=e.bMarks[a]+e.tShift[a],h=Number(e.src.slice(l,v-1)),c&&1!==h)return!1}else{if(!((v=c2(e,a))>=0))return!1;d=!1}if(c&&e.skipSpaces(v)>=e.eMarks[a])return!1;if(u)return!0;const g=e.src.charCodeAt(v-1),_=e.tokens.length;d?(i=e.push("ordered_list_open","ol",1),1!==h&&(i.attrs=[["start",h]])):i=e.push("bullet_list_open","ul",1);const S=[a,0];i.map=S,i.markup=String.fromCharCode(g);let y=!1;const f=e.md.block.ruler.getRules("list"),w=e.parentType;for(e.parentType="list";a<n;){o=v,r=e.eMarks[a];const x=e.sCount[a]+v-(e.bMarks[a]+e.tShift[a]);let k=x;for(;o<r;){const ft=e.src.charCodeAt(o);if(9===ft)k+=4-(k+e.bsCount[a])%4;else{if(32!==ft)break;k++}o++}const C=o;let A;A=C>=r?1:k-x,A>4&&(A=1);const F=x+A;i=e.push("list_item_open","li",1),i.markup=String.fromCharCode(g);const $=[a,0];i.map=$,d&&(i.info=e.src.slice(l,v-1));const P=e.tight,O=e.tShift[a],de=e.sCount[a],Je=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=F,e.tight=!0,e.tShift[a]=C-e.bMarks[a],e.sCount[a]=k,C>=r&&e.isEmpty(a+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,a,n,!0),(!e.tight||y)&&(s=!1),y=e.line-a>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=Je,e.tShift[a]=O,e.sCount[a]=de,e.tight=P,i=e.push("list_item_close","li",-1),i.markup=String.fromCharCode(g),a=e.line,$[1]=a,a>=n||e.sCount[a]<e.blkIndent||e.sCount[a]-e.blkIndent>=4)break;let ct=!1;for(let ft=0,Et=f.length;ft<Et;ft++)if(f[ft](e,a,n,!0)){ct=!0;break}if(ct)break;if(d){if(v=f2(e,a),v<0)break;l=e.bMarks[a]+e.tShift[a]}else if(v=c2(e,a),v<0)break;if(g!==e.src.charCodeAt(v-1))break}return i=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),i.markup=String.fromCharCode(g),S[1]=a,e.line=a,e.parentType=w,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,_),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],l=t+1;if(e.sCount[t]-e.blkIndent>=4||91!==e.src.charCodeAt(r))return!1;function i(f){const w=e.lineMax;if(f>=w||e.isEmpty(f))return null;let x=!1;if(e.sCount[f]-e.blkIndent>3&&(x=!0),e.sCount[f]<0&&(x=!0),!x){const A=e.md.block.ruler.getRules("reference"),F=e.parentType;e.parentType="reference";let $=!1;for(let P=0,O=A.length;P<O;P++)if(A[P](e,f,w,!0)){$=!0;break}if(e.parentType=F,$)return null}const k=e.bMarks[f]+e.tShift[f],C=e.eMarks[f];return e.src.slice(k,C+1)}let a=e.src.slice(r,o+1);o=a.length;let s=-1;for(r=1;r<o;r++){const f=a.charCodeAt(r);if(91===f)return!1;if(93===f){s=r;break}if(10===f){const w=i(l);null!==w&&(a+=w,o=a.length,l++)}else if(92===f&&(r++,r<o&&10===a.charCodeAt(r))){const w=i(l);null!==w&&(a+=w,o=a.length,l++)}}if(s<0||58!==a.charCodeAt(s+1))return!1;for(r=s+2;r<o;r++){const f=a.charCodeAt(r);if(10===f){const w=i(l);null!==w&&(a+=w,o=a.length,l++)}else if(!Q(f))break}const c=e.md.helpers.parseLinkDestination(a,r,o);if(!c.ok)return!1;const d=e.md.normalizeLink(c.str);if(!e.md.validateLink(d))return!1;r=c.pos;const h=r,v=l,g=r;for(;r<o;r++){const f=a.charCodeAt(r);if(10===f){const w=i(l);null!==w&&(a+=w,o=a.length,l++)}else if(!Q(f))break}let S,_=e.md.helpers.parseLinkTitle(a,r,o);for(;_.can_continue;){const f=i(l);if(null===f)break;a+=f,r=o,o=a.length,l++,_=e.md.helpers.parseLinkTitle(a,r,o,_)}for(r<o&&g!==r&&_.ok?(S=_.str,r=_.pos):(S="",r=h,l=v);r<o;){if(!Q(a.charCodeAt(r)))break;r++}if(r<o&&10!==a.charCodeAt(r)&&S)for(S="",r=h,l=v;r<o;){if(!Q(a.charCodeAt(r)))break;r++}if(r<o&&10!==a.charCodeAt(r))return!1;const y=ro(a.slice(1,s));return!!y&&(u||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[y]>"u"&&(e.env.references[y]={title:S,href:d}),e.line=l),!0)}],["html_block",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||60!==e.src.charCodeAt(r))return!1;let l=e.src.slice(r,o),i=0;for(;i<xu.length&&!xu[i][0].test(l);i++);if(i===xu.length)return!1;if(u)return xu[i][2];let a=t+1;if(!xu[i][1].test(l))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(r=e.bMarks[a]+e.tShift[a],o=e.eMarks[a],l=e.src.slice(r,o),xu[i][1].test(l)){0!==l.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],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let l=e.src.charCodeAt(r);if(35!==l||r>=o)return!1;let i=1;for(l=e.src.charCodeAt(++r);35===l&&r<o&&i<=6;)i++,l=e.src.charCodeAt(++r);if(i>6||r<o&&!Q(l))return!1;if(u)return!0;o=e.skipSpacesBack(o,r);const a=e.skipCharsBack(o,35,r);a>r&&Q(e.src.charCodeAt(a-1))&&(o=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,o).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 l,o=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 v=e.bMarks[i]+e.tShift[i];const g=e.eMarks[i];if(v<g&&(l=e.src.charCodeAt(v),(45===l||61===l)&&(v=e.skipChars(v,l),v=e.skipSpaces(v),v>=g))){o=61===l?1:2;break}}if(e.sCount[i]<0)continue;let h=!1;for(let v=0,g=u.length;v<g;v++)if(u[v](e,i,n,!0)){h=!0;break}if(h)break}if(!o)return!1;const a=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i+1;const s=e.push("heading_open","h"+String(o),1);s.markup=String.fromCharCode(l),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(o),-1).markup=String.fromCharCode(l),e.parentType=r,!0}],["paragraph",function(e,t,n){const u=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let o=t+1;for(e.parentType="paragraph";o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3||e.sCount[o]<0)continue;let s=!1;for(let c=0,d=u.length;c<d;c++)if(u[c](e,o,n,!0)){s=!0;break}if(s)break}const l=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o,e.push("paragraph_open","p",1).map=[t,e.line];const a=e.push("inline","",0);return a.content=l,a.map=[t,e.line],a.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}]];function io(){this.ruler=new $e;for(let e=0;e<lo.length;e++)this.ruler.push(lo[e][0],lo[e][1],{alt:(lo[e][2]||[]).slice()})}function kr(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 n8(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}}io.prototype.tokenize=function(e,t,n){const u=this.ruler.getRules(""),r=u.length,o=e.md.options.maxNesting;let l=t,i=!1;for(;l<n&&(e.line=l=e.skipEmptyLines(l),!(l>=n||e.sCount[l]<e.blkIndent));){if(e.level>=o){e.line=n;break}const a=e.line;let s=!1;for(let c=0;c<r;c++)if(s=u[c](e,l,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),l=e.line,l<n&&e.isEmpty(l)&&(i=!0,l++,e.line=l)}},io.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)},io.prototype.State=Nt,kr.prototype.pushPending=function(){const e=new xt("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},kr.prototype.push=function(e,t,n){this.pending&&this.pushPending();const u=new xt(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},kr.prototype.scanDelims=function(e,t){const n=this.posMax,u=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let o=e;for(;o<n&&this.src.charCodeAt(o)===u;)o++;const l=o-e,i=o<n?this.src.charCodeAt(o):32,a=Er(r)||_r(String.fromCharCode(r)),s=Er(i)||_r(String.fromCharCode(i)),c=br(r),d=br(i),h=!d&&(!s||c||a),v=!c&&(!a||d||s);return{can_open:h&&(t||!v||a),can_close:v&&(t||!h||s),length:l}},kr.prototype.Token=xt;const r8=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;const ta=[];for(let e=0;e<256;e++)ta.push(0);function h2(e,t){let n;const u=[],r=t.length;for(let o=0;o<r;o++){const l=t[o];if(126!==l.marker||-1===l.end)continue;const i=t[l.end];n=e.tokens[l.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 o=u.pop();let l=o+1;for(;l<e.tokens.length&&"s_close"===e.tokens[l].type;)l++;l--,o!==l&&(n=e.tokens[l],e.tokens[l]=e.tokens[o],e.tokens[o]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){ta[e.charCodeAt(0)]=1}));const m2={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 o=r.length;const l=String.fromCharCode(u);if(o<2)return!1;let i;o%2&&(i=e.push("text","",0),i.content=l,o--);for(let a=0;a<o;a+=2)i=e.push("text","",0),i.content=l+l,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;h2(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&h2(e,t[u].delimiters)}};function g2(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 o=t[r.end],l=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===o.token+1,i=String.fromCharCode(r.marker),a=e.tokens[r.token];a.type=l?"strong_open":"em_open",a.tag=l?"strong":"em",a.nesting=1,a.markup=l?i+i:i,a.content="";const s=e.tokens[o.token];s.type=l?"strong_close":"em_close",s.tag=l?"strong":"em",s.nesting=-1,s.markup=l?i+i:i,s.content="",l&&(e.tokens[t[u-1].token].content="",e.tokens[t[r.end+1].token].content="",u--)}}const w2={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 o=0;o<r.length;o++){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;g2(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&g2(e,t[u].delimiters)}};const m8=/^([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])?)*)$/,g8=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;const _8=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,E8=/^&([a-z][a-z0-9]{1,31});/i;function v2(e){const t={},n=e.length;if(!n)return;let u=0,r=-2;const o=[];for(let l=0;l<n;l++){const i=e[l];if(o.push(0),(e[u].marker!==i.marker||r!==i.token-1)&&(u=l),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-o[u]-1,c=s;for(;s>a;s-=o[s]+1){const d=e[s];if(d.marker===i.marker&&d.open&&d.end<0){let h=!1;if((d.close||i.open)&&(d.length+i.length)%3==0&&(d.length%3!=0||i.length%3!=0)&&(h=!0),!h){const v=s>0&&!e[s-1].open?o[s-1]+1:0;o[l]=l-s+v,o[s]=v,i.open=!1,d.end=l,d.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&&!n8(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(r8);if(!r)return!1;const o=r[1],l=e.md.linkify.matchAtStart(e.src.slice(n-o.length));if(!l)return!1;let i=l.url;if(i.length<=o.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,-o.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 d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=i.length-o.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 o=u-1;for(;o>=1&&32===e.pending.charCodeAt(o-1);)o--;e.pending=e.pending.slice(0,o),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 o=e.src[n];if(r>=55296&&r<=56319&&n+1<u){const i=e.src.charCodeAt(n+1);i>=56320&&i<=57343&&(o+=e.src[n+1],n++)}const l="\\"+o;if(!t){const i=e.push("text_special","",0);r<256&&0!==ta[r]?i.content=o:i.content=l,i.markup=l,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 o=e.posMax;for(;n<o&&96===e.src.charCodeAt(n);)n++;const l=e.src.slice(r,n),i=l.length;if(e.backticksScanned&&(e.backticks[i]||0)<=r)return t||(e.pending+=l),e.pos+=i,!0;let s,a=n;for(;-1!==(s=e.src.indexOf("`",a));){for(a=s+1;a<o&&96===e.src.charCodeAt(a);)a++;const c=a-s;if(c===i){if(!t){const d=e.push("code_inline","code",0);d.markup=l,d.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+=l),e.pos+=i,!0}],["strikethrough",m2.tokenize],["emphasis",w2.tokenize],["link",function(e,t){let n,u,r,o,l="",i="",a=e.pos,s=!0;if(91!==e.src.charCodeAt(e.pos))return!1;const c=e.pos,d=e.posMax,h=e.pos+1,v=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(v<0)return!1;let g=v+1;if(g<d&&40===e.src.charCodeAt(g)){for(s=!1,g++;g<d&&(n=e.src.charCodeAt(g),Q(n)||10===n);g++);if(g>=d)return!1;if(a=g,r=e.md.helpers.parseLinkDestination(e.src,g,e.posMax),r.ok){for(l=e.md.normalizeLink(r.str),e.md.validateLink(l)?g=r.pos:l="",a=g;g<d&&(n=e.src.charCodeAt(g),Q(n)||10===n);g++);if(r=e.md.helpers.parseLinkTitle(e.src,g,e.posMax),g<d&&a!==g&&r.ok)for(i=r.str,g=r.pos;g<d&&(n=e.src.charCodeAt(g),Q(n)||10===n);g++);}(g>=d||41!==e.src.charCodeAt(g))&&(s=!0),g++}if(s){if(typeof e.env.references>"u")return!1;if(g<d&&91===e.src.charCodeAt(g)?(a=g+1,g=e.md.helpers.parseLinkLabel(e,g),g>=0?u=e.src.slice(a,g++):g=v+1):g=v+1,u||(u=e.src.slice(h,v)),o=e.env.references[ro(u)],!o)return e.pos=c,!1;l=o.href,i=o.title}if(!t){e.pos=h,e.posMax=v;const S=[["href",l]];e.push("link_open","a",1).attrs=S,i&&S.push(["title",i]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=g,e.posMax=d,!0}],["image",function(e,t){let n,u,r,o,l,i,a,s,c="";const d=e.pos,h=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;const v=e.pos+2,g=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(g<0)return!1;if(o=g+1,o<h&&40===e.src.charCodeAt(o)){for(o++;o<h&&(n=e.src.charCodeAt(o),Q(n)||10===n);o++);if(o>=h)return!1;for(s=o,i=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),i.ok&&(c=e.md.normalizeLink(i.str),e.md.validateLink(c)?o=i.pos:c=""),s=o;o<h&&(n=e.src.charCodeAt(o),Q(n)||10===n);o++);if(i=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<h&&s!==o&&i.ok)for(a=i.str,o=i.pos;o<h&&(n=e.src.charCodeAt(o),Q(n)||10===n);o++);else a="";if(o>=h||41!==e.src.charCodeAt(o))return e.pos=d,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o<h&&91===e.src.charCodeAt(o)?(s=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?r=e.src.slice(s,o++):o=g+1):o=g+1,r||(r=e.src.slice(v,g)),l=e.env.references[ro(r)],!l)return e.pos=d,!1;c=l.href,a=l.title}if(!t){u=e.src.slice(v,g);const _=[];e.md.inline.parse(u,e.md,e.env,_);const S=e.push("image","img",0),y=[["src",c],["alt",""]];S.attrs=y,S.children=_,S.content=u,a&&y.push(["title",a])}return e.pos=o,e.posMax=h,!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 l=e.src.charCodeAt(n);if(60===l)return!1;if(62===l)break}const o=e.src.slice(u+1,n);if(g8.test(o)){const l=e.md.normalizeLink(o);if(!e.md.validateLink(l))return!1;if(!t){const i=e.push("link_open","a",1);i.attrs=[["href",l]],i.markup="autolink",i.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(o);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=o.length+2,!0}if(m8.test(o)){const l=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(l))return!1;if(!t){const i=e.push("link_open","a",1);i.attrs=[["href",l]],i.markup="autolink",i.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(o);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=o.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 o=e.src.slice(u).match(Ym);if(!o)return!1;if(!t){const l=e.push("html_inline","",0);l.content=o[0],function(e){return/^<a[>\s]/i.test(e)}(l.content)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(l.content)&&e.linkLevel--}return e.pos+=o[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 o=e.src.slice(n).match(_8);if(o){if(!t){const l="x"===o[1][0].toLowerCase()?parseInt(o[1].slice(1),16):parseInt(o[1],10),i=e.push("text_special","",0);i.content=Xi(l)?uo(l):uo(65533),i.markup=o[0],i.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(n).match(E8);if(o){const l=n2(o[0]);if(l!==o[0]){if(!t){const i=e.push("text_special","",0);i.content=l,i.markup=o[0],i.info="entity"}return e.pos+=o[0].length,!0}}}return!1}]],ua=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;v2(e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&v2(t[u].delimiters)}],["strikethrough",m2.postProcess],["emphasis",w2.postProcess],["fragments_join",function(e){let t,n,u=0;const r=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)r[t].nesting<0&&u--,r[t].level=u,r[t].nesting>0&&u++,"text"===r[t].type&&t+1<o&&"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 Cr(){this.ruler=new $e;for(let e=0;e<na.length;e++)this.ruler.push(na[e][0],na[e][1]);this.ruler2=new $e;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 ao(e){return Object.prototype.toString.call(e)}function y2(e){return"[object Function]"===ao(e)}function N8(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}Cr.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),u=n.length,r=e.md.options.maxNesting,o=e.cache;if(typeof o[t]<"u")return void(e.pos=o[t]);let l=!1;if(e.level<r){for(let i=0;i<u;i++)if(e.level++,l=n[i](e,!0),e.level--,l){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;l||e.pos++,o[t]=e.pos},Cr.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 o=e.pos;let l=!1;if(e.level<r)for(let i=0;i<n;i++)if(l=t[i](e,!1),l){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(l){if(e.pos>=u)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Cr.prototype.parse=function(e,t,n,u){const r=new this.State(e,t,n,u);this.tokenize(r);const o=this.ruler2.getRules(""),l=o.length;for(let i=0;i<l;i++)o[i](r)},Cr.prototype.State=kr;const x2={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};const L8={"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}}},j8="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]",O8="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function so(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=Xf.source,t.src_Cc=Kf.source,t.src_Z=e2.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(j8),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 o(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]"===ao(e)}(a))return!function(e){return"[object RegExp]"===ao(e)}(a.validate)?y2(a.validate)?s.validate=a.validate:o(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(y2(a.normalize)?s.normalize=a.normalize:a.normalize?o(i,a):s.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===ao(e)}(a)?o(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 l=Object.keys(e.__compiled__).filter((function(i){return i.length>0&&e.__compiled__[i]})).map(N8).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+l+")","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 I8(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 oa(e,t){const n=new I8(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Xe(e,t){if(!(this instanceof Xe))return new Xe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(t,n){return t||x2.hasOwnProperty(n)}),!1)}(e)&&(t=e,e={}),this.__opts__=ra({},x2,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ra({},L8,e),this.__compiled__={},this.__tlds__=O8,this.__tlds_replaced__=!1,this.re={},so(this)}Xe.prototype.add=function(t,n){return this.__schemas__[t]=n,so(this),this},Xe.prototype.set=function(t){return this.__opts__=ra(this.__opts__,t),this},Xe.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,u,r,o,l,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(o=this.testSchemaAt(t,n[2],a.lastIndex),o){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o;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))&&(l=u.index+u[1].length,(this.__index__<0||l<this.__index__)&&(this.__schema__="",this.__index__=l,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))&&(l=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||l<this.__index__||l===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=l,this.__last_index__=i))),this.__index__>=0},Xe.prototype.pretest=function(t){return this.re.pretest.test(t)},Xe.prototype.testSchemaAt=function(t,n,u){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,u,this):0},Xe.prototype.match=function(t){const n=[];let u=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(oa(this,u)),u=this.__last_index__);let r=u?t.slice(u):t;for(;this.test(r);)n.push(oa(this,u)),r=r.slice(this.__last_index__),u+=this.__last_index__;return n.length?n:null},Xe.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,oa(this,0)):null},Xe.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(u,r,o){return u!==o[r-1]})).reverse(),so(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,so(this),this)},Xe.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"===t.schema&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)},Xe.prototype.onCompile=function(){};const bu=2147483647,$8=/^xn--/,B8=/[^\0-\x7F]/,U8=/[\x2E\u3002\uFF0E\uFF61]/g,V8={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Lt=Math.floor,aa=String.fromCharCode;function _n(e){throw new RangeError(V8[e])}function C2(e,t){const n=e.split("@");let u="";n.length>1&&(u=n[0]+"@",e=n[1]);const o=function(e,t){const n=[];let u=e.length;for(;u--;)n[u]=t(e[u]);return n}((e=e.replace(U8,".")).split("."),t).join(".");return u+o}function S2(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 o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&r)<<10)+(1023&o)+65536):(t.push(r),n--)}else t.push(r)}return t}const W8=function(e){return e>=48&&e<58?e-48+26:e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},A2=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},T2=function(e,t,n){let u=0;for(e=n?Lt(e/700):e>>1,e+=Lt(e/t);e>455;u+=36)e=Lt(e/35);return Lt(u+36*e/(e+38))},D2=function(e){const t=[],n=e.length;let u=0,r=128,o=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let i=0;i<l;++i)e.charCodeAt(i)>=128&&_n("not-basic"),t.push(e.charCodeAt(i));for(let i=l>0?l+1:0;i<n;){const a=u;for(let c=1,d=36;;d+=36){i>=n&&_n("invalid-input");const h=W8(e.charCodeAt(i++));h>=36&&_n("invalid-input"),h>Lt((bu-u)/c)&&_n("overflow"),u+=h*c;const v=d<=o?1:d>=o+26?26:d-o;if(h<v)break;const g=36-v;c>Lt(bu/g)&&_n("overflow"),c*=g}const s=t.length+1;o=T2(u-a,s,0==a),Lt(u/s)>bu-r&&_n("overflow"),r+=Lt(u/s),u%=s,t.splice(u++,0,r)}return String.fromCodePoint(...t)},F2=function(e){const t=[],n=(e=S2(e)).length;let u=128,r=0,o=72;for(const a of e)a<128&&t.push(aa(a));const l=t.length;let i=l;for(l&&t.push("-");i<n;){let a=bu;for(const c of e)c>=u&&c<a&&(a=c);const s=i+1;a-u>Lt((bu-r)/s)&&_n("overflow"),r+=(a-u)*s,u=a;for(const c of e)if(c<u&&++r>bu&&_n("overflow"),c===u){let d=r;for(let h=36;;h+=36){const v=h<=o?1:h>=o+26?26:h-o;if(d<v)break;const g=d-v,_=36-v;t.push(aa(A2(v+g%_,0))),d=Lt(g/_)}t.push(aa(A2(d,0))),o=T2(r,s,i===l),r=0,++i}++r,++u}return t.join("")},N2={version:"2.3.1",ucs2:{decode:S2,encode:e=>String.fromCodePoint(...e)},decode:D2,encode:F2,toASCII:function(e){return C2(e,(function(t){return B8.test(t)?"xn--"+F2(t):t}))},toUnicode:function(e){return C2(e,(function(t){return $8.test(t)?D2(t.slice(4).toLowerCase()):t}))}},G8={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"]}}}},Q8=/^(vbscript|javascript|file|data):/,Y8=/^data:image\/(gif|png|jpeg|webp);/;function X8(e){const t=e.trim().toLowerCase();return!Q8.test(t)||Y8.test(t)}const M2=["http:","https:","mailto:"];function K8(e){const t=qi(e,!0);if(t.hostname&&(!t.protocol||M2.indexOf(t.protocol)>=0))try{t.hostname=N2.toASCII(t.hostname)}catch{}return xr(Zi(t))}function J8(e){const t=qi(e,!0);if(t.hostname&&(!t.protocol||M2.indexOf(t.protocol)>=0))try{t.hostname=N2.toUnicode(t.hostname)}catch{}return wu(Zi(t),wu.defaultChars+"%")}function at(e,t){if(!(this instanceof at))return new at(e,t);t||Yi(e)||(t=e||{},e="default"),this.inline=new Cr,this.block=new io,this.core=new Ji,this.renderer=new yu,this.linkify=new Xe,this.validateLink=X8,this.normalizeLink=K8,this.normalizeLinkText=J8,this.utils=cm,this.helpers=no({},hm),this.options={},this.configure(e),t&&this.set(t)}at.prototype.set=function(e){return no(this.options,e),this},at.prototype.configure=function(e){const t=this;if(Yi(e)){const n=e;if(!(e=G8[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},at.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},at.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},at.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},at.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},at.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},at.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},at.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const e5=at({html:!1,typographer:!0}).disable("list");function t5(e=""){return e5.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 */const{entries:L2,setPrototypeOf:j2,isFrozen:n5,getPrototypeOf:u5,getOwnPropertyDescriptor:r5}=Object;let{freeze:Le,seal:st,create:O2}=Object,{apply:sa,construct:ca}=typeof Reflect<"u"&&Reflect;Le||(Le=function(t){return t}),st||(st=function(t){return t}),sa||(sa=function(t,n,u){return t.apply(n,u)}),ca||(ca=function(t,n){return new t(...n)});const co=Ke(Array.prototype.forEach),P2=Ke(Array.prototype.pop),Ar=Ke(Array.prototype.push),fo=Ke(String.prototype.toLowerCase),fa=Ke(String.prototype.toString),R2=Ke(String.prototype.match),Tr=Ke(String.prototype.replace),o5=Ke(String.prototype.indexOf),l5=Ke(String.prototype.trim),bt=Ke(Object.prototype.hasOwnProperty),je=Ke(RegExp.prototype.test),Dr=function(e){return function(){for(var t=arguments.length,n=new Array(t),u=0;u<t;u++)n[u]=arguments[u];return ca(e,n)}}(TypeError);function Ke(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 sa(e,t,u)}}function U(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fo;j2&&j2(e,null);let u=t.length;for(;u--;){let r=t[u];if("string"==typeof r){const o=n(r);o!==r&&(n5(t)||(t[u]=o),r=o)}e[r]=!0}return e}function a5(e){for(let t=0;t<e.length;t++)bt(e,t)||(e[t]=null);return e}function zn(e){const t=O2(null);for(const[n,u]of L2(e))bt(e,n)&&(Array.isArray(u)?t[n]=a5(u):u&&"object"==typeof u&&u.constructor===Object?t[n]=zn(u):t[n]=u);return t}function Fr(e,t){for(;null!==e;){const u=r5(e,t);if(u){if(u.get)return Ke(u.get);if("function"==typeof u.value)return Ke(u.value)}e=u5(e)}return function(){return null}}const I2=Le(["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"]),da=Le(["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"]),pa=Le(["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"]),s5=Le(["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"]),ha=Le(["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"]),c5=Le(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),z2=Le(["#text"]),H2=Le(["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"]),ma=Le(["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"]),$2=Le(["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"]),po=Le(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),f5=st(/\{\{[\w\W]*|[\w\W]*\}\}/gm),d5=st(/<%[\w\W]*|[\w\W]*%>/gm),p5=st(/\${[\w\W]*}/gm),h5=st(/^data-[\-\w.\u00B7-\uFFFF]/),m5=st(/^aria-[\-\w]+$/),B2=st(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),g5=st(/^(?:\w+script|data):/i),w5=st(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),U2=st(/^html$/i),v5=st(/^[a-z][.\w]*(-[.\w]+)+$/i);var V2=Object.freeze({__proto__:null,MUSTACHE_EXPR:f5,ERB_EXPR:d5,TMPLIT_EXPR:p5,DATA_ATTR:h5,ARIA_ATTR:m5,IS_ALLOWED_URI:B2,IS_SCRIPT_OR_DATA:g5,ATTR_WHITESPACE:w5,DOCTYPE_NAME:U2,CUSTOM_ELEMENT:v5});const Nr_element=1,Nr_text=3,Nr_progressingInstruction=7,Nr_comment=8,Nr_document=9;var b5=function Z2(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:typeof window>"u"?null:window;const t=j=>Z2(j);if(t.version="3.1.6",t.removed=[],!e||!e.document||e.document.nodeType!==Nr_document)return t.isSupported=!1,t;let{document:n}=e;const u=n,r=u.currentScript,{DocumentFragment:o,HTMLTemplateElement:l,Node:i,Element:a,NodeFilter:s,NamedNodeMap:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:h,trustedTypes:v}=e,g=a.prototype,_=Fr(g,"cloneNode"),S=Fr(g,"remove"),y=Fr(g,"nextSibling"),f=Fr(g,"childNodes"),w=Fr(g,"parentNode");if("function"==typeof l){const j=n.createElement("template");j.content&&j.content.ownerDocument&&(n=j.content.ownerDocument)}let x,k="";const{implementation:C,createNodeIterator:A,createDocumentFragment:F,getElementsByTagName:$}=n,{importNode:P}=u;let O={};t.isSupported="function"==typeof L2&&"function"==typeof w&&C&&void 0!==C.createHTMLDocument;const{MUSTACHE_EXPR:de,ERB_EXPR:Je,TMPLIT_EXPR:ct,DATA_ATTR:ft,ARIA_ATTR:Et,IS_SCRIPT_OR_DATA:En,ATTR_WHITESPACE:N,CUSTOM_ELEMENT:R}=V2;let{IS_ALLOWED_URI:I}=V2,H=null;const ue=U({},[...I2,...da,...pa,...ha,...z2]);let Y=null;const dt=U({},[...H2,...ma,...$2,...po]);let W=Object.seal(O2(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}})),q=null,Ue=null,xd=!0,Ea=!0,bd=!1,_d=!0,ku=!1,ka=!0,$n=!1,Ca=!1,Sa=!1,Cu=!1,xo=!1,bo=!1,Ed=!0,kd=!1,Aa=!0,Or=!1,Su={},Au=null;const Cd=U({},["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 Sd=null;const Ad=U({},["audio","video","img","source","image","track"]);let Ta=null;const Td=U({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),_o="http://www.w3.org/1998/Math/MathML",Eo="http://www.w3.org/2000/svg",Qt="http://www.w3.org/1999/xhtml";let Tu=Qt,Da=!1,Fa=null;const Mw=U({},[_o,Eo,Qt],fa);let Pr=null;const Lw=["application/xhtml+xml","text/html"];let we=null,Du=null;const Ow=n.createElement("form"),Dd=function(b){return b instanceof RegExp||b instanceof Function},Na=function(){let b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Du||Du!==b){if((!b||"object"!=typeof b)&&(b={}),b=zn(b),Pr=-1===Lw.indexOf(b.PARSER_MEDIA_TYPE)?"text/html":b.PARSER_MEDIA_TYPE,we="application/xhtml+xml"===Pr?fa:fo,H=bt(b,"ALLOWED_TAGS")?U({},b.ALLOWED_TAGS,we):ue,Y=bt(b,"ALLOWED_ATTR")?U({},b.ALLOWED_ATTR,we):dt,Fa=bt(b,"ALLOWED_NAMESPACES")?U({},b.ALLOWED_NAMESPACES,fa):Mw,Ta=bt(b,"ADD_URI_SAFE_ATTR")?U(zn(Td),b.ADD_URI_SAFE_ATTR,we):Td,Sd=bt(b,"ADD_DATA_URI_TAGS")?U(zn(Ad),b.ADD_DATA_URI_TAGS,we):Ad,Au=bt(b,"FORBID_CONTENTS")?U({},b.FORBID_CONTENTS,we):Cd,q=bt(b,"FORBID_TAGS")?U({},b.FORBID_TAGS,we):{},Ue=bt(b,"FORBID_ATTR")?U({},b.FORBID_ATTR,we):{},Su=!!bt(b,"USE_PROFILES")&&b.USE_PROFILES,xd=!1!==b.ALLOW_ARIA_ATTR,Ea=!1!==b.ALLOW_DATA_ATTR,bd=b.ALLOW_UNKNOWN_PROTOCOLS||!1,_d=!1!==b.ALLOW_SELF_CLOSE_IN_ATTR,ku=b.SAFE_FOR_TEMPLATES||!1,ka=!1!==b.SAFE_FOR_XML,$n=b.WHOLE_DOCUMENT||!1,Cu=b.RETURN_DOM||!1,xo=b.RETURN_DOM_FRAGMENT||!1,bo=b.RETURN_TRUSTED_TYPE||!1,Sa=b.FORCE_BODY||!1,Ed=!1!==b.SANITIZE_DOM,kd=b.SANITIZE_NAMED_PROPS||!1,Aa=!1!==b.KEEP_CONTENT,Or=b.IN_PLACE||!1,I=b.ALLOWED_URI_REGEXP||B2,Tu=b.NAMESPACE||Qt,W=b.CUSTOM_ELEMENT_HANDLING||{},b.CUSTOM_ELEMENT_HANDLING&&Dd(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(W.tagNameCheck=b.CUSTOM_ELEMENT_HANDLING.tagNameCheck),b.CUSTOM_ELEMENT_HANDLING&&Dd(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),ku&&(Ea=!1),xo&&(Cu=!0),Su&&(H=U({},z2),Y=[],!0===Su.html&&(U(H,I2),U(Y,H2)),!0===Su.svg&&(U(H,da),U(Y,ma),U(Y,po)),!0===Su.svgFilters&&(U(H,pa),U(Y,ma),U(Y,po)),!0===Su.mathMl&&(U(H,ha),U(Y,$2),U(Y,po))),b.ADD_TAGS&&(H===ue&&(H=zn(H)),U(H,b.ADD_TAGS,we)),b.ADD_ATTR&&(Y===dt&&(Y=zn(Y)),U(Y,b.ADD_ATTR,we)),b.ADD_URI_SAFE_ATTR&&U(Ta,b.ADD_URI_SAFE_ATTR,we),b.FORBID_CONTENTS&&(Au===Cd&&(Au=zn(Au)),U(Au,b.FORBID_CONTENTS,we)),Aa&&(H["#text"]=!0),$n&&U(H,["html","head","body"]),H.table&&(U(H,["tbody"]),delete q.tbody),b.TRUSTED_TYPES_POLICY){if("function"!=typeof b.TRUSTED_TYPES_POLICY.createHTML)throw Dr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof b.TRUSTED_TYPES_POLICY.createScriptURL)throw Dr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');x=b.TRUSTED_TYPES_POLICY,k=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 o="dompurify"+(u?"#"+u:"");try{return t.createPolicy(o,{createHTML:l=>l,createScriptURL:l=>l})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(v,r)),null!==x&&"string"==typeof k&&(k=x.createHTML(""));Le&&Le(b),Du=b}},Fd=U({},["mi","mo","mn","ms","mtext"]),Nd=U({},["foreignobject","annotation-xml"]),Pw=U({},["title","style","font","a","script"]),Md=U({},[...da,...pa,...s5]),Ld=U({},[...ha,...c5]),jt=function(b){Ar(t.removed,{element:b});try{w(b).removeChild(b)}catch{S(b)}},ko=function(b,D){try{Ar(t.removed,{attribute:D.getAttributeNode(b),from:D})}catch{Ar(t.removed,{attribute:null,from:D})}if(D.removeAttribute(b),"is"===b&&!Y[b])if(Cu||xo)try{jt(D)}catch{}else try{D.setAttribute(b,"")}catch{}},jd=function(b){let D=null,L=null;if(Sa)b="<remove></remove>"+b;else{const Ee=R2(b,/^[\r\n\t ]+/);L=Ee&&Ee[0]}"application/xhtml+xml"===Pr&&Tu===Qt&&(b='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+b+"</body></html>");const X=x?x.createHTML(b):b;if(Tu===Qt)try{D=(new h).parseFromString(X,Pr)}catch{}if(!D||!D.documentElement){D=C.createDocument(Tu,"template",null);try{D.documentElement.innerHTML=Da?k:X}catch{}}const Te=D.body||D.documentElement;return b&&L&&Te.insertBefore(n.createTextNode(L),Te.childNodes[0]||null),Tu===Qt?$.call(D,$n?"html":"body")[0]:$n?D.documentElement:Te},Od=function(b){return A.call(b.ownerDocument||b,b,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},Pd=function(b){return b instanceof d&&("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)},Rd=function(b){return"function"==typeof i&&b instanceof i},Yt=function(b,D,L){O[b]&&co(O[b],(X=>{X.call(t,D,L,Du)}))},Id=function(b){let D=null;if(Yt("beforeSanitizeElements",b,null),Pd(b))return jt(b),!0;const L=we(b.nodeName);if(Yt("uponSanitizeElement",b,{tagName:L,allowedTags:H}),b.hasChildNodes()&&!Rd(b.firstElementChild)&&je(/<[/\w]/g,b.innerHTML)&&je(/<[/\w]/g,b.textContent)||b.nodeType===Nr_progressingInstruction||ka&&b.nodeType===Nr_comment&&je(/<[/\w]/g,b.data))return jt(b),!0;if(!H[L]||q[L]){if(!q[L]&&Hd(L)&&(W.tagNameCheck instanceof RegExp&&je(W.tagNameCheck,L)||W.tagNameCheck instanceof Function&&W.tagNameCheck(L)))return!1;if(Aa&&!Au[L]){const X=w(b)||b.parentNode,Te=f(b)||b.childNodes;if(Te&&X){for(let Ve=Te.length-1;Ve>=0;--Ve){const Ot=_(Te[Ve],!0);Ot.__removalCount=(b.__removalCount||0)+1,X.insertBefore(Ot,y(b))}}}return jt(b),!0}return b instanceof a&&!function(b){let D=w(b);(!D||!D.tagName)&&(D={namespaceURI:Tu,tagName:"template"});const L=fo(b.tagName),X=fo(D.tagName);return!!Fa[b.namespaceURI]&&(b.namespaceURI===Eo?D.namespaceURI===Qt?"svg"===L:D.namespaceURI===_o?"svg"===L&&("annotation-xml"===X||Fd[X]):!!Md[L]:b.namespaceURI===_o?D.namespaceURI===Qt?"math"===L:D.namespaceURI===Eo?"math"===L&&Nd[X]:!!Ld[L]:b.namespaceURI===Qt?!(D.namespaceURI===Eo&&!Nd[X]||D.namespaceURI===_o&&!Fd[X])&&!Ld[L]&&(Pw[L]||!Md[L]):!("application/xhtml+xml"!==Pr||!Fa[b.namespaceURI]))}(b)||("noscript"===L||"noembed"===L||"noframes"===L)&&je(/<\/no(script|embed|frames)/i,b.innerHTML)?(jt(b),!0):(ku&&b.nodeType===Nr_text&&(D=b.textContent,co([de,Je,ct],(X=>{D=Tr(D,X," ")})),b.textContent!==D&&(Ar(t.removed,{element:b.cloneNode()}),b.textContent=D)),Yt("afterSanitizeElements",b,null),!1)},zd=function(b,D,L){if(Ed&&("id"===D||"name"===D)&&(L in n||L in Ow))return!1;if((!Ea||Ue[D]||!je(ft,D))&&(!xd||!je(Et,D)))if(!Y[D]||Ue[D]){if(!(Hd(b)&&(W.tagNameCheck instanceof RegExp&&je(W.tagNameCheck,b)||W.tagNameCheck instanceof Function&&W.tagNameCheck(b))&&(W.attributeNameCheck instanceof RegExp&&je(W.attributeNameCheck,D)||W.attributeNameCheck instanceof Function&&W.attributeNameCheck(D))||"is"===D&&W.allowCustomizedBuiltInElements&&(W.tagNameCheck instanceof RegExp&&je(W.tagNameCheck,L)||W.tagNameCheck instanceof Function&&W.tagNameCheck(L))))return!1}else if(!Ta[D]&&!je(I,Tr(L,N,""))&&("src"!==D&&"xlink:href"!==D&&"href"!==D||"script"===b||0!==o5(L,"data:")||!Sd[b])&&(!bd||je(En,Tr(L,N,"")))&&L)return!1;return!0},Hd=function(b){return"annotation-xml"!==b&&R2(b,R)},$d=function(b){Yt("beforeSanitizeAttributes",b,null);const{attributes:D}=b;if(!D)return;const L={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Y};let X=D.length;for(;X--;){const Te=D[X],{name:Ee,namespaceURI:Ve,value:Ot}=Te,Rr=we(Ee);let Oe="value"===Ee?Ot:l5(Ot);if(L.attrName=Rr,L.attrValue=Oe,L.keepAttr=!0,L.forceKeepAttr=void 0,Yt("uponSanitizeAttribute",b,L),Oe=L.attrValue,ka&&je(/((--!?|])>)|<\/(style|title)/i,Oe)){ko(Ee,b);continue}if(L.forceKeepAttr||(ko(Ee,b),!L.keepAttr))continue;if(!_d&&je(/\/>/i,Oe)){ko(Ee,b);continue}ku&&co([de,Je,ct],(Ud=>{Oe=Tr(Oe,Ud," ")}));const Bd=we(b.nodeName);if(zd(Bd,Rr,Oe)){if(kd&&("id"===Rr||"name"===Rr)&&(ko(Ee,b),Oe="user-content-"+Oe),x&&"object"==typeof v&&"function"==typeof v.getAttributeType&&!Ve)switch(v.getAttributeType(Bd,Rr)){case"TrustedHTML":Oe=x.createHTML(Oe);break;case"TrustedScriptURL":Oe=x.createScriptURL(Oe)}try{Ve?b.setAttributeNS(Ve,Ee,Oe):b.setAttribute(Ee,Oe),Pd(b)?jt(b):P2(t.removed)}catch{}}}Yt("afterSanitizeAttributes",b,null)},Iw=function j(b){let D=null;const L=Od(b);for(Yt("beforeSanitizeShadowDOM",b,null);D=L.nextNode();)Yt("uponSanitizeShadowNode",D,null),!Id(D)&&(D.content instanceof o&&j(D.content),$d(D));Yt("afterSanitizeShadowDOM",b,null)};return t.sanitize=function(j){let b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},D=null,L=null,X=null,Te=null;if(Da=!j,Da&&(j="\x3c!--\x3e"),"string"!=typeof j&&!Rd(j)){if("function"!=typeof j.toString)throw Dr("toString is not a function");if("string"!=typeof(j=j.toString()))throw Dr("dirty is not a string, aborting")}if(!t.isSupported)return j;if(Ca||Na(b),t.removed=[],"string"==typeof j&&(Or=!1),Or){if(j.nodeName){const Ot=we(j.nodeName);if(!H[Ot]||q[Ot])throw Dr("root node is forbidden and cannot be sanitized in-place")}}else if(j instanceof i)D=jd("\x3c!----\x3e"),L=D.ownerDocument.importNode(j,!0),L.nodeType===Nr_element&&"BODY"===L.nodeName||"HTML"===L.nodeName?D=L:D.appendChild(L);else{if(!Cu&&!ku&&!$n&&-1===j.indexOf("<"))return x&&bo?x.createHTML(j):j;if(D=jd(j),!D)return Cu?null:bo?k:""}D&&Sa&&jt(D.firstChild);const Ee=Od(Or?j:D);for(;X=Ee.nextNode();)Id(X)||(X.content instanceof o&&Iw(X.content),$d(X));if(Or)return j;if(Cu){if(xo)for(Te=F.call(D.ownerDocument);D.firstChild;)Te.appendChild(D.firstChild);else Te=D;return(Y.shadowroot||Y.shadowrootmode)&&(Te=P.call(u,Te,!0)),Te}let Ve=$n?D.outerHTML:D.innerHTML;return $n&&H["!doctype"]&&D.ownerDocument&&D.ownerDocument.doctype&&D.ownerDocument.doctype.name&&je(U2,D.ownerDocument.doctype.name)&&(Ve="<!DOCTYPE "+D.ownerDocument.doctype.name+">\n"+Ve),ku&&co([de,Je,ct],(Ot=>{Ve=Tr(Ve,Ot," ")})),x&&bo?x.createHTML(Ve):Ve},t.setConfig=function(){Na(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ca=!0},t.clearConfig=function(){Du=null,Ca=!1},t.isValidAttribute=function(j,b,D){Du||Na({});const L=we(j),X=we(b);return zd(L,X,D)},t.addHook=function(j,b){"function"==typeof b&&(O[j]=O[j]||[],Ar(O[j],b))},t.removeHook=function(j){if(O[j])return P2(O[j])},t.removeHooks=function(j){O[j]&&(O[j]=[])},t.removeAllHooks=function(){O={}},t}();function _5(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 E5(e,t="en"){const n=new Date(e),u=new Date,r=new Date;r.setDate(u.getDate()-1);const o=Dt[t]||Dt.en;return n.toDateString()===u.toDateString()?o.today:n.toDateString()===r.toDateString()?o.yesterday:n.toLocaleDateString("en-US",{month:"short",day:"2-digit",year:"numeric"})}const S5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},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"})),A5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},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=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},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"})),D5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none",...e},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"}),E.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"})),F5=({document:e,query:t})=>p.jsxs("div",{className:"tw-gi tw-bn",children:[p.jsxs("div",{className:"tw-ao tw-jk tw-go tw-kq tw-uo tw-nf tw-fk tw-hk tw-uc",children:[p.jsx("span",{className:"tw-xj tw-ge tw-yi tw-ye",children:e.key}),p.jsxs("span",{className:"tw-dm tw-xg tw-yi tw-cf",children:["Query: ",t]}),p.jsxs("span",{className:"tw-dm tw-xg tw-yi tw-cf",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]})]}),p.jsxs("div",{className:"tw-dm tw-yi tw-bp tw-wo tw-df tw-ib tw-fa tw-bd anm-scroll-container",children:[p.jsx(q2,{}),e.content,p.jsx(q2,{})]})]}),q2=()=>p.jsxs("div",{className:"tw-hh tw-pk tw-to",children:[p.jsxs("div",{className:"tw-ao tw-vf tw-bn",children:[p.jsx("div",{className:"tw-kn tw-sg tw-fg tw-up"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-tp"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-bn"})]}),p.jsxs("div",{className:"tw-ao tw-vf tw-bn tw-ne",children:[p.jsx("div",{className:"tw-kn tw-sg tw-fg tw-bn"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-bn"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-tp"})]}),p.jsxs("div",{className:"tw-ao tw-vf tw-bn tw-me",children:[p.jsx("div",{className:"tw-kn tw-sg tw-fg tw-bn"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-wp"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-bn"})]})]}),N5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},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"}),E.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"})),M5_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}},L5=({message:e,query:t,sources:n,onClose:u,messageID:r,settings:o})=>{const[l,i]=E.useState(t),[a,s]=E.useState(e),[c,d]=E.useState(""),[h,v]=E.useState(""),g=Gt.settings.language,_=Dt[g]||Dt.en,[S,y]=E.useState(!1),[f,w]=E.useState(!1),[x,k]=E.useState(""),[C,A]=E.useState(!1),F={messageID:r,question:t,aiAnswer:a,answer:h,remark:c,reference:null==n?void 0:n.map((O=>({s3Key:null==O?void 0:O.key,content:null==O?void 0:O.content})))},P=()=>{A(!0),setTimeout((()=>A(!1)),300)};return p.jsxs("div",{className:"tw-gi tw-bn tw-yi",children:[p.jsx("div",{className:"tw-ao tw-jk tw-go tw-kq tw-nf tw-fk tw-hk tw-uc",children:p.jsx("span",{className:"tw-em tw-oo tw-eo tw-wi",children:_.report})}),p.jsx("div",{className:"tw-ao tw-jk tw-in tw-ea tw-bd anm-scroll-container",children:p.jsxs("div",{className:"tw-ao tw-jk tw-jn tw-mp tw-wo tw-hp",children:[p.jsxs("div",{className:"tw-ao tw-jk tw-gn",children:[p.jsx("span",{className:"tw-dm tw-wi",children:_.question}),p.jsx("input",{type:"text",value:l,onChange:O=>i(O.target.value),className:"tw-nn tw-dm tw-nf tw-ta tw-km tw-uc tw-gi",placeholder:_.question,disabled:!0})]}),p.jsxs("div",{className:"tw-ao tw-jk tw-gn",children:[p.jsx("span",{className:"tw-dm tw-wi",children:_.answer}),p.jsx("textarea",{onChange:O=>{s(O.target.value)},value:a,className:"tw-nn tw-dm tw-nf tw-ta tw-km tw-uc tw-gi tw-uk",cols:"30",rows:"6",placeholder:_.answer,disabled:!0,style:{scrollbarWidth:"thin"}})]}),p.jsxs("div",{className:"tw-ao tw-jk tw-gn",children:[p.jsx("span",{className:"tw-wi tw-dm",children:_.answerCorrect}),p.jsx("textarea",{onChange:O=>{v(O.target.value)},value:h,className:"tw-nn tw-km tw-uc tw-dg tw-gi tw-dm tw-uk",cols:"10",rows:"3",placeholder:_.answerCorrect,style:{scrollbarWidth:"thin"}})]}),p.jsxs("div",{className:"tw-ao tw-jk tw-gn",children:[p.jsx("span",{className:" tw-wi tw-dm",children:_.sources}),(null==n?void 0:n.length)<=0?p.jsx("div",{children:p.jsx("p",{className:"tw-fc tw-dm",children:_.sourcesEmpty})}):p.jsx("div",{className:"tw-ao tw-vi tw-iq tw-hn tw-km tw-nf tw-uc tw-gi tw-yf tw-bd",style:{scrollbarWidth:"thin"},children:null==n?void 0:n.map(((O,de)=>p.jsxs("div",{className:"tw-vn tw-cp tw-pp tw-ao tw-vf tw-gn tw-km tw-nf tw-uc tw-hi",children:[p.jsx(N5,{className:"tw-wk tw-ef"}),p.jsx("span",{className:"tw-dm tw-wf tw-sd",children:O.key.split("/").pop()})]},de)))})]}),p.jsxs("div",{className:"tw-ao tw-jk tw-gn",children:[p.jsx("span",{className:"tw-dm tw-wi",children:_.remark}),p.jsx("input",{type:"text",value:c,onChange:O=>d(O.target.value),className:"tw-nn tw-dm tw-nf tw-ta tw-km tw-uc tw-gi tw-qb",placeholder:_.remark})]}),p.jsxs("div",{className:"tw-bn tw-ao tw-in tw-yc tw-vf tw-hd",children:[x?p.jsx("p",{className:"tw-fm tw-vd tw-xf",children:x}):p.jsx("p",{}),p.jsxs("div",{className:"tw-ao tw-vf tw-in",children:[p.jsx("button",{onClick:u,className:"tw-md tw-ao tw-vf tw-od tw-ug tw-km tw-dc tw-gi tw-co tw-np tw-xa tw-qf tw-fd",children:p.jsx("p",{className:"tw-vd",children:_.cancel})}),p.jsxs("button",{disabled:S,onClick:async()=>{y(!0);try{const O=await M5_createReport(F,{"client-id":o.embedId},o.restUrl);200===O.status||201===O.status?(k(""),w(!0),setTimeout((()=>u()),1e3)):(k(O.data.error),P())}catch(O){console.log("Failed to fetch report."),k(`${O}`),P()}finally{y(!1)}},className:`tw-md tw-ao tw-vf tw-ug ${f?"tw-mf tw-qc tw-ep tw-ap tw-uj tw-lb tw-rj":x?"tw-lf tw-np":"tw-kf tw-np"} ${C?"tw-pc":""} tw-gi tw-co tw-xa tw-qf tw-fd tw-ya tw-ba tw-pb`,children:[f&&p.jsx(vf,{size:16,className:"tw-li anm-animate-draw-fadeIn"}),p.jsx("p",{className:"tw-li",children:_.report})]})]})]})]})})]})},j5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none",...e},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}),E.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"})),O5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...e},E.createElement("path",{fill:"#fff",d:"M12.5 18.958h-5c-4.525 0-6.458-1.933-6.458-6.458v-5c0-4.525 1.933-6.458 6.458-6.458h4.166a.63.63 0 0 1 .625.625.63.63 0 0 1-.625.625H7.5c-3.842 0-5.208 1.366-5.208 5.208v5c0 3.842 1.366 5.208 5.208 5.208h5c3.842 0 5.208-1.366 5.208-5.208V8.333a.63.63 0 0 1 .625-.625.63.63 0 0 1 .625.625V12.5c0 4.525-1.933 6.458-6.458 6.458"}),E.createElement("path",{fill:"#fff",d:"M18.333 8.958H15C12.15 8.958 11.04 7.85 11.04 5V1.667c0-.25.15-.484.384-.575a.63.63 0 0 1 .683.133l6.667 6.667a.626.626 0 0 1-.442 1.067m-6.041-5.783V5c0 2.15.558 2.708 2.708 2.708h1.825zM10.834 11.459h-5a.63.63 0 0 1-.625-.625.63.63 0 0 1 .625-.625h5a.63.63 0 0 1 .625.625.63.63 0 0 1-.625.625M9.167 14.792H5.834a.63.63 0 0 1-.625-.626.63.63 0 0 1 .625-.625h3.333a.63.63 0 0 1 .625.625.63.63 0 0 1-.625.625"})),ho=({children:e,text:t,render:n})=>p.jsxs("div",{className:"anm-group/tooltip tw-tk tw-ao",children:[e,t&&p.jsx("span",{className:"tw-dk tw-yi tw-ok tw-bc tw-v tw-rm tw-s tw-mj tw-jp tw-fm tw-pa tw-eb tw-wl tw-ol tw-vb tw-mb tw-zh tw-ti tw-mn",children:t}),n&&n]}),P5=({document:e})=>p.jsxs("div",{className:"tw-om tw-jk tw-dk tw-pm tw-al tw-ff tw-la tw-hq tw-hi tw-ol tw-vp tw-ek tw-im tw-sj tw-nj tw-ec tw-ql",children:[p.jsx("span",{className:"tw-yi tw-dm tw-ki",children:e.key}),p.jsxs("span",{className:"tw-yi tw-dm ",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]}),p.jsx("span",{className:"tw-yi tw-dm tw-vp tw-ye tw-vb tw-ad tw-uf tw-po",children:e.content.substring(0,50)})]});function R5({suggestionList:e,onSendMessages:t,settings:n,isLoading:u}){const r=null==n?void 0:n.headerBgColor,o=null==n?void 0:n.headerTextColor;return p.jsx("div",{style:{scrollbarWidth:"thin"},className:"tw-ao tw-vi tw-gn tw-gp tw-on",children:u?p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"tw-de tw-tg tw-ak tw-kk tw-gi"}),p.jsx("div",{className:"tw-de tw-tg tw-bl tw-kk tw-gi"}),p.jsx("div",{className:"tw-de tw-tg tw-cl tw-kk tw-gi"})]}):null==e?void 0:e.map(((l,i)=>p.jsx("div",{style:{"--bg-color":r??"#FFFFFF","--bg-color-saturated":I5(r)??"#FFFFFF","--text-color":o??"#000000"},onClick:a=>{t(a,l)},className:"tw-ka tw-dm tw-nf tw-km tw-ha tw-qp tw-tm tw-fg tw-md tw-t tw-da tw-ub tw-ao tw-vf",children:p.jsx("span",{children:l})},i)))})}const I5=(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,o=Math.max(n,u,r),l=Math.min(n,u,r);if(o===l)i=a=0;else{let c=o-l;a=(o+l)/2>.5?c/(2-o-l):c/(o+l),o===n?i=(u-r)/c+(u<r?6:0):o===u?i=(r-n)/c+2:o===r&&(i=(n-u)/c+4),i*=60}return`hsl(${Math.round(i)}, ${Math.round(100*a)}%, ${t}%)`},z5={copy:e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},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"}),E.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=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},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"}))},H5=b5(window),$5=({settings:e,messageIndex:t,debugPre:n,sessionId:u,type:r,message:o,role:l,isRAG:i,query:a="",question:s,sources:c=[],error:d=!1,read:h,sending:v,pending:g,sentAt:_,isDateChanged:S,currDate:y,isLastMessage:f,isShowSuggestion:w,onSuggestion:x,setSuggestList:k,messageID:C,images:A,videoUrls:F=[],fileUrls:$=[],isFullScreen:P,submit:O,suggestList:de,isSuggestLoading:Je})=>{const{openModal:ct,setModalOpen:ft}=E.useContext(zi),Et=E.useRef(null),En=e.language,N=Dt[En]||Dt.en,R=e.textSize?`anm-text-[${e.textSize}px]`:"tw-mh";function I(q){return"user"===q?e.userBgColor??"#3DBEF5":e.assistantBgColor??"#FFFFFF"}function H(q){return"user"===q?e.userTextColor??"#FFFFFF":e.assistantTextColor??"#27272a"}const[ue,Y]=E.useState("copy"),dt=z5[ue];E.useEffect((()=>{Et.current&&Et.current.querySelectorAll("a").forEach((q=>{q.onclick=async Ue=>{Ue.preventDefault(),yr.sendEvent({event:"click",url:q.href},{"client-id":e.embedId,"session-id":u}),q.onclick=null,window.location.href=q.href}}))}),[o,u]);return"event"===r?p.jsx("div",{className:"tw-ao tw-od tw-po tw-go",children:p.jsx("div",{className:"tw-pp tw-oh tw-dm tw-yi",children:o})}):p.jsxs(p.Fragment,{children:[S&&p.jsx("div",{className:"tw-ao tw-od tw-po tw-go",children:p.jsx("div",{className:"tw-ao tw-vf tw-od tw-qi tw-oh tw-fg tw-pp tw-kp tw-fm tw-yi",children:E5(y,En)})}),p.jsxs("div",{style:{"--user-bg":I("user"),"--asst-bg":I("assistant"),"--user-text":H("user"),"--asst-text":H("assistant")},className:`tw-tk ${"user"===l?"tw-vo":"tw-xo"} tw-j`,children:[p.jsxs("div",{className:"tw-ao tw-yg tw-bn tw-ln "+("user"===l?"tw-zg":"tw-he"),children:["user"!==l&&p.jsx("span",{className:"tw-ao tw-xk tw-pq tw-dq tw-fg tw-ko",children:p.jsx("img",{src:e.assistantIcon||Bi,alt:"Chatbot Avatar",className:"tw-fg"})}),p.jsxs("div",{"data-role":l,className:`tw-tk tw-tf tw-vg tw-rp tw-mp tw-uf tw-yi tw-ng tw-dh ${P&&"tw-ah tw-zb"} ${d?"tw-qh tw-gi":"user"===l?`${Gt.USER_STYLES.base} anm-animuz-user-message tw-pa tw-eb`:`${Gt.ASSISTANT_STYLES.base} tw-na tw-db tw-gk ${w&&"tw-ma tw-nf"}`}`,children:["user"!==l&&d?p.jsxs("div",{className:"tw-iq tw-gi tw-ri tw-lg",children:[p.jsxs("span",{className:"tw-uf ",children:[p.jsx(If,{className:"tw-bq tw-mq tw-fo tw-uf"})," ","Could not respond to message."]}),p.jsx("p",{className:"tw-fm tw-xi tw-po tw-th tw-ld tw-zo tw-rh tw-iq tw-ii",children:d})]}):g?p.jsx("div",{className:"tw-ro tw-so anm-dot-falling"}):p.jsxs(p.Fragment,{children:["image"===r?p.jsx(B5,{images:A,sentAt:_}):"video"===r?p.jsx(U5,{videos:F}):"file"===r?p.jsx(V5,{file:$}):p.jsx("span",{ref:Et,className:`tw-ib tw-ao tw-jk tw-jl ${R} tw-ej tw-kg tw-nd`,dangerouslySetInnerHTML:{__html:H5.sanitize(t5(o))}}),e.showRag&&i&&c.length>0&&p.jsx("div",{className:"tw-ao tw-vi tw-kl tw-vf tw-po tw-dm tw-bf",children:c.map(((q,Ue)=>p.jsx(ho,{render:p.jsx(P5,{document:q}),children:p.jsx("span",{className:"tw-ko tw-pp tw-kp tw-gi tw-rg tw-md tw-yb tw-kc tw-ye tw-vb tw-ad anm-max-w-32",onClick:()=>ct(p.jsx(F5,{document:q,query:a})),children:q.key.split("/").pop()})},Ue)))})]}),p.jsxs("div",{className:"tw-ao tw-jk tw-dk tw-yi tw-jh tw-af tw-vb tw-ik "+("user"===l?"tw-dj tw-ei tw-jo":"tw-yg tw-fj tw-ho"),children:["user"===l&&h&&p.jsx("span",{children:"Read"}),p.jsxs("div",{className:"tw-ao tw-vf",children:["user"===l&&v?p.jsx("span",{children:p.jsx(T5,{width:16,height:16,viewBox:"0 0 24 24"})}):"user"===l&&d?p.jsxs("span",{className:"tw-ao tw-gn tw-vf tw-jo tw-lg",children:[p.jsx(D5,{})," ",d]}):p.jsx(p.Fragment,{}),_&&p.jsx("span",{children:_5(_)})]})]})]})]}),"user"!==l&&p.jsxs("div",{"aria-expanded":f&&!g,className:"anm-action-wrapper tw-nb tw-ob tw-yp tw-bn tw-sm tw-vo tw-dk tw-om tw-al tw-ab tw-gl tw-pn tw-jd tw-uj",children:[e.showCopyAction&&p.jsx(ho,{text:"copy"===ue?N.copy:N.copySuccess,children:p.jsx("button",{className:"tw-ao tw-vf tw-od tw-md tw-ug tw-jd tw-eq tw-jp tw-af tw-ca",onClick:()=>{navigator.clipboard.writeText(o),Y("check"),setTimeout((()=>{Y("copy")}),1e3)},children:p.jsx(dt,{className:"tw-mq tw-bq"})})}),e.showSuggestAction&&p.jsx(ho,{text:N.suggest,children:p.jsx("button",{onClick:()=>{x(),(async()=>{try{if(k([]),null!==(null==e?void 0:e.defaultSuggestions)&&""!==(null==e?void 0:e.defaultSuggestions)){const Ue=(await yr.suggestionsNoAuth({conversationID:u,defaultSuggestions:"string"==typeof e.defaultSuggestions?JSON.parse(e.defaultSuggestions.replace(/'/g,'"')):e.defaultSuggestions,messages:[{role:l,message:o,debugPre:n}]},{"client-id":e.embedId,"session-id":u},e.restUrl)).suggest;k(Ue)}}catch(q){console.error("Error fetching suggestions:",q)}})()},className:"tw-ao tw-vf tw-od tw-md tw-ug tw-jd tw-eq tw-jp tw-af tw-ca tw-ba tw-qa",children:p.jsx(S5,{className:"tw-mq tw-bq"})})}),e.showReportAction&&0!==t&&p.jsx(ho,{text:N.report,children:p.jsx("button",{className:"tw-ao tw-vf tw-od tw-md tw-ug tw-jd tw-eq tw-jp tw-af tw-ca tw-ba tw-qa",onClick:()=>{ct(p.jsx(L5,{datasetID:e.embedId,message:o,query:s,messageID:C,sources:c,onClose:()=>ft(!1),settings:e}))},children:p.jsx(A5,{className:"tw-mq tw-bq"})})})]})]}),w&&p.jsx(R5,{settings:e,suggestionList:de,onSendMessages:O,isLoading:Je})]})},B5=({images:e,sentAt:t})=>{const[n,u]=E.useState(""),[r,o]=E.useState(!1),i=new Date(t).toLocaleString("th-TH",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"});return p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"tw-ao tw-hn tw-vi",children:null==e?void 0:e.map(((a,s)=>p.jsx("img",{onClick:()=>u(a),src:a,alt:"img",className:"tw-am tw-ji tw-km tw-sc tw-rg tw-pd"},s)))}),n&&p.jsxs("div",{className:"tw-ao tw-mm tw-jk tw-jq tw-fn tw-ml tw-im tw-od tw-qg tw-cb",children:[p.jsxs("div",{className:"tw-ao tw-vf tw-yc",children:[p.jsxs("div",{className:"tw-ao tw-in tw-vf tw-fq",children:[p.jsx("div",{className:"tw-ao tw-od tw-vf border tw-dh tw-ek tw-zl",children:p.jsx("img",{src:Bi,alt:"avatar",className:"tw-yl tw-cg tw-rd"})}),p.jsxs("div",{className:"tw-ao tw-jk tw-km tw-nf",children:[p.jsx("span",{className:"tw-li tw-cm",children:"Rudi"}),p.jsx("span",{className:"tw-oh",children:i})]})]}),p.jsx("div",{className:"tw-ao tw-od tw-vf tw-gn",children:p.jsx(j5,{onClick:()=>u(null),className:"tw-md anm-hover:anm-scale-110 tw-yd tw-qf"})})]}),p.jsx("div",{className:"tw-qe tw-je tw-eh tw-tk tw-gh",children:p.jsx("img",{src:n,alt:"Preview",onLoad:()=>o(!0),className:"tw-pd tw-bn tw-nm tw-eh tw-mb tw-rf "+(r?"tw-bh":"tw-mj")},n)}),p.jsx("div",{className:"tw-ao tw-hn tw-te tw-dl",children:null==e?void 0:e.map(((a,s)=>p.jsx("div",{className:"tw-md",onClick:()=>{o(!1),u(a)},children:p.jsx("img",{src:a,alt:a,className:"tw-zi tw-re tw-dh tw-cg"})},s)))})]})]})},U5=({videos:e})=>p.jsx(p.Fragment,{children:p.jsx("div",{className:"tw-ao tw-hn tw-vi",children:null==e?void 0:e.map(((t,n)=>p.jsx("div",{className:"tw-cj tw-tk",children:p.jsx("video",{controls:!0,src:t,className:"tw-bn tw-nm tw-cg tw-dh"})},n)))})}),V5=({file:e})=>p.jsx("div",{className:"tw-ao tw-hn tw-vi",children:null==e?void 0:e.map(((t,n)=>{const u=t.split("/").pop(),r=null==u?void 0:u.split("_")[1].split(".");return p.jsx("a",{className:"tw-bg",href:t,target:"_blank",children:p.jsxs("div",{className:"tw-yd tw-qf tw-ao tw-vf tw-nf tw-km tw-hn tw-ee tw-qd tw-lp tw-qp tw-bk tw-lk",children:[p.jsx("div",{className:"tw-ao tw-vf tw-od tw-ag tw-zf tw-hl tw-ue",children:p.jsx(O5,{className:"tw-li"})}),p.jsxs("div",{children:[p.jsx("span",{className:"tw-dm tw-wf tw-ad tw-ki",children:r[0]}),p.jsx("span",{className:"tw-kh tw-oh",children:r[1]})]})]})},n)}))});function W2(){const{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}function q5(){var r,o;const{width:e}=function(){const[e,t]=E.useState(W2());return E.useEffect((()=>{function n(){t(W2())}return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}),[]),e}(),[t,n]=E.useState(!(null!=(r=null==window?void 0:window.sessionStorage)&&r.getItem(J1)||null!=(o=null==window?void 0:window.localStorage)&&o.getItem(J0)));return{isGreetingsShow:t,toggleGreetingsShow:function(l){!0===l&&e>=768&&window.sessionStorage.setItem(J1,"1"),n(l)}}}function G2(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:o,setSuggestList:l,isFullScreen:i,submit:a,suggestList:s,isSuggestLoading:c}){const[d,h]=E.useState(!0),v=E.useRef(null),g=E.useMemo((()=>G2(n)),[n]),_=E.useMemo((()=>[...g,...u]),[g,u]);E.useEffect((()=>{t&&y()}),[u,t]);const y=()=>{var f;null==(f=v.current)||f.scrollIntoView({behavior:"auto"})};return 0===_.length?p.jsx("div",{className:"tw-tk tw-ao tw-jk tw-lm tw-ph tw-rg",children:p.jsx("div",{className:"tw-ao tw-jk tw-di tw-sk tw-gi tw-kp tw-nm tw-po tw-kl tw-he",children:p.jsx("div",{className:"tw-ao tw-nm tw-jk tw-vf tw-od",children:p.jsx("p",{className:"tw-wd tw-dm tw-yi tw-sp tw-nh",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-tk tw-ao tw-jk tw-lm tw-ph tw-ad tw-wa",children:[p.jsx("div",{className:"anm-scroll-container tw-sb tw-rb tw-we tw-nm tw-yo",onScroll:f=>{const x=f.target.scrollHeight-f.target.scrollTop-f.target.clientHeight<=40;h(x)},children:p.jsxs("div",{className:"tw-ao tw-jk tw-lm tw-ip tw-pj tw-z tw-mp tw-ol tw-zc",children:[_.map(((f,w)=>{var A;const x=w===_.length-1&&w>g.length-1,C=null==(A=_[w-1])?void 0:A.content;return p.jsx($5,{settings:n,messageIndex:w,sessionId:e,type:f.type,message:f.content,sentAt:f.sentAt||f.timestamp,role:f.role,isRAG:f.isRAG,query:f.query,question:C,sources:f.sources,chatId:f.chatId,feedbackScore:f.feedbackScore,error:f.error,sending:f.sending,read:f.read,pending:f.pending,isDateChanged:f.isDateChanged,currDate:f.currDate,isLastMessage:x,onSuggestion:()=>{o(w===r?null:w)},isShowSuggestion:r===w,debugPre:f.debugPre,setSuggestList:l,messageID:f.msgID,images:null==f?void 0:f.images,fileUrls:null==f?void 0:f.fileUrls,videoUrls:null==f?void 0:f.videoUrls,isFullScreen:i,submit:a,suggestList:s,isSuggestLoading:c},w)})),p.jsx("div",{className:"tw-dn",ref:v})]})}),p.jsx(G5,{scrollToBottom:y,isAtBottom:d})]})}const G5=({scrollToBottom:e,isAtBottom:t})=>p.jsx("div",{className:"tw-ok tw-bc tw-dk tw-bn tw-pe tw-ao tw-zg tw-si tw-hb",children:p.jsxs("button",{className:`tw-gb tw-hq tw-lo tw-im tw-md tw-ao tw-vf tw-od tw-fg tw-wm tw-vc tw-og tw-wb tw-li tw-mb tw-of ${t?"tw-mj tw-hb":"tw-bh"} `,onClick:e,id:"scroll-to-bottom-button","aria-label":"Scroll to bottom",children:[p.jsx(sf,{weight:"bold"}),p.jsx("span",{className:"tw-bm",children:"Scroll to bottom"})]})});function Q5(){return p.jsx("div",{className:"tw-nm tw-rg anm-no-scroll tw-ao tw-jk tw-vf tw-od",children:p.jsx(Hi,{size:28,className:"tw-wd tw-jf"})})}function Y5({settings:e}){return"true"===e.noSponsor?null:p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"tw-ll tw-sg tw-ro"}),p.jsxs("span",{className:"tw-ol tw-fm tw-yi tw-so tw-ze",children:["Powered by"," ",p.jsx("a",{href:"https://rudi.animuz.ai/",target:"_blank",rel:"noreferrer",className:"tw-fm anm-font-inherit tw-hc tw-bg tw-xe tw-gd",children:"rudi.animuz.ai"})]})]})}function X5({settings:e,message:t,submit:n,onChange:u,inputDisabled:r,buttonDisabled:o,callPing:l}){const i=E.useRef(null),a=E.useRef(null),[s,c]=E.useState(!1);E.useEffect((()=>{!r&&a.current&&a.current.focus(),g()}),[r]);const g=()=>{if(!a.current)return;a.current.style.height="auto";const _=a.current.scrollHeight-24+"px";a.current.style.height=_};return E.useLayoutEffect((()=>{g()}),[a,t]),p.jsx("div",{className:"tw-an tw-ik tw-ao tw-jk tw-zo tw-dp tw-uo tw-zg",children:p.jsxs("form",{onSubmit:_=>{c(!1),n(_)},className:"tw-ek tw-dh tw-ao tw-jk tw-nf tw-km tw-tc tw-bn tw-ol tw-zc",children:[p.jsxs("div",{className:"tw-ao tw-dj tw-rk",children:[p.jsx("textarea",{ref:a,className:"tw-ao tw-lm tw-bn tw-yi tw-ga tw-jd tw-dm tw-fk tw-gb tw-ie tw-gj tw-pl tw-jq tw-bd tw-x tw-ch tw-bb tw-qb tw-gf",onKeyDown:_=>{!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||window.innerWidth<=768||"ontouchstart"in window)&&13==_.keyCode&&!_.shiftKey&&(_.preventDefault(),n(_))},onChange:u,required:!0,disabled:r,onFocus:()=>{c(!0),l()},onBlur:_=>{c(!1)},rows:1,tabIndex:0,enterKeyHint:"enter",value:t,placeholder:e.placeholder,id:"message-input"}),p.jsxs("button",{ref:i,type:"submit",disabled:o,className:"tw-if tw-nc tw-yn tw-be tw-mc tw-ug tw-hi tw-md tw-ki tw-en tw-cn anm-group/button tw-y",id:"send-message-button","aria-label":"Send message",children:[r?p.jsx(Hi,{className:"tw-mq tw-bq tw-jf"}):p.jsx(Mf,{size:24,style:{"--btn-color":e.headerBgColor??"#000000"},className:"tw-oa tw-p tw-i",weight:"fill"}),p.jsx("span",{className:"tw-bm",children:"Send message"})]})]}),p.jsx(Y5,{settings:e})]})})}const ga={message:"ping",timeout:6e4,interval:25e3};const eg=(e,t,n,u,r)=>{e.onmessage=o=>{var l;t.current.onMessage&&t.current.onMessage(o),"number"==typeof(null==u?void 0:u.current)&&(u.current=Date.now()),("function"!=typeof t.current.filter||!0===t.current.filter(o))&&(t.current.heartbeat&&"boolean"!=typeof t.current.heartbeat&&(null==(l=t.current.heartbeat)?void 0:l.returnMessage)===o.data||("number"==typeof(null==r?void 0:r.current)&&(r.current=Date.now()),n(o)))}},tg=(e,t,n,u,r,o)=>{e.onopen=l=>{if(t.current.onOpen&&t.current.onOpen(l),u.current=0,n(qt.OPEN),t.current.heartbeat&&e instanceof WebSocket){const i="boolean"==typeof t.current.heartbeat?void 0:t.current.heartbeat;r.current=Date.now(),o.current=Date.now(),function(e,t,n){const{interval:u=ga.interval,timeout:r=ga.timeout,message:o=ga.message}=n||{},l=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 o?e.send(o()):e.send(o),i=s}catch(d){console.error("Heartbeat failed, closing connection",d instanceof Error?d.message:d),e.close()}}),l);e.addEventListener("close",(()=>{clearInterval(a)}))}(e,r,i)}}},ng=(e,t,n,u,r)=>{let o;return e.onclose=l=>{if(t.current.onClose&&t.current.onClose(l),n(qt.CLOSED),t.current.shouldReconnect&&t.current.shouldReconnect(l)){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;o=window.setTimeout((()=>{r.current++,u()}),a??5e3)}else t.current.onReconnectStop&&t.current.onReconnectStop(i),console.warn(`Max reconnect attempts of ${i} exceeded`)}},()=>o&&window.clearTimeout(o)},ug=(e,t,n,u,r)=>{let o;return e.onerror=l=>{if(t.current.onError&&t.current.onError(l),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;o=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`)},()=>o&&window.clearTimeout(o)},X2=E.createContext({}),lg=(e,t,n,u,r,o,l,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(qt.CONNECTING),!e.current)throw new Error("WebSocket failed to be created");return((e,t,n,u,r,o,l)=>{const{setLastMessage:i,setReadyState:a}=t;let s,c;return eg(e,n,i,o,l),tg(e,n,a,r,o,l),s=ng(e,n,a,u,r),c=ug(e,n,a,u,r),()=>{a(qt.CLOSING),s(),c(),e.close()}})(e.current,{setLastMessage:o,setReadyState:u},r,l.current,i,a,s)},qt={UNINSTANTIATED:-1,CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},K2=()=>E.useContext(X2),ig=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",stroke:"currentColor",...e},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"}),E.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"}),E.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"})),ag=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},E.createElement("path",{stroke:"#C3C3C3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M6 12h12"})),sg=({data:e,settings:t,className:n,isFullScreen:u})=>{const[r,o]=E.useState(!0),l=t.language,i=Dt[l]||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-le tw-bn tw-dh tw-gk tw-ha tw-nf tw-ad tw-ek tw-dk tw-un tw-vl ${n} ${u?"tw-bh tw-ra tw-q":"tw-mj tw-bm tw-hb"}`,children:[p.jsxs("div",{className:"tw-kq tw-ao tw-vf tw-yc tw-hk tw-wh tw-vh tw-nf tw-dc tw-md tw-fh",onClick:()=>{o((c=>!c))},children:[p.jsxs("div",{className:"tw-ao tw-vf tw-vj",children:[p.jsx(ig,{style:{"--bg-color":(null==t?void 0:t.headerBgColor)??"#FFFFFF"},className:"tw-wm tw-ja"}),p.jsx("span",{className:"tw-cm tw-ge",children:i.statistic})]}),p.jsx(ag,{className:"tw-wm tw-xa tw-rf "+(r?"tw-fi":"")})]}),p.jsx("div",{className:"tw-bo tw-yd tw-rf tw-mp "+(r?"tw-xc tw-sp ":"tw-wc tw-op"),children:p.jsx("div",{className:"tw-ao tw-jk tw-wj tw-ad",children:a.map(((c,d)=>p.jsxs("div",{className:"tw-ao tw-vj",children:[p.jsx("span",{className:"tw-ud tw-se tw-ke",children:c.title}),p.jsx("span",{children:c.value})]},d)))})})]})};const fg={_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 pg(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+=fg.fromNumber(Math.ceil(Math.random()*Number.MAX_SAFE_INTEGER));return t.substr(Math.floor(t.length/2-e/2),e)}(t)}`}function J2(e){const t=e.substr(0,8),n=parseInt(t,36);return new Date(n)}const ed=E.createContext();const td=()=>E.useContext(ed);const yg=(e,t)=>({handleAck:n=>{clearTimeout(t.current[n.msgID]),e((u=>mo(u,n.msgID,"error"===n.status?n.error:void 0)))},handleAction:n=>{const{action:u}=n;if("TYPING_ON"===u)e((r=>[...r,ud]));else if("TYPING_OFF"===u)e((r=>{const o=r[r.length-1];return"assistant"===(null==o?void 0:o.role)&&o.pending?r.slice(0,-1):r}));else if("MARK_READ"===u){const r=n.timestamp;e((o=>o.map((l=>new Date(l.timestamp).getTime()<=r?{...l,read:!0}:l))))}},handleMessage:n=>{e((u=>{const r=u[u.length-1];if(!r)return u;const o=nd(u),l=new Date(r.timestamp).toLocaleDateString();return[...o,Vi([n],l)[0]]}))}}),nd=e=>{const t=e[e.length-1];return"assistant"===(null==t?void 0:t.role)&&t.pending?e.slice(0,-1):e},xg=({settings:e,sessionId:t,setChatHistory:n,sendJsonMessage:u,ackListener:r,intentResponse:o})=>({sendViaIntent:(s,c)=>{console.debug("intentResponse",o[s]);const d=o[s];n((h=>[...mo(h,c),...d]))},sendViaRestApi:async(s,c,d,h,v)=>{const g=setTimeout((()=>{n((_=>[..._,ud]))}),3e3);try{const _={conversationID:t,messages:[{type:"text",message:s}]};h&&(_.greetings=d);const[S,y]=await Ui_chat(_,{"client-id":e.embedId,"session-id":t},e.restUrl);clearTimeout(g),bg(y,S,c,n,v)}catch(_){clearTimeout(g),console.error("Error fetching REST API:",_),n((S=>mo(S,c,_.message)))}},sendViaWebSocket:(s,c)=>{const d=e.chatFnVersion||"v2",h=JSON.stringify({...s.toWSJson(),version:d});u({action:"sendMessage",body:h}),r.current[c]=setTimeout((()=>{n((v=>mo(v,c,"Couldn't send")))}),2e4)}}),bg=(e,t,n,u,r)=>{200===e?u((o=>{if(!o[o.length-1])return o;const i=nd(o),a=J2(n).toLocaleDateString();return[...i,...Vi(t,a)]})):303===e?r():console.error("Unhandled status code:",e)},_g=(e,t)=>{const u=pg(new Date,3);return{newMessage:new kg(u,e,"user",t),msgID:u}},Eg=e=>{const t=e.filter((u=>u.pending));return[...e.filter((u=>!u.pending)),...t]},mo=(e,t,n)=>e.map((u=>u.msgID===t?{...u,sending:!1,pending:!1,...void 0!==n&&{error:n}}:u)),ud={content:"",role:"assistant",pending:!0};class kg{constructor(t,n,u,r,o=!0){Vd(this,"type","text"),this.msgID=t,this.content=n,this.role=u,this.timestamp=J2(t).toISOString(),this.greetings=r,this.sending=o}toJson(){return{msgID:this.msgID,type:this.type,content:this.content,role:this.role,timestamp:this.timestamp,sending:this.sending}}toWSJson(){const t={msgID:this.msgID,type:this.type,message:this.content};return this.greetings&&this.greetings.length>0&&(t.greetings=this.greetings),t}}function Cg({isFullScreen:e,isChatOpen:t,sessionId:n,settings:u,chatHistory:r=[],setChatHistory:o,callPing:l}){const{showSuggest:i,setShowSugguest:a,suggestList:s,setSuggestList:c,isLoading:d}=function(e,t){const n=E.useMemo((()=>e.defaultSuggestions?JSON.parse(e.defaultSuggestions):[]),[e.defaultSuggestions]),[u,r]=E.useState(0===t.length&&n.length>0),[o,l]=E.useState([]),[i,a]=E.useState(!1);return E.useEffect((()=>{0===t.length&&n.length>0&&(r(!0),l([]))}),[t.length,n]),E.useEffect((()=>{a(o.length<=0)}),[o]),E.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."):l([]),r(!0))}),[t,e.autoSuggestions,n,e.fetchSuggestions]),{showSuggest:u,setShowSugguest:r,suggestList:o,setSuggestList:l,isLoading:i}}(u,r),{connect:h,disconnect:v}=K2();E.useEffect((()=>(r.length>0&&h(n),()=>v())),[]);const{handleSubmit:g,message:_,setMessage:S}=function({chatHistory:e,setChatHistory:t,settings:n,sessionId:u,setShowSugguest:r}){const[o,l]=E.useState(""),i=E.useRef({}),{connect:a,sendJsonMessage:s,lastJsonMessage:c}=K2(),{intentResponse:d}=td(),h=E.useCallback((async(v,g=null)=>{v&&v.preventDefault();const _=g??o;if(!_.trim())return;r(!1);const S=0===e.length,y=S?G2(n):[];"true"!==n.restApi&&S&&a(u);const{newMessage:f,msgID:w}=_g(_,y);t((k=>Eg([...k,f.toJson()]))),l("");const x=xg({settings:n,sessionId:u,setChatHistory:t,sendJsonMessage:s,ackListener:i,intentResponse:d});if(d[_])x.sendViaIntent(_,w);else if("true"===n.restApi&&n.restUrl){const k=()=>{n.restApi="true",a(u)};await x.sendViaRestApi(_,w,y,S,k)}else x.sendViaWebSocket(f,w)}),[e,o,l,t,n,u,a,s,r,d]);return E.useEffect((()=>{if(!c)return;const v=yg(t,i);switch(c.event){case"ack":v.handleAck(c);break;case"action":v.handleAction(c);break;case"message":case"event":v.handleMessage(c);break;default:console.warn("Unhandled WebSocket event:",c.event)}}),[c,t]),{handleSubmit:h,message:o,setMessage:l}}({chatHistory:r,setChatHistory:o,settings:u,sessionId:n,setShowSugguest:a}),f=r[r.length-1],w={msgID:null==f?void 0:f.msgID,timestamp:null==f?void 0:f.timestamp,model:"gpt-4o",tool:null!=f&&f.isRAG?"RAG":"",query:null==f?void 0:f.query,documents:null!=f&&f.sources?`[${null==f?void 0:f.sources.map((x=>x.key)).join(", ")}]`:"[]",scores:null!=f&&f.sources?`[${null==f?void 0:f.sources.map((x=>x.score)).join(", ")}]`:"[]"};return p.jsxs("div",{className:"tw-nm tw-tk tw-ao tw-jk tw-ad",children:[p.jsx(W5,{sessionId:n,settings:u,history:r,isChatOpen:t,showSuggestions:i,setShowSuggesstion:a,setSuggestList:c,isFullScreen:e,submit:g,suggestList:s,isSuggestLoading:d}),p.jsx("div",{className:"tw-dk tw-ik tw-pm tw-bn tw-zp",children:p.jsx(X5,{settings:u,message:_,submit:g,onChange:x=>{S(x.target.value),"true"===u.restApi&&l()},inputDisabled:!1,buttonDisabled:!_||""===_,callPing:l})}),w.tool&&p.jsx(sg,{data:w,isFullScreen:e,settings:u,className:""})]})}function Sg({isChatOpen:e,closeChat:t,settings:n,sessionId:u,callPing:r,isFullScreen:o,isIframe:l,toggleFullScreen:i}){const{chatHistory:a,setChatHistory:s,resetChat:c,loading:d}=function(e=null,t=null){const[n,u]=E.useState(!0),[r,o]=E.useState([]),l=E.useCallback((async()=>{if(t&&e){u(!0);try{const a=await yr.getMessages({"client-id":e.embedId,"session-id":t},e.restUrl),s=Vi(a);o(s)}catch(a){console.error("Error fetching historical chats:",a)}finally{u(!1)}}}),[t,e]);return E.useEffect((()=>{l()}),[l]),{chatHistory:r,setChatHistory:o,resetChat:async()=>{await yr.resetMessages({"client-id":e.embedId,"session-id":t},e.restUrl),o([])},loading:n,refetch:l}}(n,u),h=0===a.length;return d?p.jsxs("main",{className:"tw-ao tw-jk tw-nm",children:[p.jsx(Bf,{resetChat:c,closeChat:t,settings:n}),p.jsx(Q5,{})]}):p.jsxs("main",{className:"anm-group tw-ao tw-jk tw-nm tw-yi",children:[p.jsx(Bf,{resetChat:c,closeChat:t,settings:n,sessionId:u,isNoMessage:h,isFullScreen:o,isIframe:l,toggleFullScreen:i}),p.jsx(Cg,{isFullScreen:o,isChatOpen:e,sessionId:u,settings:n,chatHistory:a,setChatHistory:s,callPing:r})]})}var rd={exports:{}};function od(){}function ld(){}ld.resetWarningCache=od;rd.exports=function(){function e(u,r,o,l,i,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:ld,resetWarningCache:od};return n.PropTypes=n,n}();const te=ve(rd.exports);var id=E,Lg=function(e){return e&&"object"==typeof e&&"default"in e?e.default:e}(id);function ad(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Og=!!(typeof window<"u"&&window.document&&window.document.createElement);var Rg=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof n<"u"&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(o){if("function"!=typeof o)throw new Error("Expected WrappedComponent to be a React component.");var i,l=[];function a(){i=e(l.map((function(c){return c.props}))),s.canUseDOM?t(i):n&&(i=n(i))}var r,s=function(c){function d(){return c.apply(this,arguments)||this}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(d,c),d.peek=function(){return i},d.rewind=function(){if(d.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var g=i;return i=void 0,l=[],g};var h=d.prototype;return h.UNSAFE_componentWillMount=function(){l.push(this),a()},h.componentDidUpdate=function(){a()},h.componentWillUnmount=function(){var g=l.indexOf(this);l.splice(g,1),a()},h.render=function(){return Lg.createElement(o,this.props)},d}(id.PureComponent);return ad(s,"displayName","SideEffect("+(((r=o).displayName||r.name||"Component")+")")),ad(s,"canUseDOM",Og),s}};const Ig=ve(Rg);var zg=typeof Element<"u",Hg="function"==typeof Map,$g="function"==typeof Set,Bg="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function go(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,u,r,o;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(u=n;0!=u--;)if(!go(e[u],t[u]))return!1;return!0}if(Hg&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(u=o.next()).done;)if(!t.has(u.value[0]))return!1;for(o=e.entries();!(u=o.next()).done;)if(!go(u.value[1],t.get(u.value[0])))return!1;return!0}if($g&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(u=o.next()).done;)if(!t.has(u.value[0]))return!1;return!0}if(Bg&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(u=n;0!=u--;)if(e[u]!==t[u])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((n=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(u=n;0!=u--;)if(!Object.prototype.hasOwnProperty.call(t,r[u]))return!1;if(zg&&e instanceof Element)return!1;for(u=n;0!=u--;)if(("_owner"!==r[u]&&"__v"!==r[u]&&"__o"!==r[u]||!e.$$typeof)&&!go(e[r[u]],t[r[u]]))return!1;return!0}return e!=e&&t!=t}const Vg=ve((function(t,n){try{return go(t,n)}catch(u){if((u.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw u}}));
37
+ */function T(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 Ga=new Set,Nu={};function Cn(e,t){Un(e,t),Un(e+"Capture",t)}function Un(e,t){for(Nu[e]=t,e=0;e<t.length;e++)Ga.add(t[e])}var Pt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),No=Object.prototype.hasOwnProperty,hp=/^[: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]*$/,Qa={},Ya={};function Fe(e,t,n,u,r,o,l){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=o,this.removeEmptyString=l}var ye={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){ye[e]=new Fe(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];ye[t]=new Fe(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){ye[e]=new Fe(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){ye[e]=new Fe(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){ye[e]=new Fe(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){ye[e]=new Fe(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){ye[e]=new Fe(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){ye[e]=new Fe(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){ye[e]=new Fe(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Mo=/[\-:]([a-z])/g;function Lo(e){return e[1].toUpperCase()}function jo(e,t,n,u){var r=ye.hasOwnProperty(t)?ye[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!!No.call(Ya,e)||!No.call(Qa,e)&&(hp.test(e)?Ya[e]=!0:(Qa[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(Mo,Lo);ye[t]=new Fe(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(Mo,Lo);ye[t]=new Fe(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(Mo,Lo);ye[t]=new Fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){ye[e]=new Fe(e,1,!1,e.toLowerCase(),null,!1,!1)})),ye.xlinkHref=new Fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){ye[e]=new Fe(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Rt=pp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Br=Symbol.for("react.element"),Vn=Symbol.for("react.portal"),Zn=Symbol.for("react.fragment"),Oo=Symbol.for("react.strict_mode"),Po=Symbol.for("react.profiler"),Xa=Symbol.for("react.provider"),Ka=Symbol.for("react.context"),Ro=Symbol.for("react.forward_ref"),Io=Symbol.for("react.suspense"),zo=Symbol.for("react.suspense_list"),Ho=Symbol.for("react.memo"),Xt=Symbol.for("react.lazy"),Ja=Symbol.for("react.offscreen"),es=Symbol.iterator;function Mu(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=es&&e[es]||e["@@iterator"])?e:null}var $o,re=Object.assign;function Lu(e){if(void 0===$o)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);$o=t&&t[1]||""}return"\n"+$o+e}var Bo=!1;function Uo(e,t){if(!e||Bo)return"";Bo=!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"),o=u.stack.split("\n"),l=r.length-1,i=o.length-1;1<=l&&0<=i&&r[l]!==o[i];)i--;for(;1<=l&&0<=i;l--,i--)if(r[l]!==o[i]){if(1!==l||1!==i)do{if(l--,0>--i||r[l]!==o[i]){var a="\n"+r[l].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}}while(1<=l&&0<=i);break}}}finally{Bo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Lu(e):""}function vp(e){switch(e.tag){case 5:return Lu(e.type);case 16:return Lu("Lazy");case 13:return Lu("Suspense");case 19:return Lu("SuspenseList");case 0:case 2:case 15:return e=Uo(e.type,!1);case 11:return e=Uo(e.type.render,!1);case 1:return e=Uo(e.type,!0);default:return""}}function Vo(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 Zn:return"Fragment";case Vn:return"Portal";case Po:return"Profiler";case Oo:return"StrictMode";case Io:return"Suspense";case zo:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Ka:return(e.displayName||"Context")+".Consumer";case Xa:return(e._context.displayName||"Context")+".Provider";case Ro:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Ho:return null!==(t=e.displayName||null)?t:Vo(e.type)||"Memo";case Xt:t=e._payload,e=e._init;try{return Vo(e(t))}catch{}}return null}function yp(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 Vo(t);case 8:return t===Oo?"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 Kt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ts(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ur(e){e._valueTracker||(e._valueTracker=function(e){var t=ts(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,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(l){u=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return u},setValue:function(l){u=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function ns(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),u="";return e&&(u=ts(e)?e.checked?"true":"false":e.value),(e=u)!==n&&(t.setValue(e),!0)}function Vr(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 Zo(e,t){var n=t.checked;return re({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function us(e,t){var n=null==t.defaultValue?"":t.defaultValue,u=null!=t.checked?t.checked:t.defaultChecked;n=Kt(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 rs(e,t){null!=(t=t.checked)&&jo(e,"checked",t,!1)}function qo(e,t){rs(e,t);var n=Kt(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")?Wo(e,t.type,n):t.hasOwnProperty("defaultValue")&&Wo(e,t.type,Kt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function os(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 Wo(e,t,n){("number"!==t||Vr(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ju=Array.isArray;function qn(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=""+Kt(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 Go(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(T(91));return re({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ls(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(T(92));if(ju(n)){if(1<n.length)throw Error(T(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Kt(n)}}function is(e,t){var n=Kt(t.value),u=Kt(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 as(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ss(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 Qo(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ss(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Zr,e,cs=(e=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Zr=Zr||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Zr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,u,r){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e);function Ou(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 Pu={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},bp=["Webkit","ms","Moz","O"];function fs(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Pu.hasOwnProperty(e)&&Pu[e]?(""+t).trim():t+"px"}function ds(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var u=0===n.indexOf("--"),r=fs(n,t[n],u);"float"===n&&(n="cssFloat"),u?e.setProperty(n,r):e[n]=r}}Object.keys(Pu).forEach((function(e){bp.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pu[t]=Pu[e]}))}));var _p=re({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 Yo(e,t){if(t){if(_p[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(T(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(T(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(T(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(T(62))}}function Xo(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 Ko=null;function Jo(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var el=null,Wn=null,Gn=null;function ps(e){if(e=rr(e)){if("function"!=typeof el)throw Error(T(280));var t=e.stateNode;t&&(t=h0(t),el(e.stateNode,e.type,t))}}function hs(e){Wn?Gn?Gn.push(e):Gn=[e]:Wn=e}function ms(){if(Wn){var e=Wn,t=Gn;if(Gn=Wn=null,ps(e),t)for(e=0;e<t.length;e++)ps(t[e])}}function gs(e,t){return e(t)}function ws(){}var tl=!1;function vs(e,t,n){if(tl)return e(t,n);tl=!0;try{return gs(e,t,n)}finally{tl=!1,(null!==Wn||null!==Gn)&&(ws(),ms())}}function Ru(e,t){var n=e.stateNode;if(null===n)return null;var u=h0(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(T(231,t,typeof n));return n}var nl=!1;if(Pt)try{var Iu={};Object.defineProperty(Iu,"passive",{get:function(){nl=!0}}),window.addEventListener("test",Iu,Iu),window.removeEventListener("test",Iu,Iu)}catch{nl=!1}function Ep(e,t,n,u,r,o,l,i,a){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var zu=!1,qr=null,Wr=!1,ul=null,kp={onError:function(e){zu=!0,qr=e}};function Cp(e,t,n,u,r,o,l,i,a){zu=!1,qr=null,Ep.apply(kp,arguments)}function Sn(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 ys(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 xs(e){if(Sn(e)!==e)throw Error(T(188))}function bs(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Sn(e)))throw Error(T(188));return t!==e?null:e}for(var n=e,u=t;;){var r=n.return;if(null===r)break;var o=r.alternate;if(null===o){if(null!==(u=r.return)){n=u;continue}break}if(r.child===o.child){for(o=r.child;o;){if(o===n)return xs(r),e;if(o===u)return xs(r),t;o=o.sibling}throw Error(T(188))}if(n.return!==u.return)n=r,u=o;else{for(var l=!1,i=r.child;i;){if(i===n){l=!0,n=r,u=o;break}if(i===u){l=!0,u=r,n=o;break}i=i.sibling}if(!l){for(i=o.child;i;){if(i===n){l=!0,n=o,u=r;break}if(i===u){l=!0,u=o,n=r;break}i=i.sibling}if(!l)throw Error(T(189))}}if(n.alternate!==u)throw Error(T(190))}if(3!==n.tag)throw Error(T(188));return n.stateNode.current===n?e:t}(e))?_s(e):null}function _s(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=_s(e);if(null!==t)return t;e=e.sibling}return null}var Es=qe.unstable_scheduleCallback,ks=qe.unstable_cancelCallback,Tp=qe.unstable_shouldYield,Dp=qe.unstable_requestPaint,ae=qe.unstable_now,Fp=qe.unstable_getCurrentPriorityLevel,rl=qe.unstable_ImmediatePriority,Cs=qe.unstable_UserBlockingPriority,Gr=qe.unstable_NormalPriority,Np=qe.unstable_LowPriority,Ss=qe.unstable_IdlePriority,Qr=null,kt=null;var pt=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(Lp(e)/jp|0)|0},Lp=Math.log,jp=Math.LN2;var Yr=64,Xr=4194304;function Hu(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 Kr(e,t){var n=e.pendingLanes;if(0===n)return 0;var u=0,r=e.suspendedLanes,o=e.pingedLanes,l=268435455&n;if(0!==l){var i=l&~r;0!==i?u=Hu(i):0!==(o&=l)&&(u=Hu(o))}else 0!==(l=n&~r)?u=Hu(l):0!==o&&(u=Hu(o));if(0===u)return 0;if(0!==t&&t!==u&&!(t&r)&&((r=u&-u)>=(o=t&-t)||16===r&&4194240&o))return t;if(4&u&&(u|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=u;0<t;)r=1<<(n=31-pt(t)),u|=e[n],t&=~r;return u}function Pp(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 ol(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function As(){var e=Yr;return!(4194240&(Yr<<=1))&&(Yr=64),e}function ll(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function $u(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-pt(t)]=n}function il(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var u=31-pt(n),r=1<<u;r&t|e[u]&t&&(e[u]|=t),n&=~r}}var Z=0;function Ts(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var Ds,al,Fs,Ns,Ms,sl=!1,Jr=[],Jt=null,en=null,tn=null,Bu=new Map,Uu=new Map,nn=[],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 Ls(e,t){switch(e){case"focusin":case"focusout":Jt=null;break;case"dragenter":case"dragleave":en=null;break;case"mouseover":case"mouseout":tn=null;break;case"pointerover":case"pointerout":Bu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Uu.delete(t.pointerId)}}function Vu(e,t,n,u,r,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:u,nativeEvent:o,targetContainers:[r]},null!==t&&(null!==(t=rr(t))&&al(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,null!==r&&-1===t.indexOf(r)&&t.push(r),e)}function js(e){var t=An(e.target);if(null!==t){var n=Sn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=ys(n)))return e.blockedOn=t,void Ms(e.priority,(function(){Fs(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 e0(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=fl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=rr(n))&&al(t),e.blockedOn=n,!1;var u=new(n=e.nativeEvent).constructor(n.type,n);Ko=u,n.target.dispatchEvent(u),Ko=null,t.shift()}return!0}function Os(e,t,n){e0(e)&&n.delete(t)}function $p(){sl=!1,null!==Jt&&e0(Jt)&&(Jt=null),null!==en&&e0(en)&&(en=null),null!==tn&&e0(tn)&&(tn=null),Bu.forEach(Os),Uu.forEach(Os)}function Zu(e,t){e.blockedOn===t&&(e.blockedOn=null,sl||(sl=!0,qe.unstable_scheduleCallback(qe.unstable_NormalPriority,$p)))}function qu(e){function t(r){return Zu(r,e)}if(0<Jr.length){Zu(Jr[0],e);for(var n=1;n<Jr.length;n++){var u=Jr[n];u.blockedOn===e&&(u.blockedOn=null)}}for(null!==Jt&&Zu(Jt,e),null!==en&&Zu(en,e),null!==tn&&Zu(tn,e),Bu.forEach(t),Uu.forEach(t),n=0;n<nn.length;n++)(u=nn[n]).blockedOn===e&&(u.blockedOn=null);for(;0<nn.length&&null===(n=nn[0]).blockedOn;)js(n),null===n.blockedOn&&nn.shift()}var Qn=Rt.ReactCurrentBatchConfig,t0=!0;function Bp(e,t,n,u){var r=Z,o=Qn.transition;Qn.transition=null;try{Z=1,cl(e,t,n,u)}finally{Z=r,Qn.transition=o}}function Up(e,t,n,u){var r=Z,o=Qn.transition;Qn.transition=null;try{Z=4,cl(e,t,n,u)}finally{Z=r,Qn.transition=o}}function cl(e,t,n,u){if(t0){var r=fl(e,t,n,u);if(null===r)Tl(e,t,u,n0,n),Ls(e,u);else if(function(e,t,n,u,r){switch(t){case"focusin":return Jt=Vu(Jt,e,t,n,u,r),!0;case"dragenter":return en=Vu(en,e,t,n,u,r),!0;case"mouseover":return tn=Vu(tn,e,t,n,u,r),!0;case"pointerover":var o=r.pointerId;return Bu.set(o,Vu(Bu.get(o)||null,e,t,n,u,r)),!0;case"gotpointercapture":return o=r.pointerId,Uu.set(o,Vu(Uu.get(o)||null,e,t,n,u,r)),!0}return!1}(r,e,t,n,u))u.stopPropagation();else if(Ls(e,u),4&t&&-1<zp.indexOf(e)){for(;null!==r;){var o=rr(r);if(null!==o&&Ds(o),null===(o=fl(e,t,n,u))&&Tl(e,t,u,n0,n),o===r)break;r=o}null!==r&&u.stopPropagation()}else Tl(e,t,u,null,n)}}var n0=null;function fl(e,t,n,u){if(n0=null,null!==(e=An(e=Jo(u))))if(null===(t=Sn(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=ys(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 n0=e,null}function Ps(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(Fp()){case rl:return 1;case Cs:return 4;case Gr:case Np:return 16;case Ss:return 536870912;default:return 16}default:return 16}}var un=null,dl=null,u0=null;function Rs(){if(u0)return u0;var e,u,t=dl,n=t.length,r="value"in un?un.value:un.textContent,o=r.length;for(e=0;e<n&&t[e]===r[e];e++);var l=n-e;for(u=1;u<=l&&t[n-u]===r[o-u];u++);return u0=r.slice(e,1<u?1-u:void 0)}function r0(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 o0(){return!0}function Is(){return!1}function We(e){function t(n,u,r,o,l){for(var i in this._reactName=n,this._targetInst=r,this.type=u,this.nativeEvent=o,this.target=l,this.currentTarget=null,e)e.hasOwnProperty(i)&&(n=e[i],this[i]=n?n(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?o0:Is,this.isPropagationStopped=Is,this}return re(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=o0)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():"unknown"!=typeof n.cancelBubble&&(n.cancelBubble=!0),this.isPropagationStopped=o0)},persist:function(){},isPersistent:o0}),t}var hl,ml,Gu,Yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pl=We(Yn),Wu=re({},Yn,{view:0,detail:0}),Vp=We(Wu),l0=re({},Wu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wl,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!==Gu&&(Gu&&"mousemove"===e.type?(hl=e.screenX-Gu.screenX,ml=e.screenY-Gu.screenY):ml=hl=0,Gu=e),hl)},movementY:function(e){return"movementY"in e?e.movementY:ml}}),zs=We(l0),qp=We(re({},l0,{dataTransfer:0})),gl=We(re({},Wu,{relatedTarget:0})),Qp=We(re({},Yn,{animationName:0,elapsedTime:0,pseudoElement:0})),Yp=re({},Yn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Xp=We(Yp),Hs=We(re({},Yn,{data:0})),Jp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},e3={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"},t3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function n3(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=t3[e])&&!!t[e]}function wl(){return n3}var u3=re({},Wu,{key:function(e){if(e.key){var t=Jp[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=r0(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?e3[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wl,charCode:function(e){return"keypress"===e.type?r0(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?r0(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),r3=We(u3),$s=We(re({},l0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),i3=We(re({},Wu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wl})),s3=We(re({},Yn,{propertyName:0,elapsedTime:0,pseudoElement:0})),c3=re({},l0,{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}),f3=We(c3),d3=[9,13,27,32],vl=Pt&&"CompositionEvent"in window,Qu=null;Pt&&"documentMode"in document&&(Qu=document.documentMode);var p3=Pt&&"TextEvent"in window&&!Qu,Bs=Pt&&(!vl||Qu&&8<Qu&&11>=Qu),Us=" ",Vs=!1;function Zs(e,t){switch(e){case"keyup":return-1!==d3.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qs(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Xn=!1;var g3={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 Ws(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!g3[e.type]:"textarea"===t}function Gs(e,t,n,u){hs(u),0<(t=f0(t,"onChange")).length&&(n=new pl("onChange","change",null,n,u),e.push({event:n,listeners:t}))}var Yu=null,Xu=null;function w3(e){dc(e,0)}function i0(e){if(ns(nu(e)))return e}function v3(e,t){if("change"===e)return t}var Qs=!1;if(Pt){var yl;if(Pt){var xl="oninput"in document;if(!xl){var Ys=document.createElement("div");Ys.setAttribute("oninput","return;"),xl="function"==typeof Ys.oninput}yl=xl}else yl=!1;Qs=yl&&(!document.documentMode||9<document.documentMode)}function Xs(){Yu&&(Yu.detachEvent("onpropertychange",Ks),Xu=Yu=null)}function Ks(e){if("value"===e.propertyName&&i0(Xu)){var t=[];Gs(t,Xu,e,Jo(e)),vs(w3,t)}}function y3(e,t,n){"focusin"===e?(Xs(),Xu=n,(Yu=t).attachEvent("onpropertychange",Ks)):"focusout"===e&&Xs()}function x3(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return i0(Xu)}function b3(e,t){if("click"===e)return i0(t)}function _3(e,t){if("input"===e||"change"===e)return i0(t)}var ht="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Ku(e,t){if(ht(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(!No.call(t,r)||!ht(e[r],t[r]))return!1}return!0}function Js(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ec(e,t){var u,n=Js(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=Js(n)}}function tc(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?tc(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function nc(){for(var e=window,t=Vr();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch{n=!1}if(!n)break;t=Vr((e=t.contentWindow).document)}return t}function bl(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 k3(e){var t=nc(),n=e.focusedElem,u=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&tc(n.ownerDocument.documentElement,n)){if(null!==u&&bl(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,o=Math.min(u.start,r);u=void 0===u.end?o:Math.min(u.end,r),!e.extend&&o>u&&(r=u,u=o,o=r),r=ec(n,o);var l=ec(n,u);r&&l&&(1!==e.rangeCount||e.anchorNode!==r.node||e.anchorOffset!==r.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&((t=t.createRange()).setStart(r.node,r.offset),e.removeAllRanges(),o>u?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.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 C3=Pt&&"documentMode"in document&&11>=document.documentMode,Kn=null,_l=null,Ju=null,El=!1;function uc(e,t,n){var u=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;El||null==Kn||Kn!==Vr(u)||("selectionStart"in(u=Kn)&&bl(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},Ju&&Ku(Ju,u)||(Ju=u,0<(u=f0(_l,"onSelect")).length&&(t=new pl("onSelect","select",null,t,n),e.push({event:t,listeners:u}),t.target=Kn)))}function a0(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Jn={animationend:a0("Animation","AnimationEnd"),animationiteration:a0("Animation","AnimationIteration"),animationstart:a0("Animation","AnimationStart"),transitionend:a0("Transition","TransitionEnd")},kl={},rc={};function s0(e){if(kl[e])return kl[e];if(!Jn[e])return e;var n,t=Jn[e];for(n in t)if(t.hasOwnProperty(n)&&n in rc)return kl[e]=t[n];return e}Pt&&(rc=document.createElement("div").style,"AnimationEvent"in window||(delete Jn.animationend.animation,delete Jn.animationiteration.animation,delete Jn.animationstart.animation),"TransitionEvent"in window||delete Jn.transitionend.transition);var oc=s0("animationend"),lc=s0("animationiteration"),ic=s0("animationstart"),ac=s0("transitionend"),sc=new Map,cc="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 rn(e,t){sc.set(e,t),Cn(t,[e])}for(var Cl=0;Cl<cc.length;Cl++){var Sl=cc[Cl];rn(Sl.toLowerCase(),"on"+(Sl[0].toUpperCase()+Sl.slice(1)))}rn(oc,"onAnimationEnd"),rn(lc,"onAnimationIteration"),rn(ic,"onAnimationStart"),rn("dblclick","onDoubleClick"),rn("focusin","onFocus"),rn("focusout","onBlur"),rn(ac,"onTransitionEnd"),Un("onMouseEnter",["mouseout","mouseover"]),Un("onMouseLeave",["mouseout","mouseover"]),Un("onPointerEnter",["pointerout","pointerover"]),Un("onPointerLeave",["pointerout","pointerover"]),Cn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Cn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Cn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Cn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Cn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Cn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var er="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(" "),T3=new Set("cancel close invalid load scroll toggle".split(" ").concat(er));function fc(e,t,n){var u=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,u,r,o,l,i,a){if(Cp.apply(this,arguments),zu){if(!zu)throw Error(T(198));var s=qr;zu=!1,qr=null,Wr||(Wr=!0,ul=s)}}(u,t,void 0,e),e.currentTarget=null}function dc(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 o=void 0;if(t)for(var l=u.length-1;0<=l;l--){var i=u[l],a=i.instance,s=i.currentTarget;if(i=i.listener,a!==o&&r.isPropagationStopped())break e;fc(r,i,s),o=a}else for(l=0;l<u.length;l++){if(a=(i=u[l]).instance,s=i.currentTarget,i=i.listener,a!==o&&r.isPropagationStopped())break e;fc(r,i,s),o=a}}}if(Wr)throw e=ul,Wr=!1,ul=null,e}function K(e,t){var n=t[jl];void 0===n&&(n=t[jl]=new Set);var u=e+"__bubble";n.has(u)||(pc(t,e,2,!1),n.add(u))}function Al(e,t,n){var u=0;t&&(u|=4),pc(n,e,u,t)}var c0="_reactListening"+Math.random().toString(36).slice(2);function tr(e){if(!e[c0]){e[c0]=!0,Ga.forEach((function(n){"selectionchange"!==n&&(T3.has(n)||Al(n,!1,e),Al(n,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[c0]||(t[c0]=!0,Al("selectionchange",!1,t))}}function pc(e,t,n,u){switch(Ps(t)){case 1:var r=Bp;break;case 4:r=Up;break;default:r=cl}n=r.bind(null,t,n,e),r=void 0,!nl||"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 Tl(e,t,n,u,r){var o=u;if(!(1&t||2&t||null===u))e:for(;;){if(null===u)return;var l=u.tag;if(3===l||4===l){var i=u.stateNode.containerInfo;if(i===r||8===i.nodeType&&i.parentNode===r)break;if(4===l)for(l=u.return;null!==l;){var a=l.tag;if((3===a||4===a)&&((a=l.stateNode.containerInfo)===r||8===a.nodeType&&a.parentNode===r))return;l=l.return}for(;null!==i;){if(null===(l=An(i)))return;if(5===(a=l.tag)||6===a){u=o=l;continue e}i=i.parentNode}}u=u.return}vs((function(){var s=o,c=Jo(n),d=[];e:{var h=sc.get(e);if(void 0!==h){var v=pl,g=e;switch(e){case"keypress":if(0===r0(n))break e;case"keydown":case"keyup":v=r3;break;case"focusin":g="focus",v=gl;break;case"focusout":g="blur",v=gl;break;case"beforeblur":case"afterblur":v=gl;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":v=zs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=qp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=i3;break;case oc:case lc:case ic:v=Qp;break;case ac:v=s3;break;case"scroll":v=Vp;break;case"wheel":v=f3;break;case"copy":case"cut":case"paste":v=Xp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=$s}var _=!!(4&t),S=!_&&"scroll"===e,y=_?null!==h?h+"Capture":null:h;_=[];for(var w,f=s;null!==f;){var x=(w=f).stateNode;if(5===w.tag&&null!==x&&(w=x,null!==y&&(null!=(x=Ru(f,y))&&_.push(nr(f,x,w)))),S)break;f=f.return}0<_.length&&(h=new v(h,g,null,n,c),d.push({event:h,listeners:_}))}}if(!(7&t)){if(v="mouseout"===e||"pointerout"===e,(!(h="mouseover"===e||"pointerover"===e)||n===Ko||!(g=n.relatedTarget||n.fromElement)||!An(g)&&!g[It])&&(v||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,v?(v=s,null!==(g=(g=n.relatedTarget||n.toElement)?An(g):null)&&(g!==(S=Sn(g))||5!==g.tag&&6!==g.tag)&&(g=null)):(v=null,g=s),v!==g)){if(_=zs,x="onMouseLeave",y="onMouseEnter",f="mouse",("pointerout"===e||"pointerover"===e)&&(_=$s,x="onPointerLeave",y="onPointerEnter",f="pointer"),S=null==v?h:nu(v),w=null==g?h:nu(g),(h=new _(x,f+"leave",v,n,c)).target=S,h.relatedTarget=w,x=null,An(c)===s&&((_=new _(y,f+"enter",g,n,c)).target=w,_.relatedTarget=S,x=_),S=x,v&&g)t:{for(y=g,f=0,w=_=v;w;w=eu(w))f++;for(w=0,x=y;x;x=eu(x))w++;for(;0<f-w;)_=eu(_),f--;for(;0<w-f;)y=eu(y),w--;for(;f--;){if(_===y||null!==y&&_===y.alternate)break t;_=eu(_),y=eu(y)}_=null}else _=null;null!==v&&hc(d,h,v,_,!1),null!==g&&null!==S&&hc(d,S,g,_,!0)}if("select"===(v=(h=s?nu(s):window).nodeName&&h.nodeName.toLowerCase())||"input"===v&&"file"===h.type)var k=v3;else if(Ws(h))if(Qs)k=_3;else{k=x3;var C=y3}else(v=h.nodeName)&&"input"===v.toLowerCase()&&("checkbox"===h.type||"radio"===h.type)&&(k=b3);switch(k&&(k=k(e,s))?Gs(d,k,n,c):(C&&C(e,h,s),"focusout"===e&&(C=h._wrapperState)&&C.controlled&&"number"===h.type&&Wo(h,"number",h.value)),C=s?nu(s):window,e){case"focusin":(Ws(C)||"true"===C.contentEditable)&&(Kn=C,_l=s,Ju=null);break;case"focusout":Ju=_l=Kn=null;break;case"mousedown":El=!0;break;case"contextmenu":case"mouseup":case"dragend":El=!1,uc(d,n,c);break;case"selectionchange":if(C3)break;case"keydown":case"keyup":uc(d,n,c)}var A;if(vl)e:{switch(e){case"compositionstart":var F="onCompositionStart";break e;case"compositionend":F="onCompositionEnd";break e;case"compositionupdate":F="onCompositionUpdate";break e}F=void 0}else Xn?Zs(e,n)&&(F="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(F="onCompositionStart");F&&(Bs&&"ko"!==n.locale&&(Xn||"onCompositionStart"!==F?"onCompositionEnd"===F&&Xn&&(A=Rs()):(dl="value"in(un=c)?un.value:un.textContent,Xn=!0)),0<(C=f0(s,F)).length&&(F=new Hs(F,e,null,n,c),d.push({event:F,listeners:C}),A?F.data=A:null!==(A=qs(n))&&(F.data=A))),(A=p3?function(e,t){switch(e){case"compositionend":return qs(t);case"keypress":return 32!==t.which?null:(Vs=!0,Us);case"textInput":return(e=t.data)===Us&&Vs?null:e;default:return null}}(e,n):function(e,t){if(Xn)return"compositionend"===e||!vl&&Zs(e,t)?(e=Rs(),u0=dl=un=null,Xn=!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 Bs&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(s=f0(s,"onBeforeInput")).length&&(c=new Hs("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:s}),c.data=A))}dc(d,t)}))}function nr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function f0(e,t){for(var n=t+"Capture",u=[];null!==e;){var r=e,o=r.stateNode;5===r.tag&&null!==o&&(r=o,null!=(o=Ru(e,n))&&u.unshift(nr(e,o,r)),null!=(o=Ru(e,t))&&u.push(nr(e,o,r))),e=e.return}return u}function eu(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function hc(e,t,n,u,r){for(var o=t._reactName,l=[];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=Ru(n,o))&&l.unshift(nr(n,a,i)):r||null!=(a=Ru(n,o))&&l.push(nr(n,a,i))),n=n.return}0!==l.length&&e.push({event:t,listeners:l})}var D3=/\r\n?/g,F3=/\u0000|\uFFFD/g;function mc(e){return("string"==typeof e?e:""+e).replace(D3,"\n").replace(F3,"")}function d0(e,t,n){if(t=mc(t),mc(e)!==t&&n)throw Error(T(425))}function p0(){}var Dl=null,Fl=null;function Nl(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 Ml="function"==typeof setTimeout?setTimeout:void 0,N3="function"==typeof clearTimeout?clearTimeout:void 0,gc="function"==typeof Promise?Promise:void 0,M3="function"==typeof queueMicrotask?queueMicrotask:typeof gc<"u"?function(e){return gc.resolve(null).then(e).catch(L3)}:Ml;function L3(e){setTimeout((function(){throw e}))}function Ll(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 qu(t);u--}else"$"!==n&&"$?"!==n&&"$!"!==n||u++;n=r}while(n);qu(t)}function on(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 wc(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 tu=Math.random().toString(36).slice(2),Ct="__reactFiber$"+tu,ur="__reactProps$"+tu,It="__reactContainer$"+tu,jl="__reactEvents$"+tu,j3="__reactListeners$"+tu,O3="__reactHandles$"+tu;function An(e){var t=e[Ct];if(t)return t;for(var n=e.parentNode;n;){if(t=n[It]||n[Ct]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=wc(e);null!==e;){if(n=e[Ct])return n;e=wc(e)}return t}n=(e=n).parentNode}return null}function rr(e){return!(e=e[Ct]||e[It])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function nu(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(T(33))}function h0(e){return e[ur]||null}var Ol=[],uu=-1;function ln(e){return{current:e}}function J(e){0>uu||(e.current=Ol[uu],Ol[uu]=null,uu--)}function G(e,t){uu++,Ol[uu]=e.current,e.current=t}var an={},ke=ln(an),Pe=ln(!1),Tn=an;function ru(e,t){var n=e.type.contextTypes;if(!n)return an;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var o,r={};for(o in n)r[o]=t[o];return u&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=r),r}function Re(e){return null!=(e=e.childContextTypes)}function m0(){J(Pe),J(ke)}function vc(e,t,n){if(ke.current!==an)throw Error(T(168));G(ke,t),G(Pe,n)}function yc(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(T(108,yp(e)||"Unknown",r));return re({},n,u)}function g0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||an,Tn=ke.current,G(ke,e),G(Pe,Pe.current),!0}function xc(e,t,n){var u=e.stateNode;if(!u)throw Error(T(169));n?(e=yc(e,t,Tn),u.__reactInternalMemoizedMergedChildContext=e,J(Pe),J(ke),G(ke,e)):J(Pe),G(Pe,n)}var zt=null,w0=!1,Pl=!1;function bc(e){null===zt?zt=[e]:zt.push(e)}function sn(){if(!Pl&&null!==zt){Pl=!0;var e=0,t=Z;try{var n=zt;for(Z=1;e<n.length;e++){var u=n[e];do{u=u(!0)}while(null!==u)}zt=null,w0=!1}catch(r){throw null!==zt&&(zt=zt.slice(e+1)),Es(rl,sn),r}finally{Z=t,Pl=!1}}return null}var ou=[],lu=0,v0=null,y0=0,tt=[],nt=0,Dn=null,Ht=1,$t="";function Fn(e,t){ou[lu++]=y0,ou[lu++]=v0,v0=e,y0=t}function _c(e,t,n){tt[nt++]=Ht,tt[nt++]=$t,tt[nt++]=Dn,Dn=e;var u=Ht;e=$t;var r=32-pt(u)-1;u&=~(1<<r),n+=1;var o=32-pt(t)+r;if(30<o){var l=r-r%5;o=(u&(1<<l)-1).toString(32),u>>=l,r-=l,Ht=1<<32-pt(t)+r|n<<r|u,$t=o+e}else Ht=1<<o|n<<r|u,$t=e}function Rl(e){null!==e.return&&(Fn(e,1),_c(e,1,0))}function Il(e){for(;e===v0;)v0=ou[--lu],ou[lu]=null,y0=ou[--lu],ou[lu]=null;for(;e===Dn;)Dn=tt[--nt],tt[nt]=null,$t=tt[--nt],tt[nt]=null,Ht=tt[--nt],tt[nt]=null}var Ge=null,Qe=null,ee=!1,mt=null;function Ec(e,t){var n=lt(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 kc(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,Ge=e,Qe=on(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Ge=e,Qe=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Dn?{id:Ht,overflow:$t}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=lt(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Ge=e,Qe=null,!0);default:return!1}}function zl(e){return!(!(1&e.mode)||128&e.flags)}function Hl(e){if(ee){var t=Qe;if(t){var n=t;if(!kc(e,t)){if(zl(e))throw Error(T(418));t=on(n.nextSibling);var u=Ge;t&&kc(e,t)?Ec(u,n):(e.flags=-4097&e.flags|2,ee=!1,Ge=e)}}else{if(zl(e))throw Error(T(418));e.flags=-4097&e.flags|2,ee=!1,Ge=e}}}function Cc(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ge=e}function x0(e){if(e!==Ge)return!1;if(!ee)return Cc(e),ee=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Nl(e.type,e.memoizedProps)),t&&(t=Qe)){if(zl(e))throw Sc(),Error(T(418));for(;t;)Ec(e,t),t=on(t.nextSibling)}if(Cc(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(T(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Qe=on(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Qe=null}}else Qe=Ge?on(e.stateNode.nextSibling):null;return!0}function Sc(){for(var e=Qe;e;)e=on(e.nextSibling)}function iu(){Qe=Ge=null,ee=!1}function $l(e){null===mt?mt=[e]:mt.push(e)}var R3=Rt.ReactCurrentBatchConfig;function or(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(T(309));var u=n.stateNode}if(!u)throw Error(T(147,e));var r=u,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(l){var i=r.refs;null===l?delete i[o]:i[o]=l})._stringRef=o,t)}if("string"!=typeof e)throw Error(T(284));if(!n._owner)throw Error(T(290,e))}return e}function b0(e,t){throw e=Object.prototype.toString.call(t),Error(T(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ac(e){return(0,e._init)(e._payload)}function Tc(e){function t(y,f){if(e){var w=y.deletions;null===w?(y.deletions=[f],y.flags|=16):w.push(f)}}function n(y,f){if(!e)return null;for(;null!==f;)t(y,f),f=f.sibling;return null}function u(y,f){for(y=new Map;null!==f;)null!==f.key?y.set(f.key,f):y.set(f.index,f),f=f.sibling;return y}function r(y,f){return(y=wn(y,f)).index=0,y.sibling=null,y}function o(y,f,w){return y.index=w,e?null!==(w=y.alternate)?(w=w.index)<f?(y.flags|=2,f):w:(y.flags|=2,f):(y.flags|=1048576,f)}function l(y){return e&&null===y.alternate&&(y.flags|=2),y}function i(y,f,w,x){return null===f||6!==f.tag?((f=Mi(w,y.mode,x)).return=y,f):((f=r(f,w)).return=y,f)}function a(y,f,w,x){var k=w.type;return k===Zn?c(y,f,w.props.children,x,w.key):null!==f&&(f.elementType===k||"object"==typeof k&&null!==k&&k.$$typeof===Xt&&Ac(k)===f.type)?((x=r(f,w.props)).ref=or(y,f,w),x.return=y,x):((x=Z0(w.type,w.key,w.props,null,y.mode,x)).ref=or(y,f,w),x.return=y,x)}function s(y,f,w,x){return null===f||4!==f.tag||f.stateNode.containerInfo!==w.containerInfo||f.stateNode.implementation!==w.implementation?((f=Li(w,y.mode,x)).return=y,f):((f=r(f,w.children||[])).return=y,f)}function c(y,f,w,x,k){return null===f||7!==f.tag?((f=In(w,y.mode,x,k)).return=y,f):((f=r(f,w)).return=y,f)}function d(y,f,w){if("string"==typeof f&&""!==f||"number"==typeof f)return(f=Mi(""+f,y.mode,w)).return=y,f;if("object"==typeof f&&null!==f){switch(f.$$typeof){case Br:return(w=Z0(f.type,f.key,f.props,null,y.mode,w)).ref=or(y,null,f),w.return=y,w;case Vn:return(f=Li(f,y.mode,w)).return=y,f;case Xt:return d(y,(0,f._init)(f._payload),w)}if(ju(f)||Mu(f))return(f=In(f,y.mode,w,null)).return=y,f;b0(y,f)}return null}function h(y,f,w,x){var k=null!==f?f.key:null;if("string"==typeof w&&""!==w||"number"==typeof w)return null!==k?null:i(y,f,""+w,x);if("object"==typeof w&&null!==w){switch(w.$$typeof){case Br:return w.key===k?a(y,f,w,x):null;case Vn:return w.key===k?s(y,f,w,x):null;case Xt:return h(y,f,(k=w._init)(w._payload),x)}if(ju(w)||Mu(w))return null!==k?null:c(y,f,w,x,null);b0(y,w)}return null}function v(y,f,w,x,k){if("string"==typeof x&&""!==x||"number"==typeof x)return i(f,y=y.get(w)||null,""+x,k);if("object"==typeof x&&null!==x){switch(x.$$typeof){case Br:return a(f,y=y.get(null===x.key?w:x.key)||null,x,k);case Vn:return s(f,y=y.get(null===x.key?w:x.key)||null,x,k);case Xt:return v(y,f,w,(0,x._init)(x._payload),k)}if(ju(x)||Mu(x))return c(f,y=y.get(w)||null,x,k,null);b0(f,x)}return null}return function S(y,f,w,x){if("object"==typeof w&&null!==w&&w.type===Zn&&null===w.key&&(w=w.props.children),"object"==typeof w&&null!==w){switch(w.$$typeof){case Br:e:{for(var k=w.key,C=f;null!==C;){if(C.key===k){if((k=w.type)===Zn){if(7===C.tag){n(y,C.sibling),(f=r(C,w.props.children)).return=y,y=f;break e}}else if(C.elementType===k||"object"==typeof k&&null!==k&&k.$$typeof===Xt&&Ac(k)===C.type){n(y,C.sibling),(f=r(C,w.props)).ref=or(y,C,w),f.return=y,y=f;break e}n(y,C);break}t(y,C),C=C.sibling}w.type===Zn?((f=In(w.props.children,y.mode,x,w.key)).return=y,y=f):((x=Z0(w.type,w.key,w.props,null,y.mode,x)).ref=or(y,f,w),x.return=y,y=x)}return l(y);case Vn:e:{for(C=w.key;null!==f;){if(f.key===C){if(4===f.tag&&f.stateNode.containerInfo===w.containerInfo&&f.stateNode.implementation===w.implementation){n(y,f.sibling),(f=r(f,w.children||[])).return=y,y=f;break e}n(y,f);break}t(y,f),f=f.sibling}(f=Li(w,y.mode,x)).return=y,y=f}return l(y);case Xt:return S(y,f,(C=w._init)(w._payload),x)}if(ju(w))return function(y,f,w,x){for(var k=null,C=null,A=f,F=f=0,$=null;null!==A&&F<w.length;F++){A.index>F?($=A,A=null):$=A.sibling;var P=h(y,A,w[F],x);if(null===P){null===A&&(A=$);break}e&&A&&null===P.alternate&&t(y,A),f=o(P,f,F),null===C?k=P:C.sibling=P,C=P,A=$}if(F===w.length)return n(y,A),ee&&Fn(y,F),k;if(null===A){for(;F<w.length;F++)null!==(A=d(y,w[F],x))&&(f=o(A,f,F),null===C?k=A:C.sibling=A,C=A);return ee&&Fn(y,F),k}for(A=u(y,A);F<w.length;F++)null!==($=v(A,y,F,w[F],x))&&(e&&null!==$.alternate&&A.delete(null===$.key?F:$.key),f=o($,f,F),null===C?k=$:C.sibling=$,C=$);return e&&A.forEach((function(O){return t(y,O)})),ee&&Fn(y,F),k}(y,f,w,x);if(Mu(w))return function(y,f,w,x){var k=Mu(w);if("function"!=typeof k)throw Error(T(150));if(null==(w=k.call(w)))throw Error(T(151));for(var C=k=null,A=f,F=f=0,$=null,P=w.next();null!==A&&!P.done;F++,P=w.next()){A.index>F?($=A,A=null):$=A.sibling;var O=h(y,A,P.value,x);if(null===O){null===A&&(A=$);break}e&&A&&null===O.alternate&&t(y,A),f=o(O,f,F),null===C?k=O:C.sibling=O,C=O,A=$}if(P.done)return n(y,A),ee&&Fn(y,F),k;if(null===A){for(;!P.done;F++,P=w.next())null!==(P=d(y,P.value,x))&&(f=o(P,f,F),null===C?k=P:C.sibling=P,C=P);return ee&&Fn(y,F),k}for(A=u(y,A);!P.done;F++,P=w.next())null!==(P=v(A,y,F,P.value,x))&&(e&&null!==P.alternate&&A.delete(null===P.key?F:P.key),f=o(P,f,F),null===C?k=P:C.sibling=P,C=P);return e&&A.forEach((function(de){return t(y,de)})),ee&&Fn(y,F),k}(y,f,w,x);b0(y,w)}return"string"==typeof w&&""!==w||"number"==typeof w?(w=""+w,null!==f&&6===f.tag?(n(y,f.sibling),(f=r(f,w)).return=y,y=f):(n(y,f),(f=Mi(w,y.mode,x)).return=y,y=f),l(y)):n(y,f)}}var au=Tc(!0),Dc=Tc(!1),_0=ln(null),E0=null,su=null,Bl=null;function Ul(){Bl=su=E0=null}function Vl(e){var t=_0.current;J(_0),e._currentValue=t}function Zl(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 cu(e,t){E0=e,Bl=su=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.lanes&t&&(Ie=!0),e.firstContext=null)}function ut(e){var t=e._currentValue;if(Bl!==e)if(e={context:e,memoizedValue:t,next:null},null===su){if(null===E0)throw Error(T(308));su=e,E0.dependencies={lanes:0,firstContext:e}}else su=su.next=e;return t}var Nn=null;function ql(e){null===Nn?Nn=[e]:Nn.push(e)}function Fc(e,t,n,u){var r=t.interleaved;return null===r?(n.next=n,ql(t)):(n.next=r.next,r.next=n),t.interleaved=n,Bt(e,u)}function Bt(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 cn=!1;function Wl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Nc(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 Ut(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fn(e,t,n){var u=e.updateQueue;if(null===u)return null;if(u=u.shared,2&V){var r=u.pending;return null===r?t.next=t:(t.next=r.next,r.next=t),u.pending=t,Bt(e,n)}return null===(r=u.interleaved)?(t.next=t,ql(u)):(t.next=r.next,r.next=t),u.interleaved=t,Bt(e,n)}function k0(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var u=t.lanes;n|=u&=e.pendingLanes,t.lanes=n,il(e,n)}}function Mc(e,t){var n=e.updateQueue,u=e.alternate;if(null!==u&&n===(u=u.updateQueue)){var r=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?r=o=l:o=o.next=l,n=n.next}while(null!==n);null===o?r=o=t:o=o.next=t}else r=o=t;return n={baseState:u.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:u.shared,effects:u.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function C0(e,t,n,u){var r=e.updateQueue;cn=!1;var o=r.firstBaseUpdate,l=r.lastBaseUpdate,i=r.shared.pending;if(null!==i){r.shared.pending=null;var a=i,s=a.next;a.next=null,null===l?o=s:l.next=s,l=a;var c=e.alternate;null!==c&&((i=(c=c.updateQueue).lastBaseUpdate)!==l&&(null===i?c.firstBaseUpdate=s:i.next=s,c.lastBaseUpdate=a))}if(null!==o){var d=r.baseState;for(l=0,c=s=a=null,i=o;;){var h=i.lane,v=i.eventTime;if((u&h)===h){null!==c&&(c=c.next={eventTime:v,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var g=e,_=i;switch(h=t,v=n,_.tag){case 1:if("function"==typeof(g=_.payload)){d=g.call(v,d,h);break e}d=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(h="function"==typeof(g=_.payload)?g.call(v,d,h):g))break e;d=re({},d,h);break e;case 2:cn=!0}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(h=r.effects)?r.effects=[i]:h.push(i))}else v={eventTime:v,lane:h,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(s=c=v,a=d):c=c.next=v,l|=h;if(null===(i=i.next)){if(null===(i=r.shared.pending))break;i=(h=i).next,h.next=null,r.lastBaseUpdate=h,r.shared.pending=null}}if(null===c&&(a=d),r.baseState=a,r.firstBaseUpdate=s,r.lastBaseUpdate=c,null!==(t=r.shared.interleaved)){r=t;do{l|=r.lane,r=r.next}while(r!==t)}else null===o&&(r.shared.lanes=0);jn|=l,e.lanes=l,e.memoizedState=d}}function Lc(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(T(191,r));r.call(u)}}}var lr={},St=ln(lr),ir=ln(lr),ar=ln(lr);function Mn(e){if(e===lr)throw Error(T(174));return e}function Gl(e,t){switch(G(ar,t),G(ir,e),G(St,lr),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Qo(null,"");break;default:t=Qo(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}J(St),G(St,t)}function fu(){J(St),J(ir),J(ar)}function jc(e){Mn(ar.current);var t=Mn(St.current),n=Qo(t,e.type);t!==n&&(G(ir,e),G(St,n))}function Ql(e){ir.current===e&&(J(St),J(ir))}var oe=ln(0);function S0(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 Yl=[];function Xl(){for(var e=0;e<Yl.length;e++)Yl[e]._workInProgressVersionPrimary=null;Yl.length=0}var A0=Rt.ReactCurrentDispatcher,Kl=Rt.ReactCurrentBatchConfig,Ln=0,le=null,ce=null,pe=null,T0=!1,sr=!1,cr=0,I3=0;function Ce(){throw Error(T(321))}function Jl(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ht(e[n],t[n]))return!1;return!0}function ei(e,t,n,u,r,o){if(Ln=o,le=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,A0.current=null===e||null===e.memoizedState?B3:U3,e=n(u,r),sr){o=0;do{if(sr=!1,cr=0,25<=o)throw Error(T(301));o+=1,pe=ce=null,t.updateQueue=null,A0.current=V3,e=n(u,r)}while(sr)}if(A0.current=N0,t=null!==ce&&null!==ce.next,Ln=0,pe=ce=le=null,T0=!1,t)throw Error(T(300));return e}function ti(){var e=0!==cr;return cr=0,e}function At(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===pe?le.memoizedState=pe=e:pe=pe.next=e,pe}function rt(){if(null===ce){var e=le.alternate;e=null!==e?e.memoizedState:null}else e=ce.next;var t=null===pe?le.memoizedState:pe.next;if(null!==t)pe=t,ce=e;else{if(null===e)throw Error(T(310));e={memoizedState:(ce=e).memoizedState,baseState:ce.baseState,baseQueue:ce.baseQueue,queue:ce.queue,next:null},null===pe?le.memoizedState=pe=e:pe=pe.next=e}return pe}function fr(e,t){return"function"==typeof t?t(e):t}function ni(e){var t=rt(),n=t.queue;if(null===n)throw Error(T(311));n.lastRenderedReducer=e;var u=ce,r=u.baseQueue,o=n.pending;if(null!==o){if(null!==r){var l=r.next;r.next=o.next,o.next=l}u.baseQueue=r=o,n.pending=null}if(null!==r){o=r.next,u=u.baseState;var i=l=null,a=null,s=o;do{var c=s.lane;if((Ln&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 d={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};null===a?(i=a=d,l=u):a=a.next=d,le.lanes|=c,jn|=c}s=s.next}while(null!==s&&s!==o);null===a?l=u:a.next=i,ht(u,t.memoizedState)||(Ie=!0),t.memoizedState=u,t.baseState=l,t.baseQueue=a,n.lastRenderedState=u}if(null!==(e=n.interleaved)){r=e;do{o=r.lane,le.lanes|=o,jn|=o,r=r.next}while(r!==e)}else null===r&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ui(e){var t=rt(),n=t.queue;if(null===n)throw Error(T(311));n.lastRenderedReducer=e;var u=n.dispatch,r=n.pending,o=t.memoizedState;if(null!==r){n.pending=null;var l=r=r.next;do{o=e(o,l.action),l=l.next}while(l!==r);ht(o,t.memoizedState)||(Ie=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,u]}function Oc(){}function Pc(e,t){var n=le,u=rt(),r=t(),o=!ht(u.memoizedState,r);if(o&&(u.memoizedState=r,Ie=!0),u=u.queue,ri(zc.bind(null,n,u,e),[e]),u.getSnapshot!==t||o||null!==pe&&1&pe.memoizedState.tag){if(n.flags|=2048,dr(9,Ic.bind(null,n,u,r,t),void 0,null),null===he)throw Error(T(349));30&Ln||Rc(n,t,r)}return r}function Rc(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=le.updateQueue)?(t={lastEffect:null,stores:null},le.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,Hc(t)&&$c(e)}function zc(e,t,n){return n((function(){Hc(t)&&$c(e)}))}function Hc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ht(e,n)}catch{return!0}}function $c(e){var t=Bt(e,1);null!==t&&yt(t,e,1,-1)}function Bc(e){var t=At();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:fr,lastRenderedState:e},t.queue=e,e=e.dispatch=$3.bind(null,le,e),[t.memoizedState,e]}function dr(e,t,n,u){return e={tag:e,create:t,destroy:n,deps:u,next:null},null===(t=le.updateQueue)?(t={lastEffect:null,stores:null},le.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 Uc(){return rt().memoizedState}function D0(e,t,n,u){var r=At();le.flags|=e,r.memoizedState=dr(1|t,n,void 0,void 0===u?null:u)}function F0(e,t,n,u){var r=rt();u=void 0===u?null:u;var o=void 0;if(null!==ce){var l=ce.memoizedState;if(o=l.destroy,null!==u&&Jl(u,l.deps))return void(r.memoizedState=dr(t,n,o,u))}le.flags|=e,r.memoizedState=dr(1|t,n,o,u)}function Vc(e,t){return D0(8390656,8,e,t)}function ri(e,t){return F0(2048,8,e,t)}function Zc(e,t){return F0(4,2,e,t)}function qc(e,t){return F0(4,4,e,t)}function Wc(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 Gc(e,t,n){return n=null!=n?n.concat([e]):null,F0(4,4,Wc.bind(null,t,e),n)}function oi(){}function Qc(e,t){var n=rt();t=void 0===t?null:t;var u=n.memoizedState;return null!==u&&null!==t&&Jl(t,u[1])?u[0]:(n.memoizedState=[e,t],e)}function Yc(e,t){var n=rt();t=void 0===t?null:t;var u=n.memoizedState;return null!==u&&null!==t&&Jl(t,u[1])?u[0]:(e=e(),n.memoizedState=[e,t],e)}function Xc(e,t,n){return 21&Ln?(ht(n,t)||(n=As(),le.lanes|=n,jn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ie=!0),e.memoizedState=n)}function z3(e,t){var n=Z;Z=0!==n&&4>n?n:4,e(!0);var u=Kl.transition;Kl.transition={};try{e(!1),t()}finally{Z=n,Kl.transition=u}}function Kc(){return rt().memoizedState}function H3(e,t,n){var u=mn(e);if(n={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null},Jc(e))e1(t,n);else if(null!==(n=Fc(e,t,n,u))){yt(n,e,u,Me()),t1(n,t,u)}}function $3(e,t,n){var u=mn(e),r={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null};if(Jc(e))e1(t,r);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var l=t.lastRenderedState,i=o(l,n);if(r.hasEagerState=!0,r.eagerState=i,ht(i,l)){var a=t.interleaved;return null===a?(r.next=r,ql(t)):(r.next=a.next,a.next=r),void(t.interleaved=r)}}catch{}null!==(n=Fc(e,t,r,u))&&(yt(n,e,u,r=Me()),t1(n,t,u))}}function Jc(e){var t=e.alternate;return e===le||null!==t&&t===le}function e1(e,t){sr=T0=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function t1(e,t,n){if(4194240&n){var u=t.lanes;n|=u&=e.pendingLanes,t.lanes=n,il(e,n)}}var N0={readContext:ut,useCallback:Ce,useContext:Ce,useEffect:Ce,useImperativeHandle:Ce,useInsertionEffect:Ce,useLayoutEffect:Ce,useMemo:Ce,useReducer:Ce,useRef:Ce,useState:Ce,useDebugValue:Ce,useDeferredValue:Ce,useTransition:Ce,useMutableSource:Ce,useSyncExternalStore:Ce,useId:Ce,unstable_isNewReconciler:!1},B3={readContext:ut,useCallback:function(e,t){return At().memoizedState=[e,void 0===t?null:t],e},useContext:ut,useEffect:Vc,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,D0(4194308,4,Wc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return D0(4194308,4,e,t)},useInsertionEffect:function(e,t){return D0(4,2,e,t)},useMemo:function(e,t){var n=At();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var u=At();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=H3.bind(null,le,e),[u.memoizedState,e]},useRef:function(e){return e={current:e},At().memoizedState=e},useState:Bc,useDebugValue:oi,useDeferredValue:function(e){return At().memoizedState=e},useTransition:function(){var e=Bc(!1),t=e[0];return e=z3.bind(null,e[1]),At().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var u=le,r=At();if(ee){if(void 0===n)throw Error(T(407));n=n()}else{if(n=t(),null===he)throw Error(T(349));30&Ln||Rc(u,t,n)}r.memoizedState=n;var o={value:n,getSnapshot:t};return r.queue=o,Vc(zc.bind(null,u,o,e),[e]),u.flags|=2048,dr(9,Ic.bind(null,u,o,n,t),void 0,null),n},useId:function(){var e=At(),t=he.identifierPrefix;if(ee){var n=$t;t=":"+t+"R"+(n=(Ht&~(1<<32-pt(Ht)-1)).toString(32)+n),0<(n=cr++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=I3++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},U3={readContext:ut,useCallback:Qc,useContext:ut,useEffect:ri,useImperativeHandle:Gc,useInsertionEffect:Zc,useLayoutEffect:qc,useMemo:Yc,useReducer:ni,useRef:Uc,useState:function(){return ni(fr)},useDebugValue:oi,useDeferredValue:function(e){return Xc(rt(),ce.memoizedState,e)},useTransition:function(){return[ni(fr)[0],rt().memoizedState]},useMutableSource:Oc,useSyncExternalStore:Pc,useId:Kc,unstable_isNewReconciler:!1},V3={readContext:ut,useCallback:Qc,useContext:ut,useEffect:ri,useImperativeHandle:Gc,useInsertionEffect:Zc,useLayoutEffect:qc,useMemo:Yc,useReducer:ui,useRef:Uc,useState:function(){return ui(fr)},useDebugValue:oi,useDeferredValue:function(e){var t=rt();return null===ce?t.memoizedState=e:Xc(t,ce.memoizedState,e)},useTransition:function(){return[ui(fr)[0],rt().memoizedState]},useMutableSource:Oc,useSyncExternalStore:Pc,useId:Kc,unstable_isNewReconciler:!1};function gt(e,t){if(e&&e.defaultProps){for(var n in t=re({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function li(e,t,n,u){n=null==(n=n(u,t=e.memoizedState))?t:re({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var M0={isMounted:function(e){return!!(e=e._reactInternals)&&Sn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var u=Me(),r=mn(e),o=Ut(u,r);o.payload=t,null!=n&&(o.callback=n),null!==(t=fn(e,o,r))&&(yt(t,e,r,u),k0(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var u=Me(),r=mn(e),o=Ut(u,r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=fn(e,o,r))&&(yt(t,e,r,u),k0(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Me(),u=mn(e),r=Ut(n,u);r.tag=2,null!=t&&(r.callback=t),null!==(t=fn(e,r,u))&&(yt(t,e,u,n),k0(t,e,u))}};function n1(e,t,n,u,r,o,l){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(u,o,l):!t.prototype||!t.prototype.isPureReactComponent||(!Ku(n,u)||!Ku(r,o))}function u1(e,t,n){var u=!1,r=an,o=t.contextType;return"object"==typeof o&&null!==o?o=ut(o):(r=Re(t)?Tn:ke.current,o=(u=null!=(u=t.contextTypes))?ru(e,r):an),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=M0,e.stateNode=t,t._reactInternals=e,u&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=o),t}function r1(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&&M0.enqueueReplaceState(t,t.state,null)}function ii(e,t,n,u){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},Wl(e);var o=t.contextType;"object"==typeof o&&null!==o?r.context=ut(o):(o=Re(t)?Tn:ke.current,r.context=ru(e,o)),r.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(li(e,t,o,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&&M0.enqueueReplaceState(r,r.state,null),C0(e,n,r,u),r.state=e.memoizedState),"function"==typeof r.componentDidMount&&(e.flags|=4194308)}function du(e,t){try{var n="",u=t;do{n+=vp(u),u=u.return}while(u);var r=n}catch(o){r="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:r,digest:null}}function ai(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function si(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var Z3="function"==typeof WeakMap?WeakMap:Map;function o1(e,t,n){(n=Ut(-1,n)).tag=3,n.payload={element:null};var u=t.value;return n.callback=function(){z0||(z0=!0,ki=u),si(0,t)},n}function l1(e,t,n){(n=Ut(-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(){si(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){si(0,t),"function"!=typeof u&&(null===pn?pn=new Set([this]):pn.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:null!==l?l:""})}),n}function i1(e,t,n){var u=e.pingCache;if(null===u){u=e.pingCache=new Z3;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=oh.bind(null,e,t,n),t.then(e,e))}function a1(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 s1(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=Ut(-1,1)).tag=2,fn(n,t,1))),n.lanes|=1),e)}var q3=Rt.ReactCurrentOwner,Ie=!1;function Ne(e,t,n,u){t.child=null===e?Dc(t,null,n,u):au(t,e.child,n,u)}function c1(e,t,n,u,r){n=n.render;var o=t.ref;return cu(t,r),u=ei(e,t,n,u,o,r),n=ti(),null===e||Ie?(ee&&n&&Rl(t),t.flags|=1,Ne(e,t,u,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Vt(e,t,r))}function f1(e,t,n,u,r){if(null===e){var o=n.type;return"function"!=typeof o||Ni(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Z0(n.type,null,u,t,t.mode,r)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,d1(e,t,o,u,r))}if(o=e.child,!(e.lanes&r)){var l=o.memoizedProps;if((n=null!==(n=n.compare)?n:Ku)(l,u)&&e.ref===t.ref)return Vt(e,t,r)}return t.flags|=1,(e=wn(o,u)).ref=t.ref,e.return=t,t.child=e}function d1(e,t,n,u,r){if(null!==e){var o=e.memoizedProps;if(Ku(o,u)&&e.ref===t.ref){if(Ie=!1,t.pendingProps=u=o,!(e.lanes&r))return t.lanes=e.lanes,Vt(e,t,r);131072&e.flags&&(Ie=!0)}}return ci(e,t,n,u,r)}function p1(e,t,n){var u=t.pendingProps,r=u.children,o=null!==e?e.memoizedState:null;if("hidden"===u.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,G(hu,Ye),Ye|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=null!==o?o.baseLanes:n,G(hu,Ye),Ye|=u}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},G(hu,Ye),Ye|=n;else null!==o?(u=o.baseLanes|n,t.memoizedState=null):u=n,G(hu,Ye),Ye|=u;return Ne(e,t,r,n),t.child}function h1(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ci(e,t,n,u,r){var o=Re(n)?Tn:ke.current;return o=ru(t,o),cu(t,r),n=ei(e,t,n,u,o,r),u=ti(),null===e||Ie?(ee&&u&&Rl(t),t.flags|=1,Ne(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Vt(e,t,r))}function m1(e,t,n,u,r){if(Re(n)){var o=!0;g0(t)}else o=!1;if(cu(t,r),null===t.stateNode)j0(e,t),u1(t,n,u),ii(t,n,u,r),u=!0;else if(null===e){var l=t.stateNode,i=t.memoizedProps;l.props=i;var a=l.context,s=n.contextType;"object"==typeof s&&null!==s?s=ut(s):s=ru(t,s=Re(n)?Tn:ke.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof l.getSnapshotBeforeUpdate;d||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i!==u||a!==s)&&r1(t,l,u,s),cn=!1;var h=t.memoizedState;l.state=h,C0(t,u,l,r),a=t.memoizedState,i!==u||h!==a||Pe.current||cn?("function"==typeof c&&(li(t,n,c,u),a=t.memoizedState),(i=cn||n1(t,n,i,u,h,a,s))?(d||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||("function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"==typeof l.componentDidMount&&(t.flags|=4194308)):("function"==typeof l.componentDidMount&&(t.flags|=4194308),t.memoizedProps=u,t.memoizedState=a),l.props=u,l.state=a,l.context=s,u=i):("function"==typeof l.componentDidMount&&(t.flags|=4194308),u=!1)}else{l=t.stateNode,Nc(e,t),i=t.memoizedProps,s=t.type===t.elementType?i:gt(t.type,i),l.props=s,d=t.pendingProps,h=l.context,"object"==typeof(a=n.contextType)&&null!==a?a=ut(a):a=ru(t,a=Re(n)?Tn:ke.current);var v=n.getDerivedStateFromProps;(c="function"==typeof v||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i!==d||h!==a)&&r1(t,l,u,a),cn=!1,h=t.memoizedState,l.state=h,C0(t,u,l,r);var g=t.memoizedState;i!==d||h!==g||Pe.current||cn?("function"==typeof v&&(li(t,n,v,u),g=t.memoizedState),(s=cn||n1(t,n,s,u,h,g,a)||!1)?(c||"function"!=typeof l.UNSAFE_componentWillUpdate&&"function"!=typeof l.componentWillUpdate||("function"==typeof l.componentWillUpdate&&l.componentWillUpdate(u,g,a),"function"==typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(u,g,a)),"function"==typeof l.componentDidUpdate&&(t.flags|=4),"function"==typeof l.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof l.componentDidUpdate||i===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=g),l.props=u,l.state=g,l.context=a,u=s):("function"!=typeof l.componentDidUpdate||i===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),u=!1)}return fi(e,t,n,u,o,r)}function fi(e,t,n,u,r,o){h1(e,t);var l=!!(128&t.flags);if(!u&&!l)return r&&xc(t,n,!1),Vt(e,t,o);u=t.stateNode,q3.current=t;var i=l&&"function"!=typeof n.getDerivedStateFromError?null:u.render();return t.flags|=1,null!==e&&l?(t.child=au(t,e.child,null,o),t.child=au(t,null,i,o)):Ne(e,t,i,o),t.memoizedState=u.state,r&&xc(t,n,!0),t.child}function g1(e){var t=e.stateNode;t.pendingContext?vc(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vc(0,t.context,!1),Gl(e,t.containerInfo)}function w1(e,t,n,u,r){return iu(),$l(r),t.flags|=256,Ne(e,t,n,u),t.child}var b1,gi,_1,E1,di={dehydrated:null,treeContext:null,retryLane:0};function pi(e){return{baseLanes:e,cachePool:null,transitions:null}}function v1(e,t,n){var i,u=t.pendingProps,r=oe.current,o=!1,l=!!(128&t.flags);if((i=l)||(i=(null===e||null!==e.memoizedState)&&!!(2&r)),i?(o=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(r|=1),G(oe,1&r),null===e)return Hl(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=u.children,e=u.fallback,o?(u=t.mode,o=t.child,l={mode:"hidden",children:l},1&u||null===o?o=q0(l,u,0,null):(o.childLanes=0,o.pendingProps=l),e=In(e,u,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=pi(n),t.memoizedState=di,e):hi(t,l));if(null!==(r=e.memoizedState)&&null!==(i=r.dehydrated))return function(e,t,n,u,r,o,l){if(n)return 256&t.flags?(t.flags&=-257,u=ai(Error(T(422))),L0(e,t,l,u)):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=u.fallback,r=t.mode,u=q0({mode:"visible",children:u.children},r,0,null),o=In(o,r,l,null),o.flags|=2,u.return=t,o.return=t,u.sibling=o,t.child=u,1&t.mode&&au(t,e.child,null,l),t.child.memoizedState=pi(l),t.memoizedState=di,o);if(!(1&t.mode))return L0(e,t,l,null);if("$!"===r.data){if(u=r.nextSibling&&r.nextSibling.dataset)var i=u.dgst;return u=i,L0(e,t,l,u=ai(o=Error(T(419)),u,void 0))}if(i=!!(l&e.childLanes),Ie||i){if(null!==(u=he)){switch(l&-l){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|l)?0:r)&&r!==o.retryLane&&(o.retryLane=r,Bt(e,r),yt(u,e,r,-1))}return Fi(),L0(e,t,l,u=ai(Error(T(421))))}return"$?"===r.data?(t.flags|=128,t.child=e.child,t=lh.bind(null,e),r._reactRetry=t,null):(e=o.treeContext,Qe=on(r.nextSibling),Ge=t,ee=!0,mt=null,null!==e&&(tt[nt++]=Ht,tt[nt++]=$t,tt[nt++]=Dn,Ht=e.id,$t=e.overflow,Dn=t),t=hi(t,u.children),t.flags|=4096,t)}(e,t,l,u,i,r,n);if(o){o=u.fallback,l=t.mode,i=(r=e.child).sibling;var a={mode:"hidden",children:u.children};return 1&l||t.child===r?(u=wn(r,a)).subtreeFlags=14680064&r.subtreeFlags:((u=t.child).childLanes=0,u.pendingProps=a,t.deletions=null),null!==i?o=wn(i,o):(o=In(o,l,n,null)).flags|=2,o.return=t,u.return=t,u.sibling=o,t.child=u,u=o,o=t.child,l=null===(l=e.child.memoizedState)?pi(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=di,u}return e=(o=e.child).sibling,u=wn(o,{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 hi(e,t){return(t=q0({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function L0(e,t,n,u){return null!==u&&$l(u),au(t,e.child,null,n),(e=hi(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function y1(e,t,n){e.lanes|=t;var u=e.alternate;null!==u&&(u.lanes|=t),Zl(e.return,t,n)}function mi(e,t,n,u,r){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:n,tailMode:r}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=u,o.tail=n,o.tailMode=r)}function x1(e,t,n){var u=t.pendingProps,r=u.revealOrder,o=u.tail;if(Ne(e,t,u.children,n),2&(u=oe.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&&y1(e,n,t);else if(19===e.tag)y1(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(oe,u),1&t.mode)switch(r){case"forwards":for(n=t.child,r=null;null!==n;)null!==(e=n.alternate)&&null===S0(e)&&(r=n),n=n.sibling;null===(n=r)?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),mi(t,!1,r,n,o);break;case"backwards":for(n=null,r=t.child,t.child=null;null!==r;){if(null!==(e=r.alternate)&&null===S0(e)){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}mi(t,!0,n,null,o);break;case"together":mi(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function j0(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vt(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),jn|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(T(153));if(null!==t.child){for(n=wn(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=wn(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function pr(e,t){if(!ee)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 Se(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 Q3(e,t,n){var u=t.pendingProps;switch(Il(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Se(t),null;case 1:case 17:return Re(t.type)&&m0(),Se(t),null;case 3:return u=t.stateNode,fu(),J(Pe),J(ke),Xl(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(null===e||null===e.child)&&(x0(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==mt&&(Ai(mt),mt=null))),gi(e,t),Se(t),null;case 5:Ql(t);var r=Mn(ar.current);if(n=t.type,null!==e&&null!=t.stateNode)_1(e,t,n,u,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!u){if(null===t.stateNode)throw Error(T(166));return Se(t),null}if(e=Mn(St.current),x0(t)){u=t.stateNode,n=t.type;var o=t.memoizedProps;switch(u[Ct]=t,u[ur]=o,e=!!(1&t.mode),n){case"dialog":K("cancel",u),K("close",u);break;case"iframe":case"object":case"embed":K("load",u);break;case"video":case"audio":for(r=0;r<er.length;r++)K(er[r],u);break;case"source":K("error",u);break;case"img":case"image":case"link":K("error",u),K("load",u);break;case"details":K("toggle",u);break;case"input":us(u,o),K("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!o.multiple},K("invalid",u);break;case"textarea":ls(u,o),K("invalid",u)}for(var l in Yo(n,o),r=null,o)if(o.hasOwnProperty(l)){var i=o[l];"children"===l?"string"==typeof i?u.textContent!==i&&(!0!==o.suppressHydrationWarning&&d0(u.textContent,i,e),r=["children",i]):"number"==typeof i&&u.textContent!==""+i&&(!0!==o.suppressHydrationWarning&&d0(u.textContent,i,e),r=["children",""+i]):Nu.hasOwnProperty(l)&&null!=i&&"onScroll"===l&&K("scroll",u)}switch(n){case"input":Ur(u),os(u,o,!0);break;case"textarea":Ur(u),as(u);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(u.onclick=p0)}u=r,t.updateQueue=u,null!==u&&(t.flags|=4)}else{l=9===r.nodeType?r:r.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ss(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof u.is?e=l.createElement(n,{is:u.is}):(e=l.createElement(n),"select"===n&&(l=e,u.multiple?l.multiple=!0:u.size&&(l.size=u.size))):e=l.createElementNS(e,n),e[Ct]=t,e[ur]=u,b1(e,t,!1,!1),t.stateNode=e;e:{switch(l=Xo(n,u),n){case"dialog":K("cancel",e),K("close",e),r=u;break;case"iframe":case"object":case"embed":K("load",e),r=u;break;case"video":case"audio":for(r=0;r<er.length;r++)K(er[r],e);r=u;break;case"source":K("error",e),r=u;break;case"img":case"image":case"link":K("error",e),K("load",e),r=u;break;case"details":K("toggle",e),r=u;break;case"input":us(e,u),r=Zo(e,u),K("invalid",e);break;case"option":default:r=u;break;case"select":e._wrapperState={wasMultiple:!!u.multiple},r=re({},u,{value:void 0}),K("invalid",e);break;case"textarea":ls(e,u),r=Go(e,u),K("invalid",e)}for(o in Yo(n,r),i=r)if(i.hasOwnProperty(o)){var a=i[o];"style"===o?ds(e,a):"dangerouslySetInnerHTML"===o?null!=(a=a?a.__html:void 0)&&cs(e,a):"children"===o?"string"==typeof a?("textarea"!==n||""!==a)&&Ou(e,a):"number"==typeof a&&Ou(e,""+a):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(Nu.hasOwnProperty(o)?null!=a&&"onScroll"===o&&K("scroll",e):null!=a&&jo(e,o,a,l))}switch(n){case"input":Ur(e),os(e,u,!1);break;case"textarea":Ur(e),as(e);break;case"option":null!=u.value&&e.setAttribute("value",""+Kt(u.value));break;case"select":e.multiple=!!u.multiple,null!=(o=u.value)?qn(e,!!u.multiple,o,!1):null!=u.defaultValue&&qn(e,!!u.multiple,u.defaultValue,!0);break;default:"function"==typeof r.onClick&&(e.onclick=p0)}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 Se(t),null;case 6:if(e&&null!=t.stateNode)E1(e,t,e.memoizedProps,u);else{if("string"!=typeof u&&null===t.stateNode)throw Error(T(166));if(n=Mn(ar.current),Mn(St.current),x0(t)){if(u=t.stateNode,n=t.memoizedProps,u[Ct]=t,(o=u.nodeValue!==n)&&null!==(e=Ge))switch(e.tag){case 3:d0(u.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&d0(u.nodeValue,n,!!(1&e.mode))}o&&(t.flags|=4)}else(u=(9===n.nodeType?n:n.ownerDocument).createTextNode(u))[Ct]=t,t.stateNode=u}return Se(t),null;case 13:if(J(oe),u=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ee&&null!==Qe&&1&t.mode&&!(128&t.flags))Sc(),iu(),t.flags|=98560,o=!1;else if(o=x0(t),null!==u&&null!==u.dehydrated){if(null===e){if(!o)throw Error(T(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(T(317));o[Ct]=t}else iu(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Se(t),o=!1}else null!==mt&&(Ai(mt),mt=null),o=!0;if(!o)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&oe.current?0===fe&&(fe=3):Fi())),null!==t.updateQueue&&(t.flags|=4),Se(t),null);case 4:return fu(),gi(e,t),null===e&&tr(t.stateNode.containerInfo),Se(t),null;case 10:return Vl(t.type._context),Se(t),null;case 19:if(J(oe),null===(o=t.memoizedState))return Se(t),null;if(u=!!(128&t.flags),null===(l=o.rendering))if(u)pr(o,!1);else{if(0!==fe||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=S0(e))){for(t.flags|=128,pr(o,!1),null!==(u=l.updateQueue)&&(t.updateQueue=u,t.flags|=4),t.subtreeFlags=0,u=n,n=t.child;null!==n;)e=u,(o=n).flags&=14680066,null===(l=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return G(oe,1&oe.current|2),t.child}e=e.sibling}null!==o.tail&&ae()>mu&&(t.flags|=128,u=!0,pr(o,!1),t.lanes=4194304)}else{if(!u)if(null!==(e=S0(l))){if(t.flags|=128,u=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),pr(o,!0),null===o.tail&&"hidden"===o.tailMode&&!l.alternate&&!ee)return Se(t),null}else 2*ae()-o.renderingStartTime>mu&&1073741824!==n&&(t.flags|=128,u=!0,pr(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=o.last)?n.sibling=l:t.child=l,o.last=l)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ae(),t.sibling=null,n=oe.current,G(oe,u?1&n|2:1&n),t):(Se(t),null);case 22:case 23:return Di(),u=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==u&&(t.flags|=8192),u&&1&t.mode?1073741824&Ye&&(Se(t),6&t.subtreeFlags&&(t.flags|=8192)):Se(t),null;case 24:case 25:return null}throw Error(T(156,t.tag))}function Y3(e,t){switch(Il(t),t.tag){case 1:return Re(t.type)&&m0(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return fu(),J(Pe),J(ke),Xl(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ql(t),null;case 13:if(J(oe),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(T(340));iu()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return J(oe),null;case 4:return fu(),null;case 10:return Vl(t.type._context),null;case 22:case 23:return Di(),null;default:return null}}b1=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}},gi=function(){},_1=function(e,t,n,u){var r=e.memoizedProps;if(r!==u){e=t.stateNode,Mn(St.current);var l,o=null;switch(n){case"input":r=Zo(e,r),u=Zo(e,u),o=[];break;case"select":r=re({},r,{value:void 0}),u=re({},u,{value:void 0}),o=[];break;case"textarea":r=Go(e,r),u=Go(e,u),o=[];break;default:"function"!=typeof r.onClick&&"function"==typeof u.onClick&&(e.onclick=p0)}for(s in Yo(n,u),n=null,r)if(!u.hasOwnProperty(s)&&r.hasOwnProperty(s)&&null!=r[s])if("style"===s){var i=r[s];for(l in i)i.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(Nu.hasOwnProperty(s)?o||(o=[]):(o=o||[]).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(l in i)!i.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&i[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(o||(o=[]),o.push(s,n)),n=a;else"dangerouslySetInnerHTML"===s?(a=a?a.__html:void 0,i=i?i.__html:void 0,null!=a&&i!==a&&(o=o||[]).push(s,a)):"children"===s?"string"!=typeof a&&"number"!=typeof a||(o=o||[]).push(s,""+a):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(Nu.hasOwnProperty(s)?(null!=a&&"onScroll"===s&&K("scroll",e),o||i===a||(o=[])):(o=o||[]).push(s,a))}n&&(o=o||[]).push("style",n);var s=o;(t.updateQueue=s)&&(t.flags|=4)}},E1=function(e,t,n,u){n!==u&&(t.flags|=4)};var O0=!1,Ae=!1,X3="function"==typeof WeakSet?WeakSet:Set,M=null;function pu(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 wi(e,t,n){try{n()}catch(u){ie(e,t,u)}}var k1=!1;function hr(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 o=r.destroy;r.destroy=void 0,void 0!==o&&wi(t,n,o)}r=r.next}while(r!==u)}}function P0(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 vi(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 C1(e){var t=e.alternate;null!==t&&(e.alternate=null,C1(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[Ct],delete t[ur],delete t[jl],delete t[j3],delete t[O3])),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 S1(e){return 5===e.tag||3===e.tag||4===e.tag}function A1(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||S1(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 yi(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=p0));else if(4!==u&&null!==(e=e.child))for(yi(e,t,n),e=e.sibling;null!==e;)yi(e,t,n),e=e.sibling}function xi(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(xi(e,t,n),e=e.sibling;null!==e;)xi(e,t,n),e=e.sibling}var xe=null,wt=!1;function dn(e,t,n){for(n=n.child;null!==n;)T1(e,t,n),n=n.sibling}function T1(e,t,n){if(kt&&"function"==typeof kt.onCommitFiberUnmount)try{kt.onCommitFiberUnmount(Qr,n)}catch{}switch(n.tag){case 5:Ae||pu(n,t);case 6:var u=xe,r=wt;xe=null,dn(e,t,n),wt=r,null!==(xe=u)&&(wt?(e=xe,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):xe.removeChild(n.stateNode));break;case 18:null!==xe&&(wt?(e=xe,n=n.stateNode,8===e.nodeType?Ll(e.parentNode,n):1===e.nodeType&&Ll(e,n),qu(e)):Ll(xe,n.stateNode));break;case 4:u=xe,r=wt,xe=n.stateNode.containerInfo,wt=!0,dn(e,t,n),xe=u,wt=r;break;case 0:case 11:case 14:case 15:if(!Ae&&(null!==(u=n.updateQueue)&&null!==(u=u.lastEffect))){r=u=u.next;do{var o=r,l=o.destroy;o=o.tag,void 0!==l&&(2&o||4&o)&&wi(n,t,l),r=r.next}while(r!==u)}dn(e,t,n);break;case 1:if(!Ae&&(pu(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)}dn(e,t,n);break;case 21:dn(e,t,n);break;case 22:1&n.mode?(Ae=(u=Ae)||null!==n.memoizedState,dn(e,t,n),Ae=u):dn(e,t,n);break;default:dn(e,t,n)}}function D1(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new X3),t.forEach((function(u){var r=ih.bind(null,e,u);n.has(u)||(n.add(u),u.then(r,r))}))}}function vt(e,t){var n=t.deletions;if(null!==n)for(var u=0;u<n.length;u++){var r=n[u];try{var o=e,l=t,i=l;e:for(;null!==i;){switch(i.tag){case 5:xe=i.stateNode,wt=!1;break e;case 3:case 4:xe=i.stateNode.containerInfo,wt=!0;break e}i=i.return}if(null===xe)throw Error(T(160));T1(o,l,r),xe=null,wt=!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;)F1(t,e),t=t.sibling}function F1(e,t){var n=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vt(t,e),Tt(e),4&u){try{hr(3,e,e.return),P0(3,e)}catch(_){ie(e,e.return,_)}try{hr(5,e,e.return)}catch(_){ie(e,e.return,_)}}break;case 1:vt(t,e),Tt(e),512&u&&null!==n&&pu(n,n.return);break;case 5:if(vt(t,e),Tt(e),512&u&&null!==n&&pu(n,n.return),32&e.flags){var r=e.stateNode;try{Ou(r,"")}catch(_){ie(e,e.return,_)}}if(4&u&&null!=(r=e.stateNode)){var o=e.memoizedProps,l=null!==n?n.memoizedProps:o,i=e.type,a=e.updateQueue;if(e.updateQueue=null,null!==a)try{"input"===i&&"radio"===o.type&&null!=o.name&&rs(r,o),Xo(i,l);var s=Xo(i,o);for(l=0;l<a.length;l+=2){var c=a[l],d=a[l+1];"style"===c?ds(r,d):"dangerouslySetInnerHTML"===c?cs(r,d):"children"===c?Ou(r,d):jo(r,c,d,s)}switch(i){case"input":qo(r,o);break;case"textarea":is(r,o);break;case"select":var h=r._wrapperState.wasMultiple;r._wrapperState.wasMultiple=!!o.multiple;var v=o.value;null!=v?qn(r,!!o.multiple,v,!1):h!==!!o.multiple&&(null!=o.defaultValue?qn(r,!!o.multiple,o.defaultValue,!0):qn(r,!!o.multiple,o.multiple?[]:"",!1))}r[ur]=o}catch(_){ie(e,e.return,_)}}break;case 6:if(vt(t,e),Tt(e),4&u){if(null===e.stateNode)throw Error(T(162));r=e.stateNode,o=e.memoizedProps;try{r.nodeValue=o}catch(_){ie(e,e.return,_)}}break;case 3:if(vt(t,e),Tt(e),4&u&&null!==n&&n.memoizedState.isDehydrated)try{qu(t.containerInfo)}catch(_){ie(e,e.return,_)}break;case 4:default:vt(t,e),Tt(e);break;case 13:vt(t,e),Tt(e),8192&(r=e.child).flags&&(o=null!==r.memoizedState,r.stateNode.isHidden=o,!o||null!==r.alternate&&null!==r.alternate.memoizedState||(Ei=ae())),4&u&&D1(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(Ae=(s=Ae)||c,vt(t,e),Ae=s):vt(t,e),Tt(e),8192&u){if(s=null!==e.memoizedState,(e.stateNode.isHidden=s)&&!c&&1&e.mode)for(M=e,c=e.child;null!==c;){for(d=M=c;null!==M;){switch(v=(h=M).child,h.tag){case 0:case 11:case 14:case 15:hr(4,h,h.return);break;case 1:pu(h,h.return);var g=h.stateNode;if("function"==typeof g.componentWillUnmount){u=h,n=h.return;try{t=u,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(_){ie(u,n,_)}}break;case 5:pu(h,h.return);break;case 22:if(null!==h.memoizedState){L1(d);continue}}null!==v?(v.return=h,M=v):L1(d)}c=c.sibling}e:for(c=null,d=e;;){if(5===d.tag){if(null===c){c=d;try{r=d.stateNode,s?"function"==typeof(o=r.style).setProperty?o.setProperty("display","none","important"):o.display="none":(i=d.stateNode,l=null!=(a=d.memoizedProps.style)&&a.hasOwnProperty("display")?a.display:null,i.style.display=fs("display",l))}catch(_){ie(e,e.return,_)}}}else if(6===d.tag){if(null===c)try{d.stateNode.nodeValue=s?"":d.memoizedProps}catch(_){ie(e,e.return,_)}}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;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:vt(t,e),Tt(e),4&u&&D1(e);case 21:}}function Tt(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(S1(n)){var u=n;break e}n=n.return}throw Error(T(160))}switch(u.tag){case 5:var r=u.stateNode;32&u.flags&&(Ou(r,""),u.flags&=-33),xi(e,A1(e),r);break;case 3:case 4:var l=u.stateNode.containerInfo;yi(e,A1(e),l);break;default:throw Error(T(161))}}catch(a){ie(e,e.return,a)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function J3(e,t,n){M=e,N1(e)}function N1(e,t,n){for(var u=!!(1&e.mode);null!==M;){var r=M,o=r.child;if(22===r.tag&&u){var l=null!==r.memoizedState||O0;if(!l){var i=r.alternate,a=null!==i&&null!==i.memoizedState||Ae;i=O0;var s=Ae;if(O0=l,(Ae=a)&&!s)for(M=r;null!==M;)a=(l=M).child,22===l.tag&&null!==l.memoizedState?j1(r):null!==a?(a.return=l,M=a):j1(r);for(;null!==o;)M=o,N1(o),o=o.sibling;M=r,O0=i,Ae=s}M1(e)}else 8772&r.subtreeFlags&&null!==o?(o.return=r,M=o):M1(e)}}function M1(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:Ae||P0(5,t);break;case 1:var u=t.stateNode;if(4&t.flags&&!Ae)if(null===n)u.componentDidMount();else{var r=t.elementType===t.type?n.memoizedProps:gt(t.type,n.memoizedProps);u.componentDidUpdate(r,n.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Lc(t,o,u);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Lc(t,l,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 d=c.dehydrated;null!==d&&qu(d)}}}break;default:throw Error(T(163))}Ae||512&t.flags&&vi(t)}catch(h){ie(t,t.return,h)}}if(t===e){M=null;break}if(null!==(n=t.sibling)){n.return=t.return,M=n;break}M=t.return}}function L1(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 j1(e){for(;null!==M;){var t=M;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{P0(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 o=t.return;try{vi(t)}catch(a){ie(t,o,a)}break;case 5:var l=t.return;try{vi(t)}catch(a){ie(t,l,a)}}}catch(a){ie(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 U1,eh=Math.ceil,R0=Rt.ReactCurrentDispatcher,bi=Rt.ReactCurrentOwner,ot=Rt.ReactCurrentBatchConfig,V=0,he=null,se=null,be=0,Ye=0,hu=ln(0),fe=0,mr=null,jn=0,I0=0,_i=0,gr=null,ze=null,Ei=0,mu=1/0,Zt=null,z0=!1,ki=null,pn=null,H0=!1,hn=null,$0=0,wr=0,Ci=null,B0=-1,U0=0;function Me(){return 6&V?ae():-1!==B0?B0:B0=ae()}function mn(e){return 1&e.mode?2&V&&0!==be?be&-be:null!==R3.transition?(0===U0&&(U0=As()),U0):(0!==(e=Z)||(e=void 0===(e=window.event)?16:Ps(e.type)),e):1}function yt(e,t,n,u){if(50<wr)throw wr=0,Ci=null,Error(T(185));$u(e,n,u),(!(2&V)||e!==he)&&(e===he&&(!(2&V)&&(I0|=n),4===fe&&gn(e,be)),He(e,u),1===n&&0===V&&!(1&t.mode)&&(mu=ae()+500,w0&&sn()))}function He(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,u=e.pingedLanes,r=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-pt(o),i=1<<l,a=r[l];-1===a?(!(i&n)||i&u)&&(r[l]=Pp(i,t)):a<=t&&(e.expiredLanes|=i),o&=~i}}(e,t);var u=Kr(e,e===he?be:0);if(0===u)null!==n&&ks(n),e.callbackNode=null,e.callbackPriority=0;else if(t=u&-u,e.callbackPriority!==t){if(null!=n&&ks(n),1===t)0===e.tag?function(e){w0=!0,bc(e)}(P1.bind(null,e)):bc(P1.bind(null,e)),M3((function(){!(6&V)&&sn()})),n=null;else{switch(Ts(u)){case 1:n=rl;break;case 4:n=Cs;break;case 16:default:n=Gr;break;case 536870912:n=Ss}n=V1(n,O1.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function O1(e,t){if(B0=-1,U0=0,6&V)throw Error(T(327));var n=e.callbackNode;if(gu()&&e.callbackNode!==n)return null;var u=Kr(e,e===he?be:0);if(0===u)return null;if(30&u||u&e.expiredLanes||t)t=V0(e,u);else{t=u;var r=V;V|=2;var o=I1();for((he!==e||be!==t)&&(Zt=null,mu=ae()+500,Pn(e,t));;)try{uh();break}catch(i){R1(e,i)}Ul(),R0.current=o,V=r,null!==se?t=0:(he=null,be=0,t=fe)}if(0!==t){if(2===t&&(0!==(r=ol(e))&&(u=r,t=Si(e,r))),1===t)throw n=mr,Pn(e,0),gn(e,u),He(e,ae()),n;if(6===t)gn(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],o=r.getSnapshot;r=r.value;try{if(!ht(o(),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=V0(e,u),2===t&&(o=ol(e),0!==o&&(u=o,t=Si(e,o))),1!==t)))throw n=mr,Pn(e,0),gn(e,u),He(e,ae()),n;switch(e.finishedWork=r,e.finishedLanes=u,t){case 0:case 1:throw Error(T(345));case 2:case 5:Rn(e,ze,Zt);break;case 3:if(gn(e,u),(130023424&u)===u&&10<(t=Ei+500-ae())){if(0!==Kr(e,0))break;if(((r=e.suspendedLanes)&u)!==u){Me(),e.pingedLanes|=e.suspendedLanes&r;break}e.timeoutHandle=Ml(Rn.bind(null,e,ze,Zt),t);break}Rn(e,ze,Zt);break;case 4:if(gn(e,u),(4194240&u)===u)break;for(t=e.eventTimes,r=-1;0<u;){var l=31-pt(u);o=1<<l,(l=t[l])>r&&(r=l),u&=~o}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*eh(u/1960))-u)){e.timeoutHandle=Ml(Rn.bind(null,e,ze,Zt),u);break}Rn(e,ze,Zt);break;default:throw Error(T(329))}}}return He(e,ae()),e.callbackNode===n?O1.bind(null,e):null}function Si(e,t){var n=gr;return e.current.memoizedState.isDehydrated&&(Pn(e,t).flags|=256),2!==(e=V0(e,t))&&(t=ze,ze=n,null!==t&&Ai(t)),e}function Ai(e){null===ze?ze=e:ze.push.apply(ze,e)}function gn(e,t){for(t&=~_i,t&=~I0,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-pt(t),u=1<<n;e[n]=-1,t&=~u}}function P1(e){if(6&V)throw Error(T(327));gu();var t=Kr(e,0);if(!(1&t))return He(e,ae()),null;var n=V0(e,t);if(0!==e.tag&&2===n){var u=ol(e);0!==u&&(t=u,n=Si(e,u))}if(1===n)throw n=mr,Pn(e,0),gn(e,t),He(e,ae()),n;if(6===n)throw Error(T(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Rn(e,ze,Zt),He(e,ae()),null}function Ti(e,t){var n=V;V|=1;try{return e(t)}finally{0===(V=n)&&(mu=ae()+500,w0&&sn())}}function On(e){null!==hn&&0===hn.tag&&!(6&V)&&gu();var t=V;V|=1;var n=ot.transition,u=Z;try{if(ot.transition=null,Z=1,e)return e()}finally{Z=u,ot.transition=n,!(6&(V=t))&&sn()}}function Di(){Ye=hu.current,J(hu)}function Pn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,N3(n)),null!==se)for(n=se.return;null!==n;){var u=n;switch(Il(u),u.tag){case 1:null!=(u=u.type.childContextTypes)&&m0();break;case 3:fu(),J(Pe),J(ke),Xl();break;case 5:Ql(u);break;case 4:fu();break;case 13:case 19:J(oe);break;case 10:Vl(u.type._context);break;case 22:case 23:Di()}n=n.return}if(he=e,se=e=wn(e.current,null),be=Ye=t,fe=0,mr=null,_i=I0=jn=0,ze=gr=null,null!==Nn){for(t=0;t<Nn.length;t++)if(null!==(u=(n=Nn[t]).interleaved)){n.interleaved=null;var r=u.next,o=n.pending;if(null!==o){var l=o.next;o.next=r,u.next=l}n.pending=u}Nn=null}return e}function R1(e,t){for(;;){var n=se;try{if(Ul(),A0.current=N0,T0){for(var u=le.memoizedState;null!==u;){var r=u.queue;null!==r&&(r.pending=null),u=u.next}T0=!1}if(Ln=0,pe=ce=le=null,sr=!1,cr=0,bi.current=null,null===n||null===n.return){fe=1,mr=t,se=null;break}e:{var o=e,l=n.return,i=n,a=t;if(t=be,i.flags|=32768,null!==a&&"object"==typeof a&&"function"==typeof a.then){var s=a,c=i,d=c.tag;if(!(1&c.mode||0!==d&&11!==d&&15!==d)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var v=a1(l);if(null!==v){v.flags&=-257,s1(v,l,i,0,t),1&v.mode&&i1(o,s,t),a=s;var g=(t=v).updateQueue;if(null===g){var _=new Set;_.add(a),t.updateQueue=_}else g.add(a);break e}if(!(1&t)){i1(o,s,t),Fi();break e}a=Error(T(426))}else if(ee&&1&i.mode){var S=a1(l);if(null!==S){!(65536&S.flags)&&(S.flags|=256),s1(S,l,i,0,t),$l(du(a,i));break e}}o=a=du(a,i),4!==fe&&(fe=2),null===gr?gr=[o]:gr.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,Mc(o,o1(0,a,t));break e;case 1:i=a;var f=o.type,w=o.stateNode;if(!(128&o.flags||"function"!=typeof f.getDerivedStateFromError&&(null===w||"function"!=typeof w.componentDidCatch||null!==pn&&pn.has(w)))){o.flags|=65536,t&=-t,o.lanes|=t,Mc(o,l1(o,i,t));break e}}o=o.return}while(null!==o)}H1(n)}catch(k){t=k,se===n&&null!==n&&(se=n=n.return);continue}break}}function I1(){var e=R0.current;return R0.current=N0,null===e?N0:e}function Fi(){(0===fe||3===fe||2===fe)&&(fe=4),null===he||!(268435455&jn)&&!(268435455&I0)||gn(he,be)}function V0(e,t){var n=V;V|=2;var u=I1();for((he!==e||be!==t)&&(Zt=null,Pn(e,t));;)try{nh();break}catch(r){R1(e,r)}if(Ul(),V=n,R0.current=u,null!==se)throw Error(T(261));return he=null,be=0,fe}function nh(){for(;null!==se;)z1(se)}function uh(){for(;null!==se&&!Tp();)z1(se)}function z1(e){var t=U1(e.alternate,e,Ye);e.memoizedProps=e.pendingProps,null===t?H1(e):se=t,bi.current=null}function H1(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Y3(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=Q3(n,t,Ye)))return void(se=n);if(null!==(t=t.sibling))return void(se=t);se=t=e}while(null!==t);0===fe&&(fe=5)}function Rn(e,t,n){var u=Z,r=ot.transition;try{ot.transition=null,Z=1,function(e,t,n,u){do{gu()}while(null!==hn);if(6&V)throw Error(T(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(T(177));e.callbackNode=null,e.callbackPriority=0;var o=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-pt(n),o=1<<r;t[r]=0,u[r]=-1,e[r]=-1,n&=~o}}(e,o),e===he&&(se=he=null,be=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||H0||(H0=!0,V1(Gr,(function(){return gu(),null}))),o=!!(15990&n.flags),15990&n.subtreeFlags||o){o=ot.transition,ot.transition=null;var l=Z;Z=1;var i=V;V|=4,bi.current=null,function(e,t){if(Dl=t0,bl(e=nc())){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,o=u.focusNode;u=u.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,i=-1,a=-1,s=0,c=0,d=e,h=null;t:for(;;){for(var v;d!==n||0!==r&&3!==d.nodeType||(i=l+r),d!==o||0!==u&&3!==d.nodeType||(a=l+u),3===d.nodeType&&(l+=d.nodeValue.length),null!==(v=d.firstChild);)h=d,d=v;for(;;){if(d===e)break t;if(h===n&&++s===r&&(i=l),h===o&&++c===u&&(a=l),null!==(v=d.nextSibling))break;h=(d=h).parentNode}d=v}n=-1===i||-1===a?null:{start:i,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fl={focusedElem:e,selectionRange:n},t0=!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 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 _=g.memoizedProps,S=g.memoizedState,y=t.stateNode,f=y.getSnapshotBeforeUpdate(t.elementType===t.type?_:gt(t.type,_),S);y.__reactInternalSnapshotBeforeUpdate=f}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(T(163))}}catch(x){ie(t,t.return,x)}if(null!==(e=t.sibling)){e.return=t.return,M=e;break}M=t.return}g=k1,k1=!1}(e,n),F1(n,e),k3(Fl),t0=!!Dl,Fl=Dl=null,e.current=n,J3(n),Dp(),V=i,Z=l,ot.transition=o}else e.current=n;if(H0&&(H0=!1,hn=e,$0=r),o=e.pendingLanes,0===o&&(pn=null),function(e){if(kt&&"function"==typeof kt.onCommitFiberRoot)try{kt.onCommitFiberRoot(Qr,e,void 0,!(128&~e.current.flags))}catch{}}(n.stateNode),He(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(z0)throw z0=!1,e=ki,ki=null,e;1&$0&&0!==e.tag&&gu(),o=e.pendingLanes,1&o?e===Ci?wr++:(wr=0,Ci=e):wr=0,sn()}(e,t,n,u)}finally{ot.transition=r,Z=u}return null}function gu(){if(null!==hn){var e=Ts($0),t=ot.transition,n=Z;try{if(ot.transition=null,Z=16>e?16:e,null===hn)var u=!1;else{if(e=hn,hn=null,$0=0,6&V)throw Error(T(331));var r=V;for(V|=4,M=e.current;null!==M;){var o=M,l=o.child;if(16&M.flags){var i=o.deletions;if(null!==i){for(var a=0;a<i.length;a++){var s=i[a];for(M=s;null!==M;){var c=M;switch(c.tag){case 0:case 11:case 15:hr(8,c,o)}var d=c.child;if(null!==d)d.return=c,M=d;else for(;null!==M;){var h=(c=M).sibling,v=c.return;if(C1(c),c===s){M=null;break}if(null!==h){h.return=v,M=h;break}M=v}}}var g=o.alternate;if(null!==g){var _=g.child;if(null!==_){g.child=null;do{var S=_.sibling;_.sibling=null,_=S}while(null!==_)}}M=o}}if(2064&o.subtreeFlags&&null!==l)l.return=o,M=l;else e:for(;null!==M;){if(2048&(o=M).flags)switch(o.tag){case 0:case 11:case 15:hr(9,o,o.return)}var y=o.sibling;if(null!==y){y.return=o.return,M=y;break e}M=o.return}}var f=e.current;for(M=f;null!==M;){var w=(l=M).child;if(2064&l.subtreeFlags&&null!==w)w.return=l,M=w;else e:for(l=f;null!==M;){if(2048&(i=M).flags)try{switch(i.tag){case 0:case 11:case 15:P0(9,i)}}catch(k){ie(i,i.return,k)}if(i===l){M=null;break e}var x=i.sibling;if(null!==x){x.return=i.return,M=x;break e}M=i.return}}if(V=r,sn(),kt&&"function"==typeof kt.onPostCommitFiberRoot)try{kt.onPostCommitFiberRoot(Qr,e)}catch{}u=!0}return u}finally{Z=n,ot.transition=t}}return!1}function $1(e,t,n){e=fn(e,t=o1(0,t=du(n,t),1),1),t=Me(),null!==e&&($u(e,1,t),He(e,t))}function ie(e,t,n){if(3===e.tag)$1(e,e,n);else for(;null!==t;){if(3===t.tag){$1(t,e,n);break}if(1===t.tag){var u=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof u.componentDidCatch&&(null===pn||!pn.has(u))){t=fn(t,e=l1(t,e=du(n,e),1),1),e=Me(),null!==t&&($u(t,1,e),He(t,e));break}}t=t.return}}function oh(e,t,n){var u=e.pingCache;null!==u&&u.delete(t),t=Me(),e.pingedLanes|=e.suspendedLanes&n,he===e&&(be&n)===n&&(4===fe||3===fe&&(130023424&be)===be&&500>ae()-Ei?Pn(e,0):_i|=n),He(e,t)}function B1(e,t){0===t&&(1&e.mode?(t=Xr,!(130023424&(Xr<<=1))&&(Xr=4194304)):t=1);var n=Me();null!==(e=Bt(e,t))&&($u(e,t,n),He(e,n))}function lh(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),B1(e,n)}function ih(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(T(314))}null!==u&&u.delete(t),B1(e,n)}function V1(e,t){return Es(e,t)}function ah(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 lt(e,t,n,u){return new ah(e,t,n,u)}function Ni(e){return!(!(e=e.prototype)||!e.isReactComponent)}function wn(e,t){var n=e.alternate;return null===n?((n=lt(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 Z0(e,t,n,u,r,o){var l=2;if(u=e,"function"==typeof e)Ni(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case Zn:return In(n.children,r,o,t);case Oo:l=8,r|=8;break;case Po:return(e=lt(12,n,t,2|r)).elementType=Po,e.lanes=o,e;case Io:return(e=lt(13,n,t,r)).elementType=Io,e.lanes=o,e;case zo:return(e=lt(19,n,t,r)).elementType=zo,e.lanes=o,e;case Ja:return q0(n,r,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Xa:l=10;break e;case Ka:l=9;break e;case Ro:l=11;break e;case Ho:l=14;break e;case Xt:l=16,u=null;break e}throw Error(T(130,null==e?e:typeof e,""))}return(t=lt(l,n,t,r)).elementType=e,t.type=u,t.lanes=o,t}function In(e,t,n,u){return(e=lt(7,e,u,t)).lanes=n,e}function q0(e,t,n,u){return(e=lt(22,e,u,t)).elementType=Ja,e.lanes=n,e.stateNode={isHidden:!1},e}function Mi(e,t,n){return(e=lt(6,e,null,t)).lanes=n,e}function Li(e,t,n){return(t=lt(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ch(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=ll(0),this.expirationTimes=ll(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ll(0),this.identifierPrefix=u,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function ji(e,t,n,u,r,o,l,i,a){return e=new ch(e,t,n,i,a),1===t?(t=1,!0===o&&(t|=8)):t=0,o=lt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:u,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Wl(o),e}function Z1(e){if(!e)return an;e:{if(Sn(e=e._reactInternals)!==e||1!==e.tag)throw Error(T(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Re(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(T(171))}if(1===e.tag){var n=e.type;if(Re(n))return yc(e,n,t)}return t}function q1(e,t,n,u,r,o,l,i,a){return(e=ji(n,u,!0,e,0,o,0,i,a)).context=Z1(null),n=e.current,(o=Ut(u=Me(),r=mn(n))).callback=t??null,fn(n,o,r),e.current.lanes=r,$u(e,r,u),He(e,u),e}function W0(e,t,n,u){var r=t.current,o=Me(),l=mn(r);return n=Z1(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ut(o,l)).payload={element:e},null!==(u=void 0===u?null:u)&&(t.callback=u),null!==(e=fn(r,t,l))&&(yt(e,r,l,o),k0(e,r,l)),l}function G0(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function W1(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Oi(e,t){W1(e,t),(e=e.alternate)&&W1(e,t)}U1=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Pe.current)Ie=!0;else{if(!(e.lanes&n||128&t.flags))return Ie=!1,function(e,t,n){switch(t.tag){case 3:g1(t),iu();break;case 5:jc(t);break;case 1:Re(t.type)&&g0(t);break;case 4:Gl(t,t.stateNode.containerInfo);break;case 10:var u=t.type._context,r=t.memoizedProps.value;G(_0,u._currentValue),u._currentValue=r;break;case 13:if(null!==(u=t.memoizedState))return null!==u.dehydrated?(G(oe,1&oe.current),t.flags|=128,null):n&t.child.childLanes?v1(e,t,n):(G(oe,1&oe.current),null!==(e=Vt(e,t,n))?e.sibling:null);G(oe,1&oe.current);break;case 19:if(u=!!(n&t.childLanes),128&e.flags){if(u)return x1(e,t,n);t.flags|=128}if(null!==(r=t.memoizedState)&&(r.rendering=null,r.tail=null,r.lastEffect=null),G(oe,oe.current),u)break;return null;case 22:case 23:return t.lanes=0,p1(e,t,n)}return Vt(e,t,n)}(e,t,n);Ie=!!(131072&e.flags)}else Ie=!1,ee&&1048576&t.flags&&_c(t,y0,t.index);switch(t.lanes=0,t.tag){case 2:var u=t.type;j0(e,t),e=t.pendingProps;var r=ru(t,ke.current);cu(t,n),r=ei(null,t,u,e,r,n);var o=ti();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,Re(u)?(o=!0,g0(t)):o=!1,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,Wl(t),r.updater=M0,t.stateNode=r,r._reactInternals=t,ii(t,u,e,n),t=fi(null,t,u,!0,o,n)):(t.tag=0,ee&&o&&Rl(t),Ne(null,t,r,n),t=t.child),t;case 16:u=t.elementType;e:{switch(j0(e,t),e=t.pendingProps,u=(r=u._init)(u._payload),t.type=u,r=t.tag=function(e){if("function"==typeof e)return Ni(e)?1:0;if(null!=e){if((e=e.$$typeof)===Ro)return 11;if(e===Ho)return 14}return 2}(u),e=gt(u,e),r){case 0:t=ci(null,t,u,e,n);break e;case 1:t=m1(null,t,u,e,n);break e;case 11:t=c1(null,t,u,e,n);break e;case 14:t=f1(null,t,u,gt(u.type,e),n);break e}throw Error(T(306,u,""))}return t;case 0:return u=t.type,r=t.pendingProps,ci(e,t,u,r=t.elementType===u?r:gt(u,r),n);case 1:return u=t.type,r=t.pendingProps,m1(e,t,u,r=t.elementType===u?r:gt(u,r),n);case 3:e:{if(g1(t),null===e)throw Error(T(387));u=t.pendingProps,r=(o=t.memoizedState).element,Nc(e,t),C0(t,u,null,n);var l=t.memoizedState;if(u=l.element,o.isDehydrated){if(o={element:u,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=w1(e,t,u,n,r=du(Error(T(423)),t));break e}if(u!==r){t=w1(e,t,u,n,r=du(Error(T(424)),t));break e}for(Qe=on(t.stateNode.containerInfo.firstChild),Ge=t,ee=!0,mt=null,n=Dc(t,null,u,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(iu(),u===r){t=Vt(e,t,n);break e}Ne(e,t,u,n)}t=t.child}return t;case 5:return jc(t),null===e&&Hl(t),u=t.type,r=t.pendingProps,o=null!==e?e.memoizedProps:null,l=r.children,Nl(u,r)?l=null:null!==o&&Nl(u,o)&&(t.flags|=32),h1(e,t),Ne(e,t,l,n),t.child;case 6:return null===e&&Hl(t),null;case 13:return v1(e,t,n);case 4:return Gl(t,t.stateNode.containerInfo),u=t.pendingProps,null===e?t.child=au(t,null,u,n):Ne(e,t,u,n),t.child;case 11:return u=t.type,r=t.pendingProps,c1(e,t,u,r=t.elementType===u?r:gt(u,r),n);case 7:return Ne(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ne(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(u=t.type._context,r=t.pendingProps,o=t.memoizedProps,l=r.value,G(_0,u._currentValue),u._currentValue=l,null!==o)if(ht(o.value,l)){if(o.children===r.children&&!Pe.current){t=Vt(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var i=o.dependencies;if(null!==i){l=o.child;for(var a=i.firstContext;null!==a;){if(a.context===u){if(1===o.tag){(a=Ut(-1,n&-n)).tag=2;var s=o.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}}o.lanes|=n,null!==(a=o.alternate)&&(a.lanes|=n),Zl(o.return,n,t),i.lanes|=n;break}a=a.next}}else if(10===o.tag)l=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(l=o.return))throw Error(T(341));l.lanes|=n,null!==(i=l.alternate)&&(i.lanes|=n),Zl(l,n,t),l=o.sibling}else l=o.child;if(null!==l)l.return=o;else for(l=o;null!==l;){if(l===t){l=null;break}if(null!==(o=l.sibling)){o.return=l.return,l=o;break}l=l.return}o=l}Ne(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,u=t.pendingProps.children,cu(t,n),u=u(r=ut(r)),t.flags|=1,Ne(e,t,u,n),t.child;case 14:return r=gt(u=t.type,t.pendingProps),f1(e,t,u,r=gt(u.type,r),n);case 15:return d1(e,t,t.type,t.pendingProps,n);case 17:return u=t.type,r=t.pendingProps,r=t.elementType===u?r:gt(u,r),j0(e,t),t.tag=1,Re(u)?(e=!0,g0(t)):e=!1,cu(t,n),u1(t,u,r),ii(t,u,r,n),fi(null,t,u,!0,e,n);case 19:return x1(e,t,n);case 22:return p1(e,t,n)}throw Error(T(156,t.tag))};var G1="function"==typeof reportError?reportError:function(e){console.error(e)};function Pi(e){this._internalRoot=e}function Q0(e){this._internalRoot=e}function Ri(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Y0(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Q1(){}function X0(e,t,n,u,r){var o=n._reactRootContainer;if(o){var l=o;if("function"==typeof r){var i=r;r=function(){var a=G0(l);i.call(a)}}W0(t,l,e,r)}else l=function(e,t,n,u,r){if(r){if("function"==typeof u){var o=u;u=function(){var s=G0(l);o.call(s)}}var l=q1(t,u,e,0,null,!1,0,"",Q1);return e._reactRootContainer=l,e[It]=l.current,tr(8===e.nodeType?e.parentNode:e),On(),l}for(;r=e.lastChild;)e.removeChild(r);if("function"==typeof u){var i=u;u=function(){var s=G0(a);i.call(s)}}var a=ji(e,0,!1,null,0,!1,0,"",Q1);return e._reactRootContainer=a,e[It]=a.current,tr(8===e.nodeType?e.parentNode:e),On((function(){W0(t,a,n,u)})),a}(n,t,e,r,u);return G0(l)}Q0.prototype.render=Pi.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(T(409));W0(e,t,null,null)},Q0.prototype.unmount=Pi.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;On((function(){W0(null,e,null,null)})),t[It]=null}},Q0.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ns();e={blockedOn:null,target:e,priority:t};for(var n=0;n<nn.length&&0!==t&&t<nn[n].priority;n++);nn.splice(n,0,e),0===n&&js(e)}},Ds=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Hu(t.pendingLanes);0!==n&&(il(t,1|n),He(t,ae()),!(6&V)&&(mu=ae()+500,sn()))}break;case 13:On((function(){var u=Bt(e,1);if(null!==u){var r=Me();yt(u,e,1,r)}})),Oi(e,1)}},al=function(e){if(13===e.tag){var t=Bt(e,134217728);if(null!==t)yt(t,e,134217728,Me());Oi(e,134217728)}},Fs=function(e){if(13===e.tag){var t=mn(e),n=Bt(e,t);if(null!==n)yt(n,e,t,Me());Oi(e,t)}},Ns=function(){return Z},Ms=function(e,t){var n=Z;try{return Z=e,t()}finally{Z=n}},el=function(e,t,n){switch(t){case"input":if(qo(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=h0(u);if(!r)throw Error(T(90));ns(u),qo(u,r)}}}break;case"textarea":is(e,n);break;case"select":null!=(t=n.value)&&qn(e,!!n.multiple,t,!1)}},gs=Ti,ws=On;var hh={usingClientEntryPoint:!1,Events:[rr,nu,h0,hs,ms,Ti]},vr={findFiberByHostInstance:An,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},mh={bundleType:vr.bundleType,version:vr.version,rendererPackageName:vr.rendererPackageName,rendererConfig:vr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Rt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=bs(e))?null:e.stateNode},findFiberByHostInstance:vr.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 K0=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!K0.isDisabled&&K0.supportsFiber)try{Qr=K0.inject(mh),kt=K0}catch{}}Ze.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=hh,Ze.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ri(t))throw Error(T(200));return function(e,t,n){var u=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Vn,key:null==u?null:""+u,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},Ze.createRoot=function(e,t){if(!Ri(e))throw Error(T(299));var n=!1,u="",r=G1;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(u=t.identifierPrefix),void 0!==t.onRecoverableError&&(r=t.onRecoverableError)),t=ji(e,1,!1,null,0,n,0,u,r),e[It]=t.current,tr(8===e.nodeType?e.parentNode:e),new Pi(t)},Ze.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(T(188)):(e=Object.keys(e).join(","),Error(T(268,e)));return e=null===(e=bs(t))?null:e.stateNode},Ze.flushSync=function(e){return On(e)},Ze.hydrate=function(e,t,n){if(!Y0(t))throw Error(T(200));return X0(null,e,t,!0,n)},Ze.hydrateRoot=function(e,t,n){if(!Ri(e))throw Error(T(405));var u=null!=n&&n.hydratedSources||null,r=!1,o="",l=G1;if(null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=q1(t,null,e,1,n??null,r,0,o,l),e[It]=t.current,tr(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 Q0(t)},Ze.render=function(e,t,n){if(!Y0(t))throw Error(T(200));return X0(null,e,t,!1,n)},Ze.unmountComponentAtNode=function(e){if(!Y0(e))throw Error(T(40));return!!e._reactRootContainer&&(On((function(){X0(null,null,e,!1,(function(){e._reactRootContainer=null,e[It]=null}))})),!0)},Ze.unstable_batchedUpdates=Ti,Ze.unstable_renderSubtreeIntoContainer=function(e,t,n,u){if(!Y0(n))throw Error(T(200));if(null==e||void 0===e._reactInternals)throw Error(T(38));return X0(e,t,n,!1,u)},Ze.version="18.3.1-next-f1338f8080-20240426",function Y1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Y1)}catch(e){console.error(e)}}(),Za.exports=Ze;var Ii=Za.exports,X1=Ii;Fo.createRoot=X1.createRoot,Fo.hydrateRoot=X1.hydrateRoot;const zi=E.createContext(null),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,restApi:"false",restUrl:""};const J0="___anm-chat-widget-open___",J1="___anm-chat-greetings-shown___";const bh=E.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var _h=Object.defineProperty,eo=Object.getOwnPropertySymbols,ef=Object.prototype.hasOwnProperty,tf=Object.prototype.propertyIsEnumerable,nf=(e,t,n)=>t in e?_h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uf=(e,t)=>{for(var n in t||(t={}))ef.call(t,n)&&nf(e,n,t[n]);if(eo)for(var n of eo(t))tf.call(t,n)&&nf(e,n,t[n]);return e},rf=(e,t)=>{var n={};for(var u in e)ef.call(e,u)&&t.indexOf(u)<0&&(n[u]=e[u]);if(null!=e&&eo)for(var u of eo(e))t.indexOf(u)<0&&tf.call(e,u)&&(n[u]=e[u]);return n};const of=E.forwardRef(((e,t)=>{const n=e,{alt:u,color:r,size:o,weight:l,mirrored:i,children:a,weights:s}=n,c=rf(n,["alt","color","size","weight","mirrored","children","weights"]),d=E.useContext(bh),{color:h="currentColor",size:v,weight:g="regular",mirrored:_=!1}=d,S=rf(d,["color","size","weight","mirrored"]);return m.createElement("svg",uf(uf({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o??v,height:o??v,fill:r??h,viewBox:"0 0 256 256",transform:i||_?"scale(-1, 1)":void 0},S),c),!!u&&m.createElement("title",null,u),a,s.get(l??g))}));of.displayName="IconBase";const it=of,Eh=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.createElement("path",{d:"M200,144l-72,72L56,144Z",opacity:"0.2"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 kh=Object.defineProperty,Ch=Object.defineProperties,Sh=Object.getOwnPropertyDescriptors,lf=Object.getOwnPropertySymbols,Ah=Object.prototype.hasOwnProperty,Th=Object.prototype.propertyIsEnumerable,af=(e,t,n)=>t in e?kh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const sf=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>Ch(e,Sh(t)))(((e,t)=>{for(var n in t||(t={}))Ah.call(t,n)&&af(e,n,t[n]);if(lf)for(var n of lf(t))Th.call(t,n)&&af(e,n,t[n]);return e})({ref:t},e),{weights:Eh}))));sf.displayName="ArrowDown";const Nh=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 Mh=Object.defineProperty,Lh=Object.defineProperties,jh=Object.getOwnPropertyDescriptors,cf=Object.getOwnPropertySymbols,Oh=Object.prototype.hasOwnProperty,Ph=Object.prototype.propertyIsEnumerable,ff=(e,t,n)=>t in e?Mh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const df=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>Lh(e,jh(t)))(((e,t)=>{for(var n in t||(t={}))Oh.call(t,n)&&ff(e,n,t[n]);if(cf)for(var n of cf(t))Ph.call(t,n)&&ff(e,n,t[n]);return e})({ref:t},e),{weights:Nh}))));df.displayName="Binoculars";const zh=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 Hh=Object.defineProperty,$h=Object.defineProperties,Bh=Object.getOwnPropertyDescriptors,pf=Object.getOwnPropertySymbols,Uh=Object.prototype.hasOwnProperty,Vh=Object.prototype.propertyIsEnumerable,hf=(e,t,n)=>t in e?Hh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const mf=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>$h(e,Bh(t)))(((e,t)=>{for(var n in t||(t={}))Uh.call(t,n)&&hf(e,n,t[n]);if(pf)for(var n of pf(t))Vh.call(t,n)&&hf(e,n,t[n]);return e})({ref:t},e),{weights:zh}))));mf.displayName="ChatCircleDots";const Wh=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 Gh=Object.defineProperty,Qh=Object.defineProperties,Yh=Object.getOwnPropertyDescriptors,gf=Object.getOwnPropertySymbols,Xh=Object.prototype.hasOwnProperty,Kh=Object.prototype.propertyIsEnumerable,wf=(e,t,n)=>t in e?Gh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const vf=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>Qh(e,Yh(t)))(((e,t)=>{for(var n in t||(t={}))Xh.call(t,n)&&wf(e,n,t[n]);if(gf)for(var n of gf(t))Kh.call(t,n)&&wf(e,n,t[n]);return e})({ref:t},e),{weights:Wh}))));vf.displayName="Check";const t6=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 n6=Object.defineProperty,u6=Object.defineProperties,r6=Object.getOwnPropertyDescriptors,yf=Object.getOwnPropertySymbols,o6=Object.prototype.hasOwnProperty,l6=Object.prototype.propertyIsEnumerable,xf=(e,t,n)=>t in e?n6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Hi=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>u6(e,r6(t)))(((e,t)=>{for(var n in t||(t={}))o6.call(t,n)&&xf(e,n,t[n]);if(yf)for(var n of yf(t))l6.call(t,n)&&xf(e,n,t[n]);return e})({ref:t},e),{weights:t6}))));Hi.displayName="CircleNotch";const s6=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 c6=Object.defineProperty,f6=Object.defineProperties,d6=Object.getOwnPropertyDescriptors,bf=Object.getOwnPropertySymbols,p6=Object.prototype.hasOwnProperty,h6=Object.prototype.propertyIsEnumerable,_f=(e,t,n)=>t in e?c6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Ef=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>f6(e,d6(t)))(((e,t)=>{for(var n in t||(t={}))p6.call(t,n)&&_f(e,n,t[n]);if(bf)for(var n of bf(t))h6.call(t,n)&&_f(e,n,t[n]);return e})({ref:t},e),{weights:s6}))));Ef.displayName="Headset";const w6=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 v6=Object.defineProperty,y6=Object.defineProperties,x6=Object.getOwnPropertyDescriptors,kf=Object.getOwnPropertySymbols,b6=Object.prototype.hasOwnProperty,_6=Object.prototype.propertyIsEnumerable,Cf=(e,t,n)=>t in e?v6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Sf=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>y6(e,x6(t)))(((e,t)=>{for(var n in t||(t={}))b6.call(t,n)&&Cf(e,n,t[n]);if(kf)for(var n of kf(t))_6.call(t,n)&&Cf(e,n,t[n]);return e})({ref:t},e),{weights:w6}))));Sf.displayName="MagicWand";const C6=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 S6=Object.defineProperty,A6=Object.defineProperties,T6=Object.getOwnPropertyDescriptors,Af=Object.getOwnPropertySymbols,D6=Object.prototype.hasOwnProperty,F6=Object.prototype.propertyIsEnumerable,Tf=(e,t,n)=>t in e?S6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Df=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>A6(e,T6(t)))(((e,t)=>{for(var n in t||(t={}))D6.call(t,n)&&Tf(e,n,t[n]);if(Af)for(var n of Af(t))F6.call(t,n)&&Tf(e,n,t[n]);return e})({ref:t},e),{weights:C6}))));Df.displayName="MagnifyingGlass";const L6=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 j6=Object.defineProperty,O6=Object.defineProperties,P6=Object.getOwnPropertyDescriptors,Ff=Object.getOwnPropertySymbols,R6=Object.prototype.hasOwnProperty,I6=Object.prototype.propertyIsEnumerable,Nf=(e,t,n)=>t in e?j6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Mf=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>O6(e,P6(t)))(((e,t)=>{for(var n in t||(t={}))R6.call(t,n)&&Nf(e,n,t[n]);if(Ff)for(var n of Ff(t))I6.call(t,n)&&Nf(e,n,t[n]);return e})({ref:t},e),{weights:L6}))));Mf.displayName="PaperPlaneRight";const $6=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 B6=Object.defineProperty,U6=Object.defineProperties,V6=Object.getOwnPropertyDescriptors,Lf=Object.getOwnPropertySymbols,Z6=Object.prototype.hasOwnProperty,q6=Object.prototype.propertyIsEnumerable,jf=(e,t,n)=>t in e?B6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Of=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>U6(e,V6(t)))(((e,t)=>{for(var n in t||(t={}))Z6.call(t,n)&&jf(e,n,t[n]);if(Lf)for(var n of Lf(t))q6.call(t,n)&&jf(e,n,t[n]);return e})({ref:t},e),{weights:$6}))));Of.displayName="Plus";const Q6=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 Y6=Object.defineProperty,X6=Object.defineProperties,K6=Object.getOwnPropertyDescriptors,Pf=Object.getOwnPropertySymbols,J6=Object.prototype.hasOwnProperty,e4=Object.prototype.propertyIsEnumerable,Rf=(e,t,n)=>t in e?Y6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const If=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>X6(e,K6(t)))(((e,t)=>{for(var n in t||(t={}))J6.call(t,n)&&Rf(e,n,t[n]);if(Pf)for(var n of Pf(t))e4.call(t,n)&&Rf(e,n,t[n]);return e})({ref:t},e),{weights:Q6}))));If.displayName="Warning";const u4=new Map([["bold",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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"}),m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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",m.createElement(m.Fragment,null,m.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 r4=Object.defineProperty,o4=Object.defineProperties,l4=Object.getOwnPropertyDescriptors,zf=Object.getOwnPropertySymbols,i4=Object.prototype.hasOwnProperty,a4=Object.prototype.propertyIsEnumerable,Hf=(e,t,n)=>t in e?r4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const $f=E.forwardRef(((e,t)=>m.createElement(it,((e,t)=>o4(e,l4(t)))(((e,t)=>{for(var n in t||(t={}))i4.call(t,n)&&Hf(e,n,t[n]);if(zf)for(var n of zf(t))a4.call(t,n)&&Hf(e,n,t[n]);return e})({ref:t},e),{weights:u4}))));$f.displayName="X";const $i={plus:Of,chatBubble:mf,support:Ef,search2:df,search:Df,magic:Sf};function f4({settings:e,isOpen:t,toggleBot:n,offsetBottom:u}){const r=Object.hasOwn($i,null==e?void 0:e.chatIcon)?$i[e.chatIcon]:$i.plus,o="white"===e.arrowDownColor?"tw-jg":"tw-ig",l=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-md tw-ug tw-ao tw-ed tw-oc tw-xa tw-pf tw-im tw-yn",style:{position:"fixed",bottom:l,...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-ao tw-vf tw-od tw-bn tw-nm tw-im",children:[e.chatIconUrl?p.jsx("img",{style:{borderRadius:"9999px"},className:"tw-bn tw-nm tw-pf tw-ni"+(t?"tw-xl tw-mj tw-fi":"tw-rj tw-bh tw-vk"),src:e.chatIconUrl,alt:"Chat Icon"}):p.jsx(r,{className:"tw-dk tw-li tw-jg tw-hg tw-zk tw-pf tw-ni "+(t?"tw-xl tw-mj tw-fi":"tw-rj tw-bh tw-vk")}),p.jsx("svg",{viewBox:"0 0 24 24",className:`tw-dk ${o} tw-yk tw-pf tw-ni tw-nq tw-cq tw-ui `+(t?"tw-rj tw-vk tw-bh":"tw-xl tw-mg tw-mj"),children:p.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})})]})})}const Bi="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",d4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},E.createElement("g",{fill:"#fff",clipPath:"url(#line_svg__a)"},E.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"}),E.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"})),E.createElement("defs",null,E.createElement("clipPath",{id:"line_svg__a"},E.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),p4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},E.createElement("g",{clipPath:"url(#messenger_svg__a)"},E.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"})),E.createElement("defs",null,E.createElement("clipPath",{id:"messenger_svg__a"},E.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),h4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:27,height:26,fill:"none",...e},E.createElement("g",{clipPath:"url(#phone_svg__a)"},E.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"})),E.createElement("defs",null,E.createElement("clipPath",{id:"phone_svg__a"},E.createElement("path",{fill:"#fff",d:"M.5 0h26v26H.5z"})))),m4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"5 20 530 159",...e},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"})),g4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},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"})),w4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 25",...e},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"}),E.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"})),v4=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},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"},th:{today:"วันนี้",yesterday:"เมื่อวาน",copy:"คัดลอก",copySuccess:"คัดลอกสำเร็จ",suggest:"แนะนำ",report:"รายงาน",selectAssistantLabel:"เลือกข้อมูล",statistic:"สถิติ",question:"คำถาม",answer:"คำตอบ",answerCorrect:"คำตอบที่ถูกต้อง",sources:"เอกสารอ้างอิง",sourcesEmpty:"ไม่มีเอกสาร",remark:"หมายเหตุ",cancel:"ยกเลิก"}},vn="https://api.rudi.animuz.ai",Ui_chat=async(e,t,n="")=>{const u=await fetch(`${n||vn}/chat`,{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)});return[await u.json(),u.status]},Ui_ping=async()=>{try{fetch(`${vn}/pingModal`)}catch(e){console.error(e)}},Ui_listAssistants=async(e,t="")=>await(await fetch(`${t||vn}/v2/public/assistant`,{method:"GET",headers:{"Content-Type":"application/json",...e}})).json(),yr={getMessages:async(e,t="")=>{try{return(await(await fetch(`${t||vn}/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||vn}/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||vn}/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||vn}/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||vn}/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 Bf=({settings:e,closeChat:t,sessionId:n,resetChat:u,isNoMessage:r,isFullScreen:o,isIframe:l,toggleFullScreen:i})=>{const a=e.language,s=Dt[a]||Dt.en,{assistants:c,loading:d,error:h,selectedAssistant:v,changeAssistant:g}=function(e,t=null){const[n,u]=E.useState([]),[r,o]=E.useState(null),[l,i]=E.useState(!0),[a,s]=E.useState(null);return E.useEffect((()=>{e.embedId&&t&&null!==e.showAssistants&&async function(){try{const h=await Ui_listAssistants({"client-id":e.embedId,"session-id":t},e.restUrl);if(u(h),h.length>0){const v=h.find((g=>!0===g.isCurrentLocked));o((null==v?void 0:v.assistantID)??h[0].assistantID)}else o(null)}catch(h){s(h.message)}finally{i(!1)}}()}),[e.embedId,t,e.showAssistants]),{assistants:n,loading:l,error:a,selectedAssistant:r,changeAssistant:async d=>{try{await yr.changeAssistant({assistantID:d},{"client-id":e.embedId,"session-id":t},e.restUrl),o(d)}catch(h){console.error("Error changing assistant:",h)}}}}(e,n),_=()=>{if(c.length>0&&null!==e.showAssistants)return p.jsxs("div",{className:"tw-tk tw-lm",children:[p.jsx("select",{id:"selectRudi",className:"anm-peer tw-bn tw-rc tw-dg tw-ji tw-km tw-tc tw-jq",value:v||"",onChange:S=>g(S.target.value),children:c.map(((S,y)=>p.jsx("option",{value:S.assistantID,children:S.name},y)))}),p.jsx(v4,{className:"tw-dk tw-tl tw-gm tw-zj tw-cc tw-af tw-ni tw-pf tw-ua tw-hb"})]})};return p.jsxs("header",{style:{"--bg-color":e.bgColorChat??"#f3f4f6"},className:"tw-iq tw-xh tw-zm tw-wa",children:[p.jsxs("div",{className:"tw-ao tw-jk tw-dh tw-mp tw-tk tw-ad tw-yd tw-rf "+(Uf(e)||o||null!==e.showAssistants?"tw-bj":r||null===e.showAssistants?"tw-mk":"tw-aj"),style:{backgroundColor:e.headerBgColor??"#FFFFFF",color:e.headerTextColor??"#000000"},children:["dog"===e.headerBgPattern&&p.jsx(m4,{alt:"Background",className:"tw-dk tw-qm tw-sn tw-hm tw-cg tw-bi tw-ki"}),p.jsxs("div",{className:"tw-ao tw-nm tw-vf",children:[p.jsx("div",{className:"tw-qo tw-to tw-ao tw-vf tw-xp",children:p.jsx("div",{className:`tw-ao tw-od tw-vf tw-ko ${e.showAssistants?"tw-am":"tw-yl"} tw-ek tw-fg`,children:p.jsx("img",{className:"tw-bn tw-nm tw-pd tw-fg",src:e.brandImageUrl??Bi,alt:e.brandName?e.brandName+" Logo":"Rudi Logo"})})}),p.jsxs("div",{className:"tw-ao tw-jk tw-wj tw-bn tw-xp",children:[p.jsxs("div",{className:"tw-ao tw-yc tw-bn tw-vf",children:[p.jsxs("div",{className:"tw-ao tw-jk",children:[p.jsx("span",{className:"tw-cm tw-ge tw-eq tw-kg tw-yi",children:e.brandName}),p.jsx("span",{className:"tw-dm tw-xg tw-xd tw-eq tw-kg tw-yi",children:e.brandSlogan})]}),p.jsxs("div",{className:"tw-ao tw-vf tw-dk tw-ul tw-tn",children:[p.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},className:"tw-ug tw-mc tw-xn tw-hf tw-md tw-ci tw-ic tw-fl tw-zn tw-ce tw-jc tw-xa tw-pf",onClick:u,children:p.jsx(g4,{stroke:"currentColor",width:"100%",height:"100%",style:{color:e.headerTextColor??"#000000"}})}),"on"===e.allowFullscreen&&p.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},"data-fullscreen":o,className:"tw-om tw-el tw-ug tw-jd tw-eq tw-wg tw-md tw-ci tw-ic tw-ym tw-iq tw-kg tw-fd tw-l tw-xa tw-pf",onClick:i,children:p.jsx(w4,{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":l,className:"tw-oi tw-aa tw-ug tw-mc tw-xn tw-md tw-ci tw-ic tw-fl tw-zn tw-ce","aria-label":"Close",children:p.jsx($f,{width:"100%",height:"100%"})})]})]}),!o&&null!==e.showAssistants&&p.jsx(_,{})]})]}),Uf(e)?p.jsxs("div",{className:"tw-do tw-gi tw-im tw-ao tw-vf tw-qn tw-xh tw-yd tw-rf tw-hn",children:[e.socialFbUrl&&p.jsx("button",{className:"tw-ug tw-jd tw-eq tw-gq tw-md tw-xa tw-pf tw-fd tw-oc",children:p.jsx(p4,{className:"tw-xm",fill:"#FFFFFF",style:{color:e.headerBgColor??"#000000"}})}),e.socialLineUrl&&p.jsx("button",{className:"tw-ug tw-jd tw-eq tw-gq tw-md tw-xa tw-pf tw-fd tw-oc",children:p.jsx(d4,{className:"tw-xm",fill:"#FFFFFF"})}),e.socialPhoneUrl&&p.jsx("button",{className:"tw-ug tw-jd tw-eq tw-gq tw-md tw-xa tw-pf tw-fd tw-oc",children:p.jsx(h4,{className:"tw-xm",fill:"#FFFFFF"})})]}):null]}),o&&null!==e.showAssistants&&p.jsxs("div",{className:"tw-po tw-ao tw-jn tw-vf tw-oe tw-nl tw-bn",children:[p.jsx("label",{htmlFor:"selectRudi",className:"tw-yh tw-ge",children:s.selectAssistantLabel}),p.jsx(_,{})]})]})},Uf=e=>e.socialFbUrl||e.socialLineUrl||e.socialPhoneUrl,Vi=(e,t=void 0)=>{let u,n=!1;return e.map((({type:o,sender:l,senderID:i,message:a,images:s,debugPre:c,timestamp:d,read:h,msgID:v,videoUrls:g,fileUrls:_},S)=>{u=new Date(d).toLocaleDateString(),n=t!==u,t=new Date(d).toLocaleDateString();const y=function(e){const t=[];if(e&&e.length>0){var n={};e.forEach((u=>{if("assistant"===u.role&&Object.hasOwn(u,"tool_calls")){const r=u.tool_calls[0].function;n.name=r.name,n.args=r.arguments}if("tool"===u.role&&u.name===n.name&&u.content){if(n.response=u.content,"retriever"===n.name&&u.metadata){const r=n.response.split("<doc").filter((l=>!!l)).map((l=>l.substring(l.indexOf(">")+1))),o=JSON.parse(u.metadata).documents;n.documents=r.map(((l,i)=>({key:o[i].key,filetype:o[i].filetype,score:o[i].score,content:l})))}t.push(n),n={}}}))}return t}(c);return{msgID:v,type:o,role:l,timestamp:d,read:h,content:a||"",images:s,debugPre:c,..._4(y),isDateChanged:n,currDate:u,senderID:i,videoUrls:g,fileUrls:_}}))},_4=e=>{const t=e.find((o=>"retriever"===o.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 Vf={};function wu(e,t){"string"!=typeof t&&(t=wu.defaultChars);const n=function(e){let t=Vf[e];if(t)return t;t=Vf[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 o=0,l=u.length;o<l;o+=3){const i=parseInt(u.slice(o+1,o+3),16);if(i<128)r+=n[i];else{if(192==(224&i)&&o+3<l){const a=parseInt(u.slice(o+4,o+6),16);if(128==(192&a)){const s=i<<6&1984|63&a;r+=s<128?"��":String.fromCharCode(s),o+=3;continue}}if(224==(240&i)&&o+6<l){const a=parseInt(u.slice(o+4,o+6),16),s=parseInt(u.slice(o+7,o+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),o+=6;continue}}if(240==(248&i)&&o+9<l){const a=parseInt(u.slice(o+4,o+6),16),s=parseInt(u.slice(o+7,o+9),16),c=parseInt(u.slice(o+10,o+12),16);if(128==(192&a)&&128==(192&s)&&128==(192&c)){let d=i<<18&1835008|a<<12&258048|s<<6&4032|63&c;d<65536||d>1114111?r+="����":(d-=65536,r+=String.fromCharCode(55296+(d>>10),56320+(1023&d))),o+=9;continue}}r+="�"}}return r}))}wu.defaultChars=";/?:@&=+$,#",wu.componentChars="";const Zf={};function xr(e,t,n){"string"!=typeof t&&(n=t,t=xr.defaultChars),typeof n>"u"&&(n=!0);const u=function(e){let t=Zf[e];if(t)return t;t=Zf[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 o=0,l=e.length;o<l;o++){const i=e.charCodeAt(o);if(n&&37===i&&o+2<l&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))r+=e.slice(o,o+3),o+=2;else if(i<128)r+=u[i];else if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&o+1<l){const a=e.charCodeAt(o+1);if(a>=56320&&a<=57343){r+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}r+="%EF%BF%BD"}else r+=encodeURIComponent(e[o])}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 to(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}xr.defaultChars=";/?:@&=+$,-_.!~*'()#",xr.componentChars="-_.!~*'()";const A4=/^([a-z0-9.+-]+:)/i,T4=/:[0-9]*$/,D4=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,N4=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),M4=["'"].concat(N4),qf=["%","/","?",";","#"].concat(M4),Wf=["/","?","#"],Gf=/^[+a-z0-9A-Z_-]{0,63}$/,j4=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Qf={javascript:!0,"javascript:":!0},Yf={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 to)return e;const n=new to;return n.parse(e,t),n}to.prototype.parse=function(e,t){let n,u,r,o=e;if(o=o.trim(),!t&&1===e.split("#").length){const s=D4.exec(o);if(s)return this.pathname=s[1],s[2]&&(this.search=s[2]),this}let l=A4.exec(o);if(l&&(l=l[0],n=l.toLowerCase(),this.protocol=l,o=o.substr(l.length)),(t||l||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r="//"===o.substr(0,2),r&&!(l&&Qf[l])&&(o=o.substr(2),this.slashes=!0)),!Qf[l]&&(r||l&&!Yf[l])){let c,d,s=-1;for(let g=0;g<Wf.length;g++)u=o.indexOf(Wf[g]),-1!==u&&(-1===s||u<s)&&(s=u);d=-1===s?o.lastIndexOf("@"):o.lastIndexOf("@",s),-1!==d&&(c=o.slice(0,d),o=o.slice(d+1),this.auth=c),s=-1;for(let g=0;g<qf.length;g++)u=o.indexOf(qf[g]),-1!==u&&(-1===s||u<s)&&(s=u);-1===s&&(s=o.length),":"===o[s-1]&&s--;const h=o.slice(0,s);o=o.slice(s),this.parseHost(h),this.hostname=this.hostname||"";const v="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!v){const g=this.hostname.split(/\./);for(let _=0,S=g.length;_<S;_++){const y=g[_];if(y&&!y.match(Gf)){let f="";for(let w=0,x=y.length;w<x;w++)y.charCodeAt(w)>127?f+="x":f+=y[w];if(!f.match(Gf)){const w=g.slice(0,_),x=g.slice(_+1),k=y.match(j4);k&&(w.push(k[1]),x.unshift(k[2])),x.length&&(o=x.join(".")+o),this.hostname=w.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const i=o.indexOf("#");-1!==i&&(this.hash=o.substr(i),o=o.slice(0,i));const a=o.indexOf("?");return-1!==a&&(this.search=o.substr(a),o=o.slice(0,a)),o&&(this.pathname=o),Yf[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},to.prototype.parseHost=function(e){let t=T4.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 O4=Object.freeze(Object.defineProperty({__proto__:null,decode:wu,encode:xr,format:Zi,parse:qi},Symbol.toStringTag,{value:"Module"})),Xf=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Kf=/[\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]/,Jf=/[\$\+<->\^`\|~\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]/,e2=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,R4=Object.freeze(Object.defineProperty({__proto__:null,Any:Xf,Cc:Kf,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:Jf,Z:e2},Symbol.toStringTag,{value:"Module"})),I4=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୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢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;怳Ādp໩໮uct;戏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ǣጓ\0጖y;䐎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Ā;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀ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Ā;e᜚᜜lƀ;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\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩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ↄⅪ←ٖ↛ǰ↉\0↎proø₞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;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\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\0⹻m;櫳;櫽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)))),z4=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var Gi;const H4=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]]),$4=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 me;!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"}(me||(me={}));var yn,ge,xn;function Qi(e){return e>=me.ZERO&&e<=me.NINE}function V4(e){return e>=me.UPPER_A&&e<=me.UPPER_F||e>=me.LOWER_A&&e<=me.LOWER_F}function q4(e){return e===me.EQUALS||function(e){return e>=me.UPPER_A&&e<=me.UPPER_Z||e>=me.LOWER_A&&e<=me.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"}(yn||(yn={})),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"}(xn||(xn={}));class W4{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=xn.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)===me.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))===me.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 o=u-n;this.result=this.result*Math.pow(r,o)+parseInt(t.substr(n,o),r),this.consumed+=o}}stateNumericHex(t,n){const u=n;for(;n<t.length;){const r=t.charCodeAt(n);if(!Qi(r)&&!V4(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===me.SEMI)this.consumed+=1;else if(this.decodeMode===xn.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=H4.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(t!==me.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:u}=this;let r=u[this.treeIndex],o=(r&yn.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const l=t.charCodeAt(n);if(this.treeIndex=G4(u,r,this.treeIndex+Math.max(1,o),l),this.treeIndex<0)return 0===this.result||this.decodeMode===xn.Attribute&&(0===o||q4(l))?0:this.emitNotTerminatedNamedEntity();if(r=u[this.treeIndex],o=(r&yn.VALUE_LENGTH)>>14,0!==o){if(l===me.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==xn.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]&yn.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]&~yn.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===xn.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 t2(e){let t="";const n=new W4(e,(u=>t+=$4(u)));return function(r,o){let l=0,i=0;for(;(i=r.indexOf("&",i))>=0;){t+=r.slice(l,i),n.startEntity(o);const s=n.write(r,i+1);if(s<0){l=i+n.end();break}l=i+s,i=0===s?l+1:l}const a=t+r.slice(l);return t="",a}}function G4(e,t,n,u){const r=(t&yn.BRANCH_LENGTH)>>7,o=t&yn.JUMP_TABLE;if(0===r)return 0!==o&&u===o?n:-1;if(o){const a=u-o;return a<0||a>=r?-1:e[n+a]-1}let l=n,i=l+r-1;for(;l<=i;){const a=l+i>>>1,s=e[a];if(s<u)l=a+1;else{if(!(s>u))return e[a+r];i=a-1}}return-1}const Q4=t2(I4);function n2(e,t=xn.Legacy){return Q4(e,t)}function Yi(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}t2(z4);const X4=Object.prototype.hasOwnProperty;function no(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 u2(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Xi(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 uo(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const r2=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,em=new RegExp(r2.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),tm=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function vu(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(em,(function(t,n,u){return n||function(e,t){if(35===t.charCodeAt(0)&&tm.test(t)){const u="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Xi(u)?uo(u):e}const n=n2(e);return n!==e?n:e}(t,u)}))}const rm=/[&<>"]/,om=/[&<>"]/g,lm={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function im(e){return lm[e]}function bn(e){return rm.test(e)?e.replace(om,im):e}const am=/[.?*+^$[\]\\(){}|-]/g;function Q(e){switch(e){case 9:case 32:return!0}return!1}function br(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 _r(e){return Wi.test(e)||Jf.test(e)}function Er(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 ro(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const cm=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:u2,assign:no,escapeHtml:bn,escapeRE:function(e){return e.replace(am,"\\$&")},fromCodePoint:uo,has:function(e,t){return X4.call(e,t)},isMdAsciiPunct:Er,isPunctChar:_r,isSpace:Q,isString:Yi,isValidEntityCode:Xi,isWhiteSpace:br,lib:{mdurl:O4,ucmicro:R4},normalizeReference:ro,unescapeAll:vu,unescapeMd:function(e){return e.indexOf("\\")<0?e:e.replace(r2,"$1")}},Symbol.toStringTag,{value:"Module"}));const hm=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:function(e,t,n){let u,r=t;const o={ok:!1,pos:0,str:""};if(60===e.charCodeAt(r)){for(r++;r<n;){if(u=e.charCodeAt(r),10===u||60===u)return o;if(62===u)return o.pos=r+1,o.str=vu(e.slice(t+1,r)),o.ok=!0,o;92===u&&r+1<n?r+=2:r++}return o}let l=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&&(l++,l>32))return o;if(41===u){if(0===l)break;l--}r++}return t===r||0!==l||(o.str=vu(e.slice(t,r)),o.pos=r,o.ok=!0),o},parseLinkLabel:function(e,t,n){let u,r,o,l;const i=e.posMax,a=e.pos;for(e.pos=t+1,u=1;e.pos<i;){if(o=e.src.charCodeAt(e.pos),93===o&&(u--,0===u)){r=!0;break}if(l=e.pos,e.md.inline.skipToken(e),91===o)if(l===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,o=t;const l={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(u)l.str=u.str,l.marker=u.marker;else{if(o>=n)return l;let i=e.charCodeAt(o);if(34!==i&&39!==i&&40!==i)return l;t++,o++,40===i&&(i=41),l.marker=i}for(;o<n;){if(r=e.charCodeAt(o),r===l.marker)return l.pos=o+1,l.str+=vu(e.slice(t,o)),l.ok=!0,l;if(40===r&&41===l.marker)return l;92===r&&o+1<n&&o++,o++}return l.can_continue=!0,l.str+=vu(e.slice(t,o)),l}},Symbol.toStringTag,{value:"Module"})),Ft={};function yu(){this.rules=no({},Ft)}function $e(){this.__rules__=[],this.__cache__=null}function xt(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 o2(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}Ft.code_inline=function(e,t,n,u,r){const o=e[t];return"<code"+r.renderAttrs(o)+">"+bn(o.content)+"</code>"},Ft.code_block=function(e,t,n,u,r){const o=e[t];return"<pre"+r.renderAttrs(o)+"><code>"+bn(e[t].content)+"</code></pre>\n"},Ft.fence=function(e,t,n,u,r){const o=e[t],l=o.info?vu(o.info).trim():"";let s,i="",a="";if(l){const c=l.split(/(\s+)/g);i=c[0],a=c.slice(2).join("")}if(s=n.highlight&&n.highlight(o.content,i,a)||bn(o.content),0===s.indexOf("<pre"))return s+"\n";if(l){const c=o.attrIndex("class"),d=o.attrs?o.attrs.slice():[];c<0?d.push(["class",n.langPrefix+i]):(d[c]=d[c].slice(),d[c][1]+=" "+n.langPrefix+i);const h={attrs:d};return`<pre><code${r.renderAttrs(h)}>${s}</code></pre>\n`}return`<pre><code${r.renderAttrs(o)}>${s}</code></pre>\n`},Ft.image=function(e,t,n,u,r){const o=e[t];return o.attrs[o.attrIndex("alt")][1]=r.renderInlineAsText(o.children,n,u),r.renderToken(e,t,n)},Ft.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},Ft.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},Ft.text=function(e,t){return bn(e[t].content)},Ft.html_block=function(e,t){return e[t].content},Ft.html_inline=function(e,t){return e[t].content},yu.prototype.renderAttrs=function(t){let n,u,r;if(!t.attrs)return"";for(r="",n=0,u=t.attrs.length;n<u;n++)r+=" "+bn(t.attrs[n][0])+'="'+bn(t.attrs[n][1])+'"';return r},yu.prototype.renderToken=function(t,n,u){const r=t[n];let o="";if(r.hidden)return"";r.block&&-1!==r.nesting&&n&&t[n-1].hidden&&(o+="\n"),o+=(-1===r.nesting?"</":"<")+r.tag,o+=this.renderAttrs(r),0===r.nesting&&u.xhtmlOut&&(o+=" /");let l=!1;if(r.block&&(l=!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)&&(l=!1)}return o+=l?">\n":">",o},yu.prototype.renderInline=function(e,t,n){let u="";const r=this.rules;for(let o=0,l=e.length;o<l;o++){const i=e[o].type;typeof r[i]<"u"?u+=r[i](e,o,t,n,this):u+=this.renderToken(e,o,t)}return u},yu.prototype.renderInlineAsText=function(e,t,n){let u="";for(let r=0,o=e.length;r<o;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},yu.prototype.render=function(e,t,n){let u="";const r=this.rules;for(let o=0,l=e.length;o<l;o++){const i=e[o].type;"inline"===i?u+=this.renderInline(e[o].children,t,n):typeof r[i]<"u"?u+=r[i](e,o,t,n,this):u+=this.renderToken(e,o,t,n)}return u},$e.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},$e.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))}))}))},$e.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},$e.prototype.before=function(e,t,n,u){const r=this.__find__(e),o=u||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},$e.prototype.after=function(e,t,n,u){const r=this.__find__(e),o=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:o.alt||[]}),this.__cache__=null},$e.prototype.push=function(e,t,n){const u=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:u.alt||[]}),this.__cache__=null},$e.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},$e.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(n){n.enabled=!1})),this.enable(e,t)},$e.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},$e.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},xt.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},xt.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},xt.prototype.attrSet=function(t,n){const u=this.attrIndex(t),r=[t,n];u<0?this.attrPush(r):this.attrs[u]=r},xt.prototype.attrGet=function(t){const n=this.attrIndex(t);let u=null;return n>=0&&(u=this.attrs[n][1]),u},xt.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},o2.prototype.Token=xt;const mm=/\r\n?|\n/g,gm=/\0/g;function xm(e){return/^<a[>\s]/i.test(e)}function bm(e){return/^<\/a\s*>/i.test(e)}const l2=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Em=/\((c|tm|r)\)/i,km=/\((c|tm|r)\)/gi,Cm={c:"©",r:"®",tm:"™"};function Sm(e,t){return Cm[t.toLowerCase()]}function Am(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(km,Sm)),"link_open"===u.type&&"auto"===u.info&&t--,"link_close"===u.type&&"auto"===u.info&&t++}}function Tm(e){let t=0;for(let n=e.length-1;n>=0;n--){const u=e[n];"text"===u.type&&!t&&l2.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 Fm=/['"]/,i2=/['"]/g,a2="’";function oo(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function Nm(e,t){let n;const u=[];for(let r=0;r<e.length;r++){const o=e[r],l=e[r].level;for(n=u.length-1;n>=0&&!(u[n].level<=l);n--);if(u.length=n+1,"text"!==o.type)continue;let i=o.content,a=0,s=i.length;e:for(;a<s;){i2.lastIndex=a;const c=i2.exec(i);if(!c)break;let d=!0,h=!0;a=c.index+1;const v="'"===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 _=32;if(a<s)_=i.charCodeAt(a);else for(n=r+1;n<e.length&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n++)if(e[n].content){_=e[n].content.charCodeAt(0);break}const S=Er(g)||_r(String.fromCharCode(g)),y=Er(_)||_r(String.fromCharCode(_)),f=br(g),w=br(_);if(w?d=!1:y&&(f||S||(d=!1)),f?h=!1:S&&(w||y||(h=!1)),34===_&&'"'===c[0]&&g>=48&&g<=57&&(h=d=!1),d&&h&&(d=S,h=y),d||h){if(h)for(n=u.length-1;n>=0;n--){let x=u[n];if(u[n].level<l)break;if(x.single===v&&u[n].level===l){let k,C;x=u[n],v?(k=t.md.options.quotes[2],C=t.md.options.quotes[3]):(k=t.md.options.quotes[0],C=t.md.options.quotes[1]),o.content=oo(o.content,c.index,C),e[x.token].content=oo(e[x.token].content,x.pos,k),a+=C.length-1,x.token===r&&(a+=k.length-1),i=o.content,s=i.length,u.length=n;continue e}}d?u.push({token:r,pos:c.index,single:v,level:l}):h&&v&&(o.content=oo(o.content,c.index,a2))}else v&&(o.content=oo(o.content,c.index,a2))}}}const Ki=[["normalize",function(e){let t;t=e.src.replace(mm,"\n"),t=t.replace(gm,"�"),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,o=0;for(let l=r.length-1;l>=0;l--){const i=r[l];if("link_close"!==i.type){if("html_inline"===i.type&&(xm(i.content)&&o>0&&o--,bm(i.content)&&o++),!(o>0)&&"text"===i.type&&e.md.linkify.test(i.content)){const a=i.content;let s=e.md.linkify.match(a);const c=[];let d=i.level,h=0;s.length>0&&0===s[0].index&&l>0&&"text_special"===r[l-1].type&&(s=s.slice(1));for(let v=0;v<s.length;v++){const g=s[v].url,_=e.md.normalizeLink(g);if(!e.md.validateLink(_))continue;let S=s[v].text;S=s[v].schema?"mailto:"!==s[v].schema||/^mailto:/i.test(S)?e.md.normalizeLinkText(S):e.md.normalizeLinkText("mailto:"+S).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+S).replace(/^http:\/\//,"");const y=s[v].index;if(y>h){const k=new e.Token("text","",0);k.content=a.slice(h,y),k.level=d,c.push(k)}const f=new e.Token("link_open","a",1);f.attrs=[["href",_]],f.level=d++,f.markup="linkify",f.info="auto",c.push(f);const w=new e.Token("text","",0);w.content=S,w.level=d,c.push(w);const x=new e.Token("link_close","a",-1);x.level=--d,x.markup="linkify",x.info="auto",c.push(x),h=s[v].lastIndex}if(h<a.length){const v=new e.Token("text","",0);v.content=a.slice(h),v.level=d,c.push(v)}t[n].children=r=u2(r,l,c)}}else for(l--;r[l].level!==i.level&&"link_open"!==r[l].type;)l--}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(Em.test(e.tokens[t].content)&&Am(e.tokens[t].children),l2.test(e.tokens[t].content)&&Tm(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||!Fm.test(e.tokens[t].content)||Nm(e.tokens[t].children,e)}],["text_join",function(e){let t,n;const u=e.tokens,r=u.length;for(let o=0;o<r;o++){if("inline"!==u[o].type)continue;const l=u[o].children,i=l.length;for(t=0;t<i;t++)"text_special"===l[t].type&&(l[t].type="text");for(t=n=0;t<i;t++)"text"===l[t].type&&t+1<i&&"text"===l[t+1].type?l[t+1].content=l[t].content+l[t+1].content:(t!==n&&(l[n]=l[t]),n++);t!==n&&(l.length=n)}}]];function Ji(){this.ruler=new $e;for(let e=0;e<Ki.length;e++)this.ruler.push(Ki[e][0],Ki[e][1])}function Nt(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 o=0,l=0,i=0,a=0,s=r.length,c=!1;l<s;l++){const d=r.charCodeAt(l);if(!c){if(Q(d)){i++,9===d?a+=4-a%4:a++;continue}c=!0}(10===d||l===s-1)&&(10!==d&&l++,this.bMarks.push(o),this.eMarks.push(l),this.tShift.push(i),this.sCount.push(a),this.bsCount.push(0),c=!1,i=0,a=0,o=l+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=o2,Nt.prototype.push=function(e,t,n){const u=new xt(e,t,n);return u.block=!0,n<0&&this.level--,u.level=this.level,n>0&&this.level++,this.tokens.push(u),u},Nt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},Nt.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t},Nt.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){if(!Q(this.src.charCodeAt(t)))break}return t},Nt.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!Q(this.src.charCodeAt(--t)))return t+1;return t},Nt.prototype.skipChars=function(t,n){for(let u=this.src.length;t<u&&this.src.charCodeAt(t)===n;t++);return t},Nt.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},Nt.prototype.getLines=function(t,n,u,r){if(t>=n)return"";const o=new Array(n-t);for(let l=0,i=t;i<n;i++,l++){let a=0;const s=this.bMarks[i];let d,c=s;for(d=i+1<n||r?this.eMarks[i]+1:this.eMarks[i];c<d&&a<u;){const h=this.src.charCodeAt(c);if(Q(h))9===h?a+=4-(a+this.bsCount[i])%4:a++;else{if(!(c-s<this.tShift[i]))break;a++}c++}o[l]=a>u?new Array(a-u+1).join(" ")+this.src.slice(c,d):this.src.slice(c,d)}return o.join("")},Nt.prototype.Token=xt;function ea(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];return e.src.slice(n,u)}function s2(e){const t=[],n=e.length;let u=0,r=e.charCodeAt(u),o=!1,l=0,i="";for(;u<n;)124===r&&(o?(i+=e.substring(l,u-1),l=u):(t.push(i+e.substring(l,u)),i="",l=u+1)),o=92===r,u++,r=e.charCodeAt(u);return t.push(i+e.substring(l)),t}function c2(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 f2(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];let r=n;if(r+1>=u)return-1;let o=e.src.charCodeAt(r++);if(o<48||o>57)return-1;for(;;){if(r>=u)return-1;if(o=e.src.charCodeAt(r++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(r-n>=10)return-1}return r<u&&(o=e.src.charCodeAt(r),!Q(o))?-1:r}const d2="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",p2="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Ym=new RegExp("^(?:"+d2+"|"+p2+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),Xm=new RegExp("^(?:"+d2+"|"+p2+")"),xu=[[/^<(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(Xm.source+"\\s*$"),/^$/,!1]];const lo=[["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 o=e.bMarks[r]+e.tShift[r];if(o>=e.eMarks[r])return!1;const l=e.src.charCodeAt(o++);if(124!==l&&45!==l&&58!==l||o>=e.eMarks[r])return!1;const i=e.src.charCodeAt(o++);if(124!==i&&45!==i&&58!==i&&!Q(i)||45===l&&Q(i))return!1;for(;o<e.eMarks[r];){const x=e.src.charCodeAt(o);if(124!==x&&45!==x&&58!==x&&!Q(x))return!1;o++}let a=ea(e,t+1),s=a.split("|");const c=[];for(let x=0;x<s.length;x++){const k=s[x].trim();if(!k){if(0===x||x===s.length-1)continue;return!1}if(!/^:?-+:?$/.test(k))return!1;58===k.charCodeAt(k.length-1)?c.push(58===k.charCodeAt(0)?"center":"right"):58===k.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=s2(a),s.length&&""===s[0]&&s.shift(),s.length&&""===s[s.length-1]&&s.pop();const d=s.length;if(0===d||d!==c.length)return!1;if(u)return!0;const h=e.parentType;e.parentType="table";const v=e.md.block.ruler.getRules("blockquote"),_=[t,0];e.push("table_open","table",1).map=_,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 k=e.push("th_open","th",1);c[x]&&(k.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 f,w=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let x=!1;for(let C=0,A=v.length;C<A;C++)if(v[C](e,r,n,!0)){x=!0;break}if(x||(a=ea(e,r).trim(),!a)||e.sCount[r]-e.blkIndent>=4||(s=s2(a),s.length&&""===s[0]&&s.shift(),s.length&&""===s[s.length-1]&&s.pop(),w+=d-s.length,w>65536))break;if(r===t+2){e.push("tbody_open","tbody",1).map=f=[t+2,0]}e.push("tr_open","tr",1).map=[r,r+1];for(let C=0;C<d;C++){const A=e.push("td_open","td",1);c[C]&&(A.attrs=[["style","text-align:"+c[C]]]);const F=e.push("inline","",0);F.content=s[C]?s[C].trim():"",F.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return f&&(e.push("tbody_close","tbody",-1),f[1]=r),e.push("table_close","table",-1),_[1]=r,e.parentType=h,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 o=e.push("code_block","code",0);return o.content=e.getLines(t,r,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}],["fence",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>o)return!1;const l=e.src.charCodeAt(r);if(126!==l&&96!==l)return!1;let i=r;r=e.skipChars(r,l);let a=r-i;if(a<3)return!1;const s=e.src.slice(i,r),c=e.src.slice(r,o);if(96===l&&c.indexOf(String.fromCharCode(l))>=0)return!1;if(u)return!0;let d=t,h=!1;for(;d++,!(d>=n||(r=i=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],r<o&&e.sCount[d]<e.blkIndent));)if(!(e.src.charCodeAt(r)!==l||e.sCount[d]-e.blkIndent>=4||(r=e.skipChars(r,l),r-i<a||(r=e.skipSpaces(r),r<o)))){h=!0;break}a=e.sCount[t],e.line=d+(h?1:0);const v=e.push("fence","code",0);return v.info=c,v.content=e.getLines(t+1,d,a,!0),v.markup=s,v.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];const l=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=[],d=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let g,v=!1;for(g=t;g<n;g++){const w=e.sCount[g]<e.blkIndent;if(r=e.bMarks[g]+e.tShift[g],o=e.eMarks[g],r>=o)break;if(62===e.src.charCodeAt(r++)&&!w){let C,A,k=e.sCount[g]+1;32===e.src.charCodeAt(r)?(r++,k++,A=!1,C=!0):9===e.src.charCodeAt(r)?(C=!0,(e.bsCount[g]+k)%4==3?(r++,k++,A=!1):A=!0):C=!1;let F=k;for(i.push(e.bMarks[g]),e.bMarks[g]=r;r<o;){const $=e.src.charCodeAt(r);if(!Q($))break;9===$?F+=4-(F+e.bsCount[g]+(A?1:0))%4:F++,r++}v=r>=o,a.push(e.bsCount[g]),e.bsCount[g]=e.sCount[g]+1+(C?1:0),s.push(e.sCount[g]),e.sCount[g]=F-k,c.push(e.tShift[g]),e.tShift[g]=r-e.bMarks[g];continue}if(v)break;let x=!1;for(let k=0,C=d.length;k<C;k++)if(d[k](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 _=e.blkIndent;e.blkIndent=0;const S=e.push("blockquote_open","blockquote",1);S.markup=">";const y=[t,0];S.map=y,e.md.block.tokenize(e,t,g),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=l,e.parentType=h,y[1]=e.line;for(let w=0;w<c.length;w++)e.bMarks[w+t]=i[w],e.tShift[w+t]=c[w],e.sCount[w+t]=s[w],e.bsCount[w+t]=a[w];return e.blkIndent=_,!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 o=e.bMarks[t]+e.tShift[t];const l=e.src.charCodeAt(o++);if(42!==l&&45!==l&&95!==l)return!1;let i=1;for(;o<r;){const s=e.src.charCodeAt(o++);if(s!==l&&!Q(s))return!1;s===l&&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(l)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,n,u){let r,o,l,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 d,h,v,c=!1;if(u&&"paragraph"===e.parentType&&e.sCount[a]>=e.blkIndent&&(c=!0),(v=f2(e,a))>=0){if(d=!0,l=e.bMarks[a]+e.tShift[a],h=Number(e.src.slice(l,v-1)),c&&1!==h)return!1}else{if(!((v=c2(e,a))>=0))return!1;d=!1}if(c&&e.skipSpaces(v)>=e.eMarks[a])return!1;if(u)return!0;const g=e.src.charCodeAt(v-1),_=e.tokens.length;d?(i=e.push("ordered_list_open","ol",1),1!==h&&(i.attrs=[["start",h]])):i=e.push("bullet_list_open","ul",1);const S=[a,0];i.map=S,i.markup=String.fromCharCode(g);let y=!1;const f=e.md.block.ruler.getRules("list"),w=e.parentType;for(e.parentType="list";a<n;){o=v,r=e.eMarks[a];const x=e.sCount[a]+v-(e.bMarks[a]+e.tShift[a]);let k=x;for(;o<r;){const ft=e.src.charCodeAt(o);if(9===ft)k+=4-(k+e.bsCount[a])%4;else{if(32!==ft)break;k++}o++}const C=o;let A;A=C>=r?1:k-x,A>4&&(A=1);const F=x+A;i=e.push("list_item_open","li",1),i.markup=String.fromCharCode(g);const $=[a,0];i.map=$,d&&(i.info=e.src.slice(l,v-1));const P=e.tight,O=e.tShift[a],de=e.sCount[a],Je=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=F,e.tight=!0,e.tShift[a]=C-e.bMarks[a],e.sCount[a]=k,C>=r&&e.isEmpty(a+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,a,n,!0),(!e.tight||y)&&(s=!1),y=e.line-a>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=Je,e.tShift[a]=O,e.sCount[a]=de,e.tight=P,i=e.push("list_item_close","li",-1),i.markup=String.fromCharCode(g),a=e.line,$[1]=a,a>=n||e.sCount[a]<e.blkIndent||e.sCount[a]-e.blkIndent>=4)break;let ct=!1;for(let ft=0,Et=f.length;ft<Et;ft++)if(f[ft](e,a,n,!0)){ct=!0;break}if(ct)break;if(d){if(v=f2(e,a),v<0)break;l=e.bMarks[a]+e.tShift[a]}else if(v=c2(e,a),v<0)break;if(g!==e.src.charCodeAt(v-1))break}return i=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),i.markup=String.fromCharCode(g),S[1]=a,e.line=a,e.parentType=w,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,_),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],l=t+1;if(e.sCount[t]-e.blkIndent>=4||91!==e.src.charCodeAt(r))return!1;function i(f){const w=e.lineMax;if(f>=w||e.isEmpty(f))return null;let x=!1;if(e.sCount[f]-e.blkIndent>3&&(x=!0),e.sCount[f]<0&&(x=!0),!x){const A=e.md.block.ruler.getRules("reference"),F=e.parentType;e.parentType="reference";let $=!1;for(let P=0,O=A.length;P<O;P++)if(A[P](e,f,w,!0)){$=!0;break}if(e.parentType=F,$)return null}const k=e.bMarks[f]+e.tShift[f],C=e.eMarks[f];return e.src.slice(k,C+1)}let a=e.src.slice(r,o+1);o=a.length;let s=-1;for(r=1;r<o;r++){const f=a.charCodeAt(r);if(91===f)return!1;if(93===f){s=r;break}if(10===f){const w=i(l);null!==w&&(a+=w,o=a.length,l++)}else if(92===f&&(r++,r<o&&10===a.charCodeAt(r))){const w=i(l);null!==w&&(a+=w,o=a.length,l++)}}if(s<0||58!==a.charCodeAt(s+1))return!1;for(r=s+2;r<o;r++){const f=a.charCodeAt(r);if(10===f){const w=i(l);null!==w&&(a+=w,o=a.length,l++)}else if(!Q(f))break}const c=e.md.helpers.parseLinkDestination(a,r,o);if(!c.ok)return!1;const d=e.md.normalizeLink(c.str);if(!e.md.validateLink(d))return!1;r=c.pos;const h=r,v=l,g=r;for(;r<o;r++){const f=a.charCodeAt(r);if(10===f){const w=i(l);null!==w&&(a+=w,o=a.length,l++)}else if(!Q(f))break}let S,_=e.md.helpers.parseLinkTitle(a,r,o);for(;_.can_continue;){const f=i(l);if(null===f)break;a+=f,r=o,o=a.length,l++,_=e.md.helpers.parseLinkTitle(a,r,o,_)}for(r<o&&g!==r&&_.ok?(S=_.str,r=_.pos):(S="",r=h,l=v);r<o;){if(!Q(a.charCodeAt(r)))break;r++}if(r<o&&10!==a.charCodeAt(r)&&S)for(S="",r=h,l=v;r<o;){if(!Q(a.charCodeAt(r)))break;r++}if(r<o&&10!==a.charCodeAt(r))return!1;const y=ro(a.slice(1,s));return!!y&&(u||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[y]>"u"&&(e.env.references[y]={title:S,href:d}),e.line=l),!0)}],["html_block",function(e,t,n,u){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||60!==e.src.charCodeAt(r))return!1;let l=e.src.slice(r,o),i=0;for(;i<xu.length&&!xu[i][0].test(l);i++);if(i===xu.length)return!1;if(u)return xu[i][2];let a=t+1;if(!xu[i][1].test(l))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(r=e.bMarks[a]+e.tShift[a],o=e.eMarks[a],l=e.src.slice(r,o),xu[i][1].test(l)){0!==l.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],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let l=e.src.charCodeAt(r);if(35!==l||r>=o)return!1;let i=1;for(l=e.src.charCodeAt(++r);35===l&&r<o&&i<=6;)i++,l=e.src.charCodeAt(++r);if(i>6||r<o&&!Q(l))return!1;if(u)return!0;o=e.skipSpacesBack(o,r);const a=e.skipCharsBack(o,35,r);a>r&&Q(e.src.charCodeAt(a-1))&&(o=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,o).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 l,o=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 v=e.bMarks[i]+e.tShift[i];const g=e.eMarks[i];if(v<g&&(l=e.src.charCodeAt(v),(45===l||61===l)&&(v=e.skipChars(v,l),v=e.skipSpaces(v),v>=g))){o=61===l?1:2;break}}if(e.sCount[i]<0)continue;let h=!1;for(let v=0,g=u.length;v<g;v++)if(u[v](e,i,n,!0)){h=!0;break}if(h)break}if(!o)return!1;const a=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i+1;const s=e.push("heading_open","h"+String(o),1);s.markup=String.fromCharCode(l),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(o),-1).markup=String.fromCharCode(l),e.parentType=r,!0}],["paragraph",function(e,t,n){const u=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let o=t+1;for(e.parentType="paragraph";o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3||e.sCount[o]<0)continue;let s=!1;for(let c=0,d=u.length;c<d;c++)if(u[c](e,o,n,!0)){s=!0;break}if(s)break}const l=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o,e.push("paragraph_open","p",1).map=[t,e.line];const a=e.push("inline","",0);return a.content=l,a.map=[t,e.line],a.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}]];function io(){this.ruler=new $e;for(let e=0;e<lo.length;e++)this.ruler.push(lo[e][0],lo[e][1],{alt:(lo[e][2]||[]).slice()})}function kr(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 n8(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}}io.prototype.tokenize=function(e,t,n){const u=this.ruler.getRules(""),r=u.length,o=e.md.options.maxNesting;let l=t,i=!1;for(;l<n&&(e.line=l=e.skipEmptyLines(l),!(l>=n||e.sCount[l]<e.blkIndent));){if(e.level>=o){e.line=n;break}const a=e.line;let s=!1;for(let c=0;c<r;c++)if(s=u[c](e,l,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),l=e.line,l<n&&e.isEmpty(l)&&(i=!0,l++,e.line=l)}},io.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)},io.prototype.State=Nt,kr.prototype.pushPending=function(){const e=new xt("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},kr.prototype.push=function(e,t,n){this.pending&&this.pushPending();const u=new xt(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},kr.prototype.scanDelims=function(e,t){const n=this.posMax,u=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let o=e;for(;o<n&&this.src.charCodeAt(o)===u;)o++;const l=o-e,i=o<n?this.src.charCodeAt(o):32,a=Er(r)||_r(String.fromCharCode(r)),s=Er(i)||_r(String.fromCharCode(i)),c=br(r),d=br(i),h=!d&&(!s||c||a),v=!c&&(!a||d||s);return{can_open:h&&(t||!v||a),can_close:v&&(t||!h||s),length:l}},kr.prototype.Token=xt;const r8=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;const ta=[];for(let e=0;e<256;e++)ta.push(0);function h2(e,t){let n;const u=[],r=t.length;for(let o=0;o<r;o++){const l=t[o];if(126!==l.marker||-1===l.end)continue;const i=t[l.end];n=e.tokens[l.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 o=u.pop();let l=o+1;for(;l<e.tokens.length&&"s_close"===e.tokens[l].type;)l++;l--,o!==l&&(n=e.tokens[l],e.tokens[l]=e.tokens[o],e.tokens[o]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){ta[e.charCodeAt(0)]=1}));const m2={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 o=r.length;const l=String.fromCharCode(u);if(o<2)return!1;let i;o%2&&(i=e.push("text","",0),i.content=l,o--);for(let a=0;a<o;a+=2)i=e.push("text","",0),i.content=l+l,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;h2(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&h2(e,t[u].delimiters)}};function g2(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 o=t[r.end],l=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===o.token+1,i=String.fromCharCode(r.marker),a=e.tokens[r.token];a.type=l?"strong_open":"em_open",a.tag=l?"strong":"em",a.nesting=1,a.markup=l?i+i:i,a.content="";const s=e.tokens[o.token];s.type=l?"strong_close":"em_close",s.tag=l?"strong":"em",s.nesting=-1,s.markup=l?i+i:i,s.content="",l&&(e.tokens[t[u-1].token].content="",e.tokens[t[r.end+1].token].content="",u--)}}const w2={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 o=0;o<r.length;o++){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;g2(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&g2(e,t[u].delimiters)}};const m8=/^([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])?)*)$/,g8=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;const _8=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,E8=/^&([a-z][a-z0-9]{1,31});/i;function v2(e){const t={},n=e.length;if(!n)return;let u=0,r=-2;const o=[];for(let l=0;l<n;l++){const i=e[l];if(o.push(0),(e[u].marker!==i.marker||r!==i.token-1)&&(u=l),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-o[u]-1,c=s;for(;s>a;s-=o[s]+1){const d=e[s];if(d.marker===i.marker&&d.open&&d.end<0){let h=!1;if((d.close||i.open)&&(d.length+i.length)%3==0&&(d.length%3!=0||i.length%3!=0)&&(h=!0),!h){const v=s>0&&!e[s-1].open?o[s-1]+1:0;o[l]=l-s+v,o[s]=v,i.open=!1,d.end=l,d.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&&!n8(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(r8);if(!r)return!1;const o=r[1],l=e.md.linkify.matchAtStart(e.src.slice(n-o.length));if(!l)return!1;let i=l.url;if(i.length<=o.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,-o.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 d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=i.length-o.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 o=u-1;for(;o>=1&&32===e.pending.charCodeAt(o-1);)o--;e.pending=e.pending.slice(0,o),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 o=e.src[n];if(r>=55296&&r<=56319&&n+1<u){const i=e.src.charCodeAt(n+1);i>=56320&&i<=57343&&(o+=e.src[n+1],n++)}const l="\\"+o;if(!t){const i=e.push("text_special","",0);r<256&&0!==ta[r]?i.content=o:i.content=l,i.markup=l,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 o=e.posMax;for(;n<o&&96===e.src.charCodeAt(n);)n++;const l=e.src.slice(r,n),i=l.length;if(e.backticksScanned&&(e.backticks[i]||0)<=r)return t||(e.pending+=l),e.pos+=i,!0;let s,a=n;for(;-1!==(s=e.src.indexOf("`",a));){for(a=s+1;a<o&&96===e.src.charCodeAt(a);)a++;const c=a-s;if(c===i){if(!t){const d=e.push("code_inline","code",0);d.markup=l,d.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+=l),e.pos+=i,!0}],["strikethrough",m2.tokenize],["emphasis",w2.tokenize],["link",function(e,t){let n,u,r,o,l="",i="",a=e.pos,s=!0;if(91!==e.src.charCodeAt(e.pos))return!1;const c=e.pos,d=e.posMax,h=e.pos+1,v=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(v<0)return!1;let g=v+1;if(g<d&&40===e.src.charCodeAt(g)){for(s=!1,g++;g<d&&(n=e.src.charCodeAt(g),Q(n)||10===n);g++);if(g>=d)return!1;if(a=g,r=e.md.helpers.parseLinkDestination(e.src,g,e.posMax),r.ok){for(l=e.md.normalizeLink(r.str),e.md.validateLink(l)?g=r.pos:l="",a=g;g<d&&(n=e.src.charCodeAt(g),Q(n)||10===n);g++);if(r=e.md.helpers.parseLinkTitle(e.src,g,e.posMax),g<d&&a!==g&&r.ok)for(i=r.str,g=r.pos;g<d&&(n=e.src.charCodeAt(g),Q(n)||10===n);g++);}(g>=d||41!==e.src.charCodeAt(g))&&(s=!0),g++}if(s){if(typeof e.env.references>"u")return!1;if(g<d&&91===e.src.charCodeAt(g)?(a=g+1,g=e.md.helpers.parseLinkLabel(e,g),g>=0?u=e.src.slice(a,g++):g=v+1):g=v+1,u||(u=e.src.slice(h,v)),o=e.env.references[ro(u)],!o)return e.pos=c,!1;l=o.href,i=o.title}if(!t){e.pos=h,e.posMax=v;const S=[["href",l]];e.push("link_open","a",1).attrs=S,i&&S.push(["title",i]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=g,e.posMax=d,!0}],["image",function(e,t){let n,u,r,o,l,i,a,s,c="";const d=e.pos,h=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;const v=e.pos+2,g=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(g<0)return!1;if(o=g+1,o<h&&40===e.src.charCodeAt(o)){for(o++;o<h&&(n=e.src.charCodeAt(o),Q(n)||10===n);o++);if(o>=h)return!1;for(s=o,i=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),i.ok&&(c=e.md.normalizeLink(i.str),e.md.validateLink(c)?o=i.pos:c=""),s=o;o<h&&(n=e.src.charCodeAt(o),Q(n)||10===n);o++);if(i=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<h&&s!==o&&i.ok)for(a=i.str,o=i.pos;o<h&&(n=e.src.charCodeAt(o),Q(n)||10===n);o++);else a="";if(o>=h||41!==e.src.charCodeAt(o))return e.pos=d,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o<h&&91===e.src.charCodeAt(o)?(s=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?r=e.src.slice(s,o++):o=g+1):o=g+1,r||(r=e.src.slice(v,g)),l=e.env.references[ro(r)],!l)return e.pos=d,!1;c=l.href,a=l.title}if(!t){u=e.src.slice(v,g);const _=[];e.md.inline.parse(u,e.md,e.env,_);const S=e.push("image","img",0),y=[["src",c],["alt",""]];S.attrs=y,S.children=_,S.content=u,a&&y.push(["title",a])}return e.pos=o,e.posMax=h,!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 l=e.src.charCodeAt(n);if(60===l)return!1;if(62===l)break}const o=e.src.slice(u+1,n);if(g8.test(o)){const l=e.md.normalizeLink(o);if(!e.md.validateLink(l))return!1;if(!t){const i=e.push("link_open","a",1);i.attrs=[["href",l]],i.markup="autolink",i.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(o);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=o.length+2,!0}if(m8.test(o)){const l=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(l))return!1;if(!t){const i=e.push("link_open","a",1);i.attrs=[["href",l]],i.markup="autolink",i.info="auto";e.push("text","",0).content=e.md.normalizeLinkText(o);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=o.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 o=e.src.slice(u).match(Ym);if(!o)return!1;if(!t){const l=e.push("html_inline","",0);l.content=o[0],function(e){return/^<a[>\s]/i.test(e)}(l.content)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(l.content)&&e.linkLevel--}return e.pos+=o[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 o=e.src.slice(n).match(_8);if(o){if(!t){const l="x"===o[1][0].toLowerCase()?parseInt(o[1].slice(1),16):parseInt(o[1],10),i=e.push("text_special","",0);i.content=Xi(l)?uo(l):uo(65533),i.markup=o[0],i.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(n).match(E8);if(o){const l=n2(o[0]);if(l!==o[0]){if(!t){const i=e.push("text_special","",0);i.content=l,i.markup=o[0],i.info="entity"}return e.pos+=o[0].length,!0}}}return!1}]],ua=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;v2(e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&v2(t[u].delimiters)}],["strikethrough",m2.postProcess],["emphasis",w2.postProcess],["fragments_join",function(e){let t,n,u=0;const r=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)r[t].nesting<0&&u--,r[t].level=u,r[t].nesting>0&&u++,"text"===r[t].type&&t+1<o&&"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 Cr(){this.ruler=new $e;for(let e=0;e<na.length;e++)this.ruler.push(na[e][0],na[e][1]);this.ruler2=new $e;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 ao(e){return Object.prototype.toString.call(e)}function y2(e){return"[object Function]"===ao(e)}function N8(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}Cr.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),u=n.length,r=e.md.options.maxNesting,o=e.cache;if(typeof o[t]<"u")return void(e.pos=o[t]);let l=!1;if(e.level<r){for(let i=0;i<u;i++)if(e.level++,l=n[i](e,!0),e.level--,l){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;l||e.pos++,o[t]=e.pos},Cr.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 o=e.pos;let l=!1;if(e.level<r)for(let i=0;i<n;i++)if(l=t[i](e,!1),l){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(l){if(e.pos>=u)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Cr.prototype.parse=function(e,t,n,u){const r=new this.State(e,t,n,u);this.tokenize(r);const o=this.ruler2.getRules(""),l=o.length;for(let i=0;i<l;i++)o[i](r)},Cr.prototype.State=kr;const x2={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};const L8={"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}}},j8="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]",O8="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function so(e){const t=e.re=function(e){const t={};e=e||{},t.src_Any=Xf.source,t.src_Cc=Kf.source,t.src_Z=e2.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(j8),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 o(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]"===ao(e)}(a))return!function(e){return"[object RegExp]"===ao(e)}(a.validate)?y2(a.validate)?s.validate=a.validate:o(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(y2(a.normalize)?s.normalize=a.normalize:a.normalize?o(i,a):s.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===ao(e)}(a)?o(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 l=Object.keys(e.__compiled__).filter((function(i){return i.length>0&&e.__compiled__[i]})).map(N8).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+l+")","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 I8(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 oa(e,t){const n=new I8(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Xe(e,t){if(!(this instanceof Xe))return new Xe(e,t);t||function(e){return Object.keys(e||{}).reduce((function(t,n){return t||x2.hasOwnProperty(n)}),!1)}(e)&&(t=e,e={}),this.__opts__=ra({},x2,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ra({},L8,e),this.__compiled__={},this.__tlds__=O8,this.__tlds_replaced__=!1,this.re={},so(this)}Xe.prototype.add=function(t,n){return this.__schemas__[t]=n,so(this),this},Xe.prototype.set=function(t){return this.__opts__=ra(this.__opts__,t),this},Xe.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,u,r,o,l,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(o=this.testSchemaAt(t,n[2],a.lastIndex),o){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o;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))&&(l=u.index+u[1].length,(this.__index__<0||l<this.__index__)&&(this.__schema__="",this.__index__=l,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))&&(l=r.index+r[1].length,i=r.index+r[0].length,(this.__index__<0||l<this.__index__||l===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=l,this.__last_index__=i))),this.__index__>=0},Xe.prototype.pretest=function(t){return this.re.pretest.test(t)},Xe.prototype.testSchemaAt=function(t,n,u){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,u,this):0},Xe.prototype.match=function(t){const n=[];let u=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(oa(this,u)),u=this.__last_index__);let r=u?t.slice(u):t;for(;this.test(r);)n.push(oa(this,u)),r=r.slice(this.__last_index__),u+=this.__last_index__;return n.length?n:null},Xe.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,oa(this,0)):null},Xe.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(u,r,o){return u!==o[r-1]})).reverse(),so(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,so(this),this)},Xe.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"===t.schema&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)},Xe.prototype.onCompile=function(){};const bu=2147483647,$8=/^xn--/,B8=/[^\0-\x7F]/,U8=/[\x2E\u3002\uFF0E\uFF61]/g,V8={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Lt=Math.floor,aa=String.fromCharCode;function _n(e){throw new RangeError(V8[e])}function C2(e,t){const n=e.split("@");let u="";n.length>1&&(u=n[0]+"@",e=n[1]);const o=function(e,t){const n=[];let u=e.length;for(;u--;)n[u]=t(e[u]);return n}((e=e.replace(U8,".")).split("."),t).join(".");return u+o}function S2(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 o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&r)<<10)+(1023&o)+65536):(t.push(r),n--)}else t.push(r)}return t}const W8=function(e){return e>=48&&e<58?e-48+26:e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},A2=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},T2=function(e,t,n){let u=0;for(e=n?Lt(e/700):e>>1,e+=Lt(e/t);e>455;u+=36)e=Lt(e/35);return Lt(u+36*e/(e+38))},D2=function(e){const t=[],n=e.length;let u=0,r=128,o=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let i=0;i<l;++i)e.charCodeAt(i)>=128&&_n("not-basic"),t.push(e.charCodeAt(i));for(let i=l>0?l+1:0;i<n;){const a=u;for(let c=1,d=36;;d+=36){i>=n&&_n("invalid-input");const h=W8(e.charCodeAt(i++));h>=36&&_n("invalid-input"),h>Lt((bu-u)/c)&&_n("overflow"),u+=h*c;const v=d<=o?1:d>=o+26?26:d-o;if(h<v)break;const g=36-v;c>Lt(bu/g)&&_n("overflow"),c*=g}const s=t.length+1;o=T2(u-a,s,0==a),Lt(u/s)>bu-r&&_n("overflow"),r+=Lt(u/s),u%=s,t.splice(u++,0,r)}return String.fromCodePoint(...t)},F2=function(e){const t=[],n=(e=S2(e)).length;let u=128,r=0,o=72;for(const a of e)a<128&&t.push(aa(a));const l=t.length;let i=l;for(l&&t.push("-");i<n;){let a=bu;for(const c of e)c>=u&&c<a&&(a=c);const s=i+1;a-u>Lt((bu-r)/s)&&_n("overflow"),r+=(a-u)*s,u=a;for(const c of e)if(c<u&&++r>bu&&_n("overflow"),c===u){let d=r;for(let h=36;;h+=36){const v=h<=o?1:h>=o+26?26:h-o;if(d<v)break;const g=d-v,_=36-v;t.push(aa(A2(v+g%_,0))),d=Lt(g/_)}t.push(aa(A2(d,0))),o=T2(r,s,i===l),r=0,++i}++r,++u}return t.join("")},N2={version:"2.3.1",ucs2:{decode:S2,encode:e=>String.fromCodePoint(...e)},decode:D2,encode:F2,toASCII:function(e){return C2(e,(function(t){return B8.test(t)?"xn--"+F2(t):t}))},toUnicode:function(e){return C2(e,(function(t){return $8.test(t)?D2(t.slice(4).toLowerCase()):t}))}},G8={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"]}}}},Q8=/^(vbscript|javascript|file|data):/,Y8=/^data:image\/(gif|png|jpeg|webp);/;function X8(e){const t=e.trim().toLowerCase();return!Q8.test(t)||Y8.test(t)}const M2=["http:","https:","mailto:"];function K8(e){const t=qi(e,!0);if(t.hostname&&(!t.protocol||M2.indexOf(t.protocol)>=0))try{t.hostname=N2.toASCII(t.hostname)}catch{}return xr(Zi(t))}function J8(e){const t=qi(e,!0);if(t.hostname&&(!t.protocol||M2.indexOf(t.protocol)>=0))try{t.hostname=N2.toUnicode(t.hostname)}catch{}return wu(Zi(t),wu.defaultChars+"%")}function at(e,t){if(!(this instanceof at))return new at(e,t);t||Yi(e)||(t=e||{},e="default"),this.inline=new Cr,this.block=new io,this.core=new Ji,this.renderer=new yu,this.linkify=new Xe,this.validateLink=X8,this.normalizeLink=K8,this.normalizeLinkText=J8,this.utils=cm,this.helpers=no({},hm),this.options={},this.configure(e),t&&this.set(t)}at.prototype.set=function(e){return no(this.options,e),this},at.prototype.configure=function(e){const t=this;if(Yi(e)){const n=e;if(!(e=G8[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},at.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},at.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},at.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},at.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},at.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},at.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},at.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const e5=at({html:!1,typographer:!0}).disable("list");function t5(e=""){return e5.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 */const{entries:L2,setPrototypeOf:j2,isFrozen:n5,getPrototypeOf:u5,getOwnPropertyDescriptor:r5}=Object;let{freeze:Le,seal:st,create:O2}=Object,{apply:sa,construct:ca}=typeof Reflect<"u"&&Reflect;Le||(Le=function(t){return t}),st||(st=function(t){return t}),sa||(sa=function(t,n,u){return t.apply(n,u)}),ca||(ca=function(t,n){return new t(...n)});const co=Ke(Array.prototype.forEach),P2=Ke(Array.prototype.pop),Ar=Ke(Array.prototype.push),fo=Ke(String.prototype.toLowerCase),fa=Ke(String.prototype.toString),R2=Ke(String.prototype.match),Tr=Ke(String.prototype.replace),o5=Ke(String.prototype.indexOf),l5=Ke(String.prototype.trim),bt=Ke(Object.prototype.hasOwnProperty),je=Ke(RegExp.prototype.test),Dr=function(e){return function(){for(var t=arguments.length,n=new Array(t),u=0;u<t;u++)n[u]=arguments[u];return ca(e,n)}}(TypeError);function Ke(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 sa(e,t,u)}}function U(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fo;j2&&j2(e,null);let u=t.length;for(;u--;){let r=t[u];if("string"==typeof r){const o=n(r);o!==r&&(n5(t)||(t[u]=o),r=o)}e[r]=!0}return e}function a5(e){for(let t=0;t<e.length;t++)bt(e,t)||(e[t]=null);return e}function zn(e){const t=O2(null);for(const[n,u]of L2(e))bt(e,n)&&(Array.isArray(u)?t[n]=a5(u):u&&"object"==typeof u&&u.constructor===Object?t[n]=zn(u):t[n]=u);return t}function Fr(e,t){for(;null!==e;){const u=r5(e,t);if(u){if(u.get)return Ke(u.get);if("function"==typeof u.value)return Ke(u.value)}e=u5(e)}return function(){return null}}const I2=Le(["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"]),da=Le(["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"]),pa=Le(["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"]),s5=Le(["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"]),ha=Le(["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"]),c5=Le(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),z2=Le(["#text"]),H2=Le(["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"]),ma=Le(["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"]),$2=Le(["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"]),po=Le(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),f5=st(/\{\{[\w\W]*|[\w\W]*\}\}/gm),d5=st(/<%[\w\W]*|[\w\W]*%>/gm),p5=st(/\${[\w\W]*}/gm),h5=st(/^data-[\-\w.\u00B7-\uFFFF]/),m5=st(/^aria-[\-\w]+$/),B2=st(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),g5=st(/^(?:\w+script|data):/i),w5=st(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),U2=st(/^html$/i),v5=st(/^[a-z][.\w]*(-[.\w]+)+$/i);var V2=Object.freeze({__proto__:null,MUSTACHE_EXPR:f5,ERB_EXPR:d5,TMPLIT_EXPR:p5,DATA_ATTR:h5,ARIA_ATTR:m5,IS_ALLOWED_URI:B2,IS_SCRIPT_OR_DATA:g5,ATTR_WHITESPACE:w5,DOCTYPE_NAME:U2,CUSTOM_ELEMENT:v5});const Nr_element=1,Nr_text=3,Nr_progressingInstruction=7,Nr_comment=8,Nr_document=9;var b5=function Z2(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:typeof window>"u"?null:window;const t=j=>Z2(j);if(t.version="3.1.6",t.removed=[],!e||!e.document||e.document.nodeType!==Nr_document)return t.isSupported=!1,t;let{document:n}=e;const u=n,r=u.currentScript,{DocumentFragment:o,HTMLTemplateElement:l,Node:i,Element:a,NodeFilter:s,NamedNodeMap:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:h,trustedTypes:v}=e,g=a.prototype,_=Fr(g,"cloneNode"),S=Fr(g,"remove"),y=Fr(g,"nextSibling"),f=Fr(g,"childNodes"),w=Fr(g,"parentNode");if("function"==typeof l){const j=n.createElement("template");j.content&&j.content.ownerDocument&&(n=j.content.ownerDocument)}let x,k="";const{implementation:C,createNodeIterator:A,createDocumentFragment:F,getElementsByTagName:$}=n,{importNode:P}=u;let O={};t.isSupported="function"==typeof L2&&"function"==typeof w&&C&&void 0!==C.createHTMLDocument;const{MUSTACHE_EXPR:de,ERB_EXPR:Je,TMPLIT_EXPR:ct,DATA_ATTR:ft,ARIA_ATTR:Et,IS_SCRIPT_OR_DATA:En,ATTR_WHITESPACE:N,CUSTOM_ELEMENT:R}=V2;let{IS_ALLOWED_URI:I}=V2,H=null;const ue=U({},[...I2,...da,...pa,...ha,...z2]);let Y=null;const dt=U({},[...H2,...ma,...$2,...po]);let W=Object.seal(O2(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}})),q=null,Ue=null,xd=!0,Ea=!0,bd=!1,_d=!0,ku=!1,ka=!0,$n=!1,Ca=!1,Sa=!1,Cu=!1,xo=!1,bo=!1,Ed=!0,kd=!1,Aa=!0,Or=!1,Su={},Au=null;const Cd=U({},["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 Sd=null;const Ad=U({},["audio","video","img","source","image","track"]);let Ta=null;const Td=U({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),_o="http://www.w3.org/1998/Math/MathML",Eo="http://www.w3.org/2000/svg",Qt="http://www.w3.org/1999/xhtml";let Tu=Qt,Da=!1,Fa=null;const Nw=U({},[_o,Eo,Qt],fa);let Pr=null;const Mw=["application/xhtml+xml","text/html"];let we=null,Du=null;const jw=n.createElement("form"),Dd=function(b){return b instanceof RegExp||b instanceof Function},Na=function(){let b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Du||Du!==b){if((!b||"object"!=typeof b)&&(b={}),b=zn(b),Pr=-1===Mw.indexOf(b.PARSER_MEDIA_TYPE)?"text/html":b.PARSER_MEDIA_TYPE,we="application/xhtml+xml"===Pr?fa:fo,H=bt(b,"ALLOWED_TAGS")?U({},b.ALLOWED_TAGS,we):ue,Y=bt(b,"ALLOWED_ATTR")?U({},b.ALLOWED_ATTR,we):dt,Fa=bt(b,"ALLOWED_NAMESPACES")?U({},b.ALLOWED_NAMESPACES,fa):Nw,Ta=bt(b,"ADD_URI_SAFE_ATTR")?U(zn(Td),b.ADD_URI_SAFE_ATTR,we):Td,Sd=bt(b,"ADD_DATA_URI_TAGS")?U(zn(Ad),b.ADD_DATA_URI_TAGS,we):Ad,Au=bt(b,"FORBID_CONTENTS")?U({},b.FORBID_CONTENTS,we):Cd,q=bt(b,"FORBID_TAGS")?U({},b.FORBID_TAGS,we):{},Ue=bt(b,"FORBID_ATTR")?U({},b.FORBID_ATTR,we):{},Su=!!bt(b,"USE_PROFILES")&&b.USE_PROFILES,xd=!1!==b.ALLOW_ARIA_ATTR,Ea=!1!==b.ALLOW_DATA_ATTR,bd=b.ALLOW_UNKNOWN_PROTOCOLS||!1,_d=!1!==b.ALLOW_SELF_CLOSE_IN_ATTR,ku=b.SAFE_FOR_TEMPLATES||!1,ka=!1!==b.SAFE_FOR_XML,$n=b.WHOLE_DOCUMENT||!1,Cu=b.RETURN_DOM||!1,xo=b.RETURN_DOM_FRAGMENT||!1,bo=b.RETURN_TRUSTED_TYPE||!1,Sa=b.FORCE_BODY||!1,Ed=!1!==b.SANITIZE_DOM,kd=b.SANITIZE_NAMED_PROPS||!1,Aa=!1!==b.KEEP_CONTENT,Or=b.IN_PLACE||!1,I=b.ALLOWED_URI_REGEXP||B2,Tu=b.NAMESPACE||Qt,W=b.CUSTOM_ELEMENT_HANDLING||{},b.CUSTOM_ELEMENT_HANDLING&&Dd(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(W.tagNameCheck=b.CUSTOM_ELEMENT_HANDLING.tagNameCheck),b.CUSTOM_ELEMENT_HANDLING&&Dd(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),ku&&(Ea=!1),xo&&(Cu=!0),Su&&(H=U({},z2),Y=[],!0===Su.html&&(U(H,I2),U(Y,H2)),!0===Su.svg&&(U(H,da),U(Y,ma),U(Y,po)),!0===Su.svgFilters&&(U(H,pa),U(Y,ma),U(Y,po)),!0===Su.mathMl&&(U(H,ha),U(Y,$2),U(Y,po))),b.ADD_TAGS&&(H===ue&&(H=zn(H)),U(H,b.ADD_TAGS,we)),b.ADD_ATTR&&(Y===dt&&(Y=zn(Y)),U(Y,b.ADD_ATTR,we)),b.ADD_URI_SAFE_ATTR&&U(Ta,b.ADD_URI_SAFE_ATTR,we),b.FORBID_CONTENTS&&(Au===Cd&&(Au=zn(Au)),U(Au,b.FORBID_CONTENTS,we)),Aa&&(H["#text"]=!0),$n&&U(H,["html","head","body"]),H.table&&(U(H,["tbody"]),delete q.tbody),b.TRUSTED_TYPES_POLICY){if("function"!=typeof b.TRUSTED_TYPES_POLICY.createHTML)throw Dr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof b.TRUSTED_TYPES_POLICY.createScriptURL)throw Dr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');x=b.TRUSTED_TYPES_POLICY,k=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 o="dompurify"+(u?"#"+u:"");try{return t.createPolicy(o,{createHTML:l=>l,createScriptURL:l=>l})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(v,r)),null!==x&&"string"==typeof k&&(k=x.createHTML(""));Le&&Le(b),Du=b}},Fd=U({},["mi","mo","mn","ms","mtext"]),Nd=U({},["foreignobject","annotation-xml"]),Ow=U({},["title","style","font","a","script"]),Md=U({},[...da,...pa,...s5]),Ld=U({},[...ha,...c5]),jt=function(b){Ar(t.removed,{element:b});try{w(b).removeChild(b)}catch{S(b)}},ko=function(b,D){try{Ar(t.removed,{attribute:D.getAttributeNode(b),from:D})}catch{Ar(t.removed,{attribute:null,from:D})}if(D.removeAttribute(b),"is"===b&&!Y[b])if(Cu||xo)try{jt(D)}catch{}else try{D.setAttribute(b,"")}catch{}},jd=function(b){let D=null,L=null;if(Sa)b="<remove></remove>"+b;else{const Ee=R2(b,/^[\r\n\t ]+/);L=Ee&&Ee[0]}"application/xhtml+xml"===Pr&&Tu===Qt&&(b='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+b+"</body></html>");const X=x?x.createHTML(b):b;if(Tu===Qt)try{D=(new h).parseFromString(X,Pr)}catch{}if(!D||!D.documentElement){D=C.createDocument(Tu,"template",null);try{D.documentElement.innerHTML=Da?k:X}catch{}}const Te=D.body||D.documentElement;return b&&L&&Te.insertBefore(n.createTextNode(L),Te.childNodes[0]||null),Tu===Qt?$.call(D,$n?"html":"body")[0]:$n?D.documentElement:Te},Od=function(b){return A.call(b.ownerDocument||b,b,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},Pd=function(b){return b instanceof d&&("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)},Rd=function(b){return"function"==typeof i&&b instanceof i},Yt=function(b,D,L){O[b]&&co(O[b],(X=>{X.call(t,D,L,Du)}))},Id=function(b){let D=null;if(Yt("beforeSanitizeElements",b,null),Pd(b))return jt(b),!0;const L=we(b.nodeName);if(Yt("uponSanitizeElement",b,{tagName:L,allowedTags:H}),b.hasChildNodes()&&!Rd(b.firstElementChild)&&je(/<[/\w]/g,b.innerHTML)&&je(/<[/\w]/g,b.textContent)||b.nodeType===Nr_progressingInstruction||ka&&b.nodeType===Nr_comment&&je(/<[/\w]/g,b.data))return jt(b),!0;if(!H[L]||q[L]){if(!q[L]&&Hd(L)&&(W.tagNameCheck instanceof RegExp&&je(W.tagNameCheck,L)||W.tagNameCheck instanceof Function&&W.tagNameCheck(L)))return!1;if(Aa&&!Au[L]){const X=w(b)||b.parentNode,Te=f(b)||b.childNodes;if(Te&&X){for(let Ve=Te.length-1;Ve>=0;--Ve){const Ot=_(Te[Ve],!0);Ot.__removalCount=(b.__removalCount||0)+1,X.insertBefore(Ot,y(b))}}}return jt(b),!0}return b instanceof a&&!function(b){let D=w(b);(!D||!D.tagName)&&(D={namespaceURI:Tu,tagName:"template"});const L=fo(b.tagName),X=fo(D.tagName);return!!Fa[b.namespaceURI]&&(b.namespaceURI===Eo?D.namespaceURI===Qt?"svg"===L:D.namespaceURI===_o?"svg"===L&&("annotation-xml"===X||Fd[X]):!!Md[L]:b.namespaceURI===_o?D.namespaceURI===Qt?"math"===L:D.namespaceURI===Eo?"math"===L&&Nd[X]:!!Ld[L]:b.namespaceURI===Qt?!(D.namespaceURI===Eo&&!Nd[X]||D.namespaceURI===_o&&!Fd[X])&&!Ld[L]&&(Ow[L]||!Md[L]):!("application/xhtml+xml"!==Pr||!Fa[b.namespaceURI]))}(b)||("noscript"===L||"noembed"===L||"noframes"===L)&&je(/<\/no(script|embed|frames)/i,b.innerHTML)?(jt(b),!0):(ku&&b.nodeType===Nr_text&&(D=b.textContent,co([de,Je,ct],(X=>{D=Tr(D,X," ")})),b.textContent!==D&&(Ar(t.removed,{element:b.cloneNode()}),b.textContent=D)),Yt("afterSanitizeElements",b,null),!1)},zd=function(b,D,L){if(Ed&&("id"===D||"name"===D)&&(L in n||L in jw))return!1;if((!Ea||Ue[D]||!je(ft,D))&&(!xd||!je(Et,D)))if(!Y[D]||Ue[D]){if(!(Hd(b)&&(W.tagNameCheck instanceof RegExp&&je(W.tagNameCheck,b)||W.tagNameCheck instanceof Function&&W.tagNameCheck(b))&&(W.attributeNameCheck instanceof RegExp&&je(W.attributeNameCheck,D)||W.attributeNameCheck instanceof Function&&W.attributeNameCheck(D))||"is"===D&&W.allowCustomizedBuiltInElements&&(W.tagNameCheck instanceof RegExp&&je(W.tagNameCheck,L)||W.tagNameCheck instanceof Function&&W.tagNameCheck(L))))return!1}else if(!Ta[D]&&!je(I,Tr(L,N,""))&&("src"!==D&&"xlink:href"!==D&&"href"!==D||"script"===b||0!==o5(L,"data:")||!Sd[b])&&(!bd||je(En,Tr(L,N,"")))&&L)return!1;return!0},Hd=function(b){return"annotation-xml"!==b&&R2(b,R)},$d=function(b){Yt("beforeSanitizeAttributes",b,null);const{attributes:D}=b;if(!D)return;const L={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Y};let X=D.length;for(;X--;){const Te=D[X],{name:Ee,namespaceURI:Ve,value:Ot}=Te,Rr=we(Ee);let Oe="value"===Ee?Ot:l5(Ot);if(L.attrName=Rr,L.attrValue=Oe,L.keepAttr=!0,L.forceKeepAttr=void 0,Yt("uponSanitizeAttribute",b,L),Oe=L.attrValue,ka&&je(/((--!?|])>)|<\/(style|title)/i,Oe)){ko(Ee,b);continue}if(L.forceKeepAttr||(ko(Ee,b),!L.keepAttr))continue;if(!_d&&je(/\/>/i,Oe)){ko(Ee,b);continue}ku&&co([de,Je,ct],(Ud=>{Oe=Tr(Oe,Ud," ")}));const Bd=we(b.nodeName);if(zd(Bd,Rr,Oe)){if(kd&&("id"===Rr||"name"===Rr)&&(ko(Ee,b),Oe="user-content-"+Oe),x&&"object"==typeof v&&"function"==typeof v.getAttributeType&&!Ve)switch(v.getAttributeType(Bd,Rr)){case"TrustedHTML":Oe=x.createHTML(Oe);break;case"TrustedScriptURL":Oe=x.createScriptURL(Oe)}try{Ve?b.setAttributeNS(Ve,Ee,Oe):b.setAttribute(Ee,Oe),Pd(b)?jt(b):P2(t.removed)}catch{}}}Yt("afterSanitizeAttributes",b,null)},Rw=function j(b){let D=null;const L=Od(b);for(Yt("beforeSanitizeShadowDOM",b,null);D=L.nextNode();)Yt("uponSanitizeShadowNode",D,null),!Id(D)&&(D.content instanceof o&&j(D.content),$d(D));Yt("afterSanitizeShadowDOM",b,null)};return t.sanitize=function(j){let b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},D=null,L=null,X=null,Te=null;if(Da=!j,Da&&(j="\x3c!--\x3e"),"string"!=typeof j&&!Rd(j)){if("function"!=typeof j.toString)throw Dr("toString is not a function");if("string"!=typeof(j=j.toString()))throw Dr("dirty is not a string, aborting")}if(!t.isSupported)return j;if(Ca||Na(b),t.removed=[],"string"==typeof j&&(Or=!1),Or){if(j.nodeName){const Ot=we(j.nodeName);if(!H[Ot]||q[Ot])throw Dr("root node is forbidden and cannot be sanitized in-place")}}else if(j instanceof i)D=jd("\x3c!----\x3e"),L=D.ownerDocument.importNode(j,!0),L.nodeType===Nr_element&&"BODY"===L.nodeName||"HTML"===L.nodeName?D=L:D.appendChild(L);else{if(!Cu&&!ku&&!$n&&-1===j.indexOf("<"))return x&&bo?x.createHTML(j):j;if(D=jd(j),!D)return Cu?null:bo?k:""}D&&Sa&&jt(D.firstChild);const Ee=Od(Or?j:D);for(;X=Ee.nextNode();)Id(X)||(X.content instanceof o&&Rw(X.content),$d(X));if(Or)return j;if(Cu){if(xo)for(Te=F.call(D.ownerDocument);D.firstChild;)Te.appendChild(D.firstChild);else Te=D;return(Y.shadowroot||Y.shadowrootmode)&&(Te=P.call(u,Te,!0)),Te}let Ve=$n?D.outerHTML:D.innerHTML;return $n&&H["!doctype"]&&D.ownerDocument&&D.ownerDocument.doctype&&D.ownerDocument.doctype.name&&je(U2,D.ownerDocument.doctype.name)&&(Ve="<!DOCTYPE "+D.ownerDocument.doctype.name+">\n"+Ve),ku&&co([de,Je,ct],(Ot=>{Ve=Tr(Ve,Ot," ")})),x&&bo?x.createHTML(Ve):Ve},t.setConfig=function(){Na(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ca=!0},t.clearConfig=function(){Du=null,Ca=!1},t.isValidAttribute=function(j,b,D){Du||Na({});const L=we(j),X=we(b);return zd(L,X,D)},t.addHook=function(j,b){"function"==typeof b&&(O[j]=O[j]||[],Ar(O[j],b))},t.removeHook=function(j){if(O[j])return P2(O[j])},t.removeHooks=function(j){O[j]&&(O[j]=[])},t.removeAllHooks=function(){O={}},t}();function _5(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 E5(e,t="en"){const n=new Date(e),u=new Date,r=new Date;r.setDate(u.getDate()-1);const o=Dt[t]||Dt.en;return n.toDateString()===u.toDateString()?o.today:n.toDateString()===r.toDateString()?o.yesterday:n.toLocaleDateString("en-US",{month:"short",day:"2-digit",year:"numeric"})}const S5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},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"})),A5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},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=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},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"})),D5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none",...e},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"}),E.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"})),F5=({document:e,query:t})=>p.jsxs("div",{className:"tw-gi tw-bn",children:[p.jsxs("div",{className:"tw-ao tw-jk tw-go tw-kq tw-uo tw-nf tw-fk tw-hk tw-uc",children:[p.jsx("span",{className:"tw-xj tw-ge tw-yi tw-ye",children:e.key}),p.jsxs("span",{className:"tw-dm tw-xg tw-yi tw-cf",children:["Query: ",t]}),p.jsxs("span",{className:"tw-dm tw-xg tw-yi tw-cf",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]})]}),p.jsxs("div",{className:"tw-dm tw-yi tw-bp tw-wo tw-df tw-ib tw-fa tw-bd anm-scroll-container",children:[p.jsx(q2,{}),e.content,p.jsx(q2,{})]})]}),q2=()=>p.jsxs("div",{className:"tw-hh tw-pk tw-to",children:[p.jsxs("div",{className:"tw-ao tw-vf tw-bn",children:[p.jsx("div",{className:"tw-kn tw-sg tw-fg tw-up"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-tp"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-bn"})]}),p.jsxs("div",{className:"tw-ao tw-vf tw-bn tw-ne",children:[p.jsx("div",{className:"tw-kn tw-sg tw-fg tw-bn"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-bn"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-tp"})]}),p.jsxs("div",{className:"tw-ao tw-vf tw-bn tw-me",children:[p.jsx("div",{className:"tw-kn tw-sg tw-fg tw-bn"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-wp"}),p.jsx("div",{className:"tw-kn tw-no tw-sg tw-fg tw-bn"})]})]}),N5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},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"}),E.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"})),M5_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}},L5=({message:e,query:t,sources:n,onClose:u,messageID:r,settings:o})=>{const[l,i]=E.useState(t),[a,s]=E.useState(e),[c,d]=E.useState(""),[h,v]=E.useState(""),g=Gt.settings.language,_=Dt[g]||Dt.en,[S,y]=E.useState(!1),[f,w]=E.useState(!1),[x,k]=E.useState(""),[C,A]=E.useState(!1),F={messageID:r,question:t,aiAnswer:a,answer:h,remark:c,reference:null==n?void 0:n.map((O=>({s3Key:null==O?void 0:O.key,content:null==O?void 0:O.content})))},P=()=>{A(!0),setTimeout((()=>A(!1)),300)};return p.jsxs("div",{className:"tw-gi tw-bn tw-yi",children:[p.jsx("div",{className:"tw-ao tw-jk tw-go tw-kq tw-nf tw-fk tw-hk tw-uc",children:p.jsx("span",{className:"tw-em tw-oo tw-eo tw-wi",children:_.report})}),p.jsx("div",{className:"tw-ao tw-jk tw-in tw-ea tw-bd anm-scroll-container",children:p.jsxs("div",{className:"tw-ao tw-jk tw-jn tw-mp tw-wo tw-hp",children:[p.jsxs("div",{className:"tw-ao tw-jk tw-gn",children:[p.jsx("span",{className:"tw-dm tw-wi",children:_.question}),p.jsx("input",{type:"text",value:l,onChange:O=>i(O.target.value),className:"tw-nn tw-dm tw-nf tw-ta tw-km tw-uc tw-gi",placeholder:_.question,disabled:!0})]}),p.jsxs("div",{className:"tw-ao tw-jk tw-gn",children:[p.jsx("span",{className:"tw-dm tw-wi",children:_.answer}),p.jsx("textarea",{onChange:O=>{s(O.target.value)},value:a,className:"tw-nn tw-dm tw-nf tw-ta tw-km tw-uc tw-gi tw-uk",cols:"30",rows:"6",placeholder:_.answer,disabled:!0,style:{scrollbarWidth:"thin"}})]}),p.jsxs("div",{className:"tw-ao tw-jk tw-gn",children:[p.jsx("span",{className:"tw-wi tw-dm",children:_.answerCorrect}),p.jsx("textarea",{onChange:O=>{v(O.target.value)},value:h,className:"tw-nn tw-km tw-uc tw-dg tw-gi tw-dm tw-uk",cols:"10",rows:"3",placeholder:_.answerCorrect,style:{scrollbarWidth:"thin"}})]}),p.jsxs("div",{className:"tw-ao tw-jk tw-gn",children:[p.jsx("span",{className:" tw-wi tw-dm",children:_.sources}),(null==n?void 0:n.length)<=0?p.jsx("div",{children:p.jsx("p",{className:"tw-fc tw-dm",children:_.sourcesEmpty})}):p.jsx("div",{className:"tw-ao tw-vi tw-iq tw-hn tw-km tw-nf tw-uc tw-gi tw-yf tw-bd",style:{scrollbarWidth:"thin"},children:null==n?void 0:n.map(((O,de)=>p.jsxs("div",{className:"tw-vn tw-cp tw-pp tw-ao tw-vf tw-gn tw-km tw-nf tw-uc tw-hi",children:[p.jsx(N5,{className:"tw-wk tw-ef"}),p.jsx("span",{className:"tw-dm tw-wf tw-sd",children:O.key.split("/").pop()})]},de)))})]}),p.jsxs("div",{className:"tw-ao tw-jk tw-gn",children:[p.jsx("span",{className:"tw-dm tw-wi",children:_.remark}),p.jsx("input",{type:"text",value:c,onChange:O=>d(O.target.value),className:"tw-nn tw-dm tw-nf tw-ta tw-km tw-uc tw-gi tw-qb",placeholder:_.remark})]}),p.jsxs("div",{className:"tw-bn tw-ao tw-in tw-yc tw-vf tw-hd",children:[x?p.jsx("p",{className:"tw-fm tw-vd tw-xf",children:x}):p.jsx("p",{}),p.jsxs("div",{className:"tw-ao tw-vf tw-in",children:[p.jsx("button",{onClick:u,className:"tw-md tw-ao tw-vf tw-od tw-ug tw-km tw-dc tw-gi tw-co tw-np tw-xa tw-qf tw-fd",children:p.jsx("p",{className:"tw-vd",children:_.cancel})}),p.jsxs("button",{disabled:S,onClick:async()=>{y(!0);try{const O=await M5_createReport(F,{"client-id":o.embedId},o.restUrl);200===O.status||201===O.status?(k(""),w(!0),setTimeout((()=>u()),1e3)):(k(O.data.error),P())}catch(O){console.log("Failed to fetch report."),k(`${O}`),P()}finally{y(!1)}},className:`tw-md tw-ao tw-vf tw-ug ${f?"tw-mf tw-qc tw-ep tw-ap tw-uj tw-lb tw-rj":x?"tw-lf tw-np":"tw-kf tw-np"} ${C?"tw-pc":""} tw-gi tw-co tw-xa tw-qf tw-fd tw-ya tw-ba tw-pb`,children:[f&&p.jsx(vf,{size:16,className:"tw-li anm-animate-draw-fadeIn"}),p.jsx("p",{className:"tw-li",children:_.report})]})]})]})]})})]})},j5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none",...e},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}),E.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"})),O5=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...e},E.createElement("path",{fill:"#fff",d:"M12.5 18.958h-5c-4.525 0-6.458-1.933-6.458-6.458v-5c0-4.525 1.933-6.458 6.458-6.458h4.166a.63.63 0 0 1 .625.625.63.63 0 0 1-.625.625H7.5c-3.842 0-5.208 1.366-5.208 5.208v5c0 3.842 1.366 5.208 5.208 5.208h5c3.842 0 5.208-1.366 5.208-5.208V8.333a.63.63 0 0 1 .625-.625.63.63 0 0 1 .625.625V12.5c0 4.525-1.933 6.458-6.458 6.458"}),E.createElement("path",{fill:"#fff",d:"M18.333 8.958H15C12.15 8.958 11.04 7.85 11.04 5V1.667c0-.25.15-.484.384-.575a.63.63 0 0 1 .683.133l6.667 6.667a.626.626 0 0 1-.442 1.067m-6.041-5.783V5c0 2.15.558 2.708 2.708 2.708h1.825zM10.834 11.459h-5a.63.63 0 0 1-.625-.625.63.63 0 0 1 .625-.625h5a.63.63 0 0 1 .625.625.63.63 0 0 1-.625.625M9.167 14.792H5.834a.63.63 0 0 1-.625-.626.63.63 0 0 1 .625-.625h3.333a.63.63 0 0 1 .625.625.63.63 0 0 1-.625.625"})),ho=({children:e,text:t,render:n})=>p.jsxs("div",{className:"anm-group/tooltip tw-tk tw-ao",children:[e,t&&p.jsx("span",{className:"tw-dk tw-yi tw-ok tw-bc tw-v tw-rm tw-s tw-mj tw-jp tw-fm tw-pa tw-eb tw-wl tw-ol tw-vb tw-mb tw-zh tw-ti tw-mn",children:t}),n&&n]}),P5=({document:e})=>p.jsxs("div",{className:"tw-om tw-jk tw-dk tw-pm tw-al tw-ff tw-la tw-hq tw-hi tw-ol tw-vp tw-ek tw-im tw-sj tw-nj tw-ec tw-ql",children:[p.jsx("span",{className:"tw-yi tw-dm tw-ki",children:e.key}),p.jsxs("span",{className:"tw-yi tw-dm ",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]}),p.jsx("span",{className:"tw-yi tw-dm tw-vp tw-ye tw-vb tw-ad tw-uf tw-po",children:e.content.substring(0,50)})]});function R5({suggestionList:e,onSendMessages:t,settings:n,isLoading:u}){const r=null==n?void 0:n.headerBgColor,o=null==n?void 0:n.headerTextColor;return p.jsx("div",{style:{scrollbarWidth:"thin"},className:"tw-ao tw-vi tw-gn tw-gp tw-on",children:u?p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"tw-de tw-tg tw-ak tw-kk tw-gi"}),p.jsx("div",{className:"tw-de tw-tg tw-bl tw-kk tw-gi"}),p.jsx("div",{className:"tw-de tw-tg tw-cl tw-kk tw-gi"})]}):null==e?void 0:e.map(((l,i)=>p.jsx("div",{style:{"--bg-color":r??"#FFFFFF","--bg-color-saturated":I5(r)??"#FFFFFF","--text-color":o??"#000000"},onClick:a=>{t(a,l)},className:"tw-ka tw-dm tw-nf tw-km tw-ha tw-qp tw-tm tw-fg tw-md tw-t tw-da tw-ub tw-ao tw-vf",children:p.jsx("span",{children:l})},i)))})}const I5=(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,o=Math.max(n,u,r),l=Math.min(n,u,r);if(o===l)i=a=0;else{let c=o-l;a=(o+l)/2>.5?c/(2-o-l):c/(o+l),o===n?i=(u-r)/c+(u<r?6:0):o===u?i=(r-n)/c+2:o===r&&(i=(n-u)/c+4),i*=60}return`hsl(${Math.round(i)}, ${Math.round(100*a)}%, ${t}%)`},z5={copy:e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},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"}),E.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=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},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"}))},H5=b5(window),$5=({settings:e,messageIndex:t,debugPre:n,sessionId:u,type:r,message:o,role:l,isRAG:i,query:a="",question:s,sources:c=[],error:d=!1,read:h,sending:v,pending:g,sentAt:_,isDateChanged:S,currDate:y,isLastMessage:f,isShowSuggestion:w,onSuggestion:x,setSuggestList:k,messageID:C,images:A,videoUrls:F=[],fileUrls:$=[],isFullScreen:P,submit:O,suggestList:de,isSuggestLoading:Je})=>{const{openModal:ct,setModalOpen:ft}=E.useContext(zi),Et=E.useRef(null),En=e.language,N=Dt[En]||Dt.en,R=e.textSize?`anm-text-[${e.textSize}px]`:"tw-mh";function I(q){return"user"===q?e.userBgColor??"#3DBEF5":e.assistantBgColor??"#FFFFFF"}function H(q){return"user"===q?e.userTextColor??"#FFFFFF":e.assistantTextColor??"#27272a"}const[ue,Y]=E.useState("copy"),dt=z5[ue];E.useEffect((()=>{Et.current&&Et.current.querySelectorAll("a").forEach((q=>{q.onclick=async Ue=>{Ue.preventDefault(),yr.sendEvent({event:"click",url:q.href},{"client-id":e.embedId,"session-id":u}),q.onclick=null,window.location.href=q.href}}))}),[o,u]);return"event"===r?p.jsx("div",{className:"tw-ao tw-od tw-po tw-go",children:p.jsx("div",{className:"tw-pp tw-oh tw-dm tw-yi",children:o})}):p.jsxs(p.Fragment,{children:[S&&p.jsx("div",{className:"tw-ao tw-od tw-po tw-go",children:p.jsx("div",{className:"tw-ao tw-vf tw-od tw-qi tw-oh tw-fg tw-pp tw-kp tw-fm tw-yi",children:E5(y,En)})}),p.jsxs("div",{style:{"--user-bg":I("user"),"--asst-bg":I("assistant"),"--user-text":H("user"),"--asst-text":H("assistant")},className:`tw-tk ${"user"===l?"tw-vo":"tw-xo"} tw-j`,children:[p.jsxs("div",{className:"tw-ao tw-yg tw-bn tw-ln "+("user"===l?"tw-zg":"tw-he"),children:["user"!==l&&p.jsx("span",{className:"tw-ao tw-xk tw-pq tw-dq tw-fg tw-ko",children:p.jsx("img",{src:e.assistantIcon||Bi,alt:"Chatbot Avatar",className:"tw-fg"})}),p.jsxs("div",{"data-role":l,className:`tw-tk tw-tf tw-vg tw-rp tw-mp tw-uf tw-yi tw-ng tw-dh ${P&&"tw-ah tw-zb"} ${d?"tw-qh tw-gi":"user"===l?`${Gt.USER_STYLES.base} anm-animuz-user-message tw-pa tw-eb`:`${Gt.ASSISTANT_STYLES.base} tw-na tw-db tw-gk ${w&&"tw-ma tw-nf"}`}`,children:["user"!==l&&d?p.jsxs("div",{className:"tw-iq tw-gi tw-ri tw-lg",children:[p.jsxs("span",{className:"tw-uf ",children:[p.jsx(If,{className:"tw-bq tw-mq tw-fo tw-uf"})," ","Could not respond to message."]}),p.jsx("p",{className:"tw-fm tw-xi tw-po tw-th tw-ld tw-zo tw-rh tw-iq tw-ii",children:d})]}):g?p.jsx("div",{className:"tw-ro tw-so anm-dot-falling"}):p.jsxs(p.Fragment,{children:["image"===r?p.jsx(B5,{images:A,sentAt:_}):"video"===r?p.jsx(U5,{videos:F}):"file"===r?p.jsx(V5,{file:$}):p.jsx("span",{ref:Et,className:`tw-ib tw-ao tw-jk tw-jl ${R} tw-ej tw-kg tw-nd`,dangerouslySetInnerHTML:{__html:H5.sanitize(t5(o))}}),e.showRag&&i&&c.length>0&&p.jsx("div",{className:"tw-ao tw-vi tw-kl tw-vf tw-po tw-dm tw-bf",children:c.map(((q,Ue)=>p.jsx(ho,{render:p.jsx(P5,{document:q}),children:p.jsx("span",{className:"tw-ko tw-pp tw-kp tw-gi tw-rg tw-md tw-yb tw-kc tw-ye tw-vb tw-ad anm-max-w-32",onClick:()=>ct(p.jsx(F5,{document:q,query:a})),children:q.key.split("/").pop()})},Ue)))})]}),p.jsxs("div",{className:"tw-ao tw-jk tw-dk tw-yi tw-jh tw-af tw-vb tw-ik "+("user"===l?"tw-dj tw-ei tw-jo":"tw-yg tw-fj tw-ho"),children:["user"===l&&h&&p.jsx("span",{children:"Read"}),p.jsxs("div",{className:"tw-ao tw-vf",children:["user"===l&&v?p.jsx("span",{children:p.jsx(T5,{width:16,height:16,viewBox:"0 0 24 24"})}):"user"===l&&d?p.jsxs("span",{className:"tw-ao tw-gn tw-vf tw-jo tw-lg",children:[p.jsx(D5,{})," ",d]}):p.jsx(p.Fragment,{}),_&&p.jsx("span",{children:_5(_)})]})]})]})]}),"user"!==l&&p.jsxs("div",{"aria-expanded":f&&!g,className:"anm-action-wrapper tw-nb tw-ob tw-yp tw-bn tw-sm tw-vo tw-dk tw-om tw-al tw-ab tw-gl tw-pn tw-jd tw-uj",children:[e.showCopyAction&&p.jsx(ho,{text:"copy"===ue?N.copy:N.copySuccess,children:p.jsx("button",{className:"tw-ao tw-vf tw-od tw-md tw-ug tw-jd tw-eq tw-jp tw-af tw-ca",onClick:()=>{navigator.clipboard.writeText(o),Y("check"),setTimeout((()=>{Y("copy")}),1e3)},children:p.jsx(dt,{className:"tw-mq tw-bq"})})}),e.showSuggestAction&&p.jsx(ho,{text:N.suggest,children:p.jsx("button",{onClick:()=>{x(),(async()=>{try{if(k([]),null!==(null==e?void 0:e.defaultSuggestions)&&""!==(null==e?void 0:e.defaultSuggestions)){const Ue=(await yr.suggestionsNoAuth({conversationID:u,defaultSuggestions:"string"==typeof e.defaultSuggestions?JSON.parse(e.defaultSuggestions.replace(/'/g,'"')):e.defaultSuggestions,messages:[{role:l,message:o,debugPre:n}]},{"client-id":e.embedId,"session-id":u},e.restUrl)).suggest;k(Ue)}}catch(q){console.error("Error fetching suggestions:",q)}})()},className:"tw-ao tw-vf tw-od tw-md tw-ug tw-jd tw-eq tw-jp tw-af tw-ca tw-ba tw-qa",children:p.jsx(S5,{className:"tw-mq tw-bq"})})}),e.showReportAction&&0!==t&&p.jsx(ho,{text:N.report,children:p.jsx("button",{className:"tw-ao tw-vf tw-od tw-md tw-ug tw-jd tw-eq tw-jp tw-af tw-ca tw-ba tw-qa",onClick:()=>{ct(p.jsx(L5,{datasetID:e.embedId,message:o,query:s,messageID:C,sources:c,onClose:()=>ft(!1),settings:e}))},children:p.jsx(A5,{className:"tw-mq tw-bq"})})})]})]}),w&&p.jsx(R5,{settings:e,suggestionList:de,onSendMessages:O,isLoading:Je})]})},B5=({images:e,sentAt:t})=>{const[n,u]=E.useState(""),[r,o]=E.useState(!1),i=new Date(t).toLocaleString("th-TH",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"});return p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"tw-ao tw-hn tw-vi",children:null==e?void 0:e.map(((a,s)=>p.jsx("img",{onClick:()=>u(a),src:a,alt:"img",className:"tw-am tw-ji tw-km tw-sc tw-rg tw-pd"},s)))}),n&&p.jsxs("div",{className:"tw-ao tw-mm tw-jk tw-jq tw-fn tw-ml tw-im tw-od tw-qg tw-cb",children:[p.jsxs("div",{className:"tw-ao tw-vf tw-yc",children:[p.jsxs("div",{className:"tw-ao tw-in tw-vf tw-fq",children:[p.jsx("div",{className:"tw-ao tw-od tw-vf border tw-dh tw-ek tw-zl",children:p.jsx("img",{src:Bi,alt:"avatar",className:"tw-yl tw-cg tw-rd"})}),p.jsxs("div",{className:"tw-ao tw-jk tw-km tw-nf",children:[p.jsx("span",{className:"tw-li tw-cm",children:"Rudi"}),p.jsx("span",{className:"tw-oh",children:i})]})]}),p.jsx("div",{className:"tw-ao tw-od tw-vf tw-gn",children:p.jsx(j5,{onClick:()=>u(null),className:"tw-md anm-hover:anm-scale-110 tw-yd tw-qf"})})]}),p.jsx("div",{className:"tw-qe tw-je tw-eh tw-tk tw-gh",children:p.jsx("img",{src:n,alt:"Preview",onLoad:()=>o(!0),className:"tw-pd tw-bn tw-nm tw-eh tw-mb tw-rf "+(r?"tw-bh":"tw-mj")},n)}),p.jsx("div",{className:"tw-ao tw-hn tw-te tw-dl",children:null==e?void 0:e.map(((a,s)=>p.jsx("div",{className:"tw-md",onClick:()=>{o(!1),u(a)},children:p.jsx("img",{src:a,alt:a,className:"tw-zi tw-re tw-dh tw-cg"})},s)))})]})]})},U5=({videos:e})=>p.jsx(p.Fragment,{children:p.jsx("div",{className:"tw-ao tw-hn tw-vi",children:null==e?void 0:e.map(((t,n)=>p.jsx("div",{className:"tw-cj tw-tk",children:p.jsx("video",{controls:!0,src:t,className:"tw-bn tw-nm tw-cg tw-dh"})},n)))})}),V5=({file:e})=>p.jsx("div",{className:"tw-ao tw-hn tw-vi",children:null==e?void 0:e.map(((t,n)=>{const u=t.split("/").pop(),r=null==u?void 0:u.split("_")[1].split(".");return p.jsx("a",{className:"tw-bg",href:t,target:"_blank",children:p.jsxs("div",{className:"tw-yd tw-qf tw-ao tw-vf tw-nf tw-km tw-hn tw-ee tw-qd tw-lp tw-qp tw-bk tw-lk",children:[p.jsx("div",{className:"tw-ao tw-vf tw-od tw-ag tw-zf tw-hl tw-ue",children:p.jsx(O5,{className:"tw-li"})}),p.jsxs("div",{children:[p.jsx("span",{className:"tw-dm tw-wf tw-ad tw-ki",children:r[0]}),p.jsx("span",{className:"tw-kh tw-oh",children:r[1]})]})]})},n)}))});function W2(){const{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}function q5(){var r,o;const{width:e}=function(){const[e,t]=E.useState(W2());return E.useEffect((()=>{function n(){t(W2())}return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}),[]),e}(),[t,n]=E.useState(!(null!=(r=null==window?void 0:window.sessionStorage)&&r.getItem(J1)||null!=(o=null==window?void 0:window.localStorage)&&o.getItem(J0)));return{isGreetingsShow:t,toggleGreetingsShow:function(l){!0===l&&e>=768&&window.sessionStorage.setItem(J1,"1"),n(l)}}}function G2(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:o,setSuggestList:l,isFullScreen:i,submit:a,suggestList:s,isSuggestLoading:c}){const[d,h]=E.useState(!0),v=E.useRef(null),g=E.useMemo((()=>G2(n)),[n]),_=E.useMemo((()=>[...g,...u]),[g,u]);E.useEffect((()=>{t&&y()}),[u,t]);const y=()=>{var f;null==(f=v.current)||f.scrollIntoView({behavior:"auto"})};return 0===_.length?p.jsx("div",{className:"tw-tk tw-ao tw-jk tw-lm tw-ph tw-rg",children:p.jsx("div",{className:"tw-ao tw-jk tw-di tw-sk tw-gi tw-kp tw-nm tw-po tw-kl tw-he",children:p.jsx("div",{className:"tw-ao tw-nm tw-jk tw-vf tw-od",children:p.jsx("p",{className:"tw-wd tw-dm tw-yi tw-sp tw-nh",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-tk tw-ao tw-jk tw-lm tw-ph tw-ad tw-wa",children:[p.jsx("div",{className:"anm-scroll-container tw-sb tw-rb tw-we tw-nm tw-yo",onScroll:f=>{const x=f.target.scrollHeight-f.target.scrollTop-f.target.clientHeight<=40;h(x)},children:p.jsxs("div",{className:"tw-ao tw-jk tw-lm tw-ip tw-pj tw-z tw-mp tw-ol tw-zc",children:[_.map(((f,w)=>{var A;const x=w===_.length-1&&w>g.length-1,C=null==(A=_[w-1])?void 0:A.content;return p.jsx($5,{settings:n,messageIndex:w,sessionId:e,type:f.type,message:f.content,sentAt:f.sentAt||f.timestamp,role:f.role,isRAG:f.isRAG,query:f.query,question:C,sources:f.sources,chatId:f.chatId,feedbackScore:f.feedbackScore,error:f.error,sending:f.sending,read:f.read,pending:f.pending,isDateChanged:f.isDateChanged,currDate:f.currDate,isLastMessage:x,onSuggestion:()=>{o(w===r?null:w)},isShowSuggestion:r===w,debugPre:f.debugPre,setSuggestList:l,messageID:f.msgID,images:null==f?void 0:f.images,fileUrls:null==f?void 0:f.fileUrls,videoUrls:null==f?void 0:f.videoUrls,isFullScreen:i,submit:a,suggestList:s,isSuggestLoading:c},w)})),p.jsx("div",{className:"tw-dn",ref:v})]})}),p.jsx(G5,{scrollToBottom:y,isAtBottom:d})]})}const G5=({scrollToBottom:e,isAtBottom:t})=>p.jsx("div",{className:"tw-ok tw-bc tw-dk tw-bn tw-pe tw-ao tw-zg tw-si tw-hb",children:p.jsxs("button",{className:`tw-gb tw-hq tw-lo tw-im tw-md tw-ao tw-vf tw-od tw-fg tw-wm tw-vc tw-og tw-wb tw-li tw-mb tw-of ${t?"tw-mj tw-hb":"tw-bh"} `,onClick:e,id:"scroll-to-bottom-button","aria-label":"Scroll to bottom",children:[p.jsx(sf,{weight:"bold"}),p.jsx("span",{className:"tw-bm",children:"Scroll to bottom"})]})});function Q5(){return p.jsx("div",{className:"tw-nm tw-rg anm-no-scroll tw-ao tw-jk tw-vf tw-od",children:p.jsx(Hi,{size:28,className:"tw-wd tw-jf"})})}function Y5({settings:e}){return"true"===e.noSponsor?null:p.jsxs(p.Fragment,{children:[p.jsx("div",{className:"tw-ll tw-sg tw-ro"}),p.jsxs("span",{className:"tw-ol tw-fm tw-yi tw-so tw-ze",children:["Powered by"," ",p.jsx("a",{href:"https://rudi.animuz.ai/",target:"_blank",rel:"noreferrer",className:"tw-fm anm-font-inherit tw-hc tw-bg tw-xe tw-gd",children:"rudi.animuz.ai"})]})]})}function X5({settings:e,message:t,submit:n,onChange:u,inputDisabled:r,buttonDisabled:o,callPing:l}){const i=E.useRef(null),a=E.useRef(null),[s,c]=E.useState(!1);E.useEffect((()=>{!r&&a.current&&a.current.focus(),g()}),[r]);const g=()=>{if(!a.current)return;a.current.style.height="auto";const _=a.current.scrollHeight-24+"px";a.current.style.height=_};return E.useLayoutEffect((()=>{g()}),[a,t]),p.jsx("div",{className:"tw-an tw-ik tw-ao tw-jk tw-zo tw-dp tw-uo tw-zg",children:p.jsxs("form",{onSubmit:_=>{c(!1),n(_)},className:"tw-ek tw-dh tw-ao tw-jk tw-nf tw-km tw-tc tw-bn tw-ol tw-zc",children:[p.jsxs("div",{className:"tw-ao tw-dj tw-rk",children:[p.jsx("textarea",{ref:a,className:"tw-ao tw-lm tw-bn tw-yi tw-ga tw-jd tw-dm tw-fk tw-gb tw-ie tw-gj tw-pl tw-jq tw-bd tw-x tw-ch tw-bb tw-qb tw-gf",onKeyDown:_=>{!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||window.innerWidth<=768||"ontouchstart"in window)&&13==_.keyCode&&!_.shiftKey&&(_.preventDefault(),n(_))},onChange:u,required:!0,disabled:r,onFocus:()=>{c(!0),l()},onBlur:_=>{c(!1)},rows:1,tabIndex:0,enterKeyHint:"enter",value:t,placeholder:e.placeholder,id:"message-input"}),p.jsxs("button",{ref:i,type:"submit",disabled:o,className:"tw-if tw-nc tw-yn tw-be tw-mc tw-ug tw-hi tw-md tw-ki tw-en tw-cn anm-group/button tw-y",id:"send-message-button","aria-label":"Send message",children:[r?p.jsx(Hi,{className:"tw-mq tw-bq tw-jf"}):p.jsx(Mf,{size:24,style:{"--btn-color":e.headerBgColor??"#000000"},className:"tw-oa tw-p tw-i",weight:"fill"}),p.jsx("span",{className:"tw-bm",children:"Send message"})]})]}),p.jsx(Y5,{settings:e})]})})}const ga={message:"ping",timeout:6e4,interval:25e3};const eg=(e,t,n,u,r)=>{e.onmessage=o=>{var l;t.current.onMessage&&t.current.onMessage(o),"number"==typeof(null==u?void 0:u.current)&&(u.current=Date.now()),("function"!=typeof t.current.filter||!0===t.current.filter(o))&&(t.current.heartbeat&&"boolean"!=typeof t.current.heartbeat&&(null==(l=t.current.heartbeat)?void 0:l.returnMessage)===o.data||("number"==typeof(null==r?void 0:r.current)&&(r.current=Date.now()),n(o)))}},tg=(e,t,n,u,r,o)=>{e.onopen=l=>{if(t.current.onOpen&&t.current.onOpen(l),u.current=0,n(qt.OPEN),t.current.heartbeat&&e instanceof WebSocket){const i="boolean"==typeof t.current.heartbeat?void 0:t.current.heartbeat;r.current=Date.now(),o.current=Date.now(),function(e,t,n){const{interval:u=ga.interval,timeout:r=ga.timeout,message:o=ga.message}=n||{},l=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 o?e.send(o()):e.send(o),i=s}catch(d){console.error("Heartbeat failed, closing connection",d instanceof Error?d.message:d),e.close()}}),l);e.addEventListener("close",(()=>{clearInterval(a)}))}(e,r,i)}}},ng=(e,t,n,u,r)=>{let o;return e.onclose=l=>{if(t.current.onClose&&t.current.onClose(l),n(qt.CLOSED),t.current.shouldReconnect&&t.current.shouldReconnect(l)){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;o=window.setTimeout((()=>{r.current++,u()}),a??5e3)}else t.current.onReconnectStop&&t.current.onReconnectStop(i),console.warn(`Max reconnect attempts of ${i} exceeded`)}},()=>o&&window.clearTimeout(o)},ug=(e,t,n,u,r)=>{let o;return e.onerror=l=>{if(t.current.onError&&t.current.onError(l),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;o=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`)},()=>o&&window.clearTimeout(o)},X2=E.createContext({}),lg=(e,t,n,u,r,o,l,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(qt.CONNECTING),!e.current)throw new Error("WebSocket failed to be created");return((e,t,n,u,r,o,l)=>{const{setLastMessage:i,setReadyState:a}=t;let s,c;return eg(e,n,i,o,l),tg(e,n,a,r,o,l),s=ng(e,n,a,u,r),c=ug(e,n,a,u,r),()=>{a(qt.CLOSING),s(),c(),e.close()}})(e.current,{setLastMessage:o,setReadyState:u},r,l.current,i,a,s)},qt={UNINSTANTIATED:-1,CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},K2=()=>E.useContext(X2),ig=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",stroke:"currentColor",...e},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"}),E.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"}),E.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"})),ag=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},E.createElement("path",{stroke:"#C3C3C3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M6 12h12"})),sg=({data:e,settings:t,className:n,isFullScreen:u})=>{const[r,o]=E.useState(!0),l=t.language,i=Dt[l]||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-le tw-bn tw-dh tw-gk tw-ha tw-nf tw-ad tw-ek tw-dk tw-un tw-vl ${n} ${u?"tw-bh tw-ra tw-q":"tw-mj tw-bm tw-hb"}`,children:[p.jsxs("div",{className:"tw-kq tw-ao tw-vf tw-yc tw-hk tw-wh tw-vh tw-nf tw-dc tw-md tw-fh",onClick:()=>{o((c=>!c))},children:[p.jsxs("div",{className:"tw-ao tw-vf tw-vj",children:[p.jsx(ig,{style:{"--bg-color":(null==t?void 0:t.headerBgColor)??"#FFFFFF"},className:"tw-wm tw-ja"}),p.jsx("span",{className:"tw-cm tw-ge",children:i.statistic})]}),p.jsx(ag,{className:"tw-wm tw-xa tw-rf "+(r?"tw-fi":"")})]}),p.jsx("div",{className:"tw-bo tw-yd tw-rf tw-mp "+(r?"tw-xc tw-sp ":"tw-wc tw-op"),children:p.jsx("div",{className:"tw-ao tw-jk tw-wj tw-ad",children:a.map(((c,d)=>p.jsxs("div",{className:"tw-ao tw-vj",children:[p.jsx("span",{className:"tw-ud tw-se tw-ke",children:c.title}),p.jsx("span",{children:c.value})]},d)))})})]})};const fg={_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 pg(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+=fg.fromNumber(Math.ceil(Math.random()*Number.MAX_SAFE_INTEGER));return t.substr(Math.floor(t.length/2-e/2),e)}(t)}`}function J2(e){const t=e.substr(0,8),n=parseInt(t,36);return new Date(n)}const ed=E.createContext();const td=()=>E.useContext(ed);const vg=(e,t)=>({handleAck:n=>{clearTimeout(t.current[n.msgID]),e((u=>mo(u,n.msgID,"error"===n.status?n.error:void 0)))},handleAction:n=>{const{action:u}=n;if("TYPING_ON"===u)e((r=>[...r,ud]));else if("TYPING_OFF"===u)e((r=>{const o=r[r.length-1];return"assistant"===(null==o?void 0:o.role)&&o.pending?r.slice(0,-1):r}));else if("MARK_READ"===u){const r=n.timestamp;e((o=>o.map((l=>new Date(l.timestamp).getTime()<=r?{...l,read:!0}:l))))}},handleMessage:n=>{e((u=>{const r=u[u.length-1];if(!r)return u;const o=nd(u),l=new Date(r.timestamp).toLocaleDateString();return[...o,Vi([n],l)[0]]}))}}),nd=e=>{const t=e[e.length-1];return"assistant"===(null==t?void 0:t.role)&&t.pending?e.slice(0,-1):e},yg=({settings:e,sessionId:t,setChatHistory:n,sendJsonMessage:u,ackListener:r,intentResponse:o})=>({sendViaIntent:(s,c)=>{console.debug("intentResponse",o[s]);const d=o[s];n((h=>[...mo(h,c),...d]))},sendViaRestApi:async(s,c,d,h,v)=>{const g=setTimeout((()=>{n((_=>[..._,ud]))}),3e3);try{const _={conversationID:t,messages:[{type:"text",message:s}]};h&&(_.greetings=d);const[S,y]=await Ui_chat(_,{"client-id":e.embedId,"session-id":t},e.restUrl);clearTimeout(g),xg(y,S,c,n,v)}catch(_){clearTimeout(g),console.error("Error fetching REST API:",_),n((S=>mo(S,c,_.message)))}},sendViaWebSocket:(s,c)=>{const d=e.chatFnVersion,h=JSON.stringify({...s.toWSJson(),version:d||void 0});u({action:"sendMessage",body:h}),r.current[c]=setTimeout((()=>{n((v=>mo(v,c,"Couldn't send")))}),2e4)}}),xg=(e,t,n,u,r)=>{200===e?u((o=>{if(!o[o.length-1])return o;const i=nd(o),a=J2(n).toLocaleDateString();return[...i,...Vi(t,a)]})):303===e?r():console.error("Unhandled status code:",e)},bg=(e,t)=>{const u=pg(new Date,3);return{newMessage:new Eg(u,e,"user",t),msgID:u}},_g=e=>{const t=e.filter((u=>u.pending));return[...e.filter((u=>!u.pending)),...t]},mo=(e,t,n)=>e.map((u=>u.msgID===t?{...u,sending:!1,pending:!1,...void 0!==n&&{error:n}}:u)),ud={content:"",role:"assistant",pending:!0};class Eg{constructor(t,n,u,r,o=!0){Vd(this,"type","text"),this.msgID=t,this.content=n,this.role=u,this.timestamp=J2(t).toISOString(),this.greetings=r,this.sending=o}toJson(){return{msgID:this.msgID,type:this.type,content:this.content,role:this.role,timestamp:this.timestamp,sending:this.sending}}toWSJson(){const t={msgID:this.msgID,type:this.type,message:this.content};return this.greetings&&this.greetings.length>0&&(t.greetings=this.greetings),t}}function kg({isFullScreen:e,isChatOpen:t,sessionId:n,settings:u,chatHistory:r=[],setChatHistory:o,callPing:l}){const{showSuggest:i,setShowSugguest:a,suggestList:s,setSuggestList:c,isLoading:d}=function(e,t){const n=E.useMemo((()=>e.defaultSuggestions?JSON.parse(e.defaultSuggestions):[]),[e.defaultSuggestions]),[u,r]=E.useState(0===t.length&&n.length>0),[o,l]=E.useState([]),[i,a]=E.useState(!1);return E.useEffect((()=>{0===t.length&&n.length>0&&(r(!0),l([]))}),[t.length,n]),E.useEffect((()=>{a(o.length<=0)}),[o]),E.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."):l([]),r(!0))}),[t,e.autoSuggestions,n,e.fetchSuggestions]),{showSuggest:u,setShowSugguest:r,suggestList:o,setSuggestList:l,isLoading:i}}(u,r),{connect:h,disconnect:v}=K2();E.useEffect((()=>(r.length>0&&h(n),()=>v())),[]);const{handleSubmit:g,message:_,setMessage:S}=function({chatHistory:e,setChatHistory:t,settings:n,sessionId:u,setShowSugguest:r}){const[o,l]=E.useState(""),i=E.useRef({}),{connect:a,sendJsonMessage:s,lastJsonMessage:c}=K2(),{intentResponse:d}=td(),h=E.useCallback((async(v,g=null)=>{v&&v.preventDefault();const _=g??o;if(!_.trim())return;r(!1);const S=0===e.length,y=S?G2(n):[];"true"!==n.restApi&&S&&a(u);const{newMessage:f,msgID:w}=bg(_,y);t((k=>_g([...k,f.toJson()]))),l("");const x=yg({settings:n,sessionId:u,setChatHistory:t,sendJsonMessage:s,ackListener:i,intentResponse:d});if(d[_])x.sendViaIntent(_,w);else if("true"===n.restApi&&n.restUrl){const k=()=>{n.restApi="true",a(u)};await x.sendViaRestApi(_,w,y,S,k)}else x.sendViaWebSocket(f,w)}),[e,o,l,t,n,u,a,s,r,d]);return E.useEffect((()=>{if(!c)return;const v=vg(t,i);switch(c.event){case"ack":v.handleAck(c);break;case"action":v.handleAction(c);break;case"message":case"event":v.handleMessage(c);break;default:console.warn("Unhandled WebSocket event:",c.event)}}),[c,t]),{handleSubmit:h,message:o,setMessage:l}}({chatHistory:r,setChatHistory:o,settings:u,sessionId:n,setShowSugguest:a}),f=r[r.length-1],w={msgID:null==f?void 0:f.msgID,timestamp:null==f?void 0:f.timestamp,model:"gpt-4o",tool:null!=f&&f.isRAG?"RAG":"",query:null==f?void 0:f.query,documents:null!=f&&f.sources?`[${null==f?void 0:f.sources.map((x=>x.key)).join(", ")}]`:"[]",scores:null!=f&&f.sources?`[${null==f?void 0:f.sources.map((x=>x.score)).join(", ")}]`:"[]"};return p.jsxs("div",{className:"tw-nm tw-tk tw-ao tw-jk tw-ad",children:[p.jsx(W5,{sessionId:n,settings:u,history:r,isChatOpen:t,showSuggestions:i,setShowSuggesstion:a,setSuggestList:c,isFullScreen:e,submit:g,suggestList:s,isSuggestLoading:d}),p.jsx("div",{className:"tw-dk tw-ik tw-pm tw-bn tw-zp",children:p.jsx(X5,{settings:u,message:_,submit:g,onChange:x=>{S(x.target.value),"true"===u.restApi&&l()},inputDisabled:!1,buttonDisabled:!_||""===_,callPing:l})}),w.tool&&p.jsx(sg,{data:w,isFullScreen:e,settings:u,className:""})]})}function Cg({isChatOpen:e,closeChat:t,settings:n,sessionId:u,callPing:r,isFullScreen:o,isIframe:l,toggleFullScreen:i}){const{chatHistory:a,setChatHistory:s,resetChat:c,loading:d}=function(e=null,t=null){const[n,u]=E.useState(!0),[r,o]=E.useState([]),l=E.useCallback((async()=>{if(t&&e){u(!0);try{const a=await yr.getMessages({"client-id":e.embedId,"session-id":t},e.restUrl),s=Vi(a);o(s)}catch(a){console.error("Error fetching historical chats:",a)}finally{u(!1)}}}),[t,e]);return E.useEffect((()=>{l()}),[l]),{chatHistory:r,setChatHistory:o,resetChat:async()=>{await yr.resetMessages({"client-id":e.embedId,"session-id":t},e.restUrl),o([])},loading:n,refetch:l}}(n,u),h=0===a.length;return d?p.jsxs("main",{className:"tw-ao tw-jk tw-nm",children:[p.jsx(Bf,{resetChat:c,closeChat:t,settings:n}),p.jsx(Q5,{})]}):p.jsxs("main",{className:"anm-group tw-ao tw-jk tw-nm tw-yi",children:[p.jsx(Bf,{resetChat:c,closeChat:t,settings:n,sessionId:u,isNoMessage:h,isFullScreen:o,isIframe:l,toggleFullScreen:i}),p.jsx(kg,{isFullScreen:o,isChatOpen:e,sessionId:u,settings:n,chatHistory:a,setChatHistory:s,callPing:r})]})}var rd={exports:{}};function od(){}function ld(){}ld.resetWarningCache=od;rd.exports=function(){function e(u,r,o,l,i,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:ld,resetWarningCache:od};return n.PropTypes=n,n}();const te=ve(rd.exports);var id=E,Mg=function(e){return e&&"object"==typeof e&&"default"in e?e.default:e}(id);function ad(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jg=!!(typeof window<"u"&&window.document&&window.document.createElement);var Pg=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof n<"u"&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(o){if("function"!=typeof o)throw new Error("Expected WrappedComponent to be a React component.");var i,l=[];function a(){i=e(l.map((function(c){return c.props}))),s.canUseDOM?t(i):n&&(i=n(i))}var r,s=function(c){function d(){return c.apply(this,arguments)||this}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(d,c),d.peek=function(){return i},d.rewind=function(){if(d.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var g=i;return i=void 0,l=[],g};var h=d.prototype;return h.UNSAFE_componentWillMount=function(){l.push(this),a()},h.componentDidUpdate=function(){a()},h.componentWillUnmount=function(){var g=l.indexOf(this);l.splice(g,1),a()},h.render=function(){return Mg.createElement(o,this.props)},d}(id.PureComponent);return ad(s,"displayName","SideEffect("+(((r=o).displayName||r.name||"Component")+")")),ad(s,"canUseDOM",jg),s}};const Rg=ve(Pg);var Ig=typeof Element<"u",zg="function"==typeof Map,Hg="function"==typeof Set,$g="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function go(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,u,r,o;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(u=n;0!=u--;)if(!go(e[u],t[u]))return!1;return!0}if(zg&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(u=o.next()).done;)if(!t.has(u.value[0]))return!1;for(o=e.entries();!(u=o.next()).done;)if(!go(u.value[1],t.get(u.value[0])))return!1;return!0}if(Hg&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(u=o.next()).done;)if(!t.has(u.value[0]))return!1;return!0}if($g&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(u=n;0!=u--;)if(e[u]!==t[u])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((n=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(u=n;0!=u--;)if(!Object.prototype.hasOwnProperty.call(t,r[u]))return!1;if(Ig&&e instanceof Element)return!1;for(u=n;0!=u--;)if(("_owner"!==r[u]&&"__v"!==r[u]&&"__o"!==r[u]||!e.$$typeof)&&!go(e[r[u]],t[r[u]]))return!1;return!0}return e!=e&&t!=t}const Ug=ve((function(t,n){try{return go(t,n)}catch(u){if((u.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw u}}));
38
38
  /*
39
39
  object-assign
40
40
  (c) Sindre Sorhus
41
41
  @license MIT
42
- */var sd=Object.getOwnPropertySymbols,Zg=Object.prototype.hasOwnProperty,qg=Object.prototype.propertyIsEnumerable;var Qg=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(o){return t[o]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(o){r[o]=o})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch{return!1}}()?Object.assign:function(e,t){for(var n,r,u=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),o=1;o<arguments.length;o++){for(var l in n=Object(arguments[o]))Zg.call(n,l)&&(u[l]=n[l]);if(sd){r=sd(n);for(var i=0;i<r.length;i++)qg.call(n,r[i])&&(u[r[i]]=n[r[i]])}}return u};const Yg=ve(Qg);var Hn_BODY="bodyAttributes",Hn_HTML="htmlAttributes",Hn_TITLE="titleAttributes",z={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(z).map((function(e){return z[e]}));var t,n,u,ne_CHARSET="charset",ne_CSS_TEXT="cssText",ne_HREF="href",ne_HTTPEQUIV="http-equiv",ne_INNER_HTML="innerHTML",ne_ITEM_PROP="itemprop",ne_NAME="name",ne_PROPERTY="property",ne_REL="rel",ne_SRC="src",ne_TARGET="target",wo={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Mr_DEFAULT_TITLE="defaultTitle",Mr_DEFER="defer",Mr_ENCODE_SPECIAL_CHARACTERS="encodeSpecialCharacters",Mr_ON_CHANGE_CLIENT_STATE="onChangeClientState",Mr_TITLE_TEMPLATE="titleTemplate",Xg=Object.keys(wo).reduce((function(e,t){return e[wo[t]]=t,e}),{}),Kg=[z.NOSCRIPT,z.SCRIPT,z.STYLE],_t="data-react-helmet",Jg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tw=function(){function e(t,n){for(var u=0;u<n.length;u++){var r=n[u];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(t,n,u){return n&&e(t.prototype,n),u&&e(t,u),t}}(),Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(e[u]=n[u])}return e},cd=function(e,t){var n={};for(var u in e)t.indexOf(u)>=0||Object.prototype.hasOwnProperty.call(e,u)&&(n[u]=e[u]);return n},wa=function(t){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(t):String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},rw=function(t){var n=_u(t,z.TITLE),u=_u(t,Mr_TITLE_TEMPLATE);if(u&&n)return u.replace(/%s/g,(function(){return Array.isArray(n)?n.join(""):n}));var r=_u(t,Mr_DEFAULT_TITLE);return n||r||void 0},ow=function(t){return _u(t,Mr_ON_CHANGE_CLIENT_STATE)||function(){}},va=function(t,n){return n.filter((function(u){return typeof u[t]<"u"})).map((function(u){return u[t]})).reduce((function(u,r){return Be({},u,r)}),{})},lw=function(t,n){return n.filter((function(u){return typeof u[z.BASE]<"u"})).map((function(u){return u[z.BASE]})).reverse().reduce((function(u,r){if(!u.length)for(var o=Object.keys(r),l=0;l<o.length;l++){var a=o[l].toLowerCase();if(-1!==t.indexOf(a)&&r[a])return u.concat(r)}return u}),[])},Lr=function(t,n,u){var r={};return u.filter((function(o){return!!Array.isArray(o[t])||(typeof o[t]<"u"&&cw("Helmet: "+t+' should be of type "Array". Instead found type "'+Jg(o[t])+'"'),!1)})).map((function(o){return o[t]})).reverse().reduce((function(o,l){var i={};l.filter((function(h){for(var v=void 0,g=Object.keys(h),_=0;_<g.length;_++){var S=g[_],y=S.toLowerCase();-1!==n.indexOf(y)&&!(v===ne_REL&&"canonical"===h[v].toLowerCase())&&!(y===ne_REL&&"stylesheet"===h[y].toLowerCase())&&(v=y),-1!==n.indexOf(S)&&(S===ne_INNER_HTML||S===ne_CSS_TEXT||S===ne_ITEM_PROP)&&(v=S)}if(!v||!h[v])return!1;var f=h[v].toLowerCase();return r[v]||(r[v]={}),i[v]||(i[v]={}),!r[v][f]&&(i[v][f]=!0,!0)})).reverse().forEach((function(h){return o.push(h)}));for(var a=Object.keys(i),s=0;s<a.length;s++){var c=a[s],d=Yg({},r[c],i[c]);r[c]=d}return o}),[]).reverse()},_u=function(t,n){for(var u=t.length-1;u>=0;u--){var r=t[u];if(r.hasOwnProperty(n))return r[n]}return null},ya=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout((function(){ya(t)}),0)}}(),fd=function(t){return clearTimeout(t)},aw=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ya:global.requestAnimationFrame||ya,sw=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||fd:global.cancelAnimationFrame||fd,cw=function(t){return console&&"function"==typeof console.warn&&console.warn(t)},jr=null,dd=function(t,n){var u=t.baseTag,r=t.bodyAttributes,o=t.htmlAttributes,l=t.linkTags,i=t.metaTags,a=t.noscriptTags,s=t.onChangeClientState,c=t.scriptTags,d=t.styleTags,h=t.title,v=t.titleAttributes;xa(z.BODY,r),xa(z.HTML,o),dw(h,v);var g={baseTag:Eu(z.BASE,u),linkTags:Eu(z.LINK,l),metaTags:Eu(z.META,i),noscriptTags:Eu(z.NOSCRIPT,a),scriptTags:Eu(z.SCRIPT,c),styleTags:Eu(z.STYLE,d)},_={},S={};Object.keys(g).forEach((function(y){var f=g[y],w=f.newTags,x=f.oldTags;w.length&&(_[y]=w),x.length&&(S[y]=g[y].oldTags)})),n&&n(),s(t,_,S)},pd=function(t){return Array.isArray(t)?t.join(""):t},dw=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=pd(t)),xa(z.TITLE,n)},xa=function(t,n){var u=document.getElementsByTagName(t)[0];if(u){for(var r=u.getAttribute(_t),o=r?r.split(","):[],l=[].concat(o),i=Object.keys(n),a=0;a<i.length;a++){var s=i[a],c=n[s]||"";u.getAttribute(s)!==c&&u.setAttribute(s,c),-1===o.indexOf(s)&&o.push(s);var d=l.indexOf(s);-1!==d&&l.splice(d,1)}for(var h=l.length-1;h>=0;h--)u.removeAttribute(l[h]);o.length===l.length?u.removeAttribute(_t):u.getAttribute(_t)!==i.join(",")&&u.setAttribute(_t,i.join(","))}},Eu=function(t,n){var u=document.head||document.querySelector(z.HEAD),r=u.querySelectorAll(t+"["+_t+"]"),o=Array.prototype.slice.call(r),l=[],i=void 0;return n&&n.length&&n.forEach((function(a){var s=document.createElement(t);for(var c in a)if(a.hasOwnProperty(c))if(c===ne_INNER_HTML)s.innerHTML=a.innerHTML;else if(c===ne_CSS_TEXT)s.styleSheet?s.styleSheet.cssText=a.cssText:s.appendChild(document.createTextNode(a.cssText));else{var d=typeof a[c]>"u"?"":a[c];s.setAttribute(c,d)}s.setAttribute(_t,"true"),o.some((function(h,v){return i=v,s.isEqualNode(h)}))?o.splice(i,1):l.push(s)})),o.forEach((function(a){return a.parentNode.removeChild(a)})),l.forEach((function(a){return u.appendChild(a)})),{oldTags:o,newTags:l}},hd=function(t){return Object.keys(t).reduce((function(n,u){var r=typeof t[u]<"u"?u+'="'+t[u]+'"':""+u;return n?n+" "+r:r}),"")},md=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(u,r){return u[wo[r]||r]=t[r],u}),n)},Wt=function(t,n,u){switch(t){case z.TITLE:return{toComponent:function(){return function(t,n,u){var r,o=((r={key:n})[_t]=!0,r),l=md(u,o);return[m.createElement(z.TITLE,l,n)]}(0,n.title,n.titleAttributes)},toString:function(){return function(t,n,u,r){var o=hd(u),l=pd(n);return o?"<"+t+" "+_t+'="true" '+o+">"+wa(l,r)+"</"+t+">":"<"+t+" "+_t+'="true">'+wa(l,r)+"</"+t+">"}(t,n.title,n.titleAttributes,u)}};case Hn_BODY:case Hn_HTML:return{toComponent:function(){return md(n)},toString:function(){return hd(n)}};default:return{toComponent:function(){return function(t,n){return n.map((function(u,r){var o,l=((o={key:r})[_t]=!0,o);return Object.keys(u).forEach((function(i){var a=wo[i]||i;if(a===ne_INNER_HTML||a===ne_CSS_TEXT){var s=u.innerHTML||u.cssText;l.dangerouslySetInnerHTML={__html:s}}else l[a]=u[i]})),m.createElement(t,l)}))}(t,n)},toString:function(){return function(t,n,u){return n.reduce((function(r,o){var l=Object.keys(o).filter((function(s){return!(s===ne_INNER_HTML||s===ne_CSS_TEXT)})).reduce((function(s,c){var d=typeof o[c]>"u"?c:c+'="'+wa(o[c],u)+'"';return s?s+" "+d:d}),""),i=o.innerHTML||o.cssText||"",a=-1===Kg.indexOf(t);return r+"<"+t+" "+_t+'="true" '+l+(a?"/>":">"+i+"</"+t+">")}),"")}(t,n,u)}}}},gd=function(t){var n=t.baseTag,u=t.bodyAttributes,r=t.encode,o=t.htmlAttributes,l=t.linkTags,i=t.metaTags,a=t.noscriptTags,s=t.scriptTags,c=t.styleTags,d=t.title,h=void 0===d?"":d,v=t.titleAttributes;return{base:Wt(z.BASE,n,r),bodyAttributes:Wt(Hn_BODY,u,r),htmlAttributes:Wt(Hn_HTML,o,r),link:Wt(z.LINK,l,r),meta:Wt(z.META,i,r),noscript:Wt(z.NOSCRIPT,a,r),script:Wt(z.SCRIPT,s,r),style:Wt(z.STYLE,c,r),title:Wt(z.TITLE,{title:h,titleAttributes:v},r)}},xw=Ig((function(t){return{baseTag:lw([ne_HREF,ne_TARGET],t),bodyAttributes:va(Hn_BODY,t),defer:_u(t,Mr_DEFER),encode:_u(t,Mr_ENCODE_SPECIAL_CHARACTERS),htmlAttributes:va(Hn_HTML,t),linkTags:Lr(z.LINK,[ne_REL,ne_HREF],t),metaTags:Lr(z.META,[ne_NAME,ne_CHARSET,ne_HTTPEQUIV,ne_PROPERTY,ne_ITEM_PROP],t),noscriptTags:Lr(z.NOSCRIPT,[ne_INNER_HTML],t),onChangeClientState:ow(t),scriptTags:Lr(z.SCRIPT,[ne_SRC,ne_INNER_HTML],t),styleTags:Lr(z.STYLE,[ne_CSS_TEXT],t),title:rw(t),titleAttributes:va(Hn_TITLE,t)}}),(function(t){jr&&sw(jr),t.defer?jr=aw((function(){dd(t,(function(){jr=null}))})):(dd(t),jr=null)}),gd)((function(){return null})),ba=(t=xw,u=n=function(r){function o(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,r.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,r),o.prototype.shouldComponentUpdate=function(i){return!Vg(this.props,i)},o.prototype.mapNestedChildrenToProps=function(i,a){if(!a)return null;switch(i.type){case z.SCRIPT:case z.NOSCRIPT:return{innerHTML:a};case z.STYLE:return{cssText:a}}throw new Error("<"+i.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},o.prototype.flattenArrayTypeChildren=function(i){var a,s=i.child,c=i.arrayTypeChildren,d=i.newChildProps,h=i.nestedChildren;return Be({},c,((a={})[s.type]=[].concat(c[s.type]||[],[Be({},d,this.mapNestedChildrenToProps(s,h))]),a))},o.prototype.mapObjectTypeChildren=function(i){var a,s,c=i.child,d=i.newProps,h=i.newChildProps,v=i.nestedChildren;switch(c.type){case z.TITLE:return Be({},d,((a={})[c.type]=v,a.titleAttributes=Be({},h),a));case z.BODY:return Be({},d,{bodyAttributes:Be({},h)});case z.HTML:return Be({},d,{htmlAttributes:Be({},h)})}return Be({},d,((s={})[c.type]=Be({},h),s))},o.prototype.mapArrayTypeChildrenToProps=function(i,a){var s=Be({},a);return Object.keys(i).forEach((function(c){var d;s=Be({},s,((d={})[c]=i[c],d))})),s},o.prototype.warnOnInvalidChildren=function(i,a){return!0},o.prototype.mapChildrenToProps=function(i,a){var s=this,c={};return m.Children.forEach(i,(function(d){if(d&&d.props){var h=d.props,v=h.children,_=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(u,r){return u[Xg[r]||r]=t[r],u}),n)}(cd(h,["children"]));switch(s.warnOnInvalidChildren(d,v),d.type){case z.LINK:case z.META:case z.NOSCRIPT:case z.SCRIPT:case z.STYLE:c=s.flattenArrayTypeChildren({child:d,arrayTypeChildren:c,newChildProps:_,nestedChildren:v});break;default:a=s.mapObjectTypeChildren({child:d,newProps:a,newChildProps:_,nestedChildren:v})}}})),a=this.mapArrayTypeChildrenToProps(c,a)},o.prototype.render=function(){var i=this.props,a=i.children,s=cd(i,["children"]),c=Be({},s);return a&&(c=this.mapChildrenToProps(a,c)),m.createElement(t,c)},tw(o,null,[{key:"canUseDOM",set:function(i){t.canUseDOM=i}}]),o}(m.Component),n.propTypes={base:te.object,bodyAttributes:te.object,children:te.oneOfType([te.arrayOf(te.node),te.node]),defaultTitle:te.string,defer:te.bool,encodeSpecialCharacters:te.bool,htmlAttributes:te.object,link:te.arrayOf(te.object),meta:te.arrayOf(te.object),noscript:te.arrayOf(te.object),onChangeClientState:te.func,script:te.arrayOf(te.object),style:te.arrayOf(te.object),title:te.string,titleAttributes:te.object,titleTemplate:te.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var r=t.rewind();return r||(r=gd({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),r},u);function bw(){return p.jsxs(ba,{children:[p.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"}),p.jsx("link",{rel:"stylesheet",href:Gt.stylesSrc})]})}ba.renderStatic=ba.rewind;for(var _e=[],_a=0;_a<256;++_a)_e.push((_a+256).toString(16).slice(1));var vo,Ew=new Uint8Array(16);function kw(){if(!vo&&!(vo=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 vo(Ew)}const wd={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Sw(e,t,n){if(wd.randomUUID&&!t&&!e)return wd.randomUUID();var u=(e=e||{}).random||(e.rng||kw)();return u[6]=15&u[6]|64,u[8]=63&u[8]|128,function(e,t=0){return(_e[e[t+0]]+_e[e[t+1]]+_e[e[t+2]]+_e[e[t+3]]+"-"+_e[e[t+4]]+_e[e[t+5]]+"-"+_e[e[t+6]]+_e[e[t+7]]+"-"+_e[e[t+8]]+_e[e[t+9]]+"-"+_e[e[t+10]]+_e[e[t+11]]+_e[e[t+12]]+_e[e[t+13]]+_e[e[t+14]]+_e[e[t+15]]).toLowerCase()}(u)}function Tw({settings:e,toggleGreetingsShow:t}){const[n,u]=E.useState([]);return E.useEffect((()=>{const r=e.greetings?JSON.parse(e.greetings):[];u(r),t(!0)}),[e]),p.jsxs(p.Fragment,{children:[p.jsx("button",{className:"tw-dk tw-ug tw-md tw-rn tw-rl tw-wi tw-ao tw-mj tw-m tw-od tw-vf tw-im tw-vm tw-fg tw-dm tw-kd tw-ki tw-um",onClick:r=>{r.stopPropagation(),t(!1)},children:"✕"}),n.map(((r,o)=>p.jsx("div",{style:{animationFillMode:"forwards",animationDelay:.6+.3*o+"s"},className:"tw-ao tw-zg tw-ek tw-tj tw-km tw-kb tw-nf tw-gi tw-lq tw-fq tw-dm tw-mj tw-xl tw-d tw-yi",children:r},o)))]})}const Dw=({isOpen:e,onClose:t,children:n})=>e?p.jsx("div",{className:"tw-fn tw-ao tw-ml tw-od tw-vf tw-bn tw-nm tw-pg tw-im",onClick:t,children:p.jsxs("div",{className:"tw-tk tw-ek tw-eh tw-bn tw-qk tw-sj tw-ia",onClick:u=>u.stopPropagation(),children:[p.jsx("button",{className:"tw-dk tw-sn tw-sl tw-zk tw-jd tw-ug tw-md tw-af tw-jb tw-wn",onClick:t,children:"×"}),n]})}):null;const yo=document.createElement("div");yo.id="animuz-chat-widget",yo.setAttribute("style","visibility:hidden;opacity:0;"),document.body.appendChild(yo),Fo.createRoot(yo).render(p.jsx(m.StrictMode,{children:p.jsx((function({children:e}){const[t,n]=E.useState(!1),u=function(e,t){const n=E.useRef(Date.now());return function(){Date.now()-n.current>=t&&(e(),n.current=Date.now())}}((()=>{Ui_ping()}),1e4),[r,o]=E.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,i]=E.useState("");return E.useEffect((()=>{function a(s){if(s.data&&"intentResponse"===s.data.type){if(!s.data.intent||!s.data.response)return void console.warn("Received intentResponse without intent or response");o((c=>(console.log("Updating intentResponse",{...c,[s.data.intent]:s.data.response}),{...c,[s.data.intent]:s.data.response})))}else if(s.data&&"promptInject"===s.data.type){if(!s.data.context)return void console.warn("Received promptInject without context");i(s.data.context)}}return window.addEventListener("message",a),()=>window.removeEventListener("message",a)}),[]),p.jsx(ed.Provider,{value:{isFullScreen:t,setIsFullScreen:n,intentResponse:r,setIntentResponse:o,promptInject:l,setPromptInject:i,callPing:u},children:e})}),{children:p.jsx((({children:e})=>{const t={onOpen:()=>{},onClose:()=>{},protocols:["Client",Gt.settings.embedId],shouldReconnect:()=>Date.now()-c.current<18e5,reconnectAttempts:5,reconnectInterval:5e3,heartbeat:{message:"ping",interval:4e4,timeout:3e5}},[n,u]=E.useState(null),[r,o]=E.useState(void 0),l=E.useMemo((()=>{if(n)try{return JSON.parse(n.data)}catch{return{}}return null}),[n]),i=E.useRef(null),a=E.useRef((()=>{})),s=E.useRef(0),c=E.useRef(Date.now()),d=E.useRef(Date.now()),h=E.useRef([]),v=E.useRef(t);v.current=t;const g=E.useRef(null),[_,S]=E.useState(!1),y=r||(!0===_?qt.CONNECTING:qt.UNINSTANTIATED),w=E.useCallback((()=>S(!1)),[]),x=E.useCallback(((C,A=!0)=>{var F;(null==(F=i.current)?void 0:F.readyState)===qt.OPEN?i.current.send(C):A&&h.current.push(C)}),[]),k=E.useCallback(((C,A=!0)=>{x(JSON.stringify(C),A)}),[x]);return E.useEffect((()=>{if(_){let C,A=!1,F=!0;const $=async()=>{F&&(C=lg(i,"wss://pn1o5spfd5.execute-api.ap-southeast-1.amazonaws.com/dev/",g.current,(de=>{A||Ii.flushSync((()=>o(de)))}),v,(de=>{A||Ii.flushSync((()=>u(de)))}),a,s,d,c))};return a.current=()=>{A||(null==C||C(),$())},$(),()=>{A=!0,F=!1,null==C||C(),u(null)}}s.current=0,o(qt.CLOSED),i.current&&i.current.close()}),[_,x]),E.useEffect((()=>{y===qt.OPEN&&h.current.splice(0).forEach((C=>{x(C)}))}),[y]),p.jsx(X2.Provider,{value:{connect:C=>{g.current=C,S(!0)},disconnect:w,sendMessage:x,sendJsonMessage:k,lastMessage:n,lastJsonMessage:l,readyState:y},children:e})}),{children:p.jsx((({children:e})=>{const[t,n]=E.useState(!1),[u,r]=E.useState(p.jsx("div",{children:"Hello world"}));return p.jsx(zi.Provider,{value:{modalOpen:t,setModalOpen:n,modalContent:u,setModalContent:r,openModal:l=>{r(l),n(!0)}},children:e})}),{children:p.jsx((function(){const{isChatOpen:e,toggleOpenChat:t}=function(){var u;const[e,t]=E.useState(!(null==(u=null==window?void 0:window.localStorage)||!u.getItem(J0))||!1);return{isChatOpen:e,toggleOpenChat:function(r){!0===r&&window.localStorage.setItem(J0,"1"),!1===r&&window.localStorage.removeItem(J0),t(r)}}}(),{isGreetingsShow:n,toggleGreetingsShow:u}=q5(),r=function(){const[e,t]=E.useState({loaded:!1,...K1});return E.useEffect((()=>{!function(){if(!document)return!1;const u=window.ANIMUZ_EMBED_CONFIG||{},r={...K1,...Gt.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}(),o=function(){const[e,t]=E.useState("");return E.useEffect((()=>{!function(){if(!window||!Gt.settings.embedId)return;const u=`anm_${Gt.settings.embedId}_session_id`,r=window.localStorage.getItem(u);if(r)return void t(r);const o=Math.floor(Date.now()/1e3/3600),l="WB"+Sw().replaceAll("-","")+"-"+o;window.localStorage.setItem(u,l),t(l)}()}),[]),e}(),{modalOpen:l,setModalOpen:i,modalContent:a}=E.useContext(zi),s=window.self!==window.top,c="on"===r.hideBubble||s,{callPing:d,isFullScreen:h,setIsFullScreen:v}=td();if(E.useEffect((()=>{("on"===r.openOnLoad||c)&&t(!0)}),[r.loaded]),!r.loaded)return null;r.position;const g=r.windowWidth??"448px",_=r.windowHeight?r.windowHeight:r.offsetBottom?`calc(85dvh - ${r.offsetBottom})`:"85dvh",S=r.sizeOpenButton,f=parseInt(S)+24,w="bottom-left"===r.position;return p.jsxs(p.Fragment,{children:[p.jsx(bw,{}),!c&&p.jsx(f4,{settings:r,isOpen:e,toggleBot:()=>{n&&u(!1),t(!e),e||d()},offsetBottom:r.offsetBottom}),p.jsx("div",{id:"animuz-embed-chat-container","data-fullscreen":h,"data-isIframe":s,"data-is-chat-open":e,style:{"--w-width":g,"--w-height":_,"--offset-bottom":r.offsetBottom||"0px","--bottom-offset":r.offsetBottom?`calc(${f}px + ${r.offsetBottom})`:`${f}px`,display:e?"block":"none"},className:"tw-fn tw-zd tw-n tw-o tw-r tw-ae tw-im tw-f tw-gg tw-bn tw-ai tw-va tw-sa tw-h tw-u tw-w tw-k tw-b tw-e tw-g tw-c tw-ad tw-ng "+(w?"tw-ck tw-lc":"tw-pi tw-id"),onWheel:x=>x.stopPropagation(),onTouchMove:x=>x.stopPropagation(),children:p.jsx(Sg,{isChatOpen:e,closeChat:()=>t(!1),settings:r,sessionId:o,callPing:d,isFullScreen:h,isIframe:s,toggleFullScreen:()=>v(!h)})}),!c&&n&&p.jsx("div",{id:"animuz-greeting-bubbles",className:"tw-om tw-jm tw-jk tw-fn tw-ul tw-fe tw-im tw-dj tw-md anm-group/greetings",onClick:()=>{u(!1),t(!0)},children:p.jsx(Tw,{settings:r,toggleGreetingsShow:u})}),p.jsx(Dw,{isOpen:l,onClose:()=>i(!1),children:a&&a})]})}),{})})})})}));const Gt={settings:Object.assign({},(null==(vd=null==document?void 0:document.currentScript)?void 0:vd.dataset)||{}),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==(yd=null==document?void 0:document.currentScript)?void 0:yd.src),USER_STYLES:{base:"tw-dd tw-jj"},ASSISTANT_STYLES:{base:"tw-cd tw-lj"}};et.embedderSettings=Gt,Object.defineProperty(et,Symbol.toStringTag,{value:"Module"})}));
42
+ */var sd=Object.getOwnPropertySymbols,Vg=Object.prototype.hasOwnProperty,Zg=Object.prototype.propertyIsEnumerable;var Gg=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(o){return t[o]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(o){r[o]=o})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch{return!1}}()?Object.assign:function(e,t){for(var n,r,u=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),o=1;o<arguments.length;o++){for(var l in n=Object(arguments[o]))Vg.call(n,l)&&(u[l]=n[l]);if(sd){r=sd(n);for(var i=0;i<r.length;i++)Zg.call(n,r[i])&&(u[r[i]]=n[r[i]])}}return u};const Qg=ve(Gg);var Hn_BODY="bodyAttributes",Hn_HTML="htmlAttributes",Hn_TITLE="titleAttributes",z={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(z).map((function(e){return z[e]}));var t,n,u,ne_CHARSET="charset",ne_CSS_TEXT="cssText",ne_HREF="href",ne_HTTPEQUIV="http-equiv",ne_INNER_HTML="innerHTML",ne_ITEM_PROP="itemprop",ne_NAME="name",ne_PROPERTY="property",ne_REL="rel",ne_SRC="src",ne_TARGET="target",wo={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Mr_DEFAULT_TITLE="defaultTitle",Mr_DEFER="defer",Mr_ENCODE_SPECIAL_CHARACTERS="encodeSpecialCharacters",Mr_ON_CHANGE_CLIENT_STATE="onChangeClientState",Mr_TITLE_TEMPLATE="titleTemplate",Yg=Object.keys(wo).reduce((function(e,t){return e[wo[t]]=t,e}),{}),Xg=[z.NOSCRIPT,z.SCRIPT,z.STYLE],_t="data-react-helmet",Kg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ew=function(){function e(t,n){for(var u=0;u<n.length;u++){var r=n[u];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(t,n,u){return n&&e(t.prototype,n),u&&e(t,u),t}}(),Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(e[u]=n[u])}return e},cd=function(e,t){var n={};for(var u in e)t.indexOf(u)>=0||Object.prototype.hasOwnProperty.call(e,u)&&(n[u]=e[u]);return n},wa=function(t){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(t):String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},uw=function(t){var n=_u(t,z.TITLE),u=_u(t,Mr_TITLE_TEMPLATE);if(u&&n)return u.replace(/%s/g,(function(){return Array.isArray(n)?n.join(""):n}));var r=_u(t,Mr_DEFAULT_TITLE);return n||r||void 0},rw=function(t){return _u(t,Mr_ON_CHANGE_CLIENT_STATE)||function(){}},va=function(t,n){return n.filter((function(u){return typeof u[t]<"u"})).map((function(u){return u[t]})).reduce((function(u,r){return Be({},u,r)}),{})},ow=function(t,n){return n.filter((function(u){return typeof u[z.BASE]<"u"})).map((function(u){return u[z.BASE]})).reverse().reduce((function(u,r){if(!u.length)for(var o=Object.keys(r),l=0;l<o.length;l++){var a=o[l].toLowerCase();if(-1!==t.indexOf(a)&&r[a])return u.concat(r)}return u}),[])},Lr=function(t,n,u){var r={};return u.filter((function(o){return!!Array.isArray(o[t])||(typeof o[t]<"u"&&sw("Helmet: "+t+' should be of type "Array". Instead found type "'+Kg(o[t])+'"'),!1)})).map((function(o){return o[t]})).reverse().reduce((function(o,l){var i={};l.filter((function(h){for(var v=void 0,g=Object.keys(h),_=0;_<g.length;_++){var S=g[_],y=S.toLowerCase();-1!==n.indexOf(y)&&!(v===ne_REL&&"canonical"===h[v].toLowerCase())&&!(y===ne_REL&&"stylesheet"===h[y].toLowerCase())&&(v=y),-1!==n.indexOf(S)&&(S===ne_INNER_HTML||S===ne_CSS_TEXT||S===ne_ITEM_PROP)&&(v=S)}if(!v||!h[v])return!1;var f=h[v].toLowerCase();return r[v]||(r[v]={}),i[v]||(i[v]={}),!r[v][f]&&(i[v][f]=!0,!0)})).reverse().forEach((function(h){return o.push(h)}));for(var a=Object.keys(i),s=0;s<a.length;s++){var c=a[s],d=Qg({},r[c],i[c]);r[c]=d}return o}),[]).reverse()},_u=function(t,n){for(var u=t.length-1;u>=0;u--){var r=t[u];if(r.hasOwnProperty(n))return r[n]}return null},ya=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout((function(){ya(t)}),0)}}(),fd=function(t){return clearTimeout(t)},iw=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ya:global.requestAnimationFrame||ya,aw=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||fd:global.cancelAnimationFrame||fd,sw=function(t){return console&&"function"==typeof console.warn&&console.warn(t)},jr=null,dd=function(t,n){var u=t.baseTag,r=t.bodyAttributes,o=t.htmlAttributes,l=t.linkTags,i=t.metaTags,a=t.noscriptTags,s=t.onChangeClientState,c=t.scriptTags,d=t.styleTags,h=t.title,v=t.titleAttributes;xa(z.BODY,r),xa(z.HTML,o),fw(h,v);var g={baseTag:Eu(z.BASE,u),linkTags:Eu(z.LINK,l),metaTags:Eu(z.META,i),noscriptTags:Eu(z.NOSCRIPT,a),scriptTags:Eu(z.SCRIPT,c),styleTags:Eu(z.STYLE,d)},_={},S={};Object.keys(g).forEach((function(y){var f=g[y],w=f.newTags,x=f.oldTags;w.length&&(_[y]=w),x.length&&(S[y]=g[y].oldTags)})),n&&n(),s(t,_,S)},pd=function(t){return Array.isArray(t)?t.join(""):t},fw=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=pd(t)),xa(z.TITLE,n)},xa=function(t,n){var u=document.getElementsByTagName(t)[0];if(u){for(var r=u.getAttribute(_t),o=r?r.split(","):[],l=[].concat(o),i=Object.keys(n),a=0;a<i.length;a++){var s=i[a],c=n[s]||"";u.getAttribute(s)!==c&&u.setAttribute(s,c),-1===o.indexOf(s)&&o.push(s);var d=l.indexOf(s);-1!==d&&l.splice(d,1)}for(var h=l.length-1;h>=0;h--)u.removeAttribute(l[h]);o.length===l.length?u.removeAttribute(_t):u.getAttribute(_t)!==i.join(",")&&u.setAttribute(_t,i.join(","))}},Eu=function(t,n){var u=document.head||document.querySelector(z.HEAD),r=u.querySelectorAll(t+"["+_t+"]"),o=Array.prototype.slice.call(r),l=[],i=void 0;return n&&n.length&&n.forEach((function(a){var s=document.createElement(t);for(var c in a)if(a.hasOwnProperty(c))if(c===ne_INNER_HTML)s.innerHTML=a.innerHTML;else if(c===ne_CSS_TEXT)s.styleSheet?s.styleSheet.cssText=a.cssText:s.appendChild(document.createTextNode(a.cssText));else{var d=typeof a[c]>"u"?"":a[c];s.setAttribute(c,d)}s.setAttribute(_t,"true"),o.some((function(h,v){return i=v,s.isEqualNode(h)}))?o.splice(i,1):l.push(s)})),o.forEach((function(a){return a.parentNode.removeChild(a)})),l.forEach((function(a){return u.appendChild(a)})),{oldTags:o,newTags:l}},hd=function(t){return Object.keys(t).reduce((function(n,u){var r=typeof t[u]<"u"?u+'="'+t[u]+'"':""+u;return n?n+" "+r:r}),"")},md=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(u,r){return u[wo[r]||r]=t[r],u}),n)},Wt=function(t,n,u){switch(t){case z.TITLE:return{toComponent:function(){return function(t,n,u){var r,o=((r={key:n})[_t]=!0,r),l=md(u,o);return[m.createElement(z.TITLE,l,n)]}(0,n.title,n.titleAttributes)},toString:function(){return function(t,n,u,r){var o=hd(u),l=pd(n);return o?"<"+t+" "+_t+'="true" '+o+">"+wa(l,r)+"</"+t+">":"<"+t+" "+_t+'="true">'+wa(l,r)+"</"+t+">"}(t,n.title,n.titleAttributes,u)}};case Hn_BODY:case Hn_HTML:return{toComponent:function(){return md(n)},toString:function(){return hd(n)}};default:return{toComponent:function(){return function(t,n){return n.map((function(u,r){var o,l=((o={key:r})[_t]=!0,o);return Object.keys(u).forEach((function(i){var a=wo[i]||i;if(a===ne_INNER_HTML||a===ne_CSS_TEXT){var s=u.innerHTML||u.cssText;l.dangerouslySetInnerHTML={__html:s}}else l[a]=u[i]})),m.createElement(t,l)}))}(t,n)},toString:function(){return function(t,n,u){return n.reduce((function(r,o){var l=Object.keys(o).filter((function(s){return!(s===ne_INNER_HTML||s===ne_CSS_TEXT)})).reduce((function(s,c){var d=typeof o[c]>"u"?c:c+'="'+wa(o[c],u)+'"';return s?s+" "+d:d}),""),i=o.innerHTML||o.cssText||"",a=-1===Xg.indexOf(t);return r+"<"+t+" "+_t+'="true" '+l+(a?"/>":">"+i+"</"+t+">")}),"")}(t,n,u)}}}},gd=function(t){var n=t.baseTag,u=t.bodyAttributes,r=t.encode,o=t.htmlAttributes,l=t.linkTags,i=t.metaTags,a=t.noscriptTags,s=t.scriptTags,c=t.styleTags,d=t.title,h=void 0===d?"":d,v=t.titleAttributes;return{base:Wt(z.BASE,n,r),bodyAttributes:Wt(Hn_BODY,u,r),htmlAttributes:Wt(Hn_HTML,o,r),link:Wt(z.LINK,l,r),meta:Wt(z.META,i,r),noscript:Wt(z.NOSCRIPT,a,r),script:Wt(z.SCRIPT,s,r),style:Wt(z.STYLE,c,r),title:Wt(z.TITLE,{title:h,titleAttributes:v},r)}},yw=Rg((function(t){return{baseTag:ow([ne_HREF,ne_TARGET],t),bodyAttributes:va(Hn_BODY,t),defer:_u(t,Mr_DEFER),encode:_u(t,Mr_ENCODE_SPECIAL_CHARACTERS),htmlAttributes:va(Hn_HTML,t),linkTags:Lr(z.LINK,[ne_REL,ne_HREF],t),metaTags:Lr(z.META,[ne_NAME,ne_CHARSET,ne_HTTPEQUIV,ne_PROPERTY,ne_ITEM_PROP],t),noscriptTags:Lr(z.NOSCRIPT,[ne_INNER_HTML],t),onChangeClientState:rw(t),scriptTags:Lr(z.SCRIPT,[ne_SRC,ne_INNER_HTML],t),styleTags:Lr(z.STYLE,[ne_CSS_TEXT],t),title:uw(t),titleAttributes:va(Hn_TITLE,t)}}),(function(t){jr&&aw(jr),t.defer?jr=iw((function(){dd(t,(function(){jr=null}))})):(dd(t),jr=null)}),gd)((function(){return null})),ba=(t=yw,u=n=function(r){function o(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,r.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,r),o.prototype.shouldComponentUpdate=function(i){return!Ug(this.props,i)},o.prototype.mapNestedChildrenToProps=function(i,a){if(!a)return null;switch(i.type){case z.SCRIPT:case z.NOSCRIPT:return{innerHTML:a};case z.STYLE:return{cssText:a}}throw new Error("<"+i.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},o.prototype.flattenArrayTypeChildren=function(i){var a,s=i.child,c=i.arrayTypeChildren,d=i.newChildProps,h=i.nestedChildren;return Be({},c,((a={})[s.type]=[].concat(c[s.type]||[],[Be({},d,this.mapNestedChildrenToProps(s,h))]),a))},o.prototype.mapObjectTypeChildren=function(i){var a,s,c=i.child,d=i.newProps,h=i.newChildProps,v=i.nestedChildren;switch(c.type){case z.TITLE:return Be({},d,((a={})[c.type]=v,a.titleAttributes=Be({},h),a));case z.BODY:return Be({},d,{bodyAttributes:Be({},h)});case z.HTML:return Be({},d,{htmlAttributes:Be({},h)})}return Be({},d,((s={})[c.type]=Be({},h),s))},o.prototype.mapArrayTypeChildrenToProps=function(i,a){var s=Be({},a);return Object.keys(i).forEach((function(c){var d;s=Be({},s,((d={})[c]=i[c],d))})),s},o.prototype.warnOnInvalidChildren=function(i,a){return!0},o.prototype.mapChildrenToProps=function(i,a){var s=this,c={};return m.Children.forEach(i,(function(d){if(d&&d.props){var h=d.props,v=h.children,_=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(u,r){return u[Yg[r]||r]=t[r],u}),n)}(cd(h,["children"]));switch(s.warnOnInvalidChildren(d,v),d.type){case z.LINK:case z.META:case z.NOSCRIPT:case z.SCRIPT:case z.STYLE:c=s.flattenArrayTypeChildren({child:d,arrayTypeChildren:c,newChildProps:_,nestedChildren:v});break;default:a=s.mapObjectTypeChildren({child:d,newProps:a,newChildProps:_,nestedChildren:v})}}})),a=this.mapArrayTypeChildrenToProps(c,a)},o.prototype.render=function(){var i=this.props,a=i.children,s=cd(i,["children"]),c=Be({},s);return a&&(c=this.mapChildrenToProps(a,c)),m.createElement(t,c)},ew(o,null,[{key:"canUseDOM",set:function(i){t.canUseDOM=i}}]),o}(m.Component),n.propTypes={base:te.object,bodyAttributes:te.object,children:te.oneOfType([te.arrayOf(te.node),te.node]),defaultTitle:te.string,defer:te.bool,encodeSpecialCharacters:te.bool,htmlAttributes:te.object,link:te.arrayOf(te.object),meta:te.arrayOf(te.object),noscript:te.arrayOf(te.object),onChangeClientState:te.func,script:te.arrayOf(te.object),style:te.arrayOf(te.object),title:te.string,titleAttributes:te.object,titleTemplate:te.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var r=t.rewind();return r||(r=gd({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),r},u);function xw(){return p.jsxs(ba,{children:[p.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"}),p.jsx("link",{rel:"stylesheet",href:Gt.stylesSrc})]})}ba.renderStatic=ba.rewind;for(var _e=[],_a=0;_a<256;++_a)_e.push((_a+256).toString(16).slice(1));var vo,_w=new Uint8Array(16);function Ew(){if(!vo&&!(vo=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 vo(_w)}const wd={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Cw(e,t,n){if(wd.randomUUID&&!t&&!e)return wd.randomUUID();var u=(e=e||{}).random||(e.rng||Ew)();return u[6]=15&u[6]|64,u[8]=63&u[8]|128,function(e,t=0){return(_e[e[t+0]]+_e[e[t+1]]+_e[e[t+2]]+_e[e[t+3]]+"-"+_e[e[t+4]]+_e[e[t+5]]+"-"+_e[e[t+6]]+_e[e[t+7]]+"-"+_e[e[t+8]]+_e[e[t+9]]+"-"+_e[e[t+10]]+_e[e[t+11]]+_e[e[t+12]]+_e[e[t+13]]+_e[e[t+14]]+_e[e[t+15]]).toLowerCase()}(u)}function Aw({settings:e,toggleGreetingsShow:t}){const[n,u]=E.useState([]);return E.useEffect((()=>{const r=e.greetings?JSON.parse(e.greetings):[];u(r),t(!0)}),[e]),p.jsxs(p.Fragment,{children:[p.jsx("button",{className:"tw-dk tw-ug tw-md tw-rn tw-rl tw-wi tw-ao tw-mj tw-m tw-od tw-vf tw-im tw-vm tw-fg tw-dm tw-kd tw-ki tw-um",onClick:r=>{r.stopPropagation(),t(!1)},children:"✕"}),n.map(((r,o)=>p.jsx("div",{style:{animationFillMode:"forwards",animationDelay:.6+.3*o+"s"},className:"tw-ao tw-zg tw-ek tw-tj tw-km tw-kb tw-nf tw-gi tw-lq tw-fq tw-dm tw-mj tw-xl tw-d tw-yi",children:r},o)))]})}const Tw=({isOpen:e,onClose:t,children:n})=>e?p.jsx("div",{className:"tw-fn tw-ao tw-ml tw-od tw-vf tw-bn tw-nm tw-pg tw-im",onClick:t,children:p.jsxs("div",{className:"tw-tk tw-ek tw-eh tw-bn tw-qk tw-sj tw-ia",onClick:u=>u.stopPropagation(),children:[p.jsx("button",{className:"tw-dk tw-sn tw-sl tw-zk tw-jd tw-ug tw-md tw-af tw-jb tw-wn",onClick:t,children:"×"}),n]})}):null;const yo=document.createElement("div");yo.id="animuz-chat-widget",yo.setAttribute("style","visibility:hidden;opacity:0;"),document.body.appendChild(yo),Fo.createRoot(yo).render(p.jsx(m.StrictMode,{children:p.jsx((function({children:e}){const[t,n]=E.useState(!1),u=function(e,t){const n=E.useRef(Date.now());return function(){Date.now()-n.current>=t&&(e(),n.current=Date.now())}}((()=>{Ui_ping()}),1e4),[r,o]=E.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,i]=E.useState("");return E.useEffect((()=>{function a(s){if(s.data&&"intentResponse"===s.data.type){if(!s.data.intent||!s.data.response)return void console.warn("Received intentResponse without intent or response");o((c=>(console.log("Updating intentResponse",{...c,[s.data.intent]:s.data.response}),{...c,[s.data.intent]:s.data.response})))}else if(s.data&&"promptInject"===s.data.type){if(!s.data.context)return void console.warn("Received promptInject without context");i(s.data.context)}}return window.addEventListener("message",a),()=>window.removeEventListener("message",a)}),[]),p.jsx(ed.Provider,{value:{isFullScreen:t,setIsFullScreen:n,intentResponse:r,setIntentResponse:o,promptInject:l,setPromptInject:i,callPing:u},children:e})}),{children:p.jsx((({children:e})=>{const t={onOpen:()=>{},onClose:()=>{},protocols:["Client",Gt.settings.embedId],shouldReconnect:()=>Date.now()-c.current<18e5,reconnectAttempts:5,reconnectInterval:5e3,heartbeat:{message:"ping",interval:4e4,timeout:3e5}},[n,u]=E.useState(null),[r,o]=E.useState(void 0),l=E.useMemo((()=>{if(n)try{return JSON.parse(n.data)}catch{return{}}return null}),[n]),i=E.useRef(null),a=E.useRef((()=>{})),s=E.useRef(0),c=E.useRef(Date.now()),d=E.useRef(Date.now()),h=E.useRef([]),v=E.useRef(t);v.current=t;const g=E.useRef(null),[_,S]=E.useState(!1),y=r||(!0===_?qt.CONNECTING:qt.UNINSTANTIATED),w=E.useCallback((()=>S(!1)),[]),x=E.useCallback(((C,A=!0)=>{var F;(null==(F=i.current)?void 0:F.readyState)===qt.OPEN?i.current.send(C):A&&h.current.push(C)}),[]),k=E.useCallback(((C,A=!0)=>{x(JSON.stringify(C),A)}),[x]);return E.useEffect((()=>{if(_){let C,A=!1,F=!0;const $=async()=>{F&&(C=lg(i,"wss://pn1o5spfd5.execute-api.ap-southeast-1.amazonaws.com/dev/",g.current,(de=>{A||Ii.flushSync((()=>o(de)))}),v,(de=>{A||Ii.flushSync((()=>u(de)))}),a,s,d,c))};return a.current=()=>{A||(null==C||C(),$())},$(),()=>{A=!0,F=!1,null==C||C(),u(null)}}s.current=0,o(qt.CLOSED),i.current&&i.current.close()}),[_,x]),E.useEffect((()=>{y===qt.OPEN&&h.current.splice(0).forEach((C=>{x(C)}))}),[y]),p.jsx(X2.Provider,{value:{connect:C=>{g.current=C,S(!0)},disconnect:w,sendMessage:x,sendJsonMessage:k,lastMessage:n,lastJsonMessage:l,readyState:y},children:e})}),{children:p.jsx((({children:e})=>{const[t,n]=E.useState(!1),[u,r]=E.useState(p.jsx("div",{children:"Hello world"}));return p.jsx(zi.Provider,{value:{modalOpen:t,setModalOpen:n,modalContent:u,setModalContent:r,openModal:l=>{r(l),n(!0)}},children:e})}),{children:p.jsx((function(){const{isChatOpen:e,toggleOpenChat:t}=function(){var u;const[e,t]=E.useState(!(null==(u=null==window?void 0:window.localStorage)||!u.getItem(J0))||!1);return{isChatOpen:e,toggleOpenChat:function(r){!0===r&&window.localStorage.setItem(J0,"1"),!1===r&&window.localStorage.removeItem(J0),t(r)}}}(),{isGreetingsShow:n,toggleGreetingsShow:u}=q5(),r=function(){const[e,t]=E.useState({loaded:!1,...K1});return E.useEffect((()=>{!function(){if(!document)return!1;const u=window.ANIMUZ_EMBED_CONFIG||{},r={...K1,...Gt.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}(),o=function(){const[e,t]=E.useState("");return E.useEffect((()=>{!function(){if(!window||!Gt.settings.embedId)return;const u=`anm_${Gt.settings.embedId}_session_id`,r=window.localStorage.getItem(u);if(r)return void t(r);const o=Math.floor(Date.now()/1e3/3600),l="WB"+Cw().replaceAll("-","")+"-"+o;window.localStorage.setItem(u,l),t(l)}()}),[]),e}(),{modalOpen:l,setModalOpen:i,modalContent:a}=E.useContext(zi),s=window.self!==window.top,c="on"===r.hideBubble||s,{callPing:d,isFullScreen:h,setIsFullScreen:v}=td();if(E.useEffect((()=>{("on"===r.openOnLoad||c)&&t(!0)}),[r.loaded]),!r.loaded)return null;r.position;const g=r.windowWidth??"448px",_=r.windowHeight?r.windowHeight:r.offsetBottom?`calc(85dvh - ${r.offsetBottom})`:"85dvh",S=r.sizeOpenButton,f=parseInt(S)+24,w="bottom-left"===r.position;return p.jsxs(p.Fragment,{children:[p.jsx(xw,{}),!c&&p.jsx(f4,{settings:r,isOpen:e,toggleBot:()=>{n&&u(!1),t(!e),e||d()},offsetBottom:r.offsetBottom}),p.jsx("div",{id:"animuz-embed-chat-container","data-fullscreen":h,"data-isIframe":s,"data-is-chat-open":e,style:{"--w-width":g,"--w-height":_,"--offset-bottom":r.offsetBottom||"0px","--bottom-offset":r.offsetBottom?`calc(${f}px + ${r.offsetBottom})`:`${f}px`,display:e?"block":"none"},className:"tw-fn tw-zd tw-n tw-o tw-r tw-ae tw-im tw-f tw-gg tw-bn tw-ai tw-va tw-sa tw-h tw-u tw-w tw-k tw-b tw-e tw-g tw-c tw-ad tw-ng "+(w?"tw-ck tw-lc":"tw-pi tw-id"),onWheel:x=>x.stopPropagation(),onTouchMove:x=>x.stopPropagation(),children:p.jsx(Cg,{isChatOpen:e,closeChat:()=>t(!1),settings:r,sessionId:o,callPing:d,isFullScreen:h,isIframe:s,toggleFullScreen:()=>v(!h)})}),!c&&n&&p.jsx("div",{id:"animuz-greeting-bubbles",className:"tw-om tw-jm tw-jk tw-fn tw-ul tw-fe tw-im tw-dj tw-md anm-group/greetings",onClick:()=>{u(!1),t(!0)},children:p.jsx(Aw,{settings:r,toggleGreetingsShow:u})}),p.jsx(Tw,{isOpen:l,onClose:()=>i(!1),children:a&&a})]})}),{})})})})}));const Gt={settings:Object.assign({},(null==(vd=null==document?void 0:document.currentScript)?void 0:vd.dataset)||{}),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==(yd=null==document?void 0:document.currentScript)?void 0:yd.src),USER_STYLES:{base:"tw-dd tw-jj"},ASSISTANT_STYLES:{base:"tw-cd tw-lj"}};et.embedderSettings=Gt,Object.defineProperty(et,Symbol.toStringTag,{value:"Module"})}));