@animuz/embed 0.2.2-rc3 → 0.2.2-rc4

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(rt,ye){"object"==typeof exports&&typeof module<"u"?ye(exports):"function"==typeof define&&define.amd?define(["exports"],ye):ye((rt=typeof globalThis<"u"?globalThis:rt||self).EmbeddedAnimuz={})}(this,(function(rt){"use strict";var d2,p2,fw=Object.defineProperty,R2=(rt,ye,kn)=>((rt,ye,kn)=>ye in rt?fw(rt,ye,{enumerable:!0,configurable:!0,writable:!0,value:kn}):rt[ye]=kn)(rt,"symbol"!=typeof ye?ye+"":ye,kn);function ye(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kn={exports:{}},Rr={},Ta={exports:{}},B={},Fu=Symbol.for("react.element"),z2=Symbol.for("react.portal"),H2=Symbol.for("react.fragment"),$2=Symbol.for("react.strict_mode"),B2=Symbol.for("react.profiler"),U2=Symbol.for("react.provider"),V2=Symbol.for("react.context"),Z2=Symbol.for("react.forward_ref"),q2=Symbol.for("react.suspense"),W2=Symbol.for("react.memo"),G2=Symbol.for("react.lazy"),Da=Symbol.iterator;
1
+ !function(rt,ye){"object"==typeof exports&&typeof module<"u"?ye(exports):"function"==typeof define&&define.amd?define(["exports"],ye):ye((rt=typeof globalThis<"u"?globalThis:rt||self).EmbeddedAnimuz={})}(this,(function(rt){"use strict";var fd,dd,fw=Object.defineProperty,Id=(rt,ye,kn)=>((rt,ye,kn)=>ye in rt?fw(rt,ye,{enumerable:!0,configurable:!0,writable:!0,value:kn}):rt[ye]=kn)(rt,"symbol"!=typeof ye?ye+"":ye,kn);function ye(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kn={exports:{}},Rr={},Ta={exports:{}},B={},Fu=Symbol.for("react.element"),Rd=Symbol.for("react.portal"),zd=Symbol.for("react.fragment"),Hd=Symbol.for("react.strict_mode"),$d=Symbol.for("react.profiler"),Bd=Symbol.for("react.provider"),Ud=Symbol.for("react.context"),Zd=Symbol.for("react.forward_ref"),Vd=Symbol.for("react.suspense"),qd=Symbol.for("react.memo"),Wd=Symbol.for("react.lazy"),Da=Symbol.iterator;
2
2
  /**
3
3
  * @license React
4
4
  * react.production.min.js
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var Fa={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Na=Object.assign,Ma={};function Bn(e,t,n){this.props=e,this.context=t,this.refs=Ma,this.updater=n||Fa}function La(){}function ko(e,t,n){this.props=e,this.context=t,this.refs=Ma,this.updater=n||Fa}Bn.prototype.isReactComponent={},Bn.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},Bn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},La.prototype=Bn.prototype;var Co=ko.prototype=new La;Co.constructor=ko,Na(Co,Bn.prototype),Co.isPureReactComponent=!0;var Oa=Array.isArray,ja=Object.prototype.hasOwnProperty,So={current:null},Pa={key:!0,ref:!0,__self:!0,__source:!0};function Ia(e,t,n){var u,r={},o=null,l=null;if(null!=t)for(u in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(o=""+t.key),t)ja.call(t,u)&&!Pa.hasOwnProperty(u)&&(r[u]=t[u]);var i=arguments.length-2;if(1===i)r.children=n;else if(1<i){for(var a=Array(i),s=0;s<i;s++)a[s]=arguments[s+2];r.children=a}if(e&&e.defaultProps)for(u in i=e.defaultProps)void 0===r[u]&&(r[u]=i[u]);return{$$typeof:Fu,type:e,key:o,ref:l,props:r,_owner:So.current}}function Ao(e){return"object"==typeof e&&null!==e&&e.$$typeof===Fu}var Ra=/\/+/g;function To(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(n){return t[n]}))}(""+e.key):t.toString(36)}function zr(e,t,n,u,r){var o=typeof e;("undefined"===o||"boolean"===o)&&(e=null);var l=!1;if(null===e)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Fu:case z2:l=!0}}if(l)return r=r(l=e),e=""===u?"."+To(l,0):u,Oa(r)?(n="",null!=e&&(n=e.replace(Ra,"$&/")+"/"),zr(r,t,n,"",(function(s){return s}))):null!=r&&(Ao(r)&&(r=function(e,t){return{$$typeof:Fu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(r,n+(!r.key||l&&l.key===r.key?"":(""+r.key).replace(Ra,"$&/")+"/")+e)),t.push(r)),1;if(l=0,u=""===u?".":u+":",Oa(e))for(var i=0;i<e.length;i++){var a=u+To(o=e[i],i);l+=zr(o,t,n,a,r)}else if(a=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Da&&e[Da]||e["@@iterator"])?e:null}(e),"function"==typeof a)for(e=a.call(e),i=0;!(o=e.next()).done;)l+=zr(o=o.value,t,n,a=u+To(o,i++),r);else if("object"===o)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function Hr(e,t,n){if(null==e)return e;var u=[],r=0;return zr(e,u,"","",(function(o){return t.call(n,o,r++)})),u}function K2(e){if(-1===e._status){var t=e._result;(t=t()).then((function(n){(0===e._status||-1===e._status)&&(e._status=1,e._result=n)}),(function(n){(0===e._status||-1===e._status)&&(e._status=2,e._result=n)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var Me={current:null},$r={transition:null},J2={ReactCurrentDispatcher:Me,ReactCurrentBatchConfig:$r,ReactCurrentOwner:So};function za(){throw Error("act(...) is not supported in production builds of React.")}B.Children={map:Hr,forEach:function(e,t,n){Hr(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Hr(e,(function(){t++})),t},toArray:function(e){return Hr(e,(function(t){return t}))||[]},only:function(e){if(!Ao(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},B.Component=Bn,B.Fragment=H2,B.Profiler=B2,B.PureComponent=ko,B.StrictMode=$2,B.Suspense=q2,B.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J2,B.act=za,B.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var u=Na({},e.props),r=e.key,o=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,l=So.current),void 0!==t.key&&(r=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(a in t)ja.call(t,a)&&!Pa.hasOwnProperty(a)&&(u[a]=void 0===t[a]&&void 0!==i?i[a]:t[a])}var a=arguments.length-2;if(1===a)u.children=n;else if(1<a){i=Array(a);for(var s=0;s<a;s++)i[s]=arguments[s+2];u.children=i}return{$$typeof:Fu,type:e.type,key:r,ref:o,props:u,_owner:l}},B.createContext=function(e){return(e={$$typeof:V2,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:U2,_context:e},e.Consumer=e},B.createElement=Ia,B.createFactory=function(e){var t=Ia.bind(null,e);return t.type=e,t},B.createRef=function(){return{current:null}},B.forwardRef=function(e){return{$$typeof:Z2,render:e}},B.isValidElement=Ao,B.lazy=function(e){return{$$typeof:G2,_payload:{_status:-1,_result:e},_init:K2}},B.memo=function(e,t){return{$$typeof:W2,type:e,compare:void 0===t?null:t}},B.startTransition=function(e){var t=$r.transition;$r.transition={};try{e()}finally{$r.transition=t}},B.unstable_act=za,B.useCallback=function(e,t){return Me.current.useCallback(e,t)},B.useContext=function(e){return Me.current.useContext(e)},B.useDebugValue=function(){},B.useDeferredValue=function(e){return Me.current.useDeferredValue(e)},B.useEffect=function(e,t){return Me.current.useEffect(e,t)},B.useId=function(){return Me.current.useId()},B.useImperativeHandle=function(e,t,n){return Me.current.useImperativeHandle(e,t,n)},B.useInsertionEffect=function(e,t){return Me.current.useInsertionEffect(e,t)},B.useLayoutEffect=function(e,t){return Me.current.useLayoutEffect(e,t)},B.useMemo=function(e,t){return Me.current.useMemo(e,t)},B.useReducer=function(e,t,n){return Me.current.useReducer(e,t,n)},B.useRef=function(e){return Me.current.useRef(e)},B.useState=function(e){return Me.current.useState(e)},B.useSyncExternalStore=function(e,t,n){return Me.current.useSyncExternalStore(e,t,n)},B.useTransition=function(){return Me.current.useTransition()},B.version="18.3.1",Ta.exports=B;var k=Ta.exports;const w=ye(k);
10
+ */var Fa={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Na=Object.assign,Ma={};function Bn(e,t,n){this.props=e,this.context=t,this.refs=Ma,this.updater=n||Fa}function La(){}function ko(e,t,n){this.props=e,this.context=t,this.refs=Ma,this.updater=n||Fa}Bn.prototype.isReactComponent={},Bn.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},Bn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},La.prototype=Bn.prototype;var Co=ko.prototype=new La;Co.constructor=ko,Na(Co,Bn.prototype),Co.isPureReactComponent=!0;var Oa=Array.isArray,ja=Object.prototype.hasOwnProperty,So={current:null},Pa={key:!0,ref:!0,__self:!0,__source:!0};function Ia(e,t,n){var u,r={},o=null,l=null;if(null!=t)for(u in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(o=""+t.key),t)ja.call(t,u)&&!Pa.hasOwnProperty(u)&&(r[u]=t[u]);var i=arguments.length-2;if(1===i)r.children=n;else if(1<i){for(var a=Array(i),s=0;s<i;s++)a[s]=arguments[s+2];r.children=a}if(e&&e.defaultProps)for(u in i=e.defaultProps)void 0===r[u]&&(r[u]=i[u]);return{$$typeof:Fu,type:e,key:o,ref:l,props:r,_owner:So.current}}function Ao(e){return"object"==typeof e&&null!==e&&e.$$typeof===Fu}var Ra=/\/+/g;function To(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(n){return t[n]}))}(""+e.key):t.toString(36)}function zr(e,t,n,u,r){var o=typeof e;("undefined"===o||"boolean"===o)&&(e=null);var l=!1;if(null===e)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Fu:case Rd:l=!0}}if(l)return r=r(l=e),e=""===u?"."+To(l,0):u,Oa(r)?(n="",null!=e&&(n=e.replace(Ra,"$&/")+"/"),zr(r,t,n,"",(function(s){return s}))):null!=r&&(Ao(r)&&(r=function(e,t){return{$$typeof:Fu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(r,n+(!r.key||l&&l.key===r.key?"":(""+r.key).replace(Ra,"$&/")+"/")+e)),t.push(r)),1;if(l=0,u=""===u?".":u+":",Oa(e))for(var i=0;i<e.length;i++){var a=u+To(o=e[i],i);l+=zr(o,t,n,a,r)}else if(a=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Da&&e[Da]||e["@@iterator"])?e:null}(e),"function"==typeof a)for(e=a.call(e),i=0;!(o=e.next()).done;)l+=zr(o=o.value,t,n,a=u+To(o,i++),r);else if("object"===o)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function Hr(e,t,n){if(null==e)return e;var u=[],r=0;return zr(e,u,"","",(function(o){return t.call(n,o,r++)})),u}function Xd(e){if(-1===e._status){var t=e._result;(t=t()).then((function(n){(0===e._status||-1===e._status)&&(e._status=1,e._result=n)}),(function(n){(0===e._status||-1===e._status)&&(e._status=2,e._result=n)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var Me={current:null},$r={transition:null},Kd={ReactCurrentDispatcher:Me,ReactCurrentBatchConfig:$r,ReactCurrentOwner:So};function za(){throw Error("act(...) is not supported in production builds of React.")}B.Children={map:Hr,forEach:function(e,t,n){Hr(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Hr(e,(function(){t++})),t},toArray:function(e){return Hr(e,(function(t){return t}))||[]},only:function(e){if(!Ao(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},B.Component=Bn,B.Fragment=zd,B.Profiler=$d,B.PureComponent=ko,B.StrictMode=Hd,B.Suspense=Vd,B.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Kd,B.act=za,B.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var u=Na({},e.props),r=e.key,o=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,l=So.current),void 0!==t.key&&(r=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(a in t)ja.call(t,a)&&!Pa.hasOwnProperty(a)&&(u[a]=void 0===t[a]&&void 0!==i?i[a]:t[a])}var a=arguments.length-2;if(1===a)u.children=n;else if(1<a){i=Array(a);for(var s=0;s<a;s++)i[s]=arguments[s+2];u.children=i}return{$$typeof:Fu,type:e.type,key:r,ref:o,props:u,_owner:l}},B.createContext=function(e){return(e={$$typeof:Ud,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:Bd,_context:e},e.Consumer=e},B.createElement=Ia,B.createFactory=function(e){var t=Ia.bind(null,e);return t.type=e,t},B.createRef=function(){return{current:null}},B.forwardRef=function(e){return{$$typeof:Zd,render:e}},B.isValidElement=Ao,B.lazy=function(e){return{$$typeof:Wd,_payload:{_status:-1,_result:e},_init:Xd}},B.memo=function(e,t){return{$$typeof:qd,type:e,compare:void 0===t?null:t}},B.startTransition=function(e){var t=$r.transition;$r.transition={};try{e()}finally{$r.transition=t}},B.unstable_act=za,B.useCallback=function(e,t){return Me.current.useCallback(e,t)},B.useContext=function(e){return Me.current.useContext(e)},B.useDebugValue=function(){},B.useDeferredValue=function(e){return Me.current.useDeferredValue(e)},B.useEffect=function(e,t){return Me.current.useEffect(e,t)},B.useId=function(){return Me.current.useId()},B.useImperativeHandle=function(e,t,n){return Me.current.useImperativeHandle(e,t,n)},B.useInsertionEffect=function(e,t){return Me.current.useInsertionEffect(e,t)},B.useLayoutEffect=function(e,t){return Me.current.useLayoutEffect(e,t)},B.useMemo=function(e,t){return Me.current.useMemo(e,t)},B.useReducer=function(e,t,n){return Me.current.useReducer(e,t,n)},B.useRef=function(e){return Me.current.useRef(e)},B.useState=function(e){return Me.current.useState(e)},B.useSyncExternalStore=function(e,t,n){return Me.current.useSyncExternalStore(e,t,n)},B.useTransition=function(){return Me.current.useTransition()},B.version="18.3.1",Ta.exports=B;var k=Ta.exports;const w=ye(k);
11
11
  /**
12
12
  * @license React
13
13
  * react-jsx-runtime.production.min.js
@@ -16,7 +16,7 @@
16
16
  *
17
17
  * This source code is licensed under the MIT license found in the
18
18
  * LICENSE file in the root directory of this source tree.
19
- */var ep=k,tp=Symbol.for("react.element"),np=Symbol.for("react.fragment"),up=Object.prototype.hasOwnProperty,rp=ep.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,op={key:!0,ref:!0,__self:!0,__source:!0};function Ha(e,t,n){var u,r={},o=null,l=null;for(u in void 0!==n&&(o=""+n),void 0!==t.key&&(o=""+t.key),void 0!==t.ref&&(l=t.ref),t)up.call(t,u)&&!op.hasOwnProperty(u)&&(r[u]=t[u]);if(e&&e.defaultProps)for(u in t=e.defaultProps)void 0===r[u]&&(r[u]=t[u]);return{$$typeof:tp,type:e,key:o,ref:l,props:r,_owner:rp.current}}Rr.Fragment=np,Rr.jsx=Ha,Rr.jsxs=Ha,kn.exports=Rr;var y=kn.exports,Do={},$a={exports:{}},Qe={},Ba={exports:{}},Ua={};
19
+ */var Jd=k,ep=Symbol.for("react.element"),tp=Symbol.for("react.fragment"),np=Object.prototype.hasOwnProperty,up=Jd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,rp={key:!0,ref:!0,__self:!0,__source:!0};function Ha(e,t,n){var u,r={},o=null,l=null;for(u in void 0!==n&&(o=""+n),void 0!==t.key&&(o=""+t.key),void 0!==t.ref&&(l=t.ref),t)np.call(t,u)&&!rp.hasOwnProperty(u)&&(r[u]=t[u]);if(e&&e.defaultProps)for(u in t=e.defaultProps)void 0===r[u]&&(r[u]=t[u]);return{$$typeof:ep,type:e,key:o,ref:l,props:r,_owner:up.current}}Rr.Fragment=tp,Rr.jsx=Ha,Rr.jsxs=Ha,kn.exports=Rr;var y=kn.exports,Do={},$a={exports:{}},Qe={},Ba={exports:{}},Ua={};
20
20
  /**
21
21
  * @license React
22
22
  * scheduler.production.min.js
@@ -25,7 +25,7 @@
25
25
  *
26
26
  * This source code is licensed under the MIT license found in the
27
27
  * LICENSE file in the root directory of this source tree.
28
- */(function(e){function t(N,I){var z=N.length;N.push(I);e:for(;0<z;){var $=z-1>>>1,ae=N[$];if(!(0<r(ae,I)))break e;N[$]=I,N[z]=ae,z=$}}function n(N){return 0===N.length?null:N[0]}function u(N){if(0===N.length)return null;var I=N[0],z=N.pop();if(z!==I){N[0]=z;e:for(var $=0,ae=N.length,J=ae>>>1;$<J;){var Ot=2*($+1)-1,ee=N[Ot],ut=Ot+1,En=N[ut];if(0>r(ee,z))ut<ae&&0>r(En,ee)?(N[$]=En,N[ut]=z,$=ut):(N[$]=ee,N[Ot]=z,$=Ot);else{if(!(ut<ae&&0>r(En,z)))break e;N[$]=En,N[ut]=z,$=ut}}}return I}function r(N,I){var z=N.sortIndex-I.sortIndex;return 0!==z?z:N.id-I.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,i=l.now();e.unstable_now=function(){return l.now()-i}}var a=[],s=[],c=1,f=null,h=3,v=!1,p=!1,b=!1,S="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;function m(N){for(var I=n(s);null!==I;){if(null===I.callback)u(s);else{if(!(I.startTime<=N))break;u(s),I.sortIndex=I.expirationTime,t(a,I)}I=n(s)}}function _(N){if(b=!1,m(N),!p)if(null!==n(a))p=!0,Fe(C);else{var I=n(s);null!==I&&ie(_,I.startTime-N)}}function C(N,I){p=!1,b&&(b=!1,g(A),A=-1),v=!0;var z=h;try{for(m(I),f=n(a);null!==f&&(!(f.expirationTime>I)||N&&!H());){var $=f.callback;if("function"==typeof $){f.callback=null,h=f.priorityLevel;var ae=$(f.expirationTime<=I);I=e.unstable_now(),"function"==typeof ae?f.callback=ae:f===n(a)&&u(a),m(I)}else u(a);f=n(a)}if(null!==f)var J=!0;else{var Ot=n(s);null!==Ot&&ie(_,Ot.startTime-I),J=!1}return J}finally{f=null,h=z,v=!1}}typeof navigator<"u"&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var ke,E=!1,D=null,A=-1,j=5,L=-1;function H(){return!(e.unstable_now()-L<j)}function Q(){if(null!==D){var N=e.unstable_now();L=N;var I=!0;try{I=D(!0,N)}finally{I?ke():(E=!1,D=null)}}else E=!1}if("function"==typeof d)ke=function(){d(Q)};else if(typeof MessageChannel<"u"){var Re=new MessageChannel,We=Re.port2;Re.port1.onmessage=Q,ke=function(){We.postMessage(null)}}else ke=function(){S(Q,0)};function Fe(N){D=N,E||(E=!0,ke())}function ie(N,I){A=S((function(){N(e.unstable_now())}),I)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(N){N.callback=null},e.unstable_continueExecution=function(){p||v||(p=!0,Fe(C))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(N){switch(h){case 1:case 2:case 3:var I=3;break;default:I=h}var z=h;h=I;try{return N()}finally{h=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,I){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var z=h;h=N;try{return I()}finally{h=z}},e.unstable_scheduleCallback=function(N,I,z){var $=e.unstable_now();switch("object"==typeof z&&null!==z?z="number"==typeof(z=z.delay)&&0<z?$+z:$:z=$,N){case 1:var ae=-1;break;case 2:ae=250;break;case 5:ae=1073741823;break;case 4:ae=1e4;break;default:ae=5e3}return N={id:c++,callback:I,priorityLevel:N,startTime:z,expirationTime:ae=z+ae,sortIndex:-1},z>$?(N.sortIndex=z,t(s,N),null===n(a)&&N===n(s)&&(b?(g(A),A=-1):b=!0,ie(_,z-$))):(N.sortIndex=ae,t(a,N),p||v||(p=!0,Fe(C))),N},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(N){var I=h;return function(){var z=h;h=I;try{return N.apply(this,arguments)}finally{h=z}}}})(Ua),Ba.exports=Ua;var lp=Ba.exports,ip=k,Ye=lp;
28
+ */(function(e){function t(N,I){var z=N.length;N.push(I);e:for(;0<z;){var $=z-1>>>1,ae=N[$];if(!(0<r(ae,I)))break e;N[$]=I,N[z]=ae,z=$}}function n(N){return 0===N.length?null:N[0]}function u(N){if(0===N.length)return null;var I=N[0],z=N.pop();if(z!==I){N[0]=z;e:for(var $=0,ae=N.length,J=ae>>>1;$<J;){var Ot=2*($+1)-1,ee=N[Ot],ut=Ot+1,En=N[ut];if(0>r(ee,z))ut<ae&&0>r(En,ee)?(N[$]=En,N[ut]=z,$=ut):(N[$]=ee,N[Ot]=z,$=Ot);else{if(!(ut<ae&&0>r(En,z)))break e;N[$]=En,N[ut]=z,$=ut}}}return I}function r(N,I){var z=N.sortIndex-I.sortIndex;return 0!==z?z:N.id-I.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,i=l.now();e.unstable_now=function(){return l.now()-i}}var a=[],s=[],c=1,f=null,h=3,v=!1,p=!1,b=!1,S="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;function m(N){for(var I=n(s);null!==I;){if(null===I.callback)u(s);else{if(!(I.startTime<=N))break;u(s),I.sortIndex=I.expirationTime,t(a,I)}I=n(s)}}function _(N){if(b=!1,m(N),!p)if(null!==n(a))p=!0,Fe(C);else{var I=n(s);null!==I&&ie(_,I.startTime-N)}}function C(N,I){p=!1,b&&(b=!1,g(A),A=-1),v=!0;var z=h;try{for(m(I),f=n(a);null!==f&&(!(f.expirationTime>I)||N&&!H());){var $=f.callback;if("function"==typeof $){f.callback=null,h=f.priorityLevel;var ae=$(f.expirationTime<=I);I=e.unstable_now(),"function"==typeof ae?f.callback=ae:f===n(a)&&u(a),m(I)}else u(a);f=n(a)}if(null!==f)var J=!0;else{var Ot=n(s);null!==Ot&&ie(_,Ot.startTime-I),J=!1}return J}finally{f=null,h=z,v=!1}}typeof navigator<"u"&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var ke,E=!1,D=null,A=-1,j=5,L=-1;function H(){return!(e.unstable_now()-L<j)}function Q(){if(null!==D){var N=e.unstable_now();L=N;var I=!0;try{I=D(!0,N)}finally{I?ke():(E=!1,D=null)}}else E=!1}if("function"==typeof d)ke=function(){d(Q)};else if(typeof MessageChannel<"u"){var Re=new MessageChannel,We=Re.port2;Re.port1.onmessage=Q,ke=function(){We.postMessage(null)}}else ke=function(){S(Q,0)};function Fe(N){D=N,E||(E=!0,ke())}function ie(N,I){A=S((function(){N(e.unstable_now())}),I)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(N){N.callback=null},e.unstable_continueExecution=function(){p||v||(p=!0,Fe(C))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(N){switch(h){case 1:case 2:case 3:var I=3;break;default:I=h}var z=h;h=I;try{return N()}finally{h=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,I){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var z=h;h=N;try{return I()}finally{h=z}},e.unstable_scheduleCallback=function(N,I,z){var $=e.unstable_now();switch("object"==typeof z&&null!==z?z="number"==typeof(z=z.delay)&&0<z?$+z:$:z=$,N){case 1:var ae=-1;break;case 2:ae=250;break;case 5:ae=1073741823;break;case 4:ae=1e4;break;default:ae=5e3}return N={id:c++,callback:I,priorityLevel:N,startTime:z,expirationTime:ae=z+ae,sortIndex:-1},z>$?(N.sortIndex=z,t(s,N),null===n(a)&&N===n(s)&&(b?(g(A),A=-1):b=!0,ie(_,z-$))):(N.sortIndex=ae,t(a,N),p||v||(p=!0,Fe(C))),N},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(N){var I=h;return function(){var z=h;h=I;try{return N.apply(this,arguments)}finally{h=z}}}})(Ua),Ba.exports=Ua;var op=Ba.exports,lp=k,Ye=op;
29
29
  /**
30
30
  * @license React
31
31
  * react-dom.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 Va=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++)Va.add(t[e])}var It=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fo=Object.prototype.hasOwnProperty,ap=/^[: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]*$/,Za={},qa={};function Le(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 xe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){xe[e]=new Le(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];xe[t]=new Le(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){xe[e]=new Le(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){xe[e]=new Le(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){xe[e]=new Le(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){xe[e]=new Le(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){xe[e]=new Le(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){xe[e]=new Le(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){xe[e]=new Le(e,5,!1,e.toLowerCase(),null,!1,!1)}));var No=/[\-:]([a-z])/g;function Mo(e){return e[1].toUpperCase()}function Lo(e,t,n,u){var r=xe.hasOwnProperty(t)?xe[t]:null;(null!==r?0!==r.type:u||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,u){if(null===t||typeof t>"u"||function(e,t,n,u){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!u&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,u))return!0;if(u)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,r,u)&&(n=null),u||null===r?function(e){return!!Fo.call(qa,e)||!Fo.call(Za,e)&&(ap.test(e)?qa[e]=!0:(Za[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(No,Mo);xe[t]=new Le(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(No,Mo);xe[t]=new Le(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(No,Mo);xe[t]=new Le(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){xe[e]=new Le(e,1,!1,e.toLowerCase(),null,!1,!1)})),xe.xlinkHref=new Le("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){xe[e]=new Le(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Rt=ip.__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"),jo=Symbol.for("react.profiler"),Wa=Symbol.for("react.provider"),Ga=Symbol.for("react.context"),Po=Symbol.for("react.forward_ref"),Io=Symbol.for("react.suspense"),Ro=Symbol.for("react.suspense_list"),zo=Symbol.for("react.memo"),Xt=Symbol.for("react.lazy"),Qa=Symbol.for("react.offscreen"),Ya=Symbol.iterator;function Mu(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ya&&e[Ya]||e["@@iterator"])?e:null}var Ho,re=Object.assign;function Lu(e){if(void 0===Ho)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ho=t&&t[1]||""}return"\n"+Ho+e}var $o=!1;function Bo(e,t){if(!e||$o)return"";$o=!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{$o=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Lu(e):""}function dp(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=Bo(e.type,!1);case 11:return e=Bo(e.type.render,!1);case 1:return e=Bo(e.type,!0);default:return""}}function Uo(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 jo:return"Profiler";case Oo:return"StrictMode";case Io:return"Suspense";case Ro:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Ga:return(e.displayName||"Context")+".Consumer";case Wa:return(e._context.displayName||"Context")+".Provider";case Po:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case zo:return null!==(t=e.displayName||null)?t:Uo(e.type)||"Memo";case Xt:t=e._payload,e=e._init;try{return Uo(e(t))}catch{}}return null}function pp(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 Uo(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 Xa(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=Xa(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 Ka(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),u="";return e&&(u=Xa(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 Vo(e,t){var n=t.checked;return re({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ja(e,t){var n=null==t.defaultValue?"":t.defaultValue,u=null!=t.checked?t.checked:t.defaultChecked;n=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 es(e,t){null!=(t=t.checked)&&Lo(e,"checked",t,!1)}function Zo(e,t){es(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")?qo(e,t.type,n):t.hasOwnProperty("defaultValue")&&qo(e,t.type,Kt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ts(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type;if(!("submit"!==u&&"reset"!==u||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function qo(e,t,n){("number"!==t||Vr(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ou=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 Wo(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(T(91));return re({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ns(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(T(92));if(Ou(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 us(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 rs(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function os(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 Go(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?os(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Zr,e,ls=(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 ju(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},mp=["Webkit","ms","Moz","O"];function is(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 as(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var u=0===n.indexOf("--"),r=is(n,t[n],u);"float"===n&&(n="cssFloat"),u?e.setProperty(n,r):e[n]=r}}Object.keys(Pu).forEach((function(e){mp.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pu[t]=Pu[e]}))}));var gp=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 Qo(e,t){if(t){if(gp[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 Yo(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 Xo=null;function Ko(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Jo=null,Wn=null,Gn=null;function ss(e){if(e=rr(e)){if("function"!=typeof Jo)throw Error(T(280));var t=e.stateNode;t&&(t=h0(t),Jo(e.stateNode,e.type,t))}}function cs(e){Wn?Gn?Gn.push(e):Gn=[e]:Wn=e}function fs(){if(Wn){var e=Wn,t=Gn;if(Gn=Wn=null,ss(e),t)for(e=0;e<t.length;e++)ss(t[e])}}function ds(e,t){return e(t)}function ps(){}var el=!1;function hs(e,t,n){if(el)return e(t,n);el=!0;try{return ds(e,t,n)}finally{el=!1,(null!==Wn||null!==Gn)&&(ps(),fs())}}function Iu(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 tl=!1;if(It)try{var Ru={};Object.defineProperty(Ru,"passive",{get:function(){tl=!0}}),window.addEventListener("test",Ru,Ru),window.removeEventListener("test",Ru,Ru)}catch{tl=!1}function wp(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,nl=null,vp={onError:function(e){zu=!0,qr=e}};function yp(e,t,n,u,r,o,l,i,a){zu=!1,qr=null,wp.apply(vp,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 ms(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function gs(e){if(Sn(e)!==e)throw Error(T(188))}function ws(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 gs(r),e;if(o===u)return gs(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))?vs(e):null}function vs(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=vs(e);if(null!==t)return t;e=e.sibling}return null}var ys=Ye.unstable_scheduleCallback,xs=Ye.unstable_cancelCallback,bp=Ye.unstable_shouldYield,Ep=Ye.unstable_requestPaint,ce=Ye.unstable_now,kp=Ye.unstable_getCurrentPriorityLevel,ul=Ye.unstable_ImmediatePriority,_s=Ye.unstable_UserBlockingPriority,Gr=Ye.unstable_NormalPriority,Cp=Ye.unstable_LowPriority,bs=Ye.unstable_IdlePriority,Qr=null,kt=null;var pt=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(Ap(e)/Tp|0)|0},Ap=Math.log,Tp=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 Fp(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 rl(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Es(){var e=Yr;return!(4194240&(Yr<<=1))&&(Yr=64),e}function ol(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 ll(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 ks(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var Cs,il,Ss,As,Ts,al=!1,Jr=[],Jt=null,en=null,tn=null,Bu=new Map,Uu=new Map,nn=[],Lp="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 Ds(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))&&il(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,null!==r&&-1===t.indexOf(r)&&t.push(r),e)}function Fs(e){var t=An(e.target);if(null!==t){var n=Sn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=ms(n)))return e.blockedOn=t,void Ts(e.priority,(function(){Ss(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function e0(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=cl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=rr(n))&&il(t),e.blockedOn=n,!1;var u=new(n=e.nativeEvent).constructor(n.type,n);Xo=u,n.target.dispatchEvent(u),Xo=null,t.shift()}return!0}function Ns(e,t,n){e0(e)&&n.delete(t)}function jp(){al=!1,null!==Jt&&e0(Jt)&&(Jt=null),null!==en&&e0(en)&&(en=null),null!==tn&&e0(tn)&&(tn=null),Bu.forEach(Ns),Uu.forEach(Ns)}function Zu(e,t){e.blockedOn===t&&(e.blockedOn=null,al||(al=!0,Ye.unstable_scheduleCallback(Ye.unstable_NormalPriority,jp)))}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;)Fs(n),null===n.blockedOn&&nn.shift()}var Qn=Rt.ReactCurrentBatchConfig,t0=!0;function Pp(e,t,n,u){var r=Z,o=Qn.transition;Qn.transition=null;try{Z=1,sl(e,t,n,u)}finally{Z=r,Qn.transition=o}}function Ip(e,t,n,u){var r=Z,o=Qn.transition;Qn.transition=null;try{Z=4,sl(e,t,n,u)}finally{Z=r,Qn.transition=o}}function sl(e,t,n,u){if(t0){var r=cl(e,t,n,u);if(null===r)Al(e,t,u,n0,n),Ds(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(Ds(e,u),4&t&&-1<Lp.indexOf(e)){for(;null!==r;){var o=rr(r);if(null!==o&&Cs(o),null===(o=cl(e,t,n,u))&&Al(e,t,u,n0,n),o===r)break;r=o}null!==r&&u.stopPropagation()}else Al(e,t,u,null,n)}}var n0=null;function cl(e,t,n,u){if(n0=null,null!==(e=An(e=Ko(u))))if(null===(t=Sn(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=ms(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return n0=e,null}function Ms(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(kp()){case ul:return 1;case _s:return 4;case Gr:case Cp:return 16;case bs:return 536870912;default:return 16}default:return 16}}var un=null,fl=null,u0=null;function Ls(){if(u0)return u0;var e,u,t=fl,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 Os(){return!1}function Xe(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:Os,this.isPropagationStopped=Os,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 pl,hl,Gu,Yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dl=Xe(Yn),Wu=re({},Yn,{view:0,detail:0}),Rp=Xe(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:gl,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?(pl=e.screenX-Gu.screenX,hl=e.screenY-Gu.screenY):hl=pl=0,Gu=e),pl)},movementY:function(e){return"movementY"in e?e.movementY:hl}}),js=Xe(l0),Hp=Xe(re({},l0,{dataTransfer:0})),ml=Xe(re({},Wu,{relatedTarget:0})),Up=Xe(re({},Yn,{animationName:0,elapsedTime:0,pseudoElement:0})),Vp=re({},Yn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Zp=Xe(Vp),Ps=Xe(re({},Yn,{data:0})),Wp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Gp={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"},Qp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Yp(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Qp[e])&&!!t[e]}function gl(){return Yp}var Xp=re({},Wu,{key:function(e){if(e.key){var t=Wp[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?Gp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gl,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}}),Kp=Xe(Xp),Is=Xe(re({},l0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),th=Xe(re({},Wu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gl})),uh=Xe(re({},Yn,{propertyName:0,elapsedTime:0,pseudoElement:0})),rh=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}),oh=Xe(rh),lh=[9,13,27,32],wl=It&&"CompositionEvent"in window,Qu=null;It&&"documentMode"in document&&(Qu=document.documentMode);var ih=It&&"TextEvent"in window&&!Qu,Rs=It&&(!wl||Qu&&8<Qu&&11>=Qu),zs=" ",Hs=!1;function $s(e,t){switch(e){case"keyup":return-1!==lh.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bs(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Xn=!1;var ch={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Us(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ch[e.type]:"textarea"===t}function Vs(e,t,n,u){cs(u),0<(t=f0(t,"onChange")).length&&(n=new dl("onChange","change",null,n,u),e.push({event:n,listeners:t}))}var Yu=null,Xu=null;function fh(e){ac(e,0)}function i0(e){if(Ka(nu(e)))return e}function dh(e,t){if("change"===e)return t}var Zs=!1;if(It){var vl;if(It){var yl="oninput"in document;if(!yl){var qs=document.createElement("div");qs.setAttribute("oninput","return;"),yl="function"==typeof qs.oninput}vl=yl}else vl=!1;Zs=vl&&(!document.documentMode||9<document.documentMode)}function Ws(){Yu&&(Yu.detachEvent("onpropertychange",Gs),Xu=Yu=null)}function Gs(e){if("value"===e.propertyName&&i0(Xu)){var t=[];Vs(t,Xu,e,Ko(e)),hs(fh,t)}}function ph(e,t,n){"focusin"===e?(Ws(),Xu=n,(Yu=t).attachEvent("onpropertychange",Gs)):"focusout"===e&&Ws()}function hh(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return i0(Xu)}function mh(e,t){if("click"===e)return i0(t)}function gh(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(!Fo.call(t,r)||!ht(e[r],t[r]))return!1}return!0}function Qs(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ys(e,t){var u,n=Qs(e);for(e=0;n;){if(3===n.nodeType){if(u=e+n.textContent.length,e<=t&&u>=t)return{node:n,offset:t-e};e=u}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Qs(n)}}function Xs(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Xs(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ks(){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 xl(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 vh(e){var t=Ks(),n=e.focusedElem,u=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Xs(n.ownerDocument.documentElement,n)){if(null!==u&&xl(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=Ys(n,o);var l=Ys(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 yh=It&&"documentMode"in document&&11>=document.documentMode,Kn=null,_l=null,Ju=null,bl=!1;function Js(e,t,n){var u=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;bl||null==Kn||Kn!==Vr(u)||("selectionStart"in(u=Kn)&&xl(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 dl("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")},El={},ec={};function s0(e){if(El[e])return El[e];if(!Jn[e])return e;var n,t=Jn[e];for(n in t)if(t.hasOwnProperty(n)&&n in ec)return El[e]=t[n];return e}It&&(ec=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 tc=s0("animationend"),nc=s0("animationiteration"),uc=s0("animationstart"),rc=s0("transitionend"),oc=new Map,lc="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){oc.set(e,t),Cn(t,[e])}for(var kl=0;kl<lc.length;kl++){var Cl=lc[kl];rn(Cl.toLowerCase(),"on"+(Cl[0].toUpperCase()+Cl.slice(1)))}rn(tc,"onAnimationEnd"),rn(nc,"onAnimationIteration"),rn(uc,"onAnimationStart"),rn("dblclick","onDoubleClick"),rn("focusin","onFocus"),rn("focusout","onBlur"),rn(rc,"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(" "),bh=new Set("cancel close invalid load scroll toggle".split(" ").concat(er));function ic(e,t,n){var u=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,u,r,o,l,i,a){if(yp.apply(this,arguments),zu){if(!zu)throw Error(T(198));var s=qr;zu=!1,qr=null,Wr||(Wr=!0,nl=s)}}(u,t,void 0,e),e.currentTarget=null}function ac(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var u=e[n],r=u.event;u=u.listeners;e:{var 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;ic(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;ic(r,i,s),o=a}}}if(Wr)throw e=nl,Wr=!1,nl=null,e}function X(e,t){var n=t[Ll];void 0===n&&(n=t[Ll]=new Set);var u=e+"__bubble";n.has(u)||(sc(t,e,2,!1),n.add(u))}function Sl(e,t,n){var u=0;t&&(u|=4),sc(n,e,u,t)}var c0="_reactListening"+Math.random().toString(36).slice(2);function tr(e){if(!e[c0]){e[c0]=!0,Va.forEach((function(n){"selectionchange"!==n&&(bh.has(n)||Sl(n,!1,e),Sl(n,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[c0]||(t[c0]=!0,Sl("selectionchange",!1,t))}}function sc(e,t,n,u){switch(Ms(t)){case 1:var r=Pp;break;case 4:r=Ip;break;default:r=sl}n=r.bind(null,t,n,e),r=void 0,!tl||"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 Al(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}hs((function(){var s=o,c=Ko(n),f=[];e:{var h=oc.get(e);if(void 0!==h){var v=dl,p=e;switch(e){case"keypress":if(0===r0(n))break e;case"keydown":case"keyup":v=Kp;break;case"focusin":p="focus",v=ml;break;case"focusout":p="blur",v=ml;break;case"beforeblur":case"afterblur":v=ml;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=js;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=Hp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=th;break;case tc:case nc:case uc:v=Up;break;case rc:v=uh;break;case"scroll":v=Rp;break;case"wheel":v=oh;break;case"copy":case"cut":case"paste":v=Zp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=Is}var b=!!(4&t),S=!b&&"scroll"===e,g=b?null!==h?h+"Capture":null:h;b=[];for(var m,d=s;null!==d;){var _=(m=d).stateNode;if(5===m.tag&&null!==_&&(m=_,null!==g&&(null!=(_=Iu(d,g))&&b.push(nr(d,_,m)))),S)break;d=d.return}0<b.length&&(h=new v(h,p,null,n,c),f.push({event:h,listeners:b}))}}if(!(7&t)){if(v="mouseout"===e||"pointerout"===e,(!(h="mouseover"===e||"pointerover"===e)||n===Xo||!(p=n.relatedTarget||n.fromElement)||!An(p)&&!p[zt])&&(v||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,v?(v=s,null!==(p=(p=n.relatedTarget||n.toElement)?An(p):null)&&(p!==(S=Sn(p))||5!==p.tag&&6!==p.tag)&&(p=null)):(v=null,p=s),v!==p)){if(b=js,_="onMouseLeave",g="onMouseEnter",d="mouse",("pointerout"===e||"pointerover"===e)&&(b=Is,_="onPointerLeave",g="onPointerEnter",d="pointer"),S=null==v?h:nu(v),m=null==p?h:nu(p),(h=new b(_,d+"leave",v,n,c)).target=S,h.relatedTarget=m,_=null,An(c)===s&&((b=new b(g,d+"enter",p,n,c)).target=m,b.relatedTarget=S,_=b),S=_,v&&p)t:{for(g=p,d=0,m=b=v;m;m=eu(m))d++;for(m=0,_=g;_;_=eu(_))m++;for(;0<d-m;)b=eu(b),d--;for(;0<m-d;)g=eu(g),m--;for(;d--;){if(b===g||null!==g&&b===g.alternate)break t;b=eu(b),g=eu(g)}b=null}else b=null;null!==v&&cc(f,h,v,b,!1),null!==p&&null!==S&&cc(f,S,p,b,!0)}if("select"===(v=(h=s?nu(s):window).nodeName&&h.nodeName.toLowerCase())||"input"===v&&"file"===h.type)var C=dh;else if(Us(h))if(Zs)C=gh;else{C=hh;var E=ph}else(v=h.nodeName)&&"input"===v.toLowerCase()&&("checkbox"===h.type||"radio"===h.type)&&(C=mh);switch(C&&(C=C(e,s))?Vs(f,C,n,c):(E&&E(e,h,s),"focusout"===e&&(E=h._wrapperState)&&E.controlled&&"number"===h.type&&qo(h,"number",h.value)),E=s?nu(s):window,e){case"focusin":(Us(E)||"true"===E.contentEditable)&&(Kn=E,_l=s,Ju=null);break;case"focusout":Ju=_l=Kn=null;break;case"mousedown":bl=!0;break;case"contextmenu":case"mouseup":case"dragend":bl=!1,Js(f,n,c);break;case"selectionchange":if(yh)break;case"keydown":case"keyup":Js(f,n,c)}var D;if(wl)e:{switch(e){case"compositionstart":var A="onCompositionStart";break e;case"compositionend":A="onCompositionEnd";break e;case"compositionupdate":A="onCompositionUpdate";break e}A=void 0}else Xn?$s(e,n)&&(A="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(A="onCompositionStart");A&&(Rs&&"ko"!==n.locale&&(Xn||"onCompositionStart"!==A?"onCompositionEnd"===A&&Xn&&(D=Ls()):(fl="value"in(un=c)?un.value:un.textContent,Xn=!0)),0<(E=f0(s,A)).length&&(A=new Ps(A,e,null,n,c),f.push({event:A,listeners:E}),D?A.data=D:null!==(D=Bs(n))&&(A.data=D))),(D=ih?function(e,t){switch(e){case"compositionend":return Bs(t);case"keypress":return 32!==t.which?null:(Hs=!0,zs);case"textInput":return(e=t.data)===zs&&Hs?null:e;default:return null}}(e,n):function(e,t){if(Xn)return"compositionend"===e||!wl&&$s(e,t)?(e=Ls(),u0=fl=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 Rs&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(s=f0(s,"onBeforeInput")).length&&(c=new Ps("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:s}),c.data=D))}ac(f,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=Iu(e,n))&&u.unshift(nr(e,o,r)),null!=(o=Iu(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 cc(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=Iu(n,o))&&l.unshift(nr(n,a,i)):r||null!=(a=Iu(n,o))&&l.push(nr(n,a,i))),n=n.return}0!==l.length&&e.push({event:t,listeners:l})}var Eh=/\r\n?/g,kh=/\u0000|\uFFFD/g;function fc(e){return("string"==typeof e?e:""+e).replace(Eh,"\n").replace(kh,"")}function d0(e,t,n){if(t=fc(t),fc(e)!==t&&n)throw Error(T(425))}function p0(){}var Tl=null,Dl=null;function Fl(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 Nl="function"==typeof setTimeout?setTimeout:void 0,Ch="function"==typeof clearTimeout?clearTimeout:void 0,dc="function"==typeof Promise?Promise:void 0,Sh="function"==typeof queueMicrotask?queueMicrotask:typeof dc<"u"?function(e){return dc.resolve(null).then(e).catch(Ah)}:Nl;function Ah(e){setTimeout((function(){throw e}))}function Ml(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 pc(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var tu=Math.random().toString(36).slice(2),Ct="__reactFiber$"+tu,ur="__reactProps$"+tu,zt="__reactContainer$"+tu,Ll="__reactEvents$"+tu,Th="__reactListeners$"+tu,Dh="__reactHandles$"+tu;function An(e){var t=e[Ct];if(t)return t;for(var n=e.parentNode;n;){if(t=n[zt]||n[Ct]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=pc(e);null!==e;){if(n=e[Ct])return n;e=pc(e)}return t}n=(e=n).parentNode}return null}function rr(e){return!(e=e[Ct]||e[zt])||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 K(e){0>uu||(e.current=Ol[uu],Ol[uu]=null,uu--)}function W(e,t){uu++,Ol[uu]=e.current,e.current=t}var an={},Se=ln(an),He=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 $e(e){return null!=(e=e.childContextTypes)}function m0(){K(He),K(Se)}function hc(e,t,n){if(Se.current!==an)throw Error(T(168));W(Se,t),W(He,n)}function mc(e,t,n){var u=e.stateNode;if(t=t.childContextTypes,"function"!=typeof u.getChildContext)return n;for(var r in u=u.getChildContext())if(!(r in t))throw Error(T(108,pp(e)||"Unknown",r));return re({},n,u)}function g0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||an,Tn=Se.current,W(Se,e),W(He,He.current),!0}function gc(e,t,n){var u=e.stateNode;if(!u)throw Error(T(169));n?(e=mc(e,t,Tn),u.__reactInternalMemoizedMergedChildContext=e,K(He),K(Se),W(Se,e)):K(He),W(He,n)}var Ht=null,w0=!1,jl=!1;function wc(e){null===Ht?Ht=[e]:Ht.push(e)}function sn(){if(!jl&&null!==Ht){jl=!0;var e=0,t=Z;try{var n=Ht;for(Z=1;e<n.length;e++){var u=n[e];do{u=u(!0)}while(null!==u)}Ht=null,w0=!1}catch(r){throw null!==Ht&&(Ht=Ht.slice(e+1)),ys(ul,sn),r}finally{Z=t,jl=!1}}return null}var ou=[],lu=0,v0=null,y0=0,ot=[],lt=0,Dn=null,$t=1,Bt="";function Fn(e,t){ou[lu++]=y0,ou[lu++]=v0,v0=e,y0=t}function vc(e,t,n){ot[lt++]=$t,ot[lt++]=Bt,ot[lt++]=Dn,Dn=e;var u=$t;e=Bt;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,$t=1<<32-pt(t)+r|n<<r|u,Bt=o+e}else $t=1<<o|n<<r|u,Bt=e}function Pl(e){null!==e.return&&(Fn(e,1),vc(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=ot[--lt],ot[lt]=null,Bt=ot[--lt],ot[lt]=null,$t=ot[--lt],ot[lt]=null}var Ke=null,Je=null,te=!1,mt=null;function yc(e,t){var n=ct(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function xc(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,Ke=e,Je=on(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Ke=e,Je=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Dn?{id:$t,overflow:Bt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=ct(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Ke=e,Je=null,!0);default:return!1}}function Rl(e){return!(!(1&e.mode)||128&e.flags)}function zl(e){if(te){var t=Je;if(t){var n=t;if(!xc(e,t)){if(Rl(e))throw Error(T(418));t=on(n.nextSibling);var u=Ke;t&&xc(e,t)?yc(u,n):(e.flags=-4097&e.flags|2,te=!1,Ke=e)}}else{if(Rl(e))throw Error(T(418));e.flags=-4097&e.flags|2,te=!1,Ke=e}}}function _c(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ke=e}function x0(e){if(e!==Ke)return!1;if(!te)return _c(e),te=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Fl(e.type,e.memoizedProps)),t&&(t=Je)){if(Rl(e))throw bc(),Error(T(418));for(;t;)yc(e,t),t=on(t.nextSibling)}if(_c(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){Je=on(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Je=null}}else Je=Ke?on(e.stateNode.nextSibling):null;return!0}function bc(){for(var e=Je;e;)e=on(e.nextSibling)}function iu(){Je=Ke=null,te=!1}function Hl(e){null===mt?mt=[e]:mt.push(e)}var Nh=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 _0(e,t){throw e=Object.prototype.toString.call(t),Error(T(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ec(e){return(0,e._init)(e._payload)}function kc(e){function t(g,d){if(e){var m=g.deletions;null===m?(g.deletions=[d],g.flags|=16):m.push(d)}}function n(g,d){if(!e)return null;for(;null!==d;)t(g,d),d=d.sibling;return null}function u(g,d){for(g=new Map;null!==d;)null!==d.key?g.set(d.key,d):g.set(d.index,d),d=d.sibling;return g}function r(g,d){return(g=wn(g,d)).index=0,g.sibling=null,g}function o(g,d,m){return g.index=m,e?null!==(m=g.alternate)?(m=m.index)<d?(g.flags|=2,d):m:(g.flags|=2,d):(g.flags|=1048576,d)}function l(g){return e&&null===g.alternate&&(g.flags|=2),g}function i(g,d,m,_){return null===d||6!==d.tag?((d=Ni(m,g.mode,_)).return=g,d):((d=r(d,m)).return=g,d)}function a(g,d,m,_){var C=m.type;return C===Zn?c(g,d,m.props.children,_,m.key):null!==d&&(d.elementType===C||"object"==typeof C&&null!==C&&C.$$typeof===Xt&&Ec(C)===d.type)?((_=r(d,m.props)).ref=or(g,d,m),_.return=g,_):((_=Z0(m.type,m.key,m.props,null,g.mode,_)).ref=or(g,d,m),_.return=g,_)}function s(g,d,m,_){return null===d||4!==d.tag||d.stateNode.containerInfo!==m.containerInfo||d.stateNode.implementation!==m.implementation?((d=Mi(m,g.mode,_)).return=g,d):((d=r(d,m.children||[])).return=g,d)}function c(g,d,m,_,C){return null===d||7!==d.tag?((d=Rn(m,g.mode,_,C)).return=g,d):((d=r(d,m)).return=g,d)}function f(g,d,m){if("string"==typeof d&&""!==d||"number"==typeof d)return(d=Ni(""+d,g.mode,m)).return=g,d;if("object"==typeof d&&null!==d){switch(d.$$typeof){case Br:return(m=Z0(d.type,d.key,d.props,null,g.mode,m)).ref=or(g,null,d),m.return=g,m;case Vn:return(d=Mi(d,g.mode,m)).return=g,d;case Xt:return f(g,(0,d._init)(d._payload),m)}if(Ou(d)||Mu(d))return(d=Rn(d,g.mode,m,null)).return=g,d;_0(g,d)}return null}function h(g,d,m,_){var C=null!==d?d.key:null;if("string"==typeof m&&""!==m||"number"==typeof m)return null!==C?null:i(g,d,""+m,_);if("object"==typeof m&&null!==m){switch(m.$$typeof){case Br:return m.key===C?a(g,d,m,_):null;case Vn:return m.key===C?s(g,d,m,_):null;case Xt:return h(g,d,(C=m._init)(m._payload),_)}if(Ou(m)||Mu(m))return null!==C?null:c(g,d,m,_,null);_0(g,m)}return null}function v(g,d,m,_,C){if("string"==typeof _&&""!==_||"number"==typeof _)return i(d,g=g.get(m)||null,""+_,C);if("object"==typeof _&&null!==_){switch(_.$$typeof){case Br:return a(d,g=g.get(null===_.key?m:_.key)||null,_,C);case Vn:return s(d,g=g.get(null===_.key?m:_.key)||null,_,C);case Xt:return v(g,d,m,(0,_._init)(_._payload),C)}if(Ou(_)||Mu(_))return c(d,g=g.get(m)||null,_,C,null);_0(d,_)}return null}return function S(g,d,m,_){if("object"==typeof m&&null!==m&&m.type===Zn&&null===m.key&&(m=m.props.children),"object"==typeof m&&null!==m){switch(m.$$typeof){case Br:e:{for(var C=m.key,E=d;null!==E;){if(E.key===C){if((C=m.type)===Zn){if(7===E.tag){n(g,E.sibling),(d=r(E,m.props.children)).return=g,g=d;break e}}else if(E.elementType===C||"object"==typeof C&&null!==C&&C.$$typeof===Xt&&Ec(C)===E.type){n(g,E.sibling),(d=r(E,m.props)).ref=or(g,E,m),d.return=g,g=d;break e}n(g,E);break}t(g,E),E=E.sibling}m.type===Zn?((d=Rn(m.props.children,g.mode,_,m.key)).return=g,g=d):((_=Z0(m.type,m.key,m.props,null,g.mode,_)).ref=or(g,d,m),_.return=g,g=_)}return l(g);case Vn:e:{for(E=m.key;null!==d;){if(d.key===E){if(4===d.tag&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(g,d.sibling),(d=r(d,m.children||[])).return=g,g=d;break e}n(g,d);break}t(g,d),d=d.sibling}(d=Mi(m,g.mode,_)).return=g,g=d}return l(g);case Xt:return S(g,d,(E=m._init)(m._payload),_)}if(Ou(m))return function(g,d,m,_){for(var C=null,E=null,D=d,A=d=0,j=null;null!==D&&A<m.length;A++){D.index>A?(j=D,D=null):j=D.sibling;var L=h(g,D,m[A],_);if(null===L){null===D&&(D=j);break}e&&D&&null===L.alternate&&t(g,D),d=o(L,d,A),null===E?C=L:E.sibling=L,E=L,D=j}if(A===m.length)return n(g,D),te&&Fn(g,A),C;if(null===D){for(;A<m.length;A++)null!==(D=f(g,m[A],_))&&(d=o(D,d,A),null===E?C=D:E.sibling=D,E=D);return te&&Fn(g,A),C}for(D=u(g,D);A<m.length;A++)null!==(j=v(D,g,A,m[A],_))&&(e&&null!==j.alternate&&D.delete(null===j.key?A:j.key),d=o(j,d,A),null===E?C=j:E.sibling=j,E=j);return e&&D.forEach((function(H){return t(g,H)})),te&&Fn(g,A),C}(g,d,m,_);if(Mu(m))return function(g,d,m,_){var C=Mu(m);if("function"!=typeof C)throw Error(T(150));if(null==(m=C.call(m)))throw Error(T(151));for(var E=C=null,D=d,A=d=0,j=null,L=m.next();null!==D&&!L.done;A++,L=m.next()){D.index>A?(j=D,D=null):j=D.sibling;var H=h(g,D,L.value,_);if(null===H){null===D&&(D=j);break}e&&D&&null===H.alternate&&t(g,D),d=o(H,d,A),null===E?C=H:E.sibling=H,E=H,D=j}if(L.done)return n(g,D),te&&Fn(g,A),C;if(null===D){for(;!L.done;A++,L=m.next())null!==(L=f(g,L.value,_))&&(d=o(L,d,A),null===E?C=L:E.sibling=L,E=L);return te&&Fn(g,A),C}for(D=u(g,D);!L.done;A++,L=m.next())null!==(L=v(D,g,A,L.value,_))&&(e&&null!==L.alternate&&D.delete(null===L.key?A:L.key),d=o(L,d,A),null===E?C=L:E.sibling=L,E=L);return e&&D.forEach((function(Q){return t(g,Q)})),te&&Fn(g,A),C}(g,d,m,_);_0(g,m)}return"string"==typeof m&&""!==m||"number"==typeof m?(m=""+m,null!==d&&6===d.tag?(n(g,d.sibling),(d=r(d,m)).return=g,g=d):(n(g,d),(d=Ni(m,g.mode,_)).return=g,g=d),l(g)):n(g,d)}}var au=kc(!0),Cc=kc(!1),b0=ln(null),E0=null,su=null,$l=null;function Bl(){$l=su=E0=null}function Ul(e){var t=b0.current;K(b0),e._currentValue=t}function Vl(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,$l=su=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.lanes&t&&(Be=!0),e.firstContext=null)}function it(e){var t=e._currentValue;if($l!==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 Zl(e){null===Nn?Nn=[e]:Nn.push(e)}function Sc(e,t,n,u){var r=t.interleaved;return null===r?(n.next=n,Zl(t)):(n.next=r.next,r.next=n),t.interleaved=n,Ut(e,u)}function Ut(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 ql(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ac(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Vt(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,Ut(e,n)}return null===(r=u.interleaved)?(t.next=t,Zl(u)):(t.next=r.next,r.next=t),u.interleaved=t,Ut(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,ll(e,n)}}function Tc(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 f=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 p=e,b=i;switch(h=t,v=n,b.tag){case 1:if("function"==typeof(p=b.payload)){f=p.call(v,f,h);break e}f=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(h="function"==typeof(p=b.payload)?p.call(v,f,h):p))break e;f=re({},f,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=f):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=f),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);On|=l,e.lanes=l,e.memoizedState=f}}function Dc(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 Wl(e,t){switch(W(ar,t),W(ir,e),W(St,lr),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Go(null,"");break;default:t=Go(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}K(St),W(St,t)}function fu(){K(St),K(ir),K(ar)}function Fc(e){Mn(ar.current);var t=Mn(St.current),n=Go(t,e.type);t!==n&&(W(ir,e),W(St,n))}function Gl(e){ir.current===e&&(K(St),K(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 Ql=[];function Yl(){for(var e=0;e<Ql.length;e++)Ql[e]._workInProgressVersionPrimary=null;Ql.length=0}var A0=Rt.ReactCurrentDispatcher,Xl=Rt.ReactCurrentBatchConfig,Ln=0,le=null,de=null,he=null,T0=!1,sr=!1,cr=0,Mh=0;function Ae(){throw Error(T(321))}function Kl(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 Jl(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?Ph:Ih,e=n(u,r),sr){o=0;do{if(sr=!1,cr=0,25<=o)throw Error(T(301));o+=1,he=de=null,t.updateQueue=null,A0.current=Rh,e=n(u,r)}while(sr)}if(A0.current=N0,t=null!==de&&null!==de.next,Ln=0,he=de=le=null,T0=!1,t)throw Error(T(300));return e}function ei(){var e=0!==cr;return cr=0,e}function At(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===he?le.memoizedState=he=e:he=he.next=e,he}function at(){if(null===de){var e=le.alternate;e=null!==e?e.memoizedState:null}else e=de.next;var t=null===he?le.memoizedState:he.next;if(null!==t)he=t,de=e;else{if(null===e)throw Error(T(310));e={memoizedState:(de=e).memoizedState,baseState:de.baseState,baseQueue:de.baseQueue,queue:de.queue,next:null},null===he?le.memoizedState=he=e:he=he.next=e}return he}function fr(e,t){return"function"==typeof t?t(e):t}function ti(e){var t=at(),n=t.queue;if(null===n)throw Error(T(311));n.lastRenderedReducer=e;var u=de,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 f={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};null===a?(i=a=f,l=u):a=a.next=f,le.lanes|=c,On|=c}s=s.next}while(null!==s&&s!==o);null===a?l=u:a.next=i,ht(u,t.memoizedState)||(Be=!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,On|=o,r=r.next}while(r!==e)}else null===r&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ni(e){var t=at(),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)||(Be=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,u]}function Nc(){}function Mc(e,t){var n=le,u=at(),r=t(),o=!ht(u.memoizedState,r);if(o&&(u.memoizedState=r,Be=!0),u=u.queue,ui(jc.bind(null,n,u,e),[e]),u.getSnapshot!==t||o||null!==he&&1&he.memoizedState.tag){if(n.flags|=2048,dr(9,Oc.bind(null,n,u,r,t),void 0,null),null===me)throw Error(T(349));30&Ln||Lc(n,t,r)}return r}function Lc(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 Oc(e,t,n,u){t.value=n,t.getSnapshot=u,Pc(t)&&Ic(e)}function jc(e,t,n){return n((function(){Pc(t)&&Ic(e)}))}function Pc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ht(e,n)}catch{return!0}}function Ic(e){var t=Ut(e,1);null!==t&&yt(t,e,1,-1)}function Rc(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=jh.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 zc(){return at().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=at();u=void 0===u?null:u;var o=void 0;if(null!==de){var l=de.memoizedState;if(o=l.destroy,null!==u&&Kl(u,l.deps))return void(r.memoizedState=dr(t,n,o,u))}le.flags|=e,r.memoizedState=dr(1|t,n,o,u)}function Hc(e,t){return D0(8390656,8,e,t)}function ui(e,t){return F0(2048,8,e,t)}function $c(e,t){return F0(4,2,e,t)}function Bc(e,t){return F0(4,4,e,t)}function Uc(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Vc(e,t,n){return n=null!=n?n.concat([e]):null,F0(4,4,Uc.bind(null,t,e),n)}function ri(){}function Zc(e,t){var n=at();t=void 0===t?null:t;var u=n.memoizedState;return null!==u&&null!==t&&Kl(t,u[1])?u[0]:(n.memoizedState=[e,t],e)}function qc(e,t){var n=at();t=void 0===t?null:t;var u=n.memoizedState;return null!==u&&null!==t&&Kl(t,u[1])?u[0]:(e=e(),n.memoizedState=[e,t],e)}function Wc(e,t,n){return 21&Ln?(ht(n,t)||(n=Es(),le.lanes|=n,On|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Be=!0),e.memoizedState=n)}function Lh(e,t){var n=Z;Z=0!==n&&4>n?n:4,e(!0);var u=Xl.transition;Xl.transition={};try{e(!1),t()}finally{Z=n,Xl.transition=u}}function Gc(){return at().memoizedState}function Oh(e,t,n){var u=mn(e);if(n={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null},Qc(e))Yc(t,n);else if(null!==(n=Sc(e,t,n,u))){yt(n,e,u,je()),Xc(n,t,u)}}function jh(e,t,n){var u=mn(e),r={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qc(e))Yc(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,Zl(t)):(r.next=a.next,a.next=r),void(t.interleaved=r)}}catch{}null!==(n=Sc(e,t,r,u))&&(yt(n,e,u,r=je()),Xc(n,t,u))}}function Qc(e){var t=e.alternate;return e===le||null!==t&&t===le}function Yc(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 Xc(e,t,n){if(4194240&n){var u=t.lanes;n|=u&=e.pendingLanes,t.lanes=n,ll(e,n)}}var N0={readContext:it,useCallback:Ae,useContext:Ae,useEffect:Ae,useImperativeHandle:Ae,useInsertionEffect:Ae,useLayoutEffect:Ae,useMemo:Ae,useReducer:Ae,useRef:Ae,useState:Ae,useDebugValue:Ae,useDeferredValue:Ae,useTransition:Ae,useMutableSource:Ae,useSyncExternalStore:Ae,useId:Ae,unstable_isNewReconciler:!1},Ph={readContext:it,useCallback:function(e,t){return At().memoizedState=[e,void 0===t?null:t],e},useContext:it,useEffect:Hc,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,D0(4194308,4,Uc.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=Oh.bind(null,le,e),[u.memoizedState,e]},useRef:function(e){return e={current:e},At().memoizedState=e},useState:Rc,useDebugValue:ri,useDeferredValue:function(e){return At().memoizedState=e},useTransition:function(){var e=Rc(!1),t=e[0];return e=Lh.bind(null,e[1]),At().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var u=le,r=At();if(te){if(void 0===n)throw Error(T(407));n=n()}else{if(n=t(),null===me)throw Error(T(349));30&Ln||Lc(u,t,n)}r.memoizedState=n;var o={value:n,getSnapshot:t};return r.queue=o,Hc(jc.bind(null,u,o,e),[e]),u.flags|=2048,dr(9,Oc.bind(null,u,o,n,t),void 0,null),n},useId:function(){var e=At(),t=me.identifierPrefix;if(te){var n=Bt;t=":"+t+"R"+(n=($t&~(1<<32-pt($t)-1)).toString(32)+n),0<(n=cr++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Mh++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Ih={readContext:it,useCallback:Zc,useContext:it,useEffect:ui,useImperativeHandle:Vc,useInsertionEffect:$c,useLayoutEffect:Bc,useMemo:qc,useReducer:ti,useRef:zc,useState:function(){return ti(fr)},useDebugValue:ri,useDeferredValue:function(e){return Wc(at(),de.memoizedState,e)},useTransition:function(){return[ti(fr)[0],at().memoizedState]},useMutableSource:Nc,useSyncExternalStore:Mc,useId:Gc,unstable_isNewReconciler:!1},Rh={readContext:it,useCallback:Zc,useContext:it,useEffect:ui,useImperativeHandle:Vc,useInsertionEffect:$c,useLayoutEffect:Bc,useMemo:qc,useReducer:ni,useRef:zc,useState:function(){return ni(fr)},useDebugValue:ri,useDeferredValue:function(e){var t=at();return null===de?t.memoizedState=e:Wc(t,de.memoizedState,e)},useTransition:function(){return[ni(fr)[0],at().memoizedState]},useMutableSource:Nc,useSyncExternalStore:Mc,useId:Gc,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 oi(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=je(),r=mn(e),o=Vt(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=je(),r=mn(e),o=Vt(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=je(),u=mn(e),r=Vt(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 Kc(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 Jc(e,t,n){var u=!1,r=an,o=t.contextType;return"object"==typeof o&&null!==o?o=it(o):(r=$e(t)?Tn:Se.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 e1(e,t,n,u){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,u),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,u),t.state!==e&&M0.enqueueReplaceState(t,t.state,null)}function li(e,t,n,u){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},ql(e);var o=t.contextType;"object"==typeof o&&null!==o?r.context=it(o):(o=$e(t)?Tn:Se.current,r.context=ru(e,o)),r.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(oi(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+=dp(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 ii(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ai(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var zh="function"==typeof WeakMap?WeakMap:Map;function t1(e,t,n){(n=Vt(-1,n)).tag=3,n.payload={element:null};var u=t.value;return n.callback=function(){z0||(z0=!0,Ei=u),ai(0,t)},n}function n1(e,t,n){(n=Vt(-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(){ai(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ai(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 u1(e,t,n){var u=e.pingCache;if(null===u){u=e.pingCache=new zh;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=Jh.bind(null,e,t,n),t.then(e,e))}function r1(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function o1(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=Vt(-1,1)).tag=2,fn(n,t,1))),n.lanes|=1),e)}var Hh=Rt.ReactCurrentOwner,Be=!1;function Oe(e,t,n,u){t.child=null===e?Cc(t,null,n,u):au(t,e.child,n,u)}function l1(e,t,n,u,r){n=n.render;var o=t.ref;return cu(t,r),u=Jl(e,t,n,u,o,r),n=ei(),null===e||Be?(te&&n&&Pl(t),t.flags|=1,Oe(e,t,u,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Zt(e,t,r))}function i1(e,t,n,u,r){if(null===e){var o=n.type;return"function"!=typeof o||Fi(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,a1(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 Zt(e,t,r)}return t.flags|=1,(e=wn(o,u)).ref=t.ref,e.return=t,t.child=e}function a1(e,t,n,u,r){if(null!==e){var o=e.memoizedProps;if(Ku(o,u)&&e.ref===t.ref){if(Be=!1,t.pendingProps=u=o,!(e.lanes&r))return t.lanes=e.lanes,Zt(e,t,r);131072&e.flags&&(Be=!0)}}return si(e,t,n,u,r)}function s1(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,W(hu,et),et|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=null!==o?o.baseLanes:n,W(hu,et),et|=u}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},W(hu,et),et|=n;else null!==o?(u=o.baseLanes|n,t.memoizedState=null):u=n,W(hu,et),et|=u;return Oe(e,t,r,n),t.child}function c1(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function si(e,t,n,u,r){var o=$e(n)?Tn:Se.current;return o=ru(t,o),cu(t,r),n=Jl(e,t,n,u,o,r),u=ei(),null===e||Be?(te&&u&&Pl(t),t.flags|=1,Oe(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Zt(e,t,r))}function f1(e,t,n,u,r){if($e(n)){var o=!0;g0(t)}else o=!1;if(cu(t,r),null===t.stateNode)O0(e,t),Jc(t,n,u),li(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=it(s):s=ru(t,s=$e(n)?Tn:Se.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof l.getSnapshotBeforeUpdate;f||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i!==u||a!==s)&&e1(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||He.current||cn?("function"==typeof c&&(oi(t,n,c,u),a=t.memoizedState),(i=cn||Kc(t,n,i,u,h,a,s))?(f||"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,Ac(e,t),i=t.memoizedProps,s=t.type===t.elementType?i:gt(t.type,i),l.props=s,f=t.pendingProps,h=l.context,"object"==typeof(a=n.contextType)&&null!==a?a=it(a):a=ru(t,a=$e(n)?Tn:Se.current);var v=n.getDerivedStateFromProps;(c="function"==typeof v||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i!==f||h!==a)&&e1(t,l,u,a),cn=!1,h=t.memoizedState,l.state=h,C0(t,u,l,r);var p=t.memoizedState;i!==f||h!==p||He.current||cn?("function"==typeof v&&(oi(t,n,v,u),p=t.memoizedState),(s=cn||Kc(t,n,s,u,h,p,a)||!1)?(c||"function"!=typeof l.UNSAFE_componentWillUpdate&&"function"!=typeof l.componentWillUpdate||("function"==typeof l.componentWillUpdate&&l.componentWillUpdate(u,p,a),"function"==typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(u,p,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=p),l.props=u,l.state=p,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 ci(e,t,n,u,o,r)}function ci(e,t,n,u,r,o){c1(e,t);var l=!!(128&t.flags);if(!u&&!l)return r&&gc(t,n,!1),Zt(e,t,o);u=t.stateNode,Hh.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)):Oe(e,t,i,o),t.memoizedState=u.state,r&&gc(t,n,!0),t.child}function d1(e){var t=e.stateNode;t.pendingContext?hc(0,t.pendingContext,t.pendingContext!==t.context):t.context&&hc(0,t.context,!1),Wl(e,t.containerInfo)}function p1(e,t,n,u,r){return iu(),Hl(r),t.flags|=256,Oe(e,t,n,u),t.child}var w1,mi,v1,y1,fi={dehydrated:null,treeContext:null,retryLane:0};function di(e){return{baseLanes:e,cachePool:null,transitions:null}}function h1(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),W(oe,1&r),null===e)return zl(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=Rn(e,u,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=di(n),t.memoizedState=fi,e):pi(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=ii(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=Rn(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=di(l),t.memoizedState=fi,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=ii(o=Error(T(419)),u,void 0))}if(i=!!(l&e.childLanes),Be||i){if(null!==(u=me)){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,Ut(e,r),yt(u,e,r,-1))}return Di(),L0(e,t,l,u=ii(Error(T(421))))}return"$?"===r.data?(t.flags|=128,t.child=e.child,t=e3.bind(null,e),r._reactRetry=t,null):(e=o.treeContext,Je=on(r.nextSibling),Ke=t,te=!0,mt=null,null!==e&&(ot[lt++]=$t,ot[lt++]=Bt,ot[lt++]=Dn,$t=e.id,Bt=e.overflow,Dn=t),t=pi(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=Rn(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)?di(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=fi,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 pi(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&&Hl(u),au(t,e.child,null,n),(e=pi(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function m1(e,t,n){e.lanes|=t;var u=e.alternate;null!==u&&(u.lanes|=t),Vl(e.return,t,n)}function hi(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 g1(e,t,n){var u=t.pendingProps,r=u.revealOrder,o=u.tail;if(Oe(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&&m1(e,n,t);else if(19===e.tag)m1(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}if(W(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),hi(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}hi(t,!0,n,null,o);break;case"together":hi(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function O0(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Zt(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),On|=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(!te)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var u=null;null!==n;)null!==n.alternate&&(u=n),n=n.sibling;null===u?t||null===e.tail?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Te(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 Uh(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 Te(t),null;case 1:case 17:return $e(t.type)&&m0(),Te(t),null;case 3:return u=t.stateNode,fu(),K(He),K(Se),Yl(),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&&(Si(mt),mt=null))),mi(e,t),Te(t),null;case 5:Gl(t);var r=Mn(ar.current);if(n=t.type,null!==e&&null!=t.stateNode)v1(e,t,n,u,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!u){if(null===t.stateNode)throw Error(T(166));return Te(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":X("cancel",u),X("close",u);break;case"iframe":case"object":case"embed":X("load",u);break;case"video":case"audio":for(r=0;r<er.length;r++)X(er[r],u);break;case"source":X("error",u);break;case"img":case"image":case"link":X("error",u),X("load",u);break;case"details":X("toggle",u);break;case"input":Ja(u,o),X("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!o.multiple},X("invalid",u);break;case"textarea":ns(u,o),X("invalid",u)}for(var l in Qo(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&&X("scroll",u)}switch(n){case"input":Ur(u),ts(u,o,!0);break;case"textarea":Ur(u),rs(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=os(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,w1(e,t,!1,!1),t.stateNode=e;e:{switch(l=Yo(n,u),n){case"dialog":X("cancel",e),X("close",e),r=u;break;case"iframe":case"object":case"embed":X("load",e),r=u;break;case"video":case"audio":for(r=0;r<er.length;r++)X(er[r],e);r=u;break;case"source":X("error",e),r=u;break;case"img":case"image":case"link":X("error",e),X("load",e),r=u;break;case"details":X("toggle",e),r=u;break;case"input":Ja(e,u),r=Vo(e,u),X("invalid",e);break;case"option":default:r=u;break;case"select":e._wrapperState={wasMultiple:!!u.multiple},r=re({},u,{value:void 0}),X("invalid",e);break;case"textarea":ns(e,u),r=Wo(e,u),X("invalid",e)}for(o in Qo(n,r),i=r)if(i.hasOwnProperty(o)){var a=i[o];"style"===o?as(e,a):"dangerouslySetInnerHTML"===o?null!=(a=a?a.__html:void 0)&&ls(e,a):"children"===o?"string"==typeof a?("textarea"!==n||""!==a)&&ju(e,a):"number"==typeof a&&ju(e,""+a):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(Nu.hasOwnProperty(o)?null!=a&&"onScroll"===o&&X("scroll",e):null!=a&&Lo(e,o,a,l))}switch(n){case"input":Ur(e),ts(e,u,!1);break;case"textarea":Ur(e),rs(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 Te(t),null;case 6:if(e&&null!=t.stateNode)y1(e,t,e.memoizedProps,u);else{if("string"!=typeof u&&null===t.stateNode)throw Error(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=Ke))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 Te(t),null;case 13:if(K(oe),u=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(te&&null!==Je&&1&t.mode&&!(128&t.flags))bc(),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;Te(t),o=!1}else null!==mt&&(Si(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===pe&&(pe=3):Di())),null!==t.updateQueue&&(t.flags|=4),Te(t),null);case 4:return fu(),mi(e,t),null===e&&tr(t.stateNode.containerInfo),Te(t),null;case 10:return Ul(t.type._context),Te(t),null;case 19:if(K(oe),null===(o=t.memoizedState))return Te(t),null;if(u=!!(128&t.flags),null===(l=o.rendering))if(u)pr(o,!1);else{if(0!==pe||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 W(oe,1&oe.current|2),t.child}e=e.sibling}null!==o.tail&&ce()>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&&!te)return Te(t),null}else 2*ce()-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=ce(),t.sibling=null,n=oe.current,W(oe,u?1&n|2:1&n),t):(Te(t),null);case 22:case 23:return Ti(),u=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==u&&(t.flags|=8192),u&&1&t.mode?1073741824&et&&(Te(t),6&t.subtreeFlags&&(t.flags|=8192)):Te(t),null;case 24:case 25:return null}throw Error(T(156,t.tag))}function Vh(e,t){switch(Il(t),t.tag){case 1:return $e(t.type)&&m0(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return fu(),K(He),K(Se),Yl(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Gl(t),null;case 13:if(K(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 K(oe),null;case 4:return fu(),null;case 10:return Ul(t.type._context),null;case 22:case 23:return Ti(),null;default:return null}}w1=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}},mi=function(){},v1=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=Vo(e,r),u=Vo(e,u),o=[];break;case"select":r=re({},r,{value:void 0}),u=re({},u,{value:void 0}),o=[];break;case"textarea":r=Wo(e,r),u=Wo(e,u),o=[];break;default:"function"!=typeof r.onClick&&"function"==typeof u.onClick&&(e.onclick=p0)}for(s in Qo(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&&X("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)}},y1=function(e,t,n,u){n!==u&&(t.flags|=4)};var j0=!1,De=!1,Zh="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){se(e,t,u)}else n.current=null}function gi(e,t,n){try{n()}catch(u){se(e,t,u)}}var x1=!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&&gi(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 wi(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 _1(e){var t=e.alternate;null!==t&&(e.alternate=null,_1(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[Ll],delete t[Th],delete t[Dh])),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 b1(e){return 5===e.tag||3===e.tag||4===e.tag}function E1(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||b1(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 vi(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(vi(e,t,n),e=e.sibling;null!==e;)vi(e,t,n),e=e.sibling}function yi(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(yi(e,t,n),e=e.sibling;null!==e;)yi(e,t,n),e=e.sibling}var _e=null,wt=!1;function dn(e,t,n){for(n=n.child;null!==n;)k1(e,t,n),n=n.sibling}function k1(e,t,n){if(kt&&"function"==typeof kt.onCommitFiberUnmount)try{kt.onCommitFiberUnmount(Qr,n)}catch{}switch(n.tag){case 5:De||pu(n,t);case 6:var u=_e,r=wt;_e=null,dn(e,t,n),wt=r,null!==(_e=u)&&(wt?(e=_e,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):_e.removeChild(n.stateNode));break;case 18:null!==_e&&(wt?(e=_e,n=n.stateNode,8===e.nodeType?Ml(e.parentNode,n):1===e.nodeType&&Ml(e,n),qu(e)):Ml(_e,n.stateNode));break;case 4:u=_e,r=wt,_e=n.stateNode.containerInfo,wt=!0,dn(e,t,n),_e=u,wt=r;break;case 0:case 11:case 14:case 15:if(!De&&(null!==(u=n.updateQueue)&&null!==(u=u.lastEffect))){r=u=u.next;do{var o=r,l=o.destroy;o=o.tag,void 0!==l&&(2&o||4&o)&&gi(n,t,l),r=r.next}while(r!==u)}dn(e,t,n);break;case 1:if(!De&&(pu(n,t),"function"==typeof(u=n.stateNode).componentWillUnmount))try{u.props=n.memoizedProps,u.state=n.memoizedState,u.componentWillUnmount()}catch(i){se(n,t,i)}dn(e,t,n);break;case 21:dn(e,t,n);break;case 22:1&n.mode?(De=(u=De)||null!==n.memoizedState,dn(e,t,n),De=u):dn(e,t,n);break;default:dn(e,t,n)}}function C1(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zh),t.forEach((function(u){var r=t3.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:_e=i.stateNode,wt=!1;break e;case 3:case 4:_e=i.stateNode.containerInfo,wt=!0;break e}i=i.return}if(null===_e)throw Error(T(160));k1(o,l,r),_e=null,wt=!1;var a=r.alternate;null!==a&&(a.return=null),r.return=null}catch(s){se(r,t,s)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)S1(t,e),t=t.sibling}function S1(e,t){var n=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vt(t,e),Tt(e),4&u){try{hr(3,e,e.return),P0(3,e)}catch(b){se(e,e.return,b)}try{hr(5,e,e.return)}catch(b){se(e,e.return,b)}}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{ju(r,"")}catch(b){se(e,e.return,b)}}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&&es(r,o),Yo(i,l);var s=Yo(i,o);for(l=0;l<a.length;l+=2){var c=a[l],f=a[l+1];"style"===c?as(r,f):"dangerouslySetInnerHTML"===c?ls(r,f):"children"===c?ju(r,f):Lo(r,c,f,s)}switch(i){case"input":Zo(r,o);break;case"textarea":us(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(b){se(e,e.return,b)}}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(b){se(e,e.return,b)}}break;case 3:if(vt(t,e),Tt(e),4&u&&null!==n&&n.memoizedState.isDehydrated)try{qu(t.containerInfo)}catch(b){se(e,e.return,b)}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||(bi=ce())),4&u&&C1(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(De=(s=De)||c,vt(t,e),De=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(f=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 p=h.stateNode;if("function"==typeof p.componentWillUnmount){u=h,n=h.return;try{t=u,p.props=t.memoizedProps,p.state=t.memoizedState,p.componentWillUnmount()}catch(b){se(u,n,b)}}break;case 5:pu(h,h.return);break;case 22:if(null!==h.memoizedState){D1(f);continue}}null!==v?(v.return=h,M=v):D1(f)}c=c.sibling}e:for(c=null,f=e;;){if(5===f.tag){if(null===c){c=f;try{r=f.stateNode,s?"function"==typeof(o=r.style).setProperty?o.setProperty("display","none","important"):o.display="none":(i=f.stateNode,l=null!=(a=f.memoizedProps.style)&&a.hasOwnProperty("display")?a.display:null,i.style.display=is("display",l))}catch(b){se(e,e.return,b)}}}else if(6===f.tag){if(null===c)try{f.stateNode.nodeValue=s?"":f.memoizedProps}catch(b){se(e,e.return,b)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vt(t,e),Tt(e),4&u&&C1(e);case 21:}}function Tt(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(b1(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&&(ju(r,""),u.flags&=-33),yi(e,E1(e),r);break;case 3:case 4:var l=u.stateNode.containerInfo;vi(e,E1(e),l);break;default:throw Error(T(161))}}catch(a){se(e,e.return,a)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Wh(e,t,n){M=e,A1(e)}function A1(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||j0;if(!l){var i=r.alternate,a=null!==i&&null!==i.memoizedState||De;i=j0;var s=De;if(j0=l,(De=a)&&!s)for(M=r;null!==M;)a=(l=M).child,22===l.tag&&null!==l.memoizedState?F1(r):null!==a?(a.return=l,M=a):F1(r);for(;null!==o;)M=o,A1(o),o=o.sibling;M=r,j0=i,De=s}T1(e)}else 8772&r.subtreeFlags&&null!==o?(o.return=r,M=o):T1(e)}}function T1(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:De||P0(5,t);break;case 1:var u=t.stateNode;if(4&t.flags&&!De)if(null===n)u.componentDidMount();else{var r=t.elementType===t.type?n.memoizedProps:gt(t.type,n.memoizedProps);u.componentDidUpdate(r,n.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Dc(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}Dc(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 f=c.dehydrated;null!==f&&qu(f)}}}break;default:throw Error(T(163))}De||512&t.flags&&wi(t)}catch(h){se(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 D1(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 F1(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){se(t,n,a)}break;case 1:var u=t.stateNode;if("function"==typeof u.componentDidMount){var r=t.return;try{u.componentDidMount()}catch(a){se(t,r,a)}}var o=t.return;try{wi(t)}catch(a){se(t,o,a)}break;case 5:var l=t.return;try{wi(t)}catch(a){se(t,l,a)}}}catch(a){se(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 z1,Gh=Math.ceil,I0=Rt.ReactCurrentDispatcher,xi=Rt.ReactCurrentOwner,st=Rt.ReactCurrentBatchConfig,V=0,me=null,fe=null,be=0,et=0,hu=ln(0),pe=0,mr=null,On=0,R0=0,_i=0,gr=null,Ue=null,bi=0,mu=1/0,qt=null,z0=!1,Ei=null,pn=null,H0=!1,hn=null,$0=0,wr=0,ki=null,B0=-1,U0=0;function je(){return 6&V?ce():-1!==B0?B0:B0=ce()}function mn(e){return 1&e.mode?2&V&&0!==be?be&-be:null!==Nh.transition?(0===U0&&(U0=Es()),U0):(0!==(e=Z)||(e=void 0===(e=window.event)?16:Ms(e.type)),e):1}function yt(e,t,n,u){if(50<wr)throw wr=0,ki=null,Error(T(185));$u(e,n,u),(!(2&V)||e!==me)&&(e===me&&(!(2&V)&&(R0|=n),4===pe&&gn(e,be)),Ve(e,u),1===n&&0===V&&!(1&t.mode)&&(mu=ce()+500,w0&&sn()))}function Ve(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]=Fp(i,t)):a<=t&&(e.expiredLanes|=i),o&=~i}}(e,t);var u=Kr(e,e===me?be:0);if(0===u)null!==n&&xs(n),e.callbackNode=null,e.callbackPriority=0;else if(t=u&-u,e.callbackPriority!==t){if(null!=n&&xs(n),1===t)0===e.tag?function(e){w0=!0,wc(e)}(M1.bind(null,e)):wc(M1.bind(null,e)),Sh((function(){!(6&V)&&sn()})),n=null;else{switch(ks(u)){case 1:n=ul;break;case 4:n=_s;break;case 16:default:n=Gr;break;case 536870912:n=bs}n=H1(n,N1.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function N1(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===me?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=O1();for((me!==e||be!==t)&&(qt=null,mu=ce()+500,Pn(e,t));;)try{Xh();break}catch(i){L1(e,i)}Bl(),I0.current=o,V=r,null!==fe?t=0:(me=null,be=0,t=pe)}if(0!==t){if(2===t&&(0!==(r=rl(e))&&(u=r,t=Ci(e,r))),1===t)throw n=mr,Pn(e,0),gn(e,u),Ve(e,ce()),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=rl(e),0!==o&&(u=o,t=Ci(e,o))),1!==t)))throw n=mr,Pn(e,0),gn(e,u),Ve(e,ce()),n;switch(e.finishedWork=r,e.finishedLanes=u,t){case 0:case 1:throw Error(T(345));case 2:case 5:In(e,Ue,qt);break;case 3:if(gn(e,u),(130023424&u)===u&&10<(t=bi+500-ce())){if(0!==Kr(e,0))break;if(((r=e.suspendedLanes)&u)!==u){je(),e.pingedLanes|=e.suspendedLanes&r;break}e.timeoutHandle=Nl(In.bind(null,e,Ue,qt),t);break}In(e,Ue,qt);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=ce()-u)?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*Gh(u/1960))-u)){e.timeoutHandle=Nl(In.bind(null,e,Ue,qt),u);break}In(e,Ue,qt);break;default:throw Error(T(329))}}}return Ve(e,ce()),e.callbackNode===n?N1.bind(null,e):null}function Ci(e,t){var n=gr;return e.current.memoizedState.isDehydrated&&(Pn(e,t).flags|=256),2!==(e=V0(e,t))&&(t=Ue,Ue=n,null!==t&&Si(t)),e}function Si(e){null===Ue?Ue=e:Ue.push.apply(Ue,e)}function gn(e,t){for(t&=~_i,t&=~R0,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 M1(e){if(6&V)throw Error(T(327));gu();var t=Kr(e,0);if(!(1&t))return Ve(e,ce()),null;var n=V0(e,t);if(0!==e.tag&&2===n){var u=rl(e);0!==u&&(t=u,n=Ci(e,u))}if(1===n)throw n=mr,Pn(e,0),gn(e,t),Ve(e,ce()),n;if(6===n)throw Error(T(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,In(e,Ue,qt),Ve(e,ce()),null}function Ai(e,t){var n=V;V|=1;try{return e(t)}finally{0===(V=n)&&(mu=ce()+500,w0&&sn())}}function jn(e){null!==hn&&0===hn.tag&&!(6&V)&&gu();var t=V;V|=1;var n=st.transition,u=Z;try{if(st.transition=null,Z=1,e)return e()}finally{Z=u,st.transition=n,!(6&(V=t))&&sn()}}function Ti(){et=hu.current,K(hu)}function Pn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Ch(n)),null!==fe)for(n=fe.return;null!==n;){var u=n;switch(Il(u),u.tag){case 1:null!=(u=u.type.childContextTypes)&&m0();break;case 3:fu(),K(He),K(Se),Yl();break;case 5:Gl(u);break;case 4:fu();break;case 13:case 19:K(oe);break;case 10:Ul(u.type._context);break;case 22:case 23:Ti()}n=n.return}if(me=e,fe=e=wn(e.current,null),be=et=t,pe=0,mr=null,_i=R0=On=0,Ue=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 L1(e,t){for(;;){var n=fe;try{if(Bl(),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,he=de=le=null,sr=!1,cr=0,xi.current=null,null===n||null===n.return){pe=1,mr=t,fe=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,f=c.tag;if(!(1&c.mode||0!==f&&11!==f&&15!==f)){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=r1(l);if(null!==v){v.flags&=-257,o1(v,l,i,0,t),1&v.mode&&u1(o,s,t),a=s;var p=(t=v).updateQueue;if(null===p){var b=new Set;b.add(a),t.updateQueue=b}else p.add(a);break e}if(!(1&t)){u1(o,s,t),Di();break e}a=Error(T(426))}else if(te&&1&i.mode){var S=r1(l);if(null!==S){!(65536&S.flags)&&(S.flags|=256),o1(S,l,i,0,t),Hl(du(a,i));break e}}o=a=du(a,i),4!==pe&&(pe=2),null===gr?gr=[o]:gr.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,Tc(o,t1(0,a,t));break e;case 1:i=a;var d=o.type,m=o.stateNode;if(!(128&o.flags||"function"!=typeof d.getDerivedStateFromError&&(null===m||"function"!=typeof m.componentDidCatch||null!==pn&&pn.has(m)))){o.flags|=65536,t&=-t,o.lanes|=t,Tc(o,n1(o,i,t));break e}}o=o.return}while(null!==o)}P1(n)}catch(C){t=C,fe===n&&null!==n&&(fe=n=n.return);continue}break}}function O1(){var e=I0.current;return I0.current=N0,null===e?N0:e}function Di(){(0===pe||3===pe||2===pe)&&(pe=4),null===me||!(268435455&On)&&!(268435455&R0)||gn(me,be)}function V0(e,t){var n=V;V|=2;var u=O1();for((me!==e||be!==t)&&(qt=null,Pn(e,t));;)try{Yh();break}catch(r){L1(e,r)}if(Bl(),V=n,I0.current=u,null!==fe)throw Error(T(261));return me=null,be=0,pe}function Yh(){for(;null!==fe;)j1(fe)}function Xh(){for(;null!==fe&&!bp();)j1(fe)}function j1(e){var t=z1(e.alternate,e,et);e.memoizedProps=e.pendingProps,null===t?P1(e):fe=t,xi.current=null}function P1(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Vh(n,t)))return n.flags&=32767,void(fe=n);if(null===e)return pe=6,void(fe=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Uh(n,t,et)))return void(fe=n);if(null!==(t=t.sibling))return void(fe=t);fe=t=e}while(null!==t);0===pe&&(pe=5)}function In(e,t,n){var u=Z,r=st.transition;try{st.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===me&&(fe=me=null,be=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||H0||(H0=!0,H1(Gr,(function(){return gu(),null}))),o=!!(15990&n.flags),15990&n.subtreeFlags||o){o=st.transition,st.transition=null;var l=Z;Z=1;var i=V;V|=4,xi.current=null,function(e,t){if(Tl=t0,xl(e=Ks())){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,f=e,h=null;t:for(;;){for(var v;f!==n||0!==r&&3!==f.nodeType||(i=l+r),f!==o||0!==u&&3!==f.nodeType||(a=l+u),3===f.nodeType&&(l+=f.nodeValue.length),null!==(v=f.firstChild);)h=f,f=v;for(;;){if(f===e)break t;if(h===n&&++s===r&&(i=l),h===o&&++c===u&&(a=l),null!==(v=f.nextSibling))break;h=(f=h).parentNode}f=v}n=-1===i||-1===a?null:{start:i,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Dl={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 p=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!==p){var b=p.memoizedProps,S=p.memoizedState,g=t.stateNode,d=g.getSnapshotBeforeUpdate(t.elementType===t.type?b:gt(t.type,b),S);g.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;1===m.nodeType?m.textContent="":9===m.nodeType&&m.documentElement&&m.removeChild(m.documentElement);break;default:throw Error(T(163))}}catch(_){se(t,t.return,_)}if(null!==(e=t.sibling)){e.return=t.return,M=e;break}M=t.return}p=x1,x1=!1}(e,n),S1(n,e),vh(Dl),t0=!!Tl,Dl=Tl=null,e.current=n,Wh(n),Ep(),V=i,Z=l,st.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),Ve(e,ce()),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=Ei,Ei=null,e;1&$0&&0!==e.tag&&gu(),o=e.pendingLanes,1&o?e===ki?wr++:(wr=0,ki=e):wr=0,sn()}(e,t,n,u)}finally{st.transition=r,Z=u}return null}function gu(){if(null!==hn){var e=ks($0),t=st.transition,n=Z;try{if(st.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 f=c.child;if(null!==f)f.return=c,M=f;else for(;null!==M;){var h=(c=M).sibling,v=c.return;if(_1(c),c===s){M=null;break}if(null!==h){h.return=v,M=h;break}M=v}}}var p=o.alternate;if(null!==p){var b=p.child;if(null!==b){p.child=null;do{var S=b.sibling;b.sibling=null,b=S}while(null!==b)}}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 g=o.sibling;if(null!==g){g.return=o.return,M=g;break e}M=o.return}}var d=e.current;for(M=d;null!==M;){var m=(l=M).child;if(2064&l.subtreeFlags&&null!==m)m.return=l,M=m;else e:for(l=d;null!==M;){if(2048&(i=M).flags)try{switch(i.tag){case 0:case 11:case 15:P0(9,i)}}catch(C){se(i,i.return,C)}if(i===l){M=null;break e}var _=i.sibling;if(null!==_){_.return=i.return,M=_;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,st.transition=t}}return!1}function I1(e,t,n){e=fn(e,t=t1(0,t=du(n,t),1),1),t=je(),null!==e&&($u(e,1,t),Ve(e,t))}function se(e,t,n){if(3===e.tag)I1(e,e,n);else for(;null!==t;){if(3===t.tag){I1(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=n1(t,e=du(n,e),1),1),e=je(),null!==t&&($u(t,1,e),Ve(t,e));break}}t=t.return}}function Jh(e,t,n){var u=e.pingCache;null!==u&&u.delete(t),t=je(),e.pingedLanes|=e.suspendedLanes&n,me===e&&(be&n)===n&&(4===pe||3===pe&&(130023424&be)===be&&500>ce()-bi?Pn(e,0):_i|=n),Ve(e,t)}function R1(e,t){0===t&&(1&e.mode?(t=Xr,!(130023424&(Xr<<=1))&&(Xr=4194304)):t=1);var n=je();null!==(e=Ut(e,t))&&($u(e,t,n),Ve(e,n))}function e3(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),R1(e,n)}function t3(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),R1(e,n)}function H1(e,t){return ys(e,t)}function n3(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 ct(e,t,n,u){return new n3(e,t,n,u)}function Fi(e){return!(!(e=e.prototype)||!e.isReactComponent)}function wn(e,t){var n=e.alternate;return null===n?((n=ct(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)Fi(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case Zn:return Rn(n.children,r,o,t);case Oo:l=8,r|=8;break;case jo:return(e=ct(12,n,t,2|r)).elementType=jo,e.lanes=o,e;case Io:return(e=ct(13,n,t,r)).elementType=Io,e.lanes=o,e;case Ro:return(e=ct(19,n,t,r)).elementType=Ro,e.lanes=o,e;case Qa:return q0(n,r,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Wa:l=10;break e;case Ga:l=9;break e;case Po:l=11;break e;case zo:l=14;break e;case Xt:l=16,u=null;break e}throw Error(T(130,null==e?e:typeof e,""))}return(t=ct(l,n,t,r)).elementType=e,t.type=u,t.lanes=o,t}function Rn(e,t,n,u){return(e=ct(7,e,u,t)).lanes=n,e}function q0(e,t,n,u){return(e=ct(22,e,u,t)).elementType=Qa,e.lanes=n,e.stateNode={isHidden:!1},e}function Ni(e,t,n){return(e=ct(6,e,null,t)).lanes=n,e}function Mi(e,t,n){return(t=ct(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function r3(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=ol(0),this.expirationTimes=ol(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ol(0),this.identifierPrefix=u,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function Li(e,t,n,u,r,o,l,i,a){return e=new r3(e,t,n,i,a),1===t?(t=1,!0===o&&(t|=8)):t=0,o=ct(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:u,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ql(o),e}function $1(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($e(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($e(n))return mc(e,n,t)}return t}function B1(e,t,n,u,r,o,l,i,a){return(e=Li(n,u,!0,e,0,o,0,i,a)).context=$1(null),n=e.current,(o=Vt(u=je(),r=mn(n))).callback=t??null,fn(n,o,r),e.current.lanes=r,$u(e,r,u),Ve(e,u),e}function W0(e,t,n,u){var r=t.current,o=je(),l=mn(r);return n=$1(n),null===t.context?t.context=n:t.pendingContext=n,(t=Vt(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 U1(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){U1(e,t),(e=e.alternate)&&U1(e,t)}z1=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||He.current)Be=!0;else{if(!(e.lanes&n||128&t.flags))return Be=!1,function(e,t,n){switch(t.tag){case 3:d1(t),iu();break;case 5:Fc(t);break;case 1:$e(t.type)&&g0(t);break;case 4:Wl(t,t.stateNode.containerInfo);break;case 10:var u=t.type._context,r=t.memoizedProps.value;W(b0,u._currentValue),u._currentValue=r;break;case 13:if(null!==(u=t.memoizedState))return null!==u.dehydrated?(W(oe,1&oe.current),t.flags|=128,null):n&t.child.childLanes?h1(e,t,n):(W(oe,1&oe.current),null!==(e=Zt(e,t,n))?e.sibling:null);W(oe,1&oe.current);break;case 19:if(u=!!(n&t.childLanes),128&e.flags){if(u)return g1(e,t,n);t.flags|=128}if(null!==(r=t.memoizedState)&&(r.rendering=null,r.tail=null,r.lastEffect=null),W(oe,oe.current),u)break;return null;case 22:case 23:return t.lanes=0,s1(e,t,n)}return Zt(e,t,n)}(e,t,n);Be=!!(131072&e.flags)}else Be=!1,te&&1048576&t.flags&&vc(t,y0,t.index);switch(t.lanes=0,t.tag){case 2:var u=t.type;O0(e,t),e=t.pendingProps;var r=ru(t,Se.current);cu(t,n),r=Jl(null,t,u,e,r,n);var o=ei();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,$e(u)?(o=!0,g0(t)):o=!1,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,ql(t),r.updater=M0,t.stateNode=r,r._reactInternals=t,li(t,u,e,n),t=ci(null,t,u,!0,o,n)):(t.tag=0,te&&o&&Pl(t),Oe(null,t,r,n),t=t.child),t;case 16:u=t.elementType;e:{switch(O0(e,t),e=t.pendingProps,u=(r=u._init)(u._payload),t.type=u,r=t.tag=function(e){if("function"==typeof e)return Fi(e)?1:0;if(null!=e){if((e=e.$$typeof)===Po)return 11;if(e===zo)return 14}return 2}(u),e=gt(u,e),r){case 0:t=si(null,t,u,e,n);break e;case 1:t=f1(null,t,u,e,n);break e;case 11:t=l1(null,t,u,e,n);break e;case 14:t=i1(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,si(e,t,u,r=t.elementType===u?r:gt(u,r),n);case 1:return u=t.type,r=t.pendingProps,f1(e,t,u,r=t.elementType===u?r:gt(u,r),n);case 3:e:{if(d1(t),null===e)throw Error(T(387));u=t.pendingProps,r=(o=t.memoizedState).element,Ac(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=p1(e,t,u,n,r=du(Error(T(423)),t));break e}if(u!==r){t=p1(e,t,u,n,r=du(Error(T(424)),t));break e}for(Je=on(t.stateNode.containerInfo.firstChild),Ke=t,te=!0,mt=null,n=Cc(t,null,u,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(iu(),u===r){t=Zt(e,t,n);break e}Oe(e,t,u,n)}t=t.child}return t;case 5:return Fc(t),null===e&&zl(t),u=t.type,r=t.pendingProps,o=null!==e?e.memoizedProps:null,l=r.children,Fl(u,r)?l=null:null!==o&&Fl(u,o)&&(t.flags|=32),c1(e,t),Oe(e,t,l,n),t.child;case 6:return null===e&&zl(t),null;case 13:return h1(e,t,n);case 4:return Wl(t,t.stateNode.containerInfo),u=t.pendingProps,null===e?t.child=au(t,null,u,n):Oe(e,t,u,n),t.child;case 11:return u=t.type,r=t.pendingProps,l1(e,t,u,r=t.elementType===u?r:gt(u,r),n);case 7:return Oe(e,t,t.pendingProps,n),t.child;case 8:case 12:return Oe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(u=t.type._context,r=t.pendingProps,o=t.memoizedProps,l=r.value,W(b0,u._currentValue),u._currentValue=l,null!==o)if(ht(o.value,l)){if(o.children===r.children&&!He.current){t=Zt(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=Vt(-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),Vl(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),Vl(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}Oe(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=it(r)),t.flags|=1,Oe(e,t,u,n),t.child;case 14:return r=gt(u=t.type,t.pendingProps),i1(e,t,u,r=gt(u.type,r),n);case 15:return a1(e,t,t.type,t.pendingProps,n);case 17:return u=t.type,r=t.pendingProps,r=t.elementType===u?r:gt(u,r),O0(e,t),t.tag=1,$e(u)?(e=!0,g0(t)):e=!1,cu(t,n),Jc(t,u,r),li(t,u,r,n),ci(null,t,u,!0,e,n);case 19:return g1(e,t,n);case 22:return s1(e,t,n)}throw Error(T(156,t.tag))};var V1="function"==typeof reportError?reportError:function(e){console.error(e)};function ji(e){this._internalRoot=e}function Q0(e){this._internalRoot=e}function Pi(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 Z1(){}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=B1(t,u,e,0,null,!1,0,"",Z1);return e._reactRootContainer=l,e[zt]=l.current,tr(8===e.nodeType?e.parentNode:e),jn(),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=Li(e,0,!1,null,0,!1,0,"",Z1);return e._reactRootContainer=a,e[zt]=a.current,tr(8===e.nodeType?e.parentNode:e),jn((function(){W0(t,a,n,u)})),a}(n,t,e,r,u);return G0(l)}Q0.prototype.render=ji.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(T(409));W0(e,t,null,null)},Q0.prototype.unmount=ji.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;jn((function(){W0(null,e,null,null)})),t[zt]=null}},Q0.prototype.unstable_scheduleHydration=function(e){if(e){var t=As();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&&Fs(e)}},Cs=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Hu(t.pendingLanes);0!==n&&(ll(t,1|n),Ve(t,ce()),!(6&V)&&(mu=ce()+500,sn()))}break;case 13:jn((function(){var u=Ut(e,1);if(null!==u){var r=je();yt(u,e,1,r)}})),Oi(e,1)}},il=function(e){if(13===e.tag){var t=Ut(e,134217728);if(null!==t)yt(t,e,134217728,je());Oi(e,134217728)}},Ss=function(e){if(13===e.tag){var t=mn(e),n=Ut(e,t);if(null!==n)yt(n,e,t,je());Oi(e,t)}},As=function(){return Z},Ts=function(e,t){var n=Z;try{return Z=e,t()}finally{Z=n}},Jo=function(e,t,n){switch(t){case"input":if(Zo(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));Ka(u),Zo(u,r)}}}break;case"textarea":us(e,n);break;case"select":null!=(t=n.value)&&qn(e,!!n.multiple,t,!1)}},ds=Ai,ps=jn;var a3={usingClientEntryPoint:!1,Events:[rr,nu,h0,cs,fs,Ai]},vr={findFiberByHostInstance:An,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},s3={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=ws(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(s3),kt=K0}catch{}}Qe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=a3,Qe.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Pi(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)},Qe.createRoot=function(e,t){if(!Pi(e))throw Error(T(299));var n=!1,u="",r=V1;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(u=t.identifierPrefix),void 0!==t.onRecoverableError&&(r=t.onRecoverableError)),t=Li(e,1,!1,null,0,n,0,u,r),e[zt]=t.current,tr(8===e.nodeType?e.parentNode:e),new ji(t)},Qe.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=ws(t))?null:e.stateNode},Qe.flushSync=function(e){return jn(e)},Qe.hydrate=function(e,t,n){if(!Y0(t))throw Error(T(200));return X0(null,e,t,!0,n)},Qe.hydrateRoot=function(e,t,n){if(!Pi(e))throw Error(T(405));var u=null!=n&&n.hydratedSources||null,r=!1,o="",l=V1;if(null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=B1(t,null,e,1,n??null,r,0,o,l),e[zt]=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)},Qe.render=function(e,t,n){if(!Y0(t))throw Error(T(200));return X0(null,e,t,!1,n)},Qe.unmountComponentAtNode=function(e){if(!Y0(e))throw Error(T(40));return!!e._reactRootContainer&&(jn((function(){X0(null,null,e,!1,(function(){e._reactRootContainer=null,e[zt]=null}))})),!0)},Qe.unstable_batchedUpdates=Ai,Qe.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)},Qe.version="18.3.1-next-f1338f8080-20240426",function q1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(q1)}catch(e){console.error(e)}}(),$a.exports=Qe;var Ii=$a.exports,W1=Ii;Do.createRoot=W1.createRoot,Do.hydrateRoot=W1.hydrateRoot;const Ri=k.createContext(null),G1={embedId:null,brandName:"Rudi",brandSlogan:"My default brand slogan",brandImageUrl:null,headerBgColor:"#ffffff",headerTextColor:"#000000",headerBgPattern:"dog",assistantIcon:null,buttonColor:"#262626",chatIcon:"plus",chatIconUrl:null,arrowDownColor:"white",socialFbUrl:null,socialLineUrl:null,socialPhoneUrl:null,greeting:null,greetings:null,userBgColor:null,userTextColor:null,assistantBgColor:null,assistantTextColor:null,noSponsor:"true",position:"bottom-right",windowHeight:null,windowWidth:null,textSize:null,allowFullscreen:"off",openOnLoad:"off",supportEmail:null,showRag:null,showActions:null,showAssistants:null,language:"en",prompt:null,model:null,temperature:null};const J0="___anm-chat-widget-open___",Q1="___anm-chat-greetings-shown___";const h3=k.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var m3=Object.defineProperty,eo=Object.getOwnPropertySymbols,Y1=Object.prototype.hasOwnProperty,X1=Object.prototype.propertyIsEnumerable,K1=(e,t,n)=>t in e?m3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J1=(e,t)=>{for(var n in t||(t={}))Y1.call(t,n)&&K1(e,n,t[n]);if(eo)for(var n of eo(t))X1.call(t,n)&&K1(e,n,t[n]);return e},ef=(e,t)=>{var n={};for(var u in e)Y1.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&&X1.call(e,u)&&(n[u]=e[u]);return n};const tf=k.forwardRef(((e,t)=>{const n=e,{alt:u,color:r,size:o,weight:l,mirrored:i,children:a,weights:s}=n,c=ef(n,["alt","color","size","weight","mirrored","children","weights"]),f=k.useContext(h3),{color:h="currentColor",size:v,weight:p="regular",mirrored:b=!1}=f,S=ef(f,["color","size","weight","mirrored"]);return w.createElement("svg",J1(J1({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||b?"scale(-1, 1)":void 0},S),c),!!u&&w.createElement("title",null,u),a,s.get(l??p))}));tf.displayName="IconBase";const xt=tf,g3=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.createElement("path",{d:"M200,144l-72,72L56,144Z",opacity:"0.2"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 w3=Object.defineProperty,v3=Object.defineProperties,y3=Object.getOwnPropertyDescriptors,nf=Object.getOwnPropertySymbols,x3=Object.prototype.hasOwnProperty,_3=Object.prototype.propertyIsEnumerable,uf=(e,t,n)=>t in e?w3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const rf=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>v3(e,y3(t)))(((e,t)=>{for(var n in t||(t={}))x3.call(t,n)&&uf(e,n,t[n]);if(nf)for(var n of nf(t))_3.call(t,n)&&uf(e,n,t[n]);return e})({ref:t},e),{weights:g3}))));rf.displayName="ArrowDown";const k3=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 C3=Object.defineProperty,S3=Object.defineProperties,A3=Object.getOwnPropertyDescriptors,of=Object.getOwnPropertySymbols,T3=Object.prototype.hasOwnProperty,D3=Object.prototype.propertyIsEnumerable,lf=(e,t,n)=>t in e?C3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const af=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>S3(e,A3(t)))(((e,t)=>{for(var n in t||(t={}))T3.call(t,n)&&lf(e,n,t[n]);if(of)for(var n of of(t))D3.call(t,n)&&lf(e,n,t[n]);return e})({ref:t},e),{weights:k3}))));af.displayName="Binoculars";const M3=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 L3=Object.defineProperty,O3=Object.defineProperties,j3=Object.getOwnPropertyDescriptors,sf=Object.getOwnPropertySymbols,P3=Object.prototype.hasOwnProperty,I3=Object.prototype.propertyIsEnumerable,cf=(e,t,n)=>t in e?L3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const ff=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>O3(e,j3(t)))(((e,t)=>{for(var n in t||(t={}))P3.call(t,n)&&cf(e,n,t[n]);if(sf)for(var n of sf(t))I3.call(t,n)&&cf(e,n,t[n]);return e})({ref:t},e),{weights:M3}))));ff.displayName="ChatCircleDots";const H3=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 $3=Object.defineProperty,B3=Object.defineProperties,U3=Object.getOwnPropertyDescriptors,df=Object.getOwnPropertySymbols,V3=Object.prototype.hasOwnProperty,Z3=Object.prototype.propertyIsEnumerable,pf=(e,t,n)=>t in e?$3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const zi=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>B3(e,U3(t)))(((e,t)=>{for(var n in t||(t={}))V3.call(t,n)&&pf(e,n,t[n]);if(df)for(var n of df(t))Z3.call(t,n)&&pf(e,n,t[n]);return e})({ref:t},e),{weights:H3}))));zi.displayName="CircleNotch";const G3=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 Q3=Object.defineProperty,Y3=Object.defineProperties,X3=Object.getOwnPropertyDescriptors,hf=Object.getOwnPropertySymbols,K3=Object.prototype.hasOwnProperty,J3=Object.prototype.propertyIsEnumerable,mf=(e,t,n)=>t in e?Q3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const gf=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>Y3(e,X3(t)))(((e,t)=>{for(var n in t||(t={}))K3.call(t,n)&&mf(e,n,t[n]);if(hf)for(var n of hf(t))J3.call(t,n)&&mf(e,n,t[n]);return e})({ref:t},e),{weights:G3}))));gf.displayName="Headset";const n6=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 u6=Object.defineProperty,r6=Object.defineProperties,o6=Object.getOwnPropertyDescriptors,wf=Object.getOwnPropertySymbols,l6=Object.prototype.hasOwnProperty,i6=Object.prototype.propertyIsEnumerable,vf=(e,t,n)=>t in e?u6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const yf=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>r6(e,o6(t)))(((e,t)=>{for(var n in t||(t={}))l6.call(t,n)&&vf(e,n,t[n]);if(wf)for(var n of wf(t))i6.call(t,n)&&vf(e,n,t[n]);return e})({ref:t},e),{weights:n6}))));yf.displayName="MagicWand";const c6=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 f6=Object.defineProperty,d6=Object.defineProperties,p6=Object.getOwnPropertyDescriptors,xf=Object.getOwnPropertySymbols,h6=Object.prototype.hasOwnProperty,m6=Object.prototype.propertyIsEnumerable,_f=(e,t,n)=>t in e?f6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const bf=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>d6(e,p6(t)))(((e,t)=>{for(var n in t||(t={}))h6.call(t,n)&&_f(e,n,t[n]);if(xf)for(var n of xf(t))m6.call(t,n)&&_f(e,n,t[n]);return e})({ref:t},e),{weights:c6}))));bf.displayName="MagnifyingGlass";const v6=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 y6=Object.defineProperty,x6=Object.defineProperties,_6=Object.getOwnPropertyDescriptors,Ef=Object.getOwnPropertySymbols,b6=Object.prototype.hasOwnProperty,E6=Object.prototype.propertyIsEnumerable,kf=(e,t,n)=>t in e?y6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Cf=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>x6(e,_6(t)))(((e,t)=>{for(var n in t||(t={}))b6.call(t,n)&&kf(e,n,t[n]);if(Ef)for(var n of Ef(t))E6.call(t,n)&&kf(e,n,t[n]);return e})({ref:t},e),{weights:v6}))));Cf.displayName="PaperPlaneRight";const S6=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 A6=Object.defineProperty,T6=Object.defineProperties,D6=Object.getOwnPropertyDescriptors,Sf=Object.getOwnPropertySymbols,F6=Object.prototype.hasOwnProperty,N6=Object.prototype.propertyIsEnumerable,Af=(e,t,n)=>t in e?A6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Tf=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>T6(e,D6(t)))(((e,t)=>{for(var n in t||(t={}))F6.call(t,n)&&Af(e,n,t[n]);if(Sf)for(var n of Sf(t))N6.call(t,n)&&Af(e,n,t[n]);return e})({ref:t},e),{weights:S6}))));Tf.displayName="Plus";const O6=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 j6=Object.defineProperty,P6=Object.defineProperties,I6=Object.getOwnPropertyDescriptors,Df=Object.getOwnPropertySymbols,R6=Object.prototype.hasOwnProperty,z6=Object.prototype.propertyIsEnumerable,Ff=(e,t,n)=>t in e?j6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Nf=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>P6(e,I6(t)))(((e,t)=>{for(var n in t||(t={}))R6.call(t,n)&&Ff(e,n,t[n]);if(Df)for(var n of Df(t))z6.call(t,n)&&Ff(e,n,t[n]);return e})({ref:t},e),{weights:O6}))));Nf.displayName="Warning";const B6=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 U6=Object.defineProperty,V6=Object.defineProperties,Z6=Object.getOwnPropertyDescriptors,Mf=Object.getOwnPropertySymbols,q6=Object.prototype.hasOwnProperty,W6=Object.prototype.propertyIsEnumerable,Lf=(e,t,n)=>t in e?U6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Of=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>V6(e,Z6(t)))(((e,t)=>{for(var n in t||(t={}))q6.call(t,n)&&Lf(e,n,t[n]);if(Mf)for(var n of Mf(t))W6.call(t,n)&&Lf(e,n,t[n]);return e})({ref:t},e),{weights:B6}))));Of.displayName="X";const Hi={plus:Tf,chatBubble:ff,support:gf,search2:af,search:bf,magic:yf};function Y6({settings:e,isOpen:t,toggleBot:n}){const u=Object.hasOwn(Hi,null==e?void 0:e.chatIcon)?Hi[e.chatIcon]:Hi.plus,r="white"===e.arrowDownColor?"tw-gf":"tw-ff";return y.jsx("button",{id:"animuz-embed-chat-button",onClick:n,className:"tw-a tw-vc tw-pf tw-am tw-lc tw-xb tw-la tw-pe tw-tk tw-eo",style:{position:"fixed",bottom:"16px",right:"16px",height:"56px",width:"56px",borderRadius:"9999px",backgroundColor:e.buttonColor},"aria-label":"Toggle Menu",children:y.jsxs("div",{className:" tw-am tw-ve tw-xc tw-kl tw-xk tw-tk",children:[e.chatIconUrl?y.jsx("img",{className:"tw-kl tw-xk tw-pe tw-jh "+(t?"tw-jk tw-gi tw-bh":"tw-ki tw-xf tw-mj"),src:e.chatIconUrl,alt:"Chat Icon"}):y.jsx(u,{className:"tw-ui tw-hh tw-gf tw-ef tw-pj tw-pe tw-jh "+(t?"tw-jk tw-gi tw-bh":"tw-ki tw-xf tw-mj")}),y.jsx("svg",{viewBox:"0 0 24 24",className:`tw-ui ${r} tw-oj tw-pe tw-jh tw-mo tw-ao tw-qh `+(t?"tw-ki tw-mj tw-xf":"tw-jk tw-jf tw-gi"),children:y.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})})]})})}const jf=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:31,fill:"none",...e},k.createElement("rect",{width:30,height:30,y:.144,fill:"#fff",rx:15}),k.createElement("g",{clipPath:"url(#rudi_svg__a)"},k.createElement("mask",{id:"rudi_svg__b",width:26,height:24,x:2,y:3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},k.createElement("path",{fill:"#fff",d:"M27.15 3.17H2.94v23.813H27.15z"})),k.createElement("g",{fill:"#50A0FF",mask:"url(#rudi_svg__b)"},k.createElement("path",{d:"M26.144 9.973c-.77-1.276-1.852-2.49-2.583-3.126-1.596-1.39-2.926-1.357-3.578-1.213q-.411.092-.746.293c-1.136-.83-2.519-1.236-4.192-1.236s-3.055.407-4.192 1.237a2.5 2.5 0 0 0-.746-.294c-.651-.144-1.982-.178-3.577 1.213-.731.636-1.813 1.85-2.584 3.126-1.043 1.727-1.275 3.124-.69 4.153.714 1.256 1.797 1.577 2.671 1.657-.215.82-.347 1.7-.347 2.794 0 1.45.335 2.698.998 3.71.582.888 1.42 1.6 2.49 2.114 1.978.951 4.359 1.061 5.977 1.061s4-.11 5.977-1.06c1.07-.515 1.909-1.227 2.491-2.116.662-1.01.998-2.259.998-3.71 0-1.094-.133-1.972-.348-2.793.875-.08 1.958-.401 2.672-1.657.585-1.028.352-2.426-.69-4.153M6.387 14.347c-.774-.02-1.403-.167-1.838-.932-.295-.52-.05-1.503.671-2.698.685-1.134 1.669-2.236 2.292-2.78 1.03-.897 1.803-.947 2.166-.899-1.081 1.297-1.744 2.982-2.298 4.62a48 48 0 0 1-.665 1.817c-.114.3-.224.588-.328.872m7.692 4.779c-.384-.377-.584-.773-.584-.969 0-.175.03-.187.144-.234.323-.134.957-.15 1.406-.15.45 0 1.084.016 1.407.15.113.047.144.06.144.234 0 .196-.2.592-.584.969-.377.37-.78.57-.967.57s-.59-.2-.966-.57m6.293 3.966c-1.138.547-2.643.843-4.586.902v-2.986c.582-.22 1.056-.637 1.273-.851.306-.301 1.019-1.099 1.019-2 0-.737-.374-1.297-1.051-1.578-.452-.187-1.026-.263-1.982-.263-.955 0-1.53.076-1.981.263-.678.28-1.051.841-1.051 1.578 0 .901.712 1.699 1.018 2 .218.214.692.63 1.273.851v2.986c-1.943-.059-3.448-.355-4.585-.902-1.788-.86-2.658-2.337-2.658-4.515 0-1.864.437-3.007 1.041-4.59a50 50 0 0 0 .684-1.87c1.31-3.87 2.695-5.968 6.26-5.968s4.95 2.098 6.259 5.969c.238.705.475 1.324.683 1.87.604 1.582 1.041 2.725 1.041 4.589 0 2.178-.87 3.655-2.657 4.515m5.17-9.677c-.435.765-1.065.912-1.839.932a64 64 0 0 0-.328-.872 48 48 0 0 1-.664-1.817c-.554-1.638-1.217-3.323-2.298-4.62.363-.048 1.135.002 2.165.9.624.543 1.607 1.645 2.292 2.779.722 1.195.967 2.179.672 2.698"}),k.createElement("path",{d:"M12.578 12.438a.97.97 0 0 0-.973.968c0 .535.437.97.973.97a.97.97 0 0 0 .973-.97.97.97 0 0 0-.973-.969M17.504 12.43a.98.98 0 0 0-.98.976c0 .54.438.976.98.976.54 0 .98-.437.98-.976a.98.98 0 0 0-.98-.976"}))),k.createElement("defs",null,k.createElement("clipPath",{id:"rudi_svg__a"},k.createElement("path",{fill:"#fff",d:"M1.523 4.644h27v21h-27z"})))),X6=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",...e},k.createElement("path",{d:"M20 .834C8.975.834 0 8.164 0 17.172c0 8.069 7.117 14.829 16.725 16.114.652.138 1.538.433 1.763.99.2.505.132 1.285.064 1.811l-.274 1.71c-.075.505-.4 1.989 1.749 1.082 2.151-.903 11.526-6.84 15.726-11.698C38.627 24.014 40 20.769 40 17.172 40 8.164 31.025.834 20 .834m-7.828 21.695H8.195a1.06 1.06 0 0 1-1.05-1.055v-8.002a1.06 1.06 0 0 1 1.05-1.056c.58 0 1.05.478 1.05 1.056v6.945h2.927a1.056 1.056 0 0 1 0 2.112m4.11-1.055c0 .577-.47 1.055-1.052 1.055a1.055 1.055 0 0 1-1.045-1.055v-8.002c0-.578.47-1.056 1.05-1.056.577 0 1.047.478 1.047 1.056zm9.568 0c0 .453-.29.855-.72 1a1.1 1.1 0 0 1-.332.052c-.351 0-.651-.152-.85-.42l-4.071-5.564v4.93c0 .577-.465 1.055-1.052 1.055a1.053 1.053 0 0 1-1.043-1.055v-8a1.05 1.05 0 0 1 1.04-1.053c.325 0 .625.175.825.427l4.103 5.585v-4.959c0-.578.47-1.056 1.05-1.056.575 0 1.05.478 1.05 1.056zm6.425-5.058c.582 0 1.05.478 1.05 1.058 0 .578-.468 1.057-1.05 1.057H29.35v1.886h2.925c.582 0 1.05.475 1.05 1.057 0 .577-.468 1.055-1.05 1.055h-3.977a1.055 1.055 0 0 1-1.045-1.055v-8.002c0-.578.47-1.056 1.05-1.056h3.977c.577 0 1.045.478 1.045 1.056 0 .585-.468 1.057-1.05 1.057H29.35v1.887z"})),K6=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e},k.createElement("path",{d:"M20 .004C9.192-.21.249 8.362.002 19.169a18.8 18.8 0 0 0 6.666 14.265v5.733a.833.833 0 0 0 1.275.706l4.644-2.901A20.6 20.6 0 0 0 20 38.333c10.808.214 19.751-8.357 19.998-19.164C39.751 8.362 30.808-.21 20 .004"}),k.createElement("path",{fill:"currentColor",d:"M33.166 14.335a.83.83 0 0 0-1.066-.233l-8.666 4.724-5.391-4.623a.833.833 0 0 0-1.132.044l-9.999 9.999a.833.833 0 0 0 .988 1.32l8.666-4.725 5.396 4.625a.833.833 0 0 0 1.132-.044l9.999-9.999a.83.83 0 0 0 .073-1.088"})),J6=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e},k.createElement("path",{d:"M34.14 5.856c-7.812-7.81-20.475-7.808-28.284.004-7.81 7.812-7.808 20.475.004 28.284 7.812 7.81 20.475 7.808 28.284-.004a20 20 0 0 0-.004-28.284M30.29 27.86q-.002 0-.003.003v-.007l-1.014 1.006a5.33 5.33 0 0 1-5.033 1.44 17.7 17.7 0 0 1-5.147-2.306 23.8 23.8 0 0 1-4.06-3.273A24 24 0 0 1 12 21.043a18.7 18.7 0 0 1-2.28-4.614 5.33 5.33 0 0 1 1.333-5.446l1.187-1.187a.847.847 0 0 1 1.197-.003l.003.003 3.747 3.747c.331.33.332.866.002 1.197l-.002.002-2.2 2.2a1.79 1.79 0 0 0-.187 2.334 26 26 0 0 0 2.633 3.073 25.6 25.6 0 0 0 3.467 2.913c.716.5 1.687.416 2.307-.2l2.126-2.16a.847.847 0 0 1 1.198-.002l.002.003 3.754 3.76c.331.33.332.865.002 1.197"})),e4=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"5 20 530 159",...e},k.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"})),t4=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},k.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"})),n4=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 25",...e},k.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"}),k.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"})),u4=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},k.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"})),vn="https://p0otqov6h4.execute-api.ap-southeast-1.amazonaws.com",Pf_ping=async()=>{try{fetch(`${vn}/pingModal`)}catch(e){console.error(e)}},Pf_getAssistants=async e=>await(await fetch(`${vn}/public/assistant`,{method:"GET",headers:{"Content-Type":"application/json",...e}})).json(),yr={getMessages:async e=>{try{return(await(await fetch(`${vn}/conversations/message`,{method:"GET",headers:{"Content-Type":"application/json",...e}})).json()).data}catch(t){throw console.error(t),t}},resetMessages:async e=>{try{return await(await fetch(`${vn}/conversations/message`,{method:"DELETE",headers:{"Content-Type":"application/json",...e}})).json()}catch(t){throw console.error(t),t}},sendEvent:async(e,t)=>{try{return await(await fetch(`${vn}/conversations/event`,{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)})).json()}catch(n){throw console.error(n),n}},suggestionsNoAuth:async(e,t)=>{try{return await(await fetch(`${vn}/suggest`,{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)})).json()}catch(n){throw console.error(n),n}},changeAssistant:async(e,t)=>{try{return await(await fetch(`${vn}/public/conversations/assistant`,{method:"PUT",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)})).json()}catch(n){throw console.error(n),n}}},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:"ยกเลิก"}},If=({settings:e,closeChat:t,resetChat:n,isNoMessage:u,isFullScreen:r,toggleFullScreen:o})=>{const[l,i]=k.useState(null),[a,s]=k.useState([]),[c,f]=k.useState(null),h=e.language,v=Dt[h]||Dt.en;k.useEffect((()=>{const S=document.querySelector("[data-chatbot-id]");S&&(f(S.dataset.chatbotId),i(S.dataset.chatbotId))}),[]),k.useEffect((()=>{(async()=>{try{const g=await Pf_getAssistants({"client-id":e.embedId,"session-id":e.sessionId});s(g)}catch(g){console.error("Error fetching assistant data:",g)}})()}),[e.embedId,e.sessionId]),k.useEffect((()=>{0!==a.length&&i(c)}),[a,c]);const p=S=>{(async m=>{try{await yr.changeAssistant({assistantID:m},{"client-id":e.embedId,"session-id":e.sessionId}),i(m)}catch(_){console.error("Error changing conversation assistant:",_)}})(S.target.value)},b=()=>{if(a.length>0&&null!==e.showAssistants)return y.jsxs("div",{className:"tw-kj tw-wk",children:[y.jsx("select",{id:"selectRudi",className:"anm-peer tw-kl tw-yb tw-af tw-fh tw-vk tw-zb tw-ho",value:l,onChange:p,children:a.map(((S,g)=>y.jsx("option",{value:S.assistantID,children:S.name},g)))}),y.jsx(u4,{className:"tw-ui tw-fk tw-rk tw-si tw-mb tw-ee tw-jh tw-pe tw-ia tw-ta"})]})};return y.jsxs("header",{className:"tw-go tw-nf tw-sg tw-il",children:[y.jsxs("div",{className:"tw-am tw-aj tw-zf tw-kn tw-kj tw-gc tw-gd tw-re "+(Rf(e)||r||null!==e.showAssistants?"tw-wh":u||null===e.showAssistants?"tw-cj":"tw-vh"),style:{backgroundColor:e.headerBgColor??"#FFFFFF",color:e.headerTextColor??"#000000"},children:["dog"===e.headerBgPattern&&y.jsx(e4,{alt:"Background",className:"tw-ui tw-al tw-wl tw-sk tw-ze tw-wg tw-gh"}),y.jsxs("div",{className:"tw-am tw-xk tw-ve",children:[y.jsx("div",{className:"tw-sm tw-wm tw-am tw-ve tw-un",children:y.jsx("div",{className:`tw-am tw-xc tw-ve tw-lm ${e.showAssistants?"tw-lk":"tw-kk"} tw-vi tw-cf`,children:y.jsx("img",{src:e.brandImageUrl??jf,alt:e.brandName?e.brandName+" Logo":"Rudi Logo",style:{maxWidth:48,maxHeight:48}})})}),y.jsxs("div",{className:"tw-am tw-aj tw-pi tw-kl",children:[y.jsxs("div",{className:"tw-am tw-ec tw-kl tw-ve",children:[y.jsxs("div",{className:"tw-am tw-aj",children:[y.jsx("span",{className:"tw-nk tw-ld tw-co tw-hf tw-uh",children:e.brandName}),y.jsx("span",{className:"tw-ok tw-tf tw-fd tw-co tw-hf tw-uh",children:e.brandSlogan})]}),y.jsxs("div",{className:"tw-am tw-ve tw-ui tw-gk tw-xl",children:[y.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},className:"tw-pf tw-rc tw-co tw-sf tw-vc tw-yg tw-tb tw-hl tw-go tw-hf tw-ub tw-la tw-pe",onClick:n,children:y.jsx(t4,{stroke:"currentColor",width:"100%",height:"100%",style:{color:e.headerTextColor??"#000000"}})}),"on"===e.allowFullscreen&&y.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},"data-fullscreen":r,className:"tw-yk tw-rj tw-pf tw-rc tw-co tw-sf tw-vc tw-yg tw-tb tw-hl tw-go tw-hf tw-mc tw-h tw-la tw-pe",onClick:o,children:y.jsx(n4,{stroke:"currentColor",width:"100%",height:"100%",style:{color:e.headerTextColor??"#000000"}})}),y.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},type:"button",onClick:t,className:"tw-ti tw-pf tw-rc tw-co tw-vc tw-yg tw-tb tw-hl tw-go tw-hf","aria-label":"Close",children:y.jsx(Of,{width:"100%",height:"100%"})})]})]}),!r&&null!==e.showAssistants&&y.jsx(b,{})]})]}),Rf(e)?y.jsxs("div",{className:"tw-em tw-ch tw-tk tw-am tw-ve tw-ul tw-sg tw-gd tw-re tw-ol "+(u?"tw-ki tw-xf":"tw-jk tw-gi"),children:[e.socialFbUrl&&y.jsx("button",{className:"tw-pf tw-rc tw-co tw-eo tw-vc tw-la tw-pe tw-mc tw-xb",children:y.jsx(K6,{className:"tw-gl",fill:"#FFFFFF",style:{color:e.headerBgColor??"#000000"}})}),e.socialLineUrl&&y.jsx("button",{className:"tw-pf tw-rc tw-co tw-eo tw-vc tw-la tw-pe tw-mc tw-xb",children:y.jsx(X6,{className:"tw-gl",fill:"#FFFFFF"})}),e.socialPhoneUrl&&y.jsx("button",{className:"tw-pf tw-rc tw-co tw-eo tw-vc tw-la tw-pe tw-mc tw-xb",children:y.jsx(J6,{className:"tw-gl",fill:"#FFFFFF"})})]}):null]}),r&&null!==e.showAssistants&&y.jsxs("div",{className:"tw-rm tw-am tw-ql tw-ve tw-wd tw-zj tw-kl",children:[y.jsx("label",{htmlFor:"selectRudi",className:"tw-tg tw-ld",children:v.selectAssistantLabel}),y.jsx(b,{})]})]})},Rf=e=>e.socialFbUrl||e.socialLineUrl||e.socialPhoneUrl,zf=(e,t=void 0)=>{let u,n=!1;return e.map((({type:o,sender:l,senderID:i,message:a,images:s,debugPre:c,timestamp:f,read:h,msgID:v},p)=>{u=new Date(f).toLocaleDateString(),n=t!==u,t=new Date(f).toLocaleDateString();const b=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:f,read:h,content:a||"",images:s,debugPre:c,...i4(b),isDateChanged:n,currDate:u,senderID:i}}))},i4=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 Hf={};function wu(e,t){"string"!=typeof t&&(t=wu.defaultChars);const n=function(e){let t=Hf[e];if(t)return t;t=Hf[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 f=i<<18&1835008|a<<12&258048|s<<6&4032|63&c;f<65536||f>1114111?r+="����":(f-=65536,r+=String.fromCharCode(55296+(f>>10),56320+(1023&f))),o+=9;continue}}r+="�"}}return r}))}wu.defaultChars=";/?:@&=+$,#",wu.componentChars="";const $f={};function xr(e,t,n){"string"!=typeof t&&(n=t,t=xr.defaultChars),typeof n>"u"&&(n=!0);const u=function(e){let t=$f[e];if(t)return t;t=$f[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 $i(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 d4=/^([a-z0-9.+-]+:)/i,p4=/:[0-9]*$/,h4=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,g4=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),w4=["'"].concat(g4),Bf=["%","/","?",";","#"].concat(w4),Uf=["/","?","#"],Vf=/^[+a-z0-9A-Z_-]{0,63}$/,y4=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Zf={javascript:!0,"javascript:":!0},qf={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Bi(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=h4.exec(o);if(s)return this.pathname=s[1],s[2]&&(this.search=s[2]),this}let l=d4.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&&Zf[l])&&(o=o.substr(2),this.slashes=!0)),!Zf[l]&&(r||l&&!qf[l])){let c,f,s=-1;for(let p=0;p<Uf.length;p++)u=o.indexOf(Uf[p]),-1!==u&&(-1===s||u<s)&&(s=u);f=-1===s?o.lastIndexOf("@"):o.lastIndexOf("@",s),-1!==f&&(c=o.slice(0,f),o=o.slice(f+1),this.auth=c),s=-1;for(let p=0;p<Bf.length;p++)u=o.indexOf(Bf[p]),-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 p=this.hostname.split(/\./);for(let b=0,S=p.length;b<S;b++){const g=p[b];if(g&&!g.match(Vf)){let d="";for(let m=0,_=g.length;m<_;m++)g.charCodeAt(m)>127?d+="x":d+=g[m];if(!d.match(Vf)){const m=p.slice(0,b),_=p.slice(b+1),C=g.match(y4);C&&(m.push(C[1]),_.unshift(C[2])),_.length&&(o=_.join(".")+o),this.hostname=m.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),qf[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},to.prototype.parseHost=function(e){let t=p4.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 x4=Object.freeze(Object.defineProperty({__proto__:null,decode:wu,encode:xr,format:$i,parse:Bi},Symbol.toStringTag,{value:"Module"})),Wf=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Gf=/[\0-\x1F\x7F-\x9F]/,Ui=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Qf=/[\$\+<->\^`\|~\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]/,Yf=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,b4=Object.freeze(Object.defineProperty({__proto__:null,Any:Wf,Cc:Gf,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:Ui,S:Qf,Z:Yf},Symbol.toStringTag,{value:"Module"})),E4=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)))),k4=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var Vi;const C4=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]]),S4=null!==(Vi=String.fromCodePoint)&&void 0!==Vi?Vi: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 ge;!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"}(ge||(ge={}));var yn,we,xn;function Zi(e){return e>=ge.ZERO&&e<=ge.NINE}function D4(e){return e>=ge.UPPER_A&&e<=ge.UPPER_F||e>=ge.LOWER_A&&e<=ge.LOWER_F}function N4(e){return e===ge.EQUALS||function(e){return e>=ge.UPPER_A&&e<=ge.UPPER_Z||e>=ge.LOWER_A&&e<=ge.LOWER_Z||Zi(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"}(we||(we={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(xn||(xn={}));class M4{constructor(t,n,u){this.decodeTree=t,this.emitCodePoint=n,this.errors=u,this.state=we.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=xn.Strict}startEntity(t){this.decodeMode=t,this.state=we.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case we.EntityStart:return t.charCodeAt(n)===ge.NUM?(this.state=we.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=we.NamedEntity,this.stateNamedEntity(t,n));case we.NumericStart:return this.stateNumericStart(t,n);case we.NumericDecimal:return this.stateNumericDecimal(t,n);case we.NumericHex:return this.stateNumericHex(t,n);case we.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(32|t.charCodeAt(n))===ge.LOWER_X?(this.state=we.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=we.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(!Zi(r)&&!D4(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(!Zi(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===ge.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=C4.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(t!==ge.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=L4(u,r,this.treeIndex+Math.max(1,o),l),this.treeIndex<0)return 0===this.result||this.decodeMode===xn.Attribute&&(0===o||N4(l))?0:this.emitNotTerminatedNamedEntity();if(r=u[this.treeIndex],o=(r&yn.VALUE_LENGTH)>>14,0!==o){if(l===ge.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 we.NamedEntity:return 0===this.result||this.decodeMode===xn.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case we.NumericDecimal:return this.emitNumericEntity(0,2);case we.NumericHex:return this.emitNumericEntity(0,3);case we.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case we.EntityStart:return 0}}}function Xf(e){let t="";const n=new M4(e,(u=>t+=S4(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 L4(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 O4=Xf(E4);function Kf(e,t=xn.Legacy){return O4(e,t)}function qi(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}Xf(k4);const P4=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 Jf(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Wi(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 ed=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,z4=new RegExp(ed.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),H4=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function vu(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(z4,(function(t,n,u){return n||function(e,t){if(35===t.charCodeAt(0)&&H4.test(t)){const u="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Wi(u)?uo(u):e}const n=Kf(e);return n!==e?n:e}(t,u)}))}const U4=/[&<>"]/,V4=/[&<>"]/g,Z4={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function q4(e){return Z4[e]}function _n(e){return U4.test(e)?e.replace(V4,q4):e}const W4=/[.?*+^$[\]\\(){}|-]/g;function G(e){switch(e){case 9:case 32:return!0}return!1}function _r(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 br(e){return Ui.test(e)||Qf.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 Q4=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Jf,assign:no,escapeHtml:_n,escapeRE:function(e){return e.replace(W4,"\\$&")},fromCodePoint:uo,has:function(e,t){return P4.call(e,t)},isMdAsciiPunct:Er,isPunctChar:br,isSpace:G,isString:qi,isValidEntityCode:Wi,isWhiteSpace:_r,lib:{mdurl:x4,ucmicro:b4},normalizeReference:ro,unescapeAll:vu,unescapeMd:function(e){return e.indexOf("\\")<0?e:e.replace(ed,"$1")}},Symbol.toStringTag,{value:"Module"}));const J4=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 Ze(){this.__rules__=[],this.__cache__=null}function _t(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 td(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)+">"+_n(o.content)+"</code>"},Ft.code_block=function(e,t,n,u,r){const o=e[t];return"<pre"+r.renderAttrs(o)+"><code>"+_n(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)||_n(o.content),0===s.indexOf("<pre"))return s+"\n";if(l){const c=o.attrIndex("class"),f=o.attrs?o.attrs.slice():[];c<0?f.push(["class",n.langPrefix+i]):(f[c]=f[c].slice(),f[c][1]+=" "+n.langPrefix+i);const h={attrs:f};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 _n(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+=" "+_n(t.attrs[n][0])+'="'+_n(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},Ze.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},Ze.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))}))}))},Ze.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},Ze.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},Ze.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},Ze.prototype.push=function(e,t,n){const u=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:u.alt||[]}),this.__cache__=null},Ze.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},Ze.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(n){n.enabled=!1})),this.enable(e,t)},Ze.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},Ze.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},_t.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},_t.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},_t.prototype.attrSet=function(t,n){const u=this.attrIndex(t),r=[t,n];u<0?this.attrPush(r):this.attrs[u]=r},_t.prototype.attrGet=function(t){const n=this.attrIndex(t);let u=null;return n>=0&&(u=this.attrs[n][1]),u},_t.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},td.prototype.Token=_t;const em=/\r\n?|\n/g,tm=/\0/g;function om(e){return/^<a[>\s]/i.test(e)}function lm(e){return/^<\/a\s*>/i.test(e)}const nd=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,am=/\((c|tm|r)\)/i,sm=/\((c|tm|r)\)/gi,cm={c:"©",r:"®",tm:"™"};function fm(e,t){return cm[t.toLowerCase()]}function dm(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(sm,fm)),"link_open"===u.type&&"auto"===u.info&&t--,"link_close"===u.type&&"auto"===u.info&&t++}}function pm(e){let t=0;for(let n=e.length-1;n>=0;n--){const u=e[n];"text"===u.type&&!t&&nd.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 mm=/['"]/,ud=/['"]/g,rd="’";function oo(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function gm(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;){ud.lastIndex=a;const c=ud.exec(i);if(!c)break;let f=!0,h=!0;a=c.index+1;const v="'"===c[0];let p=32;if(c.index-1>=0)p=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){p=e[n].content.charCodeAt(e[n].content.length-1);break}let b=32;if(a<s)b=i.charCodeAt(a);else for(n=r+1;n<e.length&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n++)if(e[n].content){b=e[n].content.charCodeAt(0);break}const S=Er(p)||br(String.fromCharCode(p)),g=Er(b)||br(String.fromCharCode(b)),d=_r(p),m=_r(b);if(m?f=!1:g&&(d||S||(f=!1)),d?h=!1:S&&(m||g||(h=!1)),34===b&&'"'===c[0]&&p>=48&&p<=57&&(h=f=!1),f&&h&&(f=S,h=g),f||h){if(h)for(n=u.length-1;n>=0;n--){let _=u[n];if(u[n].level<l)break;if(_.single===v&&u[n].level===l){let C,E;_=u[n],v?(C=t.md.options.quotes[2],E=t.md.options.quotes[3]):(C=t.md.options.quotes[0],E=t.md.options.quotes[1]),o.content=oo(o.content,c.index,E),e[_.token].content=oo(e[_.token].content,_.pos,C),a+=E.length-1,_.token===r&&(a+=C.length-1),i=o.content,s=i.length,u.length=n;continue e}}f?u.push({token:r,pos:c.index,single:v,level:l}):h&&v&&(o.content=oo(o.content,c.index,rd))}else v&&(o.content=oo(o.content,c.index,rd))}}}const Gi=[["normalize",function(e){let t;t=e.src.replace(em,"\n"),t=t.replace(tm,"�"),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&&(om(i.content)&&o>0&&o--,lm(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 f=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 p=s[v].url,b=e.md.normalizeLink(p);if(!e.md.validateLink(b))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 g=s[v].index;if(g>h){const C=new e.Token("text","",0);C.content=a.slice(h,g),C.level=f,c.push(C)}const d=new e.Token("link_open","a",1);d.attrs=[["href",b]],d.level=f++,d.markup="linkify",d.info="auto",c.push(d);const m=new e.Token("text","",0);m.content=S,m.level=f,c.push(m);const _=new e.Token("link_close","a",-1);_.level=--f,_.markup="linkify",_.info="auto",c.push(_),h=s[v].lastIndex}if(h<a.length){const v=new e.Token("text","",0);v.content=a.slice(h),v.level=f,c.push(v)}t[n].children=r=Jf(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&&(am.test(e.tokens[t].content)&&dm(e.tokens[t].children),nd.test(e.tokens[t].content)&&pm(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||!mm.test(e.tokens[t].content)||gm(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 Qi(){this.ruler=new Ze;for(let e=0;e<Gi.length;e++)this.ruler.push(Gi[e][0],Gi[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 f=r.charCodeAt(l);if(!c){if(G(f)){i++,9===f?a+=4-a%4:a++;continue}c=!0}(10===f||l===s-1)&&(10!==f&&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}Qi.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,u=t.length;n<u;n++)t[n](e)},Qi.prototype.State=td,Nt.prototype.push=function(e,t,n){const u=new _t(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(!G(this.src.charCodeAt(t)))break}return t},Nt.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!G(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 f,c=s;for(f=i+1<n||r?this.eMarks[i]+1:this.eMarks[i];c<f&&a<u;){const h=this.src.charCodeAt(c);if(G(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,f):this.src.slice(c,f)}return o.join("")},Nt.prototype.Token=_t;function Yi(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];return e.src.slice(n,u)}function od(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 ld(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(!G(e.src.charCodeAt(u)))return-1}return u}function id(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),!G(o))?-1:r}const ad="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",sd="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",jm=new RegExp("^(?:"+ad+"|"+sd+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),Pm=new RegExp("^(?:"+ad+"|"+sd+")"),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(Pm.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&&!G(i)||45===l&&G(i))return!1;for(;o<e.eMarks[r];){const _=e.src.charCodeAt(o);if(124!==_&&45!==_&&58!==_&&!G(_))return!1;o++}let a=Yi(e,t+1),s=a.split("|");const c=[];for(let _=0;_<s.length;_++){const C=s[_].trim();if(!C){if(0===_||_===s.length-1)continue;return!1}if(!/^:?-+:?$/.test(C))return!1;58===C.charCodeAt(C.length-1)?c.push(58===C.charCodeAt(0)?"center":"right"):58===C.charCodeAt(0)?c.push("left"):c.push("")}if(a=Yi(e,t).trim(),-1===a.indexOf("|")||e.sCount[t]-e.blkIndent>=4)return!1;s=od(a),s.length&&""===s[0]&&s.shift(),s.length&&""===s[s.length-1]&&s.pop();const f=s.length;if(0===f||f!==c.length)return!1;if(u)return!0;const h=e.parentType;e.parentType="table";const v=e.md.block.ruler.getRules("blockquote"),b=[t,0];e.push("table_open","table",1).map=b,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let _=0;_<s.length;_++){const C=e.push("th_open","th",1);c[_]&&(C.attrs=[["style","text-align:"+c[_]]]);const E=e.push("inline","",0);E.content=s[_].trim(),E.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let d,m=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let _=!1;for(let E=0,D=v.length;E<D;E++)if(v[E](e,r,n,!0)){_=!0;break}if(_||(a=Yi(e,r).trim(),!a)||e.sCount[r]-e.blkIndent>=4||(s=od(a),s.length&&""===s[0]&&s.shift(),s.length&&""===s[s.length-1]&&s.pop(),m+=f-s.length,m>65536))break;if(r===t+2){e.push("tbody_open","tbody",1).map=d=[t+2,0]}e.push("tr_open","tr",1).map=[r,r+1];for(let E=0;E<f;E++){const D=e.push("td_open","td",1);c[E]&&(D.attrs=[["style","text-align:"+c[E]]]);const A=e.push("inline","",0);A.content=s[E]?s[E].trim():"",A.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return d&&(e.push("tbody_close","tbody",-1),d[1]=r),e.push("table_close","table",-1),b[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 f=t,h=!1;for(;f++,!(f>=n||(r=i=e.bMarks[f]+e.tShift[f],o=e.eMarks[f],r<o&&e.sCount[f]<e.blkIndent));)if(!(e.src.charCodeAt(r)!==l||e.sCount[f]-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=f+(h?1:0);const v=e.push("fence","code",0);return v.info=c,v.content=e.getLines(t+1,f,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=[],f=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let p,v=!1;for(p=t;p<n;p++){const m=e.sCount[p]<e.blkIndent;if(r=e.bMarks[p]+e.tShift[p],o=e.eMarks[p],r>=o)break;if(62===e.src.charCodeAt(r++)&&!m){let E,D,C=e.sCount[p]+1;32===e.src.charCodeAt(r)?(r++,C++,D=!1,E=!0):9===e.src.charCodeAt(r)?(E=!0,(e.bsCount[p]+C)%4==3?(r++,C++,D=!1):D=!0):E=!1;let A=C;for(i.push(e.bMarks[p]),e.bMarks[p]=r;r<o;){const j=e.src.charCodeAt(r);if(!G(j))break;9===j?A+=4-(A+e.bsCount[p]+(D?1:0))%4:A++,r++}v=r>=o,a.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(E?1:0),s.push(e.sCount[p]),e.sCount[p]=A-C,c.push(e.tShift[p]),e.tShift[p]=r-e.bMarks[p];continue}if(v)break;let _=!1;for(let C=0,E=f.length;C<E;C++)if(f[C](e,p,n,!0)){_=!0;break}if(_){e.lineMax=p,0!==e.blkIndent&&(i.push(e.bMarks[p]),a.push(e.bsCount[p]),c.push(e.tShift[p]),s.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}i.push(e.bMarks[p]),a.push(e.bsCount[p]),c.push(e.tShift[p]),s.push(e.sCount[p]),e.sCount[p]=-1}const b=e.blkIndent;e.blkIndent=0;const S=e.push("blockquote_open","blockquote",1);S.markup=">";const g=[t,0];S.map=g,e.md.block.tokenize(e,t,p),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=l,e.parentType=h,g[1]=e.line;for(let m=0;m<c.length;m++)e.bMarks[m+t]=i[m],e.tShift[m+t]=c[m],e.sCount[m+t]=s[m],e.bsCount[m+t]=a[m];return e.blkIndent=b,!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&&!G(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 f,h,v,c=!1;if(u&&"paragraph"===e.parentType&&e.sCount[a]>=e.blkIndent&&(c=!0),(v=id(e,a))>=0){if(f=!0,l=e.bMarks[a]+e.tShift[a],h=Number(e.src.slice(l,v-1)),c&&1!==h)return!1}else{if(!((v=ld(e,a))>=0))return!1;f=!1}if(c&&e.skipSpaces(v)>=e.eMarks[a])return!1;if(u)return!0;const p=e.src.charCodeAt(v-1),b=e.tokens.length;f?(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(p);let g=!1;const d=e.md.block.ruler.getRules("list"),m=e.parentType;for(e.parentType="list";a<n;){o=v,r=e.eMarks[a];const _=e.sCount[a]+v-(e.bMarks[a]+e.tShift[a]);let C=_;for(;o<r;){const We=e.src.charCodeAt(o);if(9===We)C+=4-(C+e.bsCount[a])%4;else{if(32!==We)break;C++}o++}const E=o;let D;D=E>=r?1:C-_,D>4&&(D=1);const A=_+D;i=e.push("list_item_open","li",1),i.markup=String.fromCharCode(p);const j=[a,0];i.map=j,f&&(i.info=e.src.slice(l,v-1));const L=e.tight,H=e.tShift[a],Q=e.sCount[a],ke=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=A,e.tight=!0,e.tShift[a]=E-e.bMarks[a],e.sCount[a]=C,E>=r&&e.isEmpty(a+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,a,n,!0),(!e.tight||g)&&(s=!1),g=e.line-a>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=ke,e.tShift[a]=H,e.sCount[a]=Q,e.tight=L,i=e.push("list_item_close","li",-1),i.markup=String.fromCharCode(p),a=e.line,j[1]=a,a>=n||e.sCount[a]<e.blkIndent||e.sCount[a]-e.blkIndent>=4)break;let Re=!1;for(let We=0,Fe=d.length;We<Fe;We++)if(d[We](e,a,n,!0)){Re=!0;break}if(Re)break;if(f){if(v=id(e,a),v<0)break;l=e.bMarks[a]+e.tShift[a]}else if(v=ld(e,a),v<0)break;if(p!==e.src.charCodeAt(v-1))break}return i=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),i.markup=String.fromCharCode(p),S[1]=a,e.line=a,e.parentType=m,s&&function(e,t){const n=e.level+2;for(let u=t+2,r=e.tokens.length-2;u<r;u++)e.tokens[u].level===n&&"paragraph_open"===e.tokens[u].type&&(e.tokens[u+2].hidden=!0,e.tokens[u].hidden=!0,u+=2)}(e,b),!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(d){const m=e.lineMax;if(d>=m||e.isEmpty(d))return null;let _=!1;if(e.sCount[d]-e.blkIndent>3&&(_=!0),e.sCount[d]<0&&(_=!0),!_){const D=e.md.block.ruler.getRules("reference"),A=e.parentType;e.parentType="reference";let j=!1;for(let L=0,H=D.length;L<H;L++)if(D[L](e,d,m,!0)){j=!0;break}if(e.parentType=A,j)return null}const C=e.bMarks[d]+e.tShift[d],E=e.eMarks[d];return e.src.slice(C,E+1)}let a=e.src.slice(r,o+1);o=a.length;let s=-1;for(r=1;r<o;r++){const d=a.charCodeAt(r);if(91===d)return!1;if(93===d){s=r;break}if(10===d){const m=i(l);null!==m&&(a+=m,o=a.length,l++)}else if(92===d&&(r++,r<o&&10===a.charCodeAt(r))){const m=i(l);null!==m&&(a+=m,o=a.length,l++)}}if(s<0||58!==a.charCodeAt(s+1))return!1;for(r=s+2;r<o;r++){const d=a.charCodeAt(r);if(10===d){const m=i(l);null!==m&&(a+=m,o=a.length,l++)}else if(!G(d))break}const c=e.md.helpers.parseLinkDestination(a,r,o);if(!c.ok)return!1;const f=e.md.normalizeLink(c.str);if(!e.md.validateLink(f))return!1;r=c.pos;const h=r,v=l,p=r;for(;r<o;r++){const d=a.charCodeAt(r);if(10===d){const m=i(l);null!==m&&(a+=m,o=a.length,l++)}else if(!G(d))break}let S,b=e.md.helpers.parseLinkTitle(a,r,o);for(;b.can_continue;){const d=i(l);if(null===d)break;a+=d,r=o,o=a.length,l++,b=e.md.helpers.parseLinkTitle(a,r,o,b)}for(r<o&&p!==r&&b.ok?(S=b.str,r=b.pos):(S="",r=h,l=v);r<o;){if(!G(a.charCodeAt(r)))break;r++}if(r<o&&10!==a.charCodeAt(r)&&S)for(S="",r=h,l=v;r<o;){if(!G(a.charCodeAt(r)))break;r++}if(r<o&&10!==a.charCodeAt(r))return!1;const g=ro(a.slice(1,s));return!!g&&(u||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[g]>"u"&&(e.env.references[g]={title:S,href:f}),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&&!G(l))return!1;if(u)return!0;o=e.skipSpacesBack(o,r);const a=e.skipCharsBack(o,35,r);a>r&&G(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 p=e.eMarks[i];if(v<p&&(l=e.src.charCodeAt(v),(45===l||61===l)&&(v=e.skipChars(v,l),v=e.skipSpaces(v),v>=p))){o=61===l?1:2;break}}if(e.sCount[i]<0)continue;let h=!1;for(let v=0,p=u.length;v<p;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,f=u.length;c<f;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 Ze;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 $m(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 _t("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 _t(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)||br(String.fromCharCode(r)),s=Er(i)||br(String.fromCharCode(i)),c=_r(r),f=_r(i),h=!f&&(!s||c||a),v=!c&&(!a||f||s);return{can_open:h&&(t||!v||a),can_close:v&&(t||!h||s),length:l}},kr.prototype.Token=_t;const Um=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;const Xi=[];for(let e=0;e<256;e++)Xi.push(0);function cd(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){Xi[e.charCodeAt(0)]=1}));const fd={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;cd(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&cd(e,t[u].delimiters)}};function dd(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 pd={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;dd(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&dd(e,t[u].delimiters)}};const e8=/^([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])?)*)$/,t8=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;const i8=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,a8=/^&([a-z][a-z0-9]{1,31});/i;function hd(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 f=e[s];if(f.marker===i.marker&&f.open&&f.end<0){let h=!1;if((f.close||i.open)&&(f.length+i.length)%3==0&&(f.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,f.end=l,f.close=!1,c=-1,r=-2;break}}}-1!==c&&(t[i.marker][(i.open?3:0)+(i.length||0)%3]=c)}}const Ki=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!$m(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(Um);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 f=e.push("link_close","a",-1);f.markup="linkify",f.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&&G(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),G(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!==Xi[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 f=e.push("code_inline","code",0);f.markup=l,f.content=e.src.slice(n,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=a,!0}e.backticks[c]=s}return e.backticksScanned=!0,t||(e.pending+=l),e.pos+=i,!0}],["strikethrough",fd.tokenize],["emphasis",pd.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,f=e.posMax,h=e.pos+1,v=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(v<0)return!1;let p=v+1;if(p<f&&40===e.src.charCodeAt(p)){for(s=!1,p++;p<f&&(n=e.src.charCodeAt(p),G(n)||10===n);p++);if(p>=f)return!1;if(a=p,r=e.md.helpers.parseLinkDestination(e.src,p,e.posMax),r.ok){for(l=e.md.normalizeLink(r.str),e.md.validateLink(l)?p=r.pos:l="",a=p;p<f&&(n=e.src.charCodeAt(p),G(n)||10===n);p++);if(r=e.md.helpers.parseLinkTitle(e.src,p,e.posMax),p<f&&a!==p&&r.ok)for(i=r.str,p=r.pos;p<f&&(n=e.src.charCodeAt(p),G(n)||10===n);p++);}(p>=f||41!==e.src.charCodeAt(p))&&(s=!0),p++}if(s){if(typeof e.env.references>"u")return!1;if(p<f&&91===e.src.charCodeAt(p)?(a=p+1,p=e.md.helpers.parseLinkLabel(e,p),p>=0?u=e.src.slice(a,p++):p=v+1):p=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=p,e.posMax=f,!0}],["image",function(e,t){let n,u,r,o,l,i,a,s,c="";const f=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,p=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(p<0)return!1;if(o=p+1,o<h&&40===e.src.charCodeAt(o)){for(o++;o<h&&(n=e.src.charCodeAt(o),G(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),G(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),G(n)||10===n);o++);else a="";if(o>=h||41!==e.src.charCodeAt(o))return e.pos=f,!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=p+1):o=p+1,r||(r=e.src.slice(v,p)),l=e.env.references[ro(r)],!l)return e.pos=f,!1;c=l.href,a=l.title}if(!t){u=e.src.slice(v,p);const b=[];e.md.inline.parse(u,e.md,e.env,b);const S=e.push("image","img",0),g=[["src",c],["alt",""]];S.attrs=g,S.children=b,S.content=u,a&&g.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(t8.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(e8.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(jm);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(i8);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=Wi(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(a8);if(o){const l=Kf(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}]],Ji=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;hd(e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&hd(t[u].delimiters)}],["strikethrough",fd.postProcess],["emphasis",pd.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 Ze;for(let e=0;e<Ki.length;e++)this.ruler.push(Ki[e][0],Ki[e][1]);this.ruler2=new Ze;for(let e=0;e<Ji.length;e++)this.ruler2.push(Ji[e][0],Ji[e][1])}function ea(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 md(e){return"[object Function]"===ao(e)}function g8(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 gd={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};const v8={"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}}},y8="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]",x8="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=Wf.source,t.src_Cc=Gf.source,t.src_Z=Yf.source,t.src_P=Ui.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(y8),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)?md(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(md(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(g8).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 E8(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 ta(e,t){const n=new E8(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function tt(e,t){if(!(this instanceof tt))return new tt(e,t);t||function(e){return Object.keys(e||{}).reduce((function(t,n){return t||gd.hasOwnProperty(n)}),!1)}(e)&&(t=e,e={}),this.__opts__=ea({},gd,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ea({},v8,e),this.__compiled__={},this.__tlds__=x8,this.__tlds_replaced__=!1,this.re={},so(this)}tt.prototype.add=function(t,n){return this.__schemas__[t]=n,so(this),this},tt.prototype.set=function(t){return this.__opts__=ea(this.__opts__,t),this},tt.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},tt.prototype.pretest=function(t){return this.re.pretest.test(t)},tt.prototype.testSchemaAt=function(t,n,u){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,u,this):0},tt.prototype.match=function(t){const n=[];let u=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(ta(this,u)),u=this.__last_index__);let r=u?t.slice(u):t;for(;this.test(r);)n.push(ta(this,u)),r=r.slice(this.__last_index__),u+=this.__last_index__;return n.length?n:null},tt.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,ta(this,0)):null},tt.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)},tt.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"===t.schema&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)},tt.prototype.onCompile=function(){};const _u=2147483647,S8=/^xn--/,A8=/[^\0-\x7F]/,T8=/[\x2E\u3002\uFF0E\uFF61]/g,D8={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,ra=String.fromCharCode;function bn(e){throw new RangeError(D8[e])}function _d(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(T8,".")).split("."),t).join(".");return u+o}function bd(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 M8=function(e){return e>=48&&e<58?e-48+26:e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},Ed=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},kd=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))},Cd=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&&bn("not-basic"),t.push(e.charCodeAt(i));for(let i=l>0?l+1:0;i<n;){const a=u;for(let c=1,f=36;;f+=36){i>=n&&bn("invalid-input");const h=M8(e.charCodeAt(i++));h>=36&&bn("invalid-input"),h>Lt((_u-u)/c)&&bn("overflow"),u+=h*c;const v=f<=o?1:f>=o+26?26:f-o;if(h<v)break;const p=36-v;c>Lt(_u/p)&&bn("overflow"),c*=p}const s=t.length+1;o=kd(u-a,s,0==a),Lt(u/s)>_u-r&&bn("overflow"),r+=Lt(u/s),u%=s,t.splice(u++,0,r)}return String.fromCodePoint(...t)},Sd=function(e){const t=[],n=(e=bd(e)).length;let u=128,r=0,o=72;for(const a of e)a<128&&t.push(ra(a));const l=t.length;let i=l;for(l&&t.push("-");i<n;){let a=_u;for(const c of e)c>=u&&c<a&&(a=c);const s=i+1;a-u>Lt((_u-r)/s)&&bn("overflow"),r+=(a-u)*s,u=a;for(const c of e)if(c<u&&++r>_u&&bn("overflow"),c===u){let f=r;for(let h=36;;h+=36){const v=h<=o?1:h>=o+26?26:h-o;if(f<v)break;const p=f-v,b=36-v;t.push(ra(Ed(v+p%b,0))),f=Lt(p/b)}t.push(ra(Ed(f,0))),o=kd(r,s,i===l),r=0,++i}++r,++u}return t.join("")},Ad={version:"2.3.1",ucs2:{decode:bd,encode:e=>String.fromCodePoint(...e)},decode:Cd,encode:Sd,toASCII:function(e){return _d(e,(function(t){return A8.test(t)?"xn--"+Sd(t):t}))},toUnicode:function(e){return _d(e,(function(t){return S8.test(t)?Cd(t.slice(4).toLowerCase()):t}))}},L8={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"]}}}},O8=/^(vbscript|javascript|file|data):/,j8=/^data:image\/(gif|png|jpeg|webp);/;function P8(e){const t=e.trim().toLowerCase();return!O8.test(t)||j8.test(t)}const Td=["http:","https:","mailto:"];function I8(e){const t=Bi(e,!0);if(t.hostname&&(!t.protocol||Td.indexOf(t.protocol)>=0))try{t.hostname=Ad.toASCII(t.hostname)}catch{}return xr($i(t))}function R8(e){const t=Bi(e,!0);if(t.hostname&&(!t.protocol||Td.indexOf(t.protocol)>=0))try{t.hostname=Ad.toUnicode(t.hostname)}catch{}return wu($i(t),wu.defaultChars+"%")}function ft(e,t){if(!(this instanceof ft))return new ft(e,t);t||qi(e)||(t=e||{},e="default"),this.inline=new Cr,this.block=new io,this.core=new Qi,this.renderer=new yu,this.linkify=new tt,this.validateLink=P8,this.normalizeLink=I8,this.normalizeLinkText=R8,this.utils=Q4,this.helpers=no({},J4),this.options={},this.configure(e),t&&this.set(t)}ft.prototype.set=function(e){return no(this.options,e),this},ft.prototype.configure=function(e){const t=this;if(qi(e)){const n=e;if(!(e=L8[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},ft.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},ft.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},ft.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},ft.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},ft.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},ft.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},ft.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const z8=ft({html:!1,typographer:!0}).disable("list");function H8(e=""){return z8.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:Dd,setPrototypeOf:Fd,isFrozen:$8,getPrototypeOf:B8,getOwnPropertyDescriptor:U8}=Object;let{freeze:Pe,seal:dt,create:Nd}=Object,{apply:oa,construct:la}=typeof Reflect<"u"&&Reflect;Pe||(Pe=function(t){return t}),dt||(dt=function(t){return t}),oa||(oa=function(t,n,u){return t.apply(n,u)}),la||(la=function(t,n){return new t(...n)});const co=nt(Array.prototype.forEach),Md=nt(Array.prototype.pop),Ar=nt(Array.prototype.push),fo=nt(String.prototype.toLowerCase),ia=nt(String.prototype.toString),Ld=nt(String.prototype.match),Tr=nt(String.prototype.replace),V8=nt(String.prototype.indexOf),Z8=nt(String.prototype.trim),bt=nt(Object.prototype.hasOwnProperty),Ie=nt(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 la(e,n)}}(TypeError);function nt(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 oa(e,t,u)}}function U(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fo;Fd&&Fd(e,null);let u=t.length;for(;u--;){let r=t[u];if("string"==typeof r){const o=n(r);o!==r&&($8(t)||(t[u]=o),r=o)}e[r]=!0}return e}function W8(e){for(let t=0;t<e.length;t++)bt(e,t)||(e[t]=null);return e}function zn(e){const t=Nd(null);for(const[n,u]of Dd(e))bt(e,n)&&(Array.isArray(u)?t[n]=W8(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=U8(e,t);if(u){if(u.get)return nt(u.get);if("function"==typeof u.value)return nt(u.value)}e=B8(e)}return function(){return null}}const Od=Pe(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),aa=Pe(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),sa=Pe(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),G8=Pe(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ca=Pe(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Q8=Pe(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),jd=Pe(["#text"]),Pd=Pe(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),fa=Pe(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Id=Pe(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),po=Pe(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Y8=dt(/\{\{[\w\W]*|[\w\W]*\}\}/gm),X8=dt(/<%[\w\W]*|[\w\W]*%>/gm),K8=dt(/\${[\w\W]*}/gm),J8=dt(/^data-[\-\w.\u00B7-\uFFFF]/),e5=dt(/^aria-[\-\w]+$/),Rd=dt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),t5=dt(/^(?:\w+script|data):/i),n5=dt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),zd=dt(/^html$/i),u5=dt(/^[a-z][.\w]*(-[.\w]+)+$/i);var Hd=Object.freeze({__proto__:null,MUSTACHE_EXPR:Y8,ERB_EXPR:X8,TMPLIT_EXPR:K8,DATA_ATTR:J8,ARIA_ATTR:e5,IS_ALLOWED_URI:Rd,IS_SCRIPT_OR_DATA:t5,ATTR_WHITESPACE:n5,DOCTYPE_NAME:zd,CUSTOM_ELEMENT:u5});const Nr_element=1,Nr_text=3,Nr_progressingInstruction=7,Nr_comment=8,Nr_document=9;var l5=function $d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:typeof window>"u"?null:window;const t=P=>$d(P);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:f,DOMParser:h,trustedTypes:v}=e,p=a.prototype,b=Fr(p,"cloneNode"),S=Fr(p,"remove"),g=Fr(p,"nextSibling"),d=Fr(p,"childNodes"),m=Fr(p,"parentNode");if("function"==typeof l){const P=n.createElement("template");P.content&&P.content.ownerDocument&&(n=P.content.ownerDocument)}let _,C="";const{implementation:E,createNodeIterator:D,createDocumentFragment:A,getElementsByTagName:j}=n,{importNode:L}=u;let H={};t.isSupported="function"==typeof Dd&&"function"==typeof m&&E&&void 0!==E.createHTMLDocument;const{MUSTACHE_EXPR:Q,ERB_EXPR:ke,TMPLIT_EXPR:Re,DATA_ATTR:We,ARIA_ATTR:Fe,IS_SCRIPT_OR_DATA:ie,ATTR_WHITESPACE:N,CUSTOM_ELEMENT:I}=Hd;let{IS_ALLOWED_URI:z}=Hd,$=null;const ae=U({},[...Od,...aa,...sa,...ca,...jd]);let J=null;const Ot=U({},[...Pd,...fa,...Id,...po]);let ee=Object.seal(Nd(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}})),ut=null,En=null,h2=!0,ya=!0,m2=!1,g2=!0,ku=!1,xa=!0,$n=!1,_a=!1,ba=!1,Cu=!1,yo=!1,xo=!1,w2=!0,v2=!1,Ea=!0,jr=!1,Su={},Au=null;const y2=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 x2=null;const _2=U({},["audio","video","img","source","image","track"]);let ka=null;const b2=U({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),_o="http://www.w3.org/1998/Math/MathML",bo="http://www.w3.org/2000/svg",Qt="http://www.w3.org/1999/xhtml";let Tu=Qt,Ca=!1,Sa=null;const rw=U({},[_o,bo,Qt],ia);let Pr=null;const ow=["application/xhtml+xml","text/html"];let ve=null,Du=null;const iw=n.createElement("form"),E2=function(x){return x instanceof RegExp||x instanceof Function},Aa=function(){let x=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Du||Du!==x){if((!x||"object"!=typeof x)&&(x={}),x=zn(x),Pr=-1===ow.indexOf(x.PARSER_MEDIA_TYPE)?"text/html":x.PARSER_MEDIA_TYPE,ve="application/xhtml+xml"===Pr?ia:fo,$=bt(x,"ALLOWED_TAGS")?U({},x.ALLOWED_TAGS,ve):ae,J=bt(x,"ALLOWED_ATTR")?U({},x.ALLOWED_ATTR,ve):Ot,Sa=bt(x,"ALLOWED_NAMESPACES")?U({},x.ALLOWED_NAMESPACES,ia):rw,ka=bt(x,"ADD_URI_SAFE_ATTR")?U(zn(b2),x.ADD_URI_SAFE_ATTR,ve):b2,x2=bt(x,"ADD_DATA_URI_TAGS")?U(zn(_2),x.ADD_DATA_URI_TAGS,ve):_2,Au=bt(x,"FORBID_CONTENTS")?U({},x.FORBID_CONTENTS,ve):y2,ut=bt(x,"FORBID_TAGS")?U({},x.FORBID_TAGS,ve):{},En=bt(x,"FORBID_ATTR")?U({},x.FORBID_ATTR,ve):{},Su=!!bt(x,"USE_PROFILES")&&x.USE_PROFILES,h2=!1!==x.ALLOW_ARIA_ATTR,ya=!1!==x.ALLOW_DATA_ATTR,m2=x.ALLOW_UNKNOWN_PROTOCOLS||!1,g2=!1!==x.ALLOW_SELF_CLOSE_IN_ATTR,ku=x.SAFE_FOR_TEMPLATES||!1,xa=!1!==x.SAFE_FOR_XML,$n=x.WHOLE_DOCUMENT||!1,Cu=x.RETURN_DOM||!1,yo=x.RETURN_DOM_FRAGMENT||!1,xo=x.RETURN_TRUSTED_TYPE||!1,ba=x.FORCE_BODY||!1,w2=!1!==x.SANITIZE_DOM,v2=x.SANITIZE_NAMED_PROPS||!1,Ea=!1!==x.KEEP_CONTENT,jr=x.IN_PLACE||!1,z=x.ALLOWED_URI_REGEXP||Rd,Tu=x.NAMESPACE||Qt,ee=x.CUSTOM_ELEMENT_HANDLING||{},x.CUSTOM_ELEMENT_HANDLING&&E2(x.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ee.tagNameCheck=x.CUSTOM_ELEMENT_HANDLING.tagNameCheck),x.CUSTOM_ELEMENT_HANDLING&&E2(x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ee.attributeNameCheck=x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),x.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ee.allowCustomizedBuiltInElements=x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ku&&(ya=!1),yo&&(Cu=!0),Su&&($=U({},jd),J=[],!0===Su.html&&(U($,Od),U(J,Pd)),!0===Su.svg&&(U($,aa),U(J,fa),U(J,po)),!0===Su.svgFilters&&(U($,sa),U(J,fa),U(J,po)),!0===Su.mathMl&&(U($,ca),U(J,Id),U(J,po))),x.ADD_TAGS&&($===ae&&($=zn($)),U($,x.ADD_TAGS,ve)),x.ADD_ATTR&&(J===Ot&&(J=zn(J)),U(J,x.ADD_ATTR,ve)),x.ADD_URI_SAFE_ATTR&&U(ka,x.ADD_URI_SAFE_ATTR,ve),x.FORBID_CONTENTS&&(Au===y2&&(Au=zn(Au)),U(Au,x.FORBID_CONTENTS,ve)),Ea&&($["#text"]=!0),$n&&U($,["html","head","body"]),$.table&&(U($,["tbody"]),delete ut.tbody),x.TRUSTED_TYPES_POLICY){if("function"!=typeof x.TRUSTED_TYPES_POLICY.createHTML)throw Dr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof x.TRUSTED_TYPES_POLICY.createScriptURL)throw Dr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_=x.TRUSTED_TYPES_POLICY,C=_.createHTML("")}else void 0===_&&(_=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!==_&&"string"==typeof C&&(C=_.createHTML(""));Pe&&Pe(x),Du=x}},k2=U({},["mi","mo","mn","ms","mtext"]),C2=U({},["foreignobject","annotation-xml"]),aw=U({},["title","style","font","a","script"]),S2=U({},[...aa,...sa,...G8]),A2=U({},[...ca,...Q8]),jt=function(x){Ar(t.removed,{element:x});try{m(x).removeChild(x)}catch{S(x)}},Eo=function(x,F){try{Ar(t.removed,{attribute:F.getAttributeNode(x),from:F})}catch{Ar(t.removed,{attribute:null,from:F})}if(F.removeAttribute(x),"is"===x&&!J[x])if(Cu||yo)try{jt(F)}catch{}else try{F.setAttribute(x,"")}catch{}},T2=function(x){let F=null,O=null;if(ba)x="<remove></remove>"+x;else{const Ce=Ld(x,/^[\r\n\t ]+/);O=Ce&&Ce[0]}"application/xhtml+xml"===Pr&&Tu===Qt&&(x='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+x+"</body></html>");const Y=_?_.createHTML(x):x;if(Tu===Qt)try{F=(new h).parseFromString(Y,Pr)}catch{}if(!F||!F.documentElement){F=E.createDocument(Tu,"template",null);try{F.documentElement.innerHTML=Ca?C:Y}catch{}}const Ne=F.body||F.documentElement;return x&&O&&Ne.insertBefore(n.createTextNode(O),Ne.childNodes[0]||null),Tu===Qt?j.call(F,$n?"html":"body")[0]:$n?F.documentElement:Ne},D2=function(x){return D.call(x.ownerDocument||x,x,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},F2=function(x){return x instanceof f&&("string"!=typeof x.nodeName||"string"!=typeof x.textContent||"function"!=typeof x.removeChild||!(x.attributes instanceof c)||"function"!=typeof x.removeAttribute||"function"!=typeof x.setAttribute||"string"!=typeof x.namespaceURI||"function"!=typeof x.insertBefore||"function"!=typeof x.hasChildNodes)},N2=function(x){return"function"==typeof i&&x instanceof i},Yt=function(x,F,O){H[x]&&co(H[x],(Y=>{Y.call(t,F,O,Du)}))},M2=function(x){let F=null;if(Yt("beforeSanitizeElements",x,null),F2(x))return jt(x),!0;const O=ve(x.nodeName);if(Yt("uponSanitizeElement",x,{tagName:O,allowedTags:$}),x.hasChildNodes()&&!N2(x.firstElementChild)&&Ie(/<[/\w]/g,x.innerHTML)&&Ie(/<[/\w]/g,x.textContent)||x.nodeType===Nr_progressingInstruction||xa&&x.nodeType===Nr_comment&&Ie(/<[/\w]/g,x.data))return jt(x),!0;if(!$[O]||ut[O]){if(!ut[O]&&O2(O)&&(ee.tagNameCheck instanceof RegExp&&Ie(ee.tagNameCheck,O)||ee.tagNameCheck instanceof Function&&ee.tagNameCheck(O)))return!1;if(Ea&&!Au[O]){const Y=m(x)||x.parentNode,Ne=d(x)||x.childNodes;if(Ne&&Y){for(let Ge=Ne.length-1;Ge>=0;--Ge){const Pt=b(Ne[Ge],!0);Pt.__removalCount=(x.__removalCount||0)+1,Y.insertBefore(Pt,g(x))}}}return jt(x),!0}return x instanceof a&&!function(x){let F=m(x);(!F||!F.tagName)&&(F={namespaceURI:Tu,tagName:"template"});const O=fo(x.tagName),Y=fo(F.tagName);return!!Sa[x.namespaceURI]&&(x.namespaceURI===bo?F.namespaceURI===Qt?"svg"===O:F.namespaceURI===_o?"svg"===O&&("annotation-xml"===Y||k2[Y]):!!S2[O]:x.namespaceURI===_o?F.namespaceURI===Qt?"math"===O:F.namespaceURI===bo?"math"===O&&C2[Y]:!!A2[O]:x.namespaceURI===Qt?!(F.namespaceURI===bo&&!C2[Y]||F.namespaceURI===_o&&!k2[Y])&&!A2[O]&&(aw[O]||!S2[O]):!("application/xhtml+xml"!==Pr||!Sa[x.namespaceURI]))}(x)||("noscript"===O||"noembed"===O||"noframes"===O)&&Ie(/<\/no(script|embed|frames)/i,x.innerHTML)?(jt(x),!0):(ku&&x.nodeType===Nr_text&&(F=x.textContent,co([Q,ke,Re],(Y=>{F=Tr(F,Y," ")})),x.textContent!==F&&(Ar(t.removed,{element:x.cloneNode()}),x.textContent=F)),Yt("afterSanitizeElements",x,null),!1)},L2=function(x,F,O){if(w2&&("id"===F||"name"===F)&&(O in n||O in iw))return!1;if((!ya||En[F]||!Ie(We,F))&&(!h2||!Ie(Fe,F)))if(!J[F]||En[F]){if(!(O2(x)&&(ee.tagNameCheck instanceof RegExp&&Ie(ee.tagNameCheck,x)||ee.tagNameCheck instanceof Function&&ee.tagNameCheck(x))&&(ee.attributeNameCheck instanceof RegExp&&Ie(ee.attributeNameCheck,F)||ee.attributeNameCheck instanceof Function&&ee.attributeNameCheck(F))||"is"===F&&ee.allowCustomizedBuiltInElements&&(ee.tagNameCheck instanceof RegExp&&Ie(ee.tagNameCheck,O)||ee.tagNameCheck instanceof Function&&ee.tagNameCheck(O))))return!1}else if(!ka[F]&&!Ie(z,Tr(O,N,""))&&("src"!==F&&"xlink:href"!==F&&"href"!==F||"script"===x||0!==V8(O,"data:")||!x2[x])&&(!m2||Ie(ie,Tr(O,N,"")))&&O)return!1;return!0},O2=function(x){return"annotation-xml"!==x&&Ld(x,I)},j2=function(x){Yt("beforeSanitizeAttributes",x,null);const{attributes:F}=x;if(!F)return;const O={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:J};let Y=F.length;for(;Y--;){const Ne=F[Y],{name:Ce,namespaceURI:Ge,value:Pt}=Ne,Ir=ve(Ce);let ze="value"===Ce?Pt:Z8(Pt);if(O.attrName=Ir,O.attrValue=ze,O.keepAttr=!0,O.forceKeepAttr=void 0,Yt("uponSanitizeAttribute",x,O),ze=O.attrValue,xa&&Ie(/((--!?|])>)|<\/(style|title)/i,ze)){Eo(Ce,x);continue}if(O.forceKeepAttr||(Eo(Ce,x),!O.keepAttr))continue;if(!g2&&Ie(/\/>/i,ze)){Eo(Ce,x);continue}ku&&co([Q,ke,Re],(I2=>{ze=Tr(ze,I2," ")}));const P2=ve(x.nodeName);if(L2(P2,Ir,ze)){if(v2&&("id"===Ir||"name"===Ir)&&(Eo(Ce,x),ze="user-content-"+ze),_&&"object"==typeof v&&"function"==typeof v.getAttributeType&&!Ge)switch(v.getAttributeType(P2,Ir)){case"TrustedHTML":ze=_.createHTML(ze);break;case"TrustedScriptURL":ze=_.createScriptURL(ze)}try{Ge?x.setAttributeNS(Ge,Ce,ze):x.setAttribute(Ce,ze),F2(x)?jt(x):Md(t.removed)}catch{}}}Yt("afterSanitizeAttributes",x,null)},cw=function P(x){let F=null;const O=D2(x);for(Yt("beforeSanitizeShadowDOM",x,null);F=O.nextNode();)Yt("uponSanitizeShadowNode",F,null),!M2(F)&&(F.content instanceof o&&P(F.content),j2(F));Yt("afterSanitizeShadowDOM",x,null)};return t.sanitize=function(P){let x=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},F=null,O=null,Y=null,Ne=null;if(Ca=!P,Ca&&(P="\x3c!--\x3e"),"string"!=typeof P&&!N2(P)){if("function"!=typeof P.toString)throw Dr("toString is not a function");if("string"!=typeof(P=P.toString()))throw Dr("dirty is not a string, aborting")}if(!t.isSupported)return P;if(_a||Aa(x),t.removed=[],"string"==typeof P&&(jr=!1),jr){if(P.nodeName){const Pt=ve(P.nodeName);if(!$[Pt]||ut[Pt])throw Dr("root node is forbidden and cannot be sanitized in-place")}}else if(P instanceof i)F=T2("\x3c!----\x3e"),O=F.ownerDocument.importNode(P,!0),O.nodeType===Nr_element&&"BODY"===O.nodeName||"HTML"===O.nodeName?F=O:F.appendChild(O);else{if(!Cu&&!ku&&!$n&&-1===P.indexOf("<"))return _&&xo?_.createHTML(P):P;if(F=T2(P),!F)return Cu?null:xo?C:""}F&&ba&&jt(F.firstChild);const Ce=D2(jr?P:F);for(;Y=Ce.nextNode();)M2(Y)||(Y.content instanceof o&&cw(Y.content),j2(Y));if(jr)return P;if(Cu){if(yo)for(Ne=A.call(F.ownerDocument);F.firstChild;)Ne.appendChild(F.firstChild);else Ne=F;return(J.shadowroot||J.shadowrootmode)&&(Ne=L.call(u,Ne,!0)),Ne}let Ge=$n?F.outerHTML:F.innerHTML;return $n&&$["!doctype"]&&F.ownerDocument&&F.ownerDocument.doctype&&F.ownerDocument.doctype.name&&Ie(zd,F.ownerDocument.doctype.name)&&(Ge="<!DOCTYPE "+F.ownerDocument.doctype.name+">\n"+Ge),ku&&co([Q,ke,Re],(Pt=>{Ge=Tr(Ge,Pt," ")})),_&&xo?_.createHTML(Ge):Ge},t.setConfig=function(){Aa(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),_a=!0},t.clearConfig=function(){Du=null,_a=!1},t.isValidAttribute=function(P,x,F){Du||Aa({});const O=ve(P),Y=ve(x);return L2(O,Y,F)},t.addHook=function(P,x){"function"==typeof x&&(H[P]=H[P]||[],Ar(H[P],x))},t.removeHook=function(P){if(H[P])return Md(H[P])},t.removeHooks=function(P){H[P]&&(H[P]=[])},t.removeAllHooks=function(){H={}},t}();function i5(e,t="en"){let n;n="number"==typeof e?new Date(1e3*e):new Date(e);const u="th"===t?"th-TH":"en-US";return n.toLocaleTimeString(u,{hour:"numeric",minute:"2-digit",hour12:!0})}function a5(e,t="en"){const n=new Date(e),u=new Date,r=new Date;r.setDate(u.getDate()-1);const 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 f5=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},k.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"})),d5=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},k.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"})),p5=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},k.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"})),h5=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none",...e},k.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"}),k.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"})),m5=({document:e,query:t})=>y.jsxs("div",{className:"tw-ch tw-kl",children:[y.jsxs("div",{className:"tw-am tw-aj tw-hm tw-io tw-zm tw-ne tw-wi tw-yi tw-ac",children:[y.jsx("span",{className:"tw-qi tw-ld tw-uh tw-ce",children:e.key}),y.jsxs("span",{className:"tw-ok tw-tf tw-uh tw-ge",children:["Query: ",t]}),y.jsxs("span",{className:"tw-ok tw-tf tw-uh tw-ge",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]})]}),y.jsxs("div",{className:"tw-ok tw-uh tw-en tw-bn tw-he tw-ua tw-db tw-qd",children:[y.jsx(Bd,{}),e.content,y.jsx(Bd,{})]})]}),Bd=()=>y.jsxs("div",{className:"tw-cg tw-fj tw-wm",children:[y.jsxs("div",{className:"tw-am tw-ve tw-kl",children:[y.jsx("div",{className:"tw-rl tw-of tw-cf tw-rn"}),y.jsx("div",{className:"tw-rl tw-om tw-of tw-cf tw-qn"}),y.jsx("div",{className:"tw-rl tw-om tw-of tw-cf tw-kl"})]}),y.jsxs("div",{className:"tw-am tw-ve tw-kl tw-vd",children:[y.jsx("div",{className:"tw-rl tw-of tw-cf tw-kl"}),y.jsx("div",{className:"tw-rl tw-om tw-of tw-cf tw-kl"}),y.jsx("div",{className:"tw-rl tw-om tw-of tw-cf tw-qn"})]}),y.jsxs("div",{className:"tw-am tw-ve tw-kl tw-ud",children:[y.jsx("div",{className:"tw-rl tw-of tw-cf tw-kl"}),y.jsx("div",{className:"tw-rl tw-om tw-of tw-cf tw-tn"}),y.jsx("div",{className:"tw-rl tw-om tw-of tw-cf tw-kl"})]})]}),g5=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},k.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"}),k.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"})),w5_createReport=async(e,t)=>{try{const n=await fetch("https://api-sso.dbt.pw/v1/report",{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)}),u=await n.json();return{status:n.status,data:u}}catch(n){throw console.error(n),n}},v5=({message:e,query:t,sources:n,onClose:u,messageID:r})=>{const[o,l]=k.useState(t),[i,a]=k.useState(e),[s,c]=k.useState(""),[f,h]=k.useState(""),v=q.settings.language,p=Dt[v]||Dt.en,[b,S]=k.useState(!1),g={messageID:r,question:t,answer:i,reviewAnswer:f,remark:s,reference:null==n?void 0:n.map((m=>({s3Key:null==m?void 0:m.key,content:null==m?void 0:m.content})))};return y.jsxs("div",{className:"tw-ch tw-kl tw-uh",children:[y.jsx("div",{className:"tw-am tw-aj tw-hm tw-io tw-ne tw-wi tw-yi tw-ac",children:y.jsx("span",{className:"tw-pk tw-qm tw-fm tw-sh",children:p.report})}),y.jsx("div",{className:"tw-am tw-aj tw-pl tw-pd tw-yd",children:y.jsxs("div",{className:"tw-am tw-aj tw-ql tw-io",children:[y.jsxs("div",{className:"tw-am tw-aj tw-nl",children:[y.jsx("span",{className:"tw-qi tw-sh",children:p.question}),y.jsx("input",{type:"text",value:o,onChange:m=>l(m.target.value),className:"tw-ho tw-qi tw-ne tw-ha tw-vk tw-ac tw-fh",placeholder:p.question,disabled:!0})]}),y.jsxs("div",{className:"tw-am tw-aj tw-nl",children:[y.jsx("span",{className:"tw-qi tw-sh",children:p.answer}),y.jsx("textarea",{onChange:m=>{a(m.target.value)},value:i,className:"tw-ho tw-qi tw-ne tw-ha tw-vk tw-ac tw-fh tw-lj",cols:"30",rows:"10",placeholder:p.answer,disabled:!0})]}),y.jsxs("div",{className:"tw-am tw-aj tw-nl",children:[y.jsx("span",{className:"tw-qi tw-sh",children:p.answerCorrect}),y.jsx("textarea",{onChange:m=>{h(m.target.value)},value:f,className:"tw-ho tw-vk tw-ac tw-af tw-fh tw-qi tw-lj",cols:"10",rows:"5",placeholder:p.answerCorrect})]}),y.jsxs("div",{className:"tw-am tw-aj tw-nl",children:[y.jsx("span",{className:"tw-qi tw-sh",children:p.sources}),(null==n?void 0:n.length)<=0?y.jsx("div",{children:y.jsx("p",{className:"tw-pb",children:p.sourcesEmpty})}):y.jsx("div",{className:"tw-am tw-aj tw-ho tw-ol tw-vk tw-ne tw-ac tw-fh",children:null==n?void 0:n.map(((m,_)=>y.jsxs("div",{className:"tw-dm tw-zl tw-jn tw-am tw-ve tw-nl tw-vk tw-ne tw-ac tw-zc",children:[y.jsx(g5,{}),y.jsx("span",{className:"tw-we tw-ad",children:m.key.split("/").pop()})]},_)))})]}),y.jsxs("div",{className:"tw-am tw-aj tw-nl",children:[y.jsx("span",{className:"tw-qi tw-sh",children:p.remark}),y.jsx("input",{type:"text",value:s,onChange:m=>c(m.target.value),className:"tw-ho tw-qi tw-ne tw-ha tw-vk tw-ac tw-fh",placeholder:p.remark})]}),y.jsxs("div",{className:"tw-tm tw-kl tw-am tw-pl tw-wf tw-rh tw-oc",children:[y.jsx("button",{onClick:u,className:"tw-vc tw-am tw-ve tw-xc tw-pf tw-vk tw-nb tw-ch tw-cm tw-jj tw-la tw-qe tw-mc",children:y.jsx("p",{className:"tw-dd",children:p.cancel})}),y.jsx("button",{disabled:b||""===f,onClick:async()=>{S(!0);try{const m=await w5_createReport(g);console.log(m,"<<<<< result"),200===m.status&&u()}catch{console.log("Failed to fetch report.")}finally{S(!1)}},className:"tw-vc tw-am tw-ve tw-pf tw-me tw-ch tw-cm tw-jj tw-la tw-qe tw-mc tw-ma tw-s tw-ab",children:y.jsx("p",{className:"tw-hh",children:p.report})})]})]})})]})},ho=({children:e,text:t,render:n})=>y.jsxs("div",{className:"anm-group/tooltip tw-kj tw-am",children:[e,t&&y.jsx("span",{className:"tw-ui tw-uh tw-ej tw-lb tw-qb tw-rm tw-k tw-gi tw-hn tw-ok tw-da tw-qa tw-dh tw-ak tw-gb tw-xa tw-ug tw-ph",children:t}),n&&n]}),y5=({document:e})=>y.jsxs("div",{className:"tw-yk tw-aj tw-ui tw-zk tw-qj tw-je tw-z tw-fo tw-dh tw-ak tw-sn tw-vi tw-tk tw-li tw-hi tw-ob tw-ck",children:[y.jsx("span",{className:"tw-uh tw-ok tw-gh",children:e.key}),y.jsxs("span",{className:"tw-uh tw-ok ",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]}),y.jsx("span",{className:"tw-uh tw-ok tw-sn tw-ce tw-gb tw-gc tw-ue tw-rm",children:e.content.substring(0,50)})]}),x5={copy:e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},k.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"}),k.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=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},k.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"}))},_5=l5(window),b5=({messageIndex:e,history:t=[],sessionId:n,type:u,message:r,role:o,isRAG:l,query:i="",question:a,sources:s=[],error:c=!1,read:f,sending:h,pending:v,sentAt:p,isDateChanged:b,currDate:S,isLastMessage:g,isShowSuggestion:d,onSuggestion:m,defaultSuggesstion:_=[],setSuggestList:C,messageID:E})=>{const{openModal:D,setModalOpen:A}=k.useContext(Ri),j=k.useRef(null),L=q.settings.language,H=Dt[L]||Dt.en,Q=q.settings.textSize?`anm-text-[${q.settings.textSize}px]`:"tw-gg",[ke,Re]=k.useState("copy"),We=x5[ke];k.useEffect((()=>{j.current&&j.current.querySelectorAll("a").forEach((ie=>{ie.onclick=async N=>{N.preventDefault(),console.log("I am clicked! "+ie.href),yr.sendEvent({event:"click",url:ie.href},{"client-id":q.settings.embedId,"session-id":n}),ie.onclick=null,window.location.href=ie.href}}))}),[r,n]);return"event"===u?y.jsx("div",{className:"tw-am tw-xc tw-rm tw-hm",children:y.jsx("div",{className:"tw-mn tw-ig tw-ok tw-uh",children:r})}):y.jsxs(y.Fragment,{children:[b&&y.jsx("div",{className:"tw-am tw-xc tw-rm tw-hm",children:y.jsx("div",{className:"tw-am tw-ve tw-xc tw-lh tw-ig tw-cf tw-mn tw-in tw-qk tw-uh",children:a5(S,L)})}),y.jsxs("div",{style:{"--user-bg":Ud("user"),"--asst-bg":Ud("assistant"),"--user-text":Vd("user"),"--asst-text":Vd("assistant")},className:"tw-kj tw-an tw-f",children:[y.jsxs("div",{className:"tw-am tw-vf tw-kl tw-sl "+("user"===o?"tw-wf":"tw-md"),children:["user"!==o&&y.jsx("span",{className:"tw-am tw-nj tw-oo tw-bo tw-cf tw-lm",children:y.jsx("img",{src:q.settings.assistantIcon||jf,alt:"Chatbot Avatar"})}),y.jsxs("div",{"data-role":o,className:"tw-kj tw-te tw-qf tw-on tw-kn tw-ue tw-uh tw-kf tw-zf "+(c?"tw-lg tw-ch":"user"===o?`${q.USER_STYLES.base} anm-animuz-user-message tw-da tw-qa`:`${q.ASSISTANT_STYLES.base} tw-ba tw-pa tw-xi ${d&&"tw-aa tw-ne"}`),children:["user"!==o&&c?y.jsxs("div",{className:"tw-go tw-ch tw-mh tw-if",children:[y.jsxs("span",{className:"tw-ue ",children:[y.jsx(Nf,{className:"tw-yn tw-ko tw-gm tw-ue"})," ","Could not respond to message."]}),y.jsx("p",{className:"tw-qk tw-th tw-rm tw-og tw-uc tw-dn tw-mg tw-go tw-eh",children:c})]}):v?y.jsx("div",{className:"tw-um tw-vm anm-dot-falling"}):y.jsxs(y.Fragment,{children:[y.jsx("span",{ref:j,className:`tw-ua tw-am tw-aj tw-uj ${Q} tw-yh tw-hf tw-wc`,dangerouslySetInnerHTML:{__html:_5.sanitize(H8(r))}}),q.settings.showRag&&l&&s.length>0&&y.jsx("div",{className:"tw-am tw-rh tw-vj tw-ve tw-rm tw-ok tw-fe",children:s.map(((ie,N)=>y.jsx(ho,{render:y.jsx(y5,{document:ie}),children:y.jsx("span",{className:"tw-lm tw-mn tw-in tw-ch tw-nf tw-vc tw-jb tw-vb tw-ce tw-gb tw-gc anm-max-w-32",onClick:()=>D(y.jsx(m5,{document:ie,query:i})),children:ie.key.split("/").pop()})},N)))})]}),y.jsxs("div",{className:"tw-am tw-aj tw-ui tw-uh tw-eg tw-ee tw-gb tw-zi "+("user"===o?"tw-xh tw-ah tw-km":"tw-vf tw-zh tw-im"),children:["user"===o&&f&&y.jsx("span",{children:"Read"}),y.jsxs("div",{className:"tw-am tw-ve",children:["user"===o&&h?y.jsx("span",{children:y.jsx(p5,{width:16,height:16,viewBox:"0 0 24 24"})}):"user"===o&&c?y.jsxs("span",{className:"tw-am tw-nl tw-ve tw-km tw-if",children:[y.jsx(h5,{})," ",c]}):y.jsx(y.Fragment,{}),p&&y.jsx("span",{children:i5(p)})]})]})]})]}),q.settings.showActions&&"user"!==o&&y.jsxs("div",{"aria-expanded":g&&!v,className:"anm-action-wrapper tw-ya tw-za tw-vn tw-kl tw-cl tw-an tw-ui tw-yk tw-qj tw-qc tw-sj tw-tl tw-rc tw-ni",children:[y.jsx(ho,{text:"copy"===ke?H.copy:H.copySuccess,children:y.jsx("button",{className:"tw-am tw-ve tw-xc tw-vc tw-pf tw-rc tw-co tw-hn tw-ee tw-t",onClick:()=>{navigator.clipboard.writeText(r),Re("check"),setTimeout((()=>{Re("copy")}),1e3)},children:y.jsx(We,{className:"tw-ko tw-yn"})})}),y.jsx(ho,{text:H.suggest,children:y.jsx("button",{onClick:()=>{m(),(async()=>{var ie,N;try{if(null!==(null==(ie=q.settings)?void 0:ie.defaultSuggestions)&&""!==(null==(N=q.settings)?void 0:N.defaultSuggestions)){const z=(await yr.suggestionsNoAuth({conversationID:n,defaultSuggestions:q.settings.defaultSuggestions,messages:t},{"client-id":q.settings.embedId,"session-id":n})).suggest,ae=JSON.parse(z).map((J=>({role:"assistant",content:J})));C(ae)}}catch(I){console.error("Error fetching suggestions:",I)}})()},className:"tw-am tw-ve tw-xc tw-vc tw-pf tw-rc tw-co tw-hn tw-ee tw-t tw-s tw-ea",children:y.jsx(f5,{className:"tw-ko tw-yn"})})}),0!==e&&y.jsx(ho,{text:H.report,children:y.jsx("button",{className:"tw-am tw-ve tw-xc tw-vc tw-pf tw-rc tw-co tw-hn tw-ee tw-t tw-s tw-ea",onClick:()=>{D(y.jsx(v5,{datasetID:q.settings.embedId,message:r,query:a,messageID:E,sources:s,onClose:()=>A(!1)}))},children:y.jsx(d5,{className:"tw-ko tw-yn"})})})]})]})]})};function Ud(e){return"user"===e?q.settings.userBgColor??"#3DBEF5":q.settings.assistantBgColor??"#FFFFFF"}function Vd(e){return"user"===e?q.settings.userTextColor??"#FFFFFF":q.settings.assistantTextColor??"#27272a"}function Zd(){const{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}function k5(){var r,o;const{width:e}=function(){const[e,t]=k.useState(Zd());return k.useEffect((()=>{function n(){t(Zd())}return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}),[]),e}(),[t,n]=k.useState(!(null!=(r=null==window?void 0:window.sessionStorage)&&r.getItem(Q1)||null!=(o=null==window?void 0:window.localStorage)&&o.getItem(J0)));return{isGreetingsShow:t,toggleGreetingsShow:function(l){!0===l&&e>=768&&window.sessionStorage.setItem(Q1,"1"),n(l)}}}function qd(e){return e&&e.greetings?JSON.parse(e.greetings).map((t=>({role:"assistant",content:t}))):[]}function C5({sessionId:e,isChatOpen:t,settings:n={},history:u=[],showSuggestions:r,setShowSuggesstion:o,setSuggestList:l}){const[i,a]=k.useState(!0),s=k.useRef(null),c=k.useMemo((()=>qd(n)),[n]),f=k.useMemo((()=>[...c,...u]),[c,u]);k.useEffect((()=>{t&&v()}),[u,t]);const v=()=>{var p;null==(p=s.current)||p.scrollIntoView({behavior:"auto"})};return 0===f.length?y.jsx("div",{className:"tw-kj tw-am tw-aj tw-wk tw-kg tw-nf",children:y.jsx("div",{className:"tw-am tw-aj tw-zg tw-ij tw-ch tw-in tw-xk tw-rm tw-vj tw-md",children:y.jsx("div",{className:"tw-am tw-xk tw-aj tw-ve tw-xc",children:y.jsx("p",{className:"tw-ed tw-ok tw-uh tw-pn tw-hg",children:(null==n?void 0:n.greeting)??"Send a chat to get started."})})})}):y.jsxs("div",{className:"anm-wrapper-container tw-kj tw-am tw-aj tw-wk tw-kg tw-gc tw-nf",children:[y.jsx("div",{className:"anm-scroll-container tw-ja tw-db tw-cb tw-ae tw-xk tw-cn",onScroll:p=>{const S=p.target.scrollHeight-p.target.scrollTop-p.target.clientHeight<=40;a(S)},children:y.jsxs("div",{style:{"--pb":null!==r?"112px":"64px"},className:"tw-am tw-aj tw-wk tw-gn tw-yc tw-r tw-kn tw-ak tw-fc",children:[f.map(((p,b)=>{var m;const S=b===f.length-1&&b>c.length-1,d=null==(m=f[b-1])?void 0:m.content;return y.jsx(b5,{messageIndex:b,sessionId:e,type:p.type,message:p.content,sentAt:p.sentAt||p.timestamp,role:p.role,isRAG:p.isRAG,query:p.query,question:d,sources:p.sources,chatId:p.chatId,feedbackScore:p.feedbackScore,error:p.error,sending:p.sending,read:p.read,pending:p.pending,isDateChanged:p.isDateChanged,currDate:p.currDate,isLastMessage:S,onSuggestion:()=>{o(b===r?null:b)},isShowSuggestion:r===b,history:u,setSuggestList:l,messageID:p.msgID},b)})),y.jsx("div",{className:"tw-ll",ref:s})]})}),y.jsx(S5,{scrollToBottom:v,isAtBottom:i,isShowSuggestion:null===r})]})}const S5=({scrollToBottom:e,isAtBottom:t,isShowSuggestion:n})=>y.jsxs("button",{className:`tw-ui tw-hk tw-fo tw-tk tw-vc tw-am tw-ve tw-xc tw-cf tw-fl tw-bc tw-lf tw-hb tw-hh tw-xa tw-oe ${t?"tw-gi tw-ta":"tw-xf"} ${n?"tw-nh":"tw-oh"}`,onClick:e,id:"scroll-to-bottom-button","aria-label":"Scroll to bottom",children:[y.jsx(rf,{weight:"bold"}),y.jsx("span",{className:"tw-mk",children:"Scroll to bottom"})]});function A5(){return y.jsx("div",{className:"tw-xk tw-nf anm-no-scroll tw-am tw-aj tw-ve tw-xc",children:y.jsx(zi,{size:28,className:"tw-ed tw-le"})})}function T5({settings:e}){return"true"===e.noSponsor?null:y.jsxs(y.Fragment,{children:[y.jsx("div",{className:"tw-wj tw-of tw-um"}),y.jsxs("span",{className:"tw-ak tw-qk tw-uh tw-vm tw-de",children:["Powered by"," ",y.jsx("a",{href:"https://rudi.animuz.ai/",target:"_blank",rel:"noreferrer",className:"tw-qk anm-font-inherit tw-sb tw-ye tw-be tw-nc",children:"rudi.animuz.ai"})]})]})}function D5({suggestionList:e,onSendMessages:t,settings:n}){const u=null==n?void 0:n.headerBgColor,r=null==n?void 0:n.headerTextColor,o=(l,i=85)=>{let v,p,a=parseInt(l.slice(1,3),16)/255,s=parseInt(l.slice(3,5),16)/255,c=parseInt(l.slice(5,7),16)/255,f=Math.max(a,s,c),h=Math.min(a,s,c);if(f===h)v=p=0;else{let S=f-h;p=(f+h)/2>.5?S/(2-f-h):S/(f+h),f===a?v=(s-c)/S+(s<c?6:0):f===s?v=(c-a)/S+2:f===c&&(v=(a-s)/S+4),v*=60}return`hsl(${Math.round(v)}, ${Math.round(100*p)}%, ${i}%)`};return y.jsx("div",{style:{scrollbarWidth:"thin"},className:"tw-am tw-rf tw-hc tw-bl tw-wn",children:null==e?void 0:e.map(((l,i)=>y.jsx("div",{style:{"--bg-color":u??"#FFFFFF","--bg-color-saturated":o(u)??"#FFFFFF","--text-color":r??"#000000"},onClick:()=>t(null,null==l?void 0:l.content),className:"tw-y tw-ne tw-tc tw-w tw-bj tw-jn tw-fh tw-vc tw-l tw-u tw-fb tw-jg tw-lm tw-xe tw-rd tw-kl tw-am tw-ve",children:y.jsx("span",{className:"tw-gc tw-ce",children:null==l?void 0:l.content})},i)))})}function F5({settings:e,message:t,submit:n,onChange:u,inputDisabled:r,buttonDisabled:o,callPing:l,defaultSuggesstion:i=[],suggestList:a=[],submitSuggestion:s,isShowSuggestion:c}){const f=k.useRef(null),h=k.useRef(null),[v,p]=k.useState(!1);k.useEffect((()=>{!r&&h.current&&h.current.focus(),g()}),[r]);const g=()=>{if(!h.current)return;h.current.style.height="auto";const d=h.current.scrollHeight-24+"px";h.current.style.height=d};return k.useLayoutEffect((()=>{g()}),[h,t]),y.jsxs("div",{className:"tw-jl tw-zi tw-am tw-aj tw-in tw-zm tw-wf",children:[y.jsx("div",{className:"tw-gd tw-re tw-gc tw-kl tw-ak tw-fc "+(c?"tw-od tw-xf":"tw-yj tw-gi tw-pm"),children:y.jsx(D5,{settings:e,suggestionList:i,onSendMessages:s})}),y.jsxs("form",{onSubmit:d=>{p(!1),n(d)},className:"tw-vi tw-zf tw-am tw-aj tw-ne tw-vk tw-zb tw-kl tw-ak tw-fc",children:[y.jsxs("div",{className:"tw-am tw-xh tw-hj",children:[y.jsx("textarea",{ref:h,className:"tw-am tw-wk tw-kl tw-uh tw-v tw-rc tw-ok tw-wi tw-sa tw-nd tw-ai tw-bk tw-ho tw-ic tw-p tw-yf tw-oa tw-bb tw-ke",onKeyDown:d=>{13==d.keyCode&&!d.shiftKey&&(d.preventDefault(),n(d))},onChange:u,required:!0,disabled:r,onFocus:()=>{p(!0),l()},onBlur:d=>{p(!1)},rows:1,tabIndex:0,enterKeyHint:"enter",value:t,placeholder:"Talk with me",id:"message-input"}),y.jsxs("button",{ref:f,type:"submit",disabled:o,className:"tw-uf tw-xc tw-eo tw-ve tw-rc tw-pf tw-dh tw-vc tw-gh tw-xm tw-lm anm-group/button tw-q",id:"send-message-button","aria-label":"Send message",children:[r?y.jsx(zi,{className:"tw-ko tw-yn tw-le"}):y.jsx(Cf,{size:24,style:{"--btn-color":e.headerBgColor??"#000000"},className:"tw-ca tw-xg tw-o tw-e",weight:"fill"}),y.jsx("span",{className:"tw-mk",children:"Send message"})]})]}),y.jsx(T5,{settings:e})]})]})}const da={message:"ping",timeout:6e4,interval:25e3};const L5=(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)))}},O5=(e,t,n,u,r,o)=>{e.onopen=l=>{if(t.current.onOpen&&t.current.onOpen(l),u.current=0,n(Wt.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=da.interval,timeout:r=da.timeout,message:o=da.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(f){console.error("Heartbeat failed, closing connection",f instanceof Error?f.message:f),e.close()}}),l);e.addEventListener("close",(()=>{clearInterval(a)}))}(e,r,i)}}},j5=(e,t,n,u,r)=>{let o;return e.onclose=l=>{if(t.current.onClose&&t.current.onClose(l),n(Wt.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)},P5=(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)},Qd=k.createContext({}),R5=(e,t,n,u,r,o,l,i,a,s)=>{const c=[...r.current.protocols,n];if(console.log("createOrJoinSocket",t,c),e.current=new WebSocket(t,c),u(Wt.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 L5(e,n,i,o,l),O5(e,n,a,r,o,l),s=j5(e,n,a,u,r),c=P5(e,n,a,u,r),()=>{a(Wt.CLOSING),s(),c(),e.close()}})(e.current,{setLastMessage:o,setReadyState:u},r,l.current,i,a,s)},Wt={UNINSTANTIATED:-1,CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},z5=()=>k.useContext(Qd);const $5=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",stroke:"currentColor",...e},k.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"}),k.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"}),k.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"})),B5=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},k.createElement("path",{stroke:"#C3C3C3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M6 12h12"})),U5=({data:e,settings:t,className:n,isFullScreen:u})=>{const[r,o]=k.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 y.jsxs("div",{style:{"--bg-color":(null==t?void 0:t.headerBgColor)??"#FFFFFF"},className:`tw-td tw-kl tw-zf tw-xi tw-w tw-ne tw-gc tw-vi ${n} ${u?"tw-xf tw-fa tw-j":"tw-gi tw-ta"}`,children:[y.jsxs("div",{className:"tw-io tw-am tw-ve tw-ec tw-yi tw-rg tw-qg tw-ne tw-nb tw-vc tw-bg",onClick:()=>{o((c=>!c))},children:[y.jsxs("div",{className:"tw-am tw-ve tw-oi",children:[y.jsx($5,{style:{"--bg-color":(null==t?void 0:t.headerBgColor)??"#FFFFFF"},className:"tw-fl tw-x"}),y.jsx("span",{className:"tw-nk tw-ld",children:i.statistic})]}),y.jsx(B5,{className:"tw-fl tw-la tw-re "+(r?"tw-bh":"")})]}),y.jsx("div",{className:"tw-bm tw-gd tw-re tw-kn "+(r?"tw-dc tw-pn ":"tw-cc tw-ln"),children:y.jsx("div",{className:"tw-am tw-aj tw-pi tw-gc",children:a.map(((c,f)=>y.jsxs("div",{className:"tw-am tw-oi",children:[y.jsx("span",{className:"tw-cd tw-xd tw-sd",children:c.title}),y.jsx("span",{children:c.value})]},f)))})})]})},V5={_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 q5(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+=V5.fromNumber(Math.ceil(Math.random()*Number.MAX_SAFE_INTEGER));return t.substr(Math.floor(t.length/2-e/2),e)}(t)}`}function G5({isFullScreen:e,isChatOpen:t,sessionId:n,settings:u,chatHistory:r=[],setChatHistory:o,callPing:l}){const[i,a]=k.useState(""),s=k.useRef({}),[c,f]=k.useState(null),[h,v]=k.useState([]),{connect:p,disconnect:b,sendJsonMessage:S,lastJsonMessage:g}=z5();k.useEffect((()=>(r.length>0&&p(n),()=>b())),[]);const m=k.useMemo((()=>function(e){return e&&e.greetings?JSON.parse(e.defaultSuggestions).map((t=>({role:"assistant",content:t}))):[]}(u)),[u]);k.useEffect((()=>{if(g){if("ack"===g.event)return console.log("ACK message received",g),clearTimeout(s.current[g.msgID]),void o((A=>A.map((L=>{if(L.msgID===g.msgID){const H={...L,sending:!1};return"error"===g.status&&(H.error=g.error),H}return L}))));if("action"===g.event&&g.action){if(console.log("action message received",g),"MARK_READ"===g.action){const A=g.timestamp;o((j=>j.map((L=>new Date(L.timestamp).getTime()<=A?{...L,read:!0}:L))))}else"TYPING_ON"===g.action?o((A=>[...A,{content:"",role:"assistant",pending:!0}])):"TYPING_OFF"===g.action&&o((A=>{const j=A[A.length-1];return j&&"assistant"===j.role&&j.pending?A.slice(0,A.length-1):A}));return}("message"===g.event||"event"===g.event)&&o((A=>{const j=A[A.length-1];let L=A;if(j){"assistant"===j.role&&j.pending&&(L=A.slice(0,A.length-1));const H=new Date(j.timestamp).toLocaleDateString(),Q=zf([g],H);return[...L,Q[0]]}return A}))}}),[g,n,o]);const C=async(A,j)=>{A&&A.preventDefault();const L=j??i;if(!L||""===L.trim())return!1;const H=new Date;r.length;const Q=[...r,{content:L,role:"user",timestamp:H.toISOString()}];o(Q),a("")},E=r[r.length-1],D={msgID:null==E?void 0:E.msgID,timestamp:null==E?void 0:E.timestamp,model:"gpt-4o",tool:null!=E&&E.isRAG?"RAG":"",query:null==E?void 0:E.query,documents:null!=E&&E.sources?`[${null==E?void 0:E.sources.map((A=>A.key)).join(", ")}]`:"[]",scores:null!=E&&E.sources?`[${null==E?void 0:E.sources.map((A=>A.score)).join(", ")}]`:"[]"};return y.jsxs("div",{className:"tw-xk tw-kj tw-am tw-aj tw-yd",children:[y.jsx(C5,{sessionId:n,settings:u,history:r,isChatOpen:t,handleSubmit:C,showSuggestions:c,setShowSuggesstion:f,setSuggestList:v}),y.jsx("div",{className:"tw-ui tw-zi tw-zk tw-kl tw-wn",children:y.jsx(F5,{settings:u,message:i,submit:async A=>{if(A.preventDefault(),!i||""===i)return!1;const j=0===r.length,L=j?qd(u):[];j&&p(n);const Q=q5(new Date,3),ke=new Y5(Q,i,"user",L),Re=Q5([...r,ke.toJson()]);o(Re),a(""),console.debug("This is prevChat",Re),console.log("sending message to live chat");const We=JSON.stringify(ke.toWSJson());S({action:"sendMessage",body:We}),s.current[Q]=setTimeout((()=>{o((Fe=>{console.log("checking ack of ",Q);const ie=Fe.findIndex((N=>N.msgID===Q));return console.log("curMsg",Fe[ie]),!0===Fe[ie].sending&&(Fe[ie].sending=!1,Fe[ie].error="Couldn't send"),[...Fe.splice(0)]}))}),2e4)},onChange:A=>a(A.target.value),inputDisabled:!1,buttonDisabled:!i||""===i,callPing:l,submitSuggestion:C,defaultSuggesstion:m,suggestList:h,isShowSuggestion:null!==c})}),D.tool&&y.jsx(U5,{data:D,isFullScreen:e,settings:u,className:"tw-ui tw-yl tw-ik"})]})}const Q5=e=>{const t=e.filter((u=>u.pending));return[...e.filter((u=>!u.pending)),...t]};class Y5{constructor(t,n,u,r,o=!0){R2(this,"type","text"),this.msgID=t,this.content=n,this.role=u,this.timestamp=function(e){const t=e.substr(0,8),n=parseInt(t,36);return new Date(n)}(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 X5({isChatOpen:e,closeChat:t,settings:n,sessionId:u,callPing:r,isFullScreen:o,toggleFullScreen:l}){const{chatHistory:i,setChatHistory:a,resetChat:s,loading:c}=function(e=null,t=null){const[n,u]=k.useState(!0),[r,o]=k.useState([]),l=k.useCallback((async()=>{if(t&&e){u(!0);try{const a=await yr.getMessages({"client-id":e.embedId,"session-id":t}),s=zf(a);o(s)}catch(a){console.error("Error fetching historical chats:",a)}finally{u(!1)}}}),[t,e]);return k.useEffect((()=>{l()}),[l]),{chatHistory:r,setChatHistory:o,resetChat:async()=>{await yr.resetMessages({"client-id":e.embedId,"session-id":t}),o([])},loading:n,refetch:l}}(n,u),f=0===i.length;return c?y.jsxs("main",{className:"tw-am tw-aj tw-xk",children:[y.jsx(If,{resetChat:s,closeChat:t,settings:n}),y.jsx(A5,{})]}):y.jsxs("main",{className:"anm-group tw-am tw-aj tw-xk tw-uh",children:[y.jsx(If,{resetChat:s,closeChat:t,settings:n,isNoMessage:f,isFullScreen:o,toggleFullScreen:l}),y.jsx(G5,{isFullScreen:o,isChatOpen:e,sessionId:u,settings:n,chatHistory:i,setChatHistory:a,callPing:r})]})}var Xd={exports:{}};function Kd(){}function Jd(){}Jd.resetWarningCache=Kd;Xd.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:Jd,resetWarningCache:Kd};return n.PropTypes=n,n}();const ne=ye(Xd.exports);var e2=k,rg=function(e){return e&&"object"==typeof e&&"default"in e?e.default:e}(e2);function t2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lg=!!(typeof window<"u"&&window.document&&window.document.createElement);var ag=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 f(){return c.apply(this,arguments)||this}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(f,c),f.peek=function(){return i},f.rewind=function(){if(f.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var p=i;return i=void 0,l=[],p};var h=f.prototype;return h.UNSAFE_componentWillMount=function(){l.push(this),a()},h.componentDidUpdate=function(){a()},h.componentWillUnmount=function(){var p=l.indexOf(this);l.splice(p,1),a()},h.render=function(){return rg.createElement(o,this.props)},f}(e2.PureComponent);return t2(s,"displayName","SideEffect("+(((r=o).displayName||r.name||"Component")+")")),t2(s,"canUseDOM",lg),s}};const sg=ye(ag);var cg=typeof Element<"u",fg="function"==typeof Map,dg="function"==typeof Set,pg="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function mo(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(!mo(e[u],t[u]))return!1;return!0}if(fg&&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(!mo(u.value[1],t.get(u.value[0])))return!1;return!0}if(dg&&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(pg&&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(cg&&e instanceof Element)return!1;for(u=n;0!=u--;)if(("_owner"!==r[u]&&"__v"!==r[u]&&"__o"!==r[u]||!e.$$typeof)&&!mo(e[r[u]],t[r[u]]))return!1;return!0}return e!=e&&t!=t}const mg=ye((function(t,n){try{return mo(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 Za=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++)Za.add(t[e])}var It=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fo=Object.prototype.hasOwnProperty,ip=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Va={},qa={};function Le(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 xe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){xe[e]=new Le(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];xe[t]=new Le(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){xe[e]=new Le(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){xe[e]=new Le(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){xe[e]=new Le(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){xe[e]=new Le(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){xe[e]=new Le(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){xe[e]=new Le(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){xe[e]=new Le(e,5,!1,e.toLowerCase(),null,!1,!1)}));var No=/[\-:]([a-z])/g;function Mo(e){return e[1].toUpperCase()}function Lo(e,t,n,u){var r=xe.hasOwnProperty(t)?xe[t]:null;(null!==r?0!==r.type:u||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,u){if(null===t||typeof t>"u"||function(e,t,n,u){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!u&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,u))return!0;if(u)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,r,u)&&(n=null),u||null===r?function(e){return!!Fo.call(qa,e)||!Fo.call(Va,e)&&(ip.test(e)?qa[e]=!0:(Va[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,u=r.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(r=r.type)||4===r&&!0===n?"":""+n,u?e.setAttributeNS(u,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(No,Mo);xe[t]=new Le(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(No,Mo);xe[t]=new Le(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(No,Mo);xe[t]=new Le(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){xe[e]=new Le(e,1,!1,e.toLowerCase(),null,!1,!1)})),xe.xlinkHref=new Le("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){xe[e]=new Le(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Rt=lp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Br=Symbol.for("react.element"),Zn=Symbol.for("react.portal"),Vn=Symbol.for("react.fragment"),Oo=Symbol.for("react.strict_mode"),jo=Symbol.for("react.profiler"),Wa=Symbol.for("react.provider"),Ga=Symbol.for("react.context"),Po=Symbol.for("react.forward_ref"),Io=Symbol.for("react.suspense"),Ro=Symbol.for("react.suspense_list"),zo=Symbol.for("react.memo"),Xt=Symbol.for("react.lazy"),Qa=Symbol.for("react.offscreen"),Ya=Symbol.iterator;function Mu(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ya&&e[Ya]||e["@@iterator"])?e:null}var Ho,re=Object.assign;function Lu(e){if(void 0===Ho)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ho=t&&t[1]||""}return"\n"+Ho+e}var $o=!1;function Bo(e,t){if(!e||$o)return"";$o=!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{$o=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Lu(e):""}function fp(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=Bo(e.type,!1);case 11:return e=Bo(e.type.render,!1);case 1:return e=Bo(e.type,!0);default:return""}}function Uo(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 Vn:return"Fragment";case Zn:return"Portal";case jo:return"Profiler";case Oo:return"StrictMode";case Io:return"Suspense";case Ro:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Ga:return(e.displayName||"Context")+".Consumer";case Wa:return(e._context.displayName||"Context")+".Provider";case Po:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case zo:return null!==(t=e.displayName||null)?t:Uo(e.type)||"Memo";case Xt:t=e._payload,e=e._init;try{return Uo(e(t))}catch{}}return null}function dp(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 Uo(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 Xa(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=Xa(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 Ka(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),u="";return e&&(u=Xa(e)?e.checked?"true":"false":e.value),(e=u)!==n&&(t.setValue(e),!0)}function Zr(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 Ja(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 es(e,t){null!=(t=t.checked)&&Lo(e,"checked",t,!1)}function Vo(e,t){es(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")?qo(e,t.type,n):t.hasOwnProperty("defaultValue")&&qo(e,t.type,Kt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ts(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type;if(!("submit"!==u&&"reset"!==u||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function qo(e,t,n){("number"!==t||Zr(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ou=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 Wo(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(T(91));return re({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ns(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(T(92));if(Ou(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 us(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 rs(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function os(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 Go(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?os(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Vr,e,ls=(e=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Vr=Vr||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Vr.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 ju(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},hp=["Webkit","ms","Moz","O"];function is(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 as(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var u=0===n.indexOf("--"),r=is(n,t[n],u);"float"===n&&(n="cssFloat"),u?e.setProperty(n,r):e[n]=r}}Object.keys(Pu).forEach((function(e){hp.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pu[t]=Pu[e]}))}));var mp=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 Qo(e,t){if(t){if(mp[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 Yo(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 Xo=null;function Ko(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Jo=null,Wn=null,Gn=null;function ss(e){if(e=rr(e)){if("function"!=typeof Jo)throw Error(T(280));var t=e.stateNode;t&&(t=h0(t),Jo(e.stateNode,e.type,t))}}function cs(e){Wn?Gn?Gn.push(e):Gn=[e]:Wn=e}function fs(){if(Wn){var e=Wn,t=Gn;if(Gn=Wn=null,ss(e),t)for(e=0;e<t.length;e++)ss(t[e])}}function ds(e,t){return e(t)}function ps(){}var el=!1;function hs(e,t,n){if(el)return e(t,n);el=!0;try{return ds(e,t,n)}finally{el=!1,(null!==Wn||null!==Gn)&&(ps(),fs())}}function Iu(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 tl=!1;if(It)try{var Ru={};Object.defineProperty(Ru,"passive",{get:function(){tl=!0}}),window.addEventListener("test",Ru,Ru),window.removeEventListener("test",Ru,Ru)}catch{tl=!1}function gp(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,nl=null,wp={onError:function(e){zu=!0,qr=e}};function vp(e,t,n,u,r,o,l,i,a){zu=!1,qr=null,gp.apply(wp,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 ms(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function gs(e){if(Sn(e)!==e)throw Error(T(188))}function ws(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 gs(r),e;if(o===u)return gs(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))?vs(e):null}function vs(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=vs(e);if(null!==t)return t;e=e.sibling}return null}var ys=Ye.unstable_scheduleCallback,xs=Ye.unstable_cancelCallback,_p=Ye.unstable_shouldYield,bp=Ye.unstable_requestPaint,ce=Ye.unstable_now,Ep=Ye.unstable_getCurrentPriorityLevel,ul=Ye.unstable_ImmediatePriority,_s=Ye.unstable_UserBlockingPriority,Gr=Ye.unstable_NormalPriority,kp=Ye.unstable_LowPriority,bs=Ye.unstable_IdlePriority,Qr=null,kt=null;var pt=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(Sp(e)/Ap|0)|0},Sp=Math.log,Ap=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 Dp(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 rl(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Es(){var e=Yr;return!(4194240&(Yr<<=1))&&(Yr=64),e}function ol(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 ll(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 V=0;function ks(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var Cs,il,Ss,As,Ts,al=!1,Jr=[],Jt=null,en=null,tn=null,Bu=new Map,Uu=new Map,nn=[],Mp="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 Ds(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 Zu(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))&&il(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,null!==r&&-1===t.indexOf(r)&&t.push(r),e)}function Fs(e){var t=An(e.target);if(null!==t){var n=Sn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=ms(n)))return e.blockedOn=t,void Ts(e.priority,(function(){Ss(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function e0(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=cl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=rr(n))&&il(t),e.blockedOn=n,!1;var u=new(n=e.nativeEvent).constructor(n.type,n);Xo=u,n.target.dispatchEvent(u),Xo=null,t.shift()}return!0}function Ns(e,t,n){e0(e)&&n.delete(t)}function Op(){al=!1,null!==Jt&&e0(Jt)&&(Jt=null),null!==en&&e0(en)&&(en=null),null!==tn&&e0(tn)&&(tn=null),Bu.forEach(Ns),Uu.forEach(Ns)}function Vu(e,t){e.blockedOn===t&&(e.blockedOn=null,al||(al=!0,Ye.unstable_scheduleCallback(Ye.unstable_NormalPriority,Op)))}function qu(e){function t(r){return Vu(r,e)}if(0<Jr.length){Vu(Jr[0],e);for(var n=1;n<Jr.length;n++){var u=Jr[n];u.blockedOn===e&&(u.blockedOn=null)}}for(null!==Jt&&Vu(Jt,e),null!==en&&Vu(en,e),null!==tn&&Vu(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;)Fs(n),null===n.blockedOn&&nn.shift()}var Qn=Rt.ReactCurrentBatchConfig,t0=!0;function jp(e,t,n,u){var r=V,o=Qn.transition;Qn.transition=null;try{V=1,sl(e,t,n,u)}finally{V=r,Qn.transition=o}}function Pp(e,t,n,u){var r=V,o=Qn.transition;Qn.transition=null;try{V=4,sl(e,t,n,u)}finally{V=r,Qn.transition=o}}function sl(e,t,n,u){if(t0){var r=cl(e,t,n,u);if(null===r)Al(e,t,u,n0,n),Ds(e,u);else if(function(e,t,n,u,r){switch(t){case"focusin":return Jt=Zu(Jt,e,t,n,u,r),!0;case"dragenter":return en=Zu(en,e,t,n,u,r),!0;case"mouseover":return tn=Zu(tn,e,t,n,u,r),!0;case"pointerover":var o=r.pointerId;return Bu.set(o,Zu(Bu.get(o)||null,e,t,n,u,r)),!0;case"gotpointercapture":return o=r.pointerId,Uu.set(o,Zu(Uu.get(o)||null,e,t,n,u,r)),!0}return!1}(r,e,t,n,u))u.stopPropagation();else if(Ds(e,u),4&t&&-1<Mp.indexOf(e)){for(;null!==r;){var o=rr(r);if(null!==o&&Cs(o),null===(o=cl(e,t,n,u))&&Al(e,t,u,n0,n),o===r)break;r=o}null!==r&&u.stopPropagation()}else Al(e,t,u,null,n)}}var n0=null;function cl(e,t,n,u){if(n0=null,null!==(e=An(e=Ko(u))))if(null===(t=Sn(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=ms(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return n0=e,null}function Ms(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(Ep()){case ul:return 1;case _s:return 4;case Gr:case kp:return 16;case bs:return 536870912;default:return 16}default:return 16}}var un=null,fl=null,u0=null;function Ls(){if(u0)return u0;var e,u,t=fl,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 Os(){return!1}function Xe(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:Os,this.isPropagationStopped=Os,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 pl,hl,Gu,Yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dl=Xe(Yn),Wu=re({},Yn,{view:0,detail:0}),Ip=Xe(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:gl,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?(pl=e.screenX-Gu.screenX,hl=e.screenY-Gu.screenY):hl=pl=0,Gu=e),pl)},movementY:function(e){return"movementY"in e?e.movementY:hl}}),js=Xe(l0),zp=Xe(re({},l0,{dataTransfer:0})),ml=Xe(re({},Wu,{relatedTarget:0})),Bp=Xe(re({},Yn,{animationName:0,elapsedTime:0,pseudoElement:0})),Up=re({},Yn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Zp=Xe(Up),Ps=Xe(re({},Yn,{data:0})),qp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Wp={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"},Gp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Qp(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Gp[e])&&!!t[e]}function gl(){return Qp}var Yp=re({},Wu,{key:function(e){if(e.key){var t=qp[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?Wp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gl,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}}),Xp=Xe(Yp),Is=Xe(re({},l0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),eh=Xe(re({},Wu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gl})),nh=Xe(re({},Yn,{propertyName:0,elapsedTime:0,pseudoElement:0})),uh=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}),rh=Xe(uh),oh=[9,13,27,32],wl=It&&"CompositionEvent"in window,Qu=null;It&&"documentMode"in document&&(Qu=document.documentMode);var lh=It&&"TextEvent"in window&&!Qu,Rs=It&&(!wl||Qu&&8<Qu&&11>=Qu),zs=" ",Hs=!1;function $s(e,t){switch(e){case"keyup":return-1!==oh.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bs(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Xn=!1;var sh={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Us(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!sh[e.type]:"textarea"===t}function Zs(e,t,n,u){cs(u),0<(t=f0(t,"onChange")).length&&(n=new dl("onChange","change",null,n,u),e.push({event:n,listeners:t}))}var Yu=null,Xu=null;function ch(e){ac(e,0)}function i0(e){if(Ka(nu(e)))return e}function fh(e,t){if("change"===e)return t}var Vs=!1;if(It){var vl;if(It){var yl="oninput"in document;if(!yl){var qs=document.createElement("div");qs.setAttribute("oninput","return;"),yl="function"==typeof qs.oninput}vl=yl}else vl=!1;Vs=vl&&(!document.documentMode||9<document.documentMode)}function Ws(){Yu&&(Yu.detachEvent("onpropertychange",Gs),Xu=Yu=null)}function Gs(e){if("value"===e.propertyName&&i0(Xu)){var t=[];Zs(t,Xu,e,Ko(e)),hs(ch,t)}}function dh(e,t,n){"focusin"===e?(Ws(),Xu=n,(Yu=t).attachEvent("onpropertychange",Gs)):"focusout"===e&&Ws()}function ph(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return i0(Xu)}function hh(e,t){if("click"===e)return i0(t)}function mh(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(!Fo.call(t,r)||!ht(e[r],t[r]))return!1}return!0}function Qs(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ys(e,t){var u,n=Qs(e);for(e=0;n;){if(3===n.nodeType){if(u=e+n.textContent.length,e<=t&&u>=t)return{node:n,offset:t-e};e=u}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Qs(n)}}function Xs(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Xs(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ks(){for(var e=window,t=Zr();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch{n=!1}if(!n)break;t=Zr((e=t.contentWindow).document)}return t}function xl(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 wh(e){var t=Ks(),n=e.focusedElem,u=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Xs(n.ownerDocument.documentElement,n)){if(null!==u&&xl(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=Ys(n,o);var l=Ys(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 vh=It&&"documentMode"in document&&11>=document.documentMode,Kn=null,_l=null,Ju=null,bl=!1;function Js(e,t,n){var u=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;bl||null==Kn||Kn!==Zr(u)||("selectionStart"in(u=Kn)&&xl(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 dl("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")},El={},ec={};function s0(e){if(El[e])return El[e];if(!Jn[e])return e;var n,t=Jn[e];for(n in t)if(t.hasOwnProperty(n)&&n in ec)return El[e]=t[n];return e}It&&(ec=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 tc=s0("animationend"),nc=s0("animationiteration"),uc=s0("animationstart"),rc=s0("transitionend"),oc=new Map,lc="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){oc.set(e,t),Cn(t,[e])}for(var kl=0;kl<lc.length;kl++){var Cl=lc[kl];rn(Cl.toLowerCase(),"on"+(Cl[0].toUpperCase()+Cl.slice(1)))}rn(tc,"onAnimationEnd"),rn(nc,"onAnimationIteration"),rn(uc,"onAnimationStart"),rn("dblclick","onDoubleClick"),rn("focusin","onFocus"),rn("focusout","onBlur"),rn(rc,"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(" "),_h=new Set("cancel close invalid load scroll toggle".split(" ").concat(er));function ic(e,t,n){var u=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,u,r,o,l,i,a){if(vp.apply(this,arguments),zu){if(!zu)throw Error(T(198));var s=qr;zu=!1,qr=null,Wr||(Wr=!0,nl=s)}}(u,t,void 0,e),e.currentTarget=null}function ac(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var u=e[n],r=u.event;u=u.listeners;e:{var 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;ic(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;ic(r,i,s),o=a}}}if(Wr)throw e=nl,Wr=!1,nl=null,e}function X(e,t){var n=t[Ll];void 0===n&&(n=t[Ll]=new Set);var u=e+"__bubble";n.has(u)||(sc(t,e,2,!1),n.add(u))}function Sl(e,t,n){var u=0;t&&(u|=4),sc(n,e,u,t)}var c0="_reactListening"+Math.random().toString(36).slice(2);function tr(e){if(!e[c0]){e[c0]=!0,Za.forEach((function(n){"selectionchange"!==n&&(_h.has(n)||Sl(n,!1,e),Sl(n,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[c0]||(t[c0]=!0,Sl("selectionchange",!1,t))}}function sc(e,t,n,u){switch(Ms(t)){case 1:var r=jp;break;case 4:r=Pp;break;default:r=sl}n=r.bind(null,t,n,e),r=void 0,!tl||"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 Al(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}hs((function(){var s=o,c=Ko(n),f=[];e:{var h=oc.get(e);if(void 0!==h){var v=dl,p=e;switch(e){case"keypress":if(0===r0(n))break e;case"keydown":case"keyup":v=Xp;break;case"focusin":p="focus",v=ml;break;case"focusout":p="blur",v=ml;break;case"beforeblur":case"afterblur":v=ml;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=js;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=zp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=eh;break;case tc:case nc:case uc:v=Bp;break;case rc:v=nh;break;case"scroll":v=Ip;break;case"wheel":v=rh;break;case"copy":case"cut":case"paste":v=Zp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=Is}var b=!!(4&t),S=!b&&"scroll"===e,g=b?null!==h?h+"Capture":null:h;b=[];for(var m,d=s;null!==d;){var _=(m=d).stateNode;if(5===m.tag&&null!==_&&(m=_,null!==g&&(null!=(_=Iu(d,g))&&b.push(nr(d,_,m)))),S)break;d=d.return}0<b.length&&(h=new v(h,p,null,n,c),f.push({event:h,listeners:b}))}}if(!(7&t)){if(v="mouseout"===e||"pointerout"===e,(!(h="mouseover"===e||"pointerover"===e)||n===Xo||!(p=n.relatedTarget||n.fromElement)||!An(p)&&!p[zt])&&(v||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,v?(v=s,null!==(p=(p=n.relatedTarget||n.toElement)?An(p):null)&&(p!==(S=Sn(p))||5!==p.tag&&6!==p.tag)&&(p=null)):(v=null,p=s),v!==p)){if(b=js,_="onMouseLeave",g="onMouseEnter",d="mouse",("pointerout"===e||"pointerover"===e)&&(b=Is,_="onPointerLeave",g="onPointerEnter",d="pointer"),S=null==v?h:nu(v),m=null==p?h:nu(p),(h=new b(_,d+"leave",v,n,c)).target=S,h.relatedTarget=m,_=null,An(c)===s&&((b=new b(g,d+"enter",p,n,c)).target=m,b.relatedTarget=S,_=b),S=_,v&&p)t:{for(g=p,d=0,m=b=v;m;m=eu(m))d++;for(m=0,_=g;_;_=eu(_))m++;for(;0<d-m;)b=eu(b),d--;for(;0<m-d;)g=eu(g),m--;for(;d--;){if(b===g||null!==g&&b===g.alternate)break t;b=eu(b),g=eu(g)}b=null}else b=null;null!==v&&cc(f,h,v,b,!1),null!==p&&null!==S&&cc(f,S,p,b,!0)}if("select"===(v=(h=s?nu(s):window).nodeName&&h.nodeName.toLowerCase())||"input"===v&&"file"===h.type)var C=fh;else if(Us(h))if(Vs)C=mh;else{C=ph;var E=dh}else(v=h.nodeName)&&"input"===v.toLowerCase()&&("checkbox"===h.type||"radio"===h.type)&&(C=hh);switch(C&&(C=C(e,s))?Zs(f,C,n,c):(E&&E(e,h,s),"focusout"===e&&(E=h._wrapperState)&&E.controlled&&"number"===h.type&&qo(h,"number",h.value)),E=s?nu(s):window,e){case"focusin":(Us(E)||"true"===E.contentEditable)&&(Kn=E,_l=s,Ju=null);break;case"focusout":Ju=_l=Kn=null;break;case"mousedown":bl=!0;break;case"contextmenu":case"mouseup":case"dragend":bl=!1,Js(f,n,c);break;case"selectionchange":if(vh)break;case"keydown":case"keyup":Js(f,n,c)}var D;if(wl)e:{switch(e){case"compositionstart":var A="onCompositionStart";break e;case"compositionend":A="onCompositionEnd";break e;case"compositionupdate":A="onCompositionUpdate";break e}A=void 0}else Xn?$s(e,n)&&(A="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(A="onCompositionStart");A&&(Rs&&"ko"!==n.locale&&(Xn||"onCompositionStart"!==A?"onCompositionEnd"===A&&Xn&&(D=Ls()):(fl="value"in(un=c)?un.value:un.textContent,Xn=!0)),0<(E=f0(s,A)).length&&(A=new Ps(A,e,null,n,c),f.push({event:A,listeners:E}),D?A.data=D:null!==(D=Bs(n))&&(A.data=D))),(D=lh?function(e,t){switch(e){case"compositionend":return Bs(t);case"keypress":return 32!==t.which?null:(Hs=!0,zs);case"textInput":return(e=t.data)===zs&&Hs?null:e;default:return null}}(e,n):function(e,t){if(Xn)return"compositionend"===e||!wl&&$s(e,t)?(e=Ls(),u0=fl=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 Rs&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(s=f0(s,"onBeforeInput")).length&&(c=new Ps("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:s}),c.data=D))}ac(f,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=Iu(e,n))&&u.unshift(nr(e,o,r)),null!=(o=Iu(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 cc(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=Iu(n,o))&&l.unshift(nr(n,a,i)):r||null!=(a=Iu(n,o))&&l.push(nr(n,a,i))),n=n.return}0!==l.length&&e.push({event:t,listeners:l})}var bh=/\r\n?/g,Eh=/\u0000|\uFFFD/g;function fc(e){return("string"==typeof e?e:""+e).replace(bh,"\n").replace(Eh,"")}function d0(e,t,n){if(t=fc(t),fc(e)!==t&&n)throw Error(T(425))}function p0(){}var Tl=null,Dl=null;function Fl(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 Nl="function"==typeof setTimeout?setTimeout:void 0,kh="function"==typeof clearTimeout?clearTimeout:void 0,dc="function"==typeof Promise?Promise:void 0,Ch="function"==typeof queueMicrotask?queueMicrotask:typeof dc<"u"?function(e){return dc.resolve(null).then(e).catch(Sh)}:Nl;function Sh(e){setTimeout((function(){throw e}))}function Ml(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 pc(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var tu=Math.random().toString(36).slice(2),Ct="__reactFiber$"+tu,ur="__reactProps$"+tu,zt="__reactContainer$"+tu,Ll="__reactEvents$"+tu,Ah="__reactListeners$"+tu,Th="__reactHandles$"+tu;function An(e){var t=e[Ct];if(t)return t;for(var n=e.parentNode;n;){if(t=n[zt]||n[Ct]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=pc(e);null!==e;){if(n=e[Ct])return n;e=pc(e)}return t}n=(e=n).parentNode}return null}function rr(e){return!(e=e[Ct]||e[zt])||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 K(e){0>uu||(e.current=Ol[uu],Ol[uu]=null,uu--)}function W(e,t){uu++,Ol[uu]=e.current,e.current=t}var an={},Se=ln(an),He=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 $e(e){return null!=(e=e.childContextTypes)}function m0(){K(He),K(Se)}function hc(e,t,n){if(Se.current!==an)throw Error(T(168));W(Se,t),W(He,n)}function mc(e,t,n){var u=e.stateNode;if(t=t.childContextTypes,"function"!=typeof u.getChildContext)return n;for(var r in u=u.getChildContext())if(!(r in t))throw Error(T(108,dp(e)||"Unknown",r));return re({},n,u)}function g0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||an,Tn=Se.current,W(Se,e),W(He,He.current),!0}function gc(e,t,n){var u=e.stateNode;if(!u)throw Error(T(169));n?(e=mc(e,t,Tn),u.__reactInternalMemoizedMergedChildContext=e,K(He),K(Se),W(Se,e)):K(He),W(He,n)}var Ht=null,w0=!1,jl=!1;function wc(e){null===Ht?Ht=[e]:Ht.push(e)}function sn(){if(!jl&&null!==Ht){jl=!0;var e=0,t=V;try{var n=Ht;for(V=1;e<n.length;e++){var u=n[e];do{u=u(!0)}while(null!==u)}Ht=null,w0=!1}catch(r){throw null!==Ht&&(Ht=Ht.slice(e+1)),ys(ul,sn),r}finally{V=t,jl=!1}}return null}var ou=[],lu=0,v0=null,y0=0,ot=[],lt=0,Dn=null,$t=1,Bt="";function Fn(e,t){ou[lu++]=y0,ou[lu++]=v0,v0=e,y0=t}function vc(e,t,n){ot[lt++]=$t,ot[lt++]=Bt,ot[lt++]=Dn,Dn=e;var u=$t;e=Bt;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,$t=1<<32-pt(t)+r|n<<r|u,Bt=o+e}else $t=1<<o|n<<r|u,Bt=e}function Pl(e){null!==e.return&&(Fn(e,1),vc(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=ot[--lt],ot[lt]=null,Bt=ot[--lt],ot[lt]=null,$t=ot[--lt],ot[lt]=null}var Ke=null,Je=null,te=!1,mt=null;function yc(e,t){var n=ct(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function xc(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,Ke=e,Je=on(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Ke=e,Je=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Dn?{id:$t,overflow:Bt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=ct(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Ke=e,Je=null,!0);default:return!1}}function Rl(e){return!(!(1&e.mode)||128&e.flags)}function zl(e){if(te){var t=Je;if(t){var n=t;if(!xc(e,t)){if(Rl(e))throw Error(T(418));t=on(n.nextSibling);var u=Ke;t&&xc(e,t)?yc(u,n):(e.flags=-4097&e.flags|2,te=!1,Ke=e)}}else{if(Rl(e))throw Error(T(418));e.flags=-4097&e.flags|2,te=!1,Ke=e}}}function _c(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ke=e}function x0(e){if(e!==Ke)return!1;if(!te)return _c(e),te=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Fl(e.type,e.memoizedProps)),t&&(t=Je)){if(Rl(e))throw bc(),Error(T(418));for(;t;)yc(e,t),t=on(t.nextSibling)}if(_c(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){Je=on(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Je=null}}else Je=Ke?on(e.stateNode.nextSibling):null;return!0}function bc(){for(var e=Je;e;)e=on(e.nextSibling)}function iu(){Je=Ke=null,te=!1}function Hl(e){null===mt?mt=[e]:mt.push(e)}var Fh=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 _0(e,t){throw e=Object.prototype.toString.call(t),Error(T(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ec(e){return(0,e._init)(e._payload)}function kc(e){function t(g,d){if(e){var m=g.deletions;null===m?(g.deletions=[d],g.flags|=16):m.push(d)}}function n(g,d){if(!e)return null;for(;null!==d;)t(g,d),d=d.sibling;return null}function u(g,d){for(g=new Map;null!==d;)null!==d.key?g.set(d.key,d):g.set(d.index,d),d=d.sibling;return g}function r(g,d){return(g=wn(g,d)).index=0,g.sibling=null,g}function o(g,d,m){return g.index=m,e?null!==(m=g.alternate)?(m=m.index)<d?(g.flags|=2,d):m:(g.flags|=2,d):(g.flags|=1048576,d)}function l(g){return e&&null===g.alternate&&(g.flags|=2),g}function i(g,d,m,_){return null===d||6!==d.tag?((d=Ni(m,g.mode,_)).return=g,d):((d=r(d,m)).return=g,d)}function a(g,d,m,_){var C=m.type;return C===Vn?c(g,d,m.props.children,_,m.key):null!==d&&(d.elementType===C||"object"==typeof C&&null!==C&&C.$$typeof===Xt&&Ec(C)===d.type)?((_=r(d,m.props)).ref=or(g,d,m),_.return=g,_):((_=V0(m.type,m.key,m.props,null,g.mode,_)).ref=or(g,d,m),_.return=g,_)}function s(g,d,m,_){return null===d||4!==d.tag||d.stateNode.containerInfo!==m.containerInfo||d.stateNode.implementation!==m.implementation?((d=Mi(m,g.mode,_)).return=g,d):((d=r(d,m.children||[])).return=g,d)}function c(g,d,m,_,C){return null===d||7!==d.tag?((d=Rn(m,g.mode,_,C)).return=g,d):((d=r(d,m)).return=g,d)}function f(g,d,m){if("string"==typeof d&&""!==d||"number"==typeof d)return(d=Ni(""+d,g.mode,m)).return=g,d;if("object"==typeof d&&null!==d){switch(d.$$typeof){case Br:return(m=V0(d.type,d.key,d.props,null,g.mode,m)).ref=or(g,null,d),m.return=g,m;case Zn:return(d=Mi(d,g.mode,m)).return=g,d;case Xt:return f(g,(0,d._init)(d._payload),m)}if(Ou(d)||Mu(d))return(d=Rn(d,g.mode,m,null)).return=g,d;_0(g,d)}return null}function h(g,d,m,_){var C=null!==d?d.key:null;if("string"==typeof m&&""!==m||"number"==typeof m)return null!==C?null:i(g,d,""+m,_);if("object"==typeof m&&null!==m){switch(m.$$typeof){case Br:return m.key===C?a(g,d,m,_):null;case Zn:return m.key===C?s(g,d,m,_):null;case Xt:return h(g,d,(C=m._init)(m._payload),_)}if(Ou(m)||Mu(m))return null!==C?null:c(g,d,m,_,null);_0(g,m)}return null}function v(g,d,m,_,C){if("string"==typeof _&&""!==_||"number"==typeof _)return i(d,g=g.get(m)||null,""+_,C);if("object"==typeof _&&null!==_){switch(_.$$typeof){case Br:return a(d,g=g.get(null===_.key?m:_.key)||null,_,C);case Zn:return s(d,g=g.get(null===_.key?m:_.key)||null,_,C);case Xt:return v(g,d,m,(0,_._init)(_._payload),C)}if(Ou(_)||Mu(_))return c(d,g=g.get(m)||null,_,C,null);_0(d,_)}return null}return function S(g,d,m,_){if("object"==typeof m&&null!==m&&m.type===Vn&&null===m.key&&(m=m.props.children),"object"==typeof m&&null!==m){switch(m.$$typeof){case Br:e:{for(var C=m.key,E=d;null!==E;){if(E.key===C){if((C=m.type)===Vn){if(7===E.tag){n(g,E.sibling),(d=r(E,m.props.children)).return=g,g=d;break e}}else if(E.elementType===C||"object"==typeof C&&null!==C&&C.$$typeof===Xt&&Ec(C)===E.type){n(g,E.sibling),(d=r(E,m.props)).ref=or(g,E,m),d.return=g,g=d;break e}n(g,E);break}t(g,E),E=E.sibling}m.type===Vn?((d=Rn(m.props.children,g.mode,_,m.key)).return=g,g=d):((_=V0(m.type,m.key,m.props,null,g.mode,_)).ref=or(g,d,m),_.return=g,g=_)}return l(g);case Zn:e:{for(E=m.key;null!==d;){if(d.key===E){if(4===d.tag&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(g,d.sibling),(d=r(d,m.children||[])).return=g,g=d;break e}n(g,d);break}t(g,d),d=d.sibling}(d=Mi(m,g.mode,_)).return=g,g=d}return l(g);case Xt:return S(g,d,(E=m._init)(m._payload),_)}if(Ou(m))return function(g,d,m,_){for(var C=null,E=null,D=d,A=d=0,j=null;null!==D&&A<m.length;A++){D.index>A?(j=D,D=null):j=D.sibling;var L=h(g,D,m[A],_);if(null===L){null===D&&(D=j);break}e&&D&&null===L.alternate&&t(g,D),d=o(L,d,A),null===E?C=L:E.sibling=L,E=L,D=j}if(A===m.length)return n(g,D),te&&Fn(g,A),C;if(null===D){for(;A<m.length;A++)null!==(D=f(g,m[A],_))&&(d=o(D,d,A),null===E?C=D:E.sibling=D,E=D);return te&&Fn(g,A),C}for(D=u(g,D);A<m.length;A++)null!==(j=v(D,g,A,m[A],_))&&(e&&null!==j.alternate&&D.delete(null===j.key?A:j.key),d=o(j,d,A),null===E?C=j:E.sibling=j,E=j);return e&&D.forEach((function(H){return t(g,H)})),te&&Fn(g,A),C}(g,d,m,_);if(Mu(m))return function(g,d,m,_){var C=Mu(m);if("function"!=typeof C)throw Error(T(150));if(null==(m=C.call(m)))throw Error(T(151));for(var E=C=null,D=d,A=d=0,j=null,L=m.next();null!==D&&!L.done;A++,L=m.next()){D.index>A?(j=D,D=null):j=D.sibling;var H=h(g,D,L.value,_);if(null===H){null===D&&(D=j);break}e&&D&&null===H.alternate&&t(g,D),d=o(H,d,A),null===E?C=H:E.sibling=H,E=H,D=j}if(L.done)return n(g,D),te&&Fn(g,A),C;if(null===D){for(;!L.done;A++,L=m.next())null!==(L=f(g,L.value,_))&&(d=o(L,d,A),null===E?C=L:E.sibling=L,E=L);return te&&Fn(g,A),C}for(D=u(g,D);!L.done;A++,L=m.next())null!==(L=v(D,g,A,L.value,_))&&(e&&null!==L.alternate&&D.delete(null===L.key?A:L.key),d=o(L,d,A),null===E?C=L:E.sibling=L,E=L);return e&&D.forEach((function(Q){return t(g,Q)})),te&&Fn(g,A),C}(g,d,m,_);_0(g,m)}return"string"==typeof m&&""!==m||"number"==typeof m?(m=""+m,null!==d&&6===d.tag?(n(g,d.sibling),(d=r(d,m)).return=g,g=d):(n(g,d),(d=Ni(m,g.mode,_)).return=g,g=d),l(g)):n(g,d)}}var au=kc(!0),Cc=kc(!1),b0=ln(null),E0=null,su=null,$l=null;function Bl(){$l=su=E0=null}function Ul(e){var t=b0.current;K(b0),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,$l=su=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.lanes&t&&(Be=!0),e.firstContext=null)}function it(e){var t=e._currentValue;if($l!==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 Vl(e){null===Nn?Nn=[e]:Nn.push(e)}function Sc(e,t,n,u){var r=t.interleaved;return null===r?(n.next=n,Vl(t)):(n.next=r.next,r.next=n),t.interleaved=n,Ut(e,u)}function Ut(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 ql(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ac(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Zt(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&Z){var r=u.pending;return null===r?t.next=t:(t.next=r.next,r.next=t),u.pending=t,Ut(e,n)}return null===(r=u.interleaved)?(t.next=t,Vl(u)):(t.next=r.next,r.next=t),u.interleaved=t,Ut(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,ll(e,n)}}function Tc(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 f=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 p=e,b=i;switch(h=t,v=n,b.tag){case 1:if("function"==typeof(p=b.payload)){f=p.call(v,f,h);break e}f=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(h="function"==typeof(p=b.payload)?p.call(v,f,h):p))break e;f=re({},f,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=f):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=f),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);On|=l,e.lanes=l,e.memoizedState=f}}function Dc(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 Wl(e,t){switch(W(ar,t),W(ir,e),W(St,lr),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Go(null,"");break;default:t=Go(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}K(St),W(St,t)}function fu(){K(St),K(ir),K(ar)}function Fc(e){Mn(ar.current);var t=Mn(St.current),n=Go(t,e.type);t!==n&&(W(ir,e),W(St,n))}function Gl(e){ir.current===e&&(K(St),K(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 Ql=[];function Yl(){for(var e=0;e<Ql.length;e++)Ql[e]._workInProgressVersionPrimary=null;Ql.length=0}var A0=Rt.ReactCurrentDispatcher,Xl=Rt.ReactCurrentBatchConfig,Ln=0,le=null,de=null,he=null,T0=!1,sr=!1,cr=0,Nh=0;function Ae(){throw Error(T(321))}function Kl(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 Jl(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?jh:Ph,e=n(u,r),sr){o=0;do{if(sr=!1,cr=0,25<=o)throw Error(T(301));o+=1,he=de=null,t.updateQueue=null,A0.current=Ih,e=n(u,r)}while(sr)}if(A0.current=N0,t=null!==de&&null!==de.next,Ln=0,he=de=le=null,T0=!1,t)throw Error(T(300));return e}function ei(){var e=0!==cr;return cr=0,e}function At(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===he?le.memoizedState=he=e:he=he.next=e,he}function at(){if(null===de){var e=le.alternate;e=null!==e?e.memoizedState:null}else e=de.next;var t=null===he?le.memoizedState:he.next;if(null!==t)he=t,de=e;else{if(null===e)throw Error(T(310));e={memoizedState:(de=e).memoizedState,baseState:de.baseState,baseQueue:de.baseQueue,queue:de.queue,next:null},null===he?le.memoizedState=he=e:he=he.next=e}return he}function fr(e,t){return"function"==typeof t?t(e):t}function ti(e){var t=at(),n=t.queue;if(null===n)throw Error(T(311));n.lastRenderedReducer=e;var u=de,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 f={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};null===a?(i=a=f,l=u):a=a.next=f,le.lanes|=c,On|=c}s=s.next}while(null!==s&&s!==o);null===a?l=u:a.next=i,ht(u,t.memoizedState)||(Be=!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,On|=o,r=r.next}while(r!==e)}else null===r&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ni(e){var t=at(),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)||(Be=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,u]}function Nc(){}function Mc(e,t){var n=le,u=at(),r=t(),o=!ht(u.memoizedState,r);if(o&&(u.memoizedState=r,Be=!0),u=u.queue,ui(jc.bind(null,n,u,e),[e]),u.getSnapshot!==t||o||null!==he&&1&he.memoizedState.tag){if(n.flags|=2048,dr(9,Oc.bind(null,n,u,r,t),void 0,null),null===me)throw Error(T(349));30&Ln||Lc(n,t,r)}return r}function Lc(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 Oc(e,t,n,u){t.value=n,t.getSnapshot=u,Pc(t)&&Ic(e)}function jc(e,t,n){return n((function(){Pc(t)&&Ic(e)}))}function Pc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ht(e,n)}catch{return!0}}function Ic(e){var t=Ut(e,1);null!==t&&yt(t,e,1,-1)}function Rc(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=Oh.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 zc(){return at().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=at();u=void 0===u?null:u;var o=void 0;if(null!==de){var l=de.memoizedState;if(o=l.destroy,null!==u&&Kl(u,l.deps))return void(r.memoizedState=dr(t,n,o,u))}le.flags|=e,r.memoizedState=dr(1|t,n,o,u)}function Hc(e,t){return D0(8390656,8,e,t)}function ui(e,t){return F0(2048,8,e,t)}function $c(e,t){return F0(4,2,e,t)}function Bc(e,t){return F0(4,4,e,t)}function Uc(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Zc(e,t,n){return n=null!=n?n.concat([e]):null,F0(4,4,Uc.bind(null,t,e),n)}function ri(){}function Vc(e,t){var n=at();t=void 0===t?null:t;var u=n.memoizedState;return null!==u&&null!==t&&Kl(t,u[1])?u[0]:(n.memoizedState=[e,t],e)}function qc(e,t){var n=at();t=void 0===t?null:t;var u=n.memoizedState;return null!==u&&null!==t&&Kl(t,u[1])?u[0]:(e=e(),n.memoizedState=[e,t],e)}function Wc(e,t,n){return 21&Ln?(ht(n,t)||(n=Es(),le.lanes|=n,On|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Be=!0),e.memoizedState=n)}function Mh(e,t){var n=V;V=0!==n&&4>n?n:4,e(!0);var u=Xl.transition;Xl.transition={};try{e(!1),t()}finally{V=n,Xl.transition=u}}function Gc(){return at().memoizedState}function Lh(e,t,n){var u=mn(e);if(n={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null},Qc(e))Yc(t,n);else if(null!==(n=Sc(e,t,n,u))){yt(n,e,u,je()),Xc(n,t,u)}}function Oh(e,t,n){var u=mn(e),r={lane:u,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qc(e))Yc(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,Vl(t)):(r.next=a.next,a.next=r),void(t.interleaved=r)}}catch{}null!==(n=Sc(e,t,r,u))&&(yt(n,e,u,r=je()),Xc(n,t,u))}}function Qc(e){var t=e.alternate;return e===le||null!==t&&t===le}function Yc(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 Xc(e,t,n){if(4194240&n){var u=t.lanes;n|=u&=e.pendingLanes,t.lanes=n,ll(e,n)}}var N0={readContext:it,useCallback:Ae,useContext:Ae,useEffect:Ae,useImperativeHandle:Ae,useInsertionEffect:Ae,useLayoutEffect:Ae,useMemo:Ae,useReducer:Ae,useRef:Ae,useState:Ae,useDebugValue:Ae,useDeferredValue:Ae,useTransition:Ae,useMutableSource:Ae,useSyncExternalStore:Ae,useId:Ae,unstable_isNewReconciler:!1},jh={readContext:it,useCallback:function(e,t){return At().memoizedState=[e,void 0===t?null:t],e},useContext:it,useEffect:Hc,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,D0(4194308,4,Uc.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=Lh.bind(null,le,e),[u.memoizedState,e]},useRef:function(e){return e={current:e},At().memoizedState=e},useState:Rc,useDebugValue:ri,useDeferredValue:function(e){return At().memoizedState=e},useTransition:function(){var e=Rc(!1),t=e[0];return e=Mh.bind(null,e[1]),At().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var u=le,r=At();if(te){if(void 0===n)throw Error(T(407));n=n()}else{if(n=t(),null===me)throw Error(T(349));30&Ln||Lc(u,t,n)}r.memoizedState=n;var o={value:n,getSnapshot:t};return r.queue=o,Hc(jc.bind(null,u,o,e),[e]),u.flags|=2048,dr(9,Oc.bind(null,u,o,n,t),void 0,null),n},useId:function(){var e=At(),t=me.identifierPrefix;if(te){var n=Bt;t=":"+t+"R"+(n=($t&~(1<<32-pt($t)-1)).toString(32)+n),0<(n=cr++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Nh++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Ph={readContext:it,useCallback:Vc,useContext:it,useEffect:ui,useImperativeHandle:Zc,useInsertionEffect:$c,useLayoutEffect:Bc,useMemo:qc,useReducer:ti,useRef:zc,useState:function(){return ti(fr)},useDebugValue:ri,useDeferredValue:function(e){return Wc(at(),de.memoizedState,e)},useTransition:function(){return[ti(fr)[0],at().memoizedState]},useMutableSource:Nc,useSyncExternalStore:Mc,useId:Gc,unstable_isNewReconciler:!1},Ih={readContext:it,useCallback:Vc,useContext:it,useEffect:ui,useImperativeHandle:Zc,useInsertionEffect:$c,useLayoutEffect:Bc,useMemo:qc,useReducer:ni,useRef:zc,useState:function(){return ni(fr)},useDebugValue:ri,useDeferredValue:function(e){var t=at();return null===de?t.memoizedState=e:Wc(t,de.memoizedState,e)},useTransition:function(){return[ni(fr)[0],at().memoizedState]},useMutableSource:Nc,useSyncExternalStore:Mc,useId:Gc,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 oi(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=je(),r=mn(e),o=Zt(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=je(),r=mn(e),o=Zt(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=je(),u=mn(e),r=Zt(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 Kc(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 Jc(e,t,n){var u=!1,r=an,o=t.contextType;return"object"==typeof o&&null!==o?o=it(o):(r=$e(t)?Tn:Se.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 e1(e,t,n,u){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,u),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,u),t.state!==e&&M0.enqueueReplaceState(t,t.state,null)}function li(e,t,n,u){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},ql(e);var o=t.contextType;"object"==typeof o&&null!==o?r.context=it(o):(o=$e(t)?Tn:Se.current,r.context=ru(e,o)),r.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(oi(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+=fp(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 ii(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ai(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var Rh="function"==typeof WeakMap?WeakMap:Map;function t1(e,t,n){(n=Zt(-1,n)).tag=3,n.payload={element:null};var u=t.value;return n.callback=function(){z0||(z0=!0,Ei=u),ai(0,t)},n}function n1(e,t,n){(n=Zt(-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(){ai(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ai(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 u1(e,t,n){var u=e.pingCache;if(null===u){u=e.pingCache=new Rh;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=Kh.bind(null,e,t,n),t.then(e,e))}function r1(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function o1(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=Zt(-1,1)).tag=2,fn(n,t,1))),n.lanes|=1),e)}var zh=Rt.ReactCurrentOwner,Be=!1;function Oe(e,t,n,u){t.child=null===e?Cc(t,null,n,u):au(t,e.child,n,u)}function l1(e,t,n,u,r){n=n.render;var o=t.ref;return cu(t,r),u=Jl(e,t,n,u,o,r),n=ei(),null===e||Be?(te&&n&&Pl(t),t.flags|=1,Oe(e,t,u,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Vt(e,t,r))}function i1(e,t,n,u,r){if(null===e){var o=n.type;return"function"!=typeof o||Fi(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=V0(n.type,null,u,t,t.mode,r)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,a1(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 a1(e,t,n,u,r){if(null!==e){var o=e.memoizedProps;if(Ku(o,u)&&e.ref===t.ref){if(Be=!1,t.pendingProps=u=o,!(e.lanes&r))return t.lanes=e.lanes,Vt(e,t,r);131072&e.flags&&(Be=!0)}}return si(e,t,n,u,r)}function s1(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,W(hu,et),et|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=null!==o?o.baseLanes:n,W(hu,et),et|=u}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},W(hu,et),et|=n;else null!==o?(u=o.baseLanes|n,t.memoizedState=null):u=n,W(hu,et),et|=u;return Oe(e,t,r,n),t.child}function c1(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function si(e,t,n,u,r){var o=$e(n)?Tn:Se.current;return o=ru(t,o),cu(t,r),n=Jl(e,t,n,u,o,r),u=ei(),null===e||Be?(te&&u&&Pl(t),t.flags|=1,Oe(e,t,n,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($e(n)){var o=!0;g0(t)}else o=!1;if(cu(t,r),null===t.stateNode)O0(e,t),Jc(t,n,u),li(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=it(s):s=ru(t,s=$e(n)?Tn:Se.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof l.getSnapshotBeforeUpdate;f||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i!==u||a!==s)&&e1(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||He.current||cn?("function"==typeof c&&(oi(t,n,c,u),a=t.memoizedState),(i=cn||Kc(t,n,i,u,h,a,s))?(f||"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,Ac(e,t),i=t.memoizedProps,s=t.type===t.elementType?i:gt(t.type,i),l.props=s,f=t.pendingProps,h=l.context,"object"==typeof(a=n.contextType)&&null!==a?a=it(a):a=ru(t,a=$e(n)?Tn:Se.current);var v=n.getDerivedStateFromProps;(c="function"==typeof v||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i!==f||h!==a)&&e1(t,l,u,a),cn=!1,h=t.memoizedState,l.state=h,C0(t,u,l,r);var p=t.memoizedState;i!==f||h!==p||He.current||cn?("function"==typeof v&&(oi(t,n,v,u),p=t.memoizedState),(s=cn||Kc(t,n,s,u,h,p,a)||!1)?(c||"function"!=typeof l.UNSAFE_componentWillUpdate&&"function"!=typeof l.componentWillUpdate||("function"==typeof l.componentWillUpdate&&l.componentWillUpdate(u,p,a),"function"==typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(u,p,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=p),l.props=u,l.state=p,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 ci(e,t,n,u,o,r)}function ci(e,t,n,u,r,o){c1(e,t);var l=!!(128&t.flags);if(!u&&!l)return r&&gc(t,n,!1),Vt(e,t,o);u=t.stateNode,zh.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)):Oe(e,t,i,o),t.memoizedState=u.state,r&&gc(t,n,!0),t.child}function d1(e){var t=e.stateNode;t.pendingContext?hc(0,t.pendingContext,t.pendingContext!==t.context):t.context&&hc(0,t.context,!1),Wl(e,t.containerInfo)}function p1(e,t,n,u,r){return iu(),Hl(r),t.flags|=256,Oe(e,t,n,u),t.child}var w1,mi,v1,y1,fi={dehydrated:null,treeContext:null,retryLane:0};function di(e){return{baseLanes:e,cachePool:null,transitions:null}}function h1(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),W(oe,1&r),null===e)return zl(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=Rn(e,u,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=di(n),t.memoizedState=fi,e):pi(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=ii(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=Rn(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=di(l),t.memoizedState=fi,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=ii(o=Error(T(419)),u,void 0))}if(i=!!(l&e.childLanes),Be||i){if(null!==(u=me)){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,Ut(e,r),yt(u,e,r,-1))}return Di(),L0(e,t,l,u=ii(Error(T(421))))}return"$?"===r.data?(t.flags|=128,t.child=e.child,t=Jh.bind(null,e),r._reactRetry=t,null):(e=o.treeContext,Je=on(r.nextSibling),Ke=t,te=!0,mt=null,null!==e&&(ot[lt++]=$t,ot[lt++]=Bt,ot[lt++]=Dn,$t=e.id,Bt=e.overflow,Dn=t),t=pi(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=Rn(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)?di(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=fi,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 pi(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&&Hl(u),au(t,e.child,null,n),(e=pi(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function m1(e,t,n){e.lanes|=t;var u=e.alternate;null!==u&&(u.lanes|=t),Zl(e.return,t,n)}function hi(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 g1(e,t,n){var u=t.pendingProps,r=u.revealOrder,o=u.tail;if(Oe(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&&m1(e,n,t);else if(19===e.tag)m1(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}if(W(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),hi(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}hi(t,!0,n,null,o);break;case"together":hi(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function O0(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),On|=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(!te)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var u=null;null!==n;)null!==n.alternate&&(u=n),n=n.sibling;null===u?t||null===e.tail?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Te(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 Bh(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 Te(t),null;case 1:case 17:return $e(t.type)&&m0(),Te(t),null;case 3:return u=t.stateNode,fu(),K(He),K(Se),Yl(),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&&(Si(mt),mt=null))),mi(e,t),Te(t),null;case 5:Gl(t);var r=Mn(ar.current);if(n=t.type,null!==e&&null!=t.stateNode)v1(e,t,n,u,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!u){if(null===t.stateNode)throw Error(T(166));return Te(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":X("cancel",u),X("close",u);break;case"iframe":case"object":case"embed":X("load",u);break;case"video":case"audio":for(r=0;r<er.length;r++)X(er[r],u);break;case"source":X("error",u);break;case"img":case"image":case"link":X("error",u),X("load",u);break;case"details":X("toggle",u);break;case"input":Ja(u,o),X("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!o.multiple},X("invalid",u);break;case"textarea":ns(u,o),X("invalid",u)}for(var l in Qo(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&&X("scroll",u)}switch(n){case"input":Ur(u),ts(u,o,!0);break;case"textarea":Ur(u),rs(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=os(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,w1(e,t,!1,!1),t.stateNode=e;e:{switch(l=Yo(n,u),n){case"dialog":X("cancel",e),X("close",e),r=u;break;case"iframe":case"object":case"embed":X("load",e),r=u;break;case"video":case"audio":for(r=0;r<er.length;r++)X(er[r],e);r=u;break;case"source":X("error",e),r=u;break;case"img":case"image":case"link":X("error",e),X("load",e),r=u;break;case"details":X("toggle",e),r=u;break;case"input":Ja(e,u),r=Zo(e,u),X("invalid",e);break;case"option":default:r=u;break;case"select":e._wrapperState={wasMultiple:!!u.multiple},r=re({},u,{value:void 0}),X("invalid",e);break;case"textarea":ns(e,u),r=Wo(e,u),X("invalid",e)}for(o in Qo(n,r),i=r)if(i.hasOwnProperty(o)){var a=i[o];"style"===o?as(e,a):"dangerouslySetInnerHTML"===o?null!=(a=a?a.__html:void 0)&&ls(e,a):"children"===o?"string"==typeof a?("textarea"!==n||""!==a)&&ju(e,a):"number"==typeof a&&ju(e,""+a):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(Nu.hasOwnProperty(o)?null!=a&&"onScroll"===o&&X("scroll",e):null!=a&&Lo(e,o,a,l))}switch(n){case"input":Ur(e),ts(e,u,!1);break;case"textarea":Ur(e),rs(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 Te(t),null;case 6:if(e&&null!=t.stateNode)y1(e,t,e.memoizedProps,u);else{if("string"!=typeof u&&null===t.stateNode)throw Error(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=Ke))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 Te(t),null;case 13:if(K(oe),u=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(te&&null!==Je&&1&t.mode&&!(128&t.flags))bc(),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;Te(t),o=!1}else null!==mt&&(Si(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===pe&&(pe=3):Di())),null!==t.updateQueue&&(t.flags|=4),Te(t),null);case 4:return fu(),mi(e,t),null===e&&tr(t.stateNode.containerInfo),Te(t),null;case 10:return Ul(t.type._context),Te(t),null;case 19:if(K(oe),null===(o=t.memoizedState))return Te(t),null;if(u=!!(128&t.flags),null===(l=o.rendering))if(u)pr(o,!1);else{if(0!==pe||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 W(oe,1&oe.current|2),t.child}e=e.sibling}null!==o.tail&&ce()>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&&!te)return Te(t),null}else 2*ce()-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=ce(),t.sibling=null,n=oe.current,W(oe,u?1&n|2:1&n),t):(Te(t),null);case 22:case 23:return Ti(),u=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==u&&(t.flags|=8192),u&&1&t.mode?1073741824&et&&(Te(t),6&t.subtreeFlags&&(t.flags|=8192)):Te(t),null;case 24:case 25:return null}throw Error(T(156,t.tag))}function Uh(e,t){switch(Il(t),t.tag){case 1:return $e(t.type)&&m0(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return fu(),K(He),K(Se),Yl(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Gl(t),null;case 13:if(K(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 K(oe),null;case 4:return fu(),null;case 10:return Ul(t.type._context),null;case 22:case 23:return Ti(),null;default:return null}}w1=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}},mi=function(){},v1=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=Wo(e,r),u=Wo(e,u),o=[];break;default:"function"!=typeof r.onClick&&"function"==typeof u.onClick&&(e.onclick=p0)}for(s in Qo(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&&X("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)}},y1=function(e,t,n,u){n!==u&&(t.flags|=4)};var j0=!1,De=!1,Zh="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){se(e,t,u)}else n.current=null}function gi(e,t,n){try{n()}catch(u){se(e,t,u)}}var x1=!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&&gi(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 wi(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 _1(e){var t=e.alternate;null!==t&&(e.alternate=null,_1(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[Ll],delete t[Ah],delete t[Th])),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 b1(e){return 5===e.tag||3===e.tag||4===e.tag}function E1(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||b1(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 vi(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(vi(e,t,n),e=e.sibling;null!==e;)vi(e,t,n),e=e.sibling}function yi(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(yi(e,t,n),e=e.sibling;null!==e;)yi(e,t,n),e=e.sibling}var _e=null,wt=!1;function dn(e,t,n){for(n=n.child;null!==n;)k1(e,t,n),n=n.sibling}function k1(e,t,n){if(kt&&"function"==typeof kt.onCommitFiberUnmount)try{kt.onCommitFiberUnmount(Qr,n)}catch{}switch(n.tag){case 5:De||pu(n,t);case 6:var u=_e,r=wt;_e=null,dn(e,t,n),wt=r,null!==(_e=u)&&(wt?(e=_e,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):_e.removeChild(n.stateNode));break;case 18:null!==_e&&(wt?(e=_e,n=n.stateNode,8===e.nodeType?Ml(e.parentNode,n):1===e.nodeType&&Ml(e,n),qu(e)):Ml(_e,n.stateNode));break;case 4:u=_e,r=wt,_e=n.stateNode.containerInfo,wt=!0,dn(e,t,n),_e=u,wt=r;break;case 0:case 11:case 14:case 15:if(!De&&(null!==(u=n.updateQueue)&&null!==(u=u.lastEffect))){r=u=u.next;do{var o=r,l=o.destroy;o=o.tag,void 0!==l&&(2&o||4&o)&&gi(n,t,l),r=r.next}while(r!==u)}dn(e,t,n);break;case 1:if(!De&&(pu(n,t),"function"==typeof(u=n.stateNode).componentWillUnmount))try{u.props=n.memoizedProps,u.state=n.memoizedState,u.componentWillUnmount()}catch(i){se(n,t,i)}dn(e,t,n);break;case 21:dn(e,t,n);break;case 22:1&n.mode?(De=(u=De)||null!==n.memoizedState,dn(e,t,n),De=u):dn(e,t,n);break;default:dn(e,t,n)}}function C1(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zh),t.forEach((function(u){var r=e3.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:_e=i.stateNode,wt=!1;break e;case 3:case 4:_e=i.stateNode.containerInfo,wt=!0;break e}i=i.return}if(null===_e)throw Error(T(160));k1(o,l,r),_e=null,wt=!1;var a=r.alternate;null!==a&&(a.return=null),r.return=null}catch(s){se(r,t,s)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)S1(t,e),t=t.sibling}function S1(e,t){var n=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vt(t,e),Tt(e),4&u){try{hr(3,e,e.return),P0(3,e)}catch(b){se(e,e.return,b)}try{hr(5,e,e.return)}catch(b){se(e,e.return,b)}}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{ju(r,"")}catch(b){se(e,e.return,b)}}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&&es(r,o),Yo(i,l);var s=Yo(i,o);for(l=0;l<a.length;l+=2){var c=a[l],f=a[l+1];"style"===c?as(r,f):"dangerouslySetInnerHTML"===c?ls(r,f):"children"===c?ju(r,f):Lo(r,c,f,s)}switch(i){case"input":Vo(r,o);break;case"textarea":us(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(b){se(e,e.return,b)}}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(b){se(e,e.return,b)}}break;case 3:if(vt(t,e),Tt(e),4&u&&null!==n&&n.memoizedState.isDehydrated)try{qu(t.containerInfo)}catch(b){se(e,e.return,b)}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||(bi=ce())),4&u&&C1(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(De=(s=De)||c,vt(t,e),De=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(f=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 p=h.stateNode;if("function"==typeof p.componentWillUnmount){u=h,n=h.return;try{t=u,p.props=t.memoizedProps,p.state=t.memoizedState,p.componentWillUnmount()}catch(b){se(u,n,b)}}break;case 5:pu(h,h.return);break;case 22:if(null!==h.memoizedState){D1(f);continue}}null!==v?(v.return=h,M=v):D1(f)}c=c.sibling}e:for(c=null,f=e;;){if(5===f.tag){if(null===c){c=f;try{r=f.stateNode,s?"function"==typeof(o=r.style).setProperty?o.setProperty("display","none","important"):o.display="none":(i=f.stateNode,l=null!=(a=f.memoizedProps.style)&&a.hasOwnProperty("display")?a.display:null,i.style.display=is("display",l))}catch(b){se(e,e.return,b)}}}else if(6===f.tag){if(null===c)try{f.stateNode.nodeValue=s?"":f.memoizedProps}catch(b){se(e,e.return,b)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vt(t,e),Tt(e),4&u&&C1(e);case 21:}}function Tt(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(b1(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&&(ju(r,""),u.flags&=-33),yi(e,E1(e),r);break;case 3:case 4:var l=u.stateNode.containerInfo;vi(e,E1(e),l);break;default:throw Error(T(161))}}catch(a){se(e,e.return,a)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function qh(e,t,n){M=e,A1(e)}function A1(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||j0;if(!l){var i=r.alternate,a=null!==i&&null!==i.memoizedState||De;i=j0;var s=De;if(j0=l,(De=a)&&!s)for(M=r;null!==M;)a=(l=M).child,22===l.tag&&null!==l.memoizedState?F1(r):null!==a?(a.return=l,M=a):F1(r);for(;null!==o;)M=o,A1(o),o=o.sibling;M=r,j0=i,De=s}T1(e)}else 8772&r.subtreeFlags&&null!==o?(o.return=r,M=o):T1(e)}}function T1(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:De||P0(5,t);break;case 1:var u=t.stateNode;if(4&t.flags&&!De)if(null===n)u.componentDidMount();else{var r=t.elementType===t.type?n.memoizedProps:gt(t.type,n.memoizedProps);u.componentDidUpdate(r,n.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Dc(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}Dc(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 f=c.dehydrated;null!==f&&qu(f)}}}break;default:throw Error(T(163))}De||512&t.flags&&wi(t)}catch(h){se(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 D1(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 F1(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){se(t,n,a)}break;case 1:var u=t.stateNode;if("function"==typeof u.componentDidMount){var r=t.return;try{u.componentDidMount()}catch(a){se(t,r,a)}}var o=t.return;try{wi(t)}catch(a){se(t,o,a)}break;case 5:var l=t.return;try{wi(t)}catch(a){se(t,l,a)}}}catch(a){se(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 z1,Wh=Math.ceil,I0=Rt.ReactCurrentDispatcher,xi=Rt.ReactCurrentOwner,st=Rt.ReactCurrentBatchConfig,Z=0,me=null,fe=null,be=0,et=0,hu=ln(0),pe=0,mr=null,On=0,R0=0,_i=0,gr=null,Ue=null,bi=0,mu=1/0,qt=null,z0=!1,Ei=null,pn=null,H0=!1,hn=null,$0=0,wr=0,ki=null,B0=-1,U0=0;function je(){return 6&Z?ce():-1!==B0?B0:B0=ce()}function mn(e){return 1&e.mode?2&Z&&0!==be?be&-be:null!==Fh.transition?(0===U0&&(U0=Es()),U0):(0!==(e=V)||(e=void 0===(e=window.event)?16:Ms(e.type)),e):1}function yt(e,t,n,u){if(50<wr)throw wr=0,ki=null,Error(T(185));$u(e,n,u),(!(2&Z)||e!==me)&&(e===me&&(!(2&Z)&&(R0|=n),4===pe&&gn(e,be)),Ze(e,u),1===n&&0===Z&&!(1&t.mode)&&(mu=ce()+500,w0&&sn()))}function Ze(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]=Dp(i,t)):a<=t&&(e.expiredLanes|=i),o&=~i}}(e,t);var u=Kr(e,e===me?be:0);if(0===u)null!==n&&xs(n),e.callbackNode=null,e.callbackPriority=0;else if(t=u&-u,e.callbackPriority!==t){if(null!=n&&xs(n),1===t)0===e.tag?function(e){w0=!0,wc(e)}(M1.bind(null,e)):wc(M1.bind(null,e)),Ch((function(){!(6&Z)&&sn()})),n=null;else{switch(ks(u)){case 1:n=ul;break;case 4:n=_s;break;case 16:default:n=Gr;break;case 536870912:n=bs}n=H1(n,N1.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function N1(e,t){if(B0=-1,U0=0,6&Z)throw Error(T(327));var n=e.callbackNode;if(gu()&&e.callbackNode!==n)return null;var u=Kr(e,e===me?be:0);if(0===u)return null;if(30&u||u&e.expiredLanes||t)t=Z0(e,u);else{t=u;var r=Z;Z|=2;var o=O1();for((me!==e||be!==t)&&(qt=null,mu=ce()+500,Pn(e,t));;)try{Yh();break}catch(i){L1(e,i)}Bl(),I0.current=o,Z=r,null!==fe?t=0:(me=null,be=0,t=pe)}if(0!==t){if(2===t&&(0!==(r=rl(e))&&(u=r,t=Ci(e,r))),1===t)throw n=mr,Pn(e,0),gn(e,u),Ze(e,ce()),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=Z0(e,u),2===t&&(o=rl(e),0!==o&&(u=o,t=Ci(e,o))),1!==t)))throw n=mr,Pn(e,0),gn(e,u),Ze(e,ce()),n;switch(e.finishedWork=r,e.finishedLanes=u,t){case 0:case 1:throw Error(T(345));case 2:case 5:In(e,Ue,qt);break;case 3:if(gn(e,u),(130023424&u)===u&&10<(t=bi+500-ce())){if(0!==Kr(e,0))break;if(((r=e.suspendedLanes)&u)!==u){je(),e.pingedLanes|=e.suspendedLanes&r;break}e.timeoutHandle=Nl(In.bind(null,e,Ue,qt),t);break}In(e,Ue,qt);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=ce()-u)?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*Wh(u/1960))-u)){e.timeoutHandle=Nl(In.bind(null,e,Ue,qt),u);break}In(e,Ue,qt);break;default:throw Error(T(329))}}}return Ze(e,ce()),e.callbackNode===n?N1.bind(null,e):null}function Ci(e,t){var n=gr;return e.current.memoizedState.isDehydrated&&(Pn(e,t).flags|=256),2!==(e=Z0(e,t))&&(t=Ue,Ue=n,null!==t&&Si(t)),e}function Si(e){null===Ue?Ue=e:Ue.push.apply(Ue,e)}function gn(e,t){for(t&=~_i,t&=~R0,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 M1(e){if(6&Z)throw Error(T(327));gu();var t=Kr(e,0);if(!(1&t))return Ze(e,ce()),null;var n=Z0(e,t);if(0!==e.tag&&2===n){var u=rl(e);0!==u&&(t=u,n=Ci(e,u))}if(1===n)throw n=mr,Pn(e,0),gn(e,t),Ze(e,ce()),n;if(6===n)throw Error(T(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,In(e,Ue,qt),Ze(e,ce()),null}function Ai(e,t){var n=Z;Z|=1;try{return e(t)}finally{0===(Z=n)&&(mu=ce()+500,w0&&sn())}}function jn(e){null!==hn&&0===hn.tag&&!(6&Z)&&gu();var t=Z;Z|=1;var n=st.transition,u=V;try{if(st.transition=null,V=1,e)return e()}finally{V=u,st.transition=n,!(6&(Z=t))&&sn()}}function Ti(){et=hu.current,K(hu)}function Pn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,kh(n)),null!==fe)for(n=fe.return;null!==n;){var u=n;switch(Il(u),u.tag){case 1:null!=(u=u.type.childContextTypes)&&m0();break;case 3:fu(),K(He),K(Se),Yl();break;case 5:Gl(u);break;case 4:fu();break;case 13:case 19:K(oe);break;case 10:Ul(u.type._context);break;case 22:case 23:Ti()}n=n.return}if(me=e,fe=e=wn(e.current,null),be=et=t,pe=0,mr=null,_i=R0=On=0,Ue=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 L1(e,t){for(;;){var n=fe;try{if(Bl(),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,he=de=le=null,sr=!1,cr=0,xi.current=null,null===n||null===n.return){pe=1,mr=t,fe=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,f=c.tag;if(!(1&c.mode||0!==f&&11!==f&&15!==f)){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=r1(l);if(null!==v){v.flags&=-257,o1(v,l,i,0,t),1&v.mode&&u1(o,s,t),a=s;var p=(t=v).updateQueue;if(null===p){var b=new Set;b.add(a),t.updateQueue=b}else p.add(a);break e}if(!(1&t)){u1(o,s,t),Di();break e}a=Error(T(426))}else if(te&&1&i.mode){var S=r1(l);if(null!==S){!(65536&S.flags)&&(S.flags|=256),o1(S,l,i,0,t),Hl(du(a,i));break e}}o=a=du(a,i),4!==pe&&(pe=2),null===gr?gr=[o]:gr.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,Tc(o,t1(0,a,t));break e;case 1:i=a;var d=o.type,m=o.stateNode;if(!(128&o.flags||"function"!=typeof d.getDerivedStateFromError&&(null===m||"function"!=typeof m.componentDidCatch||null!==pn&&pn.has(m)))){o.flags|=65536,t&=-t,o.lanes|=t,Tc(o,n1(o,i,t));break e}}o=o.return}while(null!==o)}P1(n)}catch(C){t=C,fe===n&&null!==n&&(fe=n=n.return);continue}break}}function O1(){var e=I0.current;return I0.current=N0,null===e?N0:e}function Di(){(0===pe||3===pe||2===pe)&&(pe=4),null===me||!(268435455&On)&&!(268435455&R0)||gn(me,be)}function Z0(e,t){var n=Z;Z|=2;var u=O1();for((me!==e||be!==t)&&(qt=null,Pn(e,t));;)try{Qh();break}catch(r){L1(e,r)}if(Bl(),Z=n,I0.current=u,null!==fe)throw Error(T(261));return me=null,be=0,pe}function Qh(){for(;null!==fe;)j1(fe)}function Yh(){for(;null!==fe&&!_p();)j1(fe)}function j1(e){var t=z1(e.alternate,e,et);e.memoizedProps=e.pendingProps,null===t?P1(e):fe=t,xi.current=null}function P1(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Uh(n,t)))return n.flags&=32767,void(fe=n);if(null===e)return pe=6,void(fe=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Bh(n,t,et)))return void(fe=n);if(null!==(t=t.sibling))return void(fe=t);fe=t=e}while(null!==t);0===pe&&(pe=5)}function In(e,t,n){var u=V,r=st.transition;try{st.transition=null,V=1,function(e,t,n,u){do{gu()}while(null!==hn);if(6&Z)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===me&&(fe=me=null,be=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||H0||(H0=!0,H1(Gr,(function(){return gu(),null}))),o=!!(15990&n.flags),15990&n.subtreeFlags||o){o=st.transition,st.transition=null;var l=V;V=1;var i=Z;Z|=4,xi.current=null,function(e,t){if(Tl=t0,xl(e=Ks())){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,f=e,h=null;t:for(;;){for(var v;f!==n||0!==r&&3!==f.nodeType||(i=l+r),f!==o||0!==u&&3!==f.nodeType||(a=l+u),3===f.nodeType&&(l+=f.nodeValue.length),null!==(v=f.firstChild);)h=f,f=v;for(;;){if(f===e)break t;if(h===n&&++s===r&&(i=l),h===o&&++c===u&&(a=l),null!==(v=f.nextSibling))break;h=(f=h).parentNode}f=v}n=-1===i||-1===a?null:{start:i,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Dl={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 p=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!==p){var b=p.memoizedProps,S=p.memoizedState,g=t.stateNode,d=g.getSnapshotBeforeUpdate(t.elementType===t.type?b:gt(t.type,b),S);g.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;1===m.nodeType?m.textContent="":9===m.nodeType&&m.documentElement&&m.removeChild(m.documentElement);break;default:throw Error(T(163))}}catch(_){se(t,t.return,_)}if(null!==(e=t.sibling)){e.return=t.return,M=e;break}M=t.return}p=x1,x1=!1}(e,n),S1(n,e),wh(Dl),t0=!!Tl,Dl=Tl=null,e.current=n,qh(n),bp(),Z=i,V=l,st.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),Ze(e,ce()),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=Ei,Ei=null,e;1&$0&&0!==e.tag&&gu(),o=e.pendingLanes,1&o?e===ki?wr++:(wr=0,ki=e):wr=0,sn()}(e,t,n,u)}finally{st.transition=r,V=u}return null}function gu(){if(null!==hn){var e=ks($0),t=st.transition,n=V;try{if(st.transition=null,V=16>e?16:e,null===hn)var u=!1;else{if(e=hn,hn=null,$0=0,6&Z)throw Error(T(331));var r=Z;for(Z|=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 f=c.child;if(null!==f)f.return=c,M=f;else for(;null!==M;){var h=(c=M).sibling,v=c.return;if(_1(c),c===s){M=null;break}if(null!==h){h.return=v,M=h;break}M=v}}}var p=o.alternate;if(null!==p){var b=p.child;if(null!==b){p.child=null;do{var S=b.sibling;b.sibling=null,b=S}while(null!==b)}}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 g=o.sibling;if(null!==g){g.return=o.return,M=g;break e}M=o.return}}var d=e.current;for(M=d;null!==M;){var m=(l=M).child;if(2064&l.subtreeFlags&&null!==m)m.return=l,M=m;else e:for(l=d;null!==M;){if(2048&(i=M).flags)try{switch(i.tag){case 0:case 11:case 15:P0(9,i)}}catch(C){se(i,i.return,C)}if(i===l){M=null;break e}var _=i.sibling;if(null!==_){_.return=i.return,M=_;break e}M=i.return}}if(Z=r,sn(),kt&&"function"==typeof kt.onPostCommitFiberRoot)try{kt.onPostCommitFiberRoot(Qr,e)}catch{}u=!0}return u}finally{V=n,st.transition=t}}return!1}function I1(e,t,n){e=fn(e,t=t1(0,t=du(n,t),1),1),t=je(),null!==e&&($u(e,1,t),Ze(e,t))}function se(e,t,n){if(3===e.tag)I1(e,e,n);else for(;null!==t;){if(3===t.tag){I1(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=n1(t,e=du(n,e),1),1),e=je(),null!==t&&($u(t,1,e),Ze(t,e));break}}t=t.return}}function Kh(e,t,n){var u=e.pingCache;null!==u&&u.delete(t),t=je(),e.pingedLanes|=e.suspendedLanes&n,me===e&&(be&n)===n&&(4===pe||3===pe&&(130023424&be)===be&&500>ce()-bi?Pn(e,0):_i|=n),Ze(e,t)}function R1(e,t){0===t&&(1&e.mode?(t=Xr,!(130023424&(Xr<<=1))&&(Xr=4194304)):t=1);var n=je();null!==(e=Ut(e,t))&&($u(e,t,n),Ze(e,n))}function Jh(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),R1(e,n)}function e3(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),R1(e,n)}function H1(e,t){return ys(e,t)}function t3(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 ct(e,t,n,u){return new t3(e,t,n,u)}function Fi(e){return!(!(e=e.prototype)||!e.isReactComponent)}function wn(e,t){var n=e.alternate;return null===n?((n=ct(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 V0(e,t,n,u,r,o){var l=2;if(u=e,"function"==typeof e)Fi(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case Vn:return Rn(n.children,r,o,t);case Oo:l=8,r|=8;break;case jo:return(e=ct(12,n,t,2|r)).elementType=jo,e.lanes=o,e;case Io:return(e=ct(13,n,t,r)).elementType=Io,e.lanes=o,e;case Ro:return(e=ct(19,n,t,r)).elementType=Ro,e.lanes=o,e;case Qa:return q0(n,r,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Wa:l=10;break e;case Ga:l=9;break e;case Po:l=11;break e;case zo:l=14;break e;case Xt:l=16,u=null;break e}throw Error(T(130,null==e?e:typeof e,""))}return(t=ct(l,n,t,r)).elementType=e,t.type=u,t.lanes=o,t}function Rn(e,t,n,u){return(e=ct(7,e,u,t)).lanes=n,e}function q0(e,t,n,u){return(e=ct(22,e,u,t)).elementType=Qa,e.lanes=n,e.stateNode={isHidden:!1},e}function Ni(e,t,n){return(e=ct(6,e,null,t)).lanes=n,e}function Mi(e,t,n){return(t=ct(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function u3(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=ol(0),this.expirationTimes=ol(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ol(0),this.identifierPrefix=u,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function Li(e,t,n,u,r,o,l,i,a){return e=new u3(e,t,n,i,a),1===t?(t=1,!0===o&&(t|=8)):t=0,o=ct(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:u,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ql(o),e}function $1(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($e(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($e(n))return mc(e,n,t)}return t}function B1(e,t,n,u,r,o,l,i,a){return(e=Li(n,u,!0,e,0,o,0,i,a)).context=$1(null),n=e.current,(o=Zt(u=je(),r=mn(n))).callback=t??null,fn(n,o,r),e.current.lanes=r,$u(e,r,u),Ze(e,u),e}function W0(e,t,n,u){var r=t.current,o=je(),l=mn(r);return n=$1(n),null===t.context?t.context=n:t.pendingContext=n,(t=Zt(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 U1(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){U1(e,t),(e=e.alternate)&&U1(e,t)}z1=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||He.current)Be=!0;else{if(!(e.lanes&n||128&t.flags))return Be=!1,function(e,t,n){switch(t.tag){case 3:d1(t),iu();break;case 5:Fc(t);break;case 1:$e(t.type)&&g0(t);break;case 4:Wl(t,t.stateNode.containerInfo);break;case 10:var u=t.type._context,r=t.memoizedProps.value;W(b0,u._currentValue),u._currentValue=r;break;case 13:if(null!==(u=t.memoizedState))return null!==u.dehydrated?(W(oe,1&oe.current),t.flags|=128,null):n&t.child.childLanes?h1(e,t,n):(W(oe,1&oe.current),null!==(e=Vt(e,t,n))?e.sibling:null);W(oe,1&oe.current);break;case 19:if(u=!!(n&t.childLanes),128&e.flags){if(u)return g1(e,t,n);t.flags|=128}if(null!==(r=t.memoizedState)&&(r.rendering=null,r.tail=null,r.lastEffect=null),W(oe,oe.current),u)break;return null;case 22:case 23:return t.lanes=0,s1(e,t,n)}return Vt(e,t,n)}(e,t,n);Be=!!(131072&e.flags)}else Be=!1,te&&1048576&t.flags&&vc(t,y0,t.index);switch(t.lanes=0,t.tag){case 2:var u=t.type;O0(e,t),e=t.pendingProps;var r=ru(t,Se.current);cu(t,n),r=Jl(null,t,u,e,r,n);var o=ei();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,$e(u)?(o=!0,g0(t)):o=!1,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,ql(t),r.updater=M0,t.stateNode=r,r._reactInternals=t,li(t,u,e,n),t=ci(null,t,u,!0,o,n)):(t.tag=0,te&&o&&Pl(t),Oe(null,t,r,n),t=t.child),t;case 16:u=t.elementType;e:{switch(O0(e,t),e=t.pendingProps,u=(r=u._init)(u._payload),t.type=u,r=t.tag=function(e){if("function"==typeof e)return Fi(e)?1:0;if(null!=e){if((e=e.$$typeof)===Po)return 11;if(e===zo)return 14}return 2}(u),e=gt(u,e),r){case 0:t=si(null,t,u,e,n);break e;case 1:t=f1(null,t,u,e,n);break e;case 11:t=l1(null,t,u,e,n);break e;case 14:t=i1(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,si(e,t,u,r=t.elementType===u?r:gt(u,r),n);case 1:return u=t.type,r=t.pendingProps,f1(e,t,u,r=t.elementType===u?r:gt(u,r),n);case 3:e:{if(d1(t),null===e)throw Error(T(387));u=t.pendingProps,r=(o=t.memoizedState).element,Ac(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=p1(e,t,u,n,r=du(Error(T(423)),t));break e}if(u!==r){t=p1(e,t,u,n,r=du(Error(T(424)),t));break e}for(Je=on(t.stateNode.containerInfo.firstChild),Ke=t,te=!0,mt=null,n=Cc(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}Oe(e,t,u,n)}t=t.child}return t;case 5:return Fc(t),null===e&&zl(t),u=t.type,r=t.pendingProps,o=null!==e?e.memoizedProps:null,l=r.children,Fl(u,r)?l=null:null!==o&&Fl(u,o)&&(t.flags|=32),c1(e,t),Oe(e,t,l,n),t.child;case 6:return null===e&&zl(t),null;case 13:return h1(e,t,n);case 4:return Wl(t,t.stateNode.containerInfo),u=t.pendingProps,null===e?t.child=au(t,null,u,n):Oe(e,t,u,n),t.child;case 11:return u=t.type,r=t.pendingProps,l1(e,t,u,r=t.elementType===u?r:gt(u,r),n);case 7:return Oe(e,t,t.pendingProps,n),t.child;case 8:case 12:return Oe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(u=t.type._context,r=t.pendingProps,o=t.memoizedProps,l=r.value,W(b0,u._currentValue),u._currentValue=l,null!==o)if(ht(o.value,l)){if(o.children===r.children&&!He.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=Zt(-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}Oe(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=it(r)),t.flags|=1,Oe(e,t,u,n),t.child;case 14:return r=gt(u=t.type,t.pendingProps),i1(e,t,u,r=gt(u.type,r),n);case 15:return a1(e,t,t.type,t.pendingProps,n);case 17:return u=t.type,r=t.pendingProps,r=t.elementType===u?r:gt(u,r),O0(e,t),t.tag=1,$e(u)?(e=!0,g0(t)):e=!1,cu(t,n),Jc(t,u,r),li(t,u,r,n),ci(null,t,u,!0,e,n);case 19:return g1(e,t,n);case 22:return s1(e,t,n)}throw Error(T(156,t.tag))};var Z1="function"==typeof reportError?reportError:function(e){console.error(e)};function ji(e){this._internalRoot=e}function Q0(e){this._internalRoot=e}function Pi(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 V1(){}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=B1(t,u,e,0,null,!1,0,"",V1);return e._reactRootContainer=l,e[zt]=l.current,tr(8===e.nodeType?e.parentNode:e),jn(),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=Li(e,0,!1,null,0,!1,0,"",V1);return e._reactRootContainer=a,e[zt]=a.current,tr(8===e.nodeType?e.parentNode:e),jn((function(){W0(t,a,n,u)})),a}(n,t,e,r,u);return G0(l)}Q0.prototype.render=ji.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(T(409));W0(e,t,null,null)},Q0.prototype.unmount=ji.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;jn((function(){W0(null,e,null,null)})),t[zt]=null}},Q0.prototype.unstable_scheduleHydration=function(e){if(e){var t=As();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&&Fs(e)}},Cs=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Hu(t.pendingLanes);0!==n&&(ll(t,1|n),Ze(t,ce()),!(6&Z)&&(mu=ce()+500,sn()))}break;case 13:jn((function(){var u=Ut(e,1);if(null!==u){var r=je();yt(u,e,1,r)}})),Oi(e,1)}},il=function(e){if(13===e.tag){var t=Ut(e,134217728);if(null!==t)yt(t,e,134217728,je());Oi(e,134217728)}},Ss=function(e){if(13===e.tag){var t=mn(e),n=Ut(e,t);if(null!==n)yt(n,e,t,je());Oi(e,t)}},As=function(){return V},Ts=function(e,t){var n=V;try{return V=e,t()}finally{V=n}},Jo=function(e,t,n){switch(t){case"input":if(Vo(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));Ka(u),Vo(u,r)}}}break;case"textarea":us(e,n);break;case"select":null!=(t=n.value)&&qn(e,!!n.multiple,t,!1)}},ds=Ai,ps=jn;var i3={usingClientEntryPoint:!1,Events:[rr,nu,h0,cs,fs,Ai]},vr={findFiberByHostInstance:An,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},a3={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=ws(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(a3),kt=K0}catch{}}Qe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=i3,Qe.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Pi(t))throw Error(T(200));return function(e,t,n){var u=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Zn,key:null==u?null:""+u,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},Qe.createRoot=function(e,t){if(!Pi(e))throw Error(T(299));var n=!1,u="",r=Z1;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(u=t.identifierPrefix),void 0!==t.onRecoverableError&&(r=t.onRecoverableError)),t=Li(e,1,!1,null,0,n,0,u,r),e[zt]=t.current,tr(8===e.nodeType?e.parentNode:e),new ji(t)},Qe.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=ws(t))?null:e.stateNode},Qe.flushSync=function(e){return jn(e)},Qe.hydrate=function(e,t,n){if(!Y0(t))throw Error(T(200));return X0(null,e,t,!0,n)},Qe.hydrateRoot=function(e,t,n){if(!Pi(e))throw Error(T(405));var u=null!=n&&n.hydratedSources||null,r=!1,o="",l=Z1;if(null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=B1(t,null,e,1,n??null,r,0,o,l),e[zt]=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)},Qe.render=function(e,t,n){if(!Y0(t))throw Error(T(200));return X0(null,e,t,!1,n)},Qe.unmountComponentAtNode=function(e){if(!Y0(e))throw Error(T(40));return!!e._reactRootContainer&&(jn((function(){X0(null,null,e,!1,(function(){e._reactRootContainer=null,e[zt]=null}))})),!0)},Qe.unstable_batchedUpdates=Ai,Qe.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)},Qe.version="18.3.1-next-f1338f8080-20240426",function q1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(q1)}catch(e){console.error(e)}}(),$a.exports=Qe;var Ii=$a.exports,W1=Ii;Do.createRoot=W1.createRoot,Do.hydrateRoot=W1.hydrateRoot;const Ri=k.createContext(null),G1={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",socialFbUrl:null,socialLineUrl:null,socialPhoneUrl:null,greeting:null,greetings:null,userBgColor:null,userTextColor:null,assistantBgColor:null,assistantTextColor:null,noSponsor:"true",position:"bottom-right",windowHeight:null,windowWidth:null,textSize:null,allowFullscreen:"off",openOnLoad:"off",supportEmail:null,showRag:null,showActions:null,showAssistants:null,language:"en",prompt:null,model:null,temperature:null};const J0="___anm-chat-widget-open___",Q1="___anm-chat-greetings-shown___";const p3=k.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var h3=Object.defineProperty,eo=Object.getOwnPropertySymbols,Y1=Object.prototype.hasOwnProperty,X1=Object.prototype.propertyIsEnumerable,K1=(e,t,n)=>t in e?h3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J1=(e,t)=>{for(var n in t||(t={}))Y1.call(t,n)&&K1(e,n,t[n]);if(eo)for(var n of eo(t))X1.call(t,n)&&K1(e,n,t[n]);return e},ef=(e,t)=>{var n={};for(var u in e)Y1.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&&X1.call(e,u)&&(n[u]=e[u]);return n};const tf=k.forwardRef(((e,t)=>{const n=e,{alt:u,color:r,size:o,weight:l,mirrored:i,children:a,weights:s}=n,c=ef(n,["alt","color","size","weight","mirrored","children","weights"]),f=k.useContext(p3),{color:h="currentColor",size:v,weight:p="regular",mirrored:b=!1}=f,S=ef(f,["color","size","weight","mirrored"]);return w.createElement("svg",J1(J1({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||b?"scale(-1, 1)":void 0},S),c),!!u&&w.createElement("title",null,u),a,s.get(l??p))}));tf.displayName="IconBase";const xt=tf,m3=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.createElement("path",{d:"M200,144l-72,72L56,144Z",opacity:"0.2"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 g3=Object.defineProperty,w3=Object.defineProperties,v3=Object.getOwnPropertyDescriptors,nf=Object.getOwnPropertySymbols,y3=Object.prototype.hasOwnProperty,x3=Object.prototype.propertyIsEnumerable,uf=(e,t,n)=>t in e?g3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const rf=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>w3(e,v3(t)))(((e,t)=>{for(var n in t||(t={}))y3.call(t,n)&&uf(e,n,t[n]);if(nf)for(var n of nf(t))x3.call(t,n)&&uf(e,n,t[n]);return e})({ref:t},e),{weights:m3}))));rf.displayName="ArrowDown";const E3=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 k3=Object.defineProperty,C3=Object.defineProperties,S3=Object.getOwnPropertyDescriptors,of=Object.getOwnPropertySymbols,A3=Object.prototype.hasOwnProperty,T3=Object.prototype.propertyIsEnumerable,lf=(e,t,n)=>t in e?k3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const af=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>C3(e,S3(t)))(((e,t)=>{for(var n in t||(t={}))A3.call(t,n)&&lf(e,n,t[n]);if(of)for(var n of of(t))T3.call(t,n)&&lf(e,n,t[n]);return e})({ref:t},e),{weights:E3}))));af.displayName="Binoculars";const N3=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 M3=Object.defineProperty,L3=Object.defineProperties,O3=Object.getOwnPropertyDescriptors,sf=Object.getOwnPropertySymbols,j3=Object.prototype.hasOwnProperty,P3=Object.prototype.propertyIsEnumerable,cf=(e,t,n)=>t in e?M3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const ff=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>L3(e,O3(t)))(((e,t)=>{for(var n in t||(t={}))j3.call(t,n)&&cf(e,n,t[n]);if(sf)for(var n of sf(t))P3.call(t,n)&&cf(e,n,t[n]);return e})({ref:t},e),{weights:N3}))));ff.displayName="ChatCircleDots";const z3=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 H3=Object.defineProperty,$3=Object.defineProperties,B3=Object.getOwnPropertyDescriptors,df=Object.getOwnPropertySymbols,U3=Object.prototype.hasOwnProperty,Z3=Object.prototype.propertyIsEnumerable,pf=(e,t,n)=>t in e?H3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const zi=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>$3(e,B3(t)))(((e,t)=>{for(var n in t||(t={}))U3.call(t,n)&&pf(e,n,t[n]);if(df)for(var n of df(t))Z3.call(t,n)&&pf(e,n,t[n]);return e})({ref:t},e),{weights:z3}))));zi.displayName="CircleNotch";const W3=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 G3=Object.defineProperty,Q3=Object.defineProperties,Y3=Object.getOwnPropertyDescriptors,hf=Object.getOwnPropertySymbols,X3=Object.prototype.hasOwnProperty,K3=Object.prototype.propertyIsEnumerable,mf=(e,t,n)=>t in e?G3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const gf=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>Q3(e,Y3(t)))(((e,t)=>{for(var n in t||(t={}))X3.call(t,n)&&mf(e,n,t[n]);if(hf)for(var n of hf(t))K3.call(t,n)&&mf(e,n,t[n]);return e})({ref:t},e),{weights:W3}))));gf.displayName="Headset";const t6=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 n6=Object.defineProperty,u6=Object.defineProperties,r6=Object.getOwnPropertyDescriptors,wf=Object.getOwnPropertySymbols,o6=Object.prototype.hasOwnProperty,l6=Object.prototype.propertyIsEnumerable,vf=(e,t,n)=>t in e?n6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const yf=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>u6(e,r6(t)))(((e,t)=>{for(var n in t||(t={}))o6.call(t,n)&&vf(e,n,t[n]);if(wf)for(var n of wf(t))l6.call(t,n)&&vf(e,n,t[n]);return e})({ref:t},e),{weights:t6}))));yf.displayName="MagicWand";const s6=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 c6=Object.defineProperty,f6=Object.defineProperties,d6=Object.getOwnPropertyDescriptors,xf=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 bf=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>f6(e,d6(t)))(((e,t)=>{for(var n in t||(t={}))p6.call(t,n)&&_f(e,n,t[n]);if(xf)for(var n of xf(t))h6.call(t,n)&&_f(e,n,t[n]);return e})({ref:t},e),{weights:s6}))));bf.displayName="MagnifyingGlass";const w6=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 v6=Object.defineProperty,y6=Object.defineProperties,x6=Object.getOwnPropertyDescriptors,Ef=Object.getOwnPropertySymbols,_6=Object.prototype.hasOwnProperty,b6=Object.prototype.propertyIsEnumerable,kf=(e,t,n)=>t in e?v6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Cf=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>y6(e,x6(t)))(((e,t)=>{for(var n in t||(t={}))_6.call(t,n)&&kf(e,n,t[n]);if(Ef)for(var n of Ef(t))b6.call(t,n)&&kf(e,n,t[n]);return e})({ref:t},e),{weights:w6}))));Cf.displayName="PaperPlaneRight";const C6=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 S6=Object.defineProperty,A6=Object.defineProperties,T6=Object.getOwnPropertyDescriptors,Sf=Object.getOwnPropertySymbols,D6=Object.prototype.hasOwnProperty,F6=Object.prototype.propertyIsEnumerable,Af=(e,t,n)=>t in e?S6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Tf=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>A6(e,T6(t)))(((e,t)=>{for(var n in t||(t={}))D6.call(t,n)&&Af(e,n,t[n]);if(Sf)for(var n of Sf(t))F6.call(t,n)&&Af(e,n,t[n]);return e})({ref:t},e),{weights:C6}))));Tf.displayName="Plus";const L6=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 O6=Object.defineProperty,j6=Object.defineProperties,P6=Object.getOwnPropertyDescriptors,Df=Object.getOwnPropertySymbols,I6=Object.prototype.hasOwnProperty,R6=Object.prototype.propertyIsEnumerable,Ff=(e,t,n)=>t in e?O6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Nf=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>j6(e,P6(t)))(((e,t)=>{for(var n in t||(t={}))I6.call(t,n)&&Ff(e,n,t[n]);if(Df)for(var n of Df(t))R6.call(t,n)&&Ff(e,n,t[n]);return e})({ref:t},e),{weights:L6}))));Nf.displayName="Warning";const $6=new Map([["bold",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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"}),w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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",w.createElement(w.Fragment,null,w.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 B6=Object.defineProperty,U6=Object.defineProperties,Z6=Object.getOwnPropertyDescriptors,Mf=Object.getOwnPropertySymbols,V6=Object.prototype.hasOwnProperty,q6=Object.prototype.propertyIsEnumerable,Lf=(e,t,n)=>t in e?B6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Of=k.forwardRef(((e,t)=>w.createElement(xt,((e,t)=>U6(e,Z6(t)))(((e,t)=>{for(var n in t||(t={}))V6.call(t,n)&&Lf(e,n,t[n]);if(Mf)for(var n of Mf(t))q6.call(t,n)&&Lf(e,n,t[n]);return e})({ref:t},e),{weights:$6}))));Of.displayName="X";const Hi={plus:Tf,chatBubble:ff,support:gf,search2:af,search:bf,magic:yf};function Q6({settings:e,isOpen:t,toggleBot:n}){const u=Object.hasOwn(Hi,null==e?void 0:e.chatIcon)?Hi[e.chatIcon]:Hi.plus,r="white"===e.arrowDownColor?"tw-gf":"tw-ff";return y.jsx("button",{id:"animuz-embed-chat-button",onClick:n,className:"tw-a tw-vc tw-pf tw-am tw-lc tw-xb tw-la tw-pe tw-tk tw-eo",style:{position:"fixed",bottom:"16px",right:"16px",height:"56px",width:"56px",borderRadius:"9999px",backgroundColor:e.buttonColor},"aria-label":"Toggle Menu",children:y.jsxs("div",{className:" tw-am tw-ve tw-xc tw-kl tw-xk tw-tk",children:[e.chatIconUrl?y.jsx("img",{className:"tw-kl tw-xk tw-pe tw-jh "+(t?"tw-jk tw-gi tw-bh":"tw-ki tw-xf tw-mj"),src:e.chatIconUrl,alt:"Chat Icon"}):y.jsx(u,{className:"tw-ui tw-hh tw-gf tw-ef tw-pj tw-pe tw-jh "+(t?"tw-jk tw-gi tw-bh":"tw-ki tw-xf tw-mj")}),y.jsx("svg",{viewBox:"0 0 24 24",className:`tw-ui ${r} tw-oj tw-pe tw-jh tw-mo tw-ao tw-qh `+(t?"tw-ki tw-mj tw-xf":"tw-jk tw-jf tw-gi"),children:y.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})})]})})}const jf="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",Y6=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",...e},k.createElement("path",{d:"M20 .834C8.975.834 0 8.164 0 17.172c0 8.069 7.117 14.829 16.725 16.114.652.138 1.538.433 1.763.99.2.505.132 1.285.064 1.811l-.274 1.71c-.075.505-.4 1.989 1.749 1.082 2.151-.903 11.526-6.84 15.726-11.698C38.627 24.014 40 20.769 40 17.172 40 8.164 31.025.834 20 .834m-7.828 21.695H8.195a1.06 1.06 0 0 1-1.05-1.055v-8.002a1.06 1.06 0 0 1 1.05-1.056c.58 0 1.05.478 1.05 1.056v6.945h2.927a1.056 1.056 0 0 1 0 2.112m4.11-1.055c0 .577-.47 1.055-1.052 1.055a1.055 1.055 0 0 1-1.045-1.055v-8.002c0-.578.47-1.056 1.05-1.056.577 0 1.047.478 1.047 1.056zm9.568 0c0 .453-.29.855-.72 1a1.1 1.1 0 0 1-.332.052c-.351 0-.651-.152-.85-.42l-4.071-5.564v4.93c0 .577-.465 1.055-1.052 1.055a1.053 1.053 0 0 1-1.043-1.055v-8a1.05 1.05 0 0 1 1.04-1.053c.325 0 .625.175.825.427l4.103 5.585v-4.959c0-.578.47-1.056 1.05-1.056.575 0 1.05.478 1.05 1.056zm6.425-5.058c.582 0 1.05.478 1.05 1.058 0 .578-.468 1.057-1.05 1.057H29.35v1.886h2.925c.582 0 1.05.475 1.05 1.057 0 .577-.468 1.055-1.05 1.055h-3.977a1.055 1.055 0 0 1-1.045-1.055v-8.002c0-.578.47-1.056 1.05-1.056h3.977c.577 0 1.045.478 1.045 1.056 0 .585-.468 1.057-1.05 1.057H29.35v1.887z"})),X6=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e},k.createElement("path",{d:"M20 .004C9.192-.21.249 8.362.002 19.169a18.8 18.8 0 0 0 6.666 14.265v5.733a.833.833 0 0 0 1.275.706l4.644-2.901A20.6 20.6 0 0 0 20 38.333c10.808.214 19.751-8.357 19.998-19.164C39.751 8.362 30.808-.21 20 .004"}),k.createElement("path",{fill:"currentColor",d:"M33.166 14.335a.83.83 0 0 0-1.066-.233l-8.666 4.724-5.391-4.623a.833.833 0 0 0-1.132.044l-9.999 9.999a.833.833 0 0 0 .988 1.32l8.666-4.725 5.396 4.625a.833.833 0 0 0 1.132-.044l9.999-9.999a.83.83 0 0 0 .073-1.088"})),K6=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e},k.createElement("path",{d:"M34.14 5.856c-7.812-7.81-20.475-7.808-28.284.004-7.81 7.812-7.808 20.475.004 28.284 7.812 7.81 20.475 7.808 28.284-.004a20 20 0 0 0-.004-28.284M30.29 27.86q-.002 0-.003.003v-.007l-1.014 1.006a5.33 5.33 0 0 1-5.033 1.44 17.7 17.7 0 0 1-5.147-2.306 23.8 23.8 0 0 1-4.06-3.273A24 24 0 0 1 12 21.043a18.7 18.7 0 0 1-2.28-4.614 5.33 5.33 0 0 1 1.333-5.446l1.187-1.187a.847.847 0 0 1 1.197-.003l.003.003 3.747 3.747c.331.33.332.866.002 1.197l-.002.002-2.2 2.2a1.79 1.79 0 0 0-.187 2.334 26 26 0 0 0 2.633 3.073 25.6 25.6 0 0 0 3.467 2.913c.716.5 1.687.416 2.307-.2l2.126-2.16a.847.847 0 0 1 1.198-.002l.002.003 3.754 3.76c.331.33.332.865.002 1.197"})),J6=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"5 20 530 159",...e},k.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"})),e4=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},k.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"})),t4=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 25",...e},k.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"}),k.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"})),n4=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},k.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"})),vn="https://p0otqov6h4.execute-api.ap-southeast-1.amazonaws.com",Pf_ping=async()=>{try{fetch(`${vn}/pingModal`)}catch(e){console.error(e)}},Pf_getAssistants=async e=>await(await fetch(`${vn}/public/assistant`,{method:"GET",headers:{"Content-Type":"application/json",...e}})).json(),yr={getMessages:async e=>{try{return(await(await fetch(`${vn}/conversations/message`,{method:"GET",headers:{"Content-Type":"application/json",...e}})).json()).data}catch(t){throw console.error(t),t}},resetMessages:async e=>{try{return await(await fetch(`${vn}/conversations/message`,{method:"DELETE",headers:{"Content-Type":"application/json",...e}})).json()}catch(t){throw console.error(t),t}},sendEvent:async(e,t)=>{try{return await(await fetch(`${vn}/conversations/event`,{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)})).json()}catch(n){throw console.error(n),n}},suggestionsNoAuth:async(e,t)=>{try{return await(await fetch(`${vn}/suggest`,{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)})).json()}catch(n){throw console.error(n),n}},changeAssistant:async(e,t)=>{try{return await(await fetch(`${vn}/public/conversations/assistant`,{method:"PUT",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)})).json()}catch(n){throw console.error(n),n}}},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:"ยกเลิก"}},l4=({settings:e,closeChat:t,resetChat:n,isNoMessage:u,isFullScreen:r,toggleFullScreen:o})=>{const[l,i]=k.useState(null),[a,s]=k.useState([]),[c,f]=k.useState(null),h=e.language,v=Dt[h]||Dt.en;k.useEffect((()=>{const S=document.querySelector("[data-chatbot-id]");S&&(f(S.dataset.chatbotId),i(S.dataset.chatbotId))}),[]),k.useEffect((()=>{(async()=>{try{const g=await Pf_getAssistants({"client-id":e.embedId,"session-id":e.sessionId});s(g)}catch(g){console.error("Error fetching assistant data:",g)}})()}),[e.embedId,e.sessionId]),k.useEffect((()=>{0!==a.length&&i(c)}),[a,c]);const p=S=>{(async m=>{try{await yr.changeAssistant({assistantID:m},{"client-id":e.embedId,"session-id":e.sessionId}),i(m)}catch(_){console.error("Error changing conversation assistant:",_)}})(S.target.value)},b=()=>{if(a.length>0&&null!==e.showAssistants)return y.jsxs("div",{className:"tw-kj tw-wk",children:[y.jsx("select",{id:"selectRudi",className:"anm-peer tw-kl tw-yb tw-af tw-fh tw-vk tw-zb tw-ho",value:l,onChange:p,children:a.map(((S,g)=>y.jsx("option",{value:S.assistantID,children:S.name},g)))}),y.jsx(n4,{className:"tw-ui tw-fk tw-rk tw-si tw-mb tw-ee tw-jh tw-pe tw-ia tw-ta"})]})};return y.jsxs("header",{className:"tw-go tw-nf tw-sg tw-il",children:[y.jsxs("div",{className:"tw-am tw-aj tw-zf tw-kn tw-kj tw-gc tw-gd tw-re "+(If(e)||r||null!==e.showAssistants?"tw-wh":u||null===e.showAssistants?"tw-cj":"tw-vh"),style:{backgroundColor:e.headerBgColor??"#FFFFFF",color:e.headerTextColor??"#000000"},children:["dog"===e.headerBgPattern&&y.jsx(J6,{alt:"Background",className:"tw-ui tw-al tw-wl tw-sk tw-ze tw-wg tw-gh"}),y.jsxs("div",{className:"tw-am tw-xk tw-ve",children:[y.jsx("div",{className:"tw-sm tw-wm tw-am tw-ve tw-un",children:y.jsx("div",{className:`tw-am tw-xc tw-ve tw-lm ${e.showAssistants?"tw-lk":"tw-kk"} tw-vi tw-cf`,children:y.jsx("img",{className:"tw-kl tw-xk anm-object-contain",src:e.brandImageUrl??jf,alt:e.brandName?e.brandName+" Logo":"Rudi Logo"})})}),y.jsxs("div",{className:"tw-am tw-aj tw-pi tw-kl tw-un",children:[y.jsxs("div",{className:"tw-am tw-ec tw-kl tw-ve",children:[y.jsxs("div",{className:"tw-am tw-aj",children:[y.jsx("span",{className:"tw-nk tw-ld tw-co tw-hf tw-uh",children:e.brandName}),y.jsx("span",{className:"tw-ok tw-tf tw-fd tw-co tw-hf tw-uh",children:e.brandSlogan})]}),y.jsxs("div",{className:"tw-am tw-ve tw-ui tw-gk tw-xl",children:[y.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},className:"tw-pf tw-rc tw-co tw-sf tw-vc tw-yg tw-tb tw-hl tw-go tw-hf tw-ub tw-la tw-pe",onClick:n,children:y.jsx(e4,{stroke:"currentColor",width:"100%",height:"100%",style:{color:e.headerTextColor??"#000000"}})}),"on"===e.allowFullscreen&&y.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},"data-fullscreen":r,className:"tw-yk tw-rj tw-pf tw-rc tw-co tw-sf tw-vc tw-yg tw-tb tw-hl tw-go tw-hf tw-mc tw-h tw-la tw-pe",onClick:o,children:y.jsx(t4,{stroke:"currentColor",width:"100%",height:"100%",style:{color:e.headerTextColor??"#000000"}})}),y.jsx("button",{style:{stroke:e.headerTextColor??"#000000"},type:"button",onClick:t,className:"tw-ti tw-pf tw-rc tw-co tw-vc tw-yg tw-tb tw-hl tw-go tw-hf","aria-label":"Close",children:y.jsx(Of,{width:"100%",height:"100%"})})]})]}),!r&&null!==e.showAssistants&&y.jsx(b,{})]})]}),If(e)?y.jsxs("div",{className:"tw-em tw-ch tw-tk tw-am tw-ve tw-ul tw-sg tw-gd tw-re tw-ol "+(u?"tw-ki tw-xf":"tw-jk tw-gi"),children:[e.socialFbUrl&&y.jsx("button",{className:"tw-pf tw-rc tw-co tw-eo tw-vc tw-la tw-pe tw-mc tw-xb",children:y.jsx(X6,{className:"tw-gl",fill:"#FFFFFF",style:{color:e.headerBgColor??"#000000"}})}),e.socialLineUrl&&y.jsx("button",{className:"tw-pf tw-rc tw-co tw-eo tw-vc tw-la tw-pe tw-mc tw-xb",children:y.jsx(Y6,{className:"tw-gl",fill:"#FFFFFF"})}),e.socialPhoneUrl&&y.jsx("button",{className:"tw-pf tw-rc tw-co tw-eo tw-vc tw-la tw-pe tw-mc tw-xb",children:y.jsx(K6,{className:"tw-gl",fill:"#FFFFFF"})})]}):null]}),r&&null!==e.showAssistants&&y.jsxs("div",{className:"tw-rm tw-am tw-ql tw-ve tw-wd tw-zj tw-kl",children:[y.jsx("label",{htmlFor:"selectRudi",className:"tw-tg tw-ld",children:v.selectAssistantLabel}),y.jsx(b,{})]})]})},If=e=>e.socialFbUrl||e.socialLineUrl||e.socialPhoneUrl,Rf=(e,t=void 0)=>{let u,n=!1;return e.map((({type:o,sender:l,senderID:i,message:a,images:s,debugPre:c,timestamp:f,read:h,msgID:v},p)=>{u=new Date(f).toLocaleDateString(),n=t!==u,t=new Date(f).toLocaleDateString();const b=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:f,read:h,content:a||"",images:s,debugPre:c,...i4(b),isDateChanged:n,currDate:u,senderID:i}}))},i4=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 zf={};function wu(e,t){"string"!=typeof t&&(t=wu.defaultChars);const n=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);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 f=i<<18&1835008|a<<12&258048|s<<6&4032|63&c;f<65536||f>1114111?r+="����":(f-=65536,r+=String.fromCharCode(55296+(f>>10),56320+(1023&f))),o+=9;continue}}r+="�"}}return r}))}wu.defaultChars=";/?:@&=+$,#",wu.componentChars="";const Hf={};function xr(e,t,n){"string"!=typeof t&&(n=t,t=xr.defaultChars),typeof n>"u"&&(n=!0);const u=function(e){let t=Hf[e];if(t)return t;t=Hf[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 $i(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 d4=/^([a-z0-9.+-]+:)/i,p4=/:[0-9]*$/,h4=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,g4=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),w4=["'"].concat(g4),$f=["%","/","?",";","#"].concat(w4),Bf=["/","?","#"],Uf=/^[+a-z0-9A-Z_-]{0,63}$/,y4=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Zf={javascript:!0,"javascript:":!0},Vf={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Bi(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=h4.exec(o);if(s)return this.pathname=s[1],s[2]&&(this.search=s[2]),this}let l=d4.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&&Zf[l])&&(o=o.substr(2),this.slashes=!0)),!Zf[l]&&(r||l&&!Vf[l])){let c,f,s=-1;for(let p=0;p<Bf.length;p++)u=o.indexOf(Bf[p]),-1!==u&&(-1===s||u<s)&&(s=u);f=-1===s?o.lastIndexOf("@"):o.lastIndexOf("@",s),-1!==f&&(c=o.slice(0,f),o=o.slice(f+1),this.auth=c),s=-1;for(let p=0;p<$f.length;p++)u=o.indexOf($f[p]),-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 p=this.hostname.split(/\./);for(let b=0,S=p.length;b<S;b++){const g=p[b];if(g&&!g.match(Uf)){let d="";for(let m=0,_=g.length;m<_;m++)g.charCodeAt(m)>127?d+="x":d+=g[m];if(!d.match(Uf)){const m=p.slice(0,b),_=p.slice(b+1),C=g.match(y4);C&&(m.push(C[1]),_.unshift(C[2])),_.length&&(o=_.join(".")+o),this.hostname=m.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),Vf[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},to.prototype.parseHost=function(e){let t=p4.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 x4=Object.freeze(Object.defineProperty({__proto__:null,decode:wu,encode:xr,format:$i,parse:Bi},Symbol.toStringTag,{value:"Module"})),qf=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Wf=/[\0-\x1F\x7F-\x9F]/,Ui=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Gf=/[\$\+<->\^`\|~\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]/,Qf=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,b4=Object.freeze(Object.defineProperty({__proto__:null,Any:qf,Cc:Wf,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:Ui,S:Gf,Z:Qf},Symbol.toStringTag,{value:"Module"})),E4=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)))),k4=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var Zi;const C4=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]]),S4=null!==(Zi=String.fromCodePoint)&&void 0!==Zi?Zi: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 ge;!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"}(ge||(ge={}));var yn,we,xn;function Vi(e){return e>=ge.ZERO&&e<=ge.NINE}function D4(e){return e>=ge.UPPER_A&&e<=ge.UPPER_F||e>=ge.LOWER_A&&e<=ge.LOWER_F}function N4(e){return e===ge.EQUALS||function(e){return e>=ge.UPPER_A&&e<=ge.UPPER_Z||e>=ge.LOWER_A&&e<=ge.LOWER_Z||Vi(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"}(we||(we={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(xn||(xn={}));class M4{constructor(t,n,u){this.decodeTree=t,this.emitCodePoint=n,this.errors=u,this.state=we.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=xn.Strict}startEntity(t){this.decodeMode=t,this.state=we.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case we.EntityStart:return t.charCodeAt(n)===ge.NUM?(this.state=we.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=we.NamedEntity,this.stateNamedEntity(t,n));case we.NumericStart:return this.stateNumericStart(t,n);case we.NumericDecimal:return this.stateNumericDecimal(t,n);case we.NumericHex:return this.stateNumericHex(t,n);case we.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(32|t.charCodeAt(n))===ge.LOWER_X?(this.state=we.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=we.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(!Vi(r)&&!D4(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(!Vi(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===ge.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=C4.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(t!==ge.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=L4(u,r,this.treeIndex+Math.max(1,o),l),this.treeIndex<0)return 0===this.result||this.decodeMode===xn.Attribute&&(0===o||N4(l))?0:this.emitNotTerminatedNamedEntity();if(r=u[this.treeIndex],o=(r&yn.VALUE_LENGTH)>>14,0!==o){if(l===ge.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 we.NamedEntity:return 0===this.result||this.decodeMode===xn.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case we.NumericDecimal:return this.emitNumericEntity(0,2);case we.NumericHex:return this.emitNumericEntity(0,3);case we.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case we.EntityStart:return 0}}}function Yf(e){let t="";const n=new M4(e,(u=>t+=S4(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 L4(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 O4=Yf(E4);function Xf(e,t=xn.Legacy){return O4(e,t)}function qi(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}Yf(k4);const P4=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 Kf(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Wi(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 Jf=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,z4=new RegExp(Jf.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),H4=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function vu(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(z4,(function(t,n,u){return n||function(e,t){if(35===t.charCodeAt(0)&&H4.test(t)){const u="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Wi(u)?uo(u):e}const n=Xf(e);return n!==e?n:e}(t,u)}))}const U4=/[&<>"]/,Z4=/[&<>"]/g,V4={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function q4(e){return V4[e]}function _n(e){return U4.test(e)?e.replace(Z4,q4):e}const W4=/[.?*+^$[\]\\(){}|-]/g;function G(e){switch(e){case 9:case 32:return!0}return!1}function _r(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 br(e){return Ui.test(e)||Gf.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 Q4=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Kf,assign:no,escapeHtml:_n,escapeRE:function(e){return e.replace(W4,"\\$&")},fromCodePoint:uo,has:function(e,t){return P4.call(e,t)},isMdAsciiPunct:Er,isPunctChar:br,isSpace:G,isString:qi,isValidEntityCode:Wi,isWhiteSpace:_r,lib:{mdurl:x4,ucmicro:b4},normalizeReference:ro,unescapeAll:vu,unescapeMd:function(e){return e.indexOf("\\")<0?e:e.replace(Jf,"$1")}},Symbol.toStringTag,{value:"Module"}));const J4=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 Ve(){this.__rules__=[],this.__cache__=null}function _t(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 e2(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)+">"+_n(o.content)+"</code>"},Ft.code_block=function(e,t,n,u,r){const o=e[t];return"<pre"+r.renderAttrs(o)+"><code>"+_n(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)||_n(o.content),0===s.indexOf("<pre"))return s+"\n";if(l){const c=o.attrIndex("class"),f=o.attrs?o.attrs.slice():[];c<0?f.push(["class",n.langPrefix+i]):(f[c]=f[c].slice(),f[c][1]+=" "+n.langPrefix+i);const h={attrs:f};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 _n(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+=" "+_n(t.attrs[n][0])+'="'+_n(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},Ve.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},Ve.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))}))}))},Ve.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},Ve.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},Ve.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},Ve.prototype.push=function(e,t,n){const u=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:u.alt||[]}),this.__cache__=null},Ve.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},Ve.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(n){n.enabled=!1})),this.enable(e,t)},Ve.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},Ve.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},_t.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},_t.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},_t.prototype.attrSet=function(t,n){const u=this.attrIndex(t),r=[t,n];u<0?this.attrPush(r):this.attrs[u]=r},_t.prototype.attrGet=function(t){const n=this.attrIndex(t);let u=null;return n>=0&&(u=this.attrs[n][1]),u},_t.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},e2.prototype.Token=_t;const em=/\r\n?|\n/g,tm=/\0/g;function om(e){return/^<a[>\s]/i.test(e)}function lm(e){return/^<\/a\s*>/i.test(e)}const t2=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,am=/\((c|tm|r)\)/i,sm=/\((c|tm|r)\)/gi,cm={c:"©",r:"®",tm:"™"};function fm(e,t){return cm[t.toLowerCase()]}function dm(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(sm,fm)),"link_open"===u.type&&"auto"===u.info&&t--,"link_close"===u.type&&"auto"===u.info&&t++}}function pm(e){let t=0;for(let n=e.length-1;n>=0;n--){const u=e[n];"text"===u.type&&!t&&t2.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 mm=/['"]/,n2=/['"]/g,u2="’";function oo(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function gm(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;){n2.lastIndex=a;const c=n2.exec(i);if(!c)break;let f=!0,h=!0;a=c.index+1;const v="'"===c[0];let p=32;if(c.index-1>=0)p=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){p=e[n].content.charCodeAt(e[n].content.length-1);break}let b=32;if(a<s)b=i.charCodeAt(a);else for(n=r+1;n<e.length&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n++)if(e[n].content){b=e[n].content.charCodeAt(0);break}const S=Er(p)||br(String.fromCharCode(p)),g=Er(b)||br(String.fromCharCode(b)),d=_r(p),m=_r(b);if(m?f=!1:g&&(d||S||(f=!1)),d?h=!1:S&&(m||g||(h=!1)),34===b&&'"'===c[0]&&p>=48&&p<=57&&(h=f=!1),f&&h&&(f=S,h=g),f||h){if(h)for(n=u.length-1;n>=0;n--){let _=u[n];if(u[n].level<l)break;if(_.single===v&&u[n].level===l){let C,E;_=u[n],v?(C=t.md.options.quotes[2],E=t.md.options.quotes[3]):(C=t.md.options.quotes[0],E=t.md.options.quotes[1]),o.content=oo(o.content,c.index,E),e[_.token].content=oo(e[_.token].content,_.pos,C),a+=E.length-1,_.token===r&&(a+=C.length-1),i=o.content,s=i.length,u.length=n;continue e}}f?u.push({token:r,pos:c.index,single:v,level:l}):h&&v&&(o.content=oo(o.content,c.index,u2))}else v&&(o.content=oo(o.content,c.index,u2))}}}const Gi=[["normalize",function(e){let t;t=e.src.replace(em,"\n"),t=t.replace(tm,"�"),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&&(om(i.content)&&o>0&&o--,lm(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 f=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 p=s[v].url,b=e.md.normalizeLink(p);if(!e.md.validateLink(b))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 g=s[v].index;if(g>h){const C=new e.Token("text","",0);C.content=a.slice(h,g),C.level=f,c.push(C)}const d=new e.Token("link_open","a",1);d.attrs=[["href",b]],d.level=f++,d.markup="linkify",d.info="auto",c.push(d);const m=new e.Token("text","",0);m.content=S,m.level=f,c.push(m);const _=new e.Token("link_close","a",-1);_.level=--f,_.markup="linkify",_.info="auto",c.push(_),h=s[v].lastIndex}if(h<a.length){const v=new e.Token("text","",0);v.content=a.slice(h),v.level=f,c.push(v)}t[n].children=r=Kf(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&&(am.test(e.tokens[t].content)&&dm(e.tokens[t].children),t2.test(e.tokens[t].content)&&pm(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||!mm.test(e.tokens[t].content)||gm(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 Qi(){this.ruler=new Ve;for(let e=0;e<Gi.length;e++)this.ruler.push(Gi[e][0],Gi[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 f=r.charCodeAt(l);if(!c){if(G(f)){i++,9===f?a+=4-a%4:a++;continue}c=!0}(10===f||l===s-1)&&(10!==f&&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}Qi.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,u=t.length;n<u;n++)t[n](e)},Qi.prototype.State=e2,Nt.prototype.push=function(e,t,n){const u=new _t(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(!G(this.src.charCodeAt(t)))break}return t},Nt.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!G(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 f,c=s;for(f=i+1<n||r?this.eMarks[i]+1:this.eMarks[i];c<f&&a<u;){const h=this.src.charCodeAt(c);if(G(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,f):this.src.slice(c,f)}return o.join("")},Nt.prototype.Token=_t;function Yi(e,t){const n=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];return e.src.slice(n,u)}function r2(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 o2(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(!G(e.src.charCodeAt(u)))return-1}return u}function l2(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),!G(o))?-1:r}const i2="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",a2="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",jm=new RegExp("^(?:"+i2+"|"+a2+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),Pm=new RegExp("^(?:"+i2+"|"+a2+")"),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(Pm.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&&!G(i)||45===l&&G(i))return!1;for(;o<e.eMarks[r];){const _=e.src.charCodeAt(o);if(124!==_&&45!==_&&58!==_&&!G(_))return!1;o++}let a=Yi(e,t+1),s=a.split("|");const c=[];for(let _=0;_<s.length;_++){const C=s[_].trim();if(!C){if(0===_||_===s.length-1)continue;return!1}if(!/^:?-+:?$/.test(C))return!1;58===C.charCodeAt(C.length-1)?c.push(58===C.charCodeAt(0)?"center":"right"):58===C.charCodeAt(0)?c.push("left"):c.push("")}if(a=Yi(e,t).trim(),-1===a.indexOf("|")||e.sCount[t]-e.blkIndent>=4)return!1;s=r2(a),s.length&&""===s[0]&&s.shift(),s.length&&""===s[s.length-1]&&s.pop();const f=s.length;if(0===f||f!==c.length)return!1;if(u)return!0;const h=e.parentType;e.parentType="table";const v=e.md.block.ruler.getRules("blockquote"),b=[t,0];e.push("table_open","table",1).map=b,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let _=0;_<s.length;_++){const C=e.push("th_open","th",1);c[_]&&(C.attrs=[["style","text-align:"+c[_]]]);const E=e.push("inline","",0);E.content=s[_].trim(),E.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let d,m=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let _=!1;for(let E=0,D=v.length;E<D;E++)if(v[E](e,r,n,!0)){_=!0;break}if(_||(a=Yi(e,r).trim(),!a)||e.sCount[r]-e.blkIndent>=4||(s=r2(a),s.length&&""===s[0]&&s.shift(),s.length&&""===s[s.length-1]&&s.pop(),m+=f-s.length,m>65536))break;if(r===t+2){e.push("tbody_open","tbody",1).map=d=[t+2,0]}e.push("tr_open","tr",1).map=[r,r+1];for(let E=0;E<f;E++){const D=e.push("td_open","td",1);c[E]&&(D.attrs=[["style","text-align:"+c[E]]]);const A=e.push("inline","",0);A.content=s[E]?s[E].trim():"",A.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return d&&(e.push("tbody_close","tbody",-1),d[1]=r),e.push("table_close","table",-1),b[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 f=t,h=!1;for(;f++,!(f>=n||(r=i=e.bMarks[f]+e.tShift[f],o=e.eMarks[f],r<o&&e.sCount[f]<e.blkIndent));)if(!(e.src.charCodeAt(r)!==l||e.sCount[f]-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=f+(h?1:0);const v=e.push("fence","code",0);return v.info=c,v.content=e.getLines(t+1,f,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=[],f=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let p,v=!1;for(p=t;p<n;p++){const m=e.sCount[p]<e.blkIndent;if(r=e.bMarks[p]+e.tShift[p],o=e.eMarks[p],r>=o)break;if(62===e.src.charCodeAt(r++)&&!m){let E,D,C=e.sCount[p]+1;32===e.src.charCodeAt(r)?(r++,C++,D=!1,E=!0):9===e.src.charCodeAt(r)?(E=!0,(e.bsCount[p]+C)%4==3?(r++,C++,D=!1):D=!0):E=!1;let A=C;for(i.push(e.bMarks[p]),e.bMarks[p]=r;r<o;){const j=e.src.charCodeAt(r);if(!G(j))break;9===j?A+=4-(A+e.bsCount[p]+(D?1:0))%4:A++,r++}v=r>=o,a.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(E?1:0),s.push(e.sCount[p]),e.sCount[p]=A-C,c.push(e.tShift[p]),e.tShift[p]=r-e.bMarks[p];continue}if(v)break;let _=!1;for(let C=0,E=f.length;C<E;C++)if(f[C](e,p,n,!0)){_=!0;break}if(_){e.lineMax=p,0!==e.blkIndent&&(i.push(e.bMarks[p]),a.push(e.bsCount[p]),c.push(e.tShift[p]),s.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}i.push(e.bMarks[p]),a.push(e.bsCount[p]),c.push(e.tShift[p]),s.push(e.sCount[p]),e.sCount[p]=-1}const b=e.blkIndent;e.blkIndent=0;const S=e.push("blockquote_open","blockquote",1);S.markup=">";const g=[t,0];S.map=g,e.md.block.tokenize(e,t,p),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=l,e.parentType=h,g[1]=e.line;for(let m=0;m<c.length;m++)e.bMarks[m+t]=i[m],e.tShift[m+t]=c[m],e.sCount[m+t]=s[m],e.bsCount[m+t]=a[m];return e.blkIndent=b,!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&&!G(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 f,h,v,c=!1;if(u&&"paragraph"===e.parentType&&e.sCount[a]>=e.blkIndent&&(c=!0),(v=l2(e,a))>=0){if(f=!0,l=e.bMarks[a]+e.tShift[a],h=Number(e.src.slice(l,v-1)),c&&1!==h)return!1}else{if(!((v=o2(e,a))>=0))return!1;f=!1}if(c&&e.skipSpaces(v)>=e.eMarks[a])return!1;if(u)return!0;const p=e.src.charCodeAt(v-1),b=e.tokens.length;f?(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(p);let g=!1;const d=e.md.block.ruler.getRules("list"),m=e.parentType;for(e.parentType="list";a<n;){o=v,r=e.eMarks[a];const _=e.sCount[a]+v-(e.bMarks[a]+e.tShift[a]);let C=_;for(;o<r;){const We=e.src.charCodeAt(o);if(9===We)C+=4-(C+e.bsCount[a])%4;else{if(32!==We)break;C++}o++}const E=o;let D;D=E>=r?1:C-_,D>4&&(D=1);const A=_+D;i=e.push("list_item_open","li",1),i.markup=String.fromCharCode(p);const j=[a,0];i.map=j,f&&(i.info=e.src.slice(l,v-1));const L=e.tight,H=e.tShift[a],Q=e.sCount[a],ke=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=A,e.tight=!0,e.tShift[a]=E-e.bMarks[a],e.sCount[a]=C,E>=r&&e.isEmpty(a+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,a,n,!0),(!e.tight||g)&&(s=!1),g=e.line-a>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=ke,e.tShift[a]=H,e.sCount[a]=Q,e.tight=L,i=e.push("list_item_close","li",-1),i.markup=String.fromCharCode(p),a=e.line,j[1]=a,a>=n||e.sCount[a]<e.blkIndent||e.sCount[a]-e.blkIndent>=4)break;let Re=!1;for(let We=0,Fe=d.length;We<Fe;We++)if(d[We](e,a,n,!0)){Re=!0;break}if(Re)break;if(f){if(v=l2(e,a),v<0)break;l=e.bMarks[a]+e.tShift[a]}else if(v=o2(e,a),v<0)break;if(p!==e.src.charCodeAt(v-1))break}return i=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),i.markup=String.fromCharCode(p),S[1]=a,e.line=a,e.parentType=m,s&&function(e,t){const n=e.level+2;for(let u=t+2,r=e.tokens.length-2;u<r;u++)e.tokens[u].level===n&&"paragraph_open"===e.tokens[u].type&&(e.tokens[u+2].hidden=!0,e.tokens[u].hidden=!0,u+=2)}(e,b),!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(d){const m=e.lineMax;if(d>=m||e.isEmpty(d))return null;let _=!1;if(e.sCount[d]-e.blkIndent>3&&(_=!0),e.sCount[d]<0&&(_=!0),!_){const D=e.md.block.ruler.getRules("reference"),A=e.parentType;e.parentType="reference";let j=!1;for(let L=0,H=D.length;L<H;L++)if(D[L](e,d,m,!0)){j=!0;break}if(e.parentType=A,j)return null}const C=e.bMarks[d]+e.tShift[d],E=e.eMarks[d];return e.src.slice(C,E+1)}let a=e.src.slice(r,o+1);o=a.length;let s=-1;for(r=1;r<o;r++){const d=a.charCodeAt(r);if(91===d)return!1;if(93===d){s=r;break}if(10===d){const m=i(l);null!==m&&(a+=m,o=a.length,l++)}else if(92===d&&(r++,r<o&&10===a.charCodeAt(r))){const m=i(l);null!==m&&(a+=m,o=a.length,l++)}}if(s<0||58!==a.charCodeAt(s+1))return!1;for(r=s+2;r<o;r++){const d=a.charCodeAt(r);if(10===d){const m=i(l);null!==m&&(a+=m,o=a.length,l++)}else if(!G(d))break}const c=e.md.helpers.parseLinkDestination(a,r,o);if(!c.ok)return!1;const f=e.md.normalizeLink(c.str);if(!e.md.validateLink(f))return!1;r=c.pos;const h=r,v=l,p=r;for(;r<o;r++){const d=a.charCodeAt(r);if(10===d){const m=i(l);null!==m&&(a+=m,o=a.length,l++)}else if(!G(d))break}let S,b=e.md.helpers.parseLinkTitle(a,r,o);for(;b.can_continue;){const d=i(l);if(null===d)break;a+=d,r=o,o=a.length,l++,b=e.md.helpers.parseLinkTitle(a,r,o,b)}for(r<o&&p!==r&&b.ok?(S=b.str,r=b.pos):(S="",r=h,l=v);r<o;){if(!G(a.charCodeAt(r)))break;r++}if(r<o&&10!==a.charCodeAt(r)&&S)for(S="",r=h,l=v;r<o;){if(!G(a.charCodeAt(r)))break;r++}if(r<o&&10!==a.charCodeAt(r))return!1;const g=ro(a.slice(1,s));return!!g&&(u||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[g]>"u"&&(e.env.references[g]={title:S,href:f}),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&&!G(l))return!1;if(u)return!0;o=e.skipSpacesBack(o,r);const a=e.skipCharsBack(o,35,r);a>r&&G(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 p=e.eMarks[i];if(v<p&&(l=e.src.charCodeAt(v),(45===l||61===l)&&(v=e.skipChars(v,l),v=e.skipSpaces(v),v>=p))){o=61===l?1:2;break}}if(e.sCount[i]<0)continue;let h=!1;for(let v=0,p=u.length;v<p;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,f=u.length;c<f;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 Ve;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 $m(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 _t("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 _t(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)||br(String.fromCharCode(r)),s=Er(i)||br(String.fromCharCode(i)),c=_r(r),f=_r(i),h=!f&&(!s||c||a),v=!c&&(!a||f||s);return{can_open:h&&(t||!v||a),can_close:v&&(t||!h||s),length:l}},kr.prototype.Token=_t;const Um=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;const Xi=[];for(let e=0;e<256;e++)Xi.push(0);function s2(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){Xi[e.charCodeAt(0)]=1}));const c2={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;s2(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&s2(e,t[u].delimiters)}};function f2(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 d2={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;f2(e,e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&f2(e,t[u].delimiters)}};const e8=/^([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])?)*)$/,t8=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;const i8=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,a8=/^&([a-z][a-z0-9]{1,31});/i;function p2(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 f=e[s];if(f.marker===i.marker&&f.open&&f.end<0){let h=!1;if((f.close||i.open)&&(f.length+i.length)%3==0&&(f.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,f.end=l,f.close=!1,c=-1,r=-2;break}}}-1!==c&&(t[i.marker][(i.open?3:0)+(i.length||0)%3]=c)}}const Ki=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!$m(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(Um);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 f=e.push("link_close","a",-1);f.markup="linkify",f.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&&G(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),G(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!==Xi[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 f=e.push("code_inline","code",0);f.markup=l,f.content=e.src.slice(n,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=a,!0}e.backticks[c]=s}return e.backticksScanned=!0,t||(e.pending+=l),e.pos+=i,!0}],["strikethrough",c2.tokenize],["emphasis",d2.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,f=e.posMax,h=e.pos+1,v=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(v<0)return!1;let p=v+1;if(p<f&&40===e.src.charCodeAt(p)){for(s=!1,p++;p<f&&(n=e.src.charCodeAt(p),G(n)||10===n);p++);if(p>=f)return!1;if(a=p,r=e.md.helpers.parseLinkDestination(e.src,p,e.posMax),r.ok){for(l=e.md.normalizeLink(r.str),e.md.validateLink(l)?p=r.pos:l="",a=p;p<f&&(n=e.src.charCodeAt(p),G(n)||10===n);p++);if(r=e.md.helpers.parseLinkTitle(e.src,p,e.posMax),p<f&&a!==p&&r.ok)for(i=r.str,p=r.pos;p<f&&(n=e.src.charCodeAt(p),G(n)||10===n);p++);}(p>=f||41!==e.src.charCodeAt(p))&&(s=!0),p++}if(s){if(typeof e.env.references>"u")return!1;if(p<f&&91===e.src.charCodeAt(p)?(a=p+1,p=e.md.helpers.parseLinkLabel(e,p),p>=0?u=e.src.slice(a,p++):p=v+1):p=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=p,e.posMax=f,!0}],["image",function(e,t){let n,u,r,o,l,i,a,s,c="";const f=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,p=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(p<0)return!1;if(o=p+1,o<h&&40===e.src.charCodeAt(o)){for(o++;o<h&&(n=e.src.charCodeAt(o),G(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),G(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),G(n)||10===n);o++);else a="";if(o>=h||41!==e.src.charCodeAt(o))return e.pos=f,!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=p+1):o=p+1,r||(r=e.src.slice(v,p)),l=e.env.references[ro(r)],!l)return e.pos=f,!1;c=l.href,a=l.title}if(!t){u=e.src.slice(v,p);const b=[];e.md.inline.parse(u,e.md,e.env,b);const S=e.push("image","img",0),g=[["src",c],["alt",""]];S.attrs=g,S.children=b,S.content=u,a&&g.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(t8.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(e8.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(jm);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(i8);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=Wi(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(a8);if(o){const l=Xf(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}]],Ji=[["balance_pairs",function(e){const t=e.tokens_meta,n=e.tokens_meta.length;p2(e.delimiters);for(let u=0;u<n;u++)t[u]&&t[u].delimiters&&p2(t[u].delimiters)}],["strikethrough",c2.postProcess],["emphasis",d2.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 Ve;for(let e=0;e<Ki.length;e++)this.ruler.push(Ki[e][0],Ki[e][1]);this.ruler2=new Ve;for(let e=0;e<Ji.length;e++)this.ruler2.push(Ji[e][0],Ji[e][1])}function ea(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 h2(e){return"[object Function]"===ao(e)}function g8(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 m2={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};const v8={"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}}},y8="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]",x8="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=qf.source,t.src_Cc=Wf.source,t.src_Z=Qf.source,t.src_P=Ui.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(y8),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)?h2(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(h2(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(g8).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 E8(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 ta(e,t){const n=new E8(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function tt(e,t){if(!(this instanceof tt))return new tt(e,t);t||function(e){return Object.keys(e||{}).reduce((function(t,n){return t||m2.hasOwnProperty(n)}),!1)}(e)&&(t=e,e={}),this.__opts__=ea({},m2,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ea({},v8,e),this.__compiled__={},this.__tlds__=x8,this.__tlds_replaced__=!1,this.re={},so(this)}tt.prototype.add=function(t,n){return this.__schemas__[t]=n,so(this),this},tt.prototype.set=function(t){return this.__opts__=ea(this.__opts__,t),this},tt.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},tt.prototype.pretest=function(t){return this.re.pretest.test(t)},tt.prototype.testSchemaAt=function(t,n,u){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,u,this):0},tt.prototype.match=function(t){const n=[];let u=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(ta(this,u)),u=this.__last_index__);let r=u?t.slice(u):t;for(;this.test(r);)n.push(ta(this,u)),r=r.slice(this.__last_index__),u+=this.__last_index__;return n.length?n:null},tt.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,ta(this,0)):null},tt.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)},tt.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"===t.schema&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)},tt.prototype.onCompile=function(){};const _u=2147483647,S8=/^xn--/,A8=/[^\0-\x7F]/,T8=/[\x2E\u3002\uFF0E\uFF61]/g,D8={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,ra=String.fromCharCode;function bn(e){throw new RangeError(D8[e])}function x2(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(T8,".")).split("."),t).join(".");return u+o}function _2(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 M8=function(e){return e>=48&&e<58?e-48+26:e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},b2=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},E2=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))},k2=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&&bn("not-basic"),t.push(e.charCodeAt(i));for(let i=l>0?l+1:0;i<n;){const a=u;for(let c=1,f=36;;f+=36){i>=n&&bn("invalid-input");const h=M8(e.charCodeAt(i++));h>=36&&bn("invalid-input"),h>Lt((_u-u)/c)&&bn("overflow"),u+=h*c;const v=f<=o?1:f>=o+26?26:f-o;if(h<v)break;const p=36-v;c>Lt(_u/p)&&bn("overflow"),c*=p}const s=t.length+1;o=E2(u-a,s,0==a),Lt(u/s)>_u-r&&bn("overflow"),r+=Lt(u/s),u%=s,t.splice(u++,0,r)}return String.fromCodePoint(...t)},C2=function(e){const t=[],n=(e=_2(e)).length;let u=128,r=0,o=72;for(const a of e)a<128&&t.push(ra(a));const l=t.length;let i=l;for(l&&t.push("-");i<n;){let a=_u;for(const c of e)c>=u&&c<a&&(a=c);const s=i+1;a-u>Lt((_u-r)/s)&&bn("overflow"),r+=(a-u)*s,u=a;for(const c of e)if(c<u&&++r>_u&&bn("overflow"),c===u){let f=r;for(let h=36;;h+=36){const v=h<=o?1:h>=o+26?26:h-o;if(f<v)break;const p=f-v,b=36-v;t.push(ra(b2(v+p%b,0))),f=Lt(p/b)}t.push(ra(b2(f,0))),o=E2(r,s,i===l),r=0,++i}++r,++u}return t.join("")},S2={version:"2.3.1",ucs2:{decode:_2,encode:e=>String.fromCodePoint(...e)},decode:k2,encode:C2,toASCII:function(e){return x2(e,(function(t){return A8.test(t)?"xn--"+C2(t):t}))},toUnicode:function(e){return x2(e,(function(t){return S8.test(t)?k2(t.slice(4).toLowerCase()):t}))}},L8={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"]}}}},O8=/^(vbscript|javascript|file|data):/,j8=/^data:image\/(gif|png|jpeg|webp);/;function P8(e){const t=e.trim().toLowerCase();return!O8.test(t)||j8.test(t)}const A2=["http:","https:","mailto:"];function I8(e){const t=Bi(e,!0);if(t.hostname&&(!t.protocol||A2.indexOf(t.protocol)>=0))try{t.hostname=S2.toASCII(t.hostname)}catch{}return xr($i(t))}function R8(e){const t=Bi(e,!0);if(t.hostname&&(!t.protocol||A2.indexOf(t.protocol)>=0))try{t.hostname=S2.toUnicode(t.hostname)}catch{}return wu($i(t),wu.defaultChars+"%")}function ft(e,t){if(!(this instanceof ft))return new ft(e,t);t||qi(e)||(t=e||{},e="default"),this.inline=new Cr,this.block=new io,this.core=new Qi,this.renderer=new yu,this.linkify=new tt,this.validateLink=P8,this.normalizeLink=I8,this.normalizeLinkText=R8,this.utils=Q4,this.helpers=no({},J4),this.options={},this.configure(e),t&&this.set(t)}ft.prototype.set=function(e){return no(this.options,e),this},ft.prototype.configure=function(e){const t=this;if(qi(e)){const n=e;if(!(e=L8[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},ft.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},ft.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},ft.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},ft.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},ft.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},ft.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},ft.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const z8=ft({html:!1,typographer:!0}).disable("list");function H8(e=""){return z8.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:T2,setPrototypeOf:D2,isFrozen:$8,getPrototypeOf:B8,getOwnPropertyDescriptor:U8}=Object;let{freeze:Pe,seal:dt,create:F2}=Object,{apply:oa,construct:la}=typeof Reflect<"u"&&Reflect;Pe||(Pe=function(t){return t}),dt||(dt=function(t){return t}),oa||(oa=function(t,n,u){return t.apply(n,u)}),la||(la=function(t,n){return new t(...n)});const co=nt(Array.prototype.forEach),N2=nt(Array.prototype.pop),Ar=nt(Array.prototype.push),fo=nt(String.prototype.toLowerCase),ia=nt(String.prototype.toString),M2=nt(String.prototype.match),Tr=nt(String.prototype.replace),Z8=nt(String.prototype.indexOf),V8=nt(String.prototype.trim),bt=nt(Object.prototype.hasOwnProperty),Ie=nt(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 la(e,n)}}(TypeError);function nt(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 oa(e,t,u)}}function U(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fo;D2&&D2(e,null);let u=t.length;for(;u--;){let r=t[u];if("string"==typeof r){const o=n(r);o!==r&&($8(t)||(t[u]=o),r=o)}e[r]=!0}return e}function W8(e){for(let t=0;t<e.length;t++)bt(e,t)||(e[t]=null);return e}function zn(e){const t=F2(null);for(const[n,u]of T2(e))bt(e,n)&&(Array.isArray(u)?t[n]=W8(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=U8(e,t);if(u){if(u.get)return nt(u.get);if("function"==typeof u.value)return nt(u.value)}e=B8(e)}return function(){return null}}const L2=Pe(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),aa=Pe(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),sa=Pe(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),G8=Pe(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ca=Pe(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Q8=Pe(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),O2=Pe(["#text"]),j2=Pe(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),fa=Pe(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P2=Pe(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),po=Pe(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Y8=dt(/\{\{[\w\W]*|[\w\W]*\}\}/gm),X8=dt(/<%[\w\W]*|[\w\W]*%>/gm),K8=dt(/\${[\w\W]*}/gm),J8=dt(/^data-[\-\w.\u00B7-\uFFFF]/),e5=dt(/^aria-[\-\w]+$/),I2=dt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),t5=dt(/^(?:\w+script|data):/i),n5=dt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),R2=dt(/^html$/i),u5=dt(/^[a-z][.\w]*(-[.\w]+)+$/i);var z2=Object.freeze({__proto__:null,MUSTACHE_EXPR:Y8,ERB_EXPR:X8,TMPLIT_EXPR:K8,DATA_ATTR:J8,ARIA_ATTR:e5,IS_ALLOWED_URI:I2,IS_SCRIPT_OR_DATA:t5,ATTR_WHITESPACE:n5,DOCTYPE_NAME:R2,CUSTOM_ELEMENT:u5});const Nr_element=1,Nr_text=3,Nr_progressingInstruction=7,Nr_comment=8,Nr_document=9;var l5=function H2(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:typeof window>"u"?null:window;const t=P=>H2(P);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:f,DOMParser:h,trustedTypes:v}=e,p=a.prototype,b=Fr(p,"cloneNode"),S=Fr(p,"remove"),g=Fr(p,"nextSibling"),d=Fr(p,"childNodes"),m=Fr(p,"parentNode");if("function"==typeof l){const P=n.createElement("template");P.content&&P.content.ownerDocument&&(n=P.content.ownerDocument)}let _,C="";const{implementation:E,createNodeIterator:D,createDocumentFragment:A,getElementsByTagName:j}=n,{importNode:L}=u;let H={};t.isSupported="function"==typeof T2&&"function"==typeof m&&E&&void 0!==E.createHTMLDocument;const{MUSTACHE_EXPR:Q,ERB_EXPR:ke,TMPLIT_EXPR:Re,DATA_ATTR:We,ARIA_ATTR:Fe,IS_SCRIPT_OR_DATA:ie,ATTR_WHITESPACE:N,CUSTOM_ELEMENT:I}=z2;let{IS_ALLOWED_URI:z}=z2,$=null;const ae=U({},[...L2,...aa,...sa,...ca,...O2]);let J=null;const Ot=U({},[...j2,...fa,...P2,...po]);let ee=Object.seal(F2(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}})),ut=null,En=null,pd=!0,ya=!0,hd=!1,md=!0,ku=!1,xa=!0,$n=!1,_a=!1,ba=!1,Cu=!1,yo=!1,xo=!1,gd=!0,wd=!1,Ea=!0,jr=!1,Su={},Au=null;const vd=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 yd=null;const xd=U({},["audio","video","img","source","image","track"]);let ka=null;const _d=U({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),_o="http://www.w3.org/1998/Math/MathML",bo="http://www.w3.org/2000/svg",Qt="http://www.w3.org/1999/xhtml";let Tu=Qt,Ca=!1,Sa=null;const rw=U({},[_o,bo,Qt],ia);let Pr=null;const ow=["application/xhtml+xml","text/html"];let ve=null,Du=null;const iw=n.createElement("form"),bd=function(x){return x instanceof RegExp||x instanceof Function},Aa=function(){let x=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Du||Du!==x){if((!x||"object"!=typeof x)&&(x={}),x=zn(x),Pr=-1===ow.indexOf(x.PARSER_MEDIA_TYPE)?"text/html":x.PARSER_MEDIA_TYPE,ve="application/xhtml+xml"===Pr?ia:fo,$=bt(x,"ALLOWED_TAGS")?U({},x.ALLOWED_TAGS,ve):ae,J=bt(x,"ALLOWED_ATTR")?U({},x.ALLOWED_ATTR,ve):Ot,Sa=bt(x,"ALLOWED_NAMESPACES")?U({},x.ALLOWED_NAMESPACES,ia):rw,ka=bt(x,"ADD_URI_SAFE_ATTR")?U(zn(_d),x.ADD_URI_SAFE_ATTR,ve):_d,yd=bt(x,"ADD_DATA_URI_TAGS")?U(zn(xd),x.ADD_DATA_URI_TAGS,ve):xd,Au=bt(x,"FORBID_CONTENTS")?U({},x.FORBID_CONTENTS,ve):vd,ut=bt(x,"FORBID_TAGS")?U({},x.FORBID_TAGS,ve):{},En=bt(x,"FORBID_ATTR")?U({},x.FORBID_ATTR,ve):{},Su=!!bt(x,"USE_PROFILES")&&x.USE_PROFILES,pd=!1!==x.ALLOW_ARIA_ATTR,ya=!1!==x.ALLOW_DATA_ATTR,hd=x.ALLOW_UNKNOWN_PROTOCOLS||!1,md=!1!==x.ALLOW_SELF_CLOSE_IN_ATTR,ku=x.SAFE_FOR_TEMPLATES||!1,xa=!1!==x.SAFE_FOR_XML,$n=x.WHOLE_DOCUMENT||!1,Cu=x.RETURN_DOM||!1,yo=x.RETURN_DOM_FRAGMENT||!1,xo=x.RETURN_TRUSTED_TYPE||!1,ba=x.FORCE_BODY||!1,gd=!1!==x.SANITIZE_DOM,wd=x.SANITIZE_NAMED_PROPS||!1,Ea=!1!==x.KEEP_CONTENT,jr=x.IN_PLACE||!1,z=x.ALLOWED_URI_REGEXP||I2,Tu=x.NAMESPACE||Qt,ee=x.CUSTOM_ELEMENT_HANDLING||{},x.CUSTOM_ELEMENT_HANDLING&&bd(x.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ee.tagNameCheck=x.CUSTOM_ELEMENT_HANDLING.tagNameCheck),x.CUSTOM_ELEMENT_HANDLING&&bd(x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ee.attributeNameCheck=x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),x.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ee.allowCustomizedBuiltInElements=x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ku&&(ya=!1),yo&&(Cu=!0),Su&&($=U({},O2),J=[],!0===Su.html&&(U($,L2),U(J,j2)),!0===Su.svg&&(U($,aa),U(J,fa),U(J,po)),!0===Su.svgFilters&&(U($,sa),U(J,fa),U(J,po)),!0===Su.mathMl&&(U($,ca),U(J,P2),U(J,po))),x.ADD_TAGS&&($===ae&&($=zn($)),U($,x.ADD_TAGS,ve)),x.ADD_ATTR&&(J===Ot&&(J=zn(J)),U(J,x.ADD_ATTR,ve)),x.ADD_URI_SAFE_ATTR&&U(ka,x.ADD_URI_SAFE_ATTR,ve),x.FORBID_CONTENTS&&(Au===vd&&(Au=zn(Au)),U(Au,x.FORBID_CONTENTS,ve)),Ea&&($["#text"]=!0),$n&&U($,["html","head","body"]),$.table&&(U($,["tbody"]),delete ut.tbody),x.TRUSTED_TYPES_POLICY){if("function"!=typeof x.TRUSTED_TYPES_POLICY.createHTML)throw Dr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof x.TRUSTED_TYPES_POLICY.createScriptURL)throw Dr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_=x.TRUSTED_TYPES_POLICY,C=_.createHTML("")}else void 0===_&&(_=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!==_&&"string"==typeof C&&(C=_.createHTML(""));Pe&&Pe(x),Du=x}},Ed=U({},["mi","mo","mn","ms","mtext"]),kd=U({},["foreignobject","annotation-xml"]),aw=U({},["title","style","font","a","script"]),Cd=U({},[...aa,...sa,...G8]),Sd=U({},[...ca,...Q8]),jt=function(x){Ar(t.removed,{element:x});try{m(x).removeChild(x)}catch{S(x)}},Eo=function(x,F){try{Ar(t.removed,{attribute:F.getAttributeNode(x),from:F})}catch{Ar(t.removed,{attribute:null,from:F})}if(F.removeAttribute(x),"is"===x&&!J[x])if(Cu||yo)try{jt(F)}catch{}else try{F.setAttribute(x,"")}catch{}},Ad=function(x){let F=null,O=null;if(ba)x="<remove></remove>"+x;else{const Ce=M2(x,/^[\r\n\t ]+/);O=Ce&&Ce[0]}"application/xhtml+xml"===Pr&&Tu===Qt&&(x='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+x+"</body></html>");const Y=_?_.createHTML(x):x;if(Tu===Qt)try{F=(new h).parseFromString(Y,Pr)}catch{}if(!F||!F.documentElement){F=E.createDocument(Tu,"template",null);try{F.documentElement.innerHTML=Ca?C:Y}catch{}}const Ne=F.body||F.documentElement;return x&&O&&Ne.insertBefore(n.createTextNode(O),Ne.childNodes[0]||null),Tu===Qt?j.call(F,$n?"html":"body")[0]:$n?F.documentElement:Ne},Td=function(x){return D.call(x.ownerDocument||x,x,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION|s.SHOW_CDATA_SECTION,null)},Dd=function(x){return x instanceof f&&("string"!=typeof x.nodeName||"string"!=typeof x.textContent||"function"!=typeof x.removeChild||!(x.attributes instanceof c)||"function"!=typeof x.removeAttribute||"function"!=typeof x.setAttribute||"string"!=typeof x.namespaceURI||"function"!=typeof x.insertBefore||"function"!=typeof x.hasChildNodes)},Fd=function(x){return"function"==typeof i&&x instanceof i},Yt=function(x,F,O){H[x]&&co(H[x],(Y=>{Y.call(t,F,O,Du)}))},Nd=function(x){let F=null;if(Yt("beforeSanitizeElements",x,null),Dd(x))return jt(x),!0;const O=ve(x.nodeName);if(Yt("uponSanitizeElement",x,{tagName:O,allowedTags:$}),x.hasChildNodes()&&!Fd(x.firstElementChild)&&Ie(/<[/\w]/g,x.innerHTML)&&Ie(/<[/\w]/g,x.textContent)||x.nodeType===Nr_progressingInstruction||xa&&x.nodeType===Nr_comment&&Ie(/<[/\w]/g,x.data))return jt(x),!0;if(!$[O]||ut[O]){if(!ut[O]&&Ld(O)&&(ee.tagNameCheck instanceof RegExp&&Ie(ee.tagNameCheck,O)||ee.tagNameCheck instanceof Function&&ee.tagNameCheck(O)))return!1;if(Ea&&!Au[O]){const Y=m(x)||x.parentNode,Ne=d(x)||x.childNodes;if(Ne&&Y){for(let Ge=Ne.length-1;Ge>=0;--Ge){const Pt=b(Ne[Ge],!0);Pt.__removalCount=(x.__removalCount||0)+1,Y.insertBefore(Pt,g(x))}}}return jt(x),!0}return x instanceof a&&!function(x){let F=m(x);(!F||!F.tagName)&&(F={namespaceURI:Tu,tagName:"template"});const O=fo(x.tagName),Y=fo(F.tagName);return!!Sa[x.namespaceURI]&&(x.namespaceURI===bo?F.namespaceURI===Qt?"svg"===O:F.namespaceURI===_o?"svg"===O&&("annotation-xml"===Y||Ed[Y]):!!Cd[O]:x.namespaceURI===_o?F.namespaceURI===Qt?"math"===O:F.namespaceURI===bo?"math"===O&&kd[Y]:!!Sd[O]:x.namespaceURI===Qt?!(F.namespaceURI===bo&&!kd[Y]||F.namespaceURI===_o&&!Ed[Y])&&!Sd[O]&&(aw[O]||!Cd[O]):!("application/xhtml+xml"!==Pr||!Sa[x.namespaceURI]))}(x)||("noscript"===O||"noembed"===O||"noframes"===O)&&Ie(/<\/no(script|embed|frames)/i,x.innerHTML)?(jt(x),!0):(ku&&x.nodeType===Nr_text&&(F=x.textContent,co([Q,ke,Re],(Y=>{F=Tr(F,Y," ")})),x.textContent!==F&&(Ar(t.removed,{element:x.cloneNode()}),x.textContent=F)),Yt("afterSanitizeElements",x,null),!1)},Md=function(x,F,O){if(gd&&("id"===F||"name"===F)&&(O in n||O in iw))return!1;if((!ya||En[F]||!Ie(We,F))&&(!pd||!Ie(Fe,F)))if(!J[F]||En[F]){if(!(Ld(x)&&(ee.tagNameCheck instanceof RegExp&&Ie(ee.tagNameCheck,x)||ee.tagNameCheck instanceof Function&&ee.tagNameCheck(x))&&(ee.attributeNameCheck instanceof RegExp&&Ie(ee.attributeNameCheck,F)||ee.attributeNameCheck instanceof Function&&ee.attributeNameCheck(F))||"is"===F&&ee.allowCustomizedBuiltInElements&&(ee.tagNameCheck instanceof RegExp&&Ie(ee.tagNameCheck,O)||ee.tagNameCheck instanceof Function&&ee.tagNameCheck(O))))return!1}else if(!ka[F]&&!Ie(z,Tr(O,N,""))&&("src"!==F&&"xlink:href"!==F&&"href"!==F||"script"===x||0!==Z8(O,"data:")||!yd[x])&&(!hd||Ie(ie,Tr(O,N,"")))&&O)return!1;return!0},Ld=function(x){return"annotation-xml"!==x&&M2(x,I)},Od=function(x){Yt("beforeSanitizeAttributes",x,null);const{attributes:F}=x;if(!F)return;const O={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:J};let Y=F.length;for(;Y--;){const Ne=F[Y],{name:Ce,namespaceURI:Ge,value:Pt}=Ne,Ir=ve(Ce);let ze="value"===Ce?Pt:V8(Pt);if(O.attrName=Ir,O.attrValue=ze,O.keepAttr=!0,O.forceKeepAttr=void 0,Yt("uponSanitizeAttribute",x,O),ze=O.attrValue,xa&&Ie(/((--!?|])>)|<\/(style|title)/i,ze)){Eo(Ce,x);continue}if(O.forceKeepAttr||(Eo(Ce,x),!O.keepAttr))continue;if(!md&&Ie(/\/>/i,ze)){Eo(Ce,x);continue}ku&&co([Q,ke,Re],(Pd=>{ze=Tr(ze,Pd," ")}));const jd=ve(x.nodeName);if(Md(jd,Ir,ze)){if(wd&&("id"===Ir||"name"===Ir)&&(Eo(Ce,x),ze="user-content-"+ze),_&&"object"==typeof v&&"function"==typeof v.getAttributeType&&!Ge)switch(v.getAttributeType(jd,Ir)){case"TrustedHTML":ze=_.createHTML(ze);break;case"TrustedScriptURL":ze=_.createScriptURL(ze)}try{Ge?x.setAttributeNS(Ge,Ce,ze):x.setAttribute(Ce,ze),Dd(x)?jt(x):N2(t.removed)}catch{}}}Yt("afterSanitizeAttributes",x,null)},cw=function P(x){let F=null;const O=Td(x);for(Yt("beforeSanitizeShadowDOM",x,null);F=O.nextNode();)Yt("uponSanitizeShadowNode",F,null),!Nd(F)&&(F.content instanceof o&&P(F.content),Od(F));Yt("afterSanitizeShadowDOM",x,null)};return t.sanitize=function(P){let x=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},F=null,O=null,Y=null,Ne=null;if(Ca=!P,Ca&&(P="\x3c!--\x3e"),"string"!=typeof P&&!Fd(P)){if("function"!=typeof P.toString)throw Dr("toString is not a function");if("string"!=typeof(P=P.toString()))throw Dr("dirty is not a string, aborting")}if(!t.isSupported)return P;if(_a||Aa(x),t.removed=[],"string"==typeof P&&(jr=!1),jr){if(P.nodeName){const Pt=ve(P.nodeName);if(!$[Pt]||ut[Pt])throw Dr("root node is forbidden and cannot be sanitized in-place")}}else if(P instanceof i)F=Ad("\x3c!----\x3e"),O=F.ownerDocument.importNode(P,!0),O.nodeType===Nr_element&&"BODY"===O.nodeName||"HTML"===O.nodeName?F=O:F.appendChild(O);else{if(!Cu&&!ku&&!$n&&-1===P.indexOf("<"))return _&&xo?_.createHTML(P):P;if(F=Ad(P),!F)return Cu?null:xo?C:""}F&&ba&&jt(F.firstChild);const Ce=Td(jr?P:F);for(;Y=Ce.nextNode();)Nd(Y)||(Y.content instanceof o&&cw(Y.content),Od(Y));if(jr)return P;if(Cu){if(yo)for(Ne=A.call(F.ownerDocument);F.firstChild;)Ne.appendChild(F.firstChild);else Ne=F;return(J.shadowroot||J.shadowrootmode)&&(Ne=L.call(u,Ne,!0)),Ne}let Ge=$n?F.outerHTML:F.innerHTML;return $n&&$["!doctype"]&&F.ownerDocument&&F.ownerDocument.doctype&&F.ownerDocument.doctype.name&&Ie(R2,F.ownerDocument.doctype.name)&&(Ge="<!DOCTYPE "+F.ownerDocument.doctype.name+">\n"+Ge),ku&&co([Q,ke,Re],(Pt=>{Ge=Tr(Ge,Pt," ")})),_&&xo?_.createHTML(Ge):Ge},t.setConfig=function(){Aa(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),_a=!0},t.clearConfig=function(){Du=null,_a=!1},t.isValidAttribute=function(P,x,F){Du||Aa({});const O=ve(P),Y=ve(x);return Md(O,Y,F)},t.addHook=function(P,x){"function"==typeof x&&(H[P]=H[P]||[],Ar(H[P],x))},t.removeHook=function(P){if(H[P])return N2(H[P])},t.removeHooks=function(P){H[P]&&(H[P]=[])},t.removeAllHooks=function(){H={}},t}();function i5(e,t="en"){let n;n="number"==typeof e?new Date(1e3*e):new Date(e);const u="th"===t?"th-TH":"en-US";return n.toLocaleTimeString(u,{hour:"numeric",minute:"2-digit",hour12:!0})}function a5(e,t="en"){const n=new Date(e),u=new Date,r=new Date;r.setDate(u.getDate()-1);const 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 f5=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},k.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"})),d5=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},k.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"})),p5=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},k.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"})),h5=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none",...e},k.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"}),k.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"})),m5=({document:e,query:t})=>y.jsxs("div",{className:"tw-ch tw-kl",children:[y.jsxs("div",{className:"tw-am tw-aj tw-hm tw-io tw-zm tw-ne tw-wi tw-yi tw-ac",children:[y.jsx("span",{className:"tw-qi tw-ld tw-uh tw-ce",children:e.key}),y.jsxs("span",{className:"tw-ok tw-tf tw-uh tw-ge",children:["Query: ",t]}),y.jsxs("span",{className:"tw-ok tw-tf tw-uh tw-ge",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]})]}),y.jsxs("div",{className:"tw-ok tw-uh tw-en tw-bn tw-he tw-ua tw-db tw-qd",children:[y.jsx($2,{}),e.content,y.jsx($2,{})]})]}),$2=()=>y.jsxs("div",{className:"tw-cg tw-fj tw-wm",children:[y.jsxs("div",{className:"tw-am tw-ve tw-kl",children:[y.jsx("div",{className:"tw-rl tw-of tw-cf tw-rn"}),y.jsx("div",{className:"tw-rl tw-om tw-of tw-cf tw-qn"}),y.jsx("div",{className:"tw-rl tw-om tw-of tw-cf tw-kl"})]}),y.jsxs("div",{className:"tw-am tw-ve tw-kl tw-vd",children:[y.jsx("div",{className:"tw-rl tw-of tw-cf tw-kl"}),y.jsx("div",{className:"tw-rl tw-om tw-of tw-cf tw-kl"}),y.jsx("div",{className:"tw-rl tw-om tw-of tw-cf tw-qn"})]}),y.jsxs("div",{className:"tw-am tw-ve tw-kl tw-ud",children:[y.jsx("div",{className:"tw-rl tw-of tw-cf tw-kl"}),y.jsx("div",{className:"tw-rl tw-om tw-of tw-cf tw-tn"}),y.jsx("div",{className:"tw-rl tw-om tw-of tw-cf tw-kl"})]})]}),g5=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},k.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"}),k.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"})),w5_createReport=async(e,t)=>{try{const n=await fetch("https://api-sso.dbt.pw/v1/report",{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify(e)}),u=await n.json();return{status:n.status,data:u}}catch(n){throw console.error(n),n}},v5=({message:e,query:t,sources:n,onClose:u,messageID:r})=>{const[o,l]=k.useState(t),[i,a]=k.useState(e),[s,c]=k.useState(""),[f,h]=k.useState(""),v=q.settings.language,p=Dt[v]||Dt.en,[b,S]=k.useState(!1),g={messageID:r,question:t,answer:i,reviewAnswer:f,remark:s,reference:null==n?void 0:n.map((m=>({s3Key:null==m?void 0:m.key,content:null==m?void 0:m.content})))};return y.jsxs("div",{className:"tw-ch tw-kl tw-uh",children:[y.jsx("div",{className:"tw-am tw-aj tw-hm tw-io tw-ne tw-wi tw-yi tw-ac",children:y.jsx("span",{className:"tw-pk tw-qm tw-fm tw-sh",children:p.report})}),y.jsx("div",{className:"tw-am tw-aj tw-pl tw-pd tw-yd",children:y.jsxs("div",{className:"tw-am tw-aj tw-ql tw-io",children:[y.jsxs("div",{className:"tw-am tw-aj tw-nl",children:[y.jsx("span",{className:"tw-qi tw-sh",children:p.question}),y.jsx("input",{type:"text",value:o,onChange:m=>l(m.target.value),className:"tw-ho tw-qi tw-ne tw-ha tw-vk tw-ac tw-fh",placeholder:p.question,disabled:!0})]}),y.jsxs("div",{className:"tw-am tw-aj tw-nl",children:[y.jsx("span",{className:"tw-qi tw-sh",children:p.answer}),y.jsx("textarea",{onChange:m=>{a(m.target.value)},value:i,className:"tw-ho tw-qi tw-ne tw-ha tw-vk tw-ac tw-fh tw-lj",cols:"30",rows:"10",placeholder:p.answer,disabled:!0})]}),y.jsxs("div",{className:"tw-am tw-aj tw-nl",children:[y.jsx("span",{className:"tw-qi tw-sh",children:p.answerCorrect}),y.jsx("textarea",{onChange:m=>{h(m.target.value)},value:f,className:"tw-ho tw-vk tw-ac tw-af tw-fh tw-qi tw-lj",cols:"10",rows:"5",placeholder:p.answerCorrect})]}),y.jsxs("div",{className:"tw-am tw-aj tw-nl",children:[y.jsx("span",{className:"tw-qi tw-sh",children:p.sources}),(null==n?void 0:n.length)<=0?y.jsx("div",{children:y.jsx("p",{className:"tw-pb",children:p.sourcesEmpty})}):y.jsx("div",{className:"tw-am tw-aj tw-ho tw-ol tw-vk tw-ne tw-ac tw-fh",children:null==n?void 0:n.map(((m,_)=>y.jsxs("div",{className:"tw-dm tw-zl tw-jn tw-am tw-ve tw-nl tw-vk tw-ne tw-ac tw-zc",children:[y.jsx(g5,{}),y.jsx("span",{className:"tw-we tw-ad",children:m.key.split("/").pop()})]},_)))})]}),y.jsxs("div",{className:"tw-am tw-aj tw-nl",children:[y.jsx("span",{className:"tw-qi tw-sh",children:p.remark}),y.jsx("input",{type:"text",value:s,onChange:m=>c(m.target.value),className:"tw-ho tw-qi tw-ne tw-ha tw-vk tw-ac tw-fh",placeholder:p.remark})]}),y.jsxs("div",{className:"tw-tm tw-kl tw-am tw-pl tw-wf tw-rh tw-oc",children:[y.jsx("button",{onClick:u,className:"tw-vc tw-am tw-ve tw-xc tw-pf tw-vk tw-nb tw-ch tw-cm tw-jj tw-la tw-qe tw-mc",children:y.jsx("p",{className:"tw-dd",children:p.cancel})}),y.jsx("button",{disabled:b||""===f,onClick:async()=>{S(!0);try{const m=await w5_createReport(g);console.log(m,"<<<<< result"),200===m.status&&u()}catch{console.log("Failed to fetch report.")}finally{S(!1)}},className:"tw-vc tw-am tw-ve tw-pf tw-me tw-ch tw-cm tw-jj tw-la tw-qe tw-mc tw-ma tw-s tw-ab",children:y.jsx("p",{className:"tw-hh",children:p.report})})]})]})})]})},ho=({children:e,text:t,render:n})=>y.jsxs("div",{className:"anm-group/tooltip tw-kj tw-am",children:[e,t&&y.jsx("span",{className:"tw-ui tw-uh tw-ej tw-lb tw-qb tw-rm tw-k tw-gi tw-hn tw-ok tw-da tw-qa tw-dh tw-ak tw-gb tw-xa tw-ug tw-ph",children:t}),n&&n]}),y5=({document:e})=>y.jsxs("div",{className:"tw-yk tw-aj tw-ui tw-zk tw-qj tw-je tw-z tw-fo tw-dh tw-ak tw-sn tw-vi tw-tk tw-li tw-hi tw-ob tw-ck",children:[y.jsx("span",{className:"tw-uh tw-ok tw-gh",children:e.key}),y.jsxs("span",{className:"tw-uh tw-ok ",children:["Relevance score ",Number(100*e.score).toFixed(2),"%"]}),y.jsx("span",{className:"tw-uh tw-ok tw-sn tw-ce tw-gb tw-gc tw-ue tw-rm",children:e.content.substring(0,50)})]}),x5={copy:e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},k.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"}),k.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=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e},k.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"}))},_5=l5(window),b5=({messageIndex:e,history:t=[],sessionId:n,type:u,message:r,role:o,isRAG:l,query:i="",question:a,sources:s=[],error:c=!1,read:f,sending:h,pending:v,sentAt:p,isDateChanged:b,currDate:S,isLastMessage:g,isShowSuggestion:d,onSuggestion:m,defaultSuggesstion:_=[],setSuggestList:C,messageID:E})=>{const{openModal:D,setModalOpen:A}=k.useContext(Ri),j=k.useRef(null),L=q.settings.language,H=Dt[L]||Dt.en,Q=q.settings.textSize?`anm-text-[${q.settings.textSize}px]`:"tw-gg",[ke,Re]=k.useState("copy"),We=x5[ke];k.useEffect((()=>{j.current&&j.current.querySelectorAll("a").forEach((ie=>{ie.onclick=async N=>{N.preventDefault(),console.log("I am clicked! "+ie.href),yr.sendEvent({event:"click",url:ie.href},{"client-id":q.settings.embedId,"session-id":n}),ie.onclick=null,window.location.href=ie.href}}))}),[r,n]);return"event"===u?y.jsx("div",{className:"tw-am tw-xc tw-rm tw-hm",children:y.jsx("div",{className:"tw-mn tw-ig tw-ok tw-uh",children:r})}):y.jsxs(y.Fragment,{children:[b&&y.jsx("div",{className:"tw-am tw-xc tw-rm tw-hm",children:y.jsx("div",{className:"tw-am tw-ve tw-xc tw-lh tw-ig tw-cf tw-mn tw-in tw-qk tw-uh",children:a5(S,L)})}),y.jsxs("div",{style:{"--user-bg":B2("user"),"--asst-bg":B2("assistant"),"--user-text":U2("user"),"--asst-text":U2("assistant")},className:"tw-kj tw-an tw-f",children:[y.jsxs("div",{className:"tw-am tw-vf tw-kl tw-sl "+("user"===o?"tw-wf":"tw-md"),children:["user"!==o&&y.jsx("span",{className:"tw-am tw-nj tw-oo tw-bo tw-cf tw-lm",children:y.jsx("img",{src:q.settings.assistantIcon||jf,alt:"Chatbot Avatar"})}),y.jsxs("div",{"data-role":o,className:"tw-kj tw-te tw-qf tw-on tw-kn tw-ue tw-uh tw-kf tw-zf "+(c?"tw-lg tw-ch":"user"===o?`${q.USER_STYLES.base} anm-animuz-user-message tw-da tw-qa`:`${q.ASSISTANT_STYLES.base} tw-ba tw-pa tw-xi ${d&&"tw-aa tw-ne"}`),children:["user"!==o&&c?y.jsxs("div",{className:"tw-go tw-ch tw-mh tw-if",children:[y.jsxs("span",{className:"tw-ue ",children:[y.jsx(Nf,{className:"tw-yn tw-ko tw-gm tw-ue"})," ","Could not respond to message."]}),y.jsx("p",{className:"tw-qk tw-th tw-rm tw-og tw-uc tw-dn tw-mg tw-go tw-eh",children:c})]}):v?y.jsx("div",{className:"tw-um tw-vm anm-dot-falling"}):y.jsxs(y.Fragment,{children:[y.jsx("span",{ref:j,className:`tw-ua tw-am tw-aj tw-uj ${Q} tw-yh tw-hf tw-wc`,dangerouslySetInnerHTML:{__html:_5.sanitize(H8(r))}}),q.settings.showRag&&l&&s.length>0&&y.jsx("div",{className:"tw-am tw-rh tw-vj tw-ve tw-rm tw-ok tw-fe",children:s.map(((ie,N)=>y.jsx(ho,{render:y.jsx(y5,{document:ie}),children:y.jsx("span",{className:"tw-lm tw-mn tw-in tw-ch tw-nf tw-vc tw-jb tw-vb tw-ce tw-gb tw-gc anm-max-w-32",onClick:()=>D(y.jsx(m5,{document:ie,query:i})),children:ie.key.split("/").pop()})},N)))})]}),y.jsxs("div",{className:"tw-am tw-aj tw-ui tw-uh tw-eg tw-ee tw-gb tw-zi "+("user"===o?"tw-xh tw-ah tw-km":"tw-vf tw-zh tw-im"),children:["user"===o&&f&&y.jsx("span",{children:"Read"}),y.jsxs("div",{className:"tw-am tw-ve",children:["user"===o&&h?y.jsx("span",{children:y.jsx(p5,{width:16,height:16,viewBox:"0 0 24 24"})}):"user"===o&&c?y.jsxs("span",{className:"tw-am tw-nl tw-ve tw-km tw-if",children:[y.jsx(h5,{})," ",c]}):y.jsx(y.Fragment,{}),p&&y.jsx("span",{children:i5(p)})]})]})]})]}),q.settings.showActions&&"user"!==o&&y.jsxs("div",{"aria-expanded":g&&!v,className:"anm-action-wrapper tw-ya tw-za tw-vn tw-kl tw-cl tw-an tw-ui tw-yk tw-qj tw-qc tw-sj tw-tl tw-rc tw-ni",children:[y.jsx(ho,{text:"copy"===ke?H.copy:H.copySuccess,children:y.jsx("button",{className:"tw-am tw-ve tw-xc tw-vc tw-pf tw-rc tw-co tw-hn tw-ee tw-t",onClick:()=>{navigator.clipboard.writeText(r),Re("check"),setTimeout((()=>{Re("copy")}),1e3)},children:y.jsx(We,{className:"tw-ko tw-yn"})})}),y.jsx(ho,{text:H.suggest,children:y.jsx("button",{onClick:()=>{m(),(async()=>{var ie,N;try{if(null!==(null==(ie=q.settings)?void 0:ie.defaultSuggestions)&&""!==(null==(N=q.settings)?void 0:N.defaultSuggestions)){const z=(await yr.suggestionsNoAuth({conversationID:n,defaultSuggestions:q.settings.defaultSuggestions,messages:t},{"client-id":q.settings.embedId,"session-id":n})).suggest,ae=JSON.parse(z).map((J=>({role:"assistant",content:J})));C(ae)}}catch(I){console.error("Error fetching suggestions:",I)}})()},className:"tw-am tw-ve tw-xc tw-vc tw-pf tw-rc tw-co tw-hn tw-ee tw-t tw-s tw-ea",children:y.jsx(f5,{className:"tw-ko tw-yn"})})}),0!==e&&y.jsx(ho,{text:H.report,children:y.jsx("button",{className:"tw-am tw-ve tw-xc tw-vc tw-pf tw-rc tw-co tw-hn tw-ee tw-t tw-s tw-ea",onClick:()=>{D(y.jsx(v5,{datasetID:q.settings.embedId,message:r,query:a,messageID:E,sources:s,onClose:()=>A(!1)}))},children:y.jsx(d5,{className:"tw-ko tw-yn"})})})]})]})]})};function B2(e){return"user"===e?q.settings.userBgColor??"#3DBEF5":q.settings.assistantBgColor??"#FFFFFF"}function U2(e){return"user"===e?q.settings.userTextColor??"#FFFFFF":q.settings.assistantTextColor??"#27272a"}function Z2(){const{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}function k5(){var r,o;const{width:e}=function(){const[e,t]=k.useState(Z2());return k.useEffect((()=>{function n(){t(Z2())}return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}),[]),e}(),[t,n]=k.useState(!(null!=(r=null==window?void 0:window.sessionStorage)&&r.getItem(Q1)||null!=(o=null==window?void 0:window.localStorage)&&o.getItem(J0)));return{isGreetingsShow:t,toggleGreetingsShow:function(l){!0===l&&e>=768&&window.sessionStorage.setItem(Q1,"1"),n(l)}}}function V2(e){return e&&e.greetings?JSON.parse(e.greetings).map((t=>({role:"assistant",content:t}))):[]}function C5({sessionId:e,isChatOpen:t,settings:n={},history:u=[],showSuggestions:r,setShowSuggesstion:o,setSuggestList:l}){const[i,a]=k.useState(!0),s=k.useRef(null),c=k.useMemo((()=>V2(n)),[n]),f=k.useMemo((()=>[...c,...u]),[c,u]);k.useEffect((()=>{t&&v()}),[u,t]);const v=()=>{var p;null==(p=s.current)||p.scrollIntoView({behavior:"auto"})};return 0===f.length?y.jsx("div",{className:"tw-kj tw-am tw-aj tw-wk tw-kg tw-nf",children:y.jsx("div",{className:"tw-am tw-aj tw-zg tw-ij tw-ch tw-in tw-xk tw-rm tw-vj tw-md",children:y.jsx("div",{className:"tw-am tw-xk tw-aj tw-ve tw-xc",children:y.jsx("p",{className:"tw-ed tw-ok tw-uh tw-pn tw-hg",children:(null==n?void 0:n.greeting)??"Send a chat to get started."})})})}):y.jsxs("div",{className:"anm-wrapper-container tw-kj tw-am tw-aj tw-wk tw-kg tw-gc tw-nf",children:[y.jsx("div",{className:"anm-scroll-container tw-ja tw-db tw-cb tw-ae tw-xk tw-cn",onScroll:p=>{const S=p.target.scrollHeight-p.target.scrollTop-p.target.clientHeight<=40;a(S)},children:y.jsxs("div",{style:{"--pb":null!==r?"112px":"64px"},className:"tw-am tw-aj tw-wk tw-gn tw-yc tw-r tw-kn tw-ak tw-fc",children:[f.map(((p,b)=>{var m;const S=b===f.length-1&&b>c.length-1,d=null==(m=f[b-1])?void 0:m.content;return y.jsx(b5,{messageIndex:b,sessionId:e,type:p.type,message:p.content,sentAt:p.sentAt||p.timestamp,role:p.role,isRAG:p.isRAG,query:p.query,question:d,sources:p.sources,chatId:p.chatId,feedbackScore:p.feedbackScore,error:p.error,sending:p.sending,read:p.read,pending:p.pending,isDateChanged:p.isDateChanged,currDate:p.currDate,isLastMessage:S,onSuggestion:()=>{o(b===r?null:b)},isShowSuggestion:r===b,history:u,setSuggestList:l,messageID:p.msgID},b)})),y.jsx("div",{className:"tw-ll",ref:s})]})}),y.jsx(S5,{scrollToBottom:v,isAtBottom:i,isShowSuggestion:null===r})]})}const S5=({scrollToBottom:e,isAtBottom:t,isShowSuggestion:n})=>y.jsxs("button",{className:`tw-ui tw-hk tw-fo tw-tk tw-vc tw-am tw-ve tw-xc tw-cf tw-fl tw-bc tw-lf tw-hb tw-hh tw-xa tw-oe ${t?"tw-gi tw-ta":"tw-xf"} ${n?"tw-nh":"tw-oh"}`,onClick:e,id:"scroll-to-bottom-button","aria-label":"Scroll to bottom",children:[y.jsx(rf,{weight:"bold"}),y.jsx("span",{className:"tw-mk",children:"Scroll to bottom"})]});function A5(){return y.jsx("div",{className:"tw-xk tw-nf anm-no-scroll tw-am tw-aj tw-ve tw-xc",children:y.jsx(zi,{size:28,className:"tw-ed tw-le"})})}function T5({settings:e}){return"true"===e.noSponsor?null:y.jsxs(y.Fragment,{children:[y.jsx("div",{className:"tw-wj tw-of tw-um"}),y.jsxs("span",{className:"tw-ak tw-qk tw-uh tw-vm tw-de",children:["Powered by"," ",y.jsx("a",{href:"https://rudi.animuz.ai/",target:"_blank",rel:"noreferrer",className:"tw-qk anm-font-inherit tw-sb tw-ye tw-be tw-nc",children:"rudi.animuz.ai"})]})]})}function D5({suggestionList:e,onSendMessages:t,settings:n}){const u=null==n?void 0:n.headerBgColor,r=null==n?void 0:n.headerTextColor,o=(l,i=85)=>{let v,p,a=parseInt(l.slice(1,3),16)/255,s=parseInt(l.slice(3,5),16)/255,c=parseInt(l.slice(5,7),16)/255,f=Math.max(a,s,c),h=Math.min(a,s,c);if(f===h)v=p=0;else{let S=f-h;p=(f+h)/2>.5?S/(2-f-h):S/(f+h),f===a?v=(s-c)/S+(s<c?6:0):f===s?v=(c-a)/S+2:f===c&&(v=(a-s)/S+4),v*=60}return`hsl(${Math.round(v)}, ${Math.round(100*p)}%, ${i}%)`};return y.jsx("div",{style:{scrollbarWidth:"thin"},className:"tw-am tw-rf tw-hc tw-bl tw-wn",children:null==e?void 0:e.map(((l,i)=>y.jsx("div",{style:{"--bg-color":u??"#FFFFFF","--bg-color-saturated":o(u)??"#FFFFFF","--text-color":r??"#000000"},onClick:()=>t(null,null==l?void 0:l.content),className:"tw-y tw-ne tw-tc tw-w tw-bj tw-jn tw-fh tw-vc tw-l tw-u tw-fb tw-jg tw-lm tw-xe tw-rd tw-kl tw-am tw-ve",children:y.jsx("span",{className:"tw-gc tw-ce",children:null==l?void 0:l.content})},i)))})}function F5({settings:e,message:t,submit:n,onChange:u,inputDisabled:r,buttonDisabled:o,callPing:l,defaultSuggesstion:i=[],suggestList:a=[],submitSuggestion:s,isShowSuggestion:c}){const f=k.useRef(null),h=k.useRef(null),[v,p]=k.useState(!1);k.useEffect((()=>{!r&&h.current&&h.current.focus(),g()}),[r]);const g=()=>{if(!h.current)return;h.current.style.height="auto";const d=h.current.scrollHeight-24+"px";h.current.style.height=d};return k.useLayoutEffect((()=>{g()}),[h,t]),y.jsxs("div",{className:"tw-jl tw-zi tw-am tw-aj tw-in tw-zm tw-wf",children:[y.jsx("div",{className:"tw-gd tw-re tw-gc tw-kl tw-ak tw-fc "+(c?"tw-od tw-xf":"tw-yj tw-gi tw-pm"),children:y.jsx(D5,{settings:e,suggestionList:i,onSendMessages:s})}),y.jsxs("form",{onSubmit:d=>{p(!1),n(d)},className:"tw-vi tw-zf tw-am tw-aj tw-ne tw-vk tw-zb tw-kl tw-ak tw-fc",children:[y.jsxs("div",{className:"tw-am tw-xh tw-hj",children:[y.jsx("textarea",{ref:h,className:"tw-am tw-wk tw-kl tw-uh tw-v tw-rc tw-ok tw-wi tw-sa tw-nd tw-ai tw-bk tw-ho tw-ic tw-p tw-yf tw-oa tw-bb tw-ke",onKeyDown:d=>{13==d.keyCode&&!d.shiftKey&&(d.preventDefault(),n(d))},onChange:u,required:!0,disabled:r,onFocus:()=>{p(!0),l()},onBlur:d=>{p(!1)},rows:1,tabIndex:0,enterKeyHint:"enter",value:t,placeholder:"Talk with me",id:"message-input"}),y.jsxs("button",{ref:f,type:"submit",disabled:o,className:"tw-uf tw-xc tw-eo tw-ve tw-rc tw-pf tw-dh tw-vc tw-gh tw-xm tw-lm anm-group/button tw-q",id:"send-message-button","aria-label":"Send message",children:[r?y.jsx(zi,{className:"tw-ko tw-yn tw-le"}):y.jsx(Cf,{size:24,style:{"--btn-color":e.headerBgColor??"#000000"},className:"tw-ca tw-xg tw-o tw-e",weight:"fill"}),y.jsx("span",{className:"tw-mk",children:"Send message"})]})]}),y.jsx(T5,{settings:e})]})]})}const da={message:"ping",timeout:6e4,interval:25e3};const L5=(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)))}},O5=(e,t,n,u,r,o)=>{e.onopen=l=>{if(t.current.onOpen&&t.current.onOpen(l),u.current=0,n(Wt.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=da.interval,timeout:r=da.timeout,message:o=da.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(f){console.error("Heartbeat failed, closing connection",f instanceof Error?f.message:f),e.close()}}),l);e.addEventListener("close",(()=>{clearInterval(a)}))}(e,r,i)}}},j5=(e,t,n,u,r)=>{let o;return e.onclose=l=>{if(t.current.onClose&&t.current.onClose(l),n(Wt.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)},P5=(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)},G2=k.createContext({}),R5=(e,t,n,u,r,o,l,i,a,s)=>{const c=[...r.current.protocols,n];if(console.log("createOrJoinSocket",t,c),e.current=new WebSocket(t,c),u(Wt.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 L5(e,n,i,o,l),O5(e,n,a,r,o,l),s=j5(e,n,a,u,r),c=P5(e,n,a,u,r),()=>{a(Wt.CLOSING),s(),c(),e.close()}})(e.current,{setLastMessage:o,setReadyState:u},r,l.current,i,a,s)},Wt={UNINSTANTIATED:-1,CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},z5=()=>k.useContext(G2);const $5=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",stroke:"currentColor",...e},k.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"}),k.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"}),k.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"})),B5=e=>k.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e},k.createElement("path",{stroke:"#C3C3C3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M6 12h12"})),U5=({data:e,settings:t,className:n,isFullScreen:u})=>{const[r,o]=k.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 y.jsxs("div",{style:{"--bg-color":(null==t?void 0:t.headerBgColor)??"#FFFFFF"},className:`tw-td tw-kl tw-zf tw-xi tw-w tw-ne tw-gc tw-vi ${n} ${u?"tw-xf tw-fa tw-j":"tw-gi tw-ta"}`,children:[y.jsxs("div",{className:"tw-io tw-am tw-ve tw-ec tw-yi tw-rg tw-qg tw-ne tw-nb tw-vc tw-bg",onClick:()=>{o((c=>!c))},children:[y.jsxs("div",{className:"tw-am tw-ve tw-oi",children:[y.jsx($5,{style:{"--bg-color":(null==t?void 0:t.headerBgColor)??"#FFFFFF"},className:"tw-fl tw-x"}),y.jsx("span",{className:"tw-nk tw-ld",children:i.statistic})]}),y.jsx(B5,{className:"tw-fl tw-la tw-re "+(r?"tw-bh":"")})]}),y.jsx("div",{className:"tw-bm tw-gd tw-re tw-kn "+(r?"tw-dc tw-pn ":"tw-cc tw-ln"),children:y.jsx("div",{className:"tw-am tw-aj tw-pi tw-gc",children:a.map(((c,f)=>y.jsxs("div",{className:"tw-am tw-oi",children:[y.jsx("span",{className:"tw-cd tw-xd tw-sd",children:c.title}),y.jsx("span",{children:c.value})]},f)))})})]})},Z5={_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 q5(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+=Z5.fromNumber(Math.ceil(Math.random()*Number.MAX_SAFE_INTEGER));return t.substr(Math.floor(t.length/2-e/2),e)}(t)}`}function G5({isFullScreen:e,isChatOpen:t,sessionId:n,settings:u,chatHistory:r=[],setChatHistory:o,callPing:l}){const[i,a]=k.useState(""),s=k.useRef({}),[c,f]=k.useState(null),[h,v]=k.useState([]),{connect:p,disconnect:b,sendJsonMessage:S,lastJsonMessage:g}=z5();k.useEffect((()=>(r.length>0&&p(n),()=>b())),[]);const m=k.useMemo((()=>function(e){return e&&e.greetings?JSON.parse(e.defaultSuggestions).map((t=>({role:"assistant",content:t}))):[]}(u)),[u]);k.useEffect((()=>{if(g){if("ack"===g.event)return console.log("ACK message received",g),clearTimeout(s.current[g.msgID]),void o((A=>A.map((L=>{if(L.msgID===g.msgID){const H={...L,sending:!1};return"error"===g.status&&(H.error=g.error),H}return L}))));if("action"===g.event&&g.action){if(console.log("action message received",g),"MARK_READ"===g.action){const A=g.timestamp;o((j=>j.map((L=>new Date(L.timestamp).getTime()<=A?{...L,read:!0}:L))))}else"TYPING_ON"===g.action?o((A=>[...A,{content:"",role:"assistant",pending:!0}])):"TYPING_OFF"===g.action&&o((A=>{const j=A[A.length-1];return j&&"assistant"===j.role&&j.pending?A.slice(0,A.length-1):A}));return}("message"===g.event||"event"===g.event)&&o((A=>{const j=A[A.length-1];let L=A;if(j){"assistant"===j.role&&j.pending&&(L=A.slice(0,A.length-1));const H=new Date(j.timestamp).toLocaleDateString(),Q=Rf([g],H);return[...L,Q[0]]}return A}))}}),[g,n,o]);const C=async(A,j)=>{A&&A.preventDefault();const L=j??i;if(!L||""===L.trim())return!1;const H=new Date;r.length;const Q=[...r,{content:L,role:"user",timestamp:H.toISOString()}];o(Q),a("")},E=r[r.length-1],D={msgID:null==E?void 0:E.msgID,timestamp:null==E?void 0:E.timestamp,model:"gpt-4o",tool:null!=E&&E.isRAG?"RAG":"",query:null==E?void 0:E.query,documents:null!=E&&E.sources?`[${null==E?void 0:E.sources.map((A=>A.key)).join(", ")}]`:"[]",scores:null!=E&&E.sources?`[${null==E?void 0:E.sources.map((A=>A.score)).join(", ")}]`:"[]"};return y.jsxs("div",{className:"tw-xk tw-kj tw-am tw-aj tw-yd",children:[y.jsx(C5,{sessionId:n,settings:u,history:r,isChatOpen:t,handleSubmit:C,showSuggestions:c,setShowSuggesstion:f,setSuggestList:v}),y.jsx("div",{className:"tw-ui tw-zi tw-zk tw-kl tw-wn",children:y.jsx(F5,{settings:u,message:i,submit:async A=>{if(A.preventDefault(),!i||""===i)return!1;const j=0===r.length,L=j?V2(u):[];j&&p(n);const Q=q5(new Date,3),ke=new Y5(Q,i,"user",L),Re=Q5([...r,ke.toJson()]);o(Re),a(""),console.debug("This is prevChat",Re),console.log("sending message to live chat");const We=JSON.stringify(ke.toWSJson());S({action:"sendMessage",body:We}),s.current[Q]=setTimeout((()=>{o((Fe=>{console.log("checking ack of ",Q);const ie=Fe.findIndex((N=>N.msgID===Q));return console.log("curMsg",Fe[ie]),!0===Fe[ie].sending&&(Fe[ie].sending=!1,Fe[ie].error="Couldn't send"),[...Fe.splice(0)]}))}),2e4)},onChange:A=>a(A.target.value),inputDisabled:!1,buttonDisabled:!i||""===i,callPing:l,submitSuggestion:C,defaultSuggesstion:m,suggestList:h,isShowSuggestion:null!==c})}),D.tool&&y.jsx(U5,{data:D,isFullScreen:e,settings:u,className:"tw-ui tw-yl tw-ik"})]})}const Q5=e=>{const t=e.filter((u=>u.pending));return[...e.filter((u=>!u.pending)),...t]};class Y5{constructor(t,n,u,r,o=!0){Id(this,"type","text"),this.msgID=t,this.content=n,this.role=u,this.timestamp=function(e){const t=e.substr(0,8),n=parseInt(t,36);return new Date(n)}(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 X5({isChatOpen:e,closeChat:t,settings:n,sessionId:u,callPing:r,isFullScreen:o,toggleFullScreen:l}){const{chatHistory:i,setChatHistory:a,resetChat:s,loading:c}=function(e=null,t=null){const[n,u]=k.useState(!0),[r,o]=k.useState([]),l=k.useCallback((async()=>{if(t&&e){u(!0);try{const a=await yr.getMessages({"client-id":e.embedId,"session-id":t}),s=Rf(a);o(s)}catch(a){console.error("Error fetching historical chats:",a)}finally{u(!1)}}}),[t,e]);return k.useEffect((()=>{l()}),[l]),{chatHistory:r,setChatHistory:o,resetChat:async()=>{await yr.resetMessages({"client-id":e.embedId,"session-id":t}),o([])},loading:n,refetch:l}}(n,u),f=0===i.length;return c?y.jsx("main",{className:"tw-am tw-aj tw-xk",children:y.jsx(A5,{})}):y.jsxs("main",{className:"anm-group tw-am tw-aj tw-xk tw-uh",children:[y.jsx(l4,{resetChat:s,closeChat:t,settings:n,isNoMessage:f,isFullScreen:o,toggleFullScreen:l}),y.jsx(G5,{isFullScreen:o,isChatOpen:e,sessionId:u,settings:n,chatHistory:i,setChatHistory:a,callPing:r})]})}var Y2={exports:{}};function X2(){}function K2(){}K2.resetWarningCache=X2;Y2.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:K2,resetWarningCache:X2};return n.PropTypes=n,n}();const ne=ye(Y2.exports);var J2=k,rg=function(e){return e&&"object"==typeof e&&"default"in e?e.default:e}(J2);function ed(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lg=!!(typeof window<"u"&&window.document&&window.document.createElement);var ag=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 f(){return c.apply(this,arguments)||this}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(f,c),f.peek=function(){return i},f.rewind=function(){if(f.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var p=i;return i=void 0,l=[],p};var h=f.prototype;return h.UNSAFE_componentWillMount=function(){l.push(this),a()},h.componentDidUpdate=function(){a()},h.componentWillUnmount=function(){var p=l.indexOf(this);l.splice(p,1),a()},h.render=function(){return rg.createElement(o,this.props)},f}(J2.PureComponent);return ed(s,"displayName","SideEffect("+(((r=o).displayName||r.name||"Component")+")")),ed(s,"canUseDOM",lg),s}};const sg=ye(ag);var cg=typeof Element<"u",fg="function"==typeof Map,dg="function"==typeof Set,pg="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function mo(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(!mo(e[u],t[u]))return!1;return!0}if(fg&&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(!mo(u.value[1],t.get(u.value[0])))return!1;return!0}if(dg&&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(pg&&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(cg&&e instanceof Element)return!1;for(u=n;0!=u--;)if(("_owner"!==r[u]&&"__v"!==r[u]&&"__o"!==r[u]||!e.$$typeof)&&!mo(e[r[u]],t[r[u]]))return!1;return!0}return e!=e&&t!=t}const mg=ye((function(t,n){try{return mo(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 n2=Object.getOwnPropertySymbols,gg=Object.prototype.hasOwnProperty,wg=Object.prototype.propertyIsEnumerable;var xg=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]))gg.call(n,l)&&(u[l]=n[l]);if(n2){r=n2(n);for(var i=0;i<r.length;i++)wg.call(n,r[i])&&(u[r[i]]=n[r[i]])}}return u};const _g=ye(xg);var Hn_BODY="bodyAttributes",Hn_HTML="htmlAttributes",Hn_TITLE="titleAttributes",R={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(R).map((function(e){return R[e]}));var t,n,u,ue_CHARSET="charset",ue_CSS_TEXT="cssText",ue_HREF="href",ue_HTTPEQUIV="http-equiv",ue_INNER_HTML="innerHTML",ue_ITEM_PROP="itemprop",ue_NAME="name",ue_PROPERTY="property",ue_REL="rel",ue_SRC="src",ue_TARGET="target",go={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",bg=Object.keys(go).reduce((function(e,t){return e[go[t]]=t,e}),{}),Eg=[R.NOSCRIPT,R.SCRIPT,R.STYLE],Et="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},Sg=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}}(),qe=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},u2=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},pa=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;")},Dg=function(t){var n=bu(t,R.TITLE),u=bu(t,Mr_TITLE_TEMPLATE);if(u&&n)return u.replace(/%s/g,(function(){return Array.isArray(n)?n.join(""):n}));var r=bu(t,Mr_DEFAULT_TITLE);return n||r||void 0},Fg=function(t){return bu(t,Mr_ON_CHANGE_CLIENT_STATE)||function(){}},ha=function(t,n){return n.filter((function(u){return typeof u[t]<"u"})).map((function(u){return u[t]})).reduce((function(u,r){return qe({},u,r)}),{})},Ng=function(t,n){return n.filter((function(u){return typeof u[R.BASE]<"u"})).map((function(u){return u[R.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"&&jg("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,p=Object.keys(h),b=0;b<p.length;b++){var S=p[b],g=S.toLowerCase();-1!==n.indexOf(g)&&!(v===ue_REL&&"canonical"===h[v].toLowerCase())&&!(g===ue_REL&&"stylesheet"===h[g].toLowerCase())&&(v=g),-1!==n.indexOf(S)&&(S===ue_INNER_HTML||S===ue_CSS_TEXT||S===ue_ITEM_PROP)&&(v=S)}if(!v||!h[v])return!1;var d=h[v].toLowerCase();return r[v]||(r[v]={}),i[v]||(i[v]={}),!r[v][d]&&(i[v][d]=!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],f=_g({},r[c],i[c]);r[c]=f}return o}),[]).reverse()},bu=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},ma=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout((function(){ma(t)}),0)}}(),r2=function(t){return clearTimeout(t)},Lg=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ma:global.requestAnimationFrame||ma,Og=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||r2:global.cancelAnimationFrame||r2,jg=function(t){return console&&"function"==typeof console.warn&&console.warn(t)},Or=null,o2=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,f=t.styleTags,h=t.title,v=t.titleAttributes;ga(R.BODY,r),ga(R.HTML,o),Ig(h,v);var p={baseTag:Eu(R.BASE,u),linkTags:Eu(R.LINK,l),metaTags:Eu(R.META,i),noscriptTags:Eu(R.NOSCRIPT,a),scriptTags:Eu(R.SCRIPT,c),styleTags:Eu(R.STYLE,f)},b={},S={};Object.keys(p).forEach((function(g){var d=p[g],m=d.newTags,_=d.oldTags;m.length&&(b[g]=m),_.length&&(S[g]=p[g].oldTags)})),n&&n(),s(t,b,S)},l2=function(t){return Array.isArray(t)?t.join(""):t},Ig=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=l2(t)),ga(R.TITLE,n)},ga=function(t,n){var u=document.getElementsByTagName(t)[0];if(u){for(var r=u.getAttribute(Et),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 f=l.indexOf(s);-1!==f&&l.splice(f,1)}for(var h=l.length-1;h>=0;h--)u.removeAttribute(l[h]);o.length===l.length?u.removeAttribute(Et):u.getAttribute(Et)!==i.join(",")&&u.setAttribute(Et,i.join(","))}},Eu=function(t,n){var u=document.head||document.querySelector(R.HEAD),r=u.querySelectorAll(t+"["+Et+"]"),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===ue_INNER_HTML)s.innerHTML=a.innerHTML;else if(c===ue_CSS_TEXT)s.styleSheet?s.styleSheet.cssText=a.cssText:s.appendChild(document.createTextNode(a.cssText));else{var f=typeof a[c]>"u"?"":a[c];s.setAttribute(c,f)}s.setAttribute(Et,"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}},i2=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}),"")},a2=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(u,r){return u[go[r]||r]=t[r],u}),n)},Gt=function(t,n,u){switch(t){case R.TITLE:return{toComponent:function(){return function(t,n,u){var r,o=((r={key:n})[Et]=!0,r),l=a2(u,o);return[w.createElement(R.TITLE,l,n)]}(0,n.title,n.titleAttributes)},toString:function(){return function(t,n,u,r){var o=i2(u),l=l2(n);return o?"<"+t+" "+Et+'="true" '+o+">"+pa(l,r)+"</"+t+">":"<"+t+" "+Et+'="true">'+pa(l,r)+"</"+t+">"}(t,n.title,n.titleAttributes,u)}};case Hn_BODY:case Hn_HTML:return{toComponent:function(){return a2(n)},toString:function(){return i2(n)}};default:return{toComponent:function(){return function(t,n){return n.map((function(u,r){var o,l=((o={key:r})[Et]=!0,o);return Object.keys(u).forEach((function(i){var a=go[i]||i;if(a===ue_INNER_HTML||a===ue_CSS_TEXT){var s=u.innerHTML||u.cssText;l.dangerouslySetInnerHTML={__html:s}}else l[a]=u[i]})),w.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===ue_INNER_HTML||s===ue_CSS_TEXT)})).reduce((function(s,c){var f=typeof o[c]>"u"?c:c+'="'+pa(o[c],u)+'"';return s?s+" "+f:f}),""),i=o.innerHTML||o.cssText||"",a=-1===Eg.indexOf(t);return r+"<"+t+" "+Et+'="true" '+l+(a?"/>":">"+i+"</"+t+">")}),"")}(t,n,u)}}}},s2=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,f=t.title,h=void 0===f?"":f,v=t.titleAttributes;return{base:Gt(R.BASE,n,r),bodyAttributes:Gt(Hn_BODY,u,r),htmlAttributes:Gt(Hn_HTML,o,r),link:Gt(R.LINK,l,r),meta:Gt(R.META,i,r),noscript:Gt(R.NOSCRIPT,a,r),script:Gt(R.SCRIPT,s,r),style:Gt(R.STYLE,c,r),title:Gt(R.TITLE,{title:h,titleAttributes:v},r)}},Zg=sg((function(t){return{baseTag:Ng([ue_HREF,ue_TARGET],t),bodyAttributes:ha(Hn_BODY,t),defer:bu(t,Mr_DEFER),encode:bu(t,Mr_ENCODE_SPECIAL_CHARACTERS),htmlAttributes:ha(Hn_HTML,t),linkTags:Lr(R.LINK,[ue_REL,ue_HREF],t),metaTags:Lr(R.META,[ue_NAME,ue_CHARSET,ue_HTTPEQUIV,ue_PROPERTY,ue_ITEM_PROP],t),noscriptTags:Lr(R.NOSCRIPT,[ue_INNER_HTML],t),onChangeClientState:Fg(t),scriptTags:Lr(R.SCRIPT,[ue_SRC,ue_INNER_HTML],t),styleTags:Lr(R.STYLE,[ue_CSS_TEXT],t),title:Dg(t),titleAttributes:ha(Hn_TITLE,t)}}),(function(t){Or&&Og(Or),t.defer?Or=Lg((function(){o2(t,(function(){Or=null}))})):(o2(t),Or=null)}),s2)((function(){return null})),wa=(t=Zg,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!mg(this.props,i)},o.prototype.mapNestedChildrenToProps=function(i,a){if(!a)return null;switch(i.type){case R.SCRIPT:case R.NOSCRIPT:return{innerHTML:a};case R.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,f=i.newChildProps,h=i.nestedChildren;return qe({},c,((a={})[s.type]=[].concat(c[s.type]||[],[qe({},f,this.mapNestedChildrenToProps(s,h))]),a))},o.prototype.mapObjectTypeChildren=function(i){var a,s,c=i.child,f=i.newProps,h=i.newChildProps,v=i.nestedChildren;switch(c.type){case R.TITLE:return qe({},f,((a={})[c.type]=v,a.titleAttributes=qe({},h),a));case R.BODY:return qe({},f,{bodyAttributes:qe({},h)});case R.HTML:return qe({},f,{htmlAttributes:qe({},h)})}return qe({},f,((s={})[c.type]=qe({},h),s))},o.prototype.mapArrayTypeChildrenToProps=function(i,a){var s=qe({},a);return Object.keys(i).forEach((function(c){var f;s=qe({},s,((f={})[c]=i[c],f))})),s},o.prototype.warnOnInvalidChildren=function(i,a){return!0},o.prototype.mapChildrenToProps=function(i,a){var s=this,c={};return w.Children.forEach(i,(function(f){if(f&&f.props){var h=f.props,v=h.children,b=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(u,r){return u[bg[r]||r]=t[r],u}),n)}(u2(h,["children"]));switch(s.warnOnInvalidChildren(f,v),f.type){case R.LINK:case R.META:case R.NOSCRIPT:case R.SCRIPT:case R.STYLE:c=s.flattenArrayTypeChildren({child:f,arrayTypeChildren:c,newChildProps:b,nestedChildren:v});break;default:a=s.mapObjectTypeChildren({child:f,newProps:a,newChildProps:b,nestedChildren:v})}}})),a=this.mapArrayTypeChildrenToProps(c,a)},o.prototype.render=function(){var i=this.props,a=i.children,s=u2(i,["children"]),c=qe({},s);return a&&(c=this.mapChildrenToProps(a,c)),w.createElement(t,c)},Sg(o,null,[{key:"canUseDOM",set:function(i){t.canUseDOM=i}}]),o}(w.Component),n.propTypes={base:ne.object,bodyAttributes:ne.object,children:ne.oneOfType([ne.arrayOf(ne.node),ne.node]),defaultTitle:ne.string,defer:ne.bool,encodeSpecialCharacters:ne.bool,htmlAttributes:ne.object,link:ne.arrayOf(ne.object),meta:ne.arrayOf(ne.object),noscript:ne.arrayOf(ne.object),onChangeClientState:ne.func,script:ne.arrayOf(ne.object),style:ne.arrayOf(ne.object),title:ne.string,titleAttributes:ne.object,titleTemplate:ne.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var r=t.rewind();return r||(r=s2({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),r},u);function qg(){return y.jsxs(wa,{children:[y.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"}),y.jsx("link",{rel:"stylesheet",href:q.stylesSrc})]})}wa.renderStatic=wa.rewind;for(var Ee=[],va=0;va<256;++va)Ee.push((va+256).toString(16).slice(1));var wo,Gg=new Uint8Array(16);function Qg(){if(!wo&&!(wo=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 wo(Gg)}const c2={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Xg(e,t,n){if(c2.randomUUID&&!t&&!e)return c2.randomUUID();var u=(e=e||{}).random||(e.rng||Qg)();return u[6]=15&u[6]|64,u[8]=63&u[8]|128,function(e,t=0){return(Ee[e[t+0]]+Ee[e[t+1]]+Ee[e[t+2]]+Ee[e[t+3]]+"-"+Ee[e[t+4]]+Ee[e[t+5]]+"-"+Ee[e[t+6]]+Ee[e[t+7]]+"-"+Ee[e[t+8]]+Ee[e[t+9]]+"-"+Ee[e[t+10]]+Ee[e[t+11]]+Ee[e[t+12]]+Ee[e[t+13]]+Ee[e[t+14]]+Ee[e[t+15]]).toLowerCase()}(u)}function Jg({settings:e,toggleGreetingsShow:t}){const[n,u]=k.useState([]);return k.useEffect((()=>{const r=e.greetings?JSON.parse(e.greetings):[];u(r),t(!0)}),[e]),y.jsxs(y.Fragment,{children:[y.jsx("button",{className:"tw-ui tw-pf tw-vc tw-vl tw-dk tw-sh tw-am tw-gi tw-i tw-xc tw-ve tw-tk tw-el tw-cf tw-ok tw-sc tw-gh tw-dl",onClick:r=>{r.stopPropagation(),t(!1)},children:"✕"}),n.map(((r,o)=>y.jsx("div",{style:{animationFillMode:"forwards",animationDelay:.6+.3*o+"s"},className:"tw-am tw-wf tw-vi tw-mi tw-vk tw-wa tw-ne tw-ch tw-jo tw-do tw-ok tw-gi tw-jk tw-b tw-uh",children:r},o)))]})}const tw=({isOpen:e,onClose:t,children:n})=>e?y.jsx("div",{className:"tw-ml tw-am tw-xj tw-xc tw-ve tw-kl tw-xk tw-mf tw-tk ",onClick:t,children:y.jsxs("div",{className:"tw-kj tw-vi tw-ag tw-kl tw-gj tw-li",onClick:u=>u.stopPropagation(),children:[y.jsx("button",{className:"tw-ui tw-wl tw-ek tw-pj tw-rc tw-pf tw-vc tw-ee tw-va",onClick:t,children:"×"}),n]})}):null;const vo=document.createElement("div");vo.id="animuz-chat-widget",vo.setAttribute("style","visibility:hidden;opacity:0;"),document.body.appendChild(vo),Do.createRoot(vo).render(y.jsx(w.StrictMode,{children:y.jsx((({children:e})=>{const t={onOpen:()=>console.log("i am open !"),onClose:()=>console.log("i am closed !"),protocols:["Client",q.settings.embedId],shouldReconnect:()=>{const E=Date.now()-c.current;return console.log(`shouldReconnect? ${E/1e3}s ago ${E<18e5}`),E<18e5},reconnectAttempts:5,reconnectInterval:5e3,heartbeat:{message:"ping",interval:4e4,timeout:3e5}},[n,u]=k.useState(null),[r,o]=k.useState(void 0),l=k.useMemo((()=>{if(n)try{return JSON.parse(n.data)}catch{return{}}return null}),[n]),i=k.useRef(null),a=k.useRef((()=>{})),s=k.useRef(0),c=k.useRef(Date.now()),f=k.useRef(Date.now()),h=k.useRef([]),v=k.useRef(t);v.current=t;const p=k.useRef(null),[b,S]=k.useState(!1),g=r||(!0===b?Wt.CONNECTING:Wt.UNINSTANTIATED),m=k.useCallback((()=>S(!1)),[]),_=k.useCallback(((E,D=!0)=>{var A;(null==(A=i.current)?void 0:A.readyState)===Wt.OPEN?(console.log("Opened WebSocket>> sending!"),i.current.send(E)):D&&h.current.push(E)}),[]),C=k.useCallback(((E,D=!0)=>{console.log("Called sendJsonMessage",E),_(JSON.stringify(E),D)}),[_]);return k.useEffect((()=>{if(b){let E,D=!1,A=!0;const j=async()=>{A&&(E=R5(i,"wss://pn1o5spfd5.execute-api.ap-southeast-1.amazonaws.com/dev/",p.current,(Q=>{D||Ii.flushSync((()=>o(Q)))}),v,(Q=>{D||Ii.flushSync((()=>u(Q)))}),a,s,f,c))};return a.current=()=>{D||(null==E||E(),j())},j(),()=>{D=!0,A=!1,null==E||E(),u(null)}}s.current=0,o(Wt.CLOSED),i.current&&i.current.close()}),[b,_]),k.useEffect((()=>{console.log("readyStateFromUrl",g," 0: CONNECTING, 1: OPEN, 2: CLOSING, 3: CLOSED"),g===Wt.OPEN&&h.current.splice(0).forEach((E=>{_(E)}))}),[g]),y.jsx(Qd.Provider,{value:{connect:E=>{p.current=E,console.log("This is now sessionID",p.current),S(!0)},disconnect:m,sendMessage:_,sendJsonMessage:C,lastMessage:n,lastJsonMessage:l,readyState:g},children:e})}),{children:y.jsx((({children:e})=>{const[t,n]=k.useState(!1),[u,r]=k.useState(y.jsx("div",{children:"Hello world"}));return y.jsx(Ri.Provider,{value:{modalOpen:t,setModalOpen:n,modalContent:u,setModalContent:r,openModal:l=>{r(l),n(!0)}},children:e})}),{children:y.jsx((function(){const{isChatOpen:e,toggleOpenChat:t}=function(){var u;const[e,t]=k.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}=k5(),r=function(){const[e,t]=k.useState({loaded:!1,...G1});return k.useEffect((()=>{!function(){if(!document)return!1;const u=window.ANIMUZ_EMBED_CONFIG||{},r={...G1,...q.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]=k.useState("");return k.useEffect((()=>{!function(){var i,a;if(!window||null==(i=null==q?void 0:q.settings)||!i.embedId)return;const u=`anm_${null==(a=null==q?void 0:q.settings)?void 0:a.embedId}_session_id`,r=window.localStorage.getItem(u);if(r)return console.log("Resuming session id",r),void t(r);const o=Math.floor(Date.now()/1e3/3600),l="WB"+Xg().replaceAll("-","")+"-"+o;console.log("Registering new session id",l),window.localStorage.setItem(u,l),t(l)}()}),[window]),e}(),{modalOpen:l,setModalOpen:i,modalContent:a}=k.useContext(Ri),s=window.self!==window.top,c=r.hideBubble||s,f=function(e,t){const n=k.useRef(Date.now());return function(){Date.now()-n.current>=t&&(e(),n.current=Date.now())}}((()=>{Pf_ping()}),1e4),[h,v]=k.useState(!1),[p,b]=k.useState(null);if(k.useEffect((()=>{function d(m){console.log("Received message from iframe:",m.data),m.data&&b(m.data)}return window.addEventListener("message",d),()=>window.removeEventListener("message",d)}),[]),k.useEffect((()=>{("on"===r.openOnLoad||c)&&t(!0)}),[r.loaded]),!r.loaded)return null;r.position;const S=r.windowWidth??"448px",g=r.windowHeight??"85dvh";return y.jsxs(y.Fragment,{children:[y.jsx(qg,{}),!c&&y.jsx(Y6,{settings:r,isOpen:e,toggleBot:()=>{n&&u(!1),t(!e),e||f()}}),y.jsx("div",{id:"animuz-embed-chat-container","data-fullscreen":h,style:{"--w-width":S,"--w-height":g,display:e?"block":"none"},className:"tw-ml tw-mn tw-hd tw-kh tw-wb tw-id tw-pc tw-tk tw-c tw-df tw-xj tw-kl tw-vg tw-ka tw-ga tw-d tw-m tw-n tw-g tw-gc tw-kf",children:y.jsx(X5,{isChatOpen:e,closeChat:()=>t(!1),settings:r,sessionId:o,callPing:f,isFullScreen:h,toggleFullScreen:()=>v(!h)})}),!c&&n&&y.jsx("div",{id:"animuz-greeting-bubbles",className:"tw-yk tw-uk tw-aj tw-ml tw-gk tw-kd tw-tk tw-xh tw-vc anm-group/greetings",onClick:()=>{u(!1),t(!0)},children:y.jsx(Jg,{settings:r,toggleGreetingsShow:u})}),y.jsx(tw,{isOpen:l,onClose:()=>i(!1),children:a&&a})]})}),{})})})}));const f2=Object.assign({},(null==(d2=null==document?void 0:document.currentScript)?void 0:d2.dataset)||{}),q={settings:f2,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==(p2=null==document?void 0:document.currentScript)?void 0:p2.src),USER_STYLES:{base:"tw-kc tw-di"},ASSISTANT_STYLES:{base:"tw-jc tw-fi"}};console.log("This is script Settings ",f2),rt.embedderSettings=q,Object.defineProperty(rt,Symbol.toStringTag,{value:"Module"})}));
42
+ */var td=Object.getOwnPropertySymbols,gg=Object.prototype.hasOwnProperty,wg=Object.prototype.propertyIsEnumerable;var xg=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]))gg.call(n,l)&&(u[l]=n[l]);if(td){r=td(n);for(var i=0;i<r.length;i++)wg.call(n,r[i])&&(u[r[i]]=n[r[i]])}}return u};const _g=ye(xg);var Hn_BODY="bodyAttributes",Hn_HTML="htmlAttributes",Hn_TITLE="titleAttributes",R={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(R).map((function(e){return R[e]}));var t,n,u,ue_CHARSET="charset",ue_CSS_TEXT="cssText",ue_HREF="href",ue_HTTPEQUIV="http-equiv",ue_INNER_HTML="innerHTML",ue_ITEM_PROP="itemprop",ue_NAME="name",ue_PROPERTY="property",ue_REL="rel",ue_SRC="src",ue_TARGET="target",go={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",bg=Object.keys(go).reduce((function(e,t){return e[go[t]]=t,e}),{}),Eg=[R.NOSCRIPT,R.SCRIPT,R.STYLE],Et="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},Sg=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}}(),qe=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},nd=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},pa=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;")},Dg=function(t){var n=bu(t,R.TITLE),u=bu(t,Mr_TITLE_TEMPLATE);if(u&&n)return u.replace(/%s/g,(function(){return Array.isArray(n)?n.join(""):n}));var r=bu(t,Mr_DEFAULT_TITLE);return n||r||void 0},Fg=function(t){return bu(t,Mr_ON_CHANGE_CLIENT_STATE)||function(){}},ha=function(t,n){return n.filter((function(u){return typeof u[t]<"u"})).map((function(u){return u[t]})).reduce((function(u,r){return qe({},u,r)}),{})},Ng=function(t,n){return n.filter((function(u){return typeof u[R.BASE]<"u"})).map((function(u){return u[R.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"&&jg("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,p=Object.keys(h),b=0;b<p.length;b++){var S=p[b],g=S.toLowerCase();-1!==n.indexOf(g)&&!(v===ue_REL&&"canonical"===h[v].toLowerCase())&&!(g===ue_REL&&"stylesheet"===h[g].toLowerCase())&&(v=g),-1!==n.indexOf(S)&&(S===ue_INNER_HTML||S===ue_CSS_TEXT||S===ue_ITEM_PROP)&&(v=S)}if(!v||!h[v])return!1;var d=h[v].toLowerCase();return r[v]||(r[v]={}),i[v]||(i[v]={}),!r[v][d]&&(i[v][d]=!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],f=_g({},r[c],i[c]);r[c]=f}return o}),[]).reverse()},bu=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},ma=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout((function(){ma(t)}),0)}}(),ud=function(t){return clearTimeout(t)},Lg=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ma:global.requestAnimationFrame||ma,Og=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ud:global.cancelAnimationFrame||ud,jg=function(t){return console&&"function"==typeof console.warn&&console.warn(t)},Or=null,rd=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,f=t.styleTags,h=t.title,v=t.titleAttributes;ga(R.BODY,r),ga(R.HTML,o),Ig(h,v);var p={baseTag:Eu(R.BASE,u),linkTags:Eu(R.LINK,l),metaTags:Eu(R.META,i),noscriptTags:Eu(R.NOSCRIPT,a),scriptTags:Eu(R.SCRIPT,c),styleTags:Eu(R.STYLE,f)},b={},S={};Object.keys(p).forEach((function(g){var d=p[g],m=d.newTags,_=d.oldTags;m.length&&(b[g]=m),_.length&&(S[g]=p[g].oldTags)})),n&&n(),s(t,b,S)},od=function(t){return Array.isArray(t)?t.join(""):t},Ig=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=od(t)),ga(R.TITLE,n)},ga=function(t,n){var u=document.getElementsByTagName(t)[0];if(u){for(var r=u.getAttribute(Et),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 f=l.indexOf(s);-1!==f&&l.splice(f,1)}for(var h=l.length-1;h>=0;h--)u.removeAttribute(l[h]);o.length===l.length?u.removeAttribute(Et):u.getAttribute(Et)!==i.join(",")&&u.setAttribute(Et,i.join(","))}},Eu=function(t,n){var u=document.head||document.querySelector(R.HEAD),r=u.querySelectorAll(t+"["+Et+"]"),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===ue_INNER_HTML)s.innerHTML=a.innerHTML;else if(c===ue_CSS_TEXT)s.styleSheet?s.styleSheet.cssText=a.cssText:s.appendChild(document.createTextNode(a.cssText));else{var f=typeof a[c]>"u"?"":a[c];s.setAttribute(c,f)}s.setAttribute(Et,"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}},ld=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}),"")},id=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(u,r){return u[go[r]||r]=t[r],u}),n)},Gt=function(t,n,u){switch(t){case R.TITLE:return{toComponent:function(){return function(t,n,u){var r,o=((r={key:n})[Et]=!0,r),l=id(u,o);return[w.createElement(R.TITLE,l,n)]}(0,n.title,n.titleAttributes)},toString:function(){return function(t,n,u,r){var o=ld(u),l=od(n);return o?"<"+t+" "+Et+'="true" '+o+">"+pa(l,r)+"</"+t+">":"<"+t+" "+Et+'="true">'+pa(l,r)+"</"+t+">"}(t,n.title,n.titleAttributes,u)}};case Hn_BODY:case Hn_HTML:return{toComponent:function(){return id(n)},toString:function(){return ld(n)}};default:return{toComponent:function(){return function(t,n){return n.map((function(u,r){var o,l=((o={key:r})[Et]=!0,o);return Object.keys(u).forEach((function(i){var a=go[i]||i;if(a===ue_INNER_HTML||a===ue_CSS_TEXT){var s=u.innerHTML||u.cssText;l.dangerouslySetInnerHTML={__html:s}}else l[a]=u[i]})),w.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===ue_INNER_HTML||s===ue_CSS_TEXT)})).reduce((function(s,c){var f=typeof o[c]>"u"?c:c+'="'+pa(o[c],u)+'"';return s?s+" "+f:f}),""),i=o.innerHTML||o.cssText||"",a=-1===Eg.indexOf(t);return r+"<"+t+" "+Et+'="true" '+l+(a?"/>":">"+i+"</"+t+">")}),"")}(t,n,u)}}}},ad=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,f=t.title,h=void 0===f?"":f,v=t.titleAttributes;return{base:Gt(R.BASE,n,r),bodyAttributes:Gt(Hn_BODY,u,r),htmlAttributes:Gt(Hn_HTML,o,r),link:Gt(R.LINK,l,r),meta:Gt(R.META,i,r),noscript:Gt(R.NOSCRIPT,a,r),script:Gt(R.SCRIPT,s,r),style:Gt(R.STYLE,c,r),title:Gt(R.TITLE,{title:h,titleAttributes:v},r)}},Vg=sg((function(t){return{baseTag:Ng([ue_HREF,ue_TARGET],t),bodyAttributes:ha(Hn_BODY,t),defer:bu(t,Mr_DEFER),encode:bu(t,Mr_ENCODE_SPECIAL_CHARACTERS),htmlAttributes:ha(Hn_HTML,t),linkTags:Lr(R.LINK,[ue_REL,ue_HREF],t),metaTags:Lr(R.META,[ue_NAME,ue_CHARSET,ue_HTTPEQUIV,ue_PROPERTY,ue_ITEM_PROP],t),noscriptTags:Lr(R.NOSCRIPT,[ue_INNER_HTML],t),onChangeClientState:Fg(t),scriptTags:Lr(R.SCRIPT,[ue_SRC,ue_INNER_HTML],t),styleTags:Lr(R.STYLE,[ue_CSS_TEXT],t),title:Dg(t),titleAttributes:ha(Hn_TITLE,t)}}),(function(t){Or&&Og(Or),t.defer?Or=Lg((function(){rd(t,(function(){Or=null}))})):(rd(t),Or=null)}),ad)((function(){return null})),wa=(t=Vg,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!mg(this.props,i)},o.prototype.mapNestedChildrenToProps=function(i,a){if(!a)return null;switch(i.type){case R.SCRIPT:case R.NOSCRIPT:return{innerHTML:a};case R.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,f=i.newChildProps,h=i.nestedChildren;return qe({},c,((a={})[s.type]=[].concat(c[s.type]||[],[qe({},f,this.mapNestedChildrenToProps(s,h))]),a))},o.prototype.mapObjectTypeChildren=function(i){var a,s,c=i.child,f=i.newProps,h=i.newChildProps,v=i.nestedChildren;switch(c.type){case R.TITLE:return qe({},f,((a={})[c.type]=v,a.titleAttributes=qe({},h),a));case R.BODY:return qe({},f,{bodyAttributes:qe({},h)});case R.HTML:return qe({},f,{htmlAttributes:qe({},h)})}return qe({},f,((s={})[c.type]=qe({},h),s))},o.prototype.mapArrayTypeChildrenToProps=function(i,a){var s=qe({},a);return Object.keys(i).forEach((function(c){var f;s=qe({},s,((f={})[c]=i[c],f))})),s},o.prototype.warnOnInvalidChildren=function(i,a){return!0},o.prototype.mapChildrenToProps=function(i,a){var s=this,c={};return w.Children.forEach(i,(function(f){if(f&&f.props){var h=f.props,v=h.children,b=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(u,r){return u[bg[r]||r]=t[r],u}),n)}(nd(h,["children"]));switch(s.warnOnInvalidChildren(f,v),f.type){case R.LINK:case R.META:case R.NOSCRIPT:case R.SCRIPT:case R.STYLE:c=s.flattenArrayTypeChildren({child:f,arrayTypeChildren:c,newChildProps:b,nestedChildren:v});break;default:a=s.mapObjectTypeChildren({child:f,newProps:a,newChildProps:b,nestedChildren:v})}}})),a=this.mapArrayTypeChildrenToProps(c,a)},o.prototype.render=function(){var i=this.props,a=i.children,s=nd(i,["children"]),c=qe({},s);return a&&(c=this.mapChildrenToProps(a,c)),w.createElement(t,c)},Sg(o,null,[{key:"canUseDOM",set:function(i){t.canUseDOM=i}}]),o}(w.Component),n.propTypes={base:ne.object,bodyAttributes:ne.object,children:ne.oneOfType([ne.arrayOf(ne.node),ne.node]),defaultTitle:ne.string,defer:ne.bool,encodeSpecialCharacters:ne.bool,htmlAttributes:ne.object,link:ne.arrayOf(ne.object),meta:ne.arrayOf(ne.object),noscript:ne.arrayOf(ne.object),onChangeClientState:ne.func,script:ne.arrayOf(ne.object),style:ne.arrayOf(ne.object),title:ne.string,titleAttributes:ne.object,titleTemplate:ne.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var r=t.rewind();return r||(r=ad({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),r},u);function qg(){return y.jsxs(wa,{children:[y.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"}),y.jsx("link",{rel:"stylesheet",href:q.stylesSrc})]})}wa.renderStatic=wa.rewind;for(var Ee=[],va=0;va<256;++va)Ee.push((va+256).toString(16).slice(1));var wo,Gg=new Uint8Array(16);function Qg(){if(!wo&&!(wo=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 wo(Gg)}const sd={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Xg(e,t,n){if(sd.randomUUID&&!t&&!e)return sd.randomUUID();var u=(e=e||{}).random||(e.rng||Qg)();return u[6]=15&u[6]|64,u[8]=63&u[8]|128,function(e,t=0){return(Ee[e[t+0]]+Ee[e[t+1]]+Ee[e[t+2]]+Ee[e[t+3]]+"-"+Ee[e[t+4]]+Ee[e[t+5]]+"-"+Ee[e[t+6]]+Ee[e[t+7]]+"-"+Ee[e[t+8]]+Ee[e[t+9]]+"-"+Ee[e[t+10]]+Ee[e[t+11]]+Ee[e[t+12]]+Ee[e[t+13]]+Ee[e[t+14]]+Ee[e[t+15]]).toLowerCase()}(u)}function Jg({settings:e,toggleGreetingsShow:t}){const[n,u]=k.useState([]);return k.useEffect((()=>{const r=e.greetings?JSON.parse(e.greetings):[];u(r),t(!0)}),[e]),y.jsxs(y.Fragment,{children:[y.jsx("button",{className:"tw-ui tw-pf tw-vc tw-vl tw-dk tw-sh tw-am tw-gi tw-i tw-xc tw-ve tw-tk tw-el tw-cf tw-ok tw-sc tw-gh tw-dl",onClick:r=>{r.stopPropagation(),t(!1)},children:"✕"}),n.map(((r,o)=>y.jsx("div",{style:{animationFillMode:"forwards",animationDelay:.6+.3*o+"s"},className:"tw-am tw-wf tw-vi tw-mi tw-vk tw-wa tw-ne tw-ch tw-jo tw-do tw-ok tw-gi tw-jk tw-b tw-uh",children:r},o)))]})}const tw=({isOpen:e,onClose:t,children:n})=>e?y.jsx("div",{className:"tw-ml tw-am tw-xj tw-xc tw-ve tw-kl tw-xk tw-mf tw-tk ",onClick:t,children:y.jsxs("div",{className:"tw-kj tw-vi tw-ag tw-kl tw-gj tw-li",onClick:u=>u.stopPropagation(),children:[y.jsx("button",{className:"tw-ui tw-wl tw-ek tw-pj tw-rc tw-pf tw-vc tw-ee tw-va",onClick:t,children:"×"}),n]})}):null;const vo=document.createElement("div");vo.id="animuz-chat-widget",vo.setAttribute("style","visibility:hidden;opacity:0;"),document.body.appendChild(vo),Do.createRoot(vo).render(y.jsx(w.StrictMode,{children:y.jsx((({children:e})=>{const t={onOpen:()=>console.log("i am open !"),onClose:()=>console.log("i am closed !"),protocols:["Client",q.settings.embedId],shouldReconnect:()=>{const E=Date.now()-c.current;return console.log(`shouldReconnect? ${E/1e3}s ago ${E<18e5}`),E<18e5},reconnectAttempts:5,reconnectInterval:5e3,heartbeat:{message:"ping",interval:4e4,timeout:3e5}},[n,u]=k.useState(null),[r,o]=k.useState(void 0),l=k.useMemo((()=>{if(n)try{return JSON.parse(n.data)}catch{return{}}return null}),[n]),i=k.useRef(null),a=k.useRef((()=>{})),s=k.useRef(0),c=k.useRef(Date.now()),f=k.useRef(Date.now()),h=k.useRef([]),v=k.useRef(t);v.current=t;const p=k.useRef(null),[b,S]=k.useState(!1),g=r||(!0===b?Wt.CONNECTING:Wt.UNINSTANTIATED),m=k.useCallback((()=>S(!1)),[]),_=k.useCallback(((E,D=!0)=>{var A;(null==(A=i.current)?void 0:A.readyState)===Wt.OPEN?(console.log("Opened WebSocket>> sending!"),i.current.send(E)):D&&h.current.push(E)}),[]),C=k.useCallback(((E,D=!0)=>{console.log("Called sendJsonMessage",E),_(JSON.stringify(E),D)}),[_]);return k.useEffect((()=>{if(b){let E,D=!1,A=!0;const j=async()=>{A&&(E=R5(i,"wss://pn1o5spfd5.execute-api.ap-southeast-1.amazonaws.com/dev/",p.current,(Q=>{D||Ii.flushSync((()=>o(Q)))}),v,(Q=>{D||Ii.flushSync((()=>u(Q)))}),a,s,f,c))};return a.current=()=>{D||(null==E||E(),j())},j(),()=>{D=!0,A=!1,null==E||E(),u(null)}}s.current=0,o(Wt.CLOSED),i.current&&i.current.close()}),[b,_]),k.useEffect((()=>{console.log("readyStateFromUrl",g," 0: CONNECTING, 1: OPEN, 2: CLOSING, 3: CLOSED"),g===Wt.OPEN&&h.current.splice(0).forEach((E=>{_(E)}))}),[g]),y.jsx(G2.Provider,{value:{connect:E=>{p.current=E,console.log("This is now sessionID",p.current),S(!0)},disconnect:m,sendMessage:_,sendJsonMessage:C,lastMessage:n,lastJsonMessage:l,readyState:g},children:e})}),{children:y.jsx((({children:e})=>{const[t,n]=k.useState(!1),[u,r]=k.useState(y.jsx("div",{children:"Hello world"}));return y.jsx(Ri.Provider,{value:{modalOpen:t,setModalOpen:n,modalContent:u,setModalContent:r,openModal:l=>{r(l),n(!0)}},children:e})}),{children:y.jsx((function(){const{isChatOpen:e,toggleOpenChat:t}=function(){var u;const[e,t]=k.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}=k5(),r=function(){const[e,t]=k.useState({loaded:!1,...G1});return k.useEffect((()=>{!function(){if(!document)return!1;const u=window.ANIMUZ_EMBED_CONFIG||{},r={...G1,...q.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]=k.useState("");return k.useEffect((()=>{!function(){var i,a;if(!window||null==(i=null==q?void 0:q.settings)||!i.embedId)return;const u=`anm_${null==(a=null==q?void 0:q.settings)?void 0:a.embedId}_session_id`,r=window.localStorage.getItem(u);if(r)return console.log("Resuming session id",r),void t(r);const o=Math.floor(Date.now()/1e3/3600),l="WB"+Xg().replaceAll("-","")+"-"+o;console.log("Registering new session id",l),window.localStorage.setItem(u,l),t(l)}()}),[window]),e}(),{modalOpen:l,setModalOpen:i,modalContent:a}=k.useContext(Ri),s=window.self!==window.top,c=r.hideBubble||s,f=function(e,t){const n=k.useRef(Date.now());return function(){Date.now()-n.current>=t&&(e(),n.current=Date.now())}}((()=>{Pf_ping()}),1e4),[h,v]=k.useState(!1),[p,b]=k.useState(null);if(k.useEffect((()=>{function d(m){console.log("Received message from iframe:",m.data),m.data&&b(m.data)}return window.addEventListener("message",d),()=>window.removeEventListener("message",d)}),[]),k.useEffect((()=>{("on"===r.openOnLoad||c)&&t(!0)}),[r.loaded]),!r.loaded)return null;r.position;const S=r.windowWidth??"448px",g=r.windowHeight??"85dvh";return y.jsxs(y.Fragment,{children:[y.jsx(qg,{}),!c&&y.jsx(Q6,{settings:r,isOpen:e,toggleBot:()=>{n&&u(!1),t(!e),e||f()}}),y.jsx("div",{id:"animuz-embed-chat-container","data-fullscreen":h,style:{"--w-width":S,"--w-height":g,display:e?"block":"none"},className:"tw-ml tw-mn tw-hd tw-kh tw-wb tw-id tw-pc tw-tk tw-c tw-df tw-xj tw-kl tw-vg tw-ka tw-ga tw-d tw-m tw-n tw-g tw-gc tw-kf",children:y.jsx(X5,{isChatOpen:e,closeChat:()=>t(!1),settings:r,sessionId:o,callPing:f,isFullScreen:h,toggleFullScreen:()=>v(!h)})}),!c&&n&&y.jsx("div",{id:"animuz-greeting-bubbles",className:"tw-yk tw-uk tw-aj tw-ml tw-gk tw-kd tw-tk tw-xh tw-vc anm-group/greetings",onClick:()=>{u(!1),t(!0)},children:y.jsx(Jg,{settings:r,toggleGreetingsShow:u})}),y.jsx(tw,{isOpen:l,onClose:()=>i(!1),children:a&&a})]})}),{})})})}));const cd=Object.assign({},(null==(fd=null==document?void 0:document.currentScript)?void 0:fd.dataset)||{}),q={settings:cd,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==(dd=null==document?void 0:document.currentScript)?void 0:dd.src),USER_STYLES:{base:"tw-kc tw-di"},ASSISTANT_STYLES:{base:"tw-jc tw-fi"}};console.log("This is script Settings ",cd),rt.embedderSettings=q,Object.defineProperty(rt,Symbol.toStringTag,{value:"Module"})}));