diff --git a/dist/lib.js b/dist/lib.js index b4eb63a..46f326a 100644 --- a/dist/lib.js +++ b/dist/lib.js @@ -1,4 +1,4 @@ -var Gy=Object.defineProperty;var yg=dt=>{throw TypeError(dt)};var Wy=(dt,Vt,fe)=>Vt in dt?Gy(dt,Vt,{enumerable:!0,configurable:!0,writable:!0,value:fe}):dt[Vt]=fe;var Rt=(dt,Vt,fe)=>Wy(dt,typeof Vt!="symbol"?Vt+"":Vt,fe),Zy=(dt,Vt,fe)=>Vt.has(dt)||yg("Cannot "+fe);var wg=(dt,Vt,fe)=>Vt.has(dt)?yg("Cannot add the same private member more than once"):Vt instanceof WeakSet?Vt.add(dt):Vt.set(dt,fe);var ga=(dt,Vt,fe)=>(Zy(dt,Vt,"access private method"),fe);this["gooey-chat"]=function(){"use strict";var In,np,vg;var dt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vt(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var fe={exports:{}},kr={},rp={exports:{}},mt={};/** +var f4=Object.defineProperty;var zg=dt=>{throw TypeError(dt)};var h4=(dt,Vt,he)=>Vt in dt?f4(dt,Vt,{enumerable:!0,configurable:!0,writable:!0,value:he}):dt[Vt]=he;var Tt=(dt,Vt,he)=>h4(dt,typeof Vt!="symbol"?Vt+"":Vt,he),x4=(dt,Vt,he)=>Vt.has(dt)||zg("Cannot "+he);var Ng=(dt,Vt,he)=>Vt.has(dt)?zg("Cannot add the same private member more than once"):Vt instanceof WeakSet?Vt.add(dt):Vt.set(dt,he);var xa=(dt,Vt,he)=>(x4(dt,Vt,"access private method"),he);this["gooey-chat"]=function(){"use strict";var Mn,op,Og;var dt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vt(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var he={exports:{}},Cr={},ap={exports:{}},ut={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var Gy=Object.defineProperty;var yg=dt=>{throw TypeError(dt)};var Wy=(dt,Vt,fe)= * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var ip;function bg(){if(ip)return mt;ip=1;var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),u=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),_=Symbol.iterator;function A(C){return C===null||typeof C!="object"?null:(C=_&&C[_]||C["@@iterator"],typeof C=="function"?C:null)}var L={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,w={};function k(C,F,at){this.props=C,this.context=F,this.refs=w,this.updater=at||L}k.prototype.isReactComponent={},k.prototype.setState=function(C,F){if(typeof C!="object"&&typeof C!="function"&&C!=null)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,C,F,"setState")},k.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,"forceUpdate")};function I(){}I.prototype=k.prototype;function N(C,F,at){this.props=C,this.context=F,this.refs=w,this.updater=at||L}var O=N.prototype=new I;O.constructor=N,b(O,k.prototype),O.isPureReactComponent=!0;var G=Array.isArray,X=Object.prototype.hasOwnProperty,et={current:null},U={key:!0,ref:!0,__self:!0,__source:!0};function q(C,F,at){var pt,ft={},gt=null,wt=null;if(F!=null)for(pt in F.ref!==void 0&&(wt=F.ref),F.key!==void 0&&(gt=""+F.key),F)X.call(F,pt)&&!U.hasOwnProperty(pt)&&(ft[pt]=F[pt]);var vt=arguments.length-2;if(vt===1)ft.children=at;else if(1{throw TypeError(dt)};var Wy=(dt,Vt,fe)= * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var op;function _g(){if(op)return kr;op=1;var n=tt,i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,p=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function u(g,h,x){var y,_={},A=null,L=null;x!==void 0&&(A=""+x),h.key!==void 0&&(A=""+h.key),h.ref!==void 0&&(L=h.ref);for(y in h)s.call(h,y)&&!d.hasOwnProperty(y)&&(_[y]=h[y]);if(g&&g.defaultProps)for(y in h=g.defaultProps,h)_[y]===void 0&&(_[y]=h[y]);return{$$typeof:i,type:g,key:A,ref:L,props:_,_owner:p.current}}return kr.Fragment=o,kr.jsx=u,kr.jsxs=u,kr}fe.exports=_g();var f=fe.exports,fa={},ap={exports:{}},se={},ha={exports:{}},xa={};/** + */var lp;function Pg(){if(lp)return Cr;lp=1;var n=q,i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,p=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function m(d,h,x){var y,v={},R=null,M=null;x!==void 0&&(R=""+x),h.key!==void 0&&(R=""+h.key),h.ref!==void 0&&(M=h.ref);for(y in h)s.call(h,y)&&!u.hasOwnProperty(y)&&(v[y]=h[y]);if(d&&d.defaultProps)for(y in h=d.defaultProps,h)v[y]===void 0&&(v[y]=h[y]);return{$$typeof:i,type:d,key:R,ref:M,props:v,_owner:p.current}}return Cr.Fragment=o,Cr.jsx=m,Cr.jsxs=m,Cr}he.exports=Pg();var g=he.exports,ya={},pp={exports:{}},se={},wa={exports:{}},ba={};/** * @license React * scheduler.production.min.js * @@ -22,7 +22,7 @@ var Gy=Object.defineProperty;var yg=dt=>{throw TypeError(dt)};var Wy=(dt,Vt,fe)= * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var sp;function kg(){return sp||(sp=1,function(n){function i(H,it){var W=H.length;H.push(it);t:for(;0>>1,F=H[C];if(0>>1;Cp(ft,W))gtp(wt,ft)?(H[C]=wt,H[gt]=W,C=gt):(H[C]=ft,H[pt]=W,C=pt);else if(gtp(wt,W))H[C]=wt,H[gt]=W,C=gt;else break t}}return it}function p(H,it){var W=H.sortIndex-it.sortIndex;return W!==0?W:H.id-it.id}if(typeof performance=="object"&&typeof performance.now=="function"){var d=performance;n.unstable_now=function(){return d.now()}}else{var u=Date,g=u.now();n.unstable_now=function(){return u.now()-g}}var h=[],x=[],y=1,_=null,A=3,L=!1,b=!1,w=!1,k=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(H){for(var it=o(x);it!==null;){if(it.callback===null)s(x);else if(it.startTime<=H)s(x),it.sortIndex=it.expirationTime,i(h,it);else break;it=o(x)}}function G(H){if(w=!1,O(H),!b)if(o(h)!==null)b=!0,Ct(X);else{var it=o(x);it!==null&&Tt(G,it.startTime-H)}}function X(H,it){b=!1,w&&(w=!1,I(q),q=-1),L=!0;var W=A;try{for(O(it),_=o(h);_!==null&&(!(_.expirationTime>it)||H&&!ct());){var C=_.callback;if(typeof C=="function"){_.callback=null,A=_.priorityLevel;var F=C(_.expirationTime<=it);it=n.unstable_now(),typeof F=="function"?_.callback=F:_===o(h)&&s(h),O(it)}else s(h);_=o(h)}if(_!==null)var at=!0;else{var pt=o(x);pt!==null&&Tt(G,pt.startTime-it),at=!1}return at}finally{_=null,A=W,L=!1}}var et=!1,U=null,q=-1,V=5,st=-1;function ct(){return!(n.unstable_now()-stH||125C?(H.sortIndex=W,i(x,H),o(h)===null&&H===o(x)&&(w?(I(q),q=-1):w=!0,Tt(G,W-C))):(H.sortIndex=F,i(h,H),b||L||(b=!0,Ct(X))),H},n.unstable_shouldYield=ct,n.unstable_wrapCallback=function(H){var it=A;return function(){var W=A;A=it;try{return H.apply(this,arguments)}finally{A=W}}}}(xa)),xa}var lp;function Sg(){return lp||(lp=1,ha.exports=kg()),ha.exports}/** + */var mp;function Ig(){return mp||(mp=1,function(n){function i(H,nt){var V=H.length;H.push(nt);t:for(;0>>1,N=H[k];if(0>>1;kp(it,V))ptp(ft,it)?(H[k]=ft,H[pt]=V,k=pt):(H[k]=it,H[rt]=V,k=rt);else if(ptp(ft,V))H[k]=ft,H[pt]=V,k=pt;else break t}}return nt}function p(H,nt){var V=H.sortIndex-nt.sortIndex;return V!==0?V:H.id-nt.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;n.unstable_now=function(){return u.now()}}else{var m=Date,d=m.now();n.unstable_now=function(){return m.now()-d}}var h=[],x=[],y=1,v=null,R=3,M=!1,w=!1,b=!1,S=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function A(H){for(var nt=o(x);nt!==null;){if(nt.callback===null)s(x);else if(nt.startTime<=H)s(x),nt.sortIndex=nt.expirationTime,i(h,nt);else break;nt=o(x)}}function B(H){if(b=!1,A(H),!w)if(o(h)!==null)w=!0,bt(G);else{var nt=o(x);nt!==null&&_t(B,nt.startTime-H)}}function G(H,nt){w=!1,b&&(b=!1,P(mt),mt=-1),M=!0;var V=R;try{for(A(nt),v=o(h);v!==null&&(!(v.expirationTime>nt)||H&&!At());){var k=v.callback;if(typeof k=="function"){v.callback=null,R=v.priorityLevel;var N=k(v.expirationTime<=nt);nt=n.unstable_now(),typeof N=="function"?v.callback=N:v===o(h)&&s(h),A(nt)}else s(h);v=o(h)}if(v!==null)var Z=!0;else{var rt=o(x);rt!==null&&_t(B,rt.startTime-nt),Z=!1}return Z}finally{v=null,R=V,M=!1}}var K=!1,et=null,mt=-1,J=5,xt=-1;function At(){return!(n.unstable_now()-xtH||125k?(H.sortIndex=V,i(x,H),o(h)===null&&H===o(x)&&(b?(P(mt),mt=-1):b=!0,_t(B,V-k))):(H.sortIndex=N,i(h,H),w||M||(w=!0,bt(G))),H},n.unstable_shouldYield=At,n.unstable_wrapCallback=function(H){var nt=R;return function(){var V=R;R=nt;try{return H.apply(this,arguments)}finally{R=V}}}}(ba)),ba}var up;function Mg(){return up||(up=1,wa.exports=Ig()),wa.exports}/** * @license React * react-dom.production.min.js * @@ -30,52 +30,52 @@ var Gy=Object.defineProperty;var yg=dt=>{throw TypeError(dt)};var Wy=(dt,Vt,fe)= * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var pp;function Eg(){if(pp)return se;pp=1;var n=tt,i=Sg();function o(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,x=/^[: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]*$/,y={},_={};function A(t){return h.call(_,t)?!0:h.call(y,t)?!1:x.test(t)?_[t]=!0:(y[t]=!0,!1)}function L(t,e,r,a){if(r!==null&&r.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return a?!1:r!==null?!r.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function b(t,e,r,a){if(e===null||typeof e>"u"||L(t,e,r,a))return!0;if(a)return!1;if(r!==null)switch(r.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function w(t,e,r,a,l,m,c){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=a,this.attributeNamespace=l,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=m,this.removeEmptyString=c}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){k[t]=new w(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];k[e]=new w(e,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){k[t]=new w(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){k[t]=new w(t,2,!1,t,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(t){k[t]=new w(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){k[t]=new w(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){k[t]=new w(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){k[t]=new w(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){k[t]=new w(t,5,!1,t.toLowerCase(),null,!1,!1)});var I=/[\-:]([a-z])/g;function N(t){return t[1].toUpperCase()}"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(t){var e=t.replace(I,N);k[e]=new w(e,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(I,N);k[e]=new w(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(I,N);k[e]=new w(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){k[t]=new w(t,1,!1,t.toLowerCase(),null,!1,!1)}),k.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){k[t]=new w(t,1,!1,t.toLowerCase(),null,!0,!0)});function O(t,e,r,a){var l=k.hasOwnProperty(e)?k[e]:null;(l!==null?l.type!==0:a||!(2v||l[c]!==m[v]){var S=` -`+l[c].replace(" at new "," at ");return t.displayName&&S.includes("")&&(S=S.replace("",t.displayName)),S}while(1<=c&&0<=v);break}}}finally{at=!1,Error.prepareStackTrace=r}return(t=t?t.displayName||t.name:"")?F(t):""}function ft(t){switch(t.tag){case 5:return F(t.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return t=pt(t.type,!1),t;case 11:return t=pt(t.type.render,!1),t;case 1:return t=pt(t.type,!0),t;default:return""}}function gt(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case U:return"Fragment";case et:return"Portal";case V:return"Profiler";case q:return"StrictMode";case At:return"Suspense";case bt:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case ct:return(t.displayName||"Context")+".Consumer";case st:return(t._context.displayName||"Context")+".Provider";case xt:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Pt:return e=t.displayName||null,e!==null?e:gt(t.type)||"Memo";case Ct:e=t._payload,t=t._init;try{return gt(t(e))}catch{}}return null}function wt(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return gt(e);case 8:return e===q?"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(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function vt(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Et(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function we(t){var e=Et(t)?"checked":"value",r=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),a=""+t[e];if(!t.hasOwnProperty(e)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var l=r.get,m=r.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return l.call(this)},set:function(c){a=""+c,m.call(this,c)}}),Object.defineProperty(t,e,{enumerable:r.enumerable}),{getValue:function(){return a},setValue:function(c){a=""+c},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function ro(t){t._valueTracker||(t._valueTracker=we(t))}function Su(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var r=e.getValue(),a="";return t&&(a=Et(t)?t.checked?"true":"false":t.value),t=a,t!==r?(e.setValue(t),!0):!1}function io(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function ps(t,e){var r=e.checked;return W({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??t._wrapperState.initialChecked})}function Eu(t,e){var r=e.defaultValue==null?"":e.defaultValue,a=e.checked!=null?e.checked:e.defaultChecked;r=vt(e.value!=null?e.value:r),t._wrapperState={initialChecked:a,initialValue:r,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function Cu(t,e){e=e.checked,e!=null&&O(t,"checked",e,!1)}function ms(t,e){Cu(t,e);var r=vt(e.value),a=e.type;if(r!=null)a==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+r):t.value!==""+r&&(t.value=""+r);else if(a==="submit"||a==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?us(t,e.type,r):e.hasOwnProperty("defaultValue")&&us(t,e.type,vt(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function Tu(t,e,r){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var a=e.type;if(!(a!=="submit"&&a!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,r||e===t.value||(t.value=e),t.defaultValue=e}r=t.name,r!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,r!==""&&(t.name=r)}function us(t,e,r){(e!=="number"||io(t.ownerDocument)!==t)&&(r==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+r&&(t.defaultValue=""+r))}var Ir=Array.isArray;function Kn(t,e,r,a){if(t=t.options,e){e={};for(var l=0;l"+e.valueOf().toString()+"",e=oo.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function Fr(t,e){if(e){var r=t.firstChild;if(r&&r===t.lastChild&&r.nodeType===3){r.nodeValue=e;return}}t.textContent=e}var Dr={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},Y1=["Webkit","ms","Moz","O"];Object.keys(Dr).forEach(function(t){Y1.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Dr[e]=Dr[t]})});function Nu(t,e,r){return e==null||typeof e=="boolean"||e===""?"":r||typeof e!="number"||e===0||Dr.hasOwnProperty(t)&&Dr[t]?(""+e).trim():e+"px"}function Lu(t,e){t=t.style;for(var r in e)if(e.hasOwnProperty(r)){var a=r.indexOf("--")===0,l=Nu(r,e[r],a);r==="float"&&(r="cssFloat"),a?t.setProperty(r,l):t[r]=l}}var X1=W({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 gs(t,e){if(e){if(X1[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(o(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(o(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(o(61))}if(e.style!=null&&typeof e.style!="object")throw Error(o(62))}}function fs(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){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 hs=null;function xs(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var ys=null,Jn=null,tr=null;function Pu(t){if(t=ai(t)){if(typeof ys!="function")throw Error(o(280));var e=t.stateNode;e&&(e=Ao(e),ys(t.stateNode,t.type,e))}}function Iu(t){Jn?tr?tr.push(t):tr=[t]:Jn=t}function Fu(){if(Jn){var t=Jn,e=tr;if(tr=Jn=null,Pu(t),e)for(t=0;t>>=0,t===0?32:31-(s2(t)/l2|0)|0}var mo=64,uo=4194304;function $r(t){switch(t&-t){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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function co(t,e){var r=t.pendingLanes;if(r===0)return 0;var a=0,l=t.suspendedLanes,m=t.pingedLanes,c=r&268435455;if(c!==0){var v=c&~l;v!==0?a=$r(v):(m&=c,m!==0&&(a=$r(m)))}else c=r&~l,c!==0?a=$r(c):m!==0&&(a=$r(m));if(a===0)return 0;if(e!==0&&e!==a&&!(e&l)&&(l=a&-a,m=e&-e,l>=m||l===16&&(m&4194240)!==0))return e;if(a&4&&(a|=r&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=a;0r;r++)e.push(t);return e}function Hr(t,e,r){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-Le(e),t[e]=r}function d2(t,e){var r=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var a=t.eventTimes;for(t=t.expirationTimes;0=Qr),ud=" ",dd=!1;function cd(t,e){switch(t){case"keyup":return U2.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gd(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var rr=!1;function $2(t,e){switch(t){case"compositionend":return gd(e);case"keypress":return e.which!==32?null:(dd=!0,ud);case"textInput":return t=e.data,t===ud&&dd?null:t;default:return null}}function H2(t,e){if(rr)return t==="compositionend"||!Is&&cd(t,e)?(t=od(),yo=zs=cn=null,rr=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:r,offset:e-t};t=a}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=bd(r)}}function kd(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?kd(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Sd(){for(var t=window,e=io();e instanceof t.HTMLIFrameElement;){try{var r=typeof e.contentWindow.location.href=="string"}catch{r=!1}if(r)t=e.contentWindow;else break;e=io(t.document)}return e}function Ms(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function K2(t){var e=Sd(),r=t.focusedElem,a=t.selectionRange;if(e!==r&&r&&r.ownerDocument&&kd(r.ownerDocument.documentElement,r)){if(a!==null&&Ms(r)){if(e=a.start,t=a.end,t===void 0&&(t=e),"selectionStart"in r)r.selectionStart=e,r.selectionEnd=Math.min(t,r.value.length);else if(t=(e=r.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var l=r.textContent.length,m=Math.min(a.start,l);a=a.end===void 0?m:Math.min(a.end,l),!t.extend&&m>a&&(l=a,a=m,m=l),l=_d(r,m);var c=_d(r,a);l&&c&&(t.rangeCount!==1||t.anchorNode!==l.node||t.anchorOffset!==l.offset||t.focusNode!==c.node||t.focusOffset!==c.offset)&&(e=e.createRange(),e.setStart(l.node,l.offset),t.removeAllRanges(),m>a?(t.addRange(e),t.extend(c.node,c.offset)):(e.setEnd(c.node,c.offset),t.addRange(e)))}}for(e=[],t=r;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,ir=null,Us=null,ei=null,Bs=!1;function Ed(t,e,r){var a=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Bs||ir==null||ir!==io(a)||(a=ir,"selectionStart"in a&&Ms(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),ei&&ti(ei,a)||(ei=a,a=Co(Us,"onSelect"),0pr||(t.current=Js[pr],Js[pr]=null,pr--)}function zt(t,e){pr++,Js[pr]=t.current,t.current=e}var xn={},te=hn(xn),me=hn(!1),Mn=xn;function mr(t,e){var r=t.type.contextTypes;if(!r)return xn;var a=t.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===e)return a.__reactInternalMemoizedMaskedChildContext;var l={},m;for(m in r)l[m]=e[m];return a&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=l),l}function ue(t){return t=t.childContextTypes,t!=null}function zo(){Ot(me),Ot(te)}function Ud(t,e,r){if(te.current!==xn)throw Error(o(168));zt(te,e),zt(me,r)}function Bd(t,e,r){var a=t.stateNode;if(e=e.childContextTypes,typeof a.getChildContext!="function")return r;a=a.getChildContext();for(var l in a)if(!(l in e))throw Error(o(108,wt(t)||"Unknown",l));return W({},r,a)}function jo(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||xn,Mn=te.current,zt(te,t),zt(me,me.current),!0}function $d(t,e,r){var a=t.stateNode;if(!a)throw Error(o(169));r?(t=Bd(t,e,Mn),a.__reactInternalMemoizedMergedChildContext=t,Ot(me),Ot(te),zt(te,t)):Ot(me),zt(me,r)}var Ke=null,Oo=!1,tl=!1;function Hd(t){Ke===null?Ke=[t]:Ke.push(t)}function my(t){Oo=!0,Hd(t)}function yn(){if(!tl&&Ke!==null){tl=!0;var t=0,e=kt;try{var r=Ke;for(kt=1;t>=c,l-=c,Je=1<<32-Le(e)+l|r<ot?(Yt=rt,rt=null):Yt=rt.sibling;var yt=D(T,rt,R[ot],$);if(yt===null){rt===null&&(rt=Yt);break}t&&rt&&yt.alternate===null&&e(T,rt),E=m(yt,E,ot),nt===null?J=yt:nt.sibling=yt,nt=yt,rt=Yt}if(ot===R.length)return r(T,rt),Lt&&Bn(T,ot),J;if(rt===null){for(;otot?(Yt=rt,rt=null):Yt=rt.sibling;var Tn=D(T,rt,yt.value,$);if(Tn===null){rt===null&&(rt=Yt);break}t&&rt&&Tn.alternate===null&&e(T,rt),E=m(Tn,E,ot),nt===null?J=Tn:nt.sibling=Tn,nt=Tn,rt=Yt}if(yt.done)return r(T,rt),Lt&&Bn(T,ot),J;if(rt===null){for(;!yt.done;ot++,yt=R.next())yt=B(T,yt.value,$),yt!==null&&(E=m(yt,E,ot),nt===null?J=yt:nt.sibling=yt,nt=yt);return Lt&&Bn(T,ot),J}for(rt=a(T,rt);!yt.done;ot++,yt=R.next())yt=Z(rt,T,ot,yt.value,$),yt!==null&&(t&&yt.alternate!==null&&rt.delete(yt.key===null?ot:yt.key),E=m(yt,E,ot),nt===null?J=yt:nt.sibling=yt,nt=yt);return t&&rt.forEach(function(Vy){return e(T,Vy)}),Lt&&Bn(T,ot),J}function $t(T,E,R,$){if(typeof R=="object"&&R!==null&&R.type===U&&R.key===null&&(R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case X:t:{for(var J=R.key,nt=E;nt!==null;){if(nt.key===J){if(J=R.type,J===U){if(nt.tag===7){r(T,nt.sibling),E=l(nt,R.props.children),E.return=T,T=E;break t}}else if(nt.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===Ct&&Yd(J)===nt.type){r(T,nt.sibling),E=l(nt,R.props),E.ref=si(T,nt,R),E.return=T,T=E;break t}r(T,nt);break}else e(T,nt);nt=nt.sibling}R.type===U?(E=Yn(R.props.children,T.mode,$,R.key),E.return=T,T=E):($=aa(R.type,R.key,R.props,null,T.mode,$),$.ref=si(T,E,R),$.return=T,T=$)}return c(T);case et:t:{for(nt=R.key;E!==null;){if(E.key===nt)if(E.tag===4&&E.stateNode.containerInfo===R.containerInfo&&E.stateNode.implementation===R.implementation){r(T,E.sibling),E=l(E,R.children||[]),E.return=T,T=E;break t}else{r(T,E);break}else e(T,E);E=E.sibling}E=Ql(R,T.mode,$),E.return=T,T=E}return c(T);case Ct:return nt=R._init,$t(T,E,nt(R._payload),$)}if(Ir(R))return Q(T,E,R,$);if(it(R))return K(T,E,R,$);Io(T,R)}return typeof R=="string"&&R!==""||typeof R=="number"?(R=""+R,E!==null&&E.tag===6?(r(T,E.sibling),E=l(E,R),E.return=T,T=E):(r(T,E),E=Xl(R,T.mode,$),E.return=T,T=E),c(T)):r(T,E)}return $t}var gr=Xd(!0),Qd=Xd(!1),Fo=hn(null),Do=null,fr=null,al=null;function sl(){al=fr=Do=null}function ll(t){var e=Fo.current;Ot(Fo),t._currentValue=e}function pl(t,e,r){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===r)break;t=t.return}}function hr(t,e){Do=t,al=fr=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(de=!0),t.firstContext=null)}function Te(t){var e=t._currentValue;if(al!==t)if(t={context:t,memoizedValue:e,next:null},fr===null){if(Do===null)throw Error(o(308));fr=t,Do.dependencies={lanes:0,firstContext:t}}else fr=fr.next=t;return e}var $n=null;function ml(t){$n===null?$n=[t]:$n.push(t)}function Kd(t,e,r,a){var l=e.interleaved;return l===null?(r.next=r,ml(e)):(r.next=l.next,l.next=r),e.interleaved=r,en(t,a)}function en(t,e){t.lanes|=e;var r=t.alternate;for(r!==null&&(r.lanes|=e),r=t,t=t.return;t!==null;)t.childLanes|=e,r=t.alternate,r!==null&&(r.childLanes|=e),r=t,t=t.return;return r.tag===3?r.stateNode:null}var wn=!1;function ul(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Jd(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function nn(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function vn(t,e,r){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,ht&2){var l=a.pending;return l===null?e.next=e:(e.next=l.next,l.next=e),a.pending=e,en(t,r)}return l=a.interleaved,l===null?(e.next=e,ml(a)):(e.next=l.next,l.next=e),a.interleaved=e,en(t,r)}function Mo(t,e,r){if(e=e.updateQueue,e!==null&&(e=e.shared,(r&4194240)!==0)){var a=e.lanes;a&=t.pendingLanes,r|=a,e.lanes=r,Es(t,r)}}function tc(t,e){var r=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,r===a)){var l=null,m=null;if(r=r.firstBaseUpdate,r!==null){do{var c={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};m===null?l=m=c:m=m.next=c,r=r.next}while(r!==null);m===null?l=m=e:m=m.next=e}else l=m=e;r={baseState:a.baseState,firstBaseUpdate:l,lastBaseUpdate:m,shared:a.shared,effects:a.effects},t.updateQueue=r;return}t=r.lastBaseUpdate,t===null?r.firstBaseUpdate=e:t.next=e,r.lastBaseUpdate=e}function Uo(t,e,r,a){var l=t.updateQueue;wn=!1;var m=l.firstBaseUpdate,c=l.lastBaseUpdate,v=l.shared.pending;if(v!==null){l.shared.pending=null;var S=v,z=S.next;S.next=null,c===null?m=z:c.next=z,c=S;var M=t.alternate;M!==null&&(M=M.updateQueue,v=M.lastBaseUpdate,v!==c&&(v===null?M.firstBaseUpdate=z:v.next=z,M.lastBaseUpdate=S))}if(m!==null){var B=l.baseState;c=0,M=z=S=null,v=m;do{var D=v.lane,Z=v.eventTime;if((a&D)===D){M!==null&&(M=M.next={eventTime:Z,lane:0,tag:v.tag,payload:v.payload,callback:v.callback,next:null});t:{var Q=t,K=v;switch(D=e,Z=r,K.tag){case 1:if(Q=K.payload,typeof Q=="function"){B=Q.call(Z,B,D);break t}B=Q;break t;case 3:Q.flags=Q.flags&-65537|128;case 0:if(Q=K.payload,D=typeof Q=="function"?Q.call(Z,B,D):Q,D==null)break t;B=W({},B,D);break t;case 2:wn=!0}}v.callback!==null&&v.lane!==0&&(t.flags|=64,D=l.effects,D===null?l.effects=[v]:D.push(v))}else Z={eventTime:Z,lane:D,tag:v.tag,payload:v.payload,callback:v.callback,next:null},M===null?(z=M=Z,S=B):M=M.next=Z,c|=D;if(v=v.next,v===null){if(v=l.shared.pending,v===null)break;D=v,v=D.next,D.next=null,l.lastBaseUpdate=D,l.shared.pending=null}}while(!0);if(M===null&&(S=B),l.baseState=S,l.firstBaseUpdate=z,l.lastBaseUpdate=M,e=l.shared.interleaved,e!==null){l=e;do c|=l.lane,l=l.next;while(l!==e)}else m===null&&(l.shared.lanes=0);Gn|=c,t.lanes=c,t.memoizedState=B}}function ec(t,e,r){if(t=e.effects,e.effects=null,t!==null)for(e=0;er?r:4,t(!0);var a=hl.transition;hl.transition={};try{t(!1),e()}finally{kt=r,hl.transition=a}}function vc(){return Re().memoizedState}function gy(t,e,r){var a=Sn(t);if(r={lane:a,action:r,hasEagerState:!1,eagerState:null,next:null},bc(t))_c(e,r);else if(r=Kd(t,e,r,a),r!==null){var l=ae();Ue(r,t,a,l),kc(r,e,a)}}function fy(t,e,r){var a=Sn(t),l={lane:a,action:r,hasEagerState:!1,eagerState:null,next:null};if(bc(t))_c(e,l);else{var m=t.alternate;if(t.lanes===0&&(m===null||m.lanes===0)&&(m=e.lastRenderedReducer,m!==null))try{var c=e.lastRenderedState,v=m(c,r);if(l.hasEagerState=!0,l.eagerState=v,Pe(v,c)){var S=e.interleaved;S===null?(l.next=l,ml(e)):(l.next=S.next,S.next=l),e.interleaved=l;return}}catch{}finally{}r=Kd(t,e,l,a),r!==null&&(l=ae(),Ue(r,t,a,l),kc(r,e,a))}}function bc(t){var e=t.alternate;return t===Ft||e!==null&&e===Ft}function _c(t,e){ui=Ho=!0;var r=t.pending;r===null?e.next=e:(e.next=r.next,r.next=e),t.pending=e}function kc(t,e,r){if(r&4194240){var a=e.lanes;a&=t.pendingLanes,r|=a,e.lanes=r,Es(t,r)}}var Wo={readContext:Te,useCallback:ee,useContext:ee,useEffect:ee,useImperativeHandle:ee,useInsertionEffect:ee,useLayoutEffect:ee,useMemo:ee,useReducer:ee,useRef:ee,useState:ee,useDebugValue:ee,useDeferredValue:ee,useTransition:ee,useMutableSource:ee,useSyncExternalStore:ee,useId:ee,unstable_isNewReconciler:!1},hy={readContext:Te,useCallback:function(t,e){return Ze().memoizedState=[t,e===void 0?null:e],t},useContext:Te,useEffect:dc,useImperativeHandle:function(t,e,r){return r=r!=null?r.concat([t]):null,Vo(4194308,4,fc.bind(null,e,t),r)},useLayoutEffect:function(t,e){return Vo(4194308,4,t,e)},useInsertionEffect:function(t,e){return Vo(4,2,t,e)},useMemo:function(t,e){var r=Ze();return e=e===void 0?null:e,t=t(),r.memoizedState=[t,e],t},useReducer:function(t,e,r){var a=Ze();return e=r!==void 0?r(e):e,a.memoizedState=a.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},a.queue=t,t=t.dispatch=gy.bind(null,Ft,t),[a.memoizedState,t]},useRef:function(t){var e=Ze();return t={current:t},e.memoizedState=t},useState:mc,useDebugValue:kl,useDeferredValue:function(t){return Ze().memoizedState=t},useTransition:function(){var t=mc(!1),e=t[0];return t=cy.bind(null,t[1]),Ze().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,r){var a=Ft,l=Ze();if(Lt){if(r===void 0)throw Error(o(407));r=r()}else{if(r=e(),qt===null)throw Error(o(349));Vn&30||oc(a,e,r)}l.memoizedState=r;var m={value:r,getSnapshot:e};return l.queue=m,dc(sc.bind(null,a,m,t),[t]),a.flags|=2048,gi(9,ac.bind(null,a,m,r,e),void 0,null),r},useId:function(){var t=Ze(),e=qt.identifierPrefix;if(Lt){var r=tn,a=Je;r=(a&~(1<<32-Le(a)-1)).toString(32)+r,e=":"+e+"R"+r,r=di++,0<\/script>",t=t.removeChild(t.firstChild)):typeof a.is=="string"?t=c.createElement(r,{is:a.is}):(t=c.createElement(r),r==="select"&&(c=t,a.multiple?c.multiple=!0:a.size&&(c.size=a.size))):t=c.createElementNS(t,r),t[Ge]=e,t[oi]=a,Hc(t,e,!1,!1),e.stateNode=t;t:{switch(c=fs(r,a),r){case"dialog":jt("cancel",t),jt("close",t),l=a;break;case"iframe":case"object":case"embed":jt("load",t),l=a;break;case"video":case"audio":for(l=0;lbr&&(e.flags|=128,a=!0,fi(m,!1),e.lanes=4194304)}else{if(!a)if(t=Bo(c),t!==null){if(e.flags|=128,a=!0,r=t.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),fi(m,!0),m.tail===null&&m.tailMode==="hidden"&&!c.alternate&&!Lt)return ne(e),null}else 2*Bt()-m.renderingStartTime>br&&r!==1073741824&&(e.flags|=128,a=!0,fi(m,!1),e.lanes=4194304);m.isBackwards?(c.sibling=e.child,e.child=c):(r=m.last,r!==null?r.sibling=c:e.child=c,m.last=c)}return m.tail!==null?(e=m.tail,m.rendering=e,m.tail=e.sibling,m.renderingStartTime=Bt(),e.sibling=null,r=It.current,zt(It,a?r&1|2:r&1),e):(ne(e),null);case 22:case 23:return Zl(),a=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==a&&(e.flags|=8192),a&&e.mode&1?ke&1073741824&&(ne(e),e.subtreeFlags&6&&(e.flags|=8192)):ne(e),null;case 24:return null;case 25:return null}throw Error(o(156,e.tag))}function Sy(t,e){switch(nl(e),e.tag){case 1:return ue(e.type)&&zo(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return xr(),Ot(me),Ot(te),fl(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return cl(e),null;case 13:if(Ot(It),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));cr()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Ot(It),null;case 4:return xr(),null;case 10:return ll(e.type._context),null;case 22:case 23:return Zl(),null;case 24:return null;default:return null}}var Xo=!1,re=!1,Ey=typeof WeakSet=="function"?WeakSet:Set,Y=null;function wr(t,e){var r=t.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(a){Dt(t,e,a)}else r.current=null}function Pl(t,e,r){try{r()}catch(a){Dt(t,e,a)}}var Wc=!1;function Cy(t,e){if(Zs=ho,t=Sd(),Ms(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else t:{r=(r=t.ownerDocument)&&r.defaultView||window;var a=r.getSelection&&r.getSelection();if(a&&a.rangeCount!==0){r=a.anchorNode;var l=a.anchorOffset,m=a.focusNode;a=a.focusOffset;try{r.nodeType,m.nodeType}catch{r=null;break t}var c=0,v=-1,S=-1,z=0,M=0,B=t,D=null;e:for(;;){for(var Z;B!==r||l!==0&&B.nodeType!==3||(v=c+l),B!==m||a!==0&&B.nodeType!==3||(S=c+a),B.nodeType===3&&(c+=B.nodeValue.length),(Z=B.firstChild)!==null;)D=B,B=Z;for(;;){if(B===t)break e;if(D===r&&++z===l&&(v=c),D===m&&++M===a&&(S=c),(Z=B.nextSibling)!==null)break;B=D,D=B.parentNode}B=Z}r=v===-1||S===-1?null:{start:v,end:S}}else r=null}r=r||{start:0,end:0}}else r=null;for(qs={focusedElem:t,selectionRange:r},ho=!1,Y=e;Y!==null;)if(e=Y,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Y=t;else for(;Y!==null;){e=Y;try{var Q=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(Q!==null){var K=Q.memoizedProps,$t=Q.memoizedState,T=e.stateNode,E=T.getSnapshotBeforeUpdate(e.elementType===e.type?K:Fe(e.type,K),$t);T.__reactInternalSnapshotBeforeUpdate=E}break;case 3:var R=e.stateNode.containerInfo;R.nodeType===1?R.textContent="":R.nodeType===9&&R.documentElement&&R.removeChild(R.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch($){Dt(e,e.return,$)}if(t=e.sibling,t!==null){t.return=e.return,Y=t;break}Y=e.return}return Q=Wc,Wc=!1,Q}function hi(t,e,r){var a=e.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var l=a=a.next;do{if((l.tag&t)===t){var m=l.destroy;l.destroy=void 0,m!==void 0&&Pl(e,r,m)}l=l.next}while(l!==a)}}function Qo(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var r=e=e.next;do{if((r.tag&t)===t){var a=r.create;r.destroy=a()}r=r.next}while(r!==e)}}function Il(t){var e=t.ref;if(e!==null){var r=t.stateNode;switch(t.tag){case 5:t=r;break;default:t=r}typeof e=="function"?e(t):e.current=t}}function Zc(t){var e=t.alternate;e!==null&&(t.alternate=null,Zc(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[Ge],delete e[oi],delete e[Ks],delete e[ly],delete e[py])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function qc(t){return t.tag===5||t.tag===3||t.tag===4}function Yc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||qc(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Fl(t,e,r){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?r.nodeType===8?r.parentNode.insertBefore(t,e):r.insertBefore(t,e):(r.nodeType===8?(e=r.parentNode,e.insertBefore(t,r)):(e=r,e.appendChild(t)),r=r._reactRootContainer,r!=null||e.onclick!==null||(e.onclick=Ro));else if(a!==4&&(t=t.child,t!==null))for(Fl(t,e,r),t=t.sibling;t!==null;)Fl(t,e,r),t=t.sibling}function Dl(t,e,r){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?r.insertBefore(t,e):r.appendChild(t);else if(a!==4&&(t=t.child,t!==null))for(Dl(t,e,r),t=t.sibling;t!==null;)Dl(t,e,r),t=t.sibling}var Kt=null,De=!1;function bn(t,e,r){for(r=r.child;r!==null;)Xc(t,e,r),r=r.sibling}function Xc(t,e,r){if(Ve&&typeof Ve.onCommitFiberUnmount=="function")try{Ve.onCommitFiberUnmount(po,r)}catch{}switch(r.tag){case 5:re||wr(r,e);case 6:var a=Kt,l=De;Kt=null,bn(t,e,r),Kt=a,De=l,Kt!==null&&(De?(t=Kt,r=r.stateNode,t.nodeType===8?t.parentNode.removeChild(r):t.removeChild(r)):Kt.removeChild(r.stateNode));break;case 18:Kt!==null&&(De?(t=Kt,r=r.stateNode,t.nodeType===8?Qs(t.parentNode,r):t.nodeType===1&&Qs(t,r),qr(t)):Qs(Kt,r.stateNode));break;case 4:a=Kt,l=De,Kt=r.stateNode.containerInfo,De=!0,bn(t,e,r),Kt=a,De=l;break;case 0:case 11:case 14:case 15:if(!re&&(a=r.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){l=a=a.next;do{var m=l,c=m.destroy;m=m.tag,c!==void 0&&(m&2||m&4)&&Pl(r,e,c),l=l.next}while(l!==a)}bn(t,e,r);break;case 1:if(!re&&(wr(r,e),a=r.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=r.memoizedProps,a.state=r.memoizedState,a.componentWillUnmount()}catch(v){Dt(r,e,v)}bn(t,e,r);break;case 21:bn(t,e,r);break;case 22:r.mode&1?(re=(a=re)||r.memoizedState!==null,bn(t,e,r),re=a):bn(t,e,r);break;default:bn(t,e,r)}}function Qc(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var r=t.stateNode;r===null&&(r=t.stateNode=new Ey),e.forEach(function(a){var l=Py.bind(null,t,a);r.has(a)||(r.add(a),a.then(l,l))})}}function Me(t,e){var r=e.deletions;if(r!==null)for(var a=0;al&&(l=c),a&=~m}if(a=l,a=Bt()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*Ry(a/1960))-a,10t?16:t,kn===null)var a=!1;else{if(t=kn,kn=null,na=0,ht&6)throw Error(o(331));var l=ht;for(ht|=4,Y=t.current;Y!==null;){var m=Y,c=m.child;if(Y.flags&16){var v=m.deletions;if(v!==null){for(var S=0;SBt()-Bl?Zn(t,0):Ul|=r),ge(t,e)}function mg(t,e){e===0&&(t.mode&1?(e=uo,uo<<=1,!(uo&130023424)&&(uo=4194304)):e=1);var r=ae();t=en(t,e),t!==null&&(Hr(t,e,r),ge(t,r))}function Ly(t){var e=t.memoizedState,r=0;e!==null&&(r=e.retryLane),mg(t,r)}function Py(t,e){var r=0;switch(t.tag){case 13:var a=t.stateNode,l=t.memoizedState;l!==null&&(r=l.retryLane);break;case 19:a=t.stateNode;break;default:throw Error(o(314))}a!==null&&a.delete(e),mg(t,r)}var ug;ug=function(t,e,r){if(t!==null)if(t.memoizedProps!==e.pendingProps||me.current)de=!0;else{if(!(t.lanes&r)&&!(e.flags&128))return de=!1,_y(t,e,r);de=!!(t.flags&131072)}else de=!1,Lt&&e.flags&1048576&&Vd(e,Lo,e.index);switch(e.lanes=0,e.tag){case 2:var a=e.type;Yo(t,e),t=e.pendingProps;var l=mr(e,te.current);hr(e,r),l=yl(null,e,a,t,l,r);var m=wl();return e.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,ue(a)?(m=!0,jo(e)):m=!1,e.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,ul(e),l.updater=Zo,e.stateNode=l,l._reactInternals=e,El(e,a,t,r),e=Al(null,e,a,!0,m,r)):(e.tag=0,Lt&&m&&el(e),oe(null,e,l,r),e=e.child),e;case 16:a=e.elementType;t:{switch(Yo(t,e),t=e.pendingProps,l=a._init,a=l(a._payload),e.type=a,l=e.tag=Fy(a),t=Fe(a,t),l){case 0:e=Rl(null,e,a,t,r);break t;case 1:e=Fc(null,e,a,t,r);break t;case 11:e=Oc(null,e,a,t,r);break t;case 14:e=Nc(null,e,a,Fe(a.type,t),r);break t}throw Error(o(306,a,""))}return e;case 0:return a=e.type,l=e.pendingProps,l=e.elementType===a?l:Fe(a,l),Rl(t,e,a,l,r);case 1:return a=e.type,l=e.pendingProps,l=e.elementType===a?l:Fe(a,l),Fc(t,e,a,l,r);case 3:t:{if(Dc(e),t===null)throw Error(o(387));a=e.pendingProps,m=e.memoizedState,l=m.element,Jd(t,e),Uo(e,a,null,r);var c=e.memoizedState;if(a=c.element,m.isDehydrated)if(m={element:a,isDehydrated:!1,cache:c.cache,pendingSuspenseBoundaries:c.pendingSuspenseBoundaries,transitions:c.transitions},e.updateQueue.baseState=m,e.memoizedState=m,e.flags&256){l=yr(Error(o(423)),e),e=Mc(t,e,a,r,l);break t}else if(a!==l){l=yr(Error(o(424)),e),e=Mc(t,e,a,r,l);break t}else for(_e=fn(e.stateNode.containerInfo.firstChild),be=e,Lt=!0,Ie=null,r=Qd(e,null,a,r),e.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(cr(),a===l){e=rn(t,e,r);break t}oe(t,e,a,r)}e=e.child}return e;case 5:return nc(e),t===null&&il(e),a=e.type,l=e.pendingProps,m=t!==null?t.memoizedProps:null,c=l.children,Ys(a,l)?c=null:m!==null&&Ys(a,m)&&(e.flags|=32),Ic(t,e),oe(t,e,c,r),e.child;case 6:return t===null&&il(e),null;case 13:return Uc(t,e,r);case 4:return dl(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=gr(e,null,a,r):oe(t,e,a,r),e.child;case 11:return a=e.type,l=e.pendingProps,l=e.elementType===a?l:Fe(a,l),Oc(t,e,a,l,r);case 7:return oe(t,e,e.pendingProps,r),e.child;case 8:return oe(t,e,e.pendingProps.children,r),e.child;case 12:return oe(t,e,e.pendingProps.children,r),e.child;case 10:t:{if(a=e.type._context,l=e.pendingProps,m=e.memoizedProps,c=l.value,zt(Fo,a._currentValue),a._currentValue=c,m!==null)if(Pe(m.value,c)){if(m.children===l.children&&!me.current){e=rn(t,e,r);break t}}else for(m=e.child,m!==null&&(m.return=e);m!==null;){var v=m.dependencies;if(v!==null){c=m.child;for(var S=v.firstContext;S!==null;){if(S.context===a){if(m.tag===1){S=nn(-1,r&-r),S.tag=2;var z=m.updateQueue;if(z!==null){z=z.shared;var M=z.pending;M===null?S.next=S:(S.next=M.next,M.next=S),z.pending=S}}m.lanes|=r,S=m.alternate,S!==null&&(S.lanes|=r),pl(m.return,r,e),v.lanes|=r;break}S=S.next}}else if(m.tag===10)c=m.type===e.type?null:m.child;else if(m.tag===18){if(c=m.return,c===null)throw Error(o(341));c.lanes|=r,v=c.alternate,v!==null&&(v.lanes|=r),pl(c,r,e),c=m.sibling}else c=m.child;if(c!==null)c.return=m;else for(c=m;c!==null;){if(c===e){c=null;break}if(m=c.sibling,m!==null){m.return=c.return,c=m;break}c=c.return}m=c}oe(t,e,l.children,r),e=e.child}return e;case 9:return l=e.type,a=e.pendingProps.children,hr(e,r),l=Te(l),a=a(l),e.flags|=1,oe(t,e,a,r),e.child;case 14:return a=e.type,l=Fe(a,e.pendingProps),l=Fe(a.type,l),Nc(t,e,a,l,r);case 15:return Lc(t,e,e.type,e.pendingProps,r);case 17:return a=e.type,l=e.pendingProps,l=e.elementType===a?l:Fe(a,l),Yo(t,e),e.tag=1,ue(a)?(t=!0,jo(e)):t=!1,hr(e,r),Ec(e,a,l),El(e,a,l,r),Al(null,e,a,!0,t,r);case 19:return $c(t,e,r);case 22:return Pc(t,e,r)}throw Error(o(156,e.tag))};function dg(t,e){return Gu(t,e)}function Iy(t,e,r,a){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ze(t,e,r,a){return new Iy(t,e,r,a)}function Yl(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Fy(t){if(typeof t=="function")return Yl(t)?1:0;if(t!=null){if(t=t.$$typeof,t===xt)return 11;if(t===Pt)return 14}return 2}function Cn(t,e){var r=t.alternate;return r===null?(r=ze(t.tag,e,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=e,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&14680064,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,e=t.dependencies,r.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function aa(t,e,r,a,l,m){var c=2;if(a=t,typeof t=="function")Yl(t)&&(c=1);else if(typeof t=="string")c=5;else t:switch(t){case U:return Yn(r.children,l,m,e);case q:c=8,l|=8;break;case V:return t=ze(12,r,e,l|2),t.elementType=V,t.lanes=m,t;case At:return t=ze(13,r,e,l),t.elementType=At,t.lanes=m,t;case bt:return t=ze(19,r,e,l),t.elementType=bt,t.lanes=m,t;case Tt:return sa(r,l,m,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case st:c=10;break t;case ct:c=9;break t;case xt:c=11;break t;case Pt:c=14;break t;case Ct:c=16,a=null;break t}throw Error(o(130,t==null?t:typeof t,""))}return e=ze(c,r,e,l),e.elementType=t,e.type=a,e.lanes=m,e}function Yn(t,e,r,a){return t=ze(7,t,a,e),t.lanes=r,t}function sa(t,e,r,a){return t=ze(22,t,a,e),t.elementType=Tt,t.lanes=r,t.stateNode={isHidden:!1},t}function Xl(t,e,r){return t=ze(6,t,null,e),t.lanes=r,t}function Ql(t,e,r){return e=ze(4,t.children!==null?t.children:[],t.key,e),e.lanes=r,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Dy(t,e,r,a,l){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ss(0),this.expirationTimes=Ss(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ss(0),this.identifierPrefix=a,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Kl(t,e,r,a,l,m,c,v,S){return t=new Dy(t,e,r,v,S),e===1?(e=1,m===!0&&(e|=8)):e=0,m=ze(3,null,null,e),t.current=m,m.stateNode=t,m.memoizedState={element:a,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},ul(m),t}function My(t,e,r){var a=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(mp)}catch(n){console.error(n)}}mp(),ap.exports=Eg();var Cg=ap.exports,up=Cg;fa.createRoot=up.createRoot,fa.hydrateRoot=up.hydrateRoot;let _i;const Tg=new Uint8Array(16);function Rg(){if(!_i&&(_i=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!_i))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return _i(Tg)}const Xt=[];for(let n=0;n<256;++n)Xt.push((n+256).toString(16).slice(1));function Ag(n,i=0){return Xt[n[i+0]]+Xt[n[i+1]]+Xt[n[i+2]]+Xt[n[i+3]]+"-"+Xt[n[i+4]]+Xt[n[i+5]]+"-"+Xt[n[i+6]]+Xt[n[i+7]]+"-"+Xt[n[i+8]]+Xt[n[i+9]]+"-"+Xt[n[i+10]]+Xt[n[i+11]]+Xt[n[i+12]]+Xt[n[i+13]]+Xt[n[i+14]]+Xt[n[i+15]]}const dp={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function cp(n,i,o){if(dp.randomUUID&&!i&&!n)return dp.randomUUID();n=n||{};const s=n.random||(n.rng||Rg)();return s[6]=s[6]&15|64,s[8]=s[8]&63|128,Ag(s)}const gp=tt.createContext({open:!1}),zg=n=>!n.isInitialized&&!n.open?"off":n.isInitialized&&!n.open?"standby":n.isInitialized&&n.open?"on":"unknown",jg=({config:n,children:i})=>{const[o,s]=tt.useState({open:!1,isInitialized:!1}),[p,d]=tt.useState(!1),[u,g]=tt.useState(new Map),h=()=>o.open?(d(!1),s(L=>({...L,open:!1}))):s(L=>({...L,open:!0,isInitialized:!0})),x=(L,b)=>{g(w=>{const k=new Map(w);return k.set(L,b),k})},y=L=>u.get(L),_=()=>{var w,k;const L=(k=(w=document.querySelector((n==null?void 0:n.target)||""))==null?void 0:w.firstElementChild)==null?void 0:k.shadowRoot,b=L==null?void 0:L.getElementById("gooey-popup-container");p?b==null||b.classList.remove("gooey-expanded-popup"):b==null||b.classList.add("gooey-expanded-popup"),d(I=>!I)},A={open:o.open,mode:zg(o),toggleWidget:h,config:n,setTempStoreValue:x,getTempStoreValue:y,isExpanded:p,expandWidget:_};return f.jsx(gp.Provider,{value:A,children:i})},Rn=()=>tt.useContext(em),Se=()=>tt.useContext(gp);function fp(n,i){return function(){return n.apply(i,arguments)}}const{toString:Og}=Object.prototype,{getPrototypeOf:ya}=Object,ki=(n=>i=>{const o=Og.call(i);return n[o]||(n[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),je=n=>(n=n.toLowerCase(),i=>ki(i)===n),Si=n=>i=>typeof i===n,{isArray:Xn}=Array,Sr=Si("undefined");function Ng(n){return n!==null&&!Sr(n)&&n.constructor!==null&&!Sr(n.constructor)&&he(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const hp=je("ArrayBuffer");function Lg(n){let i;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?i=ArrayBuffer.isView(n):i=n&&n.buffer&&hp(n.buffer),i}const Pg=Si("string"),he=Si("function"),xp=Si("number"),Ei=n=>n!==null&&typeof n=="object",Ig=n=>n===!0||n===!1,Ci=n=>{if(ki(n)!=="object")return!1;const i=ya(n);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},Fg=je("Date"),Dg=je("File"),Mg=je("Blob"),Ug=je("FileList"),Bg=n=>Ei(n)&&he(n.pipe),$g=n=>{let i;return n&&(typeof FormData=="function"&&n instanceof FormData||he(n.append)&&((i=ki(n))==="formdata"||i==="object"&&he(n.toString)&&n.toString()==="[object FormData]"))},Hg=je("URLSearchParams"),[Vg,Gg,Wg,Zg]=["ReadableStream","Request","Response","Headers"].map(je),qg=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Er(n,i,{allOwnKeys:o=!1}={}){if(n===null||typeof n>"u")return;let s,p;if(typeof n!="object"&&(n=[n]),Xn(n))for(s=0,p=n.length;s0;)if(p=o[s],i===p.toLowerCase())return p;return null}const An=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,wp=n=>!Sr(n)&&n!==An;function wa(){const{caseless:n}=wp(this)&&this||{},i={},o=(s,p)=>{const d=n&&yp(i,p)||p;Ci(i[d])&&Ci(s)?i[d]=wa(i[d],s):Ci(s)?i[d]=wa({},s):Xn(s)?i[d]=s.slice():i[d]=s};for(let s=0,p=arguments.length;s(Er(i,(p,d)=>{o&&he(p)?n[d]=fp(p,o):n[d]=p},{allOwnKeys:s}),n),Xg=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),Qg=(n,i,o,s)=>{n.prototype=Object.create(i.prototype,s),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:i.prototype}),o&&Object.assign(n.prototype,o)},Kg=(n,i,o,s)=>{let p,d,u;const g={};if(i=i||{},n==null)return i;do{for(p=Object.getOwnPropertyNames(n),d=p.length;d-- >0;)u=p[d],(!s||s(u,n,i))&&!g[u]&&(i[u]=n[u],g[u]=!0);n=o!==!1&&ya(n)}while(n&&(!o||o(n,i))&&n!==Object.prototype);return i},Jg=(n,i,o)=>{n=String(n),(o===void 0||o>n.length)&&(o=n.length),o-=i.length;const s=n.indexOf(i,o);return s!==-1&&s===o},tf=n=>{if(!n)return null;if(Xn(n))return n;let i=n.length;if(!xp(i))return null;const o=new Array(i);for(;i-- >0;)o[i]=n[i];return o},ef=(n=>i=>n&&i instanceof n)(typeof Uint8Array<"u"&&ya(Uint8Array)),nf=(n,i)=>{const s=(n&&n[Symbol.iterator]).call(n);let p;for(;(p=s.next())&&!p.done;){const d=p.value;i.call(n,d[0],d[1])}},rf=(n,i)=>{let o;const s=[];for(;(o=n.exec(i))!==null;)s.push(o);return s},of=je("HTMLFormElement"),af=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,s,p){return s.toUpperCase()+p}),vp=(({hasOwnProperty:n})=>(i,o)=>n.call(i,o))(Object.prototype),sf=je("RegExp"),bp=(n,i)=>{const o=Object.getOwnPropertyDescriptors(n),s={};Er(o,(p,d)=>{let u;(u=i(p,d,n))!==!1&&(s[d]=u||p)}),Object.defineProperties(n,s)},lf=n=>{bp(n,(i,o)=>{if(he(n)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const s=n[o];if(he(s)){if(i.enumerable=!1,"writable"in i){i.writable=!1;return}i.set||(i.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},pf=(n,i)=>{const o={},s=p=>{p.forEach(d=>{o[d]=!0})};return Xn(n)?s(n):s(String(n).split(i)),o},mf=()=>{},uf=(n,i)=>n!=null&&Number.isFinite(n=+n)?n:i,va="abcdefghijklmnopqrstuvwxyz",_p="0123456789",kp={DIGIT:_p,ALPHA:va,ALPHA_DIGIT:va+va.toUpperCase()+_p},df=(n=16,i=kp.ALPHA_DIGIT)=>{let o="";const{length:s}=i;for(;n--;)o+=i[Math.random()*s|0];return o};function cf(n){return!!(n&&he(n.append)&&n[Symbol.toStringTag]==="FormData"&&n[Symbol.iterator])}const gf=n=>{const i=new Array(10),o=(s,p)=>{if(Ei(s)){if(i.indexOf(s)>=0)return;if(!("toJSON"in s)){i[p]=s;const d=Xn(s)?[]:{};return Er(s,(u,g)=>{const h=o(u,p+1);!Sr(h)&&(d[g]=h)}),i[p]=void 0,d}}return s};return o(n,0)},ff=je("AsyncFunction"),hf=n=>n&&(Ei(n)||he(n))&&he(n.then)&&he(n.catch),Sp=((n,i)=>n?setImmediate:i?((o,s)=>(An.addEventListener("message",({source:p,data:d})=>{p===An&&d===o&&s.length&&s.shift()()},!1),p=>{s.push(p),An.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",he(An.postMessage)),xf=typeof queueMicrotask<"u"?queueMicrotask.bind(An):typeof process<"u"&&process.nextTick||Sp,j={isArray:Xn,isArrayBuffer:hp,isBuffer:Ng,isFormData:$g,isArrayBufferView:Lg,isString:Pg,isNumber:xp,isBoolean:Ig,isObject:Ei,isPlainObject:Ci,isReadableStream:Vg,isRequest:Gg,isResponse:Wg,isHeaders:Zg,isUndefined:Sr,isDate:Fg,isFile:Dg,isBlob:Mg,isRegExp:sf,isFunction:he,isStream:Bg,isURLSearchParams:Hg,isTypedArray:ef,isFileList:Ug,forEach:Er,merge:wa,extend:Yg,trim:qg,stripBOM:Xg,inherits:Qg,toFlatObject:Kg,kindOf:ki,kindOfTest:je,endsWith:Jg,toArray:tf,forEachEntry:nf,matchAll:rf,isHTMLForm:of,hasOwnProperty:vp,hasOwnProp:vp,reduceDescriptors:bp,freezeMethods:lf,toObjectSet:pf,toCamelCase:af,noop:mf,toFiniteNumber:uf,findKey:yp,global:An,isContextDefined:wp,ALPHABET:kp,generateString:df,isSpecCompliantForm:cf,toJSONObject:gf,isAsyncFn:ff,isThenable:hf,setImmediate:Sp,asap:xf};function lt(n,i,o,s,p){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",i&&(this.code=i),o&&(this.config=o),s&&(this.request=s),p&&(this.response=p)}j.inherits(lt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:j.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ep=lt.prototype,Cp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{Cp[n]={value:n}}),Object.defineProperties(lt,Cp),Object.defineProperty(Ep,"isAxiosError",{value:!0}),lt.from=(n,i,o,s,p,d)=>{const u=Object.create(Ep);return j.toFlatObject(n,u,function(h){return h!==Error.prototype},g=>g!=="isAxiosError"),lt.call(u,n.message,i,o,s,p),u.cause=n,u.name=n.name,d&&Object.assign(u,d),u};const yf=null;function ba(n){return j.isPlainObject(n)||j.isArray(n)}function Tp(n){return j.endsWith(n,"[]")?n.slice(0,-2):n}function Rp(n,i,o){return n?n.concat(i).map(function(p,d){return p=Tp(p),!o&&d?"["+p+"]":p}).join(o?".":""):i}function wf(n){return j.isArray(n)&&!n.some(ba)}const vf=j.toFlatObject(j,{},null,function(i){return/^is[A-Z]/.test(i)});function Ti(n,i,o){if(!j.isObject(n))throw new TypeError("target must be an object");i=i||new FormData,o=j.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,k){return!j.isUndefined(k[w])});const s=o.metaTokens,p=o.visitor||y,d=o.dots,u=o.indexes,h=(o.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(i);if(!j.isFunction(p))throw new TypeError("visitor must be a function");function x(b){if(b===null)return"";if(j.isDate(b))return b.toISOString();if(!h&&j.isBlob(b))throw new lt("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(b)||j.isTypedArray(b)?h&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function y(b,w,k){let I=b;if(b&&!k&&typeof b=="object"){if(j.endsWith(w,"{}"))w=s?w:w.slice(0,-2),b=JSON.stringify(b);else if(j.isArray(b)&&wf(b)||(j.isFileList(b)||j.endsWith(w,"[]"))&&(I=j.toArray(b)))return w=Tp(w),I.forEach(function(O,G){!(j.isUndefined(O)||O===null)&&i.append(u===!0?Rp([w],G,d):u===null?w:w+"[]",x(O))}),!1}return ba(b)?!0:(i.append(Rp(k,w,d),x(b)),!1)}const _=[],A=Object.assign(vf,{defaultVisitor:y,convertValue:x,isVisitable:ba});function L(b,w){if(!j.isUndefined(b)){if(_.indexOf(b)!==-1)throw Error("Circular reference detected in "+w.join("."));_.push(b),j.forEach(b,function(I,N){(!(j.isUndefined(I)||I===null)&&p.call(i,I,j.isString(N)?N.trim():N,w,A))===!0&&L(I,w?w.concat(N):[N])}),_.pop()}}if(!j.isObject(n))throw new TypeError("data must be an object");return L(n),i}function Ap(n){const i={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(s){return i[s]})}function _a(n,i){this._pairs=[],n&&Ti(n,this,i)}const zp=_a.prototype;zp.append=function(i,o){this._pairs.push([i,o])},zp.toString=function(i){const o=i?function(s){return i.call(this,s,Ap)}:Ap;return this._pairs.map(function(p){return o(p[0])+"="+o(p[1])},"").join("&")};function bf(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function jp(n,i,o){if(!i)return n;const s=o&&o.encode||bf,p=o&&o.serialize;let d;if(p?d=p(i,o):d=j.isURLSearchParams(i)?i.toString():new _a(i,o).toString(s),d){const u=n.indexOf("#");u!==-1&&(n=n.slice(0,u)),n+=(n.indexOf("?")===-1?"?":"&")+d}return n}class Op{constructor(){this.handlers=[]}use(i,o,s){return this.handlers.push({fulfilled:i,rejected:o,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(i){this.handlers[i]&&(this.handlers[i]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(i){j.forEach(this.handlers,function(s){s!==null&&i(s)})}}const Np={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},_f={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:_a,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},ka=typeof window<"u"&&typeof document<"u",kf=(n=>ka&&["ReactNative","NativeScript","NS"].indexOf(n)<0)(typeof navigator<"u"&&navigator.product),Sf=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ef=ka&&window.location.href||"http://localhost",Oe={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ka,hasStandardBrowserEnv:kf,hasStandardBrowserWebWorkerEnv:Sf,origin:Ef},Symbol.toStringTag,{value:"Module"})),..._f};function Cf(n,i){return Ti(n,new Oe.classes.URLSearchParams,Object.assign({visitor:function(o,s,p,d){return Oe.isNode&&j.isBuffer(o)?(this.append(s,o.toString("base64")),!1):d.defaultVisitor.apply(this,arguments)}},i))}function Tf(n){return j.matchAll(/\w+|\[(\w*)]/g,n).map(i=>i[0]==="[]"?"":i[1]||i[0])}function Rf(n){const i={},o=Object.keys(n);let s;const p=o.length;let d;for(s=0;s=o.length;return u=!u&&j.isArray(p)?p.length:u,h?(j.hasOwnProp(p,u)?p[u]=[p[u],s]:p[u]=s,!g):((!p[u]||!j.isObject(p[u]))&&(p[u]=[]),i(o,s,p[u],d)&&j.isArray(p[u])&&(p[u]=Rf(p[u])),!g)}if(j.isFormData(n)&&j.isFunction(n.entries)){const o={};return j.forEachEntry(n,(s,p)=>{i(Tf(s),p,o,0)}),o}return null}function Af(n,i,o){if(j.isString(n))try{return(i||JSON.parse)(n),j.trim(n)}catch(s){if(s.name!=="SyntaxError")throw s}return(o||JSON.stringify)(n)}const Cr={transitional:Np,adapter:["xhr","http","fetch"],transformRequest:[function(i,o){const s=o.getContentType()||"",p=s.indexOf("application/json")>-1,d=j.isObject(i);if(d&&j.isHTMLForm(i)&&(i=new FormData(i)),j.isFormData(i))return p?JSON.stringify(Lp(i)):i;if(j.isArrayBuffer(i)||j.isBuffer(i)||j.isStream(i)||j.isFile(i)||j.isBlob(i)||j.isReadableStream(i))return i;if(j.isArrayBufferView(i))return i.buffer;if(j.isURLSearchParams(i))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),i.toString();let g;if(d){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Cf(i,this.formSerializer).toString();if((g=j.isFileList(i))||s.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return Ti(g?{"files[]":i}:i,h&&new h,this.formSerializer)}}return d||p?(o.setContentType("application/json",!1),Af(i)):i}],transformResponse:[function(i){const o=this.transitional||Cr.transitional,s=o&&o.forcedJSONParsing,p=this.responseType==="json";if(j.isResponse(i)||j.isReadableStream(i))return i;if(i&&j.isString(i)&&(s&&!this.responseType||p)){const u=!(o&&o.silentJSONParsing)&&p;try{return JSON.parse(i)}catch(g){if(u)throw g.name==="SyntaxError"?lt.from(g,lt.ERR_BAD_RESPONSE,this,null,this.response):g}}return i}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Oe.classes.FormData,Blob:Oe.classes.Blob},validateStatus:function(i){return i>=200&&i<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],n=>{Cr.headers[n]={}});const zf=j.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),jf=n=>{const i={};let o,s,p;return n&&n.split(` -`).forEach(function(u){p=u.indexOf(":"),o=u.substring(0,p).trim().toLowerCase(),s=u.substring(p+1).trim(),!(!o||i[o]&&zf[o])&&(o==="set-cookie"?i[o]?i[o].push(s):i[o]=[s]:i[o]=i[o]?i[o]+", "+s:s)}),i},Pp=Symbol("internals");function Tr(n){return n&&String(n).trim().toLowerCase()}function Ri(n){return n===!1||n==null?n:j.isArray(n)?n.map(Ri):String(n)}function Of(n){const i=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=o.exec(n);)i[s[1]]=s[2];return i}const Nf=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function Sa(n,i,o,s,p){if(j.isFunction(s))return s.call(this,i,o);if(p&&(i=o),!!j.isString(i)){if(j.isString(s))return i.indexOf(s)!==-1;if(j.isRegExp(s))return s.test(i)}}function Lf(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(i,o,s)=>o.toUpperCase()+s)}function Pf(n,i){const o=j.toCamelCase(" "+i);["get","set","has"].forEach(s=>{Object.defineProperty(n,s+o,{value:function(p,d,u){return this[s].call(this,i,p,d,u)},configurable:!0})})}class le{constructor(i){i&&this.set(i)}set(i,o,s){const p=this;function d(g,h,x){const y=Tr(h);if(!y)throw new Error("header name must be a non-empty string");const _=j.findKey(p,y);(!_||p[_]===void 0||x===!0||x===void 0&&p[_]!==!1)&&(p[_||h]=Ri(g))}const u=(g,h)=>j.forEach(g,(x,y)=>d(x,y,h));if(j.isPlainObject(i)||i instanceof this.constructor)u(i,o);else if(j.isString(i)&&(i=i.trim())&&!Nf(i))u(jf(i),o);else if(j.isHeaders(i))for(const[g,h]of i.entries())d(h,g,s);else i!=null&&d(o,i,s);return this}get(i,o){if(i=Tr(i),i){const s=j.findKey(this,i);if(s){const p=this[s];if(!o)return p;if(o===!0)return Of(p);if(j.isFunction(o))return o.call(this,p,s);if(j.isRegExp(o))return o.exec(p);throw new TypeError("parser must be boolean|regexp|function")}}}has(i,o){if(i=Tr(i),i){const s=j.findKey(this,i);return!!(s&&this[s]!==void 0&&(!o||Sa(this,this[s],s,o)))}return!1}delete(i,o){const s=this;let p=!1;function d(u){if(u=Tr(u),u){const g=j.findKey(s,u);g&&(!o||Sa(s,s[g],g,o))&&(delete s[g],p=!0)}}return j.isArray(i)?i.forEach(d):d(i),p}clear(i){const o=Object.keys(this);let s=o.length,p=!1;for(;s--;){const d=o[s];(!i||Sa(this,this[d],d,i,!0))&&(delete this[d],p=!0)}return p}normalize(i){const o=this,s={};return j.forEach(this,(p,d)=>{const u=j.findKey(s,d);if(u){o[u]=Ri(p),delete o[d];return}const g=i?Lf(d):String(d).trim();g!==d&&delete o[d],o[g]=Ri(p),s[g]=!0}),this}concat(...i){return this.constructor.concat(this,...i)}toJSON(i){const o=Object.create(null);return j.forEach(this,(s,p)=>{s!=null&&s!==!1&&(o[p]=i&&j.isArray(s)?s.join(", "):s)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([i,o])=>i+": "+o).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static concat(i,...o){const s=new this(i);return o.forEach(p=>s.set(p)),s}static accessor(i){const s=(this[Pp]=this[Pp]={accessors:{}}).accessors,p=this.prototype;function d(u){const g=Tr(u);s[g]||(Pf(p,u),s[g]=!0)}return j.isArray(i)?i.forEach(d):d(i),this}}le.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),j.reduceDescriptors(le.prototype,({value:n},i)=>{let o=i[0].toUpperCase()+i.slice(1);return{get:()=>n,set(s){this[o]=s}}}),j.freezeMethods(le);function Ea(n,i){const o=this||Cr,s=i||o,p=le.from(s.headers);let d=s.data;return j.forEach(n,function(g){d=g.call(o,d,p.normalize(),i?i.status:void 0)}),p.normalize(),d}function Ip(n){return!!(n&&n.__CANCEL__)}function Qn(n,i,o){lt.call(this,n??"canceled",lt.ERR_CANCELED,i,o),this.name="CanceledError"}j.inherits(Qn,lt,{__CANCEL__:!0});function Fp(n,i,o){const s=o.config.validateStatus;!o.status||!s||s(o.status)?n(o):i(new lt("Request failed with status code "+o.status,[lt.ERR_BAD_REQUEST,lt.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}function If(n){const i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return i&&i[1]||""}function Ff(n,i){n=n||10;const o=new Array(n),s=new Array(n);let p=0,d=0,u;return i=i!==void 0?i:1e3,function(h){const x=Date.now(),y=s[d];u||(u=x),o[p]=h,s[p]=x;let _=d,A=0;for(;_!==p;)A+=o[_++],_=_%n;if(p=(p+1)%n,p===d&&(d=(d+1)%n),x-u{o=y,p=null,d&&(clearTimeout(d),d=null),n.apply(null,x)};return[(...x)=>{const y=Date.now(),_=y-o;_>=s?u(x,y):(p=x,d||(d=setTimeout(()=>{d=null,u(p)},s-_)))},()=>p&&u(p)]}const Ai=(n,i,o=3)=>{let s=0;const p=Ff(50,250);return Df(d=>{const u=d.loaded,g=d.lengthComputable?d.total:void 0,h=u-s,x=p(h),y=u<=g;s=u;const _={loaded:u,total:g,progress:g?u/g:void 0,bytes:h,rate:x||void 0,estimated:x&&g&&y?(g-u)/x:void 0,event:d,lengthComputable:g!=null,[i?"download":"upload"]:!0};n(_)},o)},Dp=(n,i)=>{const o=n!=null;return[s=>i[0]({lengthComputable:o,total:n,loaded:s}),i[1]]},Mp=n=>(...i)=>j.asap(()=>n(...i)),Mf=Oe.hasStandardBrowserEnv?function(){const i=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");let s;function p(d){let u=d;return i&&(o.setAttribute("href",u),u=o.href),o.setAttribute("href",u),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:o.pathname.charAt(0)==="/"?o.pathname:"/"+o.pathname}}return s=p(window.location.href),function(u){const g=j.isString(u)?p(u):u;return g.protocol===s.protocol&&g.host===s.host}}():function(){return function(){return!0}}(),Uf=Oe.hasStandardBrowserEnv?{write(n,i,o,s,p,d){const u=[n+"="+encodeURIComponent(i)];j.isNumber(o)&&u.push("expires="+new Date(o).toGMTString()),j.isString(s)&&u.push("path="+s),j.isString(p)&&u.push("domain="+p),d===!0&&u.push("secure"),document.cookie=u.join("; ")},read(n){const i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Bf(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function $f(n,i){return i?n.replace(/\/?\/$/,"")+"/"+i.replace(/^\/+/,""):n}function Up(n,i){return n&&!Bf(i)?$f(n,i):i}const Bp=n=>n instanceof le?{...n}:n;function zn(n,i){i=i||{};const o={};function s(x,y,_){return j.isPlainObject(x)&&j.isPlainObject(y)?j.merge.call({caseless:_},x,y):j.isPlainObject(y)?j.merge({},y):j.isArray(y)?y.slice():y}function p(x,y,_){if(j.isUndefined(y)){if(!j.isUndefined(x))return s(void 0,x,_)}else return s(x,y,_)}function d(x,y){if(!j.isUndefined(y))return s(void 0,y)}function u(x,y){if(j.isUndefined(y)){if(!j.isUndefined(x))return s(void 0,x)}else return s(void 0,y)}function g(x,y,_){if(_ in i)return s(x,y);if(_ in n)return s(void 0,x)}const h={url:d,method:d,data:d,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:g,headers:(x,y)=>p(Bp(x),Bp(y),!0)};return j.forEach(Object.keys(Object.assign({},n,i)),function(y){const _=h[y]||p,A=_(n[y],i[y],y);j.isUndefined(A)&&_!==g||(o[y]=A)}),o}const $p=n=>{const i=zn({},n);let{data:o,withXSRFToken:s,xsrfHeaderName:p,xsrfCookieName:d,headers:u,auth:g}=i;i.headers=u=le.from(u),i.url=jp(Up(i.baseURL,i.url),n.params,n.paramsSerializer),g&&u.set("Authorization","Basic "+btoa((g.username||"")+":"+(g.password?unescape(encodeURIComponent(g.password)):"")));let h;if(j.isFormData(o)){if(Oe.hasStandardBrowserEnv||Oe.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if((h=u.getContentType())!==!1){const[x,...y]=h?h.split(";").map(_=>_.trim()).filter(Boolean):[];u.setContentType([x||"multipart/form-data",...y].join("; "))}}if(Oe.hasStandardBrowserEnv&&(s&&j.isFunction(s)&&(s=s(i)),s||s!==!1&&Mf(i.url))){const x=p&&d&&Uf.read(d);x&&u.set(p,x)}return i},Hf=typeof XMLHttpRequest<"u"&&function(n){return new Promise(function(o,s){const p=$p(n);let d=p.data;const u=le.from(p.headers).normalize();let{responseType:g,onUploadProgress:h,onDownloadProgress:x}=p,y,_,A,L,b;function w(){L&&L(),b&&b(),p.cancelToken&&p.cancelToken.unsubscribe(y),p.signal&&p.signal.removeEventListener("abort",y)}let k=new XMLHttpRequest;k.open(p.method.toUpperCase(),p.url,!0),k.timeout=p.timeout;function I(){if(!k)return;const O=le.from("getAllResponseHeaders"in k&&k.getAllResponseHeaders()),X={data:!g||g==="text"||g==="json"?k.responseText:k.response,status:k.status,statusText:k.statusText,headers:O,config:n,request:k};Fp(function(U){o(U),w()},function(U){s(U),w()},X),k=null}"onloadend"in k?k.onloadend=I:k.onreadystatechange=function(){!k||k.readyState!==4||k.status===0&&!(k.responseURL&&k.responseURL.indexOf("file:")===0)||setTimeout(I)},k.onabort=function(){k&&(s(new lt("Request aborted",lt.ECONNABORTED,n,k)),k=null)},k.onerror=function(){s(new lt("Network Error",lt.ERR_NETWORK,n,k)),k=null},k.ontimeout=function(){let G=p.timeout?"timeout of "+p.timeout+"ms exceeded":"timeout exceeded";const X=p.transitional||Np;p.timeoutErrorMessage&&(G=p.timeoutErrorMessage),s(new lt(G,X.clarifyTimeoutError?lt.ETIMEDOUT:lt.ECONNABORTED,n,k)),k=null},d===void 0&&u.setContentType(null),"setRequestHeader"in k&&j.forEach(u.toJSON(),function(G,X){k.setRequestHeader(X,G)}),j.isUndefined(p.withCredentials)||(k.withCredentials=!!p.withCredentials),g&&g!=="json"&&(k.responseType=p.responseType),x&&([A,b]=Ai(x,!0),k.addEventListener("progress",A)),h&&k.upload&&([_,L]=Ai(h),k.upload.addEventListener("progress",_),k.upload.addEventListener("loadend",L)),(p.cancelToken||p.signal)&&(y=O=>{k&&(s(!O||O.type?new Qn(null,n,k):O),k.abort(),k=null)},p.cancelToken&&p.cancelToken.subscribe(y),p.signal&&(p.signal.aborted?y():p.signal.addEventListener("abort",y)));const N=If(p.url);if(N&&Oe.protocols.indexOf(N)===-1){s(new lt("Unsupported protocol "+N+":",lt.ERR_BAD_REQUEST,n));return}k.send(d||null)})},Vf=(n,i)=>{let o=new AbortController,s;const p=function(h){if(!s){s=!0,u();const x=h instanceof Error?h:this.reason;o.abort(x instanceof lt?x:new Qn(x instanceof Error?x.message:x))}};let d=i&&setTimeout(()=>{p(new lt(`timeout ${i} of ms exceeded`,lt.ETIMEDOUT))},i);const u=()=>{n&&(d&&clearTimeout(d),d=null,n.forEach(h=>{h&&(h.removeEventListener?h.removeEventListener("abort",p):h.unsubscribe(p))}),n=null)};n.forEach(h=>h&&h.addEventListener&&h.addEventListener("abort",p));const{signal:g}=o;return g.unsubscribe=u,[g,()=>{d&&clearTimeout(d),d=null}]},Gf=function*(n,i){let o=n.byteLength;if(!i||o{const d=Wf(n,i,p);let u=0,g,h=x=>{g||(g=!0,s&&s(x))};return new ReadableStream({async pull(x){try{const{done:y,value:_}=await d.next();if(y){h(),x.close();return}let A=_.byteLength;if(o){let L=u+=A;o(L)}x.enqueue(new Uint8Array(_))}catch(y){throw h(y),y}},cancel(x){return h(x),d.return()}},{highWaterMark:2})},zi=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Vp=zi&&typeof ReadableStream=="function",Ca=zi&&(typeof TextEncoder=="function"?(n=>i=>n.encode(i))(new TextEncoder):async n=>new Uint8Array(await new Response(n).arrayBuffer())),Gp=(n,...i)=>{try{return!!n(...i)}catch{return!1}},Zf=Vp&&Gp(()=>{let n=!1;const i=new Request(Oe.origin,{body:new ReadableStream,method:"POST",get duplex(){return n=!0,"half"}}).headers.has("Content-Type");return n&&!i}),Wp=64*1024,Ta=Vp&&Gp(()=>j.isReadableStream(new Response("").body)),ji={stream:Ta&&(n=>n.body)};zi&&(n=>{["text","arrayBuffer","blob","formData","stream"].forEach(i=>{!ji[i]&&(ji[i]=j.isFunction(n[i])?o=>o[i]():(o,s)=>{throw new lt(`Response type '${i}' is not supported`,lt.ERR_NOT_SUPPORT,s)})})})(new Response);const qf=async n=>{if(n==null)return 0;if(j.isBlob(n))return n.size;if(j.isSpecCompliantForm(n))return(await new Request(n).arrayBuffer()).byteLength;if(j.isArrayBufferView(n)||j.isArrayBuffer(n))return n.byteLength;if(j.isURLSearchParams(n)&&(n=n+""),j.isString(n))return(await Ca(n)).byteLength},Yf=async(n,i)=>{const o=j.toFiniteNumber(n.getContentLength());return o??qf(i)},Ra={http:yf,xhr:Hf,fetch:zi&&(async n=>{let{url:i,method:o,data:s,signal:p,cancelToken:d,timeout:u,onDownloadProgress:g,onUploadProgress:h,responseType:x,headers:y,withCredentials:_="same-origin",fetchOptions:A}=$p(n);x=x?(x+"").toLowerCase():"text";let[L,b]=p||d||u?Vf([p,d],u):[],w,k;const I=()=>{!w&&setTimeout(()=>{L&&L.unsubscribe()}),w=!0};let N;try{if(h&&Zf&&o!=="get"&&o!=="head"&&(N=await Yf(y,s))!==0){let et=new Request(i,{method:"POST",body:s,duplex:"half"}),U;if(j.isFormData(s)&&(U=et.headers.get("content-type"))&&y.setContentType(U),et.body){const[q,V]=Dp(N,Ai(Mp(h)));s=Hp(et.body,Wp,q,V,Ca)}}j.isString(_)||(_=_?"include":"omit"),k=new Request(i,{...A,signal:L,method:o.toUpperCase(),headers:y.normalize().toJSON(),body:s,duplex:"half",credentials:_});let O=await fetch(k);const G=Ta&&(x==="stream"||x==="response");if(Ta&&(g||G)){const et={};["status","statusText","headers"].forEach(st=>{et[st]=O[st]});const U=j.toFiniteNumber(O.headers.get("content-length")),[q,V]=g&&Dp(U,Ai(Mp(g),!0))||[];O=new Response(Hp(O.body,Wp,q,()=>{V&&V(),G&&I()},Ca),et)}x=x||"text";let X=await ji[j.findKey(ji,x)||"text"](O,n);return!G&&I(),b&&b(),await new Promise((et,U)=>{Fp(et,U,{data:X,headers:le.from(O.headers),status:O.status,statusText:O.statusText,config:n,request:k})})}catch(O){throw I(),O&&O.name==="TypeError"&&/fetch/i.test(O.message)?Object.assign(new lt("Network Error",lt.ERR_NETWORK,n,k),{cause:O.cause||O}):lt.from(O,O&&O.code,n,k)}})};j.forEach(Ra,(n,i)=>{if(n){try{Object.defineProperty(n,"name",{value:i})}catch{}Object.defineProperty(n,"adapterName",{value:i})}});const Zp=n=>`- ${n}`,Xf=n=>j.isFunction(n)||n===null||n===!1,qp={getAdapter:n=>{n=j.isArray(n)?n:[n];const{length:i}=n;let o,s;const p={};for(let d=0;d`adapter ${g} `+(h===!1?"is not supported by the environment":"is not available in the build"));let u=i?d.length>1?`since : -`+d.map(Zp).join(` -`):" "+Zp(d[0]):"as no adapter specified";throw new lt("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return s},adapters:Ra};function Aa(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new Qn(null,n)}function Yp(n){return Aa(n),n.headers=le.from(n.headers),n.data=Ea.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),qp.getAdapter(n.adapter||Cr.adapter)(n).then(function(s){return Aa(n),s.data=Ea.call(n,n.transformResponse,s),s.headers=le.from(s.headers),s},function(s){return Ip(s)||(Aa(n),s&&s.response&&(s.response.data=Ea.call(n,n.transformResponse,s.response),s.response.headers=le.from(s.response.headers))),Promise.reject(s)})}const Xp="1.7.3",za={};["object","boolean","number","function","string","symbol"].forEach((n,i)=>{za[n]=function(s){return typeof s===n||"a"+(i<1?"n ":" ")+n}});const Qp={};za.transitional=function(i,o,s){function p(d,u){return"[Axios v"+Xp+"] Transitional option '"+d+"'"+u+(s?". "+s:"")}return(d,u,g)=>{if(i===!1)throw new lt(p(u," has been removed"+(o?" in "+o:"")),lt.ERR_DEPRECATED);return o&&!Qp[u]&&(Qp[u]=!0,console.warn(p(u," has been deprecated since v"+o+" and will be removed in the near future"))),i?i(d,u,g):!0}};function Qf(n,i,o){if(typeof n!="object")throw new lt("options must be an object",lt.ERR_BAD_OPTION_VALUE);const s=Object.keys(n);let p=s.length;for(;p-- >0;){const d=s[p],u=i[d];if(u){const g=n[d],h=g===void 0||u(g,d,n);if(h!==!0)throw new lt("option "+d+" must be "+h,lt.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new lt("Unknown option "+d,lt.ERR_BAD_OPTION)}}const ja={assertOptions:Qf,validators:za},an=ja.validators;class jn{constructor(i){this.defaults=i,this.interceptors={request:new Op,response:new Op}}async request(i,o){try{return await this._request(i,o)}catch(s){if(s instanceof Error){let p;Error.captureStackTrace?Error.captureStackTrace(p={}):p=new Error;const d=p.stack?p.stack.replace(/^.+\n/,""):"";try{s.stack?d&&!String(s.stack).endsWith(d.replace(/^.+\n.+\n/,""))&&(s.stack+=` -`+d):s.stack=d}catch{}}throw s}}_request(i,o){typeof i=="string"?(o=o||{},o.url=i):o=i||{},o=zn(this.defaults,o);const{transitional:s,paramsSerializer:p,headers:d}=o;s!==void 0&&ja.assertOptions(s,{silentJSONParsing:an.transitional(an.boolean),forcedJSONParsing:an.transitional(an.boolean),clarifyTimeoutError:an.transitional(an.boolean)},!1),p!=null&&(j.isFunction(p)?o.paramsSerializer={serialize:p}:ja.assertOptions(p,{encode:an.function,serialize:an.function},!0)),o.method=(o.method||this.defaults.method||"get").toLowerCase();let u=d&&j.merge(d.common,d[o.method]);d&&j.forEach(["delete","get","head","post","put","patch","common"],b=>{delete d[b]}),o.headers=le.concat(u,d);const g=[];let h=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(o)===!1||(h=h&&w.synchronous,g.unshift(w.fulfilled,w.rejected))});const x=[];this.interceptors.response.forEach(function(w){x.push(w.fulfilled,w.rejected)});let y,_=0,A;if(!h){const b=[Yp.bind(this),void 0];for(b.unshift.apply(b,g),b.push.apply(b,x),A=b.length,y=Promise.resolve(o);_{if(!s._listeners)return;let d=s._listeners.length;for(;d-- >0;)s._listeners[d](p);s._listeners=null}),this.promise.then=p=>{let d;const u=new Promise(g=>{s.subscribe(g),d=g}).then(p);return u.cancel=function(){s.unsubscribe(d)},u},i(function(d,u,g){s.reason||(s.reason=new Qn(d,u,g),o(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;const o=this._listeners.indexOf(i);o!==-1&&this._listeners.splice(o,1)}static source(){let i;return{token:new Oa(function(p){i=p}),cancel:i}}}function Kf(n){return function(o){return n.apply(null,o)}}function Jf(n){return j.isObject(n)&&n.isAxiosError===!0}const Na={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Na).forEach(([n,i])=>{Na[i]=n});function Kp(n){const i=new jn(n),o=fp(jn.prototype.request,i);return j.extend(o,jn.prototype,i,{allOwnKeys:!0}),j.extend(o,i,null,{allOwnKeys:!0}),o.create=function(p){return Kp(zn(n,p))},o}const Nt=Kp(Cr);Nt.Axios=jn,Nt.CanceledError=Qn,Nt.CancelToken=Oa,Nt.isCancel=Ip,Nt.VERSION=Xp,Nt.toFormData=Ti,Nt.AxiosError=lt,Nt.Cancel=Nt.CanceledError,Nt.all=function(i){return Promise.all(i)},Nt.spread=Kf,Nt.isAxiosError=Jf,Nt.mergeConfig=zn,Nt.AxiosHeaders=le,Nt.formToJSON=n=>Lp(j.isHTMLForm(n)?new FormData(n):n),Nt.getAdapter=qp.getAdapter,Nt.HttpStatusCode=Na,Nt.default=Nt;var t0={REACT_APP_GOOEY_SERVER:"https://api.gooey.ai",REACT_APP_BOT_ID:"5pV",NVM_INC:"/Users/anish/.nvm/versions/node/v18.20.2/include/node",TERM_PROGRAM:"vscode",NODE:"/Users/anish/.nvm/versions/node/v18.20.2/bin/node",INIT_CWD:"/Users/anish/code/gooey-web-widget",NVM_CD_FLAGS:"-q",PYENV_ROOT:"/Users/anish/.pyenv",npm_package_devDependencies_typescript:"^5.2.2",npm_package_dependencies_axios:"^1.6.5",npm_config_version_git_tag:"true",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_package_devDependencies_vite:"^5.0.8",npm_package_dependencies_prism_react_renderer:"^2.3.1",TMPDIR:"/var/folders/hd/8h7yzv6937506rv5mqd6gbzr0000gn/T/",HOMEBREW_REPOSITORY:"/opt/homebrew",npm_package_devDependencies_clsx:"^2.1.0",npm_package_scripts_lint:"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",npm_config_init_license:"MIT",TERM_PROGRAM_VERSION:"1.92.1",npm_package_devDependencies__vitejs_plugin_react:"^4.2.1",npm_package_scripts_dev:"vite",MallocNanoZone:"0",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",ZDOTDIR:"/Users/anish",npm_package_dependencies_uuid:"^9.0.1",npm_package_private:"true",npm_config_registry:"https://registry.yarnpkg.com",npm_package_devDependencies_eslint_plugin_react_refresh:"^0.4.5",npm_package_dependencies_react_dom:"^18.2.0",npm_package_readmeFilename:"README.md",npm_package_dependencies_html_react_parser:"^5.1.10",USER:"anish",NVM_DIR:"/Users/anish/.nvm",npm_package_description:"A clean, self-hostable web widget for Gooey.AI Copilots, with streaming support with every major LLM, speech-reco, and Text-to-Speech covering 1000+ languages, photo uploads, feedback, and analytics.",npm_package_license:"Apache-2.0",npm_package_devDependencies__types_react:"^18.2.43",COMMAND_MODE:"unix2003",PUPPETEER_EXECUTABLE_PATH:"/opt/homebrew/bin/chromium",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.V1sISwnzwy/Listeners",__CF_USER_TEXT_ENCODING:"0x1F5:0x0:0x0",npm_package_devDependencies_eslint:"^8.55.0",npm_execpath:"/Users/anish/.nvm/versions/node/v18.20.2/lib/node_modules/yarn/bin/yarn.js",npm_package_devDependencies__typescript_eslint_eslint_plugin:"^6.14.0",npm_package_devDependencies_vite_plugin_require_transform:"^1.0.21",npm_package_dependencies_marked:"^12.0.2",npm_package_devDependencies__types_react_dom:"^18.2.17",npm_package_devDependencies__typescript_eslint_parser:"^6.14.0",PATH:"/var/folders/hd/8h7yzv6937506rv5mqd6gbzr0000gn/T/yarn--1723572773754-0.8622238062033789:/Users/anish/code/gooey-web-widget/node_modules/.bin:/Users/anish/.config/yarn/link/node_modules/.bin:/Users/anish/.yarn/bin:/Users/anish/.nvm/versions/node/v18.20.2/libexec/lib/node_modules/npm/bin/node-gyp-bin:/Users/anish/.nvm/versions/node/v18.20.2/lib/node_modules/npm/bin/node-gyp-bin:/Users/anish/.nvm/versions/node/v18.20.2/bin/node_modules/npm/bin/node-gyp-bin:/Users/anish/google-cloud-sdk/bin:/Users/anish/.local/bin:/Users/anish/.pyenv/shims:/Users/anish/.nvm/versions/node/v18.20.2/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/anish/google-cloud-sdk/bin:/Users/anish/.local/bin:/Users/anish/.nvm/versions/node/v18.20.2/bin:/opt/homebrew/bin:/opt/homebrew/sbin",npm_config_argv:'{"remain":[],"cooked":["run","build"],"original":["build","--watch"]}',_:"/Users/anish/code/gooey-web-widget/node_modules/.bin/vite",__CFBundleIdentifier:"com.microsoft.VSCode",USER_ZDOTDIR:"/Users/anish",PWD:"/Users/anish/code/gooey-web-widget",npm_package_devDependencies_eslint_plugin_react_hooks:"^4.6.0",npm_package_devDependencies__originjs_vite_plugin_commonjs:"^1.0.3",npm_package_scripts_preview:"vite preview",npm_lifecycle_event:"build",LANG:"en_US.UTF-8",npm_package_name:"gooey-chat",npm_package_devDependencies_sass:"^1.69.7",npm_package_scripts_build:"tsc && vite build",npm_config_version_commit_hooks:"true",XPC_FLAGS:"0x0",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",npm_config_bin_links:"true",npm_package_devDependencies_vite_plugin_dts:"^3.7.0",XPC_SERVICE_NAME:"0",npm_package_version:"0.0.0",VSCODE_INJECTION:"1",HOME:"/Users/anish",SHLVL:"2",PYENV_SHELL:"zsh",npm_package_type:"module",VSCODE_GIT_ASKPASS_MAIN:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js",npm_config_save_prefix:"^",npm_config_strict_ssl:"true",HOMEBREW_PREFIX:"/opt/homebrew",npm_config_version_git_message:"v%s",LOGNAME:"anish",YARN_WRAP_OUTPUT:"false",npm_lifecycle_script:"tsc && vite build",VSCODE_GIT_IPC_HANDLE:"/var/folders/hd/8h7yzv6937506rv5mqd6gbzr0000gn/T/vscode-git-23f4d5e666.sock",npm_package_dependencies_react:"^18.2.0",NVM_BIN:"/Users/anish/.nvm/versions/node/v18.20.2/bin",npm_package_devDependencies__types_uuid:"^9.0.7",npm_config_version_git_sign:"",npm_config_ignore_scripts:"",npm_config_user_agent:"yarn/1.22.22 npm/? node/v18.20.2 darwin arm64",HOMEBREW_CELLAR:"/opt/homebrew/Cellar",INFOPATH:"/opt/homebrew/share/info:/opt/homebrew/share/info:",GIT_ASKPASS:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh",VSCODE_GIT_ASKPASS_NODE:"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)",npm_package_devDependencies__types_node:"^20.11.1",npm_config_init_version:"1.0.0",npm_config_ignore_optional:"",COLORTERM:"truecolor",npm_node_execpath:"/Users/anish/.nvm/versions/node/v18.20.2/bin/node",npm_config_version_tag_prefix:"v",NODE_ENV:"production"};const e0=`${t0.REACT_APP_GOOEY_SERVER}/v3/integrations/stream/`,n0=()=>({"Content-Type":"application/json"}),On={CONVERSATION_START:"conversation_start",FINAL_RESPONSE:"final_response",RUN_START:"run_start",RUNNING:"running",COMPLETED:"completed",MESSAGE_PART:"message_part"},Jp=async(n,i,o="")=>{const s=n0(),p={citation_style:"number",use_url_shortener:!1,...n};return(await Nt.post(o||e0,JSON.stringify(p),{headers:s,responseType:"stream",cancelToken:i.token})).headers.get("Location")},r0=(n,i)=>{const o=new EventSource(n);window.GooeyEventSource=o,o.onmessage=s=>{const p=JSON.parse(s.data);p.type===On.FINAL_RESPONSE?(i(p),o.close()):i(p)}};var i0={REACT_APP_GOOEY_SERVER:"https://api.gooey.ai",REACT_APP_BOT_ID:"5pV",NVM_INC:"/Users/anish/.nvm/versions/node/v18.20.2/include/node",TERM_PROGRAM:"vscode",NODE:"/Users/anish/.nvm/versions/node/v18.20.2/bin/node",INIT_CWD:"/Users/anish/code/gooey-web-widget",NVM_CD_FLAGS:"-q",PYENV_ROOT:"/Users/anish/.pyenv",npm_package_devDependencies_typescript:"^5.2.2",npm_package_dependencies_axios:"^1.6.5",npm_config_version_git_tag:"true",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_package_devDependencies_vite:"^5.0.8",npm_package_dependencies_prism_react_renderer:"^2.3.1",TMPDIR:"/var/folders/hd/8h7yzv6937506rv5mqd6gbzr0000gn/T/",HOMEBREW_REPOSITORY:"/opt/homebrew",npm_package_devDependencies_clsx:"^2.1.0",npm_package_scripts_lint:"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",npm_config_init_license:"MIT",TERM_PROGRAM_VERSION:"1.92.1",npm_package_devDependencies__vitejs_plugin_react:"^4.2.1",npm_package_scripts_dev:"vite",MallocNanoZone:"0",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",ZDOTDIR:"/Users/anish",npm_package_dependencies_uuid:"^9.0.1",npm_package_private:"true",npm_config_registry:"https://registry.yarnpkg.com",npm_package_devDependencies_eslint_plugin_react_refresh:"^0.4.5",npm_package_dependencies_react_dom:"^18.2.0",npm_package_readmeFilename:"README.md",npm_package_dependencies_html_react_parser:"^5.1.10",USER:"anish",NVM_DIR:"/Users/anish/.nvm",npm_package_description:"A clean, self-hostable web widget for Gooey.AI Copilots, with streaming support with every major LLM, speech-reco, and Text-to-Speech covering 1000+ languages, photo uploads, feedback, and analytics.",npm_package_license:"Apache-2.0",npm_package_devDependencies__types_react:"^18.2.43",COMMAND_MODE:"unix2003",PUPPETEER_EXECUTABLE_PATH:"/opt/homebrew/bin/chromium",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.V1sISwnzwy/Listeners",__CF_USER_TEXT_ENCODING:"0x1F5:0x0:0x0",npm_package_devDependencies_eslint:"^8.55.0",npm_execpath:"/Users/anish/.nvm/versions/node/v18.20.2/lib/node_modules/yarn/bin/yarn.js",npm_package_devDependencies__typescript_eslint_eslint_plugin:"^6.14.0",npm_package_devDependencies_vite_plugin_require_transform:"^1.0.21",npm_package_dependencies_marked:"^12.0.2",npm_package_devDependencies__types_react_dom:"^18.2.17",npm_package_devDependencies__typescript_eslint_parser:"^6.14.0",PATH:"/var/folders/hd/8h7yzv6937506rv5mqd6gbzr0000gn/T/yarn--1723572773754-0.8622238062033789:/Users/anish/code/gooey-web-widget/node_modules/.bin:/Users/anish/.config/yarn/link/node_modules/.bin:/Users/anish/.yarn/bin:/Users/anish/.nvm/versions/node/v18.20.2/libexec/lib/node_modules/npm/bin/node-gyp-bin:/Users/anish/.nvm/versions/node/v18.20.2/lib/node_modules/npm/bin/node-gyp-bin:/Users/anish/.nvm/versions/node/v18.20.2/bin/node_modules/npm/bin/node-gyp-bin:/Users/anish/google-cloud-sdk/bin:/Users/anish/.local/bin:/Users/anish/.pyenv/shims:/Users/anish/.nvm/versions/node/v18.20.2/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/anish/google-cloud-sdk/bin:/Users/anish/.local/bin:/Users/anish/.nvm/versions/node/v18.20.2/bin:/opt/homebrew/bin:/opt/homebrew/sbin",npm_config_argv:'{"remain":[],"cooked":["run","build"],"original":["build","--watch"]}',_:"/Users/anish/code/gooey-web-widget/node_modules/.bin/vite",__CFBundleIdentifier:"com.microsoft.VSCode",USER_ZDOTDIR:"/Users/anish",PWD:"/Users/anish/code/gooey-web-widget",npm_package_devDependencies_eslint_plugin_react_hooks:"^4.6.0",npm_package_devDependencies__originjs_vite_plugin_commonjs:"^1.0.3",npm_package_scripts_preview:"vite preview",npm_lifecycle_event:"build",LANG:"en_US.UTF-8",npm_package_name:"gooey-chat",npm_package_devDependencies_sass:"^1.69.7",npm_package_scripts_build:"tsc && vite build",npm_config_version_commit_hooks:"true",XPC_FLAGS:"0x0",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",npm_config_bin_links:"true",npm_package_devDependencies_vite_plugin_dts:"^3.7.0",XPC_SERVICE_NAME:"0",npm_package_version:"0.0.0",VSCODE_INJECTION:"1",HOME:"/Users/anish",SHLVL:"2",PYENV_SHELL:"zsh",npm_package_type:"module",VSCODE_GIT_ASKPASS_MAIN:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js",npm_config_save_prefix:"^",npm_config_strict_ssl:"true",HOMEBREW_PREFIX:"/opt/homebrew",npm_config_version_git_message:"v%s",LOGNAME:"anish",YARN_WRAP_OUTPUT:"false",npm_lifecycle_script:"tsc && vite build",VSCODE_GIT_IPC_HANDLE:"/var/folders/hd/8h7yzv6937506rv5mqd6gbzr0000gn/T/vscode-git-23f4d5e666.sock",npm_package_dependencies_react:"^18.2.0",NVM_BIN:"/Users/anish/.nvm/versions/node/v18.20.2/bin",npm_package_devDependencies__types_uuid:"^9.0.7",npm_config_version_git_sign:"",npm_config_ignore_scripts:"",npm_config_user_agent:"yarn/1.22.22 npm/? node/v18.20.2 darwin arm64",HOMEBREW_CELLAR:"/opt/homebrew/Cellar",INFOPATH:"/opt/homebrew/share/info:/opt/homebrew/share/info:",GIT_ASKPASS:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh",VSCODE_GIT_ASKPASS_NODE:"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)",npm_package_devDependencies__types_node:"^20.11.1",npm_config_init_version:"1.0.0",npm_config_ignore_optional:"",COLORTERM:"truecolor",npm_node_execpath:"/Users/anish/.nvm/versions/node/v18.20.2/bin/node",npm_config_version_tag_prefix:"v",NODE_ENV:"production"};const o0=`${i0.REACT_APP_GOOEY_SERVER}/__/file-upload/`,tm=async n=>{var s;const i=new FormData;i.append("file",n);const o=await Nt.post(o0,i,{headers:{"Content-Type":"multipart/form-data"}});return(s=o==null?void 0:o.data)==null?void 0:s.url},a0="number",s0=n=>({...n,id:cp(),role:"user"}),em=tt.createContext({}),l0=n=>{var et;const i=(et=Se())==null?void 0:et.config,[o,s]=tt.useState(new Map),[p,d]=tt.useState(!1),[u,g]=tt.useState(!1),h=tt.useRef(Nt.CancelToken.source()),x=tt.useRef(null),y=tt.useRef(null),_=U=>{const q=Array.from(o.values()).pop(),V=q==null?void 0:q.conversation_id;d(!0);const st=s0(U);k({...U,conversation_id:V,citation_style:a0}),A(st)},A=U=>{s(q=>new Map(q.set(U.id,U)))},L=tt.useCallback((U=0)=>{y.current&&y.current.scroll({top:U,behavior:"smooth"})},[y]),b=tt.useCallback(()=>{setTimeout(()=>{var U;L((U=y==null?void 0:y.current)==null?void 0:U.scrollHeight)},10)},[L]),w=tt.useCallback(U=>{s(q=>{if((U==null?void 0:U.type)===On.CONVERSATION_START){d(!1),g(!0),x.current=U.bot_message_id;const V=new Map(q);return V.set(U.bot_message_id,{id:x.current,...U}),V}if((U==null?void 0:U.type)===On.FINAL_RESPONSE&&(U==null?void 0:U.status)==="completed"){const V=new Map(q),st=Array.from(q.keys()).pop(),ct=q.get(st),{output:xt,...At}=U;return V.set(st,{...ct,conversation_id:ct==null?void 0:ct.conversation_id,id:x.current,...xt,...At}),g(!1),V}if((U==null?void 0:U.type)===On.MESSAGE_PART){const V=new Map(q),st=Array.from(q.keys()).pop(),ct=q.get(st),xt=((ct==null?void 0:ct.text)||"")+(U.text||"");return V.set(st,{...ct,...U,id:x.current,text:xt}),V}return q}),b()},[b]),k=async U=>{try{let q="";if(U!=null&&U.input_audio){const st=new File([U.input_audio],`gooey-widget-recording-${cp()}.webm`);q=await tm(st),U.input_audio=q}U={...i==null?void 0:i.payload,integration_id:i==null?void 0:i.integration_id,...U};const V=await Jp(U,h.current,i==null?void 0:i.apiUrl);r0(V,w)}catch(q){console.error("Api Failed!",q),d(!1)}},I=U=>{const q=new Map;U.forEach(V=>{q.set(V.id,{...V})}),s(q)},N=()=>{s(new Map),d(!1)},X={sendPrompt:k,messages:o,isSending:p,initializeQuery:_,preLoadData:I,flushData:N,cancelApiCall:()=>{if(window!=null&&window.GooeyEventSource?GooeyEventSource.close():h==null||h.current.cancel("Operation canceled by the user."),o.size>2){const U=new Map(o),q=Array.from(o.keys());U.delete(q[q.length-2]),U.delete(q.pop()),s(U)}else N();h.current=Nt.CancelToken.source(),g(!1),d(!1)},scrollMessageContainer:L,scrollContainerRef:y,isReceiving:u,handleFeedbackClick:(U,q)=>{Jp({button_pressed:{button_id:U,context_msg_id:q},integration_id:i==null?void 0:i.integration_id},h.current),s(V=>{const st=new Map(V),ct=V.get(q),xt=ct.buttons.map(At=>{if(At.id===U)return{...At,isPressed:!0}});return st.set(q,{...ct,buttons:xt}),st})}};return f.jsx(em.Provider,{value:X,children:n.children})};function nm(n){var i,o,s="";if(typeof n=="string"||typeof n=="number")s+=n;else if(typeof n=="object")if(Array.isArray(n)){var p=n.length;for(i=0;if.jsxs("main",{className:"h-100 d-flex flex-col",children:[f.jsx("div",{className:Mt("pos-absolute w-100")}),f.jsx(f.Fragment,{children:f.jsx("div",{style:{flex:"1 1 0%",overflowY:"hidden"},className:"pos-relative d-flex flex-col",children:f.jsx(f.Fragment,{children:n})})})]}),Ut=({children:n})=>f.jsx(f.Fragment,{children:n}),m0=n=>{const i=n.size||16;return f.jsx(Ut,{children:f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{fill:"none"},children:[f.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),f.jsx("path",{d:"M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1"}),f.jsx("path",{d:"M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z"}),f.jsx("path",{d:"M16 5l3 3"})]})})},Ye=({className:n,variant:i="text",onClick:o,...s})=>{const p=Mt(`button-${i==null?void 0:i.toLowerCase()}`,n);return f.jsx("button",{...s,className:p,onClick:o,children:s.children})},La=n=>{const i=n.size||16;return f.jsx(Ut,{children:f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[f.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),f.jsx("path",{d:"M18 6l-12 12"}),f.jsx("path",{d:"M6 6l12 12"})]})})};function u0(){return f.jsx("style",{children:Array.from(globalThis.addedStyles).join(` -`)})}function Xe(n){globalThis.addedStyles=globalThis.addedStyles||new Set,globalThis.addedStyles.add(n)}const d0=".gooeyChat-widget-headerContainer{border-bottom:1px solid #eee;border-top:1px solid #eee;width:100%}",c0=n=>{const i=(n==null?void 0:n.size)||16;return f.jsx(Ut,{children:f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:i,width:i,children:f.jsx("path",{d:"M352 0H320V64h32 50.7L297.4 169.4 274.7 192 320 237.3l22.6-22.6L448 109.3V160v32h64V160 32 0H480 352zM214.6 342.6L237.3 320 192 274.7l-22.6 22.6L64 402.7V352 320H0v32V480v32H32 160h32V448H160 109.3L214.6 342.6z"})})})},g0=n=>{const i=(n==null?void 0:n.size)||16;return f.jsx(Ut,{children:f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:i,width:i,children:f.jsx("path",{d:"M381.3 176L502.6 54.6 457.4 9.4 336 130.7V80 48H272V80 208v32h32H432h32V176H432 381.3zM80 272H48v64H80h50.7L9.4 457.4l45.3 45.3L176 381.3V432v32h64V432 304 272H208 80z"})})})},f0=()=>{const[n,i]=tt.useState(window.innerWidth);return tt.useEffect(()=>{const o=()=>{i(window.innerWidth)};return window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}},[]),n},h0=560;Xe(d0);const x0=({onEditClick:n,hideClose:i=!1})=>{var _;const{toggleWidget:o=()=>null,config:s,expandWidget:p=()=>null,isExpanded:d}=Se(),u=f0(),{messages:g}=Rn(),h=!(g!=null&&g.size),x=(_=s==null?void 0:s.branding)==null?void 0:_.name,y=uo(),children:f.jsx(La,{size:24})}),(s==null?void 0:s.mode)==="popup"&&!y&&f.jsx(Ye,{variant:"text",className:"cr-pointer flex-1 gmr-8",onClick:()=>p(),style:{transform:"rotate(90deg)"},children:d?f.jsx(g0,{size:16}):f.jsx(c0,{size:16})})]}),f.jsx("p",{className:"font_16_700",style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)"},children:x}),f.jsx("div",{children:f.jsx(Ye,{disabled:h,variant:"text",className:Mt("gp-4 cr-pointer flex-1"),onClick:()=>n(),children:f.jsx(m0,{size:24})})})]})},rm='@charset "UTF-8";:export{primary:hsl(169,55%,82%);secondary:hsl(12,100%,97%);border-color:#eee;gooeyDanger:#dc3545}.gooey-incomingMsg{width:100%;word-wrap:normal}.gooey-incomingMsg audio{width:100%;height:40px}.gooey-incomingMsg video{width:360px;height:360px;border-radius:12px}.sources-listContainer{display:flex;min-height:72px;max-width:calc(100% + 16px);overflow:hidden}.sources-listContainer:hover{overflow-x:auto}.sources-card{background-color:#f0f0f0;border-radius:12px;cursor:pointer;min-width:160px;max-width:160px;height:64px;padding:8px;border:1px solid transparent}.sources-card:hover{border:1px solid #6c757d}.sources-card-disabled:hover{border:1px solid transparent}.sources-card p{display:-webkit-box;-webkit-line-clamp:2;word-break:break-all;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}@keyframes wave-lines{0%{background-position:-468px 0}to{background-position:468px 0}}.sources-skeleton .line{height:12px;margin-bottom:6px;border-radius:2px;background:#82828233;background:-webkit-gradient(linear,left top,right top,color-stop(8%,rgba(130,130,130,.2)),color-stop(18%,rgba(130,130,130,.3)),color-stop(33%,rgba(130,130,130,.2)));background:linear-gradient(to right,#82828233 8%,#8282824d 18%,#82828233 33%);background-size:800px 100px;animation:wave-lines 1s infinite ease-out}.gooey-placeholderMsg-container{display:grid;width:100%;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-auto-flow:row;gap:12px 12px}.markdown{max-width:none;font-size:16px!important}.markdown h1{font-weight:600}.markdown h1:first-child{margin-top:0}.markdown p{margin-bottom:12px}.markdown h2{font-weight:600;margin-bottom:1rem;margin-top:2rem}.markdown h2:first-child{margin-top:0}.markdown h3{font-weight:600;margin-bottom:.5rem;margin-top:1rem}.markdown h3:first-child{margin-top:0}.markdown h4{font-weight:600;margin-bottom:.5rem;margin-top:1rem}.markdown h4:first-child{margin-top:0}.markdown h5{font-weight:600}.markdown li{margin-bottom:12px}.markdown h5:first-child{margin-top:0}.markdown blockquote{--tw-border-opacity: 1;border-color:#9b9b9b;border-left-width:2px;line-height:1.5rem;margin:0;padding-bottom:.5rem;padding-left:1rem;padding-top:.5rem}.markdown blockquote>p{margin:0}.markdown blockquote>p:after,.markdown blockquote>p:before{display:none}.response-streaming>:not(ol):not(ul):not(pre):last-child:after,.response-streaming>pre:last-child code:after{content:"●";-webkit-font-smoothing:subpixel-antialiased;-webkit-animation:pulseSize .5s ease-in-out infinite;animation:pulseSize .5s ease-in-out infinite;font-family:Circle,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;line-height:normal;margin-left:.25rem;vertical-align:baseline}@supports (selector(:has(*))){.response-streaming>ol:last-child>li:last-child>ol:last-child>li:last-child:after,.response-streaming>ol:last-child>li:last-child>ol:last-child>li:last-child>ol:last-child>li:last-child:after,.response-streaming>ol:last-child>li:last-child>ol:last-child>li:last-child>ul:last-child>li:last-child:after,.response-streaming>ol:last-child>li:last-child>ul:last-child>li:last-child:after,.response-streaming>ol:last-child>li:last-child>ul:last-child>li:last-child>ol:last-child>li:last-child:after,.response-streaming>ol:last-child>li:last-child>ul:last-child>li:last-child>ul:last-child>li:last-child:after,.response-streaming>ul:last-child>li:last-child>ol:last-child>li:last-child:after,.response-streaming>ul:last-child>li:last-child>ol:last-child>li:last-child>ol:last-child>li:last-child:after,.response-streaming>ul:last-child>li:last-child>ol:last-child>li:last-child>ul:last-child>li:last-child:after,.response-streaming>ul:last-child>li:last-child>ul:last-child>li:last-child:after,.response-streaming>ul:last-child>li:last-child>ul:last-child>li:last-child>ol:last-child>li:last-child:after,.response-streaming>ul:last-child>li:last-child>ul:last-child>li:last-child>ul:last-child>li:last-child:after,.response-streaming>ul:last-child>li:last-child[*|\\:not-has\\(]:after{content:"●";font-family:Circle,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;line-height:normal;margin-left:.25rem;vertical-align:baseline;-webkit-font-smoothing:subpixel-antialiased;-webkit-animation:pulseSize .5s ease-in-out infinite;animation:pulseSize .5s ease-in-out infinite}.response-streaming>ul:last-child>li:last-child:not(:has(*>li)):after{content:"●";font-family:Circle,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;line-height:normal;margin-left:.25rem;vertical-align:baseline;-webkit-font-smoothing:subpixel-antialiased;-webkit-animation:pulseSize .5s ease-in-out infinite;animation:pulseSize .5s ease-in-out infinite}.response-streaming>ol:last-child>li:last-child[*|\\:not-has\\(]:after{content:"●";font-family:Circle,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;line-height:normal;margin-left:.25rem;vertical-align:baseline;-webkit-font-smoothing:subpixel-antialiased;-webkit-animation:pulseSize .5s ease-in-out infinite;animation:pulseSize .5s ease-in-out infinite}.response-streaming>ol:last-child>li:last-child:not(:has(*>li)):after{content:"●";font-family:Circle,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;line-height:normal;margin-left:.25rem;vertical-align:baseline;-webkit-font-smoothing:subpixel-antialiased;-webkit-animation:pulseSize .5s ease-in-out infinite;animation:pulseSize .5s ease-in-out infinite}}@supports not (selector(:has(*))){.response-streaming>ol:last-child>li:last-child:after,.response-streaming>ul:last-child>li:last-child:after{content:"●";font-family:Circle,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;line-height:normal;margin-left:.25rem;vertical-align:baseline;-webkit-font-smoothing:subpixel-antialiased;-webkit-animation:pulseSize .5s ease-in-out infinite;animation:pulseSize .5s ease-in-out infinite}}@-webkit-keyframes pulseSize{0%,to{opacity:1}50%{opacity:0}}@keyframes pulseSize{0%,to{opacity:1}50%{opacity:0}}';function Pa(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Nn=Pa();function im(n){Nn=n}const om=/[&<>"']/,y0=new RegExp(om.source,"g"),am=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,w0=new RegExp(am.source,"g"),v0={"&":"&","<":"<",">":">",'"':""","'":"'"},sm=n=>v0[n];function xe(n,i){if(i){if(om.test(n))return n.replace(y0,sm)}else if(am.test(n))return n.replace(w0,sm);return n}const b0=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function _0(n){return n.replace(b0,(i,o)=>(o=o.toLowerCase(),o==="colon"?":":o.charAt(0)==="#"?o.charAt(1)==="x"?String.fromCharCode(parseInt(o.substring(2),16)):String.fromCharCode(+o.substring(1)):""))}const k0=/(^|[^\[])\^/g;function St(n,i){let o=typeof n=="string"?n:n.source;i=i||"";const s={replace:(p,d)=>{let u=typeof d=="string"?d:d.source;return u=u.replace(k0,"$1"),o=o.replace(p,u),s},getRegex:()=>new RegExp(o,i)};return s}function lm(n){try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const Rr={exec:()=>null};function pm(n,i){const o=n.replace(/\|/g,(d,u,g)=>{let h=!1,x=u;for(;--x>=0&&g[x]==="\\";)h=!h;return h?"|":" |"}),s=o.split(/ \|/);let p=0;if(s[0].trim()||s.shift(),s.length>0&&!s[s.length-1].trim()&&s.pop(),i)if(s.length>i)s.splice(i);else for(;s.length{const d=p.match(/^\s+/);if(d===null)return p;const[u]=d;return u.length>=s.length?p.slice(s.length):p}).join(` -`)}class Ni{constructor(i){Rt(this,"options");Rt(this,"rules");Rt(this,"lexer");this.options=i||Nn}space(i){const o=this.rules.block.newline.exec(i);if(o&&o[0].length>0)return{type:"space",raw:o[0]}}code(i){const o=this.rules.block.code.exec(i);if(o){const s=o[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:o[0],codeBlockStyle:"indented",text:this.options.pedantic?s:Oi(s,` -`)}}}fences(i){const o=this.rules.block.fences.exec(i);if(o){const s=o[0],p=E0(s,o[3]||"");return{type:"code",raw:s,lang:o[2]?o[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):o[2],text:p}}}heading(i){const o=this.rules.block.heading.exec(i);if(o){let s=o[2].trim();if(/#$/.test(s)){const p=Oi(s,"#");(this.options.pedantic||!p||/ $/.test(p))&&(s=p.trim())}return{type:"heading",raw:o[0],depth:o[1].length,text:s,tokens:this.lexer.inline(s)}}}hr(i){const o=this.rules.block.hr.exec(i);if(o)return{type:"hr",raw:o[0]}}blockquote(i){const o=this.rules.block.blockquote.exec(i);if(o){let s=o[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,` - $1`);s=Oi(s.replace(/^ *>[ \t]?/gm,""),` -`);const p=this.lexer.state.top;this.lexer.state.top=!0;const d=this.lexer.blockTokens(s);return this.lexer.state.top=p,{type:"blockquote",raw:o[0],tokens:d,text:s}}}list(i){let o=this.rules.block.list.exec(i);if(o){let s=o[1].trim();const p=s.length>1,d={type:"list",raw:"",ordered:p,start:p?+s.slice(0,-1):"",loose:!1,items:[]};s=p?`\\d{1,9}\\${s.slice(-1)}`:`\\${s}`,this.options.pedantic&&(s=p?s:"[*+-]");const u=new RegExp(`^( {0,3}${s})((?:[ ][^\\n]*)?(?:\\n|$))`);let g="",h="",x=!1;for(;i;){let y=!1;if(!(o=u.exec(i))||this.rules.block.hr.test(i))break;g=o[0],i=i.substring(g.length);let _=o[2].split(` -`,1)[0].replace(/^\t+/,I=>" ".repeat(3*I.length)),A=i.split(` -`,1)[0],L=0;this.options.pedantic?(L=2,h=_.trimStart()):(L=o[2].search(/[^ ]/),L=L>4?1:L,h=_.slice(L),L+=o[1].length);let b=!1;if(!_&&/^ *$/.test(A)&&(g+=A+` -`,i=i.substring(A.length+1),y=!0),!y){const I=new RegExp(`^ {0,${Math.min(3,L-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),N=new RegExp(`^ {0,${Math.min(3,L-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),O=new RegExp(`^ {0,${Math.min(3,L-1)}}(?:\`\`\`|~~~)`),G=new RegExp(`^ {0,${Math.min(3,L-1)}}#`);for(;i;){const X=i.split(` -`,1)[0];if(A=X,this.options.pedantic&&(A=A.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),O.test(A)||G.test(A)||I.test(A)||N.test(i))break;if(A.search(/[^ ]/)>=L||!A.trim())h+=` -`+A.slice(L);else{if(b||_.search(/[^ ]/)>=4||O.test(_)||G.test(_)||N.test(_))break;h+=` -`+A}!b&&!A.trim()&&(b=!0),g+=X+` -`,i=i.substring(X.length+1),_=A.slice(L)}}d.loose||(x?d.loose=!0:/\n *\n *$/.test(g)&&(x=!0));let w=null,k;this.options.gfm&&(w=/^\[[ xX]\] /.exec(h),w&&(k=w[0]!=="[ ] ",h=h.replace(/^\[[ xX]\] +/,""))),d.items.push({type:"list_item",raw:g,task:!!w,checked:k,loose:!1,text:h,tokens:[]}),d.raw+=g}d.items[d.items.length-1].raw=g.trimEnd(),d.items[d.items.length-1].text=h.trimEnd(),d.raw=d.raw.trimEnd();for(let y=0;yL.type==="space"),A=_.length>0&&_.some(L=>/\n.*\n/.test(L.raw));d.loose=A}if(d.loose)for(let y=0;y$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",d=o[3]?o[3].substring(1,o[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):o[3];return{type:"def",tag:s,raw:o[0],href:p,title:d}}}table(i){const o=this.rules.block.table.exec(i);if(!o||!/[:|]/.test(o[2]))return;const s=pm(o[1]),p=o[2].replace(/^\||\| *$/g,"").split("|"),d=o[3]&&o[3].trim()?o[3].replace(/\n[ \t]*$/,"").split(` -`):[],u={type:"table",raw:o[0],header:[],align:[],rows:[]};if(s.length===p.length){for(const g of p)/^ *-+: *$/.test(g)?u.align.push("right"):/^ *:-+: *$/.test(g)?u.align.push("center"):/^ *:-+ *$/.test(g)?u.align.push("left"):u.align.push(null);for(const g of s)u.header.push({text:g,tokens:this.lexer.inline(g)});for(const g of d)u.rows.push(pm(g,u.header.length).map(h=>({text:h,tokens:this.lexer.inline(h)})));return u}}lheading(i){const o=this.rules.block.lheading.exec(i);if(o)return{type:"heading",raw:o[0],depth:o[2].charAt(0)==="="?1:2,text:o[1],tokens:this.lexer.inline(o[1])}}paragraph(i){const o=this.rules.block.paragraph.exec(i);if(o){const s=o[1].charAt(o[1].length-1)===` -`?o[1].slice(0,-1):o[1];return{type:"paragraph",raw:o[0],text:s,tokens:this.lexer.inline(s)}}}text(i){const o=this.rules.block.text.exec(i);if(o)return{type:"text",raw:o[0],text:o[0],tokens:this.lexer.inline(o[0])}}escape(i){const o=this.rules.inline.escape.exec(i);if(o)return{type:"escape",raw:o[0],text:xe(o[1])}}tag(i){const o=this.rules.inline.tag.exec(i);if(o)return!this.lexer.state.inLink&&/^/i.test(o[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(o[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(o[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:o[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:o[0]}}link(i){const o=this.rules.inline.link.exec(i);if(o){const s=o[2].trim();if(!this.options.pedantic&&/^$/.test(s))return;const u=Oi(s.slice(0,-1),"\\");if((s.length-u.length)%2===0)return}else{const u=S0(o[2],"()");if(u>-1){const h=(o[0].indexOf("!")===0?5:4)+o[1].length+u;o[2]=o[2].substring(0,u),o[0]=o[0].substring(0,h).trim(),o[3]=""}}let p=o[2],d="";if(this.options.pedantic){const u=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(p);u&&(p=u[1],d=u[3])}else d=o[3]?o[3].slice(1,-1):"";return p=p.trim(),/^$/.test(s)?p=p.slice(1):p=p.slice(1,-1)),mm(o,{href:p&&p.replace(this.rules.inline.anyPunctuation,"$1"),title:d&&d.replace(this.rules.inline.anyPunctuation,"$1")},o[0],this.lexer)}}reflink(i,o){let s;if((s=this.rules.inline.reflink.exec(i))||(s=this.rules.inline.nolink.exec(i))){const p=(s[2]||s[1]).replace(/\s+/g," "),d=o[p.toLowerCase()];if(!d){const u=s[0].charAt(0);return{type:"text",raw:u,text:u}}return mm(s,d,s[0],this.lexer)}}emStrong(i,o,s=""){let p=this.rules.inline.emStrongLDelim.exec(i);if(!p||p[3]&&s.match(/[\p{L}\p{N}]/u))return;if(!(p[1]||p[2]||"")||!s||this.rules.inline.punctuation.exec(s)){const u=[...p[0]].length-1;let g,h,x=u,y=0;const _=p[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(_.lastIndex=0,o=o.slice(-1*i.length+u);(p=_.exec(o))!=null;){if(g=p[1]||p[2]||p[3]||p[4]||p[5]||p[6],!g)continue;if(h=[...g].length,p[3]||p[4]){x+=h;continue}else if((p[5]||p[6])&&u%3&&!((u+h)%3)){y+=h;continue}if(x-=h,x>0)continue;h=Math.min(h,h+x+y);const A=[...p[0]][0].length,L=i.slice(0,u+p.index+A+h);if(Math.min(u,h)%2){const w=L.slice(1,-1);return{type:"em",raw:L,text:w,tokens:this.lexer.inlineTokens(w)}}const b=L.slice(2,-2);return{type:"strong",raw:L,text:b,tokens:this.lexer.inlineTokens(b)}}}}codespan(i){const o=this.rules.inline.code.exec(i);if(o){let s=o[2].replace(/\n/g," ");const p=/[^ ]/.test(s),d=/^ /.test(s)&&/ $/.test(s);return p&&d&&(s=s.substring(1,s.length-1)),s=xe(s,!0),{type:"codespan",raw:o[0],text:s}}}br(i){const o=this.rules.inline.br.exec(i);if(o)return{type:"br",raw:o[0]}}del(i){const o=this.rules.inline.del.exec(i);if(o)return{type:"del",raw:o[0],text:o[2],tokens:this.lexer.inlineTokens(o[2])}}autolink(i){const o=this.rules.inline.autolink.exec(i);if(o){let s,p;return o[2]==="@"?(s=xe(o[1]),p="mailto:"+s):(s=xe(o[1]),p=s),{type:"link",raw:o[0],text:s,href:p,tokens:[{type:"text",raw:s,text:s}]}}}url(i){var s;let o;if(o=this.rules.inline.url.exec(i)){let p,d;if(o[2]==="@")p=xe(o[0]),d="mailto:"+p;else{let u;do u=o[0],o[0]=((s=this.rules.inline._backpedal.exec(o[0]))==null?void 0:s[0])??"";while(u!==o[0]);p=xe(o[0]),o[1]==="www."?d="http://"+o[0]:d=o[0]}return{type:"link",raw:o[0],text:p,href:d,tokens:[{type:"text",raw:p,text:p}]}}}inlineText(i){const o=this.rules.inline.text.exec(i);if(o){let s;return this.lexer.state.inRawBlock?s=o[0]:s=xe(o[0]),{type:"text",raw:o[0],text:s}}}}const C0=/^(?: *(?:\n|$))+/,T0=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,R0=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Ar=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,A0=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,um=/(?:[*+-]|\d{1,9}[.)])/,dm=St(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,um).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Ia=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,z0=/^[^\n]+/,Fa=/(?!\s*\])(?:\\.|[^\[\]\\])+/,j0=St(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",Fa).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),O0=St(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,um).getRegex(),Li="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Da=/|$))/,N0=St("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",Da).replace("tag",Li).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),cm=St(Ia).replace("hr",Ar).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Li).getRegex(),Ma={blockquote:St(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",cm).getRegex(),code:T0,def:j0,fences:R0,heading:A0,hr:Ar,html:N0,lheading:dm,list:O0,newline:C0,paragraph:cm,table:Rr,text:z0},gm=St("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Ar).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Li).getRegex(),L0={...Ma,table:gm,paragraph:St(Ia).replace("hr",Ar).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",gm).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Li).getRegex()},P0={...Ma,html:St(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Da).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Rr,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:St(Ia).replace("hr",Ar).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",dm).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},fm=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,I0=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,hm=/^( {2,}|\\)\n(?!\s*$)/,F0=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,U0=St(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,zr).getRegex(),B0=St("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,zr).getRegex(),$0=St("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,zr).getRegex(),H0=St(/\\([punct])/,"gu").replace(/punct/g,zr).getRegex(),V0=St(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),G0=St(Da).replace("(?:-->|$)","-->").getRegex(),W0=St("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",G0).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Pi=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Z0=St(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Pi).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),xm=St(/^!?\[(label)\]\[(ref)\]/).replace("label",Pi).replace("ref",Fa).getRegex(),ym=St(/^!?\[(ref)\](?:\[\])?/).replace("ref",Fa).getRegex(),q0=St("reflink|nolink(?!\\()","g").replace("reflink",xm).replace("nolink",ym).getRegex(),Ua={_backpedal:Rr,anyPunctuation:H0,autolink:V0,blockSkip:M0,br:hm,code:I0,del:Rr,emStrongLDelim:U0,emStrongRDelimAst:B0,emStrongRDelimUnd:$0,escape:fm,link:Z0,nolink:ym,punctuation:D0,reflink:xm,reflinkSearch:q0,tag:W0,text:F0,url:Rr},Y0={...Ua,link:St(/^!?\[(label)\]\((.*?)\)/).replace("label",Pi).getRegex(),reflink:St(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Pi).getRegex()},Ba={...Ua,escape:St(fm).replace("])","~|])").getRegex(),url:St(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\h+" ".repeat(x.length));let s,p,d,u;for(;i;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(g=>(s=g.call({lexer:this},i,o))?(i=i.substring(s.raw.length),o.push(s),!0):!1))){if(s=this.tokenizer.space(i)){i=i.substring(s.raw.length),s.raw.length===1&&o.length>0?o[o.length-1].raw+=` + */var cp;function Fg(){if(cp)return se;cp=1;var n=q,i=Mg();function o(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,x=/^[: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]*$/,y={},v={};function R(t){return h.call(v,t)?!0:h.call(y,t)?!1:x.test(t)?v[t]=!0:(y[t]=!0,!1)}function M(t,e,r,a){if(r!==null&&r.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return a?!1:r!==null?!r.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function w(t,e,r,a){if(e===null||typeof e>"u"||M(t,e,r,a))return!0;if(a)return!1;if(r!==null)switch(r.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function b(t,e,r,a,l,c,f){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=a,this.attributeNamespace=l,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=c,this.removeEmptyString=f}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){S[t]=new b(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];S[e]=new b(e,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){S[t]=new b(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){S[t]=new b(t,2,!1,t,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(t){S[t]=new b(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){S[t]=new b(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){S[t]=new b(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){S[t]=new b(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){S[t]=new b(t,5,!1,t.toLowerCase(),null,!1,!1)});var P=/[\-:]([a-z])/g;function L(t){return t[1].toUpperCase()}"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(t){var e=t.replace(P,L);S[e]=new b(e,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(P,L);S[e]=new b(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(P,L);S[e]=new b(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){S[t]=new b(t,1,!1,t.toLowerCase(),null,!1,!1)}),S.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){S[t]=new b(t,1,!1,t.toLowerCase(),null,!0,!0)});function A(t,e,r,a){var l=S.hasOwnProperty(e)?S[e]:null;(l!==null?l.type!==0:a||!(2_||l[f]!==c[_]){var E=` +`+l[f].replace(" at new "," at ");return t.displayName&&E.includes("")&&(E=E.replace("",t.displayName)),E}while(1<=f&&0<=_);break}}}finally{Z=!1,Error.prepareStackTrace=r}return(t=t?t.displayName||t.name:"")?N(t):""}function it(t){switch(t.tag){case 5:return N(t.type);case 16:return N("Lazy");case 13:return N("Suspense");case 19:return N("SuspenseList");case 0:case 2:case 15:return t=rt(t.type,!1),t;case 11:return t=rt(t.type.render,!1),t;case 1:return t=rt(t.type,!0),t;default:return""}}function pt(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case et:return"Fragment";case K:return"Portal";case J:return"Profiler";case mt:return"StrictMode";case It:return"Suspense";case gt:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case At:return(t.displayName||"Context")+".Consumer";case xt:return(t._context.displayName||"Context")+".Provider";case Et:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case zt:return e=t.displayName||null,e!==null?e:pt(t.type)||"Memo";case bt:e=t._payload,t=t._init;try{return pt(t(e))}catch{}}return null}function ft(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return pt(e);case 8:return e===mt?"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(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function ht(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Ct(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function ve(t){var e=Ct(t)?"checked":"value",r=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),a=""+t[e];if(!t.hasOwnProperty(e)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var l=r.get,c=r.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return l.call(this)},set:function(f){a=""+f,c.call(this,f)}}),Object.defineProperty(t,e,{enumerable:r.enumerable}),{getValue:function(){return a},setValue:function(f){a=""+f},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function ao(t){t._valueTracker||(t._valueTracker=ve(t))}function Mu(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var r=e.getValue(),a="";return t&&(a=Ct(t)?t.checked?"true":"false":t.value),t=a,t!==r?(e.setValue(t),!0):!1}function so(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function cs(t,e){var r=e.checked;return V({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??t._wrapperState.initialChecked})}function Fu(t,e){var r=e.defaultValue==null?"":e.defaultValue,a=e.checked!=null?e.checked:e.defaultChecked;r=ht(e.value!=null?e.value:r),t._wrapperState={initialChecked:a,initialValue:r,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function Du(t,e){e=e.checked,e!=null&&A(t,"checked",e,!1)}function ds(t,e){Du(t,e);var r=ht(e.value),a=e.type;if(r!=null)a==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+r):t.value!==""+r&&(t.value=""+r);else if(a==="submit"||a==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?gs(t,e.type,r):e.hasOwnProperty("defaultValue")&&gs(t,e.type,ht(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function Uu(t,e,r){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var a=e.type;if(!(a!=="submit"&&a!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,r||e===t.value||(t.value=e),t.defaultValue=e}r=t.name,r!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,r!==""&&(t.name=r)}function gs(t,e,r){(e!=="number"||so(t.ownerDocument)!==t)&&(r==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+r&&(t.defaultValue=""+r))}var Ur=Array.isArray;function er(t,e,r,a){if(t=t.options,e){e={};for(var l=0;l"+e.valueOf().toString()+"",e=lo.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function Br(t,e){if(e){var r=t.firstChild;if(r&&r===t.lastChild&&r.nodeType===3){r.nodeValue=e;return}}t.textContent=e}var $r={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},w2=["Webkit","ms","Moz","O"];Object.keys($r).forEach(function(t){w2.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),$r[e]=$r[t]})});function Wu(t,e,r){return e==null||typeof e=="boolean"||e===""?"":r||typeof e!="number"||e===0||$r.hasOwnProperty(t)&&$r[t]?(""+e).trim():e+"px"}function qu(t,e){t=t.style;for(var r in e)if(e.hasOwnProperty(r)){var a=r.indexOf("--")===0,l=Wu(r,e[r],a);r==="float"&&(r="cssFloat"),a?t.setProperty(r,l):t[r]=l}}var b2=V({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 xs(t,e){if(e){if(b2[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(o(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(o(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(o(61))}if(e.style!=null&&typeof e.style!="object")throw Error(o(62))}}function ys(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){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 ws=null;function bs(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var vs=null,nr=null,rr=null;function Zu(t){if(t=mi(t)){if(typeof vs!="function")throw Error(o(280));var e=t.stateNode;e&&(e=No(e),vs(t.stateNode,t.type,e))}}function Yu(t){nr?rr?rr.push(t):rr=[t]:nr=t}function Xu(){if(nr){var t=nr,e=rr;if(rr=nr=null,Zu(t),e)for(t=0;t>>=0,t===0?32:31-(z2(t)/N2|0)|0}var go=64,fo=4194304;function Wr(t){switch(t&-t){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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function ho(t,e){var r=t.pendingLanes;if(r===0)return 0;var a=0,l=t.suspendedLanes,c=t.pingedLanes,f=r&268435455;if(f!==0){var _=f&~l;_!==0?a=Wr(_):(c&=f,c!==0&&(a=Wr(c)))}else f=r&~l,f!==0?a=Wr(f):c!==0&&(a=Wr(c));if(a===0)return 0;if(e!==0&&e!==a&&!(e&l)&&(l=a&-a,c=e&-e,l>=c||l===16&&(c&4194240)!==0))return e;if(a&4&&(a|=r&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=a;0r;r++)e.push(t);return e}function qr(t,e,r){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-Pe(e),t[e]=r}function I2(t,e){var r=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var a=t.eventTimes;for(t=t.expirationTimes;0=ei),Sc=" ",Ec=!1;function Cc(t,e){switch(t){case"keyup":return my.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Tc(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ar=!1;function cy(t,e){switch(t){case"compositionend":return Tc(e);case"keypress":return e.which!==32?null:(Ec=!0,Sc);case"textInput":return t=e.data,t===Sc&&Ec?null:t;default:return null}}function dy(t,e){if(ar)return t==="compositionend"||!Ds&&Cc(t,e)?(t=yc(),vo=Os=fn=null,ar=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:r,offset:e-t};t=a}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=Lc(r)}}function Ic(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Ic(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Mc(){for(var t=window,e=so();e instanceof t.HTMLIFrameElement;){try{var r=typeof e.contentWindow.location.href=="string"}catch{r=!1}if(r)t=e.contentWindow;else break;e=so(t.document)}return e}function $s(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function _y(t){var e=Mc(),r=t.focusedElem,a=t.selectionRange;if(e!==r&&r&&r.ownerDocument&&Ic(r.ownerDocument.documentElement,r)){if(a!==null&&$s(r)){if(e=a.start,t=a.end,t===void 0&&(t=e),"selectionStart"in r)r.selectionStart=e,r.selectionEnd=Math.min(t,r.value.length);else if(t=(e=r.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var l=r.textContent.length,c=Math.min(a.start,l);a=a.end===void 0?c:Math.min(a.end,l),!t.extend&&c>a&&(l=a,a=c,c=l),l=Pc(r,c);var f=Pc(r,a);l&&f&&(t.rangeCount!==1||t.anchorNode!==l.node||t.anchorOffset!==l.offset||t.focusNode!==f.node||t.focusOffset!==f.offset)&&(e=e.createRange(),e.setStart(l.node,l.offset),t.removeAllRanges(),c>a?(t.addRange(e),t.extend(f.node,f.offset)):(e.setEnd(f.node,f.offset),t.addRange(e)))}}for(e=[],t=r;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,sr=null,Hs=null,oi=null,Vs=!1;function Fc(t,e,r){var a=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Vs||sr==null||sr!==so(a)||(a=sr,"selectionStart"in a&&$s(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),oi&&ii(oi,a)||(oi=a,a=jo(Hs,"onSelect"),0cr||(t.current=nl[cr],nl[cr]=null,cr--)}function Rt(t,e){cr++,nl[cr]=t.current,t.current=e}var wn={},te=yn(wn),ue=yn(!1),Un=wn;function dr(t,e){var r=t.type.contextTypes;if(!r)return wn;var a=t.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===e)return a.__reactInternalMemoizedMaskedChildContext;var l={},c;for(c in r)l[c]=e[c];return a&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=l),l}function ce(t){return t=t.childContextTypes,t!=null}function Oo(){Ot(ue),Ot(te)}function Jc(t,e,r){if(te.current!==wn)throw Error(o(168));Rt(te,e),Rt(ue,r)}function td(t,e,r){var a=t.stateNode;if(e=e.childContextTypes,typeof a.getChildContext!="function")return r;a=a.getChildContext();for(var l in a)if(!(l in e))throw Error(o(108,ft(t)||"Unknown",l));return V({},r,a)}function Lo(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||wn,Un=te.current,Rt(te,t),Rt(ue,ue.current),!0}function ed(t,e,r){var a=t.stateNode;if(!a)throw Error(o(169));r?(t=td(t,e,Un),a.__reactInternalMemoizedMergedChildContext=t,Ot(ue),Ot(te),Rt(te,t)):Ot(ue),Rt(ue,r)}var Ke=null,Po=!1,rl=!1;function nd(t){Ke===null?Ke=[t]:Ke.push(t)}function Ly(t){Po=!0,nd(t)}function bn(){if(!rl&&Ke!==null){rl=!0;var t=0,e=kt;try{var r=Ke;for(kt=1;t>=f,l-=f,Je=1<<32-Pe(e)+l|r<st?(Yt=at,at=null):Yt=at.sibling;var wt=F(T,at,j[st],$);if(wt===null){at===null&&(at=Yt);break}t&&at&&wt.alternate===null&&e(T,at),C=c(wt,C,st),ot===null?tt=wt:ot.sibling=wt,ot=wt,at=Yt}if(st===j.length)return r(T,at),Lt&&$n(T,st),tt;if(at===null){for(;stst?(Yt=at,at=null):Yt=at.sibling;var jn=F(T,at,wt.value,$);if(jn===null){at===null&&(at=Yt);break}t&&at&&jn.alternate===null&&e(T,at),C=c(jn,C,st),ot===null?tt=jn:ot.sibling=jn,ot=jn,at=Yt}if(wt.done)return r(T,at),Lt&&$n(T,st),tt;if(at===null){for(;!wt.done;st++,wt=j.next())wt=U(T,wt.value,$),wt!==null&&(C=c(wt,C,st),ot===null?tt=wt:ot.sibling=wt,ot=wt);return Lt&&$n(T,st),tt}for(at=a(T,at);!wt.done;st++,wt=j.next())wt=W(at,T,st,wt.value,$),wt!==null&&(t&&wt.alternate!==null&&at.delete(wt.key===null?st:wt.key),C=c(wt,C,st),ot===null?tt=wt:ot.sibling=wt,ot=wt);return t&&at.forEach(function(g4){return e(T,g4)}),Lt&&$n(T,st),tt}function $t(T,C,j,$){if(typeof j=="object"&&j!==null&&j.type===et&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case G:t:{for(var tt=j.key,ot=C;ot!==null;){if(ot.key===tt){if(tt=j.type,tt===et){if(ot.tag===7){r(T,ot.sibling),C=l(ot,j.props.children),C.return=T,T=C;break t}}else if(ot.elementType===tt||typeof tt=="object"&&tt!==null&&tt.$$typeof===bt&&ld(tt)===ot.type){r(T,ot.sibling),C=l(ot,j.props),C.ref=ui(T,ot,j),C.return=T,T=C;break t}r(T,ot);break}else e(T,ot);ot=ot.sibling}j.type===et?(C=Xn(j.props.children,T.mode,$,j.key),C.return=T,T=C):($=pa(j.type,j.key,j.props,null,T.mode,$),$.ref=ui(T,C,j),$.return=T,T=$)}return f(T);case K:t:{for(ot=j.key;C!==null;){if(C.key===ot)if(C.tag===4&&C.stateNode.containerInfo===j.containerInfo&&C.stateNode.implementation===j.implementation){r(T,C.sibling),C=l(C,j.children||[]),C.return=T,T=C;break t}else{r(T,C);break}else e(T,C);C=C.sibling}C=tp(j,T.mode,$),C.return=T,T=C}return f(T);case bt:return ot=j._init,$t(T,C,ot(j._payload),$)}if(Ur(j))return X(T,C,j,$);if(nt(j))return Q(T,C,j,$);Do(T,j)}return typeof j=="string"&&j!==""||typeof j=="number"?(j=""+j,C!==null&&C.tag===6?(r(T,C.sibling),C=l(C,j),C.return=T,T=C):(r(T,C),C=Jl(j,T.mode,$),C.return=T,T=C),f(T)):r(T,C)}return $t}var xr=pd(!0),md=pd(!1),Uo=yn(null),Bo=null,yr=null,pl=null;function ml(){pl=yr=Bo=null}function ul(t){var e=Uo.current;Ot(Uo),t._currentValue=e}function cl(t,e,r){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===r)break;t=t.return}}function wr(t,e){Bo=t,pl=yr=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(de=!0),t.firstContext=null)}function Re(t){var e=t._currentValue;if(pl!==t)if(t={context:t,memoizedValue:e,next:null},yr===null){if(Bo===null)throw Error(o(308));yr=t,Bo.dependencies={lanes:0,firstContext:t}}else yr=yr.next=t;return e}var Hn=null;function dl(t){Hn===null?Hn=[t]:Hn.push(t)}function ud(t,e,r,a){var l=e.interleaved;return l===null?(r.next=r,dl(e)):(r.next=l.next,l.next=r),e.interleaved=r,en(t,a)}function en(t,e){t.lanes|=e;var r=t.alternate;for(r!==null&&(r.lanes|=e),r=t,t=t.return;t!==null;)t.childLanes|=e,r=t.alternate,r!==null&&(r.childLanes|=e),r=t,t=t.return;return r.tag===3?r.stateNode:null}var vn=!1;function gl(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function cd(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function nn(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function _n(t,e,r){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,yt&2){var l=a.pending;return l===null?e.next=e:(e.next=l.next,l.next=e),a.pending=e,en(t,r)}return l=a.interleaved,l===null?(e.next=e,dl(a)):(e.next=l.next,l.next=e),a.interleaved=e,en(t,r)}function $o(t,e,r){if(e=e.updateQueue,e!==null&&(e=e.shared,(r&4194240)!==0)){var a=e.lanes;a&=t.pendingLanes,r|=a,e.lanes=r,Rs(t,r)}}function dd(t,e){var r=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,r===a)){var l=null,c=null;if(r=r.firstBaseUpdate,r!==null){do{var f={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};c===null?l=c=f:c=c.next=f,r=r.next}while(r!==null);c===null?l=c=e:c=c.next=e}else l=c=e;r={baseState:a.baseState,firstBaseUpdate:l,lastBaseUpdate:c,shared:a.shared,effects:a.effects},t.updateQueue=r;return}t=r.lastBaseUpdate,t===null?r.firstBaseUpdate=e:t.next=e,r.lastBaseUpdate=e}function Ho(t,e,r,a){var l=t.updateQueue;vn=!1;var c=l.firstBaseUpdate,f=l.lastBaseUpdate,_=l.shared.pending;if(_!==null){l.shared.pending=null;var E=_,z=E.next;E.next=null,f===null?c=z:f.next=z,f=E;var D=t.alternate;D!==null&&(D=D.updateQueue,_=D.lastBaseUpdate,_!==f&&(_===null?D.firstBaseUpdate=z:_.next=z,D.lastBaseUpdate=E))}if(c!==null){var U=l.baseState;f=0,D=z=E=null,_=c;do{var F=_.lane,W=_.eventTime;if((a&F)===F){D!==null&&(D=D.next={eventTime:W,lane:0,tag:_.tag,payload:_.payload,callback:_.callback,next:null});t:{var X=t,Q=_;switch(F=e,W=r,Q.tag){case 1:if(X=Q.payload,typeof X=="function"){U=X.call(W,U,F);break t}U=X;break t;case 3:X.flags=X.flags&-65537|128;case 0:if(X=Q.payload,F=typeof X=="function"?X.call(W,U,F):X,F==null)break t;U=V({},U,F);break t;case 2:vn=!0}}_.callback!==null&&_.lane!==0&&(t.flags|=64,F=l.effects,F===null?l.effects=[_]:F.push(_))}else W={eventTime:W,lane:F,tag:_.tag,payload:_.payload,callback:_.callback,next:null},D===null?(z=D=W,E=U):D=D.next=W,f|=F;if(_=_.next,_===null){if(_=l.shared.pending,_===null)break;F=_,_=F.next,F.next=null,l.lastBaseUpdate=F,l.shared.pending=null}}while(!0);if(D===null&&(E=U),l.baseState=E,l.firstBaseUpdate=z,l.lastBaseUpdate=D,e=l.shared.interleaved,e!==null){l=e;do f|=l.lane,l=l.next;while(l!==e)}else c===null&&(l.shared.lanes=0);Wn|=f,t.lanes=f,t.memoizedState=U}}function gd(t,e,r){if(t=e.effects,e.effects=null,t!==null)for(e=0;er?r:4,t(!0);var a=wl.transition;wl.transition={};try{t(!1),e()}finally{kt=r,wl.transition=a}}function Od(){return je().memoizedState}function Fy(t,e,r){var a=Cn(t);if(r={lane:a,action:r,hasEagerState:!1,eagerState:null,next:null},Ld(t))Pd(e,r);else if(r=ud(t,e,r,a),r!==null){var l=ae();Be(r,t,a,l),Id(r,e,a)}}function Dy(t,e,r){var a=Cn(t),l={lane:a,action:r,hasEagerState:!1,eagerState:null,next:null};if(Ld(t))Pd(e,l);else{var c=t.alternate;if(t.lanes===0&&(c===null||c.lanes===0)&&(c=e.lastRenderedReducer,c!==null))try{var f=e.lastRenderedState,_=c(f,r);if(l.hasEagerState=!0,l.eagerState=_,Ie(_,f)){var E=e.interleaved;E===null?(l.next=l,dl(e)):(l.next=E.next,E.next=l),e.interleaved=l;return}}catch{}finally{}r=ud(t,e,l,a),r!==null&&(l=ae(),Be(r,t,a,l),Id(r,e,a))}}function Ld(t){var e=t.alternate;return t===Ft||e!==null&&e===Ft}function Pd(t,e){fi=Wo=!0;var r=t.pending;r===null?e.next=e:(e.next=r.next,r.next=e),t.pending=e}function Id(t,e,r){if(r&4194240){var a=e.lanes;a&=t.pendingLanes,r|=a,e.lanes=r,Rs(t,r)}}var Yo={readContext:Re,useCallback:ee,useContext:ee,useEffect:ee,useImperativeHandle:ee,useInsertionEffect:ee,useLayoutEffect:ee,useMemo:ee,useReducer:ee,useRef:ee,useState:ee,useDebugValue:ee,useDeferredValue:ee,useTransition:ee,useMutableSource:ee,useSyncExternalStore:ee,useId:ee,unstable_isNewReconciler:!1},Uy={readContext:Re,useCallback:function(t,e){return Ze().memoizedState=[t,e===void 0?null:e],t},useContext:Re,useEffect:Ed,useImperativeHandle:function(t,e,r){return r=r!=null?r.concat([t]):null,qo(4194308,4,Rd.bind(null,e,t),r)},useLayoutEffect:function(t,e){return qo(4194308,4,t,e)},useInsertionEffect:function(t,e){return qo(4,2,t,e)},useMemo:function(t,e){var r=Ze();return e=e===void 0?null:e,t=t(),r.memoizedState=[t,e],t},useReducer:function(t,e,r){var a=Ze();return e=r!==void 0?r(e):e,a.memoizedState=a.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},a.queue=t,t=t.dispatch=Fy.bind(null,Ft,t),[a.memoizedState,t]},useRef:function(t){var e=Ze();return t={current:t},e.memoizedState=t},useState:kd,useDebugValue:Cl,useDeferredValue:function(t){return Ze().memoizedState=t},useTransition:function(){var t=kd(!1),e=t[0];return t=My.bind(null,t[1]),Ze().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,r){var a=Ft,l=Ze();if(Lt){if(r===void 0)throw Error(o(407));r=r()}else{if(r=e(),Zt===null)throw Error(o(349));Gn&30||yd(a,e,r)}l.memoizedState=r;var c={value:r,getSnapshot:e};return l.queue=c,Ed(bd.bind(null,a,c,t),[t]),a.flags|=2048,yi(9,wd.bind(null,a,c,r,e),void 0,null),r},useId:function(){var t=Ze(),e=Zt.identifierPrefix;if(Lt){var r=tn,a=Je;r=(a&~(1<<32-Pe(a)-1)).toString(32)+r,e=":"+e+"R"+r,r=hi++,0<\/script>",t=t.removeChild(t.firstChild)):typeof a.is=="string"?t=f.createElement(r,{is:a.is}):(t=f.createElement(r),r==="select"&&(f=t,a.multiple?f.multiple=!0:a.size&&(f.size=a.size))):t=f.createElementNS(t,r),t[We]=e,t[pi]=a,ng(t,e,!1,!1),e.stateNode=t;t:{switch(f=ys(r,a),r){case"dialog":Nt("cancel",t),Nt("close",t),l=a;break;case"iframe":case"object":case"embed":Nt("load",t),l=a;break;case"video":case"audio":for(l=0;lSr&&(e.flags|=128,a=!0,wi(c,!1),e.lanes=4194304)}else{if(!a)if(t=Vo(f),t!==null){if(e.flags|=128,a=!0,r=t.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),wi(c,!0),c.tail===null&&c.tailMode==="hidden"&&!f.alternate&&!Lt)return ne(e),null}else 2*Bt()-c.renderingStartTime>Sr&&r!==1073741824&&(e.flags|=128,a=!0,wi(c,!1),e.lanes=4194304);c.isBackwards?(f.sibling=e.child,e.child=f):(r=c.last,r!==null?r.sibling=f:e.child=f,c.last=f)}return c.tail!==null?(e=c.tail,c.rendering=e,c.tail=e.sibling,c.renderingStartTime=Bt(),e.sibling=null,r=Mt.current,Rt(Mt,a?r&1|2:r&1),e):(ne(e),null);case 22:case 23:return Xl(),a=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==a&&(e.flags|=8192),a&&e.mode&1?Ee&1073741824&&(ne(e),e.subtreeFlags&6&&(e.flags|=8192)):ne(e),null;case 24:return null;case 25:return null}throw Error(o(156,e.tag))}function Zy(t,e){switch(ol(e),e.tag){case 1:return ce(e.type)&&Oo(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return br(),Ot(ue),Ot(te),yl(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return hl(e),null;case 13:if(Ot(Mt),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));hr()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Ot(Mt),null;case 4:return br(),null;case 10:return ul(e.type._context),null;case 22:case 23:return Xl(),null;case 24:return null;default:return null}}var Jo=!1,re=!1,Yy=typeof WeakSet=="function"?WeakSet:Set,Y=null;function _r(t,e){var r=t.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(a){Ut(t,e,a)}else r.current=null}function Fl(t,e,r){try{r()}catch(a){Ut(t,e,a)}}var og=!1;function Xy(t,e){if(Xs=wo,t=Mc(),$s(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else t:{r=(r=t.ownerDocument)&&r.defaultView||window;var a=r.getSelection&&r.getSelection();if(a&&a.rangeCount!==0){r=a.anchorNode;var l=a.anchorOffset,c=a.focusNode;a=a.focusOffset;try{r.nodeType,c.nodeType}catch{r=null;break t}var f=0,_=-1,E=-1,z=0,D=0,U=t,F=null;e:for(;;){for(var W;U!==r||l!==0&&U.nodeType!==3||(_=f+l),U!==c||a!==0&&U.nodeType!==3||(E=f+a),U.nodeType===3&&(f+=U.nodeValue.length),(W=U.firstChild)!==null;)F=U,U=W;for(;;){if(U===t)break e;if(F===r&&++z===l&&(_=f),F===c&&++D===a&&(E=f),(W=U.nextSibling)!==null)break;U=F,F=U.parentNode}U=W}r=_===-1||E===-1?null:{start:_,end:E}}else r=null}r=r||{start:0,end:0}}else r=null;for(Qs={focusedElem:t,selectionRange:r},wo=!1,Y=e;Y!==null;)if(e=Y,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Y=t;else for(;Y!==null;){e=Y;try{var X=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(X!==null){var Q=X.memoizedProps,$t=X.memoizedState,T=e.stateNode,C=T.getSnapshotBeforeUpdate(e.elementType===e.type?Q:Fe(e.type,Q),$t);T.__reactInternalSnapshotBeforeUpdate=C}break;case 3:var j=e.stateNode.containerInfo;j.nodeType===1?j.textContent="":j.nodeType===9&&j.documentElement&&j.removeChild(j.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch($){Ut(e,e.return,$)}if(t=e.sibling,t!==null){t.return=e.return,Y=t;break}Y=e.return}return X=og,og=!1,X}function bi(t,e,r){var a=e.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var l=a=a.next;do{if((l.tag&t)===t){var c=l.destroy;l.destroy=void 0,c!==void 0&&Fl(e,r,c)}l=l.next}while(l!==a)}}function ta(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var r=e=e.next;do{if((r.tag&t)===t){var a=r.create;r.destroy=a()}r=r.next}while(r!==e)}}function Dl(t){var e=t.ref;if(e!==null){var r=t.stateNode;switch(t.tag){case 5:t=r;break;default:t=r}typeof e=="function"?e(t):e.current=t}}function ag(t){var e=t.alternate;e!==null&&(t.alternate=null,ag(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[We],delete e[pi],delete e[el],delete e[Ny],delete e[Oy])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function sg(t){return t.tag===5||t.tag===3||t.tag===4}function lg(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||sg(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Ul(t,e,r){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?r.nodeType===8?r.parentNode.insertBefore(t,e):r.insertBefore(t,e):(r.nodeType===8?(e=r.parentNode,e.insertBefore(t,r)):(e=r,e.appendChild(t)),r=r._reactRootContainer,r!=null||e.onclick!==null||(e.onclick=zo));else if(a!==4&&(t=t.child,t!==null))for(Ul(t,e,r),t=t.sibling;t!==null;)Ul(t,e,r),t=t.sibling}function Bl(t,e,r){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?r.insertBefore(t,e):r.appendChild(t);else if(a!==4&&(t=t.child,t!==null))for(Bl(t,e,r),t=t.sibling;t!==null;)Bl(t,e,r),t=t.sibling}var Kt=null,De=!1;function kn(t,e,r){for(r=r.child;r!==null;)pg(t,e,r),r=r.sibling}function pg(t,e,r){if(Ge&&typeof Ge.onCommitFiberUnmount=="function")try{Ge.onCommitFiberUnmount(co,r)}catch{}switch(r.tag){case 5:re||_r(r,e);case 6:var a=Kt,l=De;Kt=null,kn(t,e,r),Kt=a,De=l,Kt!==null&&(De?(t=Kt,r=r.stateNode,t.nodeType===8?t.parentNode.removeChild(r):t.removeChild(r)):Kt.removeChild(r.stateNode));break;case 18:Kt!==null&&(De?(t=Kt,r=r.stateNode,t.nodeType===8?tl(t.parentNode,r):t.nodeType===1&&tl(t,r),Kr(t)):tl(Kt,r.stateNode));break;case 4:a=Kt,l=De,Kt=r.stateNode.containerInfo,De=!0,kn(t,e,r),Kt=a,De=l;break;case 0:case 11:case 14:case 15:if(!re&&(a=r.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){l=a=a.next;do{var c=l,f=c.destroy;c=c.tag,f!==void 0&&(c&2||c&4)&&Fl(r,e,f),l=l.next}while(l!==a)}kn(t,e,r);break;case 1:if(!re&&(_r(r,e),a=r.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=r.memoizedProps,a.state=r.memoizedState,a.componentWillUnmount()}catch(_){Ut(r,e,_)}kn(t,e,r);break;case 21:kn(t,e,r);break;case 22:r.mode&1?(re=(a=re)||r.memoizedState!==null,kn(t,e,r),re=a):kn(t,e,r);break;default:kn(t,e,r)}}function mg(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var r=t.stateNode;r===null&&(r=t.stateNode=new Yy),e.forEach(function(a){var l=o4.bind(null,t,a);r.has(a)||(r.add(a),a.then(l,l))})}}function Ue(t,e){var r=e.deletions;if(r!==null)for(var a=0;al&&(l=f),a&=~c}if(a=l,a=Bt()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*Ky(a/1960))-a,10t?16:t,En===null)var a=!1;else{if(t=En,En=null,oa=0,yt&6)throw Error(o(331));var l=yt;for(yt|=4,Y=t.current;Y!==null;){var c=Y,f=c.child;if(Y.flags&16){var _=c.deletions;if(_!==null){for(var E=0;E<_.length;E++){var z=_[E];for(Y=z;Y!==null;){var D=Y;switch(D.tag){case 0:case 11:case 15:bi(8,D,c)}var U=D.child;if(U!==null)U.return=D,Y=U;else for(;Y!==null;){D=Y;var F=D.sibling,W=D.return;if(ag(D),D===z){Y=null;break}if(F!==null){F.return=W,Y=F;break}Y=W}}}var X=c.alternate;if(X!==null){var Q=X.child;if(Q!==null){X.child=null;do{var $t=Q.sibling;Q.sibling=null,Q=$t}while(Q!==null)}}Y=c}}if(c.subtreeFlags&2064&&f!==null)f.return=c,Y=f;else t:for(;Y!==null;){if(c=Y,c.flags&2048)switch(c.tag){case 0:case 11:case 15:bi(9,c,c.return)}var T=c.sibling;if(T!==null){T.return=c.return,Y=T;break t}Y=c.return}}var C=t.current;for(Y=C;Y!==null;){f=Y;var j=f.child;if(f.subtreeFlags&2064&&j!==null)j.return=f,Y=j;else t:for(f=C;Y!==null;){if(_=Y,_.flags&2048)try{switch(_.tag){case 0:case 11:case 15:ta(9,_)}}catch(tt){Ut(_,_.return,tt)}if(_===f){Y=null;break t}var $=_.sibling;if($!==null){$.return=_.return,Y=$;break t}Y=_.return}}if(yt=l,bn(),Ge&&typeof Ge.onPostCommitFiberRoot=="function")try{Ge.onPostCommitFiberRoot(co,t)}catch{}a=!0}return a}finally{kt=r,Ae.transition=e}}return!1}function _g(t,e,r){e=vr(r,e),e=Ud(t,e,1),t=_n(t,e,1),e=ae(),t!==null&&(qr(t,1,e),fe(t,e))}function Ut(t,e,r){if(t.tag===3)_g(t,t,r);else for(;e!==null;){if(e.tag===3){_g(e,t,r);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Sn===null||!Sn.has(a))){t=vr(r,t),t=Bd(e,t,1),e=_n(e,t,1),t=ae(),e!==null&&(qr(e,1,t),fe(e,t));break}}e=e.return}}function r4(t,e,r){var a=t.pingCache;a!==null&&a.delete(e),e=ae(),t.pingedLanes|=t.suspendedLanes&r,Zt===t&&(Jt&r)===r&&(Wt===4||Wt===3&&(Jt&130023424)===Jt&&500>Bt()-Vl?Zn(t,0):Hl|=r),fe(t,e)}function kg(t,e){e===0&&(t.mode&1?(e=fo,fo<<=1,!(fo&130023424)&&(fo=4194304)):e=1);var r=ae();t=en(t,e),t!==null&&(qr(t,e,r),fe(t,r))}function i4(t){var e=t.memoizedState,r=0;e!==null&&(r=e.retryLane),kg(t,r)}function o4(t,e){var r=0;switch(t.tag){case 13:var a=t.stateNode,l=t.memoizedState;l!==null&&(r=l.retryLane);break;case 19:a=t.stateNode;break;default:throw Error(o(314))}a!==null&&a.delete(e),kg(t,r)}var Sg;Sg=function(t,e,r){if(t!==null)if(t.memoizedProps!==e.pendingProps||ue.current)de=!0;else{if(!(t.lanes&r)&&!(e.flags&128))return de=!1,Wy(t,e,r);de=!!(t.flags&131072)}else de=!1,Lt&&e.flags&1048576&&rd(e,Mo,e.index);switch(e.lanes=0,e.tag){case 2:var a=e.type;Ko(t,e),t=e.pendingProps;var l=dr(e,te.current);wr(e,r),l=vl(null,e,a,t,l,r);var c=_l();return e.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,ce(a)?(c=!0,Lo(e)):c=!1,e.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,gl(e),l.updater=Xo,e.stateNode=l,l._reactInternals=e,Rl(e,a,t,r),e=Nl(null,e,a,!0,c,r)):(e.tag=0,Lt&&c&&il(e),oe(null,e,l,r),e=e.child),e;case 16:a=e.elementType;t:{switch(Ko(t,e),t=e.pendingProps,l=a._init,a=l(a._payload),e.type=a,l=e.tag=s4(a),t=Fe(a,t),l){case 0:e=zl(null,e,a,t,r);break t;case 1:e=Xd(null,e,a,t,r);break t;case 11:e=Gd(null,e,a,t,r);break t;case 14:e=Wd(null,e,a,Fe(a.type,t),r);break t}throw Error(o(306,a,""))}return e;case 0:return a=e.type,l=e.pendingProps,l=e.elementType===a?l:Fe(a,l),zl(t,e,a,l,r);case 1:return a=e.type,l=e.pendingProps,l=e.elementType===a?l:Fe(a,l),Xd(t,e,a,l,r);case 3:t:{if(Qd(e),t===null)throw Error(o(387));a=e.pendingProps,c=e.memoizedState,l=c.element,cd(t,e),Ho(e,a,null,r);var f=e.memoizedState;if(a=f.element,c.isDehydrated)if(c={element:a,isDehydrated:!1,cache:f.cache,pendingSuspenseBoundaries:f.pendingSuspenseBoundaries,transitions:f.transitions},e.updateQueue.baseState=c,e.memoizedState=c,e.flags&256){l=vr(Error(o(423)),e),e=Kd(t,e,a,r,l);break t}else if(a!==l){l=vr(Error(o(424)),e),e=Kd(t,e,a,r,l);break t}else for(Se=xn(e.stateNode.containerInfo.firstChild),ke=e,Lt=!0,Me=null,r=md(e,null,a,r),e.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(hr(),a===l){e=rn(t,e,r);break t}oe(t,e,a,r)}e=e.child}return e;case 5:return fd(e),t===null&&sl(e),a=e.type,l=e.pendingProps,c=t!==null?t.memoizedProps:null,f=l.children,Ks(a,l)?f=null:c!==null&&Ks(a,c)&&(e.flags|=32),Yd(t,e),oe(t,e,f,r),e.child;case 6:return t===null&&sl(e),null;case 13:return Jd(t,e,r);case 4:return fl(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=xr(e,null,a,r):oe(t,e,a,r),e.child;case 11:return a=e.type,l=e.pendingProps,l=e.elementType===a?l:Fe(a,l),Gd(t,e,a,l,r);case 7:return oe(t,e,e.pendingProps,r),e.child;case 8:return oe(t,e,e.pendingProps.children,r),e.child;case 12:return oe(t,e,e.pendingProps.children,r),e.child;case 10:t:{if(a=e.type._context,l=e.pendingProps,c=e.memoizedProps,f=l.value,Rt(Uo,a._currentValue),a._currentValue=f,c!==null)if(Ie(c.value,f)){if(c.children===l.children&&!ue.current){e=rn(t,e,r);break t}}else for(c=e.child,c!==null&&(c.return=e);c!==null;){var _=c.dependencies;if(_!==null){f=c.child;for(var E=_.firstContext;E!==null;){if(E.context===a){if(c.tag===1){E=nn(-1,r&-r),E.tag=2;var z=c.updateQueue;if(z!==null){z=z.shared;var D=z.pending;D===null?E.next=E:(E.next=D.next,D.next=E),z.pending=E}}c.lanes|=r,E=c.alternate,E!==null&&(E.lanes|=r),cl(c.return,r,e),_.lanes|=r;break}E=E.next}}else if(c.tag===10)f=c.type===e.type?null:c.child;else if(c.tag===18){if(f=c.return,f===null)throw Error(o(341));f.lanes|=r,_=f.alternate,_!==null&&(_.lanes|=r),cl(f,r,e),f=c.sibling}else f=c.child;if(f!==null)f.return=c;else for(f=c;f!==null;){if(f===e){f=null;break}if(c=f.sibling,c!==null){c.return=f.return,f=c;break}f=f.return}c=f}oe(t,e,l.children,r),e=e.child}return e;case 9:return l=e.type,a=e.pendingProps.children,wr(e,r),l=Re(l),a=a(l),e.flags|=1,oe(t,e,a,r),e.child;case 14:return a=e.type,l=Fe(a,e.pendingProps),l=Fe(a.type,l),Wd(t,e,a,l,r);case 15:return qd(t,e,e.type,e.pendingProps,r);case 17:return a=e.type,l=e.pendingProps,l=e.elementType===a?l:Fe(a,l),Ko(t,e),e.tag=1,ce(a)?(t=!0,Lo(e)):t=!1,wr(e,r),Fd(e,a,l),Rl(e,a,l,r),Nl(null,e,a,!0,t,r);case 19:return eg(t,e,r);case 22:return Zd(t,e,r)}throw Error(o(156,e.tag))};function Eg(t,e){return ic(t,e)}function a4(t,e,r,a){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ze(t,e,r,a){return new a4(t,e,r,a)}function Kl(t){return t=t.prototype,!(!t||!t.isReactComponent)}function s4(t){if(typeof t=="function")return Kl(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Et)return 11;if(t===zt)return 14}return 2}function Rn(t,e){var r=t.alternate;return r===null?(r=ze(t.tag,e,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=e,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&14680064,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,e=t.dependencies,r.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function pa(t,e,r,a,l,c){var f=2;if(a=t,typeof t=="function")Kl(t)&&(f=1);else if(typeof t=="string")f=5;else t:switch(t){case et:return Xn(r.children,l,c,e);case mt:f=8,l|=8;break;case J:return t=ze(12,r,e,l|2),t.elementType=J,t.lanes=c,t;case It:return t=ze(13,r,e,l),t.elementType=It,t.lanes=c,t;case gt:return t=ze(19,r,e,l),t.elementType=gt,t.lanes=c,t;case _t:return ma(r,l,c,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case xt:f=10;break t;case At:f=9;break t;case Et:f=11;break t;case zt:f=14;break t;case bt:f=16,a=null;break t}throw Error(o(130,t==null?t:typeof t,""))}return e=ze(f,r,e,l),e.elementType=t,e.type=a,e.lanes=c,e}function Xn(t,e,r,a){return t=ze(7,t,a,e),t.lanes=r,t}function ma(t,e,r,a){return t=ze(22,t,a,e),t.elementType=_t,t.lanes=r,t.stateNode={isHidden:!1},t}function Jl(t,e,r){return t=ze(6,t,null,e),t.lanes=r,t}function tp(t,e,r){return e=ze(4,t.children!==null?t.children:[],t.key,e),e.lanes=r,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function l4(t,e,r,a,l){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ts(0),this.expirationTimes=Ts(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ts(0),this.identifierPrefix=a,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function ep(t,e,r,a,l,c,f,_,E){return t=new l4(t,e,r,_,E),e===1?(e=1,c===!0&&(e|=8)):e=0,c=ze(3,null,null,e),t.current=c,c.stateNode=t,c.memoizedState={element:a,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},gl(c),t}function p4(t,e,r){var a=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(dp)}catch(n){console.error(n)}}dp(),pp.exports=Fg();var gp=pp.exports,fp=gp;ya.createRoot=fp.createRoot,ya.hydrateRoot=fp.hydrateRoot;let Ei;const Dg=new Uint8Array(16);function Ug(){if(!Ei&&(Ei=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ei))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ei(Dg)}const Xt=[];for(let n=0;n<256;++n)Xt.push((n+256).toString(16).slice(1));function Bg(n,i=0){return Xt[n[i+0]]+Xt[n[i+1]]+Xt[n[i+2]]+Xt[n[i+3]]+"-"+Xt[n[i+4]]+Xt[n[i+5]]+"-"+Xt[n[i+6]]+Xt[n[i+7]]+"-"+Xt[n[i+8]]+Xt[n[i+9]]+"-"+Xt[n[i+10]]+Xt[n[i+11]]+Xt[n[i+12]]+Xt[n[i+13]]+Xt[n[i+14]]+Xt[n[i+15]]}const hp={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function xp(n,i,o){if(hp.randomUUID&&!i&&!n)return hp.randomUUID();n=n||{};const s=n.random||(n.rng||Ug)();return s[6]=s[6]&15|64,s[8]=s[8]&63|128,Bg(s)}const yp={mobile:640},wp=(n,i,o)=>[n<=yp[o],i<=yp[o]],$g=(n="mobile",i=[])=>{const[o,s]=q.useState(!1),[p,u]=q.useState(!1),m=i==null?void 0:i.some(d=>!d);return q.useEffect(()=>{const d=gooeyShadowRoot==null?void 0:gooeyShadowRoot.querySelector("#gooeyChat-container");if(!d)return;const[h,x]=wp(d.clientWidth,window.innerWidth,n);s(h),u(x);const y=new ResizeObserver(()=>{const[v,R]=wp(d.clientWidth,window.innerWidth,n);s(v),u(R)});return y.observe(d),()=>{y.disconnect()}},[n,m]),[o,p]},Hg=n=>{const i=gooeyShadowRoot==null?void 0:gooeyShadowRoot.querySelector("#gooey-side-navbar");i&&(n?(i.style.width="0px",i.style.transition="width ease-in-out 0.2s"):(i.style.width="260px",i.style.transition="width ease-in-out 0.2s"))},bp=q.createContext({}),Vg=({config:n,children:i})=>{const o=(n==null?void 0:n.mode)==="inline"||(n==null?void 0:n.mode)==="fullscreen",[s,p]=q.useState(new Map),[u,m]=q.useState({isOpen:o||!1,isFocusMode:!1,isInline:o,isSidebarOpen:!1,showCloseButton:!o||!1,showSidebarButton:!1,showFocusModeButton:!o||!1,showNewConversationButton:(n==null?void 0:n.enableConversations)===void 0?!0:n==null?void 0:n.enableConversations,isMobile:!1}),d=!(u!=null&&u.showNewConversationButton),[h,x]=$g("mobile",[u==null?void 0:u.isOpen]),y=(w,b)=>{p(S=>{const P=new Map(S);return P.set(w,b),P})},v=w=>s.get(w),R=q.useMemo(()=>({toggleOpenClose:()=>{m(w=>({...w,isOpen:!w.isOpen,isFocusMode:!1,isSidebarOpen:!1,showSidebarButton:!d}))},toggleSidebar:()=>{d||m(w=>(Hg(w.isSidebarOpen),{...w,isSidebarOpen:!w.isSidebarOpen,showSidebarButton:w.isSidebarOpen}))},toggleFocusMode:()=>{m(w=>{const b=gooeyShadowRoot==null?void 0:gooeyShadowRoot.querySelector("#gooey-side-navbar");return b?w!=null&&w.isFocusMode?(w!=null&&w.isSidebarOpen&&(b.style.width="0px"),{...w,isFocusMode:!1,isSidebarOpen:!1,showSidebarButton:d?!1:w.isSidebarOpen}):(w!=null&&w.isSidebarOpen||(b.style.width="260px"),{...w,isFocusMode:!0,isSidebarOpen:!d,showSidebarButton:d?!1:w.isSidebarOpen}):{...w,isFocusMode:!w.isFocusMode}})},setState:w=>{m(b=>({...b,...w}))},...u}),[m,d,u]);q.useEffect(()=>{m(w=>({...w,isSidebarOpen:!h,showSidebarButton:d?!1:h,showFocusModeButton:o?!1:h&&!x||!h&&!x,isMobile:h,isMobileWindow:x}))},[d,o,h,x]);const M={config:n,setTempStoreValue:y,getTempStoreValue:v,layoutController:R};return g.jsx(bp.Provider,{value:M,children:i})},an=()=>q.useContext(fm),le=()=>q.useContext(bp);function vp(n,i){return function(){return n.apply(i,arguments)}}const{toString:Gg}=Object.prototype,{getPrototypeOf:va}=Object,Ci=(n=>i=>{const o=Gg.call(i);return n[o]||(n[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),Ne=n=>(n=n.toLowerCase(),i=>Ci(i)===n),Ti=n=>i=>typeof i===n,{isArray:Kn}=Array,Tr=Ti("undefined");function Wg(n){return n!==null&&!Tr(n)&&n.constructor!==null&&!Tr(n.constructor)&&xe(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const _p=Ne("ArrayBuffer");function qg(n){let i;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?i=ArrayBuffer.isView(n):i=n&&n.buffer&&_p(n.buffer),i}const Zg=Ti("string"),xe=Ti("function"),kp=Ti("number"),Ri=n=>n!==null&&typeof n=="object",Yg=n=>n===!0||n===!1,ji=n=>{if(Ci(n)!=="object")return!1;const i=va(n);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},Xg=Ne("Date"),Qg=Ne("File"),Kg=Ne("Blob"),Jg=Ne("FileList"),tf=n=>Ri(n)&&xe(n.pipe),ef=n=>{let i;return n&&(typeof FormData=="function"&&n instanceof FormData||xe(n.append)&&((i=Ci(n))==="formdata"||i==="object"&&xe(n.toString)&&n.toString()==="[object FormData]"))},nf=Ne("URLSearchParams"),[rf,of,af,sf]=["ReadableStream","Request","Response","Headers"].map(Ne),lf=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Rr(n,i,{allOwnKeys:o=!1}={}){if(n===null||typeof n>"u")return;let s,p;if(typeof n!="object"&&(n=[n]),Kn(n))for(s=0,p=n.length;s0;)if(p=o[s],i===p.toLowerCase())return p;return null}const An=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ep=n=>!Tr(n)&&n!==An;function _a(){const{caseless:n}=Ep(this)&&this||{},i={},o=(s,p)=>{const u=n&&Sp(i,p)||p;ji(i[u])&&ji(s)?i[u]=_a(i[u],s):ji(s)?i[u]=_a({},s):Kn(s)?i[u]=s.slice():i[u]=s};for(let s=0,p=arguments.length;s(Rr(i,(p,u)=>{o&&xe(p)?n[u]=vp(p,o):n[u]=p},{allOwnKeys:s}),n),mf=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),uf=(n,i,o,s)=>{n.prototype=Object.create(i.prototype,s),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:i.prototype}),o&&Object.assign(n.prototype,o)},cf=(n,i,o,s)=>{let p,u,m;const d={};if(i=i||{},n==null)return i;do{for(p=Object.getOwnPropertyNames(n),u=p.length;u-- >0;)m=p[u],(!s||s(m,n,i))&&!d[m]&&(i[m]=n[m],d[m]=!0);n=o!==!1&&va(n)}while(n&&(!o||o(n,i))&&n!==Object.prototype);return i},df=(n,i,o)=>{n=String(n),(o===void 0||o>n.length)&&(o=n.length),o-=i.length;const s=n.indexOf(i,o);return s!==-1&&s===o},gf=n=>{if(!n)return null;if(Kn(n))return n;let i=n.length;if(!kp(i))return null;const o=new Array(i);for(;i-- >0;)o[i]=n[i];return o},ff=(n=>i=>n&&i instanceof n)(typeof Uint8Array<"u"&&va(Uint8Array)),hf=(n,i)=>{const s=(n&&n[Symbol.iterator]).call(n);let p;for(;(p=s.next())&&!p.done;){const u=p.value;i.call(n,u[0],u[1])}},xf=(n,i)=>{let o;const s=[];for(;(o=n.exec(i))!==null;)s.push(o);return s},yf=Ne("HTMLFormElement"),wf=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,s,p){return s.toUpperCase()+p}),Cp=(({hasOwnProperty:n})=>(i,o)=>n.call(i,o))(Object.prototype),bf=Ne("RegExp"),Tp=(n,i)=>{const o=Object.getOwnPropertyDescriptors(n),s={};Rr(o,(p,u)=>{let m;(m=i(p,u,n))!==!1&&(s[u]=m||p)}),Object.defineProperties(n,s)},vf=n=>{Tp(n,(i,o)=>{if(xe(n)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const s=n[o];if(xe(s)){if(i.enumerable=!1,"writable"in i){i.writable=!1;return}i.set||(i.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},_f=(n,i)=>{const o={},s=p=>{p.forEach(u=>{o[u]=!0})};return Kn(n)?s(n):s(String(n).split(i)),o},kf=()=>{},Sf=(n,i)=>n!=null&&Number.isFinite(n=+n)?n:i,ka="abcdefghijklmnopqrstuvwxyz",Rp="0123456789",jp={DIGIT:Rp,ALPHA:ka,ALPHA_DIGIT:ka+ka.toUpperCase()+Rp},Ef=(n=16,i=jp.ALPHA_DIGIT)=>{let o="";const{length:s}=i;for(;n--;)o+=i[Math.random()*s|0];return o};function Cf(n){return!!(n&&xe(n.append)&&n[Symbol.toStringTag]==="FormData"&&n[Symbol.iterator])}const Tf=n=>{const i=new Array(10),o=(s,p)=>{if(Ri(s)){if(i.indexOf(s)>=0)return;if(!("toJSON"in s)){i[p]=s;const u=Kn(s)?[]:{};return Rr(s,(m,d)=>{const h=o(m,p+1);!Tr(h)&&(u[d]=h)}),i[p]=void 0,u}}return s};return o(n,0)},Rf=Ne("AsyncFunction"),jf=n=>n&&(Ri(n)||xe(n))&&xe(n.then)&&xe(n.catch),Ap=((n,i)=>n?setImmediate:i?((o,s)=>(An.addEventListener("message",({source:p,data:u})=>{p===An&&u===o&&s.length&&s.shift()()},!1),p=>{s.push(p),An.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",xe(An.postMessage)),Af=typeof queueMicrotask<"u"?queueMicrotask.bind(An):typeof process<"u"&&process.nextTick||Ap,O={isArray:Kn,isArrayBuffer:_p,isBuffer:Wg,isFormData:ef,isArrayBufferView:qg,isString:Zg,isNumber:kp,isBoolean:Yg,isObject:Ri,isPlainObject:ji,isReadableStream:rf,isRequest:of,isResponse:af,isHeaders:sf,isUndefined:Tr,isDate:Xg,isFile:Qg,isBlob:Kg,isRegExp:bf,isFunction:xe,isStream:tf,isURLSearchParams:nf,isTypedArray:ff,isFileList:Jg,forEach:Rr,merge:_a,extend:pf,trim:lf,stripBOM:mf,inherits:uf,toFlatObject:cf,kindOf:Ci,kindOfTest:Ne,endsWith:df,toArray:gf,forEachEntry:hf,matchAll:xf,isHTMLForm:yf,hasOwnProperty:Cp,hasOwnProp:Cp,reduceDescriptors:Tp,freezeMethods:vf,toObjectSet:_f,toCamelCase:wf,noop:kf,toFiniteNumber:Sf,findKey:Sp,global:An,isContextDefined:Ep,ALPHABET:jp,generateString:Ef,isSpecCompliantForm:Cf,toJSONObject:Tf,isAsyncFn:Rf,isThenable:jf,setImmediate:Ap,asap:Af};function lt(n,i,o,s,p){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",i&&(this.code=i),o&&(this.config=o),s&&(this.request=s),p&&(this.response=p)}O.inherits(lt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:O.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const zp=lt.prototype,Np={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{Np[n]={value:n}}),Object.defineProperties(lt,Np),Object.defineProperty(zp,"isAxiosError",{value:!0}),lt.from=(n,i,o,s,p,u)=>{const m=Object.create(zp);return O.toFlatObject(n,m,function(h){return h!==Error.prototype},d=>d!=="isAxiosError"),lt.call(m,n.message,i,o,s,p),m.cause=n,m.name=n.name,u&&Object.assign(m,u),m};const zf=null;function Sa(n){return O.isPlainObject(n)||O.isArray(n)}function Op(n){return O.endsWith(n,"[]")?n.slice(0,-2):n}function Lp(n,i,o){return n?n.concat(i).map(function(p,u){return p=Op(p),!o&&u?"["+p+"]":p}).join(o?".":""):i}function Nf(n){return O.isArray(n)&&!n.some(Sa)}const Of=O.toFlatObject(O,{},null,function(i){return/^is[A-Z]/.test(i)});function Ai(n,i,o){if(!O.isObject(n))throw new TypeError("target must be an object");i=i||new FormData,o=O.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,S){return!O.isUndefined(S[b])});const s=o.metaTokens,p=o.visitor||y,u=o.dots,m=o.indexes,h=(o.Blob||typeof Blob<"u"&&Blob)&&O.isSpecCompliantForm(i);if(!O.isFunction(p))throw new TypeError("visitor must be a function");function x(w){if(w===null)return"";if(O.isDate(w))return w.toISOString();if(!h&&O.isBlob(w))throw new lt("Blob is not supported. Use a Buffer instead.");return O.isArrayBuffer(w)||O.isTypedArray(w)?h&&typeof Blob=="function"?new Blob([w]):Buffer.from(w):w}function y(w,b,S){let P=w;if(w&&!S&&typeof w=="object"){if(O.endsWith(b,"{}"))b=s?b:b.slice(0,-2),w=JSON.stringify(w);else if(O.isArray(w)&&Nf(w)||(O.isFileList(w)||O.endsWith(b,"[]"))&&(P=O.toArray(w)))return b=Op(b),P.forEach(function(A,B){!(O.isUndefined(A)||A===null)&&i.append(m===!0?Lp([b],B,u):m===null?b:b+"[]",x(A))}),!1}return Sa(w)?!0:(i.append(Lp(S,b,u),x(w)),!1)}const v=[],R=Object.assign(Of,{defaultVisitor:y,convertValue:x,isVisitable:Sa});function M(w,b){if(!O.isUndefined(w)){if(v.indexOf(w)!==-1)throw Error("Circular reference detected in "+b.join("."));v.push(w),O.forEach(w,function(P,L){(!(O.isUndefined(P)||P===null)&&p.call(i,P,O.isString(L)?L.trim():L,b,R))===!0&&M(P,b?b.concat(L):[L])}),v.pop()}}if(!O.isObject(n))throw new TypeError("data must be an object");return M(n),i}function Pp(n){const i={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(s){return i[s]})}function Ea(n,i){this._pairs=[],n&&Ai(n,this,i)}const Ip=Ea.prototype;Ip.append=function(i,o){this._pairs.push([i,o])},Ip.toString=function(i){const o=i?function(s){return i.call(this,s,Pp)}:Pp;return this._pairs.map(function(p){return o(p[0])+"="+o(p[1])},"").join("&")};function Lf(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Mp(n,i,o){if(!i)return n;const s=o&&o.encode||Lf,p=o&&o.serialize;let u;if(p?u=p(i,o):u=O.isURLSearchParams(i)?i.toString():new Ea(i,o).toString(s),u){const m=n.indexOf("#");m!==-1&&(n=n.slice(0,m)),n+=(n.indexOf("?")===-1?"?":"&")+u}return n}class Fp{constructor(){this.handlers=[]}use(i,o,s){return this.handlers.push({fulfilled:i,rejected:o,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(i){this.handlers[i]&&(this.handlers[i]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(i){O.forEach(this.handlers,function(s){s!==null&&i(s)})}}const Dp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Pf={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Ea,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Ca=typeof window<"u"&&typeof document<"u",If=(n=>Ca&&["ReactNative","NativeScript","NS"].indexOf(n)<0)(typeof navigator<"u"&&navigator.product),Mf=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ff=Ca&&window.location.href||"http://localhost",Oe={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ca,hasStandardBrowserEnv:If,hasStandardBrowserWebWorkerEnv:Mf,origin:Ff},Symbol.toStringTag,{value:"Module"})),...Pf};function Df(n,i){return Ai(n,new Oe.classes.URLSearchParams,Object.assign({visitor:function(o,s,p,u){return Oe.isNode&&O.isBuffer(o)?(this.append(s,o.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)}},i))}function Uf(n){return O.matchAll(/\w+|\[(\w*)]/g,n).map(i=>i[0]==="[]"?"":i[1]||i[0])}function Bf(n){const i={},o=Object.keys(n);let s;const p=o.length;let u;for(s=0;s=o.length;return m=!m&&O.isArray(p)?p.length:m,h?(O.hasOwnProp(p,m)?p[m]=[p[m],s]:p[m]=s,!d):((!p[m]||!O.isObject(p[m]))&&(p[m]=[]),i(o,s,p[m],u)&&O.isArray(p[m])&&(p[m]=Bf(p[m])),!d)}if(O.isFormData(n)&&O.isFunction(n.entries)){const o={};return O.forEachEntry(n,(s,p)=>{i(Uf(s),p,o,0)}),o}return null}function $f(n,i,o){if(O.isString(n))try{return(i||JSON.parse)(n),O.trim(n)}catch(s){if(s.name!=="SyntaxError")throw s}return(o||JSON.stringify)(n)}const jr={transitional:Dp,adapter:["xhr","http","fetch"],transformRequest:[function(i,o){const s=o.getContentType()||"",p=s.indexOf("application/json")>-1,u=O.isObject(i);if(u&&O.isHTMLForm(i)&&(i=new FormData(i)),O.isFormData(i))return p?JSON.stringify(Up(i)):i;if(O.isArrayBuffer(i)||O.isBuffer(i)||O.isStream(i)||O.isFile(i)||O.isBlob(i)||O.isReadableStream(i))return i;if(O.isArrayBufferView(i))return i.buffer;if(O.isURLSearchParams(i))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),i.toString();let d;if(u){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Df(i,this.formSerializer).toString();if((d=O.isFileList(i))||s.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return Ai(d?{"files[]":i}:i,h&&new h,this.formSerializer)}}return u||p?(o.setContentType("application/json",!1),$f(i)):i}],transformResponse:[function(i){const o=this.transitional||jr.transitional,s=o&&o.forcedJSONParsing,p=this.responseType==="json";if(O.isResponse(i)||O.isReadableStream(i))return i;if(i&&O.isString(i)&&(s&&!this.responseType||p)){const m=!(o&&o.silentJSONParsing)&&p;try{return JSON.parse(i)}catch(d){if(m)throw d.name==="SyntaxError"?lt.from(d,lt.ERR_BAD_RESPONSE,this,null,this.response):d}}return i}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Oe.classes.FormData,Blob:Oe.classes.Blob},validateStatus:function(i){return i>=200&&i<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};O.forEach(["delete","get","head","post","put","patch"],n=>{jr.headers[n]={}});const Hf=O.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Vf=n=>{const i={};let o,s,p;return n&&n.split(` +`).forEach(function(m){p=m.indexOf(":"),o=m.substring(0,p).trim().toLowerCase(),s=m.substring(p+1).trim(),!(!o||i[o]&&Hf[o])&&(o==="set-cookie"?i[o]?i[o].push(s):i[o]=[s]:i[o]=i[o]?i[o]+", "+s:s)}),i},Bp=Symbol("internals");function Ar(n){return n&&String(n).trim().toLowerCase()}function zi(n){return n===!1||n==null?n:O.isArray(n)?n.map(zi):String(n)}function Gf(n){const i=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=o.exec(n);)i[s[1]]=s[2];return i}const Wf=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function Ta(n,i,o,s,p){if(O.isFunction(s))return s.call(this,i,o);if(p&&(i=o),!!O.isString(i)){if(O.isString(s))return i.indexOf(s)!==-1;if(O.isRegExp(s))return s.test(i)}}function qf(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(i,o,s)=>o.toUpperCase()+s)}function Zf(n,i){const o=O.toCamelCase(" "+i);["get","set","has"].forEach(s=>{Object.defineProperty(n,s+o,{value:function(p,u,m){return this[s].call(this,i,p,u,m)},configurable:!0})})}class pe{constructor(i){i&&this.set(i)}set(i,o,s){const p=this;function u(d,h,x){const y=Ar(h);if(!y)throw new Error("header name must be a non-empty string");const v=O.findKey(p,y);(!v||p[v]===void 0||x===!0||x===void 0&&p[v]!==!1)&&(p[v||h]=zi(d))}const m=(d,h)=>O.forEach(d,(x,y)=>u(x,y,h));if(O.isPlainObject(i)||i instanceof this.constructor)m(i,o);else if(O.isString(i)&&(i=i.trim())&&!Wf(i))m(Vf(i),o);else if(O.isHeaders(i))for(const[d,h]of i.entries())u(h,d,s);else i!=null&&u(o,i,s);return this}get(i,o){if(i=Ar(i),i){const s=O.findKey(this,i);if(s){const p=this[s];if(!o)return p;if(o===!0)return Gf(p);if(O.isFunction(o))return o.call(this,p,s);if(O.isRegExp(o))return o.exec(p);throw new TypeError("parser must be boolean|regexp|function")}}}has(i,o){if(i=Ar(i),i){const s=O.findKey(this,i);return!!(s&&this[s]!==void 0&&(!o||Ta(this,this[s],s,o)))}return!1}delete(i,o){const s=this;let p=!1;function u(m){if(m=Ar(m),m){const d=O.findKey(s,m);d&&(!o||Ta(s,s[d],d,o))&&(delete s[d],p=!0)}}return O.isArray(i)?i.forEach(u):u(i),p}clear(i){const o=Object.keys(this);let s=o.length,p=!1;for(;s--;){const u=o[s];(!i||Ta(this,this[u],u,i,!0))&&(delete this[u],p=!0)}return p}normalize(i){const o=this,s={};return O.forEach(this,(p,u)=>{const m=O.findKey(s,u);if(m){o[m]=zi(p),delete o[u];return}const d=i?qf(u):String(u).trim();d!==u&&delete o[u],o[d]=zi(p),s[d]=!0}),this}concat(...i){return this.constructor.concat(this,...i)}toJSON(i){const o=Object.create(null);return O.forEach(this,(s,p)=>{s!=null&&s!==!1&&(o[p]=i&&O.isArray(s)?s.join(", "):s)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([i,o])=>i+": "+o).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static concat(i,...o){const s=new this(i);return o.forEach(p=>s.set(p)),s}static accessor(i){const s=(this[Bp]=this[Bp]={accessors:{}}).accessors,p=this.prototype;function u(m){const d=Ar(m);s[d]||(Zf(p,m),s[d]=!0)}return O.isArray(i)?i.forEach(u):u(i),this}}pe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),O.reduceDescriptors(pe.prototype,({value:n},i)=>{let o=i[0].toUpperCase()+i.slice(1);return{get:()=>n,set(s){this[o]=s}}}),O.freezeMethods(pe);function Ra(n,i){const o=this||jr,s=i||o,p=pe.from(s.headers);let u=s.data;return O.forEach(n,function(d){u=d.call(o,u,p.normalize(),i?i.status:void 0)}),p.normalize(),u}function $p(n){return!!(n&&n.__CANCEL__)}function Jn(n,i,o){lt.call(this,n??"canceled",lt.ERR_CANCELED,i,o),this.name="CanceledError"}O.inherits(Jn,lt,{__CANCEL__:!0});function Hp(n,i,o){const s=o.config.validateStatus;!o.status||!s||s(o.status)?n(o):i(new lt("Request failed with status code "+o.status,[lt.ERR_BAD_REQUEST,lt.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}function Yf(n){const i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return i&&i[1]||""}function Xf(n,i){n=n||10;const o=new Array(n),s=new Array(n);let p=0,u=0,m;return i=i!==void 0?i:1e3,function(h){const x=Date.now(),y=s[u];m||(m=x),o[p]=h,s[p]=x;let v=u,R=0;for(;v!==p;)R+=o[v++],v=v%n;if(p=(p+1)%n,p===u&&(u=(u+1)%n),x-m{o=y,p=null,u&&(clearTimeout(u),u=null),n.apply(null,x)};return[(...x)=>{const y=Date.now(),v=y-o;v>=s?m(x,y):(p=x,u||(u=setTimeout(()=>{u=null,m(p)},s-v)))},()=>p&&m(p)]}const Ni=(n,i,o=3)=>{let s=0;const p=Xf(50,250);return Qf(u=>{const m=u.loaded,d=u.lengthComputable?u.total:void 0,h=m-s,x=p(h),y=m<=d;s=m;const v={loaded:m,total:d,progress:d?m/d:void 0,bytes:h,rate:x||void 0,estimated:x&&d&&y?(d-m)/x:void 0,event:u,lengthComputable:d!=null,[i?"download":"upload"]:!0};n(v)},o)},Vp=(n,i)=>{const o=n!=null;return[s=>i[0]({lengthComputable:o,total:n,loaded:s}),i[1]]},Gp=n=>(...i)=>O.asap(()=>n(...i)),Kf=Oe.hasStandardBrowserEnv?function(){const i=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");let s;function p(u){let m=u;return i&&(o.setAttribute("href",m),m=o.href),o.setAttribute("href",m),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:o.pathname.charAt(0)==="/"?o.pathname:"/"+o.pathname}}return s=p(window.location.href),function(m){const d=O.isString(m)?p(m):m;return d.protocol===s.protocol&&d.host===s.host}}():function(){return function(){return!0}}(),Jf=Oe.hasStandardBrowserEnv?{write(n,i,o,s,p,u){const m=[n+"="+encodeURIComponent(i)];O.isNumber(o)&&m.push("expires="+new Date(o).toGMTString()),O.isString(s)&&m.push("path="+s),O.isString(p)&&m.push("domain="+p),u===!0&&m.push("secure"),document.cookie=m.join("; ")},read(n){const i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function t0(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function e0(n,i){return i?n.replace(/\/?\/$/,"")+"/"+i.replace(/^\/+/,""):n}function Wp(n,i){return n&&!t0(i)?e0(n,i):i}const qp=n=>n instanceof pe?{...n}:n;function zn(n,i){i=i||{};const o={};function s(x,y,v){return O.isPlainObject(x)&&O.isPlainObject(y)?O.merge.call({caseless:v},x,y):O.isPlainObject(y)?O.merge({},y):O.isArray(y)?y.slice():y}function p(x,y,v){if(O.isUndefined(y)){if(!O.isUndefined(x))return s(void 0,x,v)}else return s(x,y,v)}function u(x,y){if(!O.isUndefined(y))return s(void 0,y)}function m(x,y){if(O.isUndefined(y)){if(!O.isUndefined(x))return s(void 0,x)}else return s(void 0,y)}function d(x,y,v){if(v in i)return s(x,y);if(v in n)return s(void 0,x)}const h={url:u,method:u,data:u,baseURL:m,transformRequest:m,transformResponse:m,paramsSerializer:m,timeout:m,timeoutMessage:m,withCredentials:m,withXSRFToken:m,adapter:m,responseType:m,xsrfCookieName:m,xsrfHeaderName:m,onUploadProgress:m,onDownloadProgress:m,decompress:m,maxContentLength:m,maxBodyLength:m,beforeRedirect:m,transport:m,httpAgent:m,httpsAgent:m,cancelToken:m,socketPath:m,responseEncoding:m,validateStatus:d,headers:(x,y)=>p(qp(x),qp(y),!0)};return O.forEach(Object.keys(Object.assign({},n,i)),function(y){const v=h[y]||p,R=v(n[y],i[y],y);O.isUndefined(R)&&v!==d||(o[y]=R)}),o}const Zp=n=>{const i=zn({},n);let{data:o,withXSRFToken:s,xsrfHeaderName:p,xsrfCookieName:u,headers:m,auth:d}=i;i.headers=m=pe.from(m),i.url=Mp(Wp(i.baseURL,i.url),n.params,n.paramsSerializer),d&&m.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):"")));let h;if(O.isFormData(o)){if(Oe.hasStandardBrowserEnv||Oe.hasStandardBrowserWebWorkerEnv)m.setContentType(void 0);else if((h=m.getContentType())!==!1){const[x,...y]=h?h.split(";").map(v=>v.trim()).filter(Boolean):[];m.setContentType([x||"multipart/form-data",...y].join("; "))}}if(Oe.hasStandardBrowserEnv&&(s&&O.isFunction(s)&&(s=s(i)),s||s!==!1&&Kf(i.url))){const x=p&&u&&Jf.read(u);x&&m.set(p,x)}return i},n0=typeof XMLHttpRequest<"u"&&function(n){return new Promise(function(o,s){const p=Zp(n);let u=p.data;const m=pe.from(p.headers).normalize();let{responseType:d,onUploadProgress:h,onDownloadProgress:x}=p,y,v,R,M,w;function b(){M&&M(),w&&w(),p.cancelToken&&p.cancelToken.unsubscribe(y),p.signal&&p.signal.removeEventListener("abort",y)}let S=new XMLHttpRequest;S.open(p.method.toUpperCase(),p.url,!0),S.timeout=p.timeout;function P(){if(!S)return;const A=pe.from("getAllResponseHeaders"in S&&S.getAllResponseHeaders()),G={data:!d||d==="text"||d==="json"?S.responseText:S.response,status:S.status,statusText:S.statusText,headers:A,config:n,request:S};Hp(function(et){o(et),b()},function(et){s(et),b()},G),S=null}"onloadend"in S?S.onloadend=P:S.onreadystatechange=function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.indexOf("file:")===0)||setTimeout(P)},S.onabort=function(){S&&(s(new lt("Request aborted",lt.ECONNABORTED,n,S)),S=null)},S.onerror=function(){s(new lt("Network Error",lt.ERR_NETWORK,n,S)),S=null},S.ontimeout=function(){let B=p.timeout?"timeout of "+p.timeout+"ms exceeded":"timeout exceeded";const G=p.transitional||Dp;p.timeoutErrorMessage&&(B=p.timeoutErrorMessage),s(new lt(B,G.clarifyTimeoutError?lt.ETIMEDOUT:lt.ECONNABORTED,n,S)),S=null},u===void 0&&m.setContentType(null),"setRequestHeader"in S&&O.forEach(m.toJSON(),function(B,G){S.setRequestHeader(G,B)}),O.isUndefined(p.withCredentials)||(S.withCredentials=!!p.withCredentials),d&&d!=="json"&&(S.responseType=p.responseType),x&&([R,w]=Ni(x,!0),S.addEventListener("progress",R)),h&&S.upload&&([v,M]=Ni(h),S.upload.addEventListener("progress",v),S.upload.addEventListener("loadend",M)),(p.cancelToken||p.signal)&&(y=A=>{S&&(s(!A||A.type?new Jn(null,n,S):A),S.abort(),S=null)},p.cancelToken&&p.cancelToken.subscribe(y),p.signal&&(p.signal.aborted?y():p.signal.addEventListener("abort",y)));const L=Yf(p.url);if(L&&Oe.protocols.indexOf(L)===-1){s(new lt("Unsupported protocol "+L+":",lt.ERR_BAD_REQUEST,n));return}S.send(u||null)})},r0=(n,i)=>{let o=new AbortController,s;const p=function(h){if(!s){s=!0,m();const x=h instanceof Error?h:this.reason;o.abort(x instanceof lt?x:new Jn(x instanceof Error?x.message:x))}};let u=i&&setTimeout(()=>{p(new lt(`timeout ${i} of ms exceeded`,lt.ETIMEDOUT))},i);const m=()=>{n&&(u&&clearTimeout(u),u=null,n.forEach(h=>{h&&(h.removeEventListener?h.removeEventListener("abort",p):h.unsubscribe(p))}),n=null)};n.forEach(h=>h&&h.addEventListener&&h.addEventListener("abort",p));const{signal:d}=o;return d.unsubscribe=m,[d,()=>{u&&clearTimeout(u),u=null}]},i0=function*(n,i){let o=n.byteLength;if(!i||o{const u=o0(n,i,p);let m=0,d,h=x=>{d||(d=!0,s&&s(x))};return new ReadableStream({async pull(x){try{const{done:y,value:v}=await u.next();if(y){h(),x.close();return}let R=v.byteLength;if(o){let M=m+=R;o(M)}x.enqueue(new Uint8Array(v))}catch(y){throw h(y),y}},cancel(x){return h(x),u.return()}},{highWaterMark:2})},Oi=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Xp=Oi&&typeof ReadableStream=="function",ja=Oi&&(typeof TextEncoder=="function"?(n=>i=>n.encode(i))(new TextEncoder):async n=>new Uint8Array(await new Response(n).arrayBuffer())),Qp=(n,...i)=>{try{return!!n(...i)}catch{return!1}},a0=Xp&&Qp(()=>{let n=!1;const i=new Request(Oe.origin,{body:new ReadableStream,method:"POST",get duplex(){return n=!0,"half"}}).headers.has("Content-Type");return n&&!i}),Kp=64*1024,Aa=Xp&&Qp(()=>O.isReadableStream(new Response("").body)),Li={stream:Aa&&(n=>n.body)};Oi&&(n=>{["text","arrayBuffer","blob","formData","stream"].forEach(i=>{!Li[i]&&(Li[i]=O.isFunction(n[i])?o=>o[i]():(o,s)=>{throw new lt(`Response type '${i}' is not supported`,lt.ERR_NOT_SUPPORT,s)})})})(new Response);const s0=async n=>{if(n==null)return 0;if(O.isBlob(n))return n.size;if(O.isSpecCompliantForm(n))return(await new Request(n).arrayBuffer()).byteLength;if(O.isArrayBufferView(n)||O.isArrayBuffer(n))return n.byteLength;if(O.isURLSearchParams(n)&&(n=n+""),O.isString(n))return(await ja(n)).byteLength},l0=async(n,i)=>{const o=O.toFiniteNumber(n.getContentLength());return o??s0(i)},za={http:zf,xhr:n0,fetch:Oi&&(async n=>{let{url:i,method:o,data:s,signal:p,cancelToken:u,timeout:m,onDownloadProgress:d,onUploadProgress:h,responseType:x,headers:y,withCredentials:v="same-origin",fetchOptions:R}=Zp(n);x=x?(x+"").toLowerCase():"text";let[M,w]=p||u||m?r0([p,u],m):[],b,S;const P=()=>{!b&&setTimeout(()=>{M&&M.unsubscribe()}),b=!0};let L;try{if(h&&a0&&o!=="get"&&o!=="head"&&(L=await l0(y,s))!==0){let K=new Request(i,{method:"POST",body:s,duplex:"half"}),et;if(O.isFormData(s)&&(et=K.headers.get("content-type"))&&y.setContentType(et),K.body){const[mt,J]=Vp(L,Ni(Gp(h)));s=Yp(K.body,Kp,mt,J,ja)}}O.isString(v)||(v=v?"include":"omit"),S=new Request(i,{...R,signal:M,method:o.toUpperCase(),headers:y.normalize().toJSON(),body:s,duplex:"half",credentials:v});let A=await fetch(S);const B=Aa&&(x==="stream"||x==="response");if(Aa&&(d||B)){const K={};["status","statusText","headers"].forEach(xt=>{K[xt]=A[xt]});const et=O.toFiniteNumber(A.headers.get("content-length")),[mt,J]=d&&Vp(et,Ni(Gp(d),!0))||[];A=new Response(Yp(A.body,Kp,mt,()=>{J&&J(),B&&P()},ja),K)}x=x||"text";let G=await Li[O.findKey(Li,x)||"text"](A,n);return!B&&P(),w&&w(),await new Promise((K,et)=>{Hp(K,et,{data:G,headers:pe.from(A.headers),status:A.status,statusText:A.statusText,config:n,request:S})})}catch(A){throw P(),A&&A.name==="TypeError"&&/fetch/i.test(A.message)?Object.assign(new lt("Network Error",lt.ERR_NETWORK,n,S),{cause:A.cause||A}):lt.from(A,A&&A.code,n,S)}})};O.forEach(za,(n,i)=>{if(n){try{Object.defineProperty(n,"name",{value:i})}catch{}Object.defineProperty(n,"adapterName",{value:i})}});const Jp=n=>`- ${n}`,p0=n=>O.isFunction(n)||n===null||n===!1,tm={getAdapter:n=>{n=O.isArray(n)?n:[n];const{length:i}=n;let o,s;const p={};for(let u=0;u`adapter ${d} `+(h===!1?"is not supported by the environment":"is not available in the build"));let m=i?u.length>1?`since : +`+u.map(Jp).join(` +`):" "+Jp(u[0]):"as no adapter specified";throw new lt("There is no suitable adapter to dispatch the request "+m,"ERR_NOT_SUPPORT")}return s},adapters:za};function Na(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new Jn(null,n)}function em(n){return Na(n),n.headers=pe.from(n.headers),n.data=Ra.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),tm.getAdapter(n.adapter||jr.adapter)(n).then(function(s){return Na(n),s.data=Ra.call(n,n.transformResponse,s),s.headers=pe.from(s.headers),s},function(s){return $p(s)||(Na(n),s&&s.response&&(s.response.data=Ra.call(n,n.transformResponse,s.response),s.response.headers=pe.from(s.response.headers))),Promise.reject(s)})}const nm="1.7.3",Oa={};["object","boolean","number","function","string","symbol"].forEach((n,i)=>{Oa[n]=function(s){return typeof s===n||"a"+(i<1?"n ":" ")+n}});const rm={};Oa.transitional=function(i,o,s){function p(u,m){return"[Axios v"+nm+"] Transitional option '"+u+"'"+m+(s?". "+s:"")}return(u,m,d)=>{if(i===!1)throw new lt(p(m," has been removed"+(o?" in "+o:"")),lt.ERR_DEPRECATED);return o&&!rm[m]&&(rm[m]=!0,console.warn(p(m," has been deprecated since v"+o+" and will be removed in the near future"))),i?i(u,m,d):!0}};function m0(n,i,o){if(typeof n!="object")throw new lt("options must be an object",lt.ERR_BAD_OPTION_VALUE);const s=Object.keys(n);let p=s.length;for(;p-- >0;){const u=s[p],m=i[u];if(m){const d=n[u],h=d===void 0||m(d,u,n);if(h!==!0)throw new lt("option "+u+" must be "+h,lt.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new lt("Unknown option "+u,lt.ERR_BAD_OPTION)}}const La={assertOptions:m0,validators:Oa},sn=La.validators;class Nn{constructor(i){this.defaults=i,this.interceptors={request:new Fp,response:new Fp}}async request(i,o){try{return await this._request(i,o)}catch(s){if(s instanceof Error){let p;Error.captureStackTrace?Error.captureStackTrace(p={}):p=new Error;const u=p.stack?p.stack.replace(/^.+\n/,""):"";try{s.stack?u&&!String(s.stack).endsWith(u.replace(/^.+\n.+\n/,""))&&(s.stack+=` +`+u):s.stack=u}catch{}}throw s}}_request(i,o){typeof i=="string"?(o=o||{},o.url=i):o=i||{},o=zn(this.defaults,o);const{transitional:s,paramsSerializer:p,headers:u}=o;s!==void 0&&La.assertOptions(s,{silentJSONParsing:sn.transitional(sn.boolean),forcedJSONParsing:sn.transitional(sn.boolean),clarifyTimeoutError:sn.transitional(sn.boolean)},!1),p!=null&&(O.isFunction(p)?o.paramsSerializer={serialize:p}:La.assertOptions(p,{encode:sn.function,serialize:sn.function},!0)),o.method=(o.method||this.defaults.method||"get").toLowerCase();let m=u&&O.merge(u.common,u[o.method]);u&&O.forEach(["delete","get","head","post","put","patch","common"],w=>{delete u[w]}),o.headers=pe.concat(m,u);const d=[];let h=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(o)===!1||(h=h&&b.synchronous,d.unshift(b.fulfilled,b.rejected))});const x=[];this.interceptors.response.forEach(function(b){x.push(b.fulfilled,b.rejected)});let y,v=0,R;if(!h){const w=[em.bind(this),void 0];for(w.unshift.apply(w,d),w.push.apply(w,x),R=w.length,y=Promise.resolve(o);v{if(!s._listeners)return;let u=s._listeners.length;for(;u-- >0;)s._listeners[u](p);s._listeners=null}),this.promise.then=p=>{let u;const m=new Promise(d=>{s.subscribe(d),u=d}).then(p);return m.cancel=function(){s.unsubscribe(u)},m},i(function(u,m,d){s.reason||(s.reason=new Jn(u,m,d),o(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;const o=this._listeners.indexOf(i);o!==-1&&this._listeners.splice(o,1)}static source(){let i;return{token:new Pa(function(p){i=p}),cancel:i}}}function u0(n){return function(o){return n.apply(null,o)}}function c0(n){return O.isObject(n)&&n.isAxiosError===!0}const Ia={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ia).forEach(([n,i])=>{Ia[i]=n});function im(n){const i=new Nn(n),o=vp(Nn.prototype.request,i);return O.extend(o,Nn.prototype,i,{allOwnKeys:!0}),O.extend(o,i,null,{allOwnKeys:!0}),o.create=function(p){return im(zn(n,p))},o}const jt=im(jr);jt.Axios=Nn,jt.CanceledError=Jn,jt.CancelToken=Pa,jt.isCancel=$p,jt.VERSION=nm,jt.toFormData=Ai,jt.AxiosError=lt,jt.Cancel=jt.CanceledError,jt.all=function(i){return Promise.all(i)},jt.spread=u0,jt.isAxiosError=c0,jt.mergeConfig=zn,jt.AxiosHeaders=pe,jt.formToJSON=n=>Up(O.isHTMLForm(n)?new FormData(n):n),jt.getAdapter=tm.getAdapter,jt.HttpStatusCode=Ia,jt.default=jt;var d0={REACT_APP_GOOEY_SERVER:"https://api.gooey.ai",NVM_INC:"/Users/anish/.nvm/versions/node/v18.20.2/include/node",TERM_PROGRAM:"vscode",NODE:"/Users/anish/.nvm/versions/node/v18.20.2/bin/node",INIT_CWD:"/Users/anish/code/gooey-web-widget",NVM_CD_FLAGS:"-q",PYENV_ROOT:"/Users/anish/.pyenv",npm_package_devDependencies_typescript:"^5.2.2",npm_package_dependencies_axios:"^1.6.5",npm_config_version_git_tag:"true",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_package_devDependencies_vite:"^5.0.8",npm_package_dependencies_prism_react_renderer:"^2.3.1",TMPDIR:"/var/folders/hd/8h7yzv6937506rv5mqd6gbzr0000gn/T/",HOMEBREW_REPOSITORY:"/opt/homebrew",npm_package_devDependencies_clsx:"^2.1.0",npm_package_scripts_lint:"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",npm_config_init_license:"MIT",TERM_PROGRAM_VERSION:"1.93.0",npm_package_devDependencies__vitejs_plugin_react:"^4.2.1",npm_package_scripts_dev:"vite",MallocNanoZone:"0",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",ZDOTDIR:"/Users/anish",npm_package_dependencies_uuid:"^9.0.1",npm_package_private:"true",npm_config_registry:"https://registry.yarnpkg.com",npm_package_devDependencies_eslint_plugin_react_refresh:"^0.4.5",npm_package_dependencies_react_dom:"^18.2.0",npm_package_readmeFilename:"README.md",npm_package_dependencies_html_react_parser:"^5.1.10",USER:"anish",NVM_DIR:"/Users/anish/.nvm",npm_package_description:"A clean, self-hostable web widget for Gooey.AI Copilots, with streaming support with every major LLM, speech-reco, and Text-to-Speech covering 1000+ languages, photo uploads, feedback, and analytics.",npm_package_license:"Apache-2.0",npm_package_devDependencies__types_react:"^18.2.43",COMMAND_MODE:"unix2003",PUPPETEER_EXECUTABLE_PATH:"/opt/homebrew/bin/chromium",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.UNe8OYfcF2/Listeners",__CF_USER_TEXT_ENCODING:"0x1F5:0x0:0x0",npm_package_devDependencies_eslint:"^8.55.0",npm_execpath:"/Users/anish/.nvm/versions/node/v18.20.2/lib/node_modules/yarn/bin/yarn.js",npm_package_devDependencies__typescript_eslint_eslint_plugin:"^6.14.0",npm_package_devDependencies_vite_plugin_require_transform:"^1.0.21",npm_package_dependencies_marked:"^12.0.2",npm_package_devDependencies__types_react_dom:"^18.2.17",npm_package_devDependencies__typescript_eslint_parser:"^6.14.0",PATH:"/var/folders/hd/8h7yzv6937506rv5mqd6gbzr0000gn/T/yarn--1725719919004-0.34864615767828555:/Users/anish/code/gooey-web-widget/node_modules/.bin:/Users/anish/.config/yarn/link/node_modules/.bin:/Users/anish/.yarn/bin:/Users/anish/.nvm/versions/node/v18.20.2/libexec/lib/node_modules/npm/bin/node-gyp-bin:/Users/anish/.nvm/versions/node/v18.20.2/lib/node_modules/npm/bin/node-gyp-bin:/Users/anish/.nvm/versions/node/v18.20.2/bin/node_modules/npm/bin/node-gyp-bin:/Users/anish/google-cloud-sdk/bin:/Users/anish/.local/bin:/Users/anish/.pyenv/shims:/Users/anish/.nvm/versions/node/v18.20.2/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/anish/google-cloud-sdk/bin:/Users/anish/.local/bin:/Users/anish/.nvm/versions/node/v18.20.2/bin:/opt/homebrew/bin:/opt/homebrew/sbin",npm_config_argv:'{"remain":[],"cooked":["run","build"],"original":["build"]}',_:"/Users/anish/code/gooey-web-widget/node_modules/.bin/vite",__CFBundleIdentifier:"com.microsoft.VSCode",USER_ZDOTDIR:"/Users/anish",PWD:"/Users/anish/code/gooey-web-widget",npm_package_devDependencies_eslint_plugin_react_hooks:"^4.6.0",npm_package_devDependencies__originjs_vite_plugin_commonjs:"^1.0.3",npm_package_scripts_preview:"vite preview",npm_config_nodeLinker:"node-modules",npm_lifecycle_event:"build",LANG:"en_US.UTF-8",npm_package_name:"gooey-chat",npm_package_devDependencies_sass:"^1.69.7",npm_package_scripts_build:"tsc && vite build",npm_config_version_commit_hooks:"true",XPC_FLAGS:"0x0",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",npm_config_bin_links:"true",npm_package_devDependencies_vite_plugin_dts:"^3.7.0",XPC_SERVICE_NAME:"0",npm_package_version:"2.1.0",VSCODE_INJECTION:"1",HOME:"/Users/anish",SHLVL:"2",PYENV_SHELL:"zsh",npm_package_type:"module",VSCODE_GIT_ASKPASS_MAIN:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js",npm_config_save_prefix:"^",npm_config_strict_ssl:"true",HOMEBREW_PREFIX:"/opt/homebrew",npm_config_version_git_message:"v%s",LOGNAME:"anish",YARN_WRAP_OUTPUT:"false",npm_lifecycle_script:"tsc && vite build",VSCODE_GIT_IPC_HANDLE:"/var/folders/hd/8h7yzv6937506rv5mqd6gbzr0000gn/T/vscode-git-6e7666e7ef.sock",npm_package_dependencies_react:"^18.2.0",NVM_BIN:"/Users/anish/.nvm/versions/node/v18.20.2/bin",npm_package_devDependencies__types_uuid:"^9.0.7",npm_config_version_git_sign:"",npm_config_ignore_scripts:"",npm_config_user_agent:"yarn/1.22.22 npm/? node/v18.20.2 darwin arm64",HOMEBREW_CELLAR:"/opt/homebrew/Cellar",INFOPATH:"/opt/homebrew/share/info:/opt/homebrew/share/info:",GIT_ASKPASS:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh",VSCODE_GIT_ASKPASS_NODE:"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)",npm_package_devDependencies__types_node:"^20.11.1",npm_config_init_version:"1.0.0",npm_config_ignore_optional:"",COLORTERM:"truecolor",npm_node_execpath:"/Users/anish/.nvm/versions/node/v18.20.2/bin/node",npm_config_version_tag_prefix:"v",NODE_ENV:"production"};const g0=`${d0.REACT_APP_GOOEY_SERVER}/v3/integrations/stream/`,f0=()=>({"Content-Type":"application/json"}),On={CONVERSATION_START:"conversation_start",FINAL_RESPONSE:"final_response",RUN_START:"run_start",RUNNING:"running",COMPLETED:"completed",MESSAGE_PART:"message_part"},om=async(n,i,o="")=>{const s=f0(),p={citation_style:"number",use_url_shortener:!1,...n};return(await jt.post(o||g0,JSON.stringify(p),{headers:s,responseType:"stream",cancelToken:i.token})).headers.get("Location")},h0=(n,i)=>{const o=new EventSource(n);window.GooeyEventSource=o,o.onmessage=s=>{const p=JSON.parse(s.data);p.type===On.FINAL_RESPONSE?(i(p),o.close()):i(p)}};var x0={REACT_APP_GOOEY_SERVER:"https://api.gooey.ai",NVM_INC:"/Users/anish/.nvm/versions/node/v18.20.2/include/node",TERM_PROGRAM:"vscode",NODE:"/Users/anish/.nvm/versions/node/v18.20.2/bin/node",INIT_CWD:"/Users/anish/code/gooey-web-widget",NVM_CD_FLAGS:"-q",PYENV_ROOT:"/Users/anish/.pyenv",npm_package_devDependencies_typescript:"^5.2.2",npm_package_dependencies_axios:"^1.6.5",npm_config_version_git_tag:"true",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_package_devDependencies_vite:"^5.0.8",npm_package_dependencies_prism_react_renderer:"^2.3.1",TMPDIR:"/var/folders/hd/8h7yzv6937506rv5mqd6gbzr0000gn/T/",HOMEBREW_REPOSITORY:"/opt/homebrew",npm_package_devDependencies_clsx:"^2.1.0",npm_package_scripts_lint:"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",npm_config_init_license:"MIT",TERM_PROGRAM_VERSION:"1.93.0",npm_package_devDependencies__vitejs_plugin_react:"^4.2.1",npm_package_scripts_dev:"vite",MallocNanoZone:"0",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",ZDOTDIR:"/Users/anish",npm_package_dependencies_uuid:"^9.0.1",npm_package_private:"true",npm_config_registry:"https://registry.yarnpkg.com",npm_package_devDependencies_eslint_plugin_react_refresh:"^0.4.5",npm_package_dependencies_react_dom:"^18.2.0",npm_package_readmeFilename:"README.md",npm_package_dependencies_html_react_parser:"^5.1.10",USER:"anish",NVM_DIR:"/Users/anish/.nvm",npm_package_description:"A clean, self-hostable web widget for Gooey.AI Copilots, with streaming support with every major LLM, speech-reco, and Text-to-Speech covering 1000+ languages, photo uploads, feedback, and analytics.",npm_package_license:"Apache-2.0",npm_package_devDependencies__types_react:"^18.2.43",COMMAND_MODE:"unix2003",PUPPETEER_EXECUTABLE_PATH:"/opt/homebrew/bin/chromium",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.UNe8OYfcF2/Listeners",__CF_USER_TEXT_ENCODING:"0x1F5:0x0:0x0",npm_package_devDependencies_eslint:"^8.55.0",npm_execpath:"/Users/anish/.nvm/versions/node/v18.20.2/lib/node_modules/yarn/bin/yarn.js",npm_package_devDependencies__typescript_eslint_eslint_plugin:"^6.14.0",npm_package_devDependencies_vite_plugin_require_transform:"^1.0.21",npm_package_dependencies_marked:"^12.0.2",npm_package_devDependencies__types_react_dom:"^18.2.17",npm_package_devDependencies__typescript_eslint_parser:"^6.14.0",PATH:"/var/folders/hd/8h7yzv6937506rv5mqd6gbzr0000gn/T/yarn--1725719919004-0.34864615767828555:/Users/anish/code/gooey-web-widget/node_modules/.bin:/Users/anish/.config/yarn/link/node_modules/.bin:/Users/anish/.yarn/bin:/Users/anish/.nvm/versions/node/v18.20.2/libexec/lib/node_modules/npm/bin/node-gyp-bin:/Users/anish/.nvm/versions/node/v18.20.2/lib/node_modules/npm/bin/node-gyp-bin:/Users/anish/.nvm/versions/node/v18.20.2/bin/node_modules/npm/bin/node-gyp-bin:/Users/anish/google-cloud-sdk/bin:/Users/anish/.local/bin:/Users/anish/.pyenv/shims:/Users/anish/.nvm/versions/node/v18.20.2/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/anish/google-cloud-sdk/bin:/Users/anish/.local/bin:/Users/anish/.nvm/versions/node/v18.20.2/bin:/opt/homebrew/bin:/opt/homebrew/sbin",npm_config_argv:'{"remain":[],"cooked":["run","build"],"original":["build"]}',_:"/Users/anish/code/gooey-web-widget/node_modules/.bin/vite",__CFBundleIdentifier:"com.microsoft.VSCode",USER_ZDOTDIR:"/Users/anish",PWD:"/Users/anish/code/gooey-web-widget",npm_package_devDependencies_eslint_plugin_react_hooks:"^4.6.0",npm_package_devDependencies__originjs_vite_plugin_commonjs:"^1.0.3",npm_package_scripts_preview:"vite preview",npm_config_nodeLinker:"node-modules",npm_lifecycle_event:"build",LANG:"en_US.UTF-8",npm_package_name:"gooey-chat",npm_package_devDependencies_sass:"^1.69.7",npm_package_scripts_build:"tsc && vite build",npm_config_version_commit_hooks:"true",XPC_FLAGS:"0x0",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",npm_config_bin_links:"true",npm_package_devDependencies_vite_plugin_dts:"^3.7.0",XPC_SERVICE_NAME:"0",npm_package_version:"2.1.0",VSCODE_INJECTION:"1",HOME:"/Users/anish",SHLVL:"2",PYENV_SHELL:"zsh",npm_package_type:"module",VSCODE_GIT_ASKPASS_MAIN:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js",npm_config_save_prefix:"^",npm_config_strict_ssl:"true",HOMEBREW_PREFIX:"/opt/homebrew",npm_config_version_git_message:"v%s",LOGNAME:"anish",YARN_WRAP_OUTPUT:"false",npm_lifecycle_script:"tsc && vite build",VSCODE_GIT_IPC_HANDLE:"/var/folders/hd/8h7yzv6937506rv5mqd6gbzr0000gn/T/vscode-git-6e7666e7ef.sock",npm_package_dependencies_react:"^18.2.0",NVM_BIN:"/Users/anish/.nvm/versions/node/v18.20.2/bin",npm_package_devDependencies__types_uuid:"^9.0.7",npm_config_version_git_sign:"",npm_config_ignore_scripts:"",npm_config_user_agent:"yarn/1.22.22 npm/? node/v18.20.2 darwin arm64",HOMEBREW_CELLAR:"/opt/homebrew/Cellar",INFOPATH:"/opt/homebrew/share/info:/opt/homebrew/share/info:",GIT_ASKPASS:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh",VSCODE_GIT_ASKPASS_NODE:"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)",npm_package_devDependencies__types_node:"^20.11.1",npm_config_init_version:"1.0.0",npm_config_ignore_optional:"",COLORTERM:"truecolor",npm_node_execpath:"/Users/anish/.nvm/versions/node/v18.20.2/bin/node",npm_config_version_tag_prefix:"v",NODE_ENV:"production"};const y0=`${x0.REACT_APP_GOOEY_SERVER}/__/file-upload/`,am=async n=>{var s;const i=new FormData;i.append("file",n);const o=await jt.post(y0,i,{headers:{"Content-Type":"multipart/form-data"}});return(s=o==null?void 0:o.data)==null?void 0:s.url},sm="user_id",w0=n=>{if(!(window.localStorage||null))return console.error("Local Storage not available");localStorage.getItem("user_id")||localStorage.setItem(sm,n)},b0=n=>{var i,o;return(o=(i=n==null?void 0:n.messages)==null?void 0:i[0])==null?void 0:o.input_prompt},lm=n=>new Promise((i,o)=>{const s=indexedDB.open(n,1);s.onupgradeneeded=()=>{s.result.createObjectStore("conversations",{keyPath:"id",autoIncrement:!0})},s.onsuccess=()=>{i(s.result)},s.onerror=()=>{o(s.error)}}),v0=(n,i)=>new Promise((o,s)=>{const m=n.transaction(["conversations"],"readonly").objectStore("conversations").get(i);m.onsuccess=()=>{o(m.result)},m.onerror=()=>{s(m.error)}}),pm=(n,i)=>{const o=Object.assign({},n);return o.title=b0(n),delete o.messages,o.getMessages=async()=>(await v0(i,n.id)).messages||[],o},_0=(n,i,o)=>new Promise((s,p)=>{const d=n.transaction(["conversations"],"readonly").objectStore("conversations").getAll();d.onsuccess=()=>{const h=d.result.filter(x=>x.user_id===i&&x.bot_id===o).map(x=>pm(x,n));s(h)},d.onerror=()=>{p(d.error)}}),k0=(n,i)=>new Promise((o,s)=>{const u=n.transaction(["conversations"],"readwrite").objectStore("conversations"),m=u.put(i);m.onsuccess=()=>{const d=u.getAll();d.onsuccess=()=>{o(d.result.filter(h=>h.user_id===i.user_id&&h.bot_id===i.bot_id).map(h=>pm(h,n)))},d.onerror=()=>{s(d.error)}},m.onerror=()=>{s(m.error)}}),mm="GOOEY_COPILOT_CONVERSATIONS_DB",S0=(n,i)=>{const[o,s]=q.useState([]);return q.useEffect(()=>{(async()=>{const m=await lm(mm),d=await _0(m,n,i);s(d.sort((h,x)=>new Date(x.timestamp).getTime()-new Date(h.timestamp).getTime()))})()},[i,n]),{conversations:o,handleAddConversation:async u=>{var h;if(!u||!((h=u.messages)!=null&&h.length))return;const m=await lm(mm),d=await k0(m,u);s(d)}}};function um(n){var i,o,s="";if(typeof n=="string"||typeof n=="number")s+=n;else if(typeof n=="object")if(Array.isArray(n)){var p=n.length;for(i=0;i{const p=Pt(`button-${i==null?void 0:i.toLowerCase()}`,n);return g.jsx("button",{...s,className:p,onClick:o,children:s.children})},Dt=({children:n})=>g.jsx(g.Fragment,{children:n}),cm=n=>{const i=n.size||16;return g.jsx(Dt,{children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:i,width:i,children:g.jsx("path",{d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM385 231c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-71-71V376c0 13.3-10.7 24-24 24s-24-10.7-24-24V193.9l-71 71c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 119c9.4-9.4 24.6-9.4 33.9 0L385 231z"})})})},E0=n=>{const i=n.size||16;return g.jsx(Dt,{children:g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:i,width:i,children:["// --!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.",g.jsx("path",{d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM192 160H320c17.7 0 32 14.3 32 32V320c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V192c0-17.7 14.3-32 32-32z"})]})})},dm=n=>{const i=n.size||24;return g.jsx(Dt,{children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",width:i,height:i,fill:"currentColor",...n,children:g.jsx("path",{d:"M240 96V256c0 26.5-21.5 48-48 48s-48-21.5-48-48V96c0-26.5 21.5-48 48-48s48 21.5 48 48zM96 96V256c0 53 43 96 96 96s96-43 96-96V96c0-53-43-96-96-96S96 43 96 96zM64 216c0-13.3-10.7-24-24-24s-24 10.7-24 24v40c0 89.1 66.2 162.7 152 174.4V464H120c-13.3 0-24 10.7-24 24s10.7 24 24 24h72 72c13.3 0 24-10.7 24-24s-10.7-24-24-24H216V430.4c85.8-11.7 152-85.3 152-174.4V216c0-13.3-10.7-24-24-24s-24 10.7-24 24v40c0 70.7-57.3 128-128 128s-128-57.3-128-128V216z"})})})},Pi=n=>{const i=n.size||16;return g.jsx(Dt,{children:g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[g.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),g.jsx("path",{d:"M18 6l-12 12"}),g.jsx("path",{d:"M6 6l12 12"})]})})},C0={audio:!0},T0=n=>{const{onCancel:i,onSend:o}=n,[s,p]=q.useState(0),[u,m]=q.useState(!1),[d,h]=q.useState(!1),[x,y]=q.useState([]),v=q.useRef(null);q.useEffect(()=>{let A;return u&&(A=setInterval(()=>p(s+1),10)),()=>clearInterval(A)},[u,s]);const R=A=>{const B=new MediaRecorder(A);v.current=B,B.start(),B.onstop=function(){A==null||A.getTracks().forEach(G=>G==null?void 0:G.stop())},B.ondataavailable=function(G){y(K=>[...K,G.data])},m(!0)},M=function(A){console.log("The following error occured: "+A)},w=()=>{v.current&&(v.current.stop(),m(!1))};q.useEffect(()=>{var A,B,G,K,et,mt;if(navigator.mediaDevices.getUserMedia=((A=navigator==null?void 0:navigator.mediaDevices)==null?void 0:A.getUserMedia)||((B=navigator==null?void 0:navigator.mediaDevices)==null?void 0:B.webkitGetUserMedia)||((G=navigator==null?void 0:navigator.mediaDevices)==null?void 0:G.mozGetUserMedia)||((K=navigator==null?void 0:navigator.mediaDevices)==null?void 0:K.msGetUserMedia),!((et=navigator==null?void 0:navigator.mediaDevices)!=null&&et.getUserMedia)){console.error("The mediaDevices.getUserMedia() method is not supported.");return}(mt=navigator==null?void 0:navigator.mediaDevices)==null||mt.getUserMedia(C0).then(R,M)},[]),q.useEffect(()=>{if(!d||!x.length)return;const A=new Blob(x,{type:"audio/mp3;codecs=mpeg"});y([]),o(A),h(!1)},[x,o,d]);const b=()=>{w(),i()},S=()=>{w(),h(!0)},P=Math.floor(s%36e4/6e3),L=Math.floor(s%6e3/100);return g.jsxs("div",{className:"gpl-8 gpr-8 d-flex align-center gpb-25",children:[g.jsx(ye,{variant:"text",className:"bg-light gp-8",style:{borderRadius:"100px",height:"44px"},onClick:b,children:g.jsx(Pi,{size:"24"})}),g.jsxs("div",{className:"gml-24 d-flex b-1 gp-2 w-100 pos-relative justify-between align-center",style:{borderRadius:"40px",backgroundColor:"#fae1e1",height:"44px"},children:[g.jsx("div",{}),g.jsxs("div",{className:"d-flex align-center",children:[g.jsx(dm,{size:"16",className:"anim-blink-self text-gooeyDanger",style:{}}),g.jsxs("p",{className:"gpl-4 text-gooeyDanger font_14_400",children:[P.toString().padStart(2,"0"),":",L.toString().padStart(2,"0")]})]}),g.jsx(ye,{onClick:S,variant:"text-alt",style:{height:"44px"},children:g.jsx(cm,{size:24})})]})]})};function R0(){return g.jsx("style",{children:Array.from(globalThis.addedStyles).join(` +`)})}function Xe(n){globalThis.addedStyles=globalThis.addedStyles||new Set,globalThis.addedStyles.add(n)}const j0=":export{primary:hsl(169,55%,82%);secondary:hsl(12,100%,97%);border-color:#eee;gooeyDanger:#dc3545}.gooeyChat-chat-input{width:100%;bottom:0;background:transparent}.gooeyChat-chat-input textarea{width:100%;outline:none;max-height:200px;height:44px;resize:none;position:relative}.gooeyChat-chat-input textarea:focus{outline:1px solid #f0f0f0}.input-left-buttons{position:absolute;left:4px;top:7px}.input-right-buttons{position:absolute;right:4px;top:3px}.file-preview-box img{height:80px;max-width:100px;object-fit:cover}.uploading-box{filter:brightness(.2)}",A0=n=>{const i=n.size||16;return g.jsx(Dt,{children:g.jsx("svg",{height:i,width:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:g.jsx("path",{d:"M32 128C32 57.3 89.3 0 160 0s128 57.3 128 128V320c0 44.2-35.8 80-80 80s-80-35.8-80-80V160c0-17.7 14.3-32 32-32s32 14.3 32 32V320c0 8.8 7.2 16 16 16s16-7.2 16-16V128c0-35.3-28.7-64-64-64s-64 28.7-64 64V336c0 61.9 50.1 112 112 112s112-50.1 112-112V160c0-17.7 14.3-32 32-32s32 14.3 32 32V336c0 97.2-78.8 176-176 176s-176-78.8-176-176V128z"})})})};Xe(":export{primary:hsl(169,55%,82%);secondary:hsl(12,100%,97%);border-color:#eee;gooeyDanger:#dc3545}button{background:none transparent;display:block;padding-inline:0px;margin:0;padding-block:0px;border:1px solid transparent;cursor:pointer;display:flex;align-items:center;border-radius:8px;padding:8px;color:#090909;width:fit-content}button:disabled{color:#6c757d!important;fill:#f0f0f0;cursor:unset}button .btn-icon{position:absolute;top:50%;transform:translateY(-50%);right:0;z-index:2}button .icon-hover{opacity:0}button .btn-hide-overflow p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}button:hover .icon-hover{opacity:1}.button-filled{background-color:#eee}.button-filled:hover{border:1px solid #0d0d0d}.button-outlined{border:1px solid #eee}.button-outlined:hover{background-color:#f0f0f0}.button-text:disabled:hover{border:1px solid transparent}.button-text:hover{border:1px solid #eee}.button-text:active:not(:disabled){background-color:#eee;color:#0d0d0d!important}.button-text:active:disabled{background-color:unset}#expand-collapse-button svg{transform:rotate(180deg)}.collapsible-button-expanded #expand-collapse-button>svg{transform:rotate(0);transition:transform .3s ease}.button-text-alt:hover{background-color:#f0f0f0}.collapsed-area{height:0px;transition:all .3s ease;opacity:0}.collapsed-area-expanded{transition:all .3s ease;height:100%;opacity:1}#expand-collapse-button{display:inline-flex;padding:1px!important;max-height:16px}");const tr=({variant:n="text",className:i="",onClick:o,RightIconComponent:s,showIconOnHover:p,hideOverflow:u,...m})=>{const d=`button-${n==null?void 0:n.toLowerCase()}`;return g.jsx("button",{...m,onMouseDown:o,className:d+" "+i,children:g.jsxs("div",{className:Pt("pos-relative w-100 h-100",u&&"btn-hide-overflow"),children:[m.children,s&&g.jsx("div",{className:Pt("btn-icon right-icon",p&&"icon-hover"),children:g.jsx(s,{})}),u&&g.jsx("div",{className:"button-right-blur"})]})})},z0=n=>{const i=n.size||16;return g.jsx("div",{className:"circular-loader",children:g.jsx("svg",{className:"circular",viewBox:"25 25 50 50",height:i,width:i,children:g.jsx("circle",{className:"path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"2","stroke-miterlimit":"10"})})})},N0=({files:n})=>n?g.jsx("div",{className:"d-flex",style:{gap:"12px",flexWrap:"wrap"},children:n.map((i,o)=>{const{isUploading:s,name:p,data:u,removeFile:m}=i,d=URL.createObjectURL(u),h=i.type.split("/")[0];return g.jsx("div",{className:"d-flex",children:h==="image"?g.jsxs("div",{className:Pt("file-preview-box br-large pos-relative"),children:[s&&g.jsx("div",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",zIndex:1},children:g.jsx(z0,{size:32})}),g.jsx("div",{style:{position:"absolute",top:"6px",right:"-16px",transform:"translate(-50%, -50%)",zIndex:1},children:g.jsx(tr,{className:"bg-white gp-4 b-1",onClick:m,children:g.jsx(Pi,{size:12})})}),g.jsx("div",{className:Pt(s&&"uploading-box","overflow-hidden file-preview-box"),children:g.jsx("a",{href:d,target:"_blank",children:g.jsx("img",{src:d,alt:`preview-${p}`,className:"br-large b-1"})})})]}):g.jsx("div",{children:g.jsx("p",{children:i.name})})},o)})}):null;Xe(j0);const Ma="gooeyChat-input",gm=44,O0="image/*",L0=n=>new Promise((i,o)=>{const s=new FileReader;s.onload=p=>{const u=p.target.result,m=new Blob([new Uint8Array(u)],{type:n.type});i(m)},s.onerror=o,s.readAsArrayBuffer(n)}),P0=()=>{const{config:n}=le(),{initializeQuery:i,isSending:o,cancelApiCall:s,isReceiving:p}=an(),[u,m]=q.useState(""),[d,h]=q.useState(!1),[x,y]=q.useState(null),v=q.useRef(null),R=()=>{const J=v.current;J.style.height=gm+"px"},M=J=>{const{value:xt}=J.target;m(xt),xt||R()},w=J=>{if(J.keyCode===13&&!J.shiftKey){if(o||p)return;J.preventDefault(),S()}else J.keyCode===13&&J.shiftKey&&b()},b=()=>{const J=v.current;J.scrollHeight>gm&&(J==null||J.setAttribute("style","height:"+J.scrollHeight+"px !important"))},S=()=>{if(!u.trim()&&!(x!=null&&x.length)||et)return null;const J={input_prompt:u.trim()};x!=null&&x.length&&(J.input_images=x.map(xt=>xt.gooeyUrl),y([])),i(J),m(""),R()},P=()=>{s()},L=()=>{h(!0)},A=J=>{i({input_audio:J}),h(!1)},B=J=>{const xt=Array.from(J.target.files);!xt||!xt.length||y(xt.map((At,Et)=>(L0(At).then(It=>{const gt=new File([It],At.name);am(gt).then(zt=>{y(bt=>bt[Et]?(bt[Et].isUploading=!1,bt[Et].gooeyUrl=zt,[...bt]):bt)})}),{name:At.name,type:At.type.split("/")[0],data:At,gooeyUrl:"",isUploading:!0,removeFile:()=>{y(It=>(It.splice(Et,1),[...It]))}})))},G=()=>{const J=document.createElement("input");J.type="file",J.accept=O0,J.onchange=B,J.click()};if(!n)return null;const K=o||p,et=!K&&!o&&u.trim().length===0&&!(x!=null&&x.length)||(x==null?void 0:x.some(J=>J.isUploading)),mt=q.useMemo(()=>n==null?void 0:n.enablePhotoUpload,[n==null?void 0:n.enablePhotoUpload]);return g.jsxs(Qn.Fragment,{children:[x&&x.length>0&&g.jsx("div",{className:"gp-12 b-1 br-large gmb-12 gm-12",children:g.jsx(N0,{files:x})}),g.jsxs("div",{className:Pt("gooeyChat-chat-input gpr-8 gpl-8",!n.branding.showPoweredByGooey&&"gpb-8"),children:[d?g.jsx(T0,{onSend:A,onCancel:()=>h(!1)}):g.jsxs("div",{className:"pos-relative",children:[g.jsx("textarea",{value:u,ref:v,id:Ma,onChange:M,onKeyDown:w,className:Pt("br-large b-1 font_16_500 bg-white gpt-10 gpb-10 gpr-40 flex-1 gm-0",mt?"gpl-32":"gpl-12"),placeholder:`Message ${n.branding.name||""}`}),mt&&g.jsx("div",{className:"input-left-buttons",children:g.jsx(ye,{onClick:G,variant:"text-alt",className:"gp-4",children:g.jsx(A0,{size:18})})}),g.jsxs("div",{className:"input-right-buttons",children:[!(x!=null&&x.length)&&!K&&(n==null?void 0:n.enableAudioMessage)&&!u&&g.jsx(ye,{onClick:L,variant:"text-alt",children:g.jsx(dm,{size:18})}),(!!u||!(n!=null&&n.enableAudioMessage)||K||!!(x!=null&&x.length))&&g.jsx(ye,{disabled:et,variant:"text-alt",className:"gp-4",onClick:K?P:S,children:K?g.jsx(E0,{size:24}):g.jsx(cm,{size:24})})]})]}),!!n.branding.showPoweredByGooey&&!d&&g.jsxs("p",{className:"font_10_500 gpt-4 gpb-6 text-darkGrey text-center gm-0",style:{fontSize:"8px"},children:["Powered by"," ",g.jsx("a",{href:"https://gooey.ai/copilot/",target:"_ablank",className:"text-darkGrey text-underline",children:"Gooey.AI"})]})]})]})},I0="number",M0=n=>({...n,id:xp(),role:"user"}),fm=q.createContext({}),F0=n=>{var H,nt,V;const i=localStorage.getItem(sm)||"",o=(H=le())==null?void 0:H.config,s=(nt=le())==null?void 0:nt.layoutController,{conversations:p,handleAddConversation:u}=S0(i,o==null?void 0:o.integration_id),[m,d]=q.useState(new Map),[h,x]=q.useState(!1),[y,v]=q.useState(!1),[R,M]=q.useState(!0),[w,b]=q.useState(!0),S=q.useRef(jt.CancelToken.source()),P=q.useRef(null),L=q.useRef(null),A=q.useRef(null),B=k=>{A.current={...A.current,...k}},G=k=>{b(!1);const N=Array.from(m.values()).pop(),Z=N==null?void 0:N.conversation_id;x(!0);const rt=M0(k);xt({...k,conversation_id:Z,citation_style:I0,user_id:i}),K(rt)},K=k=>{d(N=>new Map(N.set(k.id,k)))},et=q.useCallback((k=0)=>{L.current&&L.current.scroll({top:k,behavior:"smooth"})},[L]),mt=q.useCallback(()=>{setTimeout(()=>{var k;et((k=L==null?void 0:L.current)==null?void 0:k.scrollHeight)},10)},[et]),J=q.useCallback(k=>{d(N=>{if((k==null?void 0:k.type)===On.CONVERSATION_START){x(!1),v(!0),P.current=k.bot_message_id;const Z=new Map(N);return Z.set(k.bot_message_id,{id:P.current,...k}),w0(k==null?void 0:k.user_id),Z}if((k==null?void 0:k.type)===On.FINAL_RESPONSE&&(k==null?void 0:k.status)==="completed"){const Z=new Map(N),rt=Array.from(N.keys()).pop(),it=N.get(rt),{output:pt,...ft}=k;Z.set(rt,{...it,conversation_id:it==null?void 0:it.conversation_id,id:P.current,...pt,...ft}),v(!1);const ht={id:it==null?void 0:it.conversation_id,user_id:it==null?void 0:it.user_id,title:k==null?void 0:k.title,timestamp:k==null?void 0:k.created_at,bot_id:o==null?void 0:o.integration_id};return B(ht),u(Object.assign({},{...ht,messages:Array.from(Z.values())})),Z}if((k==null?void 0:k.type)===On.MESSAGE_PART){const Z=new Map(N),rt=Array.from(N.keys()).pop(),it=N.get(rt),pt=((it==null?void 0:it.text)||"")+(k.text||"");return Z.set(rt,{...it,...k,id:P.current,text:pt}),Z}return N}),mt()},[o==null?void 0:o.integration_id,u,mt]),xt=async k=>{try{let N="";if(k!=null&&k.input_audio){const rt=new File([k.input_audio],`gooey-widget-recording-${xp()}.webm`);N=await am(rt),k.input_audio=N}k={...o==null?void 0:o.payload,integration_id:o==null?void 0:o.integration_id,user_id:i,...k};const Z=await om(k,S.current,o==null?void 0:o.apiUrl);h0(Z,J)}catch(N){console.error("Api Failed!",N),x(!1)}},At=k=>{const N=new Map;k.forEach(Z=>{N.set(Z.id,{...Z})}),d(N)},Et=()=>{!y&&!h?u(Object.assign({},A.current)):(gt(),u(Object.assign({},A.current))),(y||h)&>(),s!=null&&s.isMobile&&(s!=null&&s.isSidebarOpen)&&(s==null||s.toggleSidebar());const k=gooeyShadowRoot==null?void 0:gooeyShadowRoot.getElementById(Ma);k==null||k.focus(),v(!1),x(!1),It()},It=()=>{d(new Map),A.current={}},gt=q.useCallback(()=>{window!=null&&window.GooeyEventSource?GooeyEventSource.close():S==null||S.current.cancel("Operation canceled by the user."),!y&&!h&&(S.current=jt.CancelToken.source());const k=new Map(m),N=Array.from(m.keys());h&&(k.delete(N.pop()),d(k)),y&&(k.delete(N.pop()),k.delete(N.pop()),d(k)),B({messages:Array.from(k.values())}),S.current=jt.CancelToken.source(),v(!1),x(!1)},[y,h,m]),zt=(k,N)=>{om({button_pressed:{button_id:k,context_msg_id:N},integration_id:o==null?void 0:o.integration_id,user_id:i},S.current),d(Z=>{const rt=new Map(Z),it=Z.get(N),pt=it.buttons.map(ft=>{if(ft.id===k)return{...ft,isPressed:!0}});return rt.set(N,{...it,buttons:pt}),rt})},bt=q.useCallback(async k=>{var Z;if((h||y)&>(),!k||!k.getMessages||((Z=A.current)==null?void 0:Z.id)===k.id)return M(!1);b(!0),M(!0);const N=await k.getMessages();return At(N),B(k),M(!1),N},[gt,y,h]);q.useEffect(()=>{b(!0),!(s!=null&&s.showNewConversationButton)&&p.length?bt(p[0]):M(!1),setTimeout(()=>{b(!1)},3e3)},[o,p,s==null?void 0:s.showNewConversationButton,bt]);const _t={sendPrompt:xt,messages:m,isSending:h,initializeQuery:G,handleNewConversation:Et,cancelApiCall:gt,scrollMessageContainer:et,scrollContainerRef:L,isReceiving:y,handleFeedbackClick:zt,conversations:p,setActiveConversation:bt,currentConversationId:((V=A.current)==null?void 0:V.id)||null,isMessagesLoading:R,preventAutoplay:w};return g.jsx(fm.Provider,{value:_t,children:n.children})},hm='@charset "UTF-8";:export{primary:hsl(169,55%,82%);secondary:hsl(12,100%,97%);border-color:#eee;gooeyDanger:#dc3545}.gooey-incomingMsg{width:100%;word-wrap:normal}.gooey-incomingMsg audio{width:100%;height:40px}.gooey-incomingMsg video{width:360px;height:360px;border-radius:12px}.sources-listContainer{display:flex;min-height:72px;max-width:calc(100% + 16px);overflow:hidden}.sources-listContainer:hover{overflow-x:auto}.sources-card{background-color:#f0f0f0;border-radius:12px;cursor:pointer;min-width:160px;max-width:160px;height:64px;padding:8px;border:1px solid transparent}.sources-card:hover{border:1px solid #6c757d}.sources-card-disabled:hover{border:1px solid transparent}.sources-card p{display:-webkit-box;-webkit-line-clamp:2;word-break:break-all;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}@keyframes wave-lines{0%{background-position:-468px 0}to{background-position:468px 0}}.sources-skeleton .line{height:12px;margin-bottom:6px;border-radius:2px;background:#82828233;background:-webkit-gradient(linear,left top,right top,color-stop(8%,rgba(130,130,130,.2)),color-stop(18%,rgba(130,130,130,.3)),color-stop(33%,rgba(130,130,130,.2)));background:linear-gradient(to right,#82828233 8%,#8282824d 18%,#82828233 33%);background-size:800px 100px;animation:wave-lines 1s infinite ease-out}.gooey-placeholderMsg-container{display:grid;width:100%;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-auto-flow:row;gap:12px 12px}.markdown{max-width:none;font-size:16px!important}.markdown h1{font-weight:600}.markdown h1:first-child{margin-top:0}.markdown p{margin-bottom:12px}.markdown h2{font-weight:600;margin-bottom:1rem;margin-top:2rem}.markdown h2:first-child{margin-top:0}.markdown h3{font-weight:600;margin-bottom:.5rem;margin-top:1rem}.markdown h3:first-child{margin-top:0}.markdown h4{font-weight:600;margin-bottom:.5rem;margin-top:1rem}.markdown h4:first-child{margin-top:0}.markdown h5{font-weight:600}.markdown li{margin-bottom:12px}.markdown h5:first-child{margin-top:0}.markdown blockquote{--tw-border-opacity: 1;border-color:#9b9b9b;border-left-width:2px;line-height:1.5rem;margin:0;padding-bottom:.5rem;padding-left:1rem;padding-top:.5rem}.markdown blockquote>p{margin:0}.markdown blockquote>p:after,.markdown blockquote>p:before{display:none}.response-streaming>:not(ol):not(ul):not(pre):last-child:after,.response-streaming>pre:last-child code:after{content:"●";-webkit-font-smoothing:subpixel-antialiased;-webkit-animation:pulseSize .5s ease-in-out infinite;animation:pulseSize .5s ease-in-out infinite;font-family:Circle,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;line-height:normal;margin-left:.25rem;vertical-align:baseline}@supports (selector(:has(*))){.response-streaming>ol:last-child>li:last-child>ol:last-child>li:last-child:after,.response-streaming>ol:last-child>li:last-child>ol:last-child>li:last-child>ol:last-child>li:last-child:after,.response-streaming>ol:last-child>li:last-child>ol:last-child>li:last-child>ul:last-child>li:last-child:after,.response-streaming>ol:last-child>li:last-child>ul:last-child>li:last-child:after,.response-streaming>ol:last-child>li:last-child>ul:last-child>li:last-child>ol:last-child>li:last-child:after,.response-streaming>ol:last-child>li:last-child>ul:last-child>li:last-child>ul:last-child>li:last-child:after,.response-streaming>ul:last-child>li:last-child>ol:last-child>li:last-child:after,.response-streaming>ul:last-child>li:last-child>ol:last-child>li:last-child>ol:last-child>li:last-child:after,.response-streaming>ul:last-child>li:last-child>ol:last-child>li:last-child>ul:last-child>li:last-child:after,.response-streaming>ul:last-child>li:last-child>ul:last-child>li:last-child:after,.response-streaming>ul:last-child>li:last-child>ul:last-child>li:last-child>ol:last-child>li:last-child:after,.response-streaming>ul:last-child>li:last-child>ul:last-child>li:last-child>ul:last-child>li:last-child:after,.response-streaming>ul:last-child>li:last-child[*|\\:not-has\\(]:after{content:"●";font-family:Circle,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;line-height:normal;margin-left:.25rem;vertical-align:baseline;-webkit-font-smoothing:subpixel-antialiased;-webkit-animation:pulseSize .5s ease-in-out infinite;animation:pulseSize .5s ease-in-out infinite}.response-streaming>ul:last-child>li:last-child:not(:has(*>li)):after{content:"●";font-family:Circle,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;line-height:normal;margin-left:.25rem;vertical-align:baseline;-webkit-font-smoothing:subpixel-antialiased;-webkit-animation:pulseSize .5s ease-in-out infinite;animation:pulseSize .5s ease-in-out infinite}.response-streaming>ol:last-child>li:last-child[*|\\:not-has\\(]:after{content:"●";font-family:Circle,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;line-height:normal;margin-left:.25rem;vertical-align:baseline;-webkit-font-smoothing:subpixel-antialiased;-webkit-animation:pulseSize .5s ease-in-out infinite;animation:pulseSize .5s ease-in-out infinite}.response-streaming>ol:last-child>li:last-child:not(:has(*>li)):after{content:"●";font-family:Circle,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;line-height:normal;margin-left:.25rem;vertical-align:baseline;-webkit-font-smoothing:subpixel-antialiased;-webkit-animation:pulseSize .5s ease-in-out infinite;animation:pulseSize .5s ease-in-out infinite}}@supports not (selector(:has(*))){.response-streaming>ol:last-child>li:last-child:after,.response-streaming>ul:last-child>li:last-child:after{content:"●";font-family:Circle,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;line-height:normal;margin-left:.25rem;vertical-align:baseline;-webkit-font-smoothing:subpixel-antialiased;-webkit-animation:pulseSize .5s ease-in-out infinite;animation:pulseSize .5s ease-in-out infinite}}@-webkit-keyframes pulseSize{0%,to{opacity:1}50%{opacity:0}}@keyframes pulseSize{0%,to{opacity:1}50%{opacity:0}}';function Fa(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Ln=Fa();function xm(n){Ln=n}const ym=/[&<>"']/,D0=new RegExp(ym.source,"g"),wm=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,U0=new RegExp(wm.source,"g"),B0={"&":"&","<":"<",">":">",'"':""","'":"'"},bm=n=>B0[n];function we(n,i){if(i){if(ym.test(n))return n.replace(D0,bm)}else if(wm.test(n))return n.replace(U0,bm);return n}const $0=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function H0(n){return n.replace($0,(i,o)=>(o=o.toLowerCase(),o==="colon"?":":o.charAt(0)==="#"?o.charAt(1)==="x"?String.fromCharCode(parseInt(o.substring(2),16)):String.fromCharCode(+o.substring(1)):""))}const V0=/(^|[^\[])\^/g;function St(n,i){let o=typeof n=="string"?n:n.source;i=i||"";const s={replace:(p,u)=>{let m=typeof u=="string"?u:u.source;return m=m.replace(V0,"$1"),o=o.replace(p,m),s},getRegex:()=>new RegExp(o,i)};return s}function vm(n){try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const zr={exec:()=>null};function _m(n,i){const o=n.replace(/\|/g,(u,m,d)=>{let h=!1,x=m;for(;--x>=0&&d[x]==="\\";)h=!h;return h?"|":" |"}),s=o.split(/ \|/);let p=0;if(s[0].trim()||s.shift(),s.length>0&&!s[s.length-1].trim()&&s.pop(),i)if(s.length>i)s.splice(i);else for(;s.length{const u=p.match(/^\s+/);if(u===null)return p;const[m]=u;return m.length>=s.length?p.slice(s.length):p}).join(` +`)}class Mi{constructor(i){Tt(this,"options");Tt(this,"rules");Tt(this,"lexer");this.options=i||Ln}space(i){const o=this.rules.block.newline.exec(i);if(o&&o[0].length>0)return{type:"space",raw:o[0]}}code(i){const o=this.rules.block.code.exec(i);if(o){const s=o[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:o[0],codeBlockStyle:"indented",text:this.options.pedantic?s:Ii(s,` +`)}}}fences(i){const o=this.rules.block.fences.exec(i);if(o){const s=o[0],p=W0(s,o[3]||"");return{type:"code",raw:s,lang:o[2]?o[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):o[2],text:p}}}heading(i){const o=this.rules.block.heading.exec(i);if(o){let s=o[2].trim();if(/#$/.test(s)){const p=Ii(s,"#");(this.options.pedantic||!p||/ $/.test(p))&&(s=p.trim())}return{type:"heading",raw:o[0],depth:o[1].length,text:s,tokens:this.lexer.inline(s)}}}hr(i){const o=this.rules.block.hr.exec(i);if(o)return{type:"hr",raw:o[0]}}blockquote(i){const o=this.rules.block.blockquote.exec(i);if(o){let s=o[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,` + $1`);s=Ii(s.replace(/^ *>[ \t]?/gm,""),` +`);const p=this.lexer.state.top;this.lexer.state.top=!0;const u=this.lexer.blockTokens(s);return this.lexer.state.top=p,{type:"blockquote",raw:o[0],tokens:u,text:s}}}list(i){let o=this.rules.block.list.exec(i);if(o){let s=o[1].trim();const p=s.length>1,u={type:"list",raw:"",ordered:p,start:p?+s.slice(0,-1):"",loose:!1,items:[]};s=p?`\\d{1,9}\\${s.slice(-1)}`:`\\${s}`,this.options.pedantic&&(s=p?s:"[*+-]");const m=new RegExp(`^( {0,3}${s})((?:[ ][^\\n]*)?(?:\\n|$))`);let d="",h="",x=!1;for(;i;){let y=!1;if(!(o=m.exec(i))||this.rules.block.hr.test(i))break;d=o[0],i=i.substring(d.length);let v=o[2].split(` +`,1)[0].replace(/^\t+/,P=>" ".repeat(3*P.length)),R=i.split(` +`,1)[0],M=0;this.options.pedantic?(M=2,h=v.trimStart()):(M=o[2].search(/[^ ]/),M=M>4?1:M,h=v.slice(M),M+=o[1].length);let w=!1;if(!v&&/^ *$/.test(R)&&(d+=R+` +`,i=i.substring(R.length+1),y=!0),!y){const P=new RegExp(`^ {0,${Math.min(3,M-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),L=new RegExp(`^ {0,${Math.min(3,M-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),A=new RegExp(`^ {0,${Math.min(3,M-1)}}(?:\`\`\`|~~~)`),B=new RegExp(`^ {0,${Math.min(3,M-1)}}#`);for(;i;){const G=i.split(` +`,1)[0];if(R=G,this.options.pedantic&&(R=R.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),A.test(R)||B.test(R)||P.test(R)||L.test(i))break;if(R.search(/[^ ]/)>=M||!R.trim())h+=` +`+R.slice(M);else{if(w||v.search(/[^ ]/)>=4||A.test(v)||B.test(v)||L.test(v))break;h+=` +`+R}!w&&!R.trim()&&(w=!0),d+=G+` +`,i=i.substring(G.length+1),v=R.slice(M)}}u.loose||(x?u.loose=!0:/\n *\n *$/.test(d)&&(x=!0));let b=null,S;this.options.gfm&&(b=/^\[[ xX]\] /.exec(h),b&&(S=b[0]!=="[ ] ",h=h.replace(/^\[[ xX]\] +/,""))),u.items.push({type:"list_item",raw:d,task:!!b,checked:S,loose:!1,text:h,tokens:[]}),u.raw+=d}u.items[u.items.length-1].raw=d.trimEnd(),u.items[u.items.length-1].text=h.trimEnd(),u.raw=u.raw.trimEnd();for(let y=0;yM.type==="space"),R=v.length>0&&v.some(M=>/\n.*\n/.test(M.raw));u.loose=R}if(u.loose)for(let y=0;y$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",u=o[3]?o[3].substring(1,o[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):o[3];return{type:"def",tag:s,raw:o[0],href:p,title:u}}}table(i){const o=this.rules.block.table.exec(i);if(!o||!/[:|]/.test(o[2]))return;const s=_m(o[1]),p=o[2].replace(/^\||\| *$/g,"").split("|"),u=o[3]&&o[3].trim()?o[3].replace(/\n[ \t]*$/,"").split(` +`):[],m={type:"table",raw:o[0],header:[],align:[],rows:[]};if(s.length===p.length){for(const d of p)/^ *-+: *$/.test(d)?m.align.push("right"):/^ *:-+: *$/.test(d)?m.align.push("center"):/^ *:-+ *$/.test(d)?m.align.push("left"):m.align.push(null);for(const d of s)m.header.push({text:d,tokens:this.lexer.inline(d)});for(const d of u)m.rows.push(_m(d,m.header.length).map(h=>({text:h,tokens:this.lexer.inline(h)})));return m}}lheading(i){const o=this.rules.block.lheading.exec(i);if(o)return{type:"heading",raw:o[0],depth:o[2].charAt(0)==="="?1:2,text:o[1],tokens:this.lexer.inline(o[1])}}paragraph(i){const o=this.rules.block.paragraph.exec(i);if(o){const s=o[1].charAt(o[1].length-1)===` +`?o[1].slice(0,-1):o[1];return{type:"paragraph",raw:o[0],text:s,tokens:this.lexer.inline(s)}}}text(i){const o=this.rules.block.text.exec(i);if(o)return{type:"text",raw:o[0],text:o[0],tokens:this.lexer.inline(o[0])}}escape(i){const o=this.rules.inline.escape.exec(i);if(o)return{type:"escape",raw:o[0],text:we(o[1])}}tag(i){const o=this.rules.inline.tag.exec(i);if(o)return!this.lexer.state.inLink&&/^/i.test(o[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(o[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(o[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:o[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:o[0]}}link(i){const o=this.rules.inline.link.exec(i);if(o){const s=o[2].trim();if(!this.options.pedantic&&/^$/.test(s))return;const m=Ii(s.slice(0,-1),"\\");if((s.length-m.length)%2===0)return}else{const m=G0(o[2],"()");if(m>-1){const h=(o[0].indexOf("!")===0?5:4)+o[1].length+m;o[2]=o[2].substring(0,m),o[0]=o[0].substring(0,h).trim(),o[3]=""}}let p=o[2],u="";if(this.options.pedantic){const m=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(p);m&&(p=m[1],u=m[3])}else u=o[3]?o[3].slice(1,-1):"";return p=p.trim(),/^$/.test(s)?p=p.slice(1):p=p.slice(1,-1)),km(o,{href:p&&p.replace(this.rules.inline.anyPunctuation,"$1"),title:u&&u.replace(this.rules.inline.anyPunctuation,"$1")},o[0],this.lexer)}}reflink(i,o){let s;if((s=this.rules.inline.reflink.exec(i))||(s=this.rules.inline.nolink.exec(i))){const p=(s[2]||s[1]).replace(/\s+/g," "),u=o[p.toLowerCase()];if(!u){const m=s[0].charAt(0);return{type:"text",raw:m,text:m}}return km(s,u,s[0],this.lexer)}}emStrong(i,o,s=""){let p=this.rules.inline.emStrongLDelim.exec(i);if(!p||p[3]&&s.match(/[\p{L}\p{N}]/u))return;if(!(p[1]||p[2]||"")||!s||this.rules.inline.punctuation.exec(s)){const m=[...p[0]].length-1;let d,h,x=m,y=0;const v=p[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(v.lastIndex=0,o=o.slice(-1*i.length+m);(p=v.exec(o))!=null;){if(d=p[1]||p[2]||p[3]||p[4]||p[5]||p[6],!d)continue;if(h=[...d].length,p[3]||p[4]){x+=h;continue}else if((p[5]||p[6])&&m%3&&!((m+h)%3)){y+=h;continue}if(x-=h,x>0)continue;h=Math.min(h,h+x+y);const R=[...p[0]][0].length,M=i.slice(0,m+p.index+R+h);if(Math.min(m,h)%2){const b=M.slice(1,-1);return{type:"em",raw:M,text:b,tokens:this.lexer.inlineTokens(b)}}const w=M.slice(2,-2);return{type:"strong",raw:M,text:w,tokens:this.lexer.inlineTokens(w)}}}}codespan(i){const o=this.rules.inline.code.exec(i);if(o){let s=o[2].replace(/\n/g," ");const p=/[^ ]/.test(s),u=/^ /.test(s)&&/ $/.test(s);return p&&u&&(s=s.substring(1,s.length-1)),s=we(s,!0),{type:"codespan",raw:o[0],text:s}}}br(i){const o=this.rules.inline.br.exec(i);if(o)return{type:"br",raw:o[0]}}del(i){const o=this.rules.inline.del.exec(i);if(o)return{type:"del",raw:o[0],text:o[2],tokens:this.lexer.inlineTokens(o[2])}}autolink(i){const o=this.rules.inline.autolink.exec(i);if(o){let s,p;return o[2]==="@"?(s=we(o[1]),p="mailto:"+s):(s=we(o[1]),p=s),{type:"link",raw:o[0],text:s,href:p,tokens:[{type:"text",raw:s,text:s}]}}}url(i){var s;let o;if(o=this.rules.inline.url.exec(i)){let p,u;if(o[2]==="@")p=we(o[0]),u="mailto:"+p;else{let m;do m=o[0],o[0]=((s=this.rules.inline._backpedal.exec(o[0]))==null?void 0:s[0])??"";while(m!==o[0]);p=we(o[0]),o[1]==="www."?u="http://"+o[0]:u=o[0]}return{type:"link",raw:o[0],text:p,href:u,tokens:[{type:"text",raw:p,text:p}]}}}inlineText(i){const o=this.rules.inline.text.exec(i);if(o){let s;return this.lexer.state.inRawBlock?s=o[0]:s=we(o[0]),{type:"text",raw:o[0],text:s}}}}const q0=/^(?: *(?:\n|$))+/,Z0=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,Y0=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Nr=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,X0=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Sm=/(?:[*+-]|\d{1,9}[.)])/,Em=St(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Sm).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Da=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Q0=/^[^\n]+/,Ua=/(?!\s*\])(?:\\.|[^\[\]\\])+/,K0=St(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",Ua).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),J0=St(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Sm).getRegex(),Fi="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Ba=/|$))/,th=St("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",Ba).replace("tag",Fi).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Cm=St(Da).replace("hr",Nr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Fi).getRegex(),$a={blockquote:St(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Cm).getRegex(),code:Z0,def:K0,fences:Y0,heading:X0,hr:Nr,html:th,lheading:Em,list:J0,newline:q0,paragraph:Cm,table:zr,text:Q0},Tm=St("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Nr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Fi).getRegex(),eh={...$a,table:Tm,paragraph:St(Da).replace("hr",Nr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Tm).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Fi).getRegex()},nh={...$a,html:St(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ba).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:zr,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:St(Da).replace("hr",Nr).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",Em).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Rm=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,rh=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,jm=/^( {2,}|\\)\n(?!\s*$)/,ih=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,sh=St(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,Or).getRegex(),lh=St("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,Or).getRegex(),ph=St("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,Or).getRegex(),mh=St(/\\([punct])/,"gu").replace(/punct/g,Or).getRegex(),uh=St(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),ch=St(Ba).replace("(?:-->|$)","-->").getRegex(),dh=St("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",ch).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Di=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,gh=St(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Di).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Am=St(/^!?\[(label)\]\[(ref)\]/).replace("label",Di).replace("ref",Ua).getRegex(),zm=St(/^!?\[(ref)\](?:\[\])?/).replace("ref",Ua).getRegex(),fh=St("reflink|nolink(?!\\()","g").replace("reflink",Am).replace("nolink",zm).getRegex(),Ha={_backpedal:zr,anyPunctuation:mh,autolink:uh,blockSkip:ah,br:jm,code:rh,del:zr,emStrongLDelim:sh,emStrongRDelimAst:lh,emStrongRDelimUnd:ph,escape:Rm,link:gh,nolink:zm,punctuation:oh,reflink:Am,reflinkSearch:fh,tag:dh,text:ih,url:zr},hh={...Ha,link:St(/^!?\[(label)\]\((.*?)\)/).replace("label",Di).getRegex(),reflink:St(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Di).getRegex()},Va={...Ha,escape:St(Rm).replace("])","~|])").getRegex(),url:St(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\h+" ".repeat(x.length));let s,p,u,m;for(;i;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(d=>(s=d.call({lexer:this},i,o))?(i=i.substring(s.raw.length),o.push(s),!0):!1))){if(s=this.tokenizer.space(i)){i=i.substring(s.raw.length),s.raw.length===1&&o.length>0?o[o.length-1].raw+=` `:o.push(s);continue}if(s=this.tokenizer.code(i)){i=i.substring(s.raw.length),p=o[o.length-1],p&&(p.type==="paragraph"||p.type==="text")?(p.raw+=` `+s.raw,p.text+=` `+s.text,this.inlineQueue[this.inlineQueue.length-1].src=p.text):o.push(s);continue}if(s=this.tokenizer.fences(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.heading(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.hr(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.blockquote(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.list(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.html(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.def(i)){i=i.substring(s.raw.length),p=o[o.length-1],p&&(p.type==="paragraph"||p.type==="text")?(p.raw+=` `+s.raw,p.text+=` -`+s.raw,this.inlineQueue[this.inlineQueue.length-1].src=p.text):this.tokens.links[s.tag]||(this.tokens.links[s.tag]={href:s.href,title:s.title});continue}if(s=this.tokenizer.table(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.lheading(i)){i=i.substring(s.raw.length),o.push(s);continue}if(d=i,this.options.extensions&&this.options.extensions.startBlock){let g=1/0;const h=i.slice(1);let x;this.options.extensions.startBlock.forEach(y=>{x=y.call({lexer:this},h),typeof x=="number"&&x>=0&&(g=Math.min(g,x))}),g<1/0&&g>=0&&(d=i.substring(0,g+1))}if(this.state.top&&(s=this.tokenizer.paragraph(d))){p=o[o.length-1],u&&p.type==="paragraph"?(p.raw+=` +`+s.raw,this.inlineQueue[this.inlineQueue.length-1].src=p.text):this.tokens.links[s.tag]||(this.tokens.links[s.tag]={href:s.href,title:s.title});continue}if(s=this.tokenizer.table(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.lheading(i)){i=i.substring(s.raw.length),o.push(s);continue}if(u=i,this.options.extensions&&this.options.extensions.startBlock){let d=1/0;const h=i.slice(1);let x;this.options.extensions.startBlock.forEach(y=>{x=y.call({lexer:this},h),typeof x=="number"&&x>=0&&(d=Math.min(d,x))}),d<1/0&&d>=0&&(u=i.substring(0,d+1))}if(this.state.top&&(s=this.tokenizer.paragraph(u))){p=o[o.length-1],m&&p.type==="paragraph"?(p.raw+=` `+s.raw,p.text+=` -`+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=p.text):o.push(s),u=d.length!==i.length,i=i.substring(s.raw.length);continue}if(s=this.tokenizer.text(i)){i=i.substring(s.raw.length),p=o[o.length-1],p&&p.type==="text"?(p.raw+=` +`+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=p.text):o.push(s),m=u.length!==i.length,i=i.substring(s.raw.length);continue}if(s=this.tokenizer.text(i)){i=i.substring(s.raw.length),p=o[o.length-1],p&&p.type==="text"?(p.raw+=` `+s.raw,p.text+=` -`+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=p.text):o.push(s);continue}if(i){const g="Infinite loop on byte: "+i.charCodeAt(0);if(this.options.silent){console.error(g);break}else throw new Error(g)}}return this.state.top=!0,o}inline(i,o=[]){return this.inlineQueue.push({src:i,tokens:o}),o}inlineTokens(i,o=[]){let s,p,d,u=i,g,h,x;if(this.tokens.links){const y=Object.keys(this.tokens.links);if(y.length>0)for(;(g=this.tokenizer.rules.inline.reflinkSearch.exec(u))!=null;)y.includes(g[0].slice(g[0].lastIndexOf("[")+1,-1))&&(u=u.slice(0,g.index)+"["+"a".repeat(g[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(g=this.tokenizer.rules.inline.blockSkip.exec(u))!=null;)u=u.slice(0,g.index)+"["+"a".repeat(g[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(g=this.tokenizer.rules.inline.anyPunctuation.exec(u))!=null;)u=u.slice(0,g.index)+"++"+u.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;i;)if(h||(x=""),h=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(y=>(s=y.call({lexer:this},i,o))?(i=i.substring(s.raw.length),o.push(s),!0):!1))){if(s=this.tokenizer.escape(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.tag(i)){i=i.substring(s.raw.length),p=o[o.length-1],p&&s.type==="text"&&p.type==="text"?(p.raw+=s.raw,p.text+=s.text):o.push(s);continue}if(s=this.tokenizer.link(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.reflink(i,this.tokens.links)){i=i.substring(s.raw.length),p=o[o.length-1],p&&s.type==="text"&&p.type==="text"?(p.raw+=s.raw,p.text+=s.text):o.push(s);continue}if(s=this.tokenizer.emStrong(i,u,x)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.codespan(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.br(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.del(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.autolink(i)){i=i.substring(s.raw.length),o.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(i))){i=i.substring(s.raw.length),o.push(s);continue}if(d=i,this.options.extensions&&this.options.extensions.startInline){let y=1/0;const _=i.slice(1);let A;this.options.extensions.startInline.forEach(L=>{A=L.call({lexer:this},_),typeof A=="number"&&A>=0&&(y=Math.min(y,A))}),y<1/0&&y>=0&&(d=i.substring(0,y+1))}if(s=this.tokenizer.inlineText(d)){i=i.substring(s.raw.length),s.raw.slice(-1)!=="_"&&(x=s.raw.slice(-1)),h=!0,p=o[o.length-1],p&&p.type==="text"?(p.raw+=s.raw,p.text+=s.text):o.push(s);continue}if(i){const y="Infinite loop on byte: "+i.charCodeAt(0);if(this.options.silent){console.error(y);break}else throw new Error(y)}}return o}}class Fi{constructor(i){Rt(this,"options");this.options=i||Nn}code(i,o,s){var d;const p=(d=(o||"").match(/^\S*/))==null?void 0:d[0];return i=i.replace(/\n$/,"")+` -`,p?'
'+(s?i:xe(i,!0))+`
-`:"
"+(s?i:xe(i,!0))+`
+`+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=p.text):o.push(s);continue}if(i){const d="Infinite loop on byte: "+i.charCodeAt(0);if(this.options.silent){console.error(d);break}else throw new Error(d)}}return this.state.top=!0,o}inline(i,o=[]){return this.inlineQueue.push({src:i,tokens:o}),o}inlineTokens(i,o=[]){let s,p,u,m=i,d,h,x;if(this.tokens.links){const y=Object.keys(this.tokens.links);if(y.length>0)for(;(d=this.tokenizer.rules.inline.reflinkSearch.exec(m))!=null;)y.includes(d[0].slice(d[0].lastIndexOf("[")+1,-1))&&(m=m.slice(0,d.index)+"["+"a".repeat(d[0].length-2)+"]"+m.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(d=this.tokenizer.rules.inline.blockSkip.exec(m))!=null;)m=m.slice(0,d.index)+"["+"a".repeat(d[0].length-2)+"]"+m.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(d=this.tokenizer.rules.inline.anyPunctuation.exec(m))!=null;)m=m.slice(0,d.index)+"++"+m.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;i;)if(h||(x=""),h=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(y=>(s=y.call({lexer:this},i,o))?(i=i.substring(s.raw.length),o.push(s),!0):!1))){if(s=this.tokenizer.escape(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.tag(i)){i=i.substring(s.raw.length),p=o[o.length-1],p&&s.type==="text"&&p.type==="text"?(p.raw+=s.raw,p.text+=s.text):o.push(s);continue}if(s=this.tokenizer.link(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.reflink(i,this.tokens.links)){i=i.substring(s.raw.length),p=o[o.length-1],p&&s.type==="text"&&p.type==="text"?(p.raw+=s.raw,p.text+=s.text):o.push(s);continue}if(s=this.tokenizer.emStrong(i,m,x)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.codespan(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.br(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.del(i)){i=i.substring(s.raw.length),o.push(s);continue}if(s=this.tokenizer.autolink(i)){i=i.substring(s.raw.length),o.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(i))){i=i.substring(s.raw.length),o.push(s);continue}if(u=i,this.options.extensions&&this.options.extensions.startInline){let y=1/0;const v=i.slice(1);let R;this.options.extensions.startInline.forEach(M=>{R=M.call({lexer:this},v),typeof R=="number"&&R>=0&&(y=Math.min(y,R))}),y<1/0&&y>=0&&(u=i.substring(0,y+1))}if(s=this.tokenizer.inlineText(u)){i=i.substring(s.raw.length),s.raw.slice(-1)!=="_"&&(x=s.raw.slice(-1)),h=!0,p=o[o.length-1],p&&p.type==="text"?(p.raw+=s.raw,p.text+=s.text):o.push(s);continue}if(i){const y="Infinite loop on byte: "+i.charCodeAt(0);if(this.options.silent){console.error(y);break}else throw new Error(y)}}return o}}class Bi{constructor(i){Tt(this,"options");this.options=i||Ln}code(i,o,s){var u;const p=(u=(o||"").match(/^\S*/))==null?void 0:u[0];return i=i.replace(/\n$/,"")+` +`,p?'
'+(s?i:we(i,!0))+`
+`:"
"+(s?i:we(i,!0))+`
`}blockquote(i){return`
${i}
`}html(i,o){return i}heading(i,o,s){return`${i} `}hr(){return`
-`}list(i,o,s){const p=o?"ol":"ul",d=o&&s!==1?' start="'+s+'"':"";return"<"+p+d+`> +`}list(i,o,s){const p=o?"ol":"ul",u=o&&s!==1?' start="'+s+'"':"";return"<"+p+u+`> `+i+" `}listitem(i,o,s){return`
  • ${i}
  • `}checkbox(i){return"'}paragraph(i){return`

    ${i}

    @@ -86,12 +86,12 @@ ${i} `}tablerow(i){return` ${i} `}tablecell(i,o){const s=o.header?"th":"td";return(o.align?`<${s} align="${o.align}">`:`<${s}>`)+i+` -`}strong(i){return`${i}`}em(i){return`${i}`}codespan(i){return`${i}`}br(){return"
    "}del(i){return`${i}`}link(i,o,s){const p=lm(i);if(p===null)return s;i=p;let d='
    ",d}image(i,o,s){const p=lm(i);if(p===null)return s;i=p;let d=`${s}0&&A.tokens[0].type==="paragraph"?(A.tokens[0].text=k+" "+A.tokens[0].text,A.tokens[0].tokens&&A.tokens[0].tokens.length>0&&A.tokens[0].tokens[0].type==="text"&&(A.tokens[0].tokens[0].text=k+" "+A.tokens[0].tokens[0].text)):A.tokens.unshift({type:"text",text:k+" "}):w+=k+" "}w+=this.parse(A.tokens,x),y+=this.renderer.listitem(w,b,!!L)}s+=this.renderer.list(y,g,h);continue}case"html":{const u=d;s+=this.renderer.html(u.text,u.block);continue}case"paragraph":{const u=d;s+=this.renderer.paragraph(this.parseInline(u.tokens));continue}case"text":{let u=d,g=u.tokens?this.parseInline(u.tokens):u.text;for(;p+1{const x=g[h].flat(1/0);s=s.concat(this.walkTokens(x,o))}):g.tokens&&(s=s.concat(this.walkTokens(g.tokens,o)))}}return s}use(...i){const o=this.defaults.extensions||{renderers:{},childTokens:{}};return i.forEach(s=>{const p={...s};if(p.async=this.defaults.async||p.async||!1,s.extensions&&(s.extensions.forEach(d=>{if(!d.name)throw new Error("extension name required");if("renderer"in d){const u=o.renderers[d.name];u?o.renderers[d.name]=function(...g){let h=d.renderer.apply(this,g);return h===!1&&(h=u.apply(this,g)),h}:o.renderers[d.name]=d.renderer}if("tokenizer"in d){if(!d.level||d.level!=="block"&&d.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const u=o[d.level];u?u.unshift(d.tokenizer):o[d.level]=[d.tokenizer],d.start&&(d.level==="block"?o.startBlock?o.startBlock.push(d.start):o.startBlock=[d.start]:d.level==="inline"&&(o.startInline?o.startInline.push(d.start):o.startInline=[d.start]))}"childTokens"in d&&d.childTokens&&(o.childTokens[d.name]=d.childTokens)}),p.extensions=o),s.renderer){const d=this.defaults.renderer||new Fi(this.defaults);for(const u in s.renderer){if(!(u in d))throw new Error(`renderer '${u}' does not exist`);if(u==="options")continue;const g=u,h=s.renderer[g],x=d[g];d[g]=(...y)=>{let _=h.apply(d,y);return _===!1&&(_=x.apply(d,y)),_||""}}p.renderer=d}if(s.tokenizer){const d=this.defaults.tokenizer||new Ni(this.defaults);for(const u in s.tokenizer){if(!(u in d))throw new Error(`tokenizer '${u}' does not exist`);if(["options","rules","lexer"].includes(u))continue;const g=u,h=s.tokenizer[g],x=d[g];d[g]=(...y)=>{let _=h.apply(d,y);return _===!1&&(_=x.apply(d,y)),_}}p.tokenizer=d}if(s.hooks){const d=this.defaults.hooks||new Or;for(const u in s.hooks){if(!(u in d))throw new Error(`hook '${u}' does not exist`);if(u==="options")continue;const g=u,h=s.hooks[g],x=d[g];Or.passThroughHooks.has(u)?d[g]=y=>{if(this.defaults.async)return Promise.resolve(h.call(d,y)).then(A=>x.call(d,A));const _=h.call(d,y);return x.call(d,_)}:d[g]=(...y)=>{let _=h.apply(d,y);return _===!1&&(_=x.apply(d,y)),_}}p.hooks=d}if(s.walkTokens){const d=this.defaults.walkTokens,u=s.walkTokens;p.walkTokens=function(g){let h=[];return h.push(u.call(this,g)),d&&(h=h.concat(d.call(this,g))),h}}this.defaults={...this.defaults,...p}}),this}setOptions(i){return this.defaults={...this.defaults,...i},this}lexer(i,o){return Be.lex(i,o??this.defaults)}parser(i,o){return $e.parse(i,o??this.defaults)}}In=new WeakSet,np=function(i,o){return(s,p)=>{const d={...p},u={...this.defaults,...d};this.defaults.async===!0&&d.async===!1&&(u.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),u.async=!0);const g=ga(this,In,vg).call(this,!!u.silent,!!u.async);if(typeof s>"u"||s===null)return g(new Error("marked(): input parameter is undefined or null"));if(typeof s!="string")return g(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(s)+", string expected"));if(u.hooks&&(u.hooks.options=u),u.async)return Promise.resolve(u.hooks?u.hooks.preprocess(s):s).then(h=>i(h,u)).then(h=>u.hooks?u.hooks.processAllTokens(h):h).then(h=>u.walkTokens?Promise.all(this.walkTokens(h,u.walkTokens)).then(()=>h):h).then(h=>o(h,u)).then(h=>u.hooks?u.hooks.postprocess(h):h).catch(g);try{u.hooks&&(s=u.hooks.preprocess(s));let h=i(s,u);u.hooks&&(h=u.hooks.processAllTokens(h)),u.walkTokens&&this.walkTokens(h,u.walkTokens);let x=o(h,u);return u.hooks&&(x=u.hooks.postprocess(x)),x}catch(h){return g(h)}}},vg=function(i,o){return s=>{if(s.message+=` -Please report this to https://github.com/markedjs/marked.`,i){const p="

    An error occurred:

    "+xe(s.message+"",!0)+"
    ";return o?Promise.resolve(p):p}if(o)return Promise.reject(s);throw s}};const Ln=new Q0;function _t(n,i){return Ln.parse(n,i)}_t.options=_t.setOptions=function(n){return Ln.setOptions(n),_t.defaults=Ln.defaults,im(_t.defaults),_t},_t.getDefaults=Pa,_t.defaults=Nn,_t.use=function(...n){return Ln.use(...n),_t.defaults=Ln.defaults,im(_t.defaults),_t},_t.walkTokens=function(n,i){return Ln.walkTokens(n,i)},_t.parseInline=Ln.parseInline,_t.Parser=$e,_t.parser=$e.parse,_t.Renderer=Fi,_t.TextRenderer=$a,_t.Lexer=Be,_t.lexer=Be.lex,_t.Tokenizer=Ni,_t.Hooks=Or,_t.parse=_t,_t.options,_t.setOptions,_t.use,_t.walkTokens,_t.parseInline,$e.parse,Be.lex;var Di={},Ha={},Va={};Object.defineProperty(Va,"__esModule",{value:!0}),Va.default=eh;var wm="html",vm="head",Mi="body",K0=/<([a-zA-Z]+[0-9]?)/,bm=//i,_m=//i,Ui=function(n,i){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},Ga=function(n,i){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},km=typeof window=="object"&&window.DOMParser;if(typeof km=="function"){var J0=new km,th="text/html";Ga=function(n,i){return i&&(n="<".concat(i,">").concat(n,"")),J0.parseFromString(n,th)},Ui=Ga}if(typeof document=="object"&&document.implementation){var Bi=document.implementation.createHTMLDocument();Ui=function(n,i){if(i){var o=Bi.documentElement.querySelector(i);return o&&(o.innerHTML=n),Bi}return Bi.documentElement.innerHTML=n,Bi}}var $i=typeof document=="object"&&document.createElement("template"),Wa;$i&&$i.content&&(Wa=function(n){return $i.innerHTML=n,$i.content.childNodes});function eh(n){var i,o,s=n.match(K0),p=s&&s[1]?s[1].toLowerCase():"";switch(p){case wm:{var d=Ga(n);if(!bm.test(n)){var u=d.querySelector(vm);(i=u==null?void 0:u.parentNode)===null||i===void 0||i.removeChild(u)}if(!_m.test(n)){var u=d.querySelector(Mi);(o=u==null?void 0:u.parentNode)===null||o===void 0||o.removeChild(u)}return d.querySelectorAll(wm)}case vm:case Mi:{var g=Ui(n).querySelectorAll(p);return _m.test(n)&&bm.test(n)?g[0].parentNode.childNodes:g}default:{if(Wa)return Wa(n);var u=Ui(n,Mi).querySelector(Mi);return u.childNodes}}}var Hi={},Za={},qa={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.Doctype=n.CDATA=n.Tag=n.Style=n.Script=n.Comment=n.Directive=n.Text=n.Root=n.isTag=n.ElementType=void 0;var i;(function(s){s.Root="root",s.Text="text",s.Directive="directive",s.Comment="comment",s.Script="script",s.Style="style",s.Tag="tag",s.CDATA="cdata",s.Doctype="doctype"})(i=n.ElementType||(n.ElementType={}));function o(s){return s.type===i.Tag||s.type===i.Script||s.type===i.Style}n.isTag=o,n.Root=i.Root,n.Text=i.Text,n.Directive=i.Directive,n.Comment=i.Comment,n.Script=i.Script,n.Style=i.Style,n.Tag=i.Tag,n.CDATA=i.CDATA,n.Doctype=i.Doctype})(qa);var ut={},sn=dt&&dt.__extends||function(){var n=function(i,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,p){s.__proto__=p}||function(s,p){for(var d in p)Object.prototype.hasOwnProperty.call(p,d)&&(s[d]=p[d])},n(i,o)};return function(i,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");n(i,o);function s(){this.constructor=i}i.prototype=o===null?Object.create(o):(s.prototype=o.prototype,new s)}}(),Nr=dt&&dt.__assign||function(){return Nr=Object.assign||function(n){for(var i,o=1,s=arguments.length;o0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"childNodes",{get:function(){return this.children},set:function(o){this.children=o},enumerable:!1,configurable:!0}),i}(Ya);ut.NodeWithChildren=Gi;var Tm=function(n){sn(i,n);function i(){var o=n!==null&&n.apply(this,arguments)||this;return o.type=pe.ElementType.CDATA,o}return Object.defineProperty(i.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),i}(Gi);ut.CDATA=Tm;var Rm=function(n){sn(i,n);function i(){var o=n!==null&&n.apply(this,arguments)||this;return o.type=pe.ElementType.Root,o}return Object.defineProperty(i.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),i}(Gi);ut.Document=Rm;var Am=function(n){sn(i,n);function i(o,s,p,d){p===void 0&&(p=[]),d===void 0&&(d=o==="script"?pe.ElementType.Script:o==="style"?pe.ElementType.Style:pe.ElementType.Tag);var u=n.call(this,p)||this;return u.name=o,u.attribs=s,u.type=d,u}return Object.defineProperty(i.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"tagName",{get:function(){return this.name},set:function(o){this.name=o},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"attributes",{get:function(){var o=this;return Object.keys(this.attribs).map(function(s){var p,d;return{name:s,value:o.attribs[s],namespace:(p=o["x-attribsNamespace"])===null||p===void 0?void 0:p[s],prefix:(d=o["x-attribsPrefix"])===null||d===void 0?void 0:d[s]}})},enumerable:!1,configurable:!0}),i}(Gi);ut.Element=Am;function zm(n){return(0,pe.isTag)(n)}ut.isTag=zm;function jm(n){return n.type===pe.ElementType.CDATA}ut.isCDATA=jm;function Om(n){return n.type===pe.ElementType.Text}ut.isText=Om;function Nm(n){return n.type===pe.ElementType.Comment}ut.isComment=Nm;function Lm(n){return n.type===pe.ElementType.Directive}ut.isDirective=Lm;function Pm(n){return n.type===pe.ElementType.Root}ut.isDocument=Pm;function nh(n){return Object.prototype.hasOwnProperty.call(n,"children")}ut.hasChildren=nh;function Xa(n,i){i===void 0&&(i=!1);var o;if(Om(n))o=new Sm(n.data);else if(Nm(n))o=new Em(n.data);else if(zm(n)){var s=i?Qa(n.children):[],p=new Am(n.name,Nr({},n.attribs),s);s.forEach(function(h){return h.parent=p}),n.namespace!=null&&(p.namespace=n.namespace),n["x-attribsNamespace"]&&(p["x-attribsNamespace"]=Nr({},n["x-attribsNamespace"])),n["x-attribsPrefix"]&&(p["x-attribsPrefix"]=Nr({},n["x-attribsPrefix"])),o=p}else if(jm(n)){var s=i?Qa(n.children):[],d=new Tm(s);s.forEach(function(x){return x.parent=d}),o=d}else if(Pm(n)){var s=i?Qa(n.children):[],u=new Rm(s);s.forEach(function(x){return x.parent=u}),n["x-mode"]&&(u["x-mode"]=n["x-mode"]),o=u}else if(Lm(n)){var g=new Cm(n.name,n.data);n["x-name"]!=null&&(g["x-name"]=n["x-name"],g["x-publicId"]=n["x-publicId"],g["x-systemId"]=n["x-systemId"]),o=g}else throw new Error("Not implemented yet: ".concat(n.type));return o.startIndex=n.startIndex,o.endIndex=n.endIndex,n.sourceCodeLocation!=null&&(o.sourceCodeLocation=n.sourceCodeLocation),o}ut.cloneNode=Xa;function Qa(n){for(var i=n.map(function(s){return Xa(s,!0)}),o=1;o/;function mh(n){if(typeof n!="string")throw new TypeError("First argument must be a string");if(!n)return[];var i=n.match(ph),o=i?i[1]:void 0;return(0,lh.formatDOM)((0,sh.default)(n),null,o)}var Zi={},Ne={},qi={},uh=0;qi.SAME=uh;var dh=1;qi.CAMELCASE=dh,qi.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1};const Mm=0,ln=1,Yi=2,Xi=3,Ka=4,Um=5,Bm=6;function ch(n){return Qt.hasOwnProperty(n)?Qt[n]:null}function ie(n,i,o,s,p,d,u){this.acceptsBooleans=i===Yi||i===Xi||i===Ka,this.attributeName=s,this.attributeNamespace=p,this.mustUseProperty=o,this.propertyName=n,this.type=i,this.sanitizeURL=d,this.removeEmptyString=u}const Qt={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(n=>{Qt[n]=new ie(n,Mm,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([n,i])=>{Qt[n]=new ie(n,ln,!1,i,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(n=>{Qt[n]=new ie(n,Yi,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(n=>{Qt[n]=new ie(n,Yi,!1,n,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"].forEach(n=>{Qt[n]=new ie(n,Xi,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(n=>{Qt[n]=new ie(n,Xi,!0,n,null,!1,!1)}),["capture","download"].forEach(n=>{Qt[n]=new ie(n,Ka,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(n=>{Qt[n]=new ie(n,Bm,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(n=>{Qt[n]=new ie(n,Um,!1,n.toLowerCase(),null,!1,!1)});const Ja=/[\-\:]([a-z])/g,ts=n=>n[1].toUpperCase();["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"].forEach(n=>{const i=n.replace(Ja,ts);Qt[i]=new ie(i,ln,!1,n,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(n=>{const i=n.replace(Ja,ts);Qt[i]=new ie(i,ln,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(n=>{const i=n.replace(Ja,ts);Qt[i]=new ie(i,ln,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(n=>{Qt[n]=new ie(n,ln,!1,n.toLowerCase(),null,!1,!1)});const gh="xlinkHref";Qt[gh]=new ie("xlinkHref",ln,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(n=>{Qt[n]=new ie(n,ln,!1,n.toLowerCase(),null,!0,!0)});const{CAMELCASE:fh,SAME:hh,possibleStandardNames:$m}=qi,xh=":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",yh=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+xh+"]*$")),wh=Object.keys($m).reduce((n,i)=>{const o=$m[i];return o===hh?n[i]=i:o===fh?n[i.toLowerCase()]=i:n[i]=o,n},{});Ne.BOOLEAN=Xi,Ne.BOOLEANISH_STRING=Yi,Ne.NUMERIC=Um,Ne.OVERLOADED_BOOLEAN=Ka,Ne.POSITIVE_NUMERIC=Bm,Ne.RESERVED=Mm,Ne.STRING=ln,Ne.getPropertyInfo=ch,Ne.isCustomAttribute=yh,Ne.possibleStandardNames=wh;var es={},ns={},Hm=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,vh=/\n/g,bh=/^\s*/,_h=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,kh=/^:\s*/,Sh=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Eh=/^[;\s]*/,Ch=/^\s+|\s+$/g,Th=` -`,Vm="/",Gm="*",Pn="",Rh="comment",Ah="declaration",zh=function(n,i){if(typeof n!="string")throw new TypeError("First argument must be a string");if(!n)return[];i=i||{};var o=1,s=1;function p(b){var w=b.match(vh);w&&(o+=w.length);var k=b.lastIndexOf(Th);s=~k?b.length-k:s+b.length}function d(){var b={line:o,column:s};return function(w){return w.position=new u(b),x(),w}}function u(b){this.start=b,this.end={line:o,column:s},this.source=i.source}u.prototype.content=n;function g(b){var w=new Error(i.source+":"+o+":"+s+": "+b);if(w.reason=b,w.filename=i.source,w.line=o,w.column=s,w.source=n,!i.silent)throw w}function h(b){var w=b.exec(n);if(w){var k=w[0];return p(k),n=n.slice(k.length),w}}function x(){h(bh)}function y(b){var w;for(b=b||[];w=_();)w!==!1&&b.push(w);return b}function _(){var b=d();if(!(Vm!=n.charAt(0)||Gm!=n.charAt(1))){for(var w=2;Pn!=n.charAt(w)&&(Gm!=n.charAt(w)||Vm!=n.charAt(w+1));)++w;if(w+=2,Pn===n.charAt(w-1))return g("End of comment missing");var k=n.slice(2,w-2);return s+=2,p(k),n=n.slice(w),s+=2,b({type:Rh,comment:k})}}function A(){var b=d(),w=h(_h);if(w){if(_(),!h(kh))return g("property missing ':'");var k=h(Sh),I=b({type:Ah,property:Wm(w[0].replace(Hm,Pn)),value:k?Wm(k[0].replace(Hm,Pn)):Pn});return h(Eh),I}}function L(){var b=[];y(b);for(var w;w=A();)w!==!1&&(b.push(w),y(b));return b}return x(),L()};function Wm(n){return n?n.replace(Ch,Pn):Pn}var jh=dt&&dt.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(ns,"__esModule",{value:!0});var Oh=jh(zh);function Nh(n,i){var o=null;if(!n||typeof n!="string")return o;var s=(0,Oh.default)(n),p=typeof i=="function";return s.forEach(function(d){if(d.type==="declaration"){var u=d.property,g=d.value;p?i(u,g,d):g&&(o=o||{},o[u]=g)}}),o}ns.default=Nh;var Qi={};Object.defineProperty(Qi,"__esModule",{value:!0}),Qi.camelCase=void 0;var Lh=/^--[a-zA-Z0-9-]+$/,Ph=/-([a-z])/g,Ih=/^[^-]+$/,Fh=/^-(webkit|moz|ms|o|khtml)-/,Dh=/^-(ms)-/,Mh=function(n){return!n||Ih.test(n)||Lh.test(n)},Uh=function(n,i){return i.toUpperCase()},Zm=function(n,i){return"".concat(i,"-")},Bh=function(n,i){return i===void 0&&(i={}),Mh(n)?n:(n=n.toLowerCase(),i.reactCompat?n=n.replace(Dh,Zm):n=n.replace(Fh,Zm),n.replace(Ph,Uh))};Qi.camelCase=Bh;var $h=dt&&dt.__importDefault||function(n){return n&&n.__esModule?n:{default:n}},Hh=$h(ns),Vh=Qi;function rs(n,i){var o={};return!n||typeof n!="string"||(0,Hh.default)(n,function(s,p){s&&p&&(o[(0,Vh.camelCase)(s,i)]=p)}),o}rs.default=rs;var Gh=rs;(function(n){var i=dt&&dt.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(n,"__esModule",{value:!0}),n.returnFirstArg=n.canTextBeChildOfNode=n.ELEMENTS_WITH_NO_TEXT_CHILDREN=n.PRESERVE_CUSTOM_ATTRIBUTES=void 0,n.isCustomComponent=d,n.setStyleProp=g;var o=tt,s=i(Gh),p=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function d(y,_){return y.includes("-")?!p.has(y):!!(_&&typeof _.is=="string")}var u={reactCompat:!0};function g(y,_){if(typeof y=="string"){if(!y.trim()){_.style={};return}try{_.style=(0,s.default)(y,u)}catch{_.style={}}}}n.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,n.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var h=function(y){return!n.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(y.name)};n.canTextBeChildOfNode=h;var x=function(y){return y};n.returnFirstArg=x})(es),Object.defineProperty(Zi,"__esModule",{value:!0}),Zi.default=Yh;var Lr=Ne,qm=es,Wh=["checked","value"],Zh=["input","select","textarea"],qh={reset:!0,submit:!0};function Yh(n,i){n===void 0&&(n={});var o={},s=!!(n.type&&qh[n.type]);for(var p in n){var d=n[p];if((0,Lr.isCustomAttribute)(p)){o[p]=d;continue}var u=p.toLowerCase(),g=Ym(u);if(g){var h=(0,Lr.getPropertyInfo)(g);switch(Wh.includes(g)&&Zh.includes(i)&&!s&&(g=Ym("default"+u)),o[g]=d,h&&h.type){case Lr.BOOLEAN:o[g]=!0;break;case Lr.OVERLOADED_BOOLEAN:d===""&&(o[g]=!0);break}continue}qm.PRESERVE_CUSTOM_ATTRIBUTES&&(o[p]=d)}return(0,qm.setStyleProp)(n.style,o),o}function Ym(n){return Lr.possibleStandardNames[n]}var is={},Xh=dt&&dt.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(is,"__esModule",{value:!0}),is.default=Xm;var os=tt,Qh=Xh(Zi),Pr=es,Kh={cloneElement:os.cloneElement,createElement:os.createElement,isValidElement:os.isValidElement};function Xm(n,i){i===void 0&&(i={});for(var o=[],s=typeof i.replace=="function",p=i.transform||Pr.returnFirstArg,d=i.library||Kh,u=d.cloneElement,g=d.createElement,h=d.isValidElement,x=n.length,y=0;y1&&(A=u(A,{key:A.key||y})),o.push(p(A,_,y));continue}}if(_.type==="text"){var L=!_.data.trim().length;if(L&&_.parent&&!(0,Pr.canTextBeChildOfNode)(_.parent)||i.trim&&L)continue;o.push(p(_.data,_,y));continue}var b=_,w={};Jh(b)?((0,Pr.setStyleProp)(b.attribs.style,b.attribs),w=b.attribs):b.attribs&&(w=(0,Qh.default)(b.attribs,b.name));var k=void 0;switch(_.type){case"script":case"style":_.children[0]&&(w.dangerouslySetInnerHTML={__html:_.children[0].data});break;case"tag":_.name==="textarea"&&_.children[0]?w.defaultValue=_.children[0].data:_.children&&_.children.length&&(k=Xm(_.children,i));break;default:continue}x>1&&(w.key=y),o.push(p(g(_.name,w,k),_,y))}return o.length===1?o[0]:o}function Jh(n){return Pr.PRESERVE_CUSTOM_ATTRIBUTES&&n.type==="tag"&&(0,Pr.isCustomComponent)(n.name,n.attribs)}(function(n){var i=dt&&dt.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(n,"__esModule",{value:!0}),n.htmlToDOM=n.domToReact=n.attributesToProps=n.Text=n.ProcessingInstruction=n.Element=n.Comment=void 0,n.default=g;var o=i(Ha);n.htmlToDOM=o.default;var s=i(Zi);n.attributesToProps=s.default;var p=i(is);n.domToReact=p.default;var d=Za;Object.defineProperty(n,"Comment",{enumerable:!0,get:function(){return d.Comment}}),Object.defineProperty(n,"Element",{enumerable:!0,get:function(){return d.Element}}),Object.defineProperty(n,"ProcessingInstruction",{enumerable:!0,get:function(){return d.ProcessingInstruction}}),Object.defineProperty(n,"Text",{enumerable:!0,get:function(){return d.Text}});var u={lowerCaseAttributeNames:!1};function g(h,x){if(typeof h!="string")throw new TypeError("First argument must be a string");return h?(0,p.default)((0,o.default)(h,(x==null?void 0:x.htmlparser2)||u),x):[]}})(Di);const Qm=Vt(Di),tx=Qm.default||Qm;var ex=Object.create,Ki=Object.defineProperty,nx=Object.defineProperties,rx=Object.getOwnPropertyDescriptor,ix=Object.getOwnPropertyDescriptors,Km=Object.getOwnPropertyNames,Ji=Object.getOwnPropertySymbols,ox=Object.getPrototypeOf,as=Object.prototype.hasOwnProperty,Jm=Object.prototype.propertyIsEnumerable,tu=(n,i,o)=>i in n?Ki(n,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[i]=o,He=(n,i)=>{for(var o in i||(i={}))as.call(i,o)&&tu(n,o,i[o]);if(Ji)for(var o of Ji(i))Jm.call(i,o)&&tu(n,o,i[o]);return n},to=(n,i)=>nx(n,ix(i)),eu=(n,i)=>{var o={};for(var s in n)as.call(n,s)&&i.indexOf(s)<0&&(o[s]=n[s]);if(n!=null&&Ji)for(var s of Ji(n))i.indexOf(s)<0&&Jm.call(n,s)&&(o[s]=n[s]);return o},ax=(n,i)=>function(){return i||(0,n[Km(n)[0]])((i={exports:{}}).exports,i),i.exports},sx=(n,i)=>{for(var o in i)Ki(n,o,{get:i[o],enumerable:!0})},lx=(n,i,o,s)=>{if(i&&typeof i=="object"||typeof i=="function")for(let p of Km(i))!as.call(n,p)&&p!==o&&Ki(n,p,{get:()=>i[p],enumerable:!(s=rx(i,p))||s.enumerable});return n},px=(n,i,o)=>(o=n!=null?ex(ox(n)):{},lx(!n||!n.__esModule?Ki(o,"default",{value:n,enumerable:!0}):o,n)),mx=ax({"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(n,i){var o=function(){var s=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,p=0,d={},u={util:{encode:function b(w){return w instanceof g?new g(w.type,b(w.content),w.alias):Array.isArray(w)?w.map(b):w.replace(/&/g,"&").replace(/"+N.content+""};function h(b,w,k,I){b.lastIndex=w;var N=b.exec(k);if(N&&I&&N[1]){var O=N[1].length;N.index+=O,N[0]=N[0].slice(O)}return N}function x(b,w,k,I,N,O){for(var G in k)if(!(!k.hasOwnProperty(G)||!k[G])){var X=k[G];X=Array.isArray(X)?X:[X];for(var et=0;et=O.reach);Pt+=bt.value.length,bt=bt.next){var Ct=bt.value;if(w.length>b.length)return;if(!(Ct instanceof g)){var Tt=1,H;if(st){if(H=h(At,Pt,b,V),!H||H.index>=b.length)break;var F=H.index,it=H.index+H[0].length,W=Pt;for(W+=bt.value.length;F>=W;)bt=bt.next,W+=bt.value.length;if(W-=bt.value.length,Pt=W,bt.value instanceof g)continue;for(var C=bt;C!==w.tail&&(WO.reach&&(O.reach=gt);var wt=bt.prev;pt&&(wt=_(w,wt,pt),Pt+=pt.length),A(w,wt,Tt);var vt=new g(G,q?u.tokenize(at,q):at,ct,at);if(bt=_(w,wt,vt),ft&&_(w,bt,ft),Tt>1){var Et={cause:G+","+et,reach:gt};x(b,w,k,bt.prev,Pt,Et),O&&Et.reach>O.reach&&(O.reach=Et.reach)}}}}}}function y(){var b={value:null,prev:null,next:null},w={value:null,prev:b,next:null};b.next=w,this.head=b,this.tail=w,this.length=0}function _(b,w,k){var I=w.next,N={value:k,prev:w,next:I};return w.next=N,I.prev=N,b.length++,N}function A(b,w,k){for(var I=w.next,N=0;N/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},P.languages.markup.tag.inside["attr-value"].inside.entity=P.languages.markup.entity,P.languages.markup.doctype.inside["internal-subset"].inside=P.languages.markup,P.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&/,"&"))}),Object.defineProperty(P.languages.markup.tag,"addInlined",{value:function(n,s){var o={},o=(o["language-"+s]={pattern:/(^$)/i,lookbehind:!0,inside:P.languages[s]},o.cdata=/^$/i,{"included-cdata":{pattern://i,inside:o}}),s=(o["language-"+s]={pattern:/[\s\S]+/,inside:P.languages[s]},{});s[n]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:o},P.languages.insertBefore("markup","cdata",s)}}),Object.defineProperty(P.languages.markup.tag,"addAttribute",{value:function(n,i){P.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[i,"language-"+i],inside:P.languages[i]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),P.languages.html=P.languages.markup,P.languages.mathml=P.languages.markup,P.languages.svg=P.languages.markup,P.languages.xml=P.languages.extend("markup",{}),P.languages.ssml=P.languages.xml,P.languages.atom=P.languages.xml,P.languages.rss=P.languages.xml,function(n){var i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},o=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,s="(?:[^\\\\-]|"+o.source+")",s=RegExp(s+"-"+s),p={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};n.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:s,inside:{escape:o,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:o}},"special-escape":i,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":p}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:o,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},P.languages.javascript=P.languages.extend("clike",{"class-name":[P.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),P.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,P.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:P.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:P.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:P.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:P.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:P.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),P.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:P.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),P.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),P.languages.markup&&(P.languages.markup.tag.addInlined("script","javascript"),P.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),P.languages.js=P.languages.javascript,P.languages.actionscript=P.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),P.languages.actionscript["class-name"].alias="function",delete P.languages.actionscript.parameter,delete P.languages.actionscript["literal-property"],P.languages.markup&&P.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:P.languages.markup}}),function(n){var i=/#(?!\{).+/,o={pattern:/#\{[^}]+\}/,alias:"variable"};n.languages.coffeescript=n.languages.extend("javascript",{comment:i,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:o}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),n.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:i,interpolation:o}}}),n.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:n.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:o}}]}),n.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete n.languages.coffeescript["template-string"],n.languages.coffee=n.languages.coffeescript}(P),function(n){var i=n.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(i,"addSupport",{value:function(o,s){(o=typeof o=="string"?[o]:o).forEach(function(p){var d=function(_){_.inside||(_.inside={}),_.inside.rest=s},u="doc-comment";if(g=n.languages[p]){var g,h=g[u];if((h=h||(g=n.languages.insertBefore(p,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[u])instanceof RegExp&&(h=g[u]={pattern:h}),Array.isArray(h))for(var x=0,y=h.length;x|\+|~|\|\|/,punctuation:/[(),]/}},n.languages.css.atrule.inside["selector-function-argument"].inside=i,n.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};n.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:i,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:i,number:o})}(P),function(n){var i=/[*&][^\s[\]{},]+/,o=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,s="(?:"+o.source+"(?:[ ]+"+i.source+")?|"+i.source+"(?:[ ]+"+o.source+")?)",p=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function u(g,h){h=(h||"").replace(/m/g,"")+"m";var x=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return g});return RegExp(x,h)}n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return s})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return"(?:"+p+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:u(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:u(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:u(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:u(d),lookbehind:!0,greedy:!0},number:{pattern:u(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:o,important:i,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml}(P),function(n){var i=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function o(x){return x=x.replace(//g,function(){return i}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+x+")")}var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,p=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,u=(n.languages.markdown=n.languages.extend("markup",{}),n.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+p+d+"(?:"+p+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+p+d+")(?:"+p+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+p+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+p+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:n.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:o(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:o(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:o(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:o(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(x){["url","bold","italic","strike","code-snippet"].forEach(function(y){x!==y&&(n.languages.markdown[x].inside.content.inside[y]=n.languages.markdown[y])})}),n.hooks.add("after-tokenize",function(x){x.language!=="markdown"&&x.language!=="md"||function y(_){if(_&&typeof _!="string")for(var A=0,L=_.length;A",quot:'"'},h=String.fromCodePoint||String.fromCharCode;n.languages.md=n.languages.markdown}(P),P.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:P.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},P.hooks.add("after-tokenize",function(n){if(n.language==="graphql")for(var i=n.tokens.filter(function(b){return typeof b!="string"&&b.type!=="comment"&&b.type!=="scalar"}),o=0;o?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(n){var i=n.languages.javascript["template-string"],o=i.pattern.source,s=i.inside.interpolation,p=s.inside["interpolation-punctuation"],d=s.pattern.source;function u(_,A){if(n.languages[_])return{pattern:RegExp("((?:"+A+")\\s*)"+o),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:_}}}}function g(_,A,L){return _={code:_,grammar:A,language:L},n.hooks.run("before-tokenize",_),_.tokens=n.tokenize(_.code,_.grammar),n.hooks.run("after-tokenize",_),_.tokens}function h(_,A,L){var k=n.tokenize(_,{interpolation:{pattern:RegExp(d),lookbehind:!0}}),b=0,w={},k=g(k.map(function(N){if(typeof N=="string")return N;for(var O,G,N=N.content;_.indexOf((G=b++,O="___"+L.toUpperCase()+"_"+G+"___"))!==-1;);return w[O]=N,O}).join(""),A,L),I=Object.keys(w);return b=0,function N(O){for(var G=0;G=I.length)return;var X,et,U,q,V,st,ct,xt=O[G];typeof xt=="string"||typeof xt.content=="string"?(X=I[b],(ct=(st=typeof xt=="string"?xt:xt.content).indexOf(X))!==-1&&(++b,et=st.substring(0,ct),V=w[X],U=void 0,(q={})["interpolation-punctuation"]=p,(q=n.tokenize(V,q)).length===3&&((U=[1,1]).push.apply(U,g(q[1],n.languages.javascript,"javascript")),q.splice.apply(q,U)),U=new n.Token("interpolation",q,s.alias,V),q=st.substring(ct+X.length),V=[],et&&V.push(et),V.push(U),q&&(N(st=[q]),V.push.apply(V,st)),typeof xt=="string"?(O.splice.apply(O,[G,1].concat(V)),G+=V.length-1):xt.content=V)):(ct=xt.content,Array.isArray(ct)?N(ct):N([ct]))}}(k),new n.Token(L,k,"language-"+L,_)}n.languages.javascript["template-string"]=[u("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),u("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),u("svg",/\bsvg/.source),u("markdown",/\b(?:markdown|md)/.source),u("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),u("sql",/\bsql/.source),i].filter(Boolean);var x={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function y(_){return typeof _=="string"?_:Array.isArray(_)?_.map(y).join(""):y(_.content)}n.hooks.add("after-tokenize",function(_){_.language in x&&function A(L){for(var b=0,w=L.length;b]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),n.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete n.languages.typescript.parameter,delete n.languages.typescript["literal-property"];var i=n.languages.extend("typescript",{});delete i["class-name"],n.languages.typescript["class-name"].inside=i,n.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:i}}}}),n.languages.ts=n.languages.typescript}(P),function(n){var i=n.languages.javascript,o=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,s="(@(?:arg|argument|param|property)\\s+(?:"+o+"\\s+)?)";n.languages.jsdoc=n.languages.extend("javadoclike",{parameter:{pattern:RegExp(s+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(s+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:i,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return o})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+o),lookbehind:!0,inside:{string:i.string,number:i.number,boolean:i.boolean,keyword:n.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:i,alias:"language-javascript"}}}}),n.languages.javadoclike.addSupport("javascript",n.languages.jsdoc)}(P),function(n){n.languages.flow=n.languages.extend("javascript",{}),n.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),n.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete n.languages.flow.parameter,n.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(n.languages.flow.keyword)||(n.languages.flow.keyword=[n.languages.flow.keyword]),n.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(P),P.languages.n4js=P.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),P.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),P.languages.n4jsd=P.languages.n4js,function(n){function i(u,g){return RegExp(u.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),g)}n.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+n.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),n.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+n.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),n.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),n.languages.insertBefore("javascript","keyword",{imports:{pattern:i(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:n.languages.javascript},exports:{pattern:i(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:n.languages.javascript}}),n.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),n.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),n.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:i(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var o=["function","function-variable","method","method-variable","property-access"],s=0;s*\.{3}(?:[^{}]|)*\})/.source;function d(h,x){return h=h.replace(//g,function(){return o}).replace(//g,function(){return s}).replace(//g,function(){return p}),RegExp(h,x)}p=d(p).source,n.languages.jsx=n.languages.extend("markup",i),n.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=i.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);function u(h){for(var x=[],y=0;y"&&x.push({tagName:g(_.content[0].content[1]),openedBraces:0}):0]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},P.languages.swift["string-literal"].forEach(function(n){n.inside.interpolation.inside=P.languages.swift}),function(n){n.languages.kotlin=n.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete n.languages.kotlin["class-name"];var i={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.kotlin}};n.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:i},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:i},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete n.languages.kotlin.string,n.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),n.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),n.languages.kt=n.languages.kotlin,n.languages.kts=n.languages.kotlin}(P),P.languages.c=P.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),P.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),P.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},P.languages.c.string],char:P.languages.c.char,comment:P.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:P.languages.c}}}}),P.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete P.languages.c.boolean,P.languages.objectivec=P.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete P.languages.objectivec["class-name"],P.languages.objc=P.languages.objectivec,P.languages.reason=P.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),P.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete P.languages.reason.function,function(n){for(var i=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,o=0;o<2;o++)i=i.replace(//g,function(){return i});i=i.replace(//g,function(){return/[^\s\S]/.source}),n.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+i),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},n.languages.rust["closure-params"].inside.rest=n.languages.rust,n.languages.rust.attribute.inside.string=n.languages.rust.string}(P),P.languages.go=P.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),P.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete P.languages.go["class-name"],function(n){var i=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,o=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return i.source});n.languages.cpp=n.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return i.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:i,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),n.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return o})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),n.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n.languages.cpp}}}}),n.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),n.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:n.languages.extend("cpp",{})}}),n.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},n.languages.cpp["base-clause"])}(P),P.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},P.languages.python["string-interpolation"].inside.interpolation.inside.rest=P.languages.python,P.languages.py=P.languages.python;var nu={};sx(nu,{dracula:()=>dx,duotoneDark:()=>gx,duotoneLight:()=>hx,github:()=>yx,jettwaveDark:()=>Mx,jettwaveLight:()=>Bx,nightOwl:()=>vx,nightOwlLight:()=>_x,oceanicNext:()=>Sx,okaidia:()=>Cx,oneDark:()=>Hx,oneLight:()=>Gx,palenight:()=>Rx,shadesOfPurple:()=>zx,synthwave84:()=>Ox,ultramin:()=>Lx,vsDark:()=>ru,vsLight:()=>Fx});var ux={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},dx=ux,cx={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},gx=cx,fx={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},hx=fx,xx={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},yx=xx,wx={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},vx=wx,bx={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},_x=bx,ye={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",punctuation:"#5FB3B3",tag:"#fc929e",function:"#79b6f2",className:"#FAC863",method:"#6699CC",operator:"#fc929e"},kx={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:ye.keyword}},{types:["attr-value"],style:{color:ye.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:ye.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:ye.primitive}},{types:["boolean"],style:{color:ye.boolean}},{types:["tag"],style:{color:ye.tag}},{types:["string"],style:{color:ye.string}},{types:["punctuation"],style:{color:ye.string}},{types:["selector","char","builtin","inserted"],style:{color:ye.char}},{types:["function"],style:{color:ye.function}},{types:["operator","entity","url","variable"],style:{color:ye.variable}},{types:["keyword"],style:{color:ye.keyword}},{types:["atrule","class-name"],style:{color:ye.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},Sx=kx,Ex={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},Cx=Ex,Tx={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},Rx=Tx,Ax={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},zx=Ax,jx={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},Ox=jx,Nx={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},Lx=Nx,Px={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},ru=Px,Ix={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},Fx=Ix,Dx={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Mx=Dx,Ux={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Bx=Ux,$x={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},Hx=$x,Vx={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},Gx=Vx,Wx=(n,i)=>{const{plain:o}=n,s=n.styles.reduce((p,d)=>{const{languages:u,style:g}=d;return u&&!u.includes(i)||d.types.forEach(h=>{const x=He(He({},p[h]),g);p[h]=x}),p},{});return s.root=o,s.plain=to(He({},o),{backgroundColor:void 0}),s},iu=Wx,Zx=(n,i)=>{const[o,s]=tt.useState(iu(i,n)),p=tt.useRef(),d=tt.useRef();return tt.useEffect(()=>{(i!==p.current||n!==d.current)&&(p.current=i,d.current=n,s(iu(i,n)))},[n,i]),o},qx=n=>tt.useCallback(i=>{var o=i,{className:s,style:p,line:d}=o,u=eu(o,["className","style","line"]);const g=to(He({},u),{className:Mt("token-line",s)});return typeof n=="object"&&"plain"in n&&(g.style=n.plain),typeof p=="object"&&(g.style=He(He({},g.style||{}),p)),g},[n]),Yx=n=>{const i=tt.useCallback(({types:o,empty:s})=>{if(n!=null){{if(o.length===1&&o[0]==="plain")return s!=null?{display:"inline-block"}:void 0;if(o.length===1&&s!=null)return n[o[0]]}return Object.assign(s!=null?{display:"inline-block"}:{},...o.map(p=>n[p]))}},[n]);return tt.useCallback(o=>{var s=o,{token:p,className:d,style:u}=s,g=eu(s,["token","className","style"]);const h=to(He({},g),{className:Mt("token",...p.types,d),children:p.content,style:i(p)});return u!=null&&(h.style=He(He({},h.style||{}),u)),h},[i])},Xx=/\r\n|\r|\n/,ou=n=>{n.length===0?n.push({types:["plain"],content:` +`}strong(i){return`${i}`}em(i){return`${i}`}codespan(i){return`${i}`}br(){return"
    "}del(i){return`${i}`}link(i,o,s){const p=vm(i);if(p===null)return s;i=p;let u='
    ",u}image(i,o,s){const p=vm(i);if(p===null)return s;i=p;let u=`${s}0&&R.tokens[0].type==="paragraph"?(R.tokens[0].text=S+" "+R.tokens[0].text,R.tokens[0].tokens&&R.tokens[0].tokens.length>0&&R.tokens[0].tokens[0].type==="text"&&(R.tokens[0].tokens[0].text=S+" "+R.tokens[0].tokens[0].text)):R.tokens.unshift({type:"text",text:S+" "}):b+=S+" "}b+=this.parse(R.tokens,x),y+=this.renderer.listitem(b,w,!!M)}s+=this.renderer.list(y,d,h);continue}case"html":{const m=u;s+=this.renderer.html(m.text,m.block);continue}case"paragraph":{const m=u;s+=this.renderer.paragraph(this.parseInline(m.tokens));continue}case"text":{let m=u,d=m.tokens?this.parseInline(m.tokens):m.text;for(;p+1{const x=d[h].flat(1/0);s=s.concat(this.walkTokens(x,o))}):d.tokens&&(s=s.concat(this.walkTokens(d.tokens,o)))}}return s}use(...i){const o=this.defaults.extensions||{renderers:{},childTokens:{}};return i.forEach(s=>{const p={...s};if(p.async=this.defaults.async||p.async||!1,s.extensions&&(s.extensions.forEach(u=>{if(!u.name)throw new Error("extension name required");if("renderer"in u){const m=o.renderers[u.name];m?o.renderers[u.name]=function(...d){let h=u.renderer.apply(this,d);return h===!1&&(h=m.apply(this,d)),h}:o.renderers[u.name]=u.renderer}if("tokenizer"in u){if(!u.level||u.level!=="block"&&u.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const m=o[u.level];m?m.unshift(u.tokenizer):o[u.level]=[u.tokenizer],u.start&&(u.level==="block"?o.startBlock?o.startBlock.push(u.start):o.startBlock=[u.start]:u.level==="inline"&&(o.startInline?o.startInline.push(u.start):o.startInline=[u.start]))}"childTokens"in u&&u.childTokens&&(o.childTokens[u.name]=u.childTokens)}),p.extensions=o),s.renderer){const u=this.defaults.renderer||new Bi(this.defaults);for(const m in s.renderer){if(!(m in u))throw new Error(`renderer '${m}' does not exist`);if(m==="options")continue;const d=m,h=s.renderer[d],x=u[d];u[d]=(...y)=>{let v=h.apply(u,y);return v===!1&&(v=x.apply(u,y)),v||""}}p.renderer=u}if(s.tokenizer){const u=this.defaults.tokenizer||new Mi(this.defaults);for(const m in s.tokenizer){if(!(m in u))throw new Error(`tokenizer '${m}' does not exist`);if(["options","rules","lexer"].includes(m))continue;const d=m,h=s.tokenizer[d],x=u[d];u[d]=(...y)=>{let v=h.apply(u,y);return v===!1&&(v=x.apply(u,y)),v}}p.tokenizer=u}if(s.hooks){const u=this.defaults.hooks||new Pr;for(const m in s.hooks){if(!(m in u))throw new Error(`hook '${m}' does not exist`);if(m==="options")continue;const d=m,h=s.hooks[d],x=u[d];Pr.passThroughHooks.has(m)?u[d]=y=>{if(this.defaults.async)return Promise.resolve(h.call(u,y)).then(R=>x.call(u,R));const v=h.call(u,y);return x.call(u,v)}:u[d]=(...y)=>{let v=h.apply(u,y);return v===!1&&(v=x.apply(u,y)),v}}p.hooks=u}if(s.walkTokens){const u=this.defaults.walkTokens,m=s.walkTokens;p.walkTokens=function(d){let h=[];return h.push(m.call(this,d)),u&&(h=h.concat(u.call(this,d))),h}}this.defaults={...this.defaults,...p}}),this}setOptions(i){return this.defaults={...this.defaults,...i},this}lexer(i,o){return $e.lex(i,o??this.defaults)}parser(i,o){return He.parse(i,o??this.defaults)}}Mn=new WeakSet,op=function(i,o){return(s,p)=>{const u={...p},m={...this.defaults,...u};this.defaults.async===!0&&u.async===!1&&(m.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),m.async=!0);const d=xa(this,Mn,Og).call(this,!!m.silent,!!m.async);if(typeof s>"u"||s===null)return d(new Error("marked(): input parameter is undefined or null"));if(typeof s!="string")return d(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(s)+", string expected"));if(m.hooks&&(m.hooks.options=m),m.async)return Promise.resolve(m.hooks?m.hooks.preprocess(s):s).then(h=>i(h,m)).then(h=>m.hooks?m.hooks.processAllTokens(h):h).then(h=>m.walkTokens?Promise.all(this.walkTokens(h,m.walkTokens)).then(()=>h):h).then(h=>o(h,m)).then(h=>m.hooks?m.hooks.postprocess(h):h).catch(d);try{m.hooks&&(s=m.hooks.preprocess(s));let h=i(s,m);m.hooks&&(h=m.hooks.processAllTokens(h)),m.walkTokens&&this.walkTokens(h,m.walkTokens);let x=o(h,m);return m.hooks&&(x=m.hooks.postprocess(x)),x}catch(h){return d(h)}}},Og=function(i,o){return s=>{if(s.message+=` +Please report this to https://github.com/markedjs/marked.`,i){const p="

    An error occurred:

    "+we(s.message+"",!0)+"
    ";return o?Promise.resolve(p):p}if(o)return Promise.reject(s);throw s}};const Pn=new yh;function vt(n,i){return Pn.parse(n,i)}vt.options=vt.setOptions=function(n){return Pn.setOptions(n),vt.defaults=Pn.defaults,xm(vt.defaults),vt},vt.getDefaults=Fa,vt.defaults=Ln,vt.use=function(...n){return Pn.use(...n),vt.defaults=Pn.defaults,xm(vt.defaults),vt},vt.walkTokens=function(n,i){return Pn.walkTokens(n,i)},vt.parseInline=Pn.parseInline,vt.Parser=He,vt.parser=He.parse,vt.Renderer=Bi,vt.TextRenderer=Ga,vt.Lexer=$e,vt.lexer=$e.lex,vt.Tokenizer=Mi,vt.Hooks=Pr,vt.parse=vt,vt.options,vt.setOptions,vt.use,vt.walkTokens,vt.parseInline,He.parse,$e.lex;var $i={},Wa={},qa={};Object.defineProperty(qa,"__esModule",{value:!0}),qa.default=_h;var Nm="html",Om="head",Hi="body",wh=/<([a-zA-Z]+[0-9]?)/,Lm=//i,Pm=//i,Vi=function(n,i){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},Za=function(n,i){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},Im=typeof window=="object"&&window.DOMParser;if(typeof Im=="function"){var bh=new Im,vh="text/html";Za=function(n,i){return i&&(n="<".concat(i,">").concat(n,"")),bh.parseFromString(n,vh)},Vi=Za}if(typeof document=="object"&&document.implementation){var Gi=document.implementation.createHTMLDocument();Vi=function(n,i){if(i){var o=Gi.documentElement.querySelector(i);return o&&(o.innerHTML=n),Gi}return Gi.documentElement.innerHTML=n,Gi}}var Wi=typeof document=="object"&&document.createElement("template"),Ya;Wi&&Wi.content&&(Ya=function(n){return Wi.innerHTML=n,Wi.content.childNodes});function _h(n){var i,o,s=n.match(wh),p=s&&s[1]?s[1].toLowerCase():"";switch(p){case Nm:{var u=Za(n);if(!Lm.test(n)){var m=u.querySelector(Om);(i=m==null?void 0:m.parentNode)===null||i===void 0||i.removeChild(m)}if(!Pm.test(n)){var m=u.querySelector(Hi);(o=m==null?void 0:m.parentNode)===null||o===void 0||o.removeChild(m)}return u.querySelectorAll(Nm)}case Om:case Hi:{var d=Vi(n).querySelectorAll(p);return Pm.test(n)&&Lm.test(n)?d[0].parentNode.childNodes:d}default:{if(Ya)return Ya(n);var m=Vi(n,Hi).querySelector(Hi);return m.childNodes}}}var qi={},Xa={},Qa={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.Doctype=n.CDATA=n.Tag=n.Style=n.Script=n.Comment=n.Directive=n.Text=n.Root=n.isTag=n.ElementType=void 0;var i;(function(s){s.Root="root",s.Text="text",s.Directive="directive",s.Comment="comment",s.Script="script",s.Style="style",s.Tag="tag",s.CDATA="cdata",s.Doctype="doctype"})(i=n.ElementType||(n.ElementType={}));function o(s){return s.type===i.Tag||s.type===i.Script||s.type===i.Style}n.isTag=o,n.Root=i.Root,n.Text=i.Text,n.Directive=i.Directive,n.Comment=i.Comment,n.Script=i.Script,n.Style=i.Style,n.Tag=i.Tag,n.CDATA=i.CDATA,n.Doctype=i.Doctype})(Qa);var ct={},ln=dt&&dt.__extends||function(){var n=function(i,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,p){s.__proto__=p}||function(s,p){for(var u in p)Object.prototype.hasOwnProperty.call(p,u)&&(s[u]=p[u])},n(i,o)};return function(i,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");n(i,o);function s(){this.constructor=i}i.prototype=o===null?Object.create(o):(s.prototype=o.prototype,new s)}}(),Ir=dt&&dt.__assign||function(){return Ir=Object.assign||function(n){for(var i,o=1,s=arguments.length;o0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"childNodes",{get:function(){return this.children},set:function(o){this.children=o},enumerable:!1,configurable:!0}),i}(Ka);ct.NodeWithChildren=Yi;var Um=function(n){ln(i,n);function i(){var o=n!==null&&n.apply(this,arguments)||this;return o.type=me.ElementType.CDATA,o}return Object.defineProperty(i.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),i}(Yi);ct.CDATA=Um;var Bm=function(n){ln(i,n);function i(){var o=n!==null&&n.apply(this,arguments)||this;return o.type=me.ElementType.Root,o}return Object.defineProperty(i.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),i}(Yi);ct.Document=Bm;var $m=function(n){ln(i,n);function i(o,s,p,u){p===void 0&&(p=[]),u===void 0&&(u=o==="script"?me.ElementType.Script:o==="style"?me.ElementType.Style:me.ElementType.Tag);var m=n.call(this,p)||this;return m.name=o,m.attribs=s,m.type=u,m}return Object.defineProperty(i.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"tagName",{get:function(){return this.name},set:function(o){this.name=o},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"attributes",{get:function(){var o=this;return Object.keys(this.attribs).map(function(s){var p,u;return{name:s,value:o.attribs[s],namespace:(p=o["x-attribsNamespace"])===null||p===void 0?void 0:p[s],prefix:(u=o["x-attribsPrefix"])===null||u===void 0?void 0:u[s]}})},enumerable:!1,configurable:!0}),i}(Yi);ct.Element=$m;function Hm(n){return(0,me.isTag)(n)}ct.isTag=Hm;function Vm(n){return n.type===me.ElementType.CDATA}ct.isCDATA=Vm;function Gm(n){return n.type===me.ElementType.Text}ct.isText=Gm;function Wm(n){return n.type===me.ElementType.Comment}ct.isComment=Wm;function qm(n){return n.type===me.ElementType.Directive}ct.isDirective=qm;function Zm(n){return n.type===me.ElementType.Root}ct.isDocument=Zm;function kh(n){return Object.prototype.hasOwnProperty.call(n,"children")}ct.hasChildren=kh;function Ja(n,i){i===void 0&&(i=!1);var o;if(Gm(n))o=new Mm(n.data);else if(Wm(n))o=new Fm(n.data);else if(Hm(n)){var s=i?ts(n.children):[],p=new $m(n.name,Ir({},n.attribs),s);s.forEach(function(h){return h.parent=p}),n.namespace!=null&&(p.namespace=n.namespace),n["x-attribsNamespace"]&&(p["x-attribsNamespace"]=Ir({},n["x-attribsNamespace"])),n["x-attribsPrefix"]&&(p["x-attribsPrefix"]=Ir({},n["x-attribsPrefix"])),o=p}else if(Vm(n)){var s=i?ts(n.children):[],u=new Um(s);s.forEach(function(x){return x.parent=u}),o=u}else if(Zm(n)){var s=i?ts(n.children):[],m=new Bm(s);s.forEach(function(x){return x.parent=m}),n["x-mode"]&&(m["x-mode"]=n["x-mode"]),o=m}else if(qm(n)){var d=new Dm(n.name,n.data);n["x-name"]!=null&&(d["x-name"]=n["x-name"],d["x-publicId"]=n["x-publicId"],d["x-systemId"]=n["x-systemId"]),o=d}else throw new Error("Not implemented yet: ".concat(n.type));return o.startIndex=n.startIndex,o.endIndex=n.endIndex,n.sourceCodeLocation!=null&&(o.sourceCodeLocation=n.sourceCodeLocation),o}ct.cloneNode=Ja;function ts(n){for(var i=n.map(function(s){return Ja(s,!0)}),o=1;o/;function zh(n){if(typeof n!="string")throw new TypeError("First argument must be a string");if(!n)return[];var i=n.match(Ah),o=i?i[1]:void 0;return(0,jh.formatDOM)((0,Rh.default)(n),null,o)}var Qi={},Le={},Ki={},Nh=0;Ki.SAME=Nh;var Oh=1;Ki.CAMELCASE=Oh,Ki.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1};const Km=0,pn=1,Ji=2,to=3,es=4,Jm=5,tu=6;function Lh(n){return Qt.hasOwnProperty(n)?Qt[n]:null}function ie(n,i,o,s,p,u,m){this.acceptsBooleans=i===Ji||i===to||i===es,this.attributeName=s,this.attributeNamespace=p,this.mustUseProperty=o,this.propertyName=n,this.type=i,this.sanitizeURL=u,this.removeEmptyString=m}const Qt={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(n=>{Qt[n]=new ie(n,Km,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([n,i])=>{Qt[n]=new ie(n,pn,!1,i,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(n=>{Qt[n]=new ie(n,Ji,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(n=>{Qt[n]=new ie(n,Ji,!1,n,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"].forEach(n=>{Qt[n]=new ie(n,to,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(n=>{Qt[n]=new ie(n,to,!0,n,null,!1,!1)}),["capture","download"].forEach(n=>{Qt[n]=new ie(n,es,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(n=>{Qt[n]=new ie(n,tu,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(n=>{Qt[n]=new ie(n,Jm,!1,n.toLowerCase(),null,!1,!1)});const ns=/[\-\:]([a-z])/g,rs=n=>n[1].toUpperCase();["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"].forEach(n=>{const i=n.replace(ns,rs);Qt[i]=new ie(i,pn,!1,n,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(n=>{const i=n.replace(ns,rs);Qt[i]=new ie(i,pn,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(n=>{const i=n.replace(ns,rs);Qt[i]=new ie(i,pn,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(n=>{Qt[n]=new ie(n,pn,!1,n.toLowerCase(),null,!1,!1)});const Ph="xlinkHref";Qt[Ph]=new ie("xlinkHref",pn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(n=>{Qt[n]=new ie(n,pn,!1,n.toLowerCase(),null,!0,!0)});const{CAMELCASE:Ih,SAME:Mh,possibleStandardNames:eu}=Ki,Fh=":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",Dh=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+Fh+"]*$")),Uh=Object.keys(eu).reduce((n,i)=>{const o=eu[i];return o===Mh?n[i]=i:o===Ih?n[i.toLowerCase()]=i:n[i]=o,n},{});Le.BOOLEAN=to,Le.BOOLEANISH_STRING=Ji,Le.NUMERIC=Jm,Le.OVERLOADED_BOOLEAN=es,Le.POSITIVE_NUMERIC=tu,Le.RESERVED=Km,Le.STRING=pn,Le.getPropertyInfo=Lh,Le.isCustomAttribute=Dh,Le.possibleStandardNames=Uh;var is={},os={},nu=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Bh=/\n/g,$h=/^\s*/,Hh=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Vh=/^:\s*/,Gh=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Wh=/^[;\s]*/,qh=/^\s+|\s+$/g,Zh=` +`,ru="/",iu="*",In="",Yh="comment",Xh="declaration",Qh=function(n,i){if(typeof n!="string")throw new TypeError("First argument must be a string");if(!n)return[];i=i||{};var o=1,s=1;function p(w){var b=w.match(Bh);b&&(o+=b.length);var S=w.lastIndexOf(Zh);s=~S?w.length-S:s+w.length}function u(){var w={line:o,column:s};return function(b){return b.position=new m(w),x(),b}}function m(w){this.start=w,this.end={line:o,column:s},this.source=i.source}m.prototype.content=n;function d(w){var b=new Error(i.source+":"+o+":"+s+": "+w);if(b.reason=w,b.filename=i.source,b.line=o,b.column=s,b.source=n,!i.silent)throw b}function h(w){var b=w.exec(n);if(b){var S=b[0];return p(S),n=n.slice(S.length),b}}function x(){h($h)}function y(w){var b;for(w=w||[];b=v();)b!==!1&&w.push(b);return w}function v(){var w=u();if(!(ru!=n.charAt(0)||iu!=n.charAt(1))){for(var b=2;In!=n.charAt(b)&&(iu!=n.charAt(b)||ru!=n.charAt(b+1));)++b;if(b+=2,In===n.charAt(b-1))return d("End of comment missing");var S=n.slice(2,b-2);return s+=2,p(S),n=n.slice(b),s+=2,w({type:Yh,comment:S})}}function R(){var w=u(),b=h(Hh);if(b){if(v(),!h(Vh))return d("property missing ':'");var S=h(Gh),P=w({type:Xh,property:ou(b[0].replace(nu,In)),value:S?ou(S[0].replace(nu,In)):In});return h(Wh),P}}function M(){var w=[];y(w);for(var b;b=R();)b!==!1&&(w.push(b),y(w));return w}return x(),M()};function ou(n){return n?n.replace(qh,In):In}var Kh=dt&&dt.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(os,"__esModule",{value:!0});var Jh=Kh(Qh);function tx(n,i){var o=null;if(!n||typeof n!="string")return o;var s=(0,Jh.default)(n),p=typeof i=="function";return s.forEach(function(u){if(u.type==="declaration"){var m=u.property,d=u.value;p?i(m,d,u):d&&(o=o||{},o[m]=d)}}),o}os.default=tx;var eo={};Object.defineProperty(eo,"__esModule",{value:!0}),eo.camelCase=void 0;var ex=/^--[a-zA-Z0-9-]+$/,nx=/-([a-z])/g,rx=/^[^-]+$/,ix=/^-(webkit|moz|ms|o|khtml)-/,ox=/^-(ms)-/,ax=function(n){return!n||rx.test(n)||ex.test(n)},sx=function(n,i){return i.toUpperCase()},au=function(n,i){return"".concat(i,"-")},lx=function(n,i){return i===void 0&&(i={}),ax(n)?n:(n=n.toLowerCase(),i.reactCompat?n=n.replace(ox,au):n=n.replace(ix,au),n.replace(nx,sx))};eo.camelCase=lx;var px=dt&&dt.__importDefault||function(n){return n&&n.__esModule?n:{default:n}},mx=px(os),ux=eo;function as(n,i){var o={};return!n||typeof n!="string"||(0,mx.default)(n,function(s,p){s&&p&&(o[(0,ux.camelCase)(s,i)]=p)}),o}as.default=as;var cx=as;(function(n){var i=dt&&dt.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(n,"__esModule",{value:!0}),n.returnFirstArg=n.canTextBeChildOfNode=n.ELEMENTS_WITH_NO_TEXT_CHILDREN=n.PRESERVE_CUSTOM_ATTRIBUTES=void 0,n.isCustomComponent=u,n.setStyleProp=d;var o=q,s=i(cx),p=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function u(y,v){return y.includes("-")?!p.has(y):!!(v&&typeof v.is=="string")}var m={reactCompat:!0};function d(y,v){if(typeof y=="string"){if(!y.trim()){v.style={};return}try{v.style=(0,s.default)(y,m)}catch{v.style={}}}}n.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,n.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var h=function(y){return!n.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(y.name)};n.canTextBeChildOfNode=h;var x=function(y){return y};n.returnFirstArg=x})(is),Object.defineProperty(Qi,"__esModule",{value:!0}),Qi.default=hx;var Mr=Le,su=is,dx=["checked","value"],gx=["input","select","textarea"],fx={reset:!0,submit:!0};function hx(n,i){n===void 0&&(n={});var o={},s=!!(n.type&&fx[n.type]);for(var p in n){var u=n[p];if((0,Mr.isCustomAttribute)(p)){o[p]=u;continue}var m=p.toLowerCase(),d=lu(m);if(d){var h=(0,Mr.getPropertyInfo)(d);switch(dx.includes(d)&&gx.includes(i)&&!s&&(d=lu("default"+m)),o[d]=u,h&&h.type){case Mr.BOOLEAN:o[d]=!0;break;case Mr.OVERLOADED_BOOLEAN:u===""&&(o[d]=!0);break}continue}su.PRESERVE_CUSTOM_ATTRIBUTES&&(o[p]=u)}return(0,su.setStyleProp)(n.style,o),o}function lu(n){return Mr.possibleStandardNames[n]}var ss={},xx=dt&&dt.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(ss,"__esModule",{value:!0}),ss.default=pu;var ls=q,yx=xx(Qi),Fr=is,wx={cloneElement:ls.cloneElement,createElement:ls.createElement,isValidElement:ls.isValidElement};function pu(n,i){i===void 0&&(i={});for(var o=[],s=typeof i.replace=="function",p=i.transform||Fr.returnFirstArg,u=i.library||wx,m=u.cloneElement,d=u.createElement,h=u.isValidElement,x=n.length,y=0;y1&&(R=m(R,{key:R.key||y})),o.push(p(R,v,y));continue}}if(v.type==="text"){var M=!v.data.trim().length;if(M&&v.parent&&!(0,Fr.canTextBeChildOfNode)(v.parent)||i.trim&&M)continue;o.push(p(v.data,v,y));continue}var w=v,b={};bx(w)?((0,Fr.setStyleProp)(w.attribs.style,w.attribs),b=w.attribs):w.attribs&&(b=(0,yx.default)(w.attribs,w.name));var S=void 0;switch(v.type){case"script":case"style":v.children[0]&&(b.dangerouslySetInnerHTML={__html:v.children[0].data});break;case"tag":v.name==="textarea"&&v.children[0]?b.defaultValue=v.children[0].data:v.children&&v.children.length&&(S=pu(v.children,i));break;default:continue}x>1&&(b.key=y),o.push(p(d(v.name,b,S),v,y))}return o.length===1?o[0]:o}function bx(n){return Fr.PRESERVE_CUSTOM_ATTRIBUTES&&n.type==="tag"&&(0,Fr.isCustomComponent)(n.name,n.attribs)}(function(n){var i=dt&&dt.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(n,"__esModule",{value:!0}),n.htmlToDOM=n.domToReact=n.attributesToProps=n.Text=n.ProcessingInstruction=n.Element=n.Comment=void 0,n.default=d;var o=i(Wa);n.htmlToDOM=o.default;var s=i(Qi);n.attributesToProps=s.default;var p=i(ss);n.domToReact=p.default;var u=Xa;Object.defineProperty(n,"Comment",{enumerable:!0,get:function(){return u.Comment}}),Object.defineProperty(n,"Element",{enumerable:!0,get:function(){return u.Element}}),Object.defineProperty(n,"ProcessingInstruction",{enumerable:!0,get:function(){return u.ProcessingInstruction}}),Object.defineProperty(n,"Text",{enumerable:!0,get:function(){return u.Text}});var m={lowerCaseAttributeNames:!1};function d(h,x){if(typeof h!="string")throw new TypeError("First argument must be a string");return h?(0,p.default)((0,o.default)(h,(x==null?void 0:x.htmlparser2)||m),x):[]}})($i);const mu=Vt($i),vx=mu.default||mu;var _x=Object.create,no=Object.defineProperty,kx=Object.defineProperties,Sx=Object.getOwnPropertyDescriptor,Ex=Object.getOwnPropertyDescriptors,uu=Object.getOwnPropertyNames,ro=Object.getOwnPropertySymbols,Cx=Object.getPrototypeOf,ps=Object.prototype.hasOwnProperty,cu=Object.prototype.propertyIsEnumerable,du=(n,i,o)=>i in n?no(n,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[i]=o,Ve=(n,i)=>{for(var o in i||(i={}))ps.call(i,o)&&du(n,o,i[o]);if(ro)for(var o of ro(i))cu.call(i,o)&&du(n,o,i[o]);return n},io=(n,i)=>kx(n,Ex(i)),gu=(n,i)=>{var o={};for(var s in n)ps.call(n,s)&&i.indexOf(s)<0&&(o[s]=n[s]);if(n!=null&&ro)for(var s of ro(n))i.indexOf(s)<0&&cu.call(n,s)&&(o[s]=n[s]);return o},Tx=(n,i)=>function(){return i||(0,n[uu(n)[0]])((i={exports:{}}).exports,i),i.exports},Rx=(n,i)=>{for(var o in i)no(n,o,{get:i[o],enumerable:!0})},jx=(n,i,o,s)=>{if(i&&typeof i=="object"||typeof i=="function")for(let p of uu(i))!ps.call(n,p)&&p!==o&&no(n,p,{get:()=>i[p],enumerable:!(s=Sx(i,p))||s.enumerable});return n},Ax=(n,i,o)=>(o=n!=null?_x(Cx(n)):{},jx(!n||!n.__esModule?no(o,"default",{value:n,enumerable:!0}):o,n)),zx=Tx({"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(n,i){var o=function(){var s=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,p=0,u={},m={util:{encode:function w(b){return b instanceof d?new d(b.type,w(b.content),b.alias):Array.isArray(b)?b.map(w):b.replace(/&/g,"&").replace(/"+L.content+""};function h(w,b,S,P){w.lastIndex=b;var L=w.exec(S);if(L&&P&&L[1]){var A=L[1].length;L.index+=A,L[0]=L[0].slice(A)}return L}function x(w,b,S,P,L,A){for(var B in S)if(!(!S.hasOwnProperty(B)||!S[B])){var G=S[B];G=Array.isArray(G)?G:[G];for(var K=0;K=A.reach);zt+=gt.value.length,gt=gt.next){var bt=gt.value;if(b.length>w.length)return;if(!(bt instanceof d)){var _t=1,H;if(xt){if(H=h(It,zt,w,J),!H||H.index>=w.length)break;var N=H.index,nt=H.index+H[0].length,V=zt;for(V+=gt.value.length;N>=V;)gt=gt.next,V+=gt.value.length;if(V-=gt.value.length,zt=V,gt.value instanceof d)continue;for(var k=gt;k!==b.tail&&(VA.reach&&(A.reach=pt);var ft=gt.prev;rt&&(ft=v(b,ft,rt),zt+=rt.length),R(b,ft,_t);var ht=new d(B,mt?m.tokenize(Z,mt):Z,At,Z);if(gt=v(b,ft,ht),it&&v(b,gt,it),_t>1){var Ct={cause:B+","+K,reach:pt};x(w,b,S,gt.prev,zt,Ct),A&&Ct.reach>A.reach&&(A.reach=Ct.reach)}}}}}}function y(){var w={value:null,prev:null,next:null},b={value:null,prev:w,next:null};w.next=b,this.head=w,this.tail=b,this.length=0}function v(w,b,S){var P=b.next,L={value:S,prev:b,next:P};return b.next=L,P.prev=L,w.length++,L}function R(w,b,S){for(var P=b.next,L=0;L/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},I.languages.markup.tag.inside["attr-value"].inside.entity=I.languages.markup.entity,I.languages.markup.doctype.inside["internal-subset"].inside=I.languages.markup,I.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&/,"&"))}),Object.defineProperty(I.languages.markup.tag,"addInlined",{value:function(n,s){var o={},o=(o["language-"+s]={pattern:/(^$)/i,lookbehind:!0,inside:I.languages[s]},o.cdata=/^$/i,{"included-cdata":{pattern://i,inside:o}}),s=(o["language-"+s]={pattern:/[\s\S]+/,inside:I.languages[s]},{});s[n]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:o},I.languages.insertBefore("markup","cdata",s)}}),Object.defineProperty(I.languages.markup.tag,"addAttribute",{value:function(n,i){I.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[i,"language-"+i],inside:I.languages[i]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),I.languages.html=I.languages.markup,I.languages.mathml=I.languages.markup,I.languages.svg=I.languages.markup,I.languages.xml=I.languages.extend("markup",{}),I.languages.ssml=I.languages.xml,I.languages.atom=I.languages.xml,I.languages.rss=I.languages.xml,function(n){var i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},o=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,s="(?:[^\\\\-]|"+o.source+")",s=RegExp(s+"-"+s),p={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};n.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:s,inside:{escape:o,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:o}},"special-escape":i,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":p}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:o,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},I.languages.javascript=I.languages.extend("clike",{"class-name":[I.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),I.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,I.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:I.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:I.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:I.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:I.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:I.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),I.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:I.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),I.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),I.languages.markup&&(I.languages.markup.tag.addInlined("script","javascript"),I.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),I.languages.js=I.languages.javascript,I.languages.actionscript=I.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),I.languages.actionscript["class-name"].alias="function",delete I.languages.actionscript.parameter,delete I.languages.actionscript["literal-property"],I.languages.markup&&I.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:I.languages.markup}}),function(n){var i=/#(?!\{).+/,o={pattern:/#\{[^}]+\}/,alias:"variable"};n.languages.coffeescript=n.languages.extend("javascript",{comment:i,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:o}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),n.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:i,interpolation:o}}}),n.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:n.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:o}}]}),n.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete n.languages.coffeescript["template-string"],n.languages.coffee=n.languages.coffeescript}(I),function(n){var i=n.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(i,"addSupport",{value:function(o,s){(o=typeof o=="string"?[o]:o).forEach(function(p){var u=function(v){v.inside||(v.inside={}),v.inside.rest=s},m="doc-comment";if(d=n.languages[p]){var d,h=d[m];if((h=h||(d=n.languages.insertBefore(p,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[m])instanceof RegExp&&(h=d[m]={pattern:h}),Array.isArray(h))for(var x=0,y=h.length;x|\+|~|\|\|/,punctuation:/[(),]/}},n.languages.css.atrule.inside["selector-function-argument"].inside=i,n.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};n.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:i,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:i,number:o})}(I),function(n){var i=/[*&][^\s[\]{},]+/,o=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,s="(?:"+o.source+"(?:[ ]+"+i.source+")?|"+i.source+"(?:[ ]+"+o.source+")?)",p=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),u=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function m(d,h){h=(h||"").replace(/m/g,"")+"m";var x=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return d});return RegExp(x,h)}n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return s})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return"(?:"+p+"|"+u+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:m(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:m(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:m(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:m(u),lookbehind:!0,greedy:!0},number:{pattern:m(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:o,important:i,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml}(I),function(n){var i=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function o(x){return x=x.replace(//g,function(){return i}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+x+")")}var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,p=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),u=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,m=(n.languages.markdown=n.languages.extend("markup",{}),n.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+p+u+"(?:"+p+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+p+u+")(?:"+p+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+p+")"+u+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+p+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:n.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:o(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:o(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:o(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:o(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(x){["url","bold","italic","strike","code-snippet"].forEach(function(y){x!==y&&(n.languages.markdown[x].inside.content.inside[y]=n.languages.markdown[y])})}),n.hooks.add("after-tokenize",function(x){x.language!=="markdown"&&x.language!=="md"||function y(v){if(v&&typeof v!="string")for(var R=0,M=v.length;R",quot:'"'},h=String.fromCodePoint||String.fromCharCode;n.languages.md=n.languages.markdown}(I),I.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:I.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},I.hooks.add("after-tokenize",function(n){if(n.language==="graphql")for(var i=n.tokens.filter(function(w){return typeof w!="string"&&w.type!=="comment"&&w.type!=="scalar"}),o=0;o?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(n){var i=n.languages.javascript["template-string"],o=i.pattern.source,s=i.inside.interpolation,p=s.inside["interpolation-punctuation"],u=s.pattern.source;function m(v,R){if(n.languages[v])return{pattern:RegExp("((?:"+R+")\\s*)"+o),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:v}}}}function d(v,R,M){return v={code:v,grammar:R,language:M},n.hooks.run("before-tokenize",v),v.tokens=n.tokenize(v.code,v.grammar),n.hooks.run("after-tokenize",v),v.tokens}function h(v,R,M){var S=n.tokenize(v,{interpolation:{pattern:RegExp(u),lookbehind:!0}}),w=0,b={},S=d(S.map(function(L){if(typeof L=="string")return L;for(var A,B,L=L.content;v.indexOf((B=w++,A="___"+M.toUpperCase()+"_"+B+"___"))!==-1;);return b[A]=L,A}).join(""),R,M),P=Object.keys(b);return w=0,function L(A){for(var B=0;B=P.length)return;var G,K,et,mt,J,xt,At,Et=A[B];typeof Et=="string"||typeof Et.content=="string"?(G=P[w],(At=(xt=typeof Et=="string"?Et:Et.content).indexOf(G))!==-1&&(++w,K=xt.substring(0,At),J=b[G],et=void 0,(mt={})["interpolation-punctuation"]=p,(mt=n.tokenize(J,mt)).length===3&&((et=[1,1]).push.apply(et,d(mt[1],n.languages.javascript,"javascript")),mt.splice.apply(mt,et)),et=new n.Token("interpolation",mt,s.alias,J),mt=xt.substring(At+G.length),J=[],K&&J.push(K),J.push(et),mt&&(L(xt=[mt]),J.push.apply(J,xt)),typeof Et=="string"?(A.splice.apply(A,[B,1].concat(J)),B+=J.length-1):Et.content=J)):(At=Et.content,Array.isArray(At)?L(At):L([At]))}}(S),new n.Token(M,S,"language-"+M,v)}n.languages.javascript["template-string"]=[m("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),m("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),m("svg",/\bsvg/.source),m("markdown",/\b(?:markdown|md)/.source),m("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),m("sql",/\bsql/.source),i].filter(Boolean);var x={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function y(v){return typeof v=="string"?v:Array.isArray(v)?v.map(y).join(""):y(v.content)}n.hooks.add("after-tokenize",function(v){v.language in x&&function R(M){for(var w=0,b=M.length;w]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),n.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete n.languages.typescript.parameter,delete n.languages.typescript["literal-property"];var i=n.languages.extend("typescript",{});delete i["class-name"],n.languages.typescript["class-name"].inside=i,n.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:i}}}}),n.languages.ts=n.languages.typescript}(I),function(n){var i=n.languages.javascript,o=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,s="(@(?:arg|argument|param|property)\\s+(?:"+o+"\\s+)?)";n.languages.jsdoc=n.languages.extend("javadoclike",{parameter:{pattern:RegExp(s+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(s+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:i,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return o})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+o),lookbehind:!0,inside:{string:i.string,number:i.number,boolean:i.boolean,keyword:n.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:i,alias:"language-javascript"}}}}),n.languages.javadoclike.addSupport("javascript",n.languages.jsdoc)}(I),function(n){n.languages.flow=n.languages.extend("javascript",{}),n.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),n.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete n.languages.flow.parameter,n.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(n.languages.flow.keyword)||(n.languages.flow.keyword=[n.languages.flow.keyword]),n.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(I),I.languages.n4js=I.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),I.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),I.languages.n4jsd=I.languages.n4js,function(n){function i(m,d){return RegExp(m.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),d)}n.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+n.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),n.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+n.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),n.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),n.languages.insertBefore("javascript","keyword",{imports:{pattern:i(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:n.languages.javascript},exports:{pattern:i(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:n.languages.javascript}}),n.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),n.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),n.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:i(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var o=["function","function-variable","method","method-variable","property-access"],s=0;s*\.{3}(?:[^{}]|)*\})/.source;function u(h,x){return h=h.replace(//g,function(){return o}).replace(//g,function(){return s}).replace(//g,function(){return p}),RegExp(h,x)}p=u(p).source,n.languages.jsx=n.languages.extend("markup",i),n.languages.jsx.tag.pattern=u(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=i.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:u(//.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:u(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);function m(h){for(var x=[],y=0;y"&&x.push({tagName:d(v.content[0].content[1]),openedBraces:0}):0]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},I.languages.swift["string-literal"].forEach(function(n){n.inside.interpolation.inside=I.languages.swift}),function(n){n.languages.kotlin=n.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete n.languages.kotlin["class-name"];var i={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.kotlin}};n.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:i},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:i},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete n.languages.kotlin.string,n.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),n.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),n.languages.kt=n.languages.kotlin,n.languages.kts=n.languages.kotlin}(I),I.languages.c=I.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),I.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),I.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},I.languages.c.string],char:I.languages.c.char,comment:I.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:I.languages.c}}}}),I.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete I.languages.c.boolean,I.languages.objectivec=I.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete I.languages.objectivec["class-name"],I.languages.objc=I.languages.objectivec,I.languages.reason=I.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),I.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete I.languages.reason.function,function(n){for(var i=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,o=0;o<2;o++)i=i.replace(//g,function(){return i});i=i.replace(//g,function(){return/[^\s\S]/.source}),n.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+i),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},n.languages.rust["closure-params"].inside.rest=n.languages.rust,n.languages.rust.attribute.inside.string=n.languages.rust.string}(I),I.languages.go=I.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),I.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete I.languages.go["class-name"],function(n){var i=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,o=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return i.source});n.languages.cpp=n.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return i.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:i,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),n.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return o})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),n.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n.languages.cpp}}}}),n.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),n.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:n.languages.extend("cpp",{})}}),n.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},n.languages.cpp["base-clause"])}(I),I.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},I.languages.python["string-interpolation"].inside.interpolation.inside.rest=I.languages.python,I.languages.py=I.languages.python;var fu={};Rx(fu,{dracula:()=>Ox,duotoneDark:()=>Px,duotoneLight:()=>Mx,github:()=>Dx,jettwaveDark:()=>a1,jettwaveLight:()=>l1,nightOwl:()=>Bx,nightOwlLight:()=>Hx,oceanicNext:()=>Gx,okaidia:()=>qx,oneDark:()=>m1,oneLight:()=>c1,palenight:()=>Yx,shadesOfPurple:()=>Qx,synthwave84:()=>Jx,ultramin:()=>e1,vsDark:()=>hu,vsLight:()=>i1});var Nx={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},Ox=Nx,Lx={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},Px=Lx,Ix={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},Mx=Ix,Fx={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},Dx=Fx,Ux={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},Bx=Ux,$x={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},Hx=$x,be={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",punctuation:"#5FB3B3",tag:"#fc929e",function:"#79b6f2",className:"#FAC863",method:"#6699CC",operator:"#fc929e"},Vx={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:be.keyword}},{types:["attr-value"],style:{color:be.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:be.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:be.primitive}},{types:["boolean"],style:{color:be.boolean}},{types:["tag"],style:{color:be.tag}},{types:["string"],style:{color:be.string}},{types:["punctuation"],style:{color:be.string}},{types:["selector","char","builtin","inserted"],style:{color:be.char}},{types:["function"],style:{color:be.function}},{types:["operator","entity","url","variable"],style:{color:be.variable}},{types:["keyword"],style:{color:be.keyword}},{types:["atrule","class-name"],style:{color:be.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},Gx=Vx,Wx={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},qx=Wx,Zx={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},Yx=Zx,Xx={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},Qx=Xx,Kx={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},Jx=Kx,t1={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},e1=t1,n1={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},hu=n1,r1={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},i1=r1,o1={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},a1=o1,s1={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},l1=s1,p1={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},m1=p1,u1={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},c1=u1,d1=(n,i)=>{const{plain:o}=n,s=n.styles.reduce((p,u)=>{const{languages:m,style:d}=u;return m&&!m.includes(i)||u.types.forEach(h=>{const x=Ve(Ve({},p[h]),d);p[h]=x}),p},{});return s.root=o,s.plain=io(Ve({},o),{backgroundColor:void 0}),s},xu=d1,g1=(n,i)=>{const[o,s]=q.useState(xu(i,n)),p=q.useRef(),u=q.useRef();return q.useEffect(()=>{(i!==p.current||n!==u.current)&&(p.current=i,u.current=n,s(xu(i,n)))},[n,i]),o},f1=n=>q.useCallback(i=>{var o=i,{className:s,style:p,line:u}=o,m=gu(o,["className","style","line"]);const d=io(Ve({},m),{className:Pt("token-line",s)});return typeof n=="object"&&"plain"in n&&(d.style=n.plain),typeof p=="object"&&(d.style=Ve(Ve({},d.style||{}),p)),d},[n]),h1=n=>{const i=q.useCallback(({types:o,empty:s})=>{if(n!=null){{if(o.length===1&&o[0]==="plain")return s!=null?{display:"inline-block"}:void 0;if(o.length===1&&s!=null)return n[o[0]]}return Object.assign(s!=null?{display:"inline-block"}:{},...o.map(p=>n[p]))}},[n]);return q.useCallback(o=>{var s=o,{token:p,className:u,style:m}=s,d=gu(s,["token","className","style"]);const h=io(Ve({},d),{className:Pt("token",...p.types,u),children:p.content,style:i(p)});return m!=null&&(h.style=Ve(Ve({},h.style||{}),m)),h},[i])},x1=/\r\n|\r|\n/,yu=n=>{n.length===0?n.push({types:["plain"],content:` `,empty:!0}):n.length===1&&n[0].content===""&&(n[0].content=` -`,n[0].empty=!0)},au=(n,i)=>{const o=n.length;return o>0&&n[o-1]===i?n:n.concat(i)},Qx=n=>{const i=[[]],o=[n],s=[0],p=[n.length];let d=0,u=0,g=[];const h=[g];for(;u>-1;){for(;(d=s[u]++)0?y:["plain"],x=A):(y=au(y,A.type),A.alias&&(y=au(y,A.alias)),x=A.content),typeof x!="string"){u++,i.push(y),o.push(x),s.push(0),p.push(x.length);continue}const L=x.split(Xx),b=L.length;g.push({types:y,content:L[0]});for(let w=1;w{const p=tt.useRef(n);return tt.useMemo(()=>{if(o==null)return su([i]);const d={code:i,grammar:o,language:s,tokens:[]};return p.current.hooks.run("before-tokenize",d),d.tokens=p.current.tokenize(i,o),p.current.hooks.run("after-tokenize",d),su(d.tokens)},[i,o,s])},Jx=({children:n,language:i,code:o,theme:s,prism:p})=>{const d=i.toLowerCase(),u=Zx(d,s),g=qx(u),h=Yx(u),x=p.languages[d],y=Kx({prism:p,language:d,code:o,grammar:x});return n({tokens:y,className:`prism-code language-${d}`,style:u!=null?u.root:{},getLineProps:g,getTokenProps:h})},t1=n=>tt.createElement(Jx,to(He({},n),{prism:n.prism||P,theme:n.theme||ru,code:n.code,language:n.language}));/*! Bundled license information: +`,n[0].empty=!0)},wu=(n,i)=>{const o=n.length;return o>0&&n[o-1]===i?n:n.concat(i)},y1=n=>{const i=[[]],o=[n],s=[0],p=[n.length];let u=0,m=0,d=[];const h=[d];for(;m>-1;){for(;(u=s[m]++)0?y:["plain"],x=R):(y=wu(y,R.type),R.alias&&(y=wu(y,R.alias)),x=R.content),typeof x!="string"){m++,i.push(y),o.push(x),s.push(0),p.push(x.length);continue}const M=x.split(x1),w=M.length;d.push({types:y,content:M[0]});for(let b=1;b{const p=q.useRef(n);return q.useMemo(()=>{if(o==null)return bu([i]);const u={code:i,grammar:o,language:s,tokens:[]};return p.current.hooks.run("before-tokenize",u),u.tokens=p.current.tokenize(i,o),p.current.hooks.run("after-tokenize",u),bu(u.tokens)},[i,o,s])},b1=({children:n,language:i,code:o,theme:s,prism:p})=>{const u=i.toLowerCase(),m=g1(u,s),d=f1(m),h=h1(m),x=p.languages[u],y=w1({prism:p,language:u,code:o,grammar:x});return n({tokens:y,className:`prism-code language-${u}`,style:m!=null?m.root:{},getLineProps:d,getTokenProps:h})},v1=n=>q.createElement(b1,io(Ve({},n),{prism:n.prism||I,theme:n.theme||hu,code:n.code,language:n.language}));/*! Bundled license information: prismjs/prism.js: (** @@ -102,4 +102,4 @@ Please report this to https://github.com/markedjs/marked.`,i){const p="

    An err * @namespace * @public *) - */Xe(":export{primary:hsl(169,55%,82%);secondary:hsl(12,100%,97%);border-color:#eee;gooeyDanger:#dc3545}button{background:none transparent;display:block;padding-inline:0px;margin:0;padding-block:0px;border:1px solid transparent;cursor:pointer;display:flex;align-items:center;border-radius:8px;padding:8px;color:#090909}button:disabled{color:#6c757d!important;fill:#f0f0f0;cursor:unset}.button-filled{background-color:#eee}.button-filled:hover{border:1px solid #0d0d0d}.button-outlined{border:1px solid #eee}.button-outlined:hover{background-color:#f0f0f0}.button-text:disabled:hover{border:1px solid transparent}.button-text:hover{border:1px solid #eee}.button-text:active:not(:disabled){background-color:#eee;color:#0d0d0d!important}.button-text:active:disabled{background-color:unset}#expand-collapse-button svg{transform:rotate(180deg)}.collapsible-button-expanded #expand-collapse-button>svg{transform:rotate(0);transition:transform .3s ease}.button-text-alt:hover{border:1px solid transparent}.collapsed-area{height:0px;transition:all .3s ease;opacity:0}.collapsed-area-expanded{transition:all .3s ease;height:100%;opacity:1}#expand-collapse-button{display:inline-flex;padding:1px!important;max-height:16px}");const eo=({variant:n="text",className:i="",onClick:o,...s})=>{const p=`button-${n==null?void 0:n.toLowerCase()}`;return f.jsx("button",{...s,onMouseDown:o,className:p+" "+i,children:s.children})};function e1(n){let i="";return i=n.children[0].data,i}const n1=({body:n="",language:i=""})=>{const[o,s]=tt.useState("Copy");if(!n)return null;const p=async()=>{try{await navigator.clipboard.writeText(n),s("Copied"),setTimeout(()=>{s("Copy")},5e3)}catch(d){console.error("Failed to copy: ",d)}};return f.jsxs("div",{className:"bg-darkGrey text-white d-flex align-center justify-between gp-4 gmt-6",style:{borderRadius:"8px 8px 0 0"},children:[f.jsx("p",{className:"font_12_500 gml-4",style:{margin:0},children:i}),f.jsx(eo,{onClick:p,className:"font_12_500 text-white gp-4",variant:"text",children:o})]})};function r1({domNode:n}){var s;const i=e1(n),o=((s=n==null?void 0:n.attribs)==null?void 0:s.class.split("-").pop())||"python";return f.jsxs(f.Fragment,{children:[f.jsx(n1,{body:i,language:o}),f.jsx("code",{...Di.attributesToProps(n.attribs),style:{borderRadius:"4px"},children:f.jsx(t1,{theme:nu.vsDark,code:i,language:o,children:({className:p,style:d,tokens:u,getLineProps:g,getTokenProps:h})=>f.jsx("pre",{style:d,className:p,children:u.map((x,y)=>f.jsx("div",{...g({line:x}),children:x.map((_,A)=>f.jsx("span",{...h({token:_})},A))},y))})})})]})}const i1=n=>{const i=(n==null?void 0:n.size)||14;return f.jsx(Ut,{children:f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:i,width:i,style:{fill:"currentColor"},children:["// --!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.",f.jsx("path",{d:"M323.8 34.8c-38.2-10.9-78.1 11.2-89 49.4l-5.7 20c-3.7 13-10.4 25-19.5 35l-51.3 56.4c-8.9 9.8-8.2 25 1.6 33.9s25 8.2 33.9-1.6l51.3-56.4c14.1-15.5 24.4-34 30.1-54.1l5.7-20c3.6-12.7 16.9-20.1 29.7-16.5s20.1 16.9 16.5 29.7l-5.7 20c-5.7 19.9-14.7 38.7-26.6 55.5c-5.2 7.3-5.8 16.9-1.7 24.9s12.3 13 21.3 13L448 224c8.8 0 16 7.2 16 16c0 6.8-4.3 12.7-10.4 15c-7.4 2.8-13 9-14.9 16.7s.1 15.8 5.3 21.7c2.5 2.8 4 6.5 4 10.6c0 7.8-5.6 14.3-13 15.7c-8.2 1.6-15.1 7.3-18 15.2s-1.6 16.7 3.6 23.3c2.1 2.7 3.4 6.1 3.4 9.9c0 6.7-4.2 12.6-10.2 14.9c-11.5 4.5-17.7 16.9-14.4 28.8c.4 1.3 .6 2.8 .6 4.3c0 8.8-7.2 16-16 16H286.5c-12.6 0-25-3.7-35.5-10.7l-61.7-41.1c-11-7.4-25.9-4.4-33.3 6.7s-4.4 25.9 6.7 33.3l61.7 41.1c18.4 12.3 40 18.8 62.1 18.8H384c34.7 0 62.9-27.6 64-62c14.6-11.7 24-29.7 24-50c0-4.5-.5-8.8-1.3-13c15.4-11.7 25.3-30.2 25.3-51c0-6.5-1-12.8-2.8-18.7C504.8 273.7 512 257.7 512 240c0-35.3-28.6-64-64-64l-92.3 0c4.7-10.4 8.7-21.2 11.8-32.2l5.7-20c10.9-38.2-11.2-78.1-49.4-89zM32 192c-17.7 0-32 14.3-32 32V448c0 17.7 14.3 32 32 32H96c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32H32z"})]})})},o1=n=>{const i=(n==null?void 0:n.size)||14;return f.jsx(Ut,{children:f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:i,width:i,style:{fill:"currentColor"},children:["// --!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--",f.jsx("path",{d:"M313.4 32.9c26 5.2 42.9 30.5 37.7 56.5l-2.3 11.4c-5.3 26.7-15.1 52.1-28.8 75.2H464c26.5 0 48 21.5 48 48c0 18.5-10.5 34.6-25.9 42.6C497 275.4 504 288.9 504 304c0 23.4-16.8 42.9-38.9 47.1c4.4 7.3 6.9 15.8 6.9 24.9c0 21.3-13.9 39.4-33.1 45.6c.7 3.3 1.1 6.8 1.1 10.4c0 26.5-21.5 48-48 48H294.5c-19 0-37.5-5.6-53.3-16.1l-38.5-25.7C176 420.4 160 390.4 160 358.3V320 272 247.1c0-29.2 13.3-56.7 36-75l7.4-5.9c26.5-21.2 44.6-51 51.2-84.2l2.3-11.4c5.2-26 30.5-42.9 56.5-37.7zM32 192H96c17.7 0 32 14.3 32 32V448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V224c0-17.7 14.3-32 32-32z"})]})})},a1=n=>{const i=(n==null?void 0:n.size)||14;return f.jsx(Ut,{children:f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:i,width:i,style:{fill:"currentColor"},children:["// --!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--",f.jsx("path",{d:"M313.4 479.1c26-5.2 42.9-30.5 37.7-56.5l-2.3-11.4c-5.3-26.7-15.1-52.1-28.8-75.2H464c26.5 0 48-21.5 48-48c0-18.5-10.5-34.6-25.9-42.6C497 236.6 504 223.1 504 208c0-23.4-16.8-42.9-38.9-47.1c4.4-7.3 6.9-15.8 6.9-24.9c0-21.3-13.9-39.4-33.1-45.6c.7-3.3 1.1-6.8 1.1-10.4c0-26.5-21.5-48-48-48H294.5c-19 0-37.5 5.6-53.3 16.1L202.7 73.8C176 91.6 160 121.6 160 153.7V192v48 24.9c0 29.2 13.3 56.7 36 75l7.4 5.9c26.5 21.2 44.6 51 51.2 84.2l2.3 11.4c5.2 26 30.5 42.9 56.5 37.7zM32 384H96c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H32C14.3 96 0 110.3 0 128V352c0 17.7 14.3 32 32 32z"})]})})},s1=n=>{const i=(n==null?void 0:n.size)||14;return f.jsx(Ut,{children:f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:i,height:i,style:{fill:"currentColor"},children:["// --!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--",f.jsx("path",{d:"M323.8 477.2c-38.2 10.9-78.1-11.2-89-49.4l-5.7-20c-3.7-13-10.4-25-19.5-35l-51.3-56.4c-8.9-9.8-8.2-25 1.6-33.9s25-8.2 33.9 1.6l51.3 56.4c14.1 15.5 24.4 34 30.1 54.1l5.7 20c3.6 12.7 16.9 20.1 29.7 16.5s20.1-16.9 16.5-29.7l-5.7-20c-5.7-19.9-14.7-38.7-26.6-55.5c-5.2-7.3-5.8-16.9-1.7-24.9s12.3-13 21.3-13L448 288c8.8 0 16-7.2 16-16c0-6.8-4.3-12.7-10.4-15c-7.4-2.8-13-9-14.9-16.7s.1-15.8 5.3-21.7c2.5-2.8 4-6.5 4-10.6c0-7.8-5.6-14.3-13-15.7c-8.2-1.6-15.1-7.3-18-15.2s-1.6-16.7 3.6-23.3c2.1-2.7 3.4-6.1 3.4-9.9c0-6.7-4.2-12.6-10.2-14.9c-11.5-4.5-17.7-16.9-14.4-28.8c.4-1.3 .6-2.8 .6-4.3c0-8.8-7.2-16-16-16H286.5c-12.6 0-25 3.7-35.5 10.7l-61.7 41.1c-11 7.4-25.9 4.4-33.3-6.7s-4.4-25.9 6.7-33.3l61.7-41.1c18.4-12.3 40-18.8 62.1-18.8H384c34.7 0 62.9 27.6 64 62c14.6 11.7 24 29.7 24 50c0 4.5-.5 8.8-1.3 13c15.4 11.7 25.3 30.2 25.3 51c0 6.5-1 12.8-2.8 18.7C504.8 238.3 512 254.3 512 272c0 35.3-28.6 64-64 64l-92.3 0c4.7 10.4 8.7 21.2 11.8 32.2l5.7 20c10.9 38.2-11.2 78.1-49.4 89zM32 384c-17.7 0-32-14.3-32-32V128c0-17.7 14.3-32 32-32H96c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H32z"})]})})},l1=n=>f.jsx("a",{href:n==null?void 0:n.to,target:"_blank",style:{color:n.configColor},children:n.children}),lu=n=>{const i=(n==null?void 0:n.size)||12;return f.jsx(Ut,{children:f.jsxs("svg",{width:i,height:i,viewBox:"0 0 74 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("mask",{id:"mask0_1:52",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"71",height:"98",children:f.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L45.398 1.43036Z",fill:"white"})}),f.jsx("g",{mask:"url(#mask0_1:52)",children:f.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L56.4365 16.8843L45.398 1.43036Z",fill:"#0F9D58"})}),f.jsx("mask",{id:"mask1_1:52",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"71",height:"98",children:f.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L45.398 1.43036Z",fill:"white"})}),f.jsx("g",{mask:"url(#mask1_1:52)",children:f.jsx("path",{d:"M18.9054 48.8962V80.908H54.2288V48.8962H18.9054ZM34.3594 76.4926H23.3209V70.9733H34.3594V76.4926ZM34.3594 67.6617H23.3209V62.1424H34.3594V67.6617ZM34.3594 58.8309H23.3209V53.3116H34.3594V58.8309ZM49.8134 76.4926H38.7748V70.9733H49.8134V76.4926ZM49.8134 67.6617H38.7748V62.1424H49.8134V67.6617ZM49.8134 58.8309H38.7748V53.3116H49.8134V58.8309Z",fill:"#F1F1F1"})}),f.jsx("mask",{id:"mask2_1:52",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"71",height:"98",children:f.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L45.398 1.43036Z",fill:"white"})}),f.jsx("g",{mask:"url(#mask2_1:52)",children:f.jsx("path",{d:"M47.3352 25.9856L71.8905 50.5354V27.9229L47.3352 25.9856Z",fill:"url(#paint0_linear_1:52)"})}),f.jsx("mask",{id:"mask3_1:52",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"71",height:"98",children:f.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L45.398 1.43036Z",fill:"white"})}),f.jsx("g",{mask:"url(#mask3_1:52)",children:f.jsx("path",{d:"M45.398 1.43036V21.2998C45.398 24.959 48.3618 27.9229 52.0211 27.9229H71.8905L45.398 1.43036Z",fill:"#87CEAC"})}),f.jsx("mask",{id:"mask4_1:52",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"71",height:"98",children:f.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L45.398 1.43036Z",fill:"white"})}),f.jsx("g",{mask:"url(#mask4_1:52)",children:f.jsx("path",{d:"M7.86688 1.43036C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V8.60542C1.24374 4.9627 4.22415 1.98229 7.86688 1.98229H45.398V1.43036H7.86688Z",fill:"white",fillOpacity:"0.2"})}),f.jsx("mask",{id:"mask5_1:52",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"71",height:"98",children:f.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L45.398 1.43036Z",fill:"white"})}),f.jsx("g",{mask:"url(#mask5_1:52)",children:f.jsx("path",{d:"M65.2674 98.0177H7.86688C4.22415 98.0177 1.24374 95.0373 1.24374 91.3946V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V91.3946C71.8905 95.0373 68.9101 98.0177 65.2674 98.0177Z",fill:"#263238",fillOpacity:"0.2"})}),f.jsx("mask",{id:"mask6_1:52",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"71",height:"98",children:f.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L45.398 1.43036Z",fill:"white"})}),f.jsx("g",{mask:"url(#mask6_1:52)",children:f.jsx("path",{d:"M52.0211 27.9229C48.3618 27.9229 45.398 24.959 45.398 21.2998V21.8517C45.398 25.511 48.3618 28.4748 52.0211 28.4748H71.8905V27.9229H52.0211Z",fill:"#263238",fillOpacity:"0.1"})}),f.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L45.398 1.43036Z",fill:"url(#paint1_radial_1:52)"}),f.jsxs("defs",{children:[f.jsxs("linearGradient",{id:"paint0_linear_1:52",x1:"59.6142",y1:"28.0935",x2:"59.6142",y2:"50.5388",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{"stop-color":"#263238",stopOpacity:"0.2"}),f.jsx("stop",{offset:"1","stop-color":"#263238",stopOpacity:"0.02"})]}),f.jsxs("radialGradient",{id:"paint1_radial_1:52",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(3.48187 3.36121) scale(113.917)",children:[f.jsx("stop",{"stop-color":"white",stopOpacity:"0.1"}),f.jsx("stop",{offset:"1","stop-color":"white",stopOpacity:"0"})]})]})]})})},no=n=>{const i=(n==null?void 0:n.size)||12;return f.jsx(Ut,{children:f.jsxs("svg",{width:i,height:i,viewBox:"0 0 73 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsxs("g",{clipPath:"url(#clip0_1:149)",children:[f.jsx("mask",{id:"mask0_1:149",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"73",height:"100",children:f.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L45.1923 0Z",fill:"white"})}),f.jsx("g",{mask:"url(#mask0_1:149)",children:f.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L56.4904 15.9091L45.1923 0Z",fill:"#4285F4"})}),f.jsx("mask",{id:"mask1_1:149",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"73",height:"100",children:f.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L45.1923 0Z",fill:"white"})}),f.jsx("g",{mask:"url(#mask1_1:149)",children:f.jsx("path",{d:"M47.1751 25.2784L72.3077 50.5511V27.2727L47.1751 25.2784Z",fill:"url(#paint0_linear_1:149)"})}),f.jsx("mask",{id:"mask2_1:149",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"73",height:"100",children:f.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L45.1923 0Z",fill:"white"})}),f.jsx("g",{mask:"url(#mask2_1:149)",children:f.jsx("path",{d:"M18.0769 72.7273H54.2308V68.1818H18.0769V72.7273ZM18.0769 81.8182H45.1923V77.2727H18.0769V81.8182ZM18.0769 50V54.5455H54.2308V50H18.0769ZM18.0769 63.6364H54.2308V59.0909H18.0769V63.6364Z",fill:"#F1F1F1"})}),f.jsx("mask",{id:"mask3_1:149",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"73",height:"100",children:f.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L45.1923 0Z",fill:"white"})}),f.jsx("g",{mask:"url(#mask3_1:149)",children:f.jsx("path",{d:"M45.1923 0V20.4545C45.1923 24.2216 48.2258 27.2727 51.9712 27.2727H72.3077L45.1923 0Z",fill:"#A1C2FA"})}),f.jsx("mask",{id:"mask4_1:149",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"73",height:"100",children:f.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L45.1923 0Z",fill:"white"})}),f.jsx("g",{mask:"url(#mask4_1:149)",children:f.jsx("path",{d:"M6.77885 0C3.05048 0 0 3.06818 0 6.81818V7.38636C0 3.63636 3.05048 0.568182 6.77885 0.568182H45.1923V0H6.77885Z",fill:"white",fillOpacity:"0.2"})}),f.jsx("mask",{id:"mask5_1:149",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"73",height:"100",children:f.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L45.1923 0Z",fill:"white"})}),f.jsx("g",{mask:"url(#mask5_1:149)",children:f.jsx("path",{d:"M65.5288 99.4318H6.77885C3.05048 99.4318 0 96.3636 0 92.6136V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V92.6136C72.3077 96.3636 69.2572 99.4318 65.5288 99.4318Z",fill:"#1A237E",fillOpacity:"0.2"})}),f.jsx("mask",{id:"mask6_1:149",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"73",height:"100",children:f.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L45.1923 0Z",fill:"white"})}),f.jsx("g",{mask:"url(#mask6_1:149)",children:f.jsx("path",{d:"M51.9712 27.2727C48.2258 27.2727 45.1923 24.2216 45.1923 20.4545V21.0227C45.1923 24.7898 48.2258 27.8409 51.9712 27.8409H72.3077V27.2727H51.9712Z",fill:"#1A237E",fillOpacity:"0.1"})}),f.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L45.1923 0Z",fill:"url(#paint1_radial_1:149)"})]}),f.jsxs("defs",{children:[f.jsxs("linearGradient",{id:"paint0_linear_1:149",x1:"59.7428",y1:"27.4484",x2:"59.7428",y2:"50.5547",gradientUnits:"userSpaceOnUse",children:[f.jsx("stop",{stopColor:"#1A237E",stopOpacity:"0.2"}),f.jsx("stop",{offset:"1",stopColor:"#1A237E",stopOpacity:"0.02"})]}),f.jsxs("radialGradient",{id:"paint1_radial_1:149",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(2.29074 1.9765) scale(116.595)",children:[f.jsx("stop",{stopColor:"white",stopOpacity:"0.1"}),f.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),f.jsx("clipPath",{id:"clip0_1:149",children:f.jsx("rect",{width:"72.3077",height:"100",fill:"white"})})]})]})})},pu=n=>{const i=(n==null?void 0:n.size)||12;return f.jsx(Ut,{children:f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 242424 333334","shape-rendering":"geometricPrecision","text-rendering":"geometricPrecision","image-rendering":"optimizeQuality","fill-rule":"evenodd","clip-rule":"evenodd",width:i,height:i,children:[f.jsxs("defs",{children:[f.jsxs("linearGradient",{id:"c",gradientUnits:"userSpaceOnUse",x1:"200291",y1:"94137",x2:"200291",y2:"173145",children:[f.jsx("stop",{offset:"0","stop-color":"#bf360c"}),f.jsx("stop",{offset:"1","stop-color":"#bf360c"})]}),f.jsxs("mask",{id:"b",children:[f.jsxs("linearGradient",{id:"a",gradientUnits:"userSpaceOnUse",x1:"200291",y1:"91174.4",x2:"200291",y2:"176107",children:[f.jsx("stop",{offset:"0","stop-opacity":".02","stop-color":"#fff"}),f.jsx("stop",{offset:"1","stop-opacity":".2","stop-color":"#fff"})]}),f.jsx("path",{fill:"url(#a)",d:"M158007 84111h84568v99059h-84568z"})]})]}),f.jsxs("g",{"fill-rule":"nonzero",children:[f.jsx("path",{d:"M151516 0H22726C10228 0 0 10228 0 22726v287880c0 12494 10228 22728 22726 22728h196971c12494 0 22728-10234 22728-22728V90909l-53037-37880L151516 1z",fill:"#f4b300"}),f.jsx("path",{d:"M170452 151515H71970c-6252 0-11363 5113-11363 11363v98483c0 6251 5112 11363 11363 11363h98482c6252 0 11363-5112 11363-11363v-98483c0-6250-5111-11363-11363-11363zm-3792 87118H75756v-53027h90904v53027z",fill:"#f0f0f0"}),f.jsx("path",{mask:"url(#b)",fill:"url(#c)",d:"M158158 84261l84266 84242V90909z"}),f.jsx("path",{d:"M151516 0v68181c0 12557 10167 22728 22726 22728h68182L151515 0z",fill:"#f9da80"}),f.jsx("path",{fill:"#fff","fill-opacity":".102",d:"M151516 0v1893l89008 89016h1900z"}),f.jsx("path",{d:"M22726 0C10228 0 0 10228 0 22726v1893C0 12121 10228 1893 22726 1893h128790V0H22726z",fill:"#fff","fill-opacity":".2"}),f.jsx("path",{d:"M219697 331433H22726C10228 331433 0 321209 0 308705v1900c0 12494 10228 22728 22726 22728h196971c12494 0 22728-10234 22728-22728v-1900c0 12504-10233 22728-22728 22728z",fill:"#bf360c","fill-opacity":".2"}),f.jsx("path",{d:"M174243 90909c-12559 0-22726-10171-22726-22728v1893c0 12557 10167 22728 22726 22728h68182v-1893h-68182z",fill:"#bf360c","fill-opacity":".102"})]})]})})},mu=n=>{const i=(n==null?void 0:n.size)||10;return f.jsx(Ut,{children:f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:i,width:i,...n,children:f.jsx("path",{d:"M0 0L224 0l0 160 160 0 0 144-272 0 0 208L0 512 0 0zM384 128l-128 0L256 0 384 128zM176 352l32 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-16 0 0 32 0 16-32 0 0-16 0-48 0-80 0-16 16 0zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0 48 16 0zm96-80l32 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-32 0-16 0 0-16 0-128 0-16 16 0zm32 128c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-16 0 0 96 16 0zm80-128l16 0 48 0 16 0 0 32-16 0-32 0 0 32 32 0 16 0 0 32-16 0-32 0 0 48 0 16-32 0 0-16 0-64 0-64 0-16z"})})})},uu=n=>{const i=(n==null?void 0:n.size)||10;return f.jsx(Ut,{children:f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28.57 20",focusable:"false",height:i,width:i,children:f.jsx("svg",{viewBox:"0 0 28.57 20",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:f.jsxs("g",{children:[f.jsx("path",{d:"M27.9727 3.12324C27.6435 1.89323 26.6768 0.926623 25.4468 0.597366C23.2197 2.24288e-07 14.285 0 14.285 0C14.285 0 5.35042 2.24288e-07 3.12323 0.597366C1.89323 0.926623 0.926623 1.89323 0.597366 3.12324C2.24288e-07 5.35042 0 10 0 10C0 10 2.24288e-07 14.6496 0.597366 16.8768C0.926623 18.1068 1.89323 19.0734 3.12323 19.4026C5.35042 20 14.285 20 14.285 20C14.285 20 23.2197 20 25.4468 19.4026C26.6768 19.0734 27.6435 18.1068 27.9727 16.8768C28.5701 14.6496 28.5701 10 28.5701 10C28.5701 10 28.5677 5.35042 27.9727 3.12324Z",fill:"#FF0000"}),f.jsx("path",{d:"M11.4253 14.2854L18.8477 10.0004L11.4253 5.71533V14.2854Z",fill:"white"})]})})})})},du=n=>{const i=n.size||16;return f.jsx(Ut,{...n,children:f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:i,height:i,children:f.jsx("path",{d:"M256 480c16.7 0 40.4-14.4 61.9-57.3c9.9-19.8 18.2-43.7 24.1-70.7H170c5.9 27 14.2 50.9 24.1 70.7C215.6 465.6 239.3 480 256 480zM164.3 320H347.7c2.8-20.2 4.3-41.7 4.3-64s-1.5-43.8-4.3-64H164.3c-2.8 20.2-4.3 41.7-4.3 64s1.5 43.8 4.3 64zM170 160H342c-5.9-27-14.2-50.9-24.1-70.7C296.4 46.4 272.7 32 256 32s-40.4 14.4-61.9 57.3C184.2 109.1 175.9 133 170 160zm210 32c2.6 20.5 4 41.9 4 64s-1.4 43.5-4 64h90.8c6-20.3 9.3-41.8 9.3-64s-3.2-43.7-9.3-64H380zm78.5-32c-25.9-54.5-73.1-96.9-130.9-116.3c21 28.3 37.6 68.8 47.2 116.3h83.8zm-321.1 0c9.6-47.6 26.2-88 47.2-116.3C126.7 63.1 79.4 105.5 53.6 160h83.7zm-96 32c-6 20.3-9.3 41.8-9.3 64s3.2 43.7 9.3 64H132c-2.6-20.5-4-41.9-4-64s1.4-43.5 4-64H41.3zM327.5 468.3c57.8-19.5 105-61.8 130.9-116.3H374.7c-9.6 47.6-26.2 88-47.2 116.3zm-143 0c-21-28.3-37.5-68.8-47.2-116.3H53.6c25.9 54.5 73.1 96.9 130.9 116.3zM256 512A256 256 0 1 1 256 0a256 256 0 1 1 0 512z"})})})},p1=n=>{const i=n.size||16;return f.jsx(Ut,{children:f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:i,width:i,children:f.jsx("path",{d:"M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"})})})},cu=({children:n,...i})=>{const{config:o}=Se(),[s,p]=tt.useState((o==null?void 0:o.expandedSources)||!1),d=()=>{p(!s)};return tt.useEffect(()=>{o!=null&&o.expandedSources&&p(o==null?void 0:o.expandedSources)},[o==null?void 0:o.expandedSources]),f.jsxs("span",{className:Mt("collapsible-button",s&&"collapsible-button-expanded"),children:[f.jsx(Ye,{...i,variant:"",id:"expand-collapse-button",className:"bg-light gp-4",onClick:u=>{i!=null&&i.onClick&&(i==null||i.onClick(u)),d()},children:f.jsx(p1,{size:12})}),s&&!(i!=null&&i.disabled)&&f.jsx("div",{className:Mt("collapsed-area",s&&"collapsed-area-expanded"),children:n})]})},m1=n=>{const{data:i,index:o,onClick:s}=n,{getTempStoreValue:p,setTempStoreValue:d}=Se(),[u,g]=tt.useState(p(i.url)||null),{mainString:h}=c1(i==null?void 0:i.title),[x,y]=(h||"").split(",");tt.useEffect(()=>{if(!(!i||u||p[i.url]))try{f1(i.url).then(w=>{Object.keys(w).length&&(g(w),d(i.url,w))})}catch(w){console.error(w)}},[i,p,u,d]);const _=(u==null?void 0:u.redirect_urls[(u==null?void 0:u.redirect_urls.length)-1])||(i==null?void 0:i.url),[A]=g1(_||(i==null?void 0:i.url)),L=d1(u==null?void 0:u.content_type,(u==null?void 0:u.redirect_urls[0])||(i==null?void 0:i.url)),b=A.includes("googleapis")?"":A+(i!=null&&i.refNumber||y?"⋅":"");return i?f.jsxs("button",{onClick:s,className:Mt("pos-relative sources-card gp-0 gm-0 text-left overflow-hidden",o!==i.length-1&&"gmr-12"),style:{height:"64px"},children:[(u==null?void 0:u.image)&&f.jsx("div",{style:{position:"absolute",height:"100%",width:"100%",left:0,top:0,background:`url(${u==null?void 0:u.image})`,backgroundSize:"cover",backgroundPosition:"center",zIndex:0,filter:"brightness(0.4)",transition:"all 1s ease-in-out"}}),f.jsxs("div",{className:"d-flex flex-col justify-between gp-6",style:{zIndex:1,height:"100%"},children:[f.jsx("p",{className:Mt("font_10_600",u!=null&&u.image?"text-white":""),style:{margin:0},children:_1((u==null?void 0:u.title)||x,50)}),f.jsxs("div",{className:Mt("d-flex align-center font_10_600",u!=null&&u.image?"text-white":"text-muted"),children:[L||!(u!=null&&u.logo)?f.jsx(L,{}):f.jsx("img",{src:u==null?void 0:u.logo,alt:i==null?void 0:i.title,style:{width:"14px",height:"14px",borderRadius:"100px",objectFit:"contain"}}),f.jsx("p",{className:Mt("font_10_500 gml-4",u!=null&&u.image?"text-white":"text-muted"),style:{margin:0},children:b+(y?y.trim():"")+(i!=null&&i.refNumber?`${y?"⋅":""}[${i==null?void 0:i.refNumber}]`:"")})]})]})]}):null},gu=({data:n})=>{const i=o=>window.open(o,"_blank");return!n||!n.length?null:f.jsx("div",{className:"gmb-4 text-reveal-container",children:f.jsx("div",{className:"gmt-8 sources-listContainer",children:n.map((o,s)=>f.jsx(m1,{data:o,index:s,onClick:i.bind(null,o==null?void 0:o.url)},(o==null?void 0:o.title)+s))})})},u1="https://metascraper.gooey.ai",fu=/\[\d+(,\s*\d+)*\]/g,d1=(n,i)=>{const o=i.toLowerCase();if(o.includes("youtube.com")||o.includes("youtu.be"))return()=>f.jsx(uu,{});if(o.endsWith(".pdf"))return()=>f.jsx(mu,{style:{fill:"#F40F02"},size:12});if(o.endsWith(".xls")||o.endsWith(".xlsx")||o.includes("sheets.google"))return()=>f.jsx(lu,{});if(o.endsWith(".docx")||o.includes("docs.google"))return()=>f.jsx(no,{});if(o.endsWith(".pptx")||o.includes("/presentation"))return()=>f.jsx(pu,{});if(o.endsWith(".txt"))return()=>f.jsx(no,{});if(o.endsWith(".html"))return null;switch(n=n==null?void 0:n.toLowerCase().split(";")[0],n){case"video":return()=>f.jsx(uu,{});case"application/pdf":return()=>f.jsx(mu,{style:{fill:"#F40F02"},size:12});case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":return()=>f.jsx(lu,{});case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":return()=>f.jsx(no,{});case"application/vnd.openxmlformats-officedocument.presentationml.presentation":return()=>f.jsx(pu,{});case"text/plain":return()=>f.jsx(no,{});case"text/html":return null;default:return()=>f.jsx(du,{size:12})}};function hu(n){const i=n.split("/");return i[i.length-1]}function c1(n){const i=hu(n),o=/\.([a-zA-Z0-9]+)(\?.*)?$/,s=i.match(o);if(s){const p="."+s[1];return{mainString:i.slice(0,-p.length),extension:p}}else return{mainString:i,extension:null}}function g1(n){try{const o=new URL(n).hostname,s=o.split(".");if(s.length>=2){const p=s.slice(-2,-1)[0],d=s.slice(-1)[0];return o.includes("google")?[s.slice(-3,-1).join("."),o]:[p,p+"."+d]}}catch(i){return console.error("Invalid URL:",i),null}}const f1=async n=>{try{const i=await Nt.get(`${u1}/fetchUrlMeta?url=${n}`);return i==null?void 0:i.data}catch(i){console.error(i)}},h1=n=>{const{type:i="",status:o="",text:s,detail:p,output_text:d={}}=n;let u="";if(i===On.MESSAGE_PART){if(s)return u=s,u=u.replace("🎧 I heard","🎙️"),u;u=p}return i===On.FINAL_RESPONSE&&o==="completed"&&(u=d[0]),u=u.replace("🎧 I heard","🎙️"),u},ss=n=>({htmlparser2:{lowerCaseTags:!1,lowerCaseAttributeNames:!1},replace:function(i){var o,s;if(i.attribs&&i.children.length&&i.children[0].name==="code"&&(s=(o=i.children[0].attribs)==null?void 0:o.class)!=null&&s.includes("language-"))return f.jsx(r1,{domNode:i.children[0],options:ss(n)})},transform(i,o){return o.type==="text"&&n.showSources?w1(i,o,n):(o==null?void 0:o.name)==="a"?y1(i,o,n):i}}),x1=(n,i)=>{const s=((i==null?void 0:i.references)||[]).filter(p=>p.url===n);s.length&&s[0]},y1=(n,i,o)=>{if(!n)return n;const s=i.attribs.href;delete i.attribs.href;let p=x1(s,o);p||(p={title:(i==null?void 0:i.children[0].data)||hu(s),url:s});const d=s.startsWith("mailto:");return f.jsxs(bi.Fragment,{children:[f.jsx(l1,{to:s,configColor:(o==null?void 0:o.linkColor)||"default",children:Di.domToReact(i.children,ss(o))})," ",!d&&f.jsx(cu,{children:f.jsx(gu,{data:[p]})})]})},w1=(n,i,o)=>{if(!i)return i;let s=i.data||"";const p=Array.from(new Set((s.match(fu)||[]).map(g=>parseInt(g.slice(1,-1),10))));if(!p||!p.length)return n;const{references:d=[]}=o,u=[...d].splice(p[0]-1,p[p.length-1]);return s=s.replaceAll(fu,""),s[s.length-1]==="."&&s[s.length-2]===" "&&(s=s.slice(0,-2)+"."),f.jsxs(bi.Fragment,{children:[s," ",f.jsx(cu,{disabled:!d.length,children:f.jsx(gu,{data:u})}),f.jsx("br",{})]})},v1=(n,i,o)=>{const s=h1(n);if(!s)return"";const p=_t.parse(s,{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,silent:!1,tokenizer:null,walkTokens:null});return tx(p,ss({...n,showSources:o,linkColor:i}))},b1=(n,i)=>{switch(n){case"FEEDBACK_THUMBS_UP":return i?f.jsx(o1,{size:12,className:"text-muted"}):f.jsx(i1,{size:12,className:"text-muted"});case"FEEDBACK_THUMBS_DOWN":return i?f.jsx(a1,{size:12,className:"text-muted"}):f.jsx(s1,{size:12,className:"text-muted"});default:return null}};function _1(n,i){if(n.length<=i)return n;const o="...",s=o.length,p=i-s,d=Math.ceil(p/2),u=Math.floor(p/2);return n.slice(0,d)+o+n.slice(-u)}Xe(rm);const xu=()=>{var i;const n=(i=Se().config)==null?void 0:i.branding;return f.jsxs("div",{className:"d-flex align-center",children:[(n==null?void 0:n.photoUrl)&&f.jsx("div",{className:"bot-avatar bg-primary gmr-12",style:{width:"24px",height:"24px",borderRadius:"100%"},children:f.jsx("img",{src:n==null?void 0:n.photoUrl,alt:"bot-avatar",style:{width:"24px",height:"24px",borderRadius:"100%",objectFit:"cover"}})}),f.jsx("p",{className:"font_16_600",children:n==null?void 0:n.name})]})},k1=({data:n,onFeedbackClick:i})=>{const{buttons:o,bot_message_id:s}=n;return o?f.jsx("div",{className:"d-flex gml-36",children:o.map(p=>!!p&&f.jsx(eo,{className:"gmr-4 text-muted",variant:"text",onClick:()=>!p.isPressed&&i(p.id,s),children:b1(p.id,p.isPressed)},p.id))}):null},S1=tt.memo(n=>{var x;const{output_audio:i=[],type:o,output_video:s=[]}=n.data,p=n.autoPlay!==!1,d=i[0],u=s[0],g=o!==On.FINAL_RESPONSE,h=v1(n.data,n==null?void 0:n.linkColor,n==null?void 0:n.showSources);return h?f.jsx("div",{className:"gooey-incomingMsg gpb-12",children:f.jsxs("div",{className:"gpl-16",children:[f.jsx(xu,{}),f.jsx("div",{className:Mt("gml-36 gmt-4 font_16_400 pos-relative gooey-output-text markdown text-reveal-container",g&&"response-streaming"),id:n==null?void 0:n.id,children:h}),!g&&!u&&d&&f.jsx("div",{className:"gmt-16",children:f.jsx("audio",{autoPlay:p,playsInline:!0,controls:!0,src:d})}),!g&&u&&f.jsx("div",{className:"gmt-16 gml-36",children:f.jsx("video",{autoPlay:p,playsInline:!0,controls:!0,src:u})}),!g&&((x=n==null?void 0:n.data)==null?void 0:x.buttons)&&f.jsx(k1,{onFeedbackClick:n==null?void 0:n.onFeedbackClick,data:n==null?void 0:n.data})]})}):f.jsx(yu,{show:!0})}),E1=n=>{const i=n.size||24;return f.jsx(Ut,{children:f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:i,height:i,...n,children:["// --!Font Awesome Pro 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.--",f.jsx("path",{d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"})]})})},yu=n=>{const{scrollMessageContainer:i}=Rn(),o=tt.useRef(null);return tt.useEffect(()=>{var s;if(n.show){const p=(s=o==null?void 0:o.current)==null?void 0:s.offsetTop;i(p)}},[n.show,i]),n.show?f.jsxs("div",{ref:o,className:"gpl-16",children:[f.jsx(xu,{}),f.jsx(E1,{className:"anim-blink gml-36 gmt-4",size:12})]}):null},C1=".gooey-outgoingMsg{max-width:100%;animation:fade-in-A .4s}.gooey-outgoingMsg audio{width:100%;height:40px}.gooey-outgoing-text{white-space:break-spaces!important}.outgoingMsg-image{max-width:200px;min-width:200px;background-color:#eee;animation:fade-in-A .4s;height:100px;object-fit:cover}",T1=n=>{const i=n.size||16;return f.jsx(Ut,{...n,children:f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:i,height:i,children:f.jsx("path",{d:"M399 384.2C376.9 345.8 335.4 320 288 320H224c-47.4 0-88.9 25.8-111 64.2c35.2 39.2 86.2 63.8 143 63.8s107.8-24.7 143-63.8zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm256 16a72 72 0 1 0 0-144 72 72 0 1 0 0 144z"})})})};Xe(C1);const R1=tt.memo(n=>{const{input_prompt:i="",input_audio:o="",input_images:s=[]}=n.data;return f.jsxs("div",{className:"gooey-outgoingMsg gmb-12 gpl-16",children:[f.jsxs("div",{className:"d-flex align-center gmb-8",children:[f.jsx(T1,{size:24}),f.jsx("p",{className:"font_16_600 gml-12",children:"You"})]}),s.length>0&&s.map(p=>f.jsx("a",{href:p,target:"_blank",children:f.jsx("img",{src:p,alt:p,className:Mt("outgoingMsg-image b-1 br-large",i&&"gmb-4")})})),o&&f.jsx("div",{className:"gmt-16",children:f.jsx("audio",{controls:!0,src:(URL||webkitURL).createObjectURL(o)})}),i&&f.jsx("p",{className:"font_20_400 anim-typing gooey-outgoing-text",children:i})]})});Xe(rm);const A1=()=>{var i;const n=(i=Se().config)==null?void 0:i.branding;return n?f.jsxs("div",{className:"d-flex flex-col justify-center align-center text-center",children:[n.photoUrl&&f.jsxs("div",{className:"bot-avatar gmr-8 gmb-24 bg-primary",style:{width:"128px",height:"128px",borderRadius:"100%"},children:[" ",f.jsx("img",{src:n.photoUrl,alt:"bot-avatar",style:{width:"128px",height:"128px",borderRadius:"100%",objectFit:"cover"}})]}),f.jsxs("div",{children:[f.jsx("p",{className:"font_24_500 gmb-16",children:n.name}),f.jsxs("p",{className:"font_12_500 text-muted gmb-12 d-flex align-center justify-center",children:[n.byLine,n.websiteUrl&&f.jsx("span",{className:"gml-4",style:{marginBottom:"-2px"},children:f.jsx("a",{href:n.websiteUrl,target:"_ablank",className:"text-muted font_12_500",children:f.jsx(du,{})})})]}),f.jsx("p",{className:"font_12_400 gpl-32 gpr-32",children:n.description})]})]}):null},z1=()=>{const{initializeQuery:n}=Rn(),{config:i}=Se(),o=(i==null?void 0:i.branding.conversationStarters)??[];return f.jsxs("div",{className:"no-scroll-bar w-100 gpl-16",children:[f.jsx(A1,{}),f.jsx("div",{className:"gmt-48 gooey-placeholderMsg-container",children:o==null?void 0:o.map(s=>f.jsx(eo,{variant:"outlined",onClick:()=>n({input_prompt:s}),className:Mt("text-left font_12_500"),children:s},s))})]})},j1=n=>{const{config:i}=Se(),{handleFeedbackClick:o}=Rn(),s=tt.useMemo(()=>n.queue,[n]),p=n.data;return s?f.jsx(f.Fragment,{children:s.map(d=>{var h,x;const u=p.get(d);return u.role==="user"?f.jsx(R1,{data:u},d):f.jsx(S1,{data:u,id:d,showSources:(i==null?void 0:i.showSources)||!0,linkColor:((x=(h=i==null?void 0:i.branding)==null?void 0:h.colors)==null?void 0:x.primary)||"initial",onFeedbackClick:o,autoPlay:i==null?void 0:i.autoPlayResponses},d)})}):null},O1=()=>{const{messages:n,isSending:i,scrollContainerRef:o}=Rn(),s=!(n!=null&&n.size)&&!i;return f.jsxs("div",{ref:o,className:Mt("flex-1 bg-white gpt-16 gpb-16 gpr-16 gpb-16 br-large-right d-flex flex-col",s?"justify-end":"justify-start"),style:{overflowY:"auto"},children:[!(n!=null&&n.size)&&!i&&f.jsx(z1,{}),f.jsx(j1,{queue:Array.from(n.keys()),data:n}),f.jsx(yu,{show:i})]})},wu=n=>{const i=n.size||16;return f.jsx(Ut,{children:f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:i,width:i,children:f.jsx("path",{d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM385 231c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-71-71V376c0 13.3-10.7 24-24 24s-24-10.7-24-24V193.9l-71 71c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 119c9.4-9.4 24.6-9.4 33.9 0L385 231z"})})})},N1=n=>{const i=n.size||16;return f.jsx(Ut,{children:f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:i,width:i,children:["// --!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.",f.jsx("path",{d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM192 160H320c17.7 0 32 14.3 32 32V320c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V192c0-17.7 14.3-32 32-32z"})]})})},vu=n=>{const i=n.size||24;return f.jsx(Ut,{children:f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",width:i,height:i,fill:"currentColor",...n,children:f.jsx("path",{d:"M240 96V256c0 26.5-21.5 48-48 48s-48-21.5-48-48V96c0-26.5 21.5-48 48-48s48 21.5 48 48zM96 96V256c0 53 43 96 96 96s96-43 96-96V96c0-53-43-96-96-96S96 43 96 96zM64 216c0-13.3-10.7-24-24-24s-24 10.7-24 24v40c0 89.1 66.2 162.7 152 174.4V464H120c-13.3 0-24 10.7-24 24s10.7 24 24 24h72 72c13.3 0 24-10.7 24-24s-10.7-24-24-24H216V430.4c85.8-11.7 152-85.3 152-174.4V216c0-13.3-10.7-24-24-24s-24 10.7-24 24v40c0 70.7-57.3 128-128 128s-128-57.3-128-128V216z"})})})},L1={audio:!0},P1=n=>{const{onCancel:i,onSend:o}=n,[s,p]=tt.useState(0),[d,u]=tt.useState(!1),[g,h]=tt.useState(!1),[x,y]=tt.useState([]),_=tt.useRef(null);tt.useEffect(()=>{let O;return d&&(O=setInterval(()=>p(s+1),10)),()=>clearInterval(O)},[d,s]);const A=O=>{const G=new MediaRecorder(O);_.current=G,G.start(),G.onstop=function(){O==null||O.getTracks().forEach(X=>X==null?void 0:X.stop())},G.ondataavailable=function(X){y(et=>[...et,X.data])},u(!0)},L=function(O){console.log("The following error occured: "+O)},b=()=>{_.current&&(_.current.stop(),u(!1))};tt.useEffect(()=>{var O,G,X,et,U,q;if(navigator.mediaDevices.getUserMedia=((O=navigator==null?void 0:navigator.mediaDevices)==null?void 0:O.getUserMedia)||((G=navigator==null?void 0:navigator.mediaDevices)==null?void 0:G.webkitGetUserMedia)||((X=navigator==null?void 0:navigator.mediaDevices)==null?void 0:X.mozGetUserMedia)||((et=navigator==null?void 0:navigator.mediaDevices)==null?void 0:et.msGetUserMedia),!((U=navigator==null?void 0:navigator.mediaDevices)!=null&&U.getUserMedia)){console.error("The mediaDevices.getUserMedia() method is not supported.");return}(q=navigator==null?void 0:navigator.mediaDevices)==null||q.getUserMedia(L1).then(A,L)},[]),tt.useEffect(()=>{if(!g||!x.length)return;const O=new Blob(x,{type:"audio/mp3;codecs=mpeg"});y([]),o(O),h(!1)},[x,o,g]);const w=()=>{b(),i()},k=()=>{b(),h(!0)},I=Math.floor(s%36e4/6e3),N=Math.floor(s%6e3/100);return f.jsxs("div",{className:"gpl-8 gpr-8 d-flex align-center gpb-25",children:[f.jsx(Ye,{variant:"text",className:"bg-light gp-8",style:{borderRadius:"100px",height:"44px"},onClick:w,children:f.jsx(La,{size:"24"})}),f.jsxs("div",{className:"gml-24 d-flex b-1 gp-2 w-100 pos-relative justify-between align-center",style:{borderRadius:"40px",backgroundColor:"#fae1e1",height:"44px"},children:[f.jsx("div",{}),f.jsxs("div",{className:"d-flex align-center",children:[f.jsx(vu,{size:"16",className:"anim-blink-self text-gooeyDanger",style:{}}),f.jsxs("p",{className:"gpl-4 text-gooeyDanger font_14_400",children:[I.toString().padStart(2,"0"),":",N.toString().padStart(2,"0")]})]}),f.jsx(Ye,{onClick:k,variant:"text-alt",style:{height:"44px"},children:f.jsx(wu,{size:24})})]})]})},I1=":export{primary:hsl(169,55%,82%);secondary:hsl(12,100%,97%);border-color:#eee;gooeyDanger:#dc3545}.gooeyChat-chat-input{width:100%;bottom:0;background:transparent}.gooeyChat-chat-input textarea{width:100%;outline:none;max-height:200px;height:44px;resize:none;position:relative}.gooeyChat-chat-input textarea:focus{outline:1px solid #f0f0f0}.input-left-buttons{position:absolute;left:4px;top:7px}.input-right-buttons{position:absolute;right:4px;top:3px}.file-preview-box img{height:80px;max-width:100px;object-fit:cover}.uploading-box{filter:brightness(.2)}",F1=n=>{const i=n.size||16;return f.jsx(Ut,{children:f.jsx("svg",{height:i,width:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:f.jsx("path",{d:"M32 128C32 57.3 89.3 0 160 0s128 57.3 128 128V320c0 44.2-35.8 80-80 80s-80-35.8-80-80V160c0-17.7 14.3-32 32-32s32 14.3 32 32V320c0 8.8 7.2 16 16 16s16-7.2 16-16V128c0-35.3-28.7-64-64-64s-64 28.7-64 64V336c0 61.9 50.1 112 112 112s112-50.1 112-112V160c0-17.7 14.3-32 32-32s32 14.3 32 32V336c0 97.2-78.8 176-176 176s-176-78.8-176-176V128z"})})})},D1=n=>{const i=n.size||16;return f.jsx("div",{className:"circular-loader",children:f.jsx("svg",{className:"circular",viewBox:"25 25 50 50",height:i,width:i,children:f.jsx("circle",{className:"path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"2","stroke-miterlimit":"10"})})})},M1=({files:n})=>n?f.jsx("div",{className:"d-flex",style:{gap:"12px",flexWrap:"wrap"},children:n.map((i,o)=>{const{isUploading:s,name:p,data:d,removeFile:u}=i,g=URL.createObjectURL(d),h=i.type.split("/")[0];return f.jsx("div",{className:"d-flex",children:h==="image"?f.jsxs("div",{className:Mt("file-preview-box br-large pos-relative"),children:[s&&f.jsx("div",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",zIndex:1},children:f.jsx(D1,{size:32})}),f.jsx("div",{style:{position:"absolute",top:"6px",right:"-16px",transform:"translate(-50%, -50%)",zIndex:1},children:f.jsx(eo,{className:"bg-white gp-4 b-1",onClick:u,children:f.jsx(La,{size:12})})}),f.jsx("div",{className:Mt(s&&"uploading-box","overflow-hidden file-preview-box"),children:f.jsx("a",{href:g,target:"_blank",children:f.jsx("img",{src:g,alt:`preview-${p}`,className:"br-large b-1"})})})]}):f.jsx("div",{children:f.jsx("p",{children:i.name})})},o)})}):null;Xe(I1);const bu="gooeyChat-input",_u=44,U1="image/*",B1=n=>new Promise((i,o)=>{const s=new FileReader;s.onload=p=>{const d=p.target.result,u=new Blob([new Uint8Array(d)],{type:n.type});i(u)},s.onerror=o,s.readAsArrayBuffer(n)}),$1=()=>{const{config:n}=Se(),{initializeQuery:i,isSending:o,cancelApiCall:s,isReceiving:p}=Rn(),[d,u]=tt.useState(""),[g,h]=tt.useState(!1),[x,y]=tt.useState(null),_=tt.useRef(null),A=()=>{const V=_.current;V.style.height=_u+"px"},L=V=>{const{value:st}=V.target;u(st),st||A()},b=V=>{if(V.keyCode===13&&!V.shiftKey){if(o||p)return;V.preventDefault(),k()}else V.keyCode===13&&V.shiftKey&&w()},w=()=>{const V=_.current;V.scrollHeight>_u&&(V==null||V.setAttribute("style","height:"+V.scrollHeight+"px !important"))},k=()=>{if(!d.trim()&&!(x!=null&&x.length)||U)return null;const V={input_prompt:d.trim()};x!=null&&x.length&&(V.input_images=x.map(st=>st.gooeyUrl),y([])),i(V),u(""),A()},I=()=>{s()},N=()=>{h(!0)},O=V=>{i({input_audio:V}),h(!1)},G=V=>{const st=Array.from(V.target.files);!st||!st.length||y(st.map((ct,xt)=>(B1(ct).then(At=>{const bt=new File([At],ct.name);tm(bt).then(Pt=>{y(Ct=>Ct[xt]?(Ct[xt].isUploading=!1,Ct[xt].gooeyUrl=Pt,[...Ct]):Ct)})}),{name:ct.name,type:ct.type.split("/")[0],data:ct,gooeyUrl:"",isUploading:!0,removeFile:()=>{y(At=>(At.splice(xt,1),[...At]))}})))},X=()=>{const V=document.createElement("input");V.type="file",V.accept=U1,V.onchange=G,V.click()};if(!n)return null;const et=o||p,U=!et&&!o&&d.trim().length===0&&!(x!=null&&x.length)||(x==null?void 0:x.some(V=>V.isUploading)),q=tt.useMemo(()=>n==null?void 0:n.enablePhotoUpload,[n==null?void 0:n.enablePhotoUpload]);return f.jsxs(bi.Fragment,{children:[x&&x.length>0&&f.jsx("div",{className:"gp-12 b-1 br-large gmb-12 gm-12",children:f.jsx(M1,{files:x})}),f.jsxs("div",{className:Mt("gooeyChat-chat-input gpr-8 gpl-8",!n.branding.showPoweredByGooey&&"gpb-8"),children:[g?f.jsx(P1,{onSend:O,onCancel:()=>h(!1)}):f.jsxs("div",{className:"pos-relative",children:[f.jsx("textarea",{value:d,ref:_,id:bu,onChange:L,onKeyDown:b,className:Mt("br-large b-1 font_16_500 bg-white gpt-10 gpb-10 gpr-40 flex-1 gm-0",q?"gpl-32":"gpl-12"),placeholder:`Message ${n.branding.name||""}`}),q&&f.jsx("div",{className:"input-left-buttons",children:f.jsx(Ye,{onClick:X,variant:"text-alt",className:"gp-4",children:f.jsx(F1,{size:18})})}),f.jsxs("div",{className:"input-right-buttons",children:[!(x!=null&&x.length)&&!et&&(n==null?void 0:n.enableAudioMessage)&&!d&&f.jsx(Ye,{onClick:N,variant:"text-alt",children:f.jsx(vu,{size:18})}),(!!d||!(n!=null&&n.enableAudioMessage)||et||!!(x!=null&&x.length))&&f.jsx(Ye,{disabled:U,variant:"text-alt",className:"gp-4",onClick:et?I:k,children:et?f.jsx(N1,{size:24}):f.jsx(wu,{size:24})})]})]}),!!n.branding.showPoweredByGooey&&!g&&f.jsxs("p",{className:"font_10_500 gpt-4 gpb-6 text-darkGrey text-center gm-0",style:{fontSize:"8px"},children:["Powered by"," ",f.jsx("a",{href:"https://gooey.ai/copilot/",target:"_ablank",className:"text-darkGrey text-underline",children:"Gooey.AI"})]})]})]})};Xe(".gooeyChat-widget-container{animation:popup .1s;position:fixed;bottom:0;right:0;width:100%;height:100%}.gooeyChat-widget-container-expanded{position:relative;width:100%;height:100%;border-radius:4px}.gooeyChat-widget-container-fullWidth{position:relative;width:100%;height:100%}.gooey-fullscreen{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999}.gooey-expanded-popup{animation:popup .1s;position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999}@media (min-width: 560px){.gooey-expanded-popup{padding:40px 10vw 0px;transition:background-color .3s;background-color:#0003!important;z-index:9999}.gooeyChat-widget-container{width:460px;height:min(704px,100% - 114px);border-left:1px solid #eee;border-top:1px solid #eee;border-bottom:1px solid #eee}}");const ls=({isInline:n})=>{const{isExpanded:i,config:o}=Se(),{flushData:s,cancelApiCall:p}=Rn(),d=()=>{var h,x;p(),s();const u=(x=(h=document.querySelector((o==null?void 0:o.target)||""))==null?void 0:h.firstElementChild)==null?void 0:x.shadowRoot,g=u==null?void 0:u.getElementById(bu);g==null||g.focus()};return f.jsx(tt.Fragment,{children:f.jsx("main",{id:"gooeyChat-container",className:Mt("bg-white d-flex flex-col justify-start overflow-hidden",n||i?"gooeyChat-widget-container-fullWidth":"gooeyChat-widget-container"),children:f.jsx(p0,{children:f.jsxs("div",{className:"pos-relative d-flex flex-col flex-1 align-center justify-start overflow-hidden",style:{maxHeight:"100%"},children:[f.jsx(x0,{onEditClick:d,hideClose:n}),f.jsxs("div",{style:{maxWidth:"760px",height:"100%"},className:"d-flex flex-col flex-1 gp-0 w-100 overflow-hidden",children:[f.jsx(O1,{}),f.jsx($1,{})]})]})})})})};Xe(".gooeyChat-launchButton{border:none;overflow:hidden}");const H1=()=>{const{toggleWidget:n,config:i}=Se(),o=i!=null&&i.branding.fabLabel?36:56;return f.jsx("div",{style:{bottom:0,right:0},className:"pos-fixed gpb-16 gpr-16",children:f.jsxs("button",{onClick:n,className:Mt("gooeyChat-launchButton hover-grow cr-pointer bx-shadowA button-hover bg-white",(i==null?void 0:i.branding.fabLabel)&&"gpl-6 gpt-6 gpb-6 "),style:{borderRadius:"30px",padding:0},children:[(i==null?void 0:i.branding.photoUrl)&&f.jsx("img",{src:i==null?void 0:i.branding.photoUrl,alt:"Copilot logo",style:{objectFit:"contain",borderRadius:"50%",width:o+"px",height:o+"px"}}),!!(i!=null&&i.branding.fabLabel)&&f.jsx("p",{className:"font_16_600 gp-8",children:i==null?void 0:i.branding.fabLabel})]})})},V1=({children:n,open:i})=>f.jsxs("div",{tabIndex:-1,role:"reigon",className:"pos-relative",style:{height:"100%",width:"100%",background:"none",overflow:"auto",zIndex:1},children:[!i&&f.jsx(H1,{}),i&&f.jsx(f.Fragment,{children:n})]});function G1(){const{config:n,open:i}=Se();switch(n==null?void 0:n.mode){case"popup":return f.jsx(V1,{open:i||!1,children:f.jsx("div",{id:"gooey-popup-container",children:f.jsx(ls,{})})});case"inline":return f.jsx(ls,{isInline:!0});case"fullscreen":return f.jsx("div",{className:"gooey-fullscreen",children:f.jsx(ls,{isInline:!0})});default:return null}}Xe('.gooey-embed-container * :not(code *){box-sizing:border-box;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Helvetica Neue,Arial,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre,ul,ol,li{margin:0}.gooey-embed-container{height:100%}.gooey-embed-container p{color:unset}.gooey-embed-container a{text-decoration:none}::-webkit-scrollbar{background:transparent;color:#fff;width:8px;height:8px}::-webkit-scrollbar-thumb{background:#0003;border-radius:0}code,code[class*=language-]{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace!important;font-size:.9rem;color:inherit;white-space:pre-wrap;word-wrap:break-word}pre,pre[class*=language-]{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace!important;overflow:auto;word-wrap:break-word;padding:.8rem;margin:0 0 .9rem;border-radius:0 0 8px 8px}svg{fill:currentColor}.gp-0{padding:0!important}.gp-2{padding:2px!important}.gp-4{padding:4px!important}.gp-5{padding:5px!important}.gp-6{padding:6px!important}.gp-8{padding:8px!important}.gp-10{padding:10px!important}.gp-12{padding:12px!important}.gp-15{padding:15px!important}.gp-16{padding:16px!important}.gp-18{padding:18px!important}.gp-20{padding:20px!important}.gp-22{padding:22px!important}.gp-24{padding:24px!important}.gp-25{padding:25px!important}.gp-26{padding:26px!important}.gp-28{padding:28px!important}.gp-30{padding:30px!important}.gp-32{padding:32px!important}.gp-34{padding:34px!important}.gp-36{padding:36px!important}.gp-40{padding:40px!important}.gp-44{padding:44px!important}.gp-46{padding:46px!important}.gp-48{padding:48px!important}.gp-50{padding:50px!important}.gp-52{padding:52px!important}.gp-60{padding:60px!important}.gp-64{padding:64px!important}.gp-70{padding:70px!important}.gp-76{padding:76px!important}.gp-80{padding:80px!important}.gp-96{padding:96px!important}.gp-100{padding:100px!important}.gpt-0{padding-top:0!important}.gpt-2{padding-top:2px!important}.gpt-4{padding-top:4px!important}.gpt-5{padding-top:5px!important}.gpt-6{padding-top:6px!important}.gpt-8{padding-top:8px!important}.gpt-10{padding-top:10px!important}.gpt-12{padding-top:12px!important}.gpt-15{padding-top:15px!important}.gpt-16{padding-top:16px!important}.gpt-18{padding-top:18px!important}.gpt-20{padding-top:20px!important}.gpt-22{padding-top:22px!important}.gpt-24{padding-top:24px!important}.gpt-25{padding-top:25px!important}.gpt-26{padding-top:26px!important}.gpt-28{padding-top:28px!important}.gpt-30{padding-top:30px!important}.gpt-32{padding-top:32px!important}.gpt-34{padding-top:34px!important}.gpt-36{padding-top:36px!important}.gpt-40{padding-top:40px!important}.gpt-44{padding-top:44px!important}.gpt-46{padding-top:46px!important}.gpt-48{padding-top:48px!important}.gpt-50{padding-top:50px!important}.gpt-52{padding-top:52px!important}.gpt-60{padding-top:60px!important}.gpt-64{padding-top:64px!important}.gpt-70{padding-top:70px!important}.gpt-76{padding-top:76px!important}.gpt-80{padding-top:80px!important}.gpt-96{padding-top:96px!important}.gpt-100{padding-top:100px!important}.gpr-0{padding-right:0!important}.gpr-2{padding-right:2px!important}.gpr-4{padding-right:4px!important}.gpr-5{padding-right:5px!important}.gpr-6{padding-right:6px!important}.gpr-8{padding-right:8px!important}.gpr-10{padding-right:10px!important}.gpr-12{padding-right:12px!important}.gpr-15{padding-right:15px!important}.gpr-16{padding-right:16px!important}.gpr-18{padding-right:18px!important}.gpr-20{padding-right:20px!important}.gpr-22{padding-right:22px!important}.gpr-24{padding-right:24px!important}.gpr-25{padding-right:25px!important}.gpr-26{padding-right:26px!important}.gpr-28{padding-right:28px!important}.gpr-30{padding-right:30px!important}.gpr-32{padding-right:32px!important}.gpr-34{padding-right:34px!important}.gpr-36{padding-right:36px!important}.gpr-40{padding-right:40px!important}.gpr-44{padding-right:44px!important}.gpr-46{padding-right:46px!important}.gpr-48{padding-right:48px!important}.gpr-50{padding-right:50px!important}.gpr-52{padding-right:52px!important}.gpr-60{padding-right:60px!important}.gpr-64{padding-right:64px!important}.gpr-70{padding-right:70px!important}.gpr-76{padding-right:76px!important}.gpr-80{padding-right:80px!important}.gpr-96{padding-right:96px!important}.gpr-100{padding-right:100px!important}.gpb-0{padding-bottom:0!important}.gpb-2{padding-bottom:2px!important}.gpb-4{padding-bottom:4px!important}.gpb-5{padding-bottom:5px!important}.gpb-6{padding-bottom:6px!important}.gpb-8{padding-bottom:8px!important}.gpb-10{padding-bottom:10px!important}.gpb-12{padding-bottom:12px!important}.gpb-15{padding-bottom:15px!important}.gpb-16{padding-bottom:16px!important}.gpb-18{padding-bottom:18px!important}.gpb-20{padding-bottom:20px!important}.gpb-22{padding-bottom:22px!important}.gpb-24{padding-bottom:24px!important}.gpb-25{padding-bottom:25px!important}.gpb-26{padding-bottom:26px!important}.gpb-28{padding-bottom:28px!important}.gpb-30{padding-bottom:30px!important}.gpb-32{padding-bottom:32px!important}.gpb-34{padding-bottom:34px!important}.gpb-36{padding-bottom:36px!important}.gpb-40{padding-bottom:40px!important}.gpb-44{padding-bottom:44px!important}.gpb-46{padding-bottom:46px!important}.gpb-48{padding-bottom:48px!important}.gpb-50{padding-bottom:50px!important}.gpb-52{padding-bottom:52px!important}.gpb-60{padding-bottom:60px!important}.gpb-64{padding-bottom:64px!important}.gpb-70{padding-bottom:70px!important}.gpb-76{padding-bottom:76px!important}.gpb-80{padding-bottom:80px!important}.gpb-96{padding-bottom:96px!important}.gpb-100{padding-bottom:100px!important}.gpl-0{padding-left:0!important}.gpl-2{padding-left:2px!important}.gpl-4{padding-left:4px!important}.gpl-5{padding-left:5px!important}.gpl-6{padding-left:6px!important}.gpl-8{padding-left:8px!important}.gpl-10{padding-left:10px!important}.gpl-12{padding-left:12px!important}.gpl-15{padding-left:15px!important}.gpl-16{padding-left:16px!important}.gpl-18{padding-left:18px!important}.gpl-20{padding-left:20px!important}.gpl-22{padding-left:22px!important}.gpl-24{padding-left:24px!important}.gpl-25{padding-left:25px!important}.gpl-26{padding-left:26px!important}.gpl-28{padding-left:28px!important}.gpl-30{padding-left:30px!important}.gpl-32{padding-left:32px!important}.gpl-34{padding-left:34px!important}.gpl-36{padding-left:36px!important}.gpl-40{padding-left:40px!important}.gpl-44{padding-left:44px!important}.gpl-46{padding-left:46px!important}.gpl-48{padding-left:48px!important}.gpl-50{padding-left:50px!important}.gpl-52{padding-left:52px!important}.gpl-60{padding-left:60px!important}.gpl-64{padding-left:64px!important}.gpl-70{padding-left:70px!important}.gpl-76{padding-left:76px!important}.gpl-80{padding-left:80px!important}.gpl-96{padding-left:96px!important}.gpl-100{padding-left:100px!important}.gm-0{margin:0!important}.gm-2{margin:2px!important}.gm-4{margin:4px!important}.gm-5{margin:5px!important}.gm-6{margin:6px!important}.gm-8{margin:8px!important}.gm-10{margin:10px!important}.gm-12{margin:12px!important}.gm-15{margin:15px!important}.gm-16{margin:16px!important}.gm-18{margin:18px!important}.gm-20{margin:20px!important}.gm-22{margin:22px!important}.gm-24{margin:24px!important}.gm-25{margin:25px!important}.gm-26{margin:26px!important}.gm-28{margin:28px!important}.gm-30{margin:30px!important}.gm-32{margin:32px!important}.gm-34{margin:34px!important}.gm-36{margin:36px!important}.gm-40{margin:40px!important}.gm-44{margin:44px!important}.gm-46{margin:46px!important}.gm-48{margin:48px!important}.gm-50{margin:50px!important}.gm-52{margin:52px!important}.gm-60{margin:60px!important}.gm-64{margin:64px!important}.gm-70{margin:70px!important}.gm-76{margin:76px!important}.gm-80{margin:80px!important}.gm-96{margin:96px!important}.gm-100{margin:100px!important}.gmt-0{margin-top:0!important}.gmt-2{margin-top:2px!important}.gmt-4{margin-top:4px!important}.gmt-5{margin-top:5px!important}.gmt-6{margin-top:6px!important}.gmt-8{margin-top:8px!important}.gmt-10{margin-top:10px!important}.gmt-12{margin-top:12px!important}.gmt-15{margin-top:15px!important}.gmt-16{margin-top:16px!important}.gmt-18{margin-top:18px!important}.gmt-20{margin-top:20px!important}.gmt-22{margin-top:22px!important}.gmt-24{margin-top:24px!important}.gmt-25{margin-top:25px!important}.gmt-26{margin-top:26px!important}.gmt-28{margin-top:28px!important}.gmt-30{margin-top:30px!important}.gmt-32{margin-top:32px!important}.gmt-34{margin-top:34px!important}.gmt-36{margin-top:36px!important}.gmt-40{margin-top:40px!important}.gmt-44{margin-top:44px!important}.gmt-46{margin-top:46px!important}.gmt-48{margin-top:48px!important}.gmt-50{margin-top:50px!important}.gmt-52{margin-top:52px!important}.gmt-60{margin-top:60px!important}.gmt-64{margin-top:64px!important}.gmt-70{margin-top:70px!important}.gmt-76{margin-top:76px!important}.gmt-80{margin-top:80px!important}.gmt-96{margin-top:96px!important}.gmt-100{margin-top:100px!important}.gmr-0{margin-right:0!important}.gmr-2{margin-right:2px!important}.gmr-4{margin-right:4px!important}.gmr-5{margin-right:5px!important}.gmr-6{margin-right:6px!important}.gmr-8{margin-right:8px!important}.gmr-10{margin-right:10px!important}.gmr-12{margin-right:12px!important}.gmr-15{margin-right:15px!important}.gmr-16{margin-right:16px!important}.gmr-18{margin-right:18px!important}.gmr-20{margin-right:20px!important}.gmr-22{margin-right:22px!important}.gmr-24{margin-right:24px!important}.gmr-25{margin-right:25px!important}.gmr-26{margin-right:26px!important}.gmr-28{margin-right:28px!important}.gmr-30{margin-right:30px!important}.gmr-32{margin-right:32px!important}.gmr-34{margin-right:34px!important}.gmr-36{margin-right:36px!important}.gmr-40{margin-right:40px!important}.gmr-44{margin-right:44px!important}.gmr-46{margin-right:46px!important}.gmr-48{margin-right:48px!important}.gmr-50{margin-right:50px!important}.gmr-52{margin-right:52px!important}.gmr-60{margin-right:60px!important}.gmr-64{margin-right:64px!important}.gmr-70{margin-right:70px!important}.gmr-76{margin-right:76px!important}.gmr-80{margin-right:80px!important}.gmr-96{margin-right:96px!important}.gmr-100{margin-right:100px!important}.gmb-0{margin-bottom:0!important}.gmb-2{margin-bottom:2px!important}.gmb-4{margin-bottom:4px!important}.gmb-5{margin-bottom:5px!important}.gmb-6{margin-bottom:6px!important}.gmb-8{margin-bottom:8px!important}.gmb-10{margin-bottom:10px!important}.gmb-12{margin-bottom:12px!important}.gmb-15{margin-bottom:15px!important}.gmb-16{margin-bottom:16px!important}.gmb-18{margin-bottom:18px!important}.gmb-20{margin-bottom:20px!important}.gmb-22{margin-bottom:22px!important}.gmb-24{margin-bottom:24px!important}.gmb-25{margin-bottom:25px!important}.gmb-26{margin-bottom:26px!important}.gmb-28{margin-bottom:28px!important}.gmb-30{margin-bottom:30px!important}.gmb-32{margin-bottom:32px!important}.gmb-34{margin-bottom:34px!important}.gmb-36{margin-bottom:36px!important}.gmb-40{margin-bottom:40px!important}.gmb-44{margin-bottom:44px!important}.gmb-46{margin-bottom:46px!important}.gmb-48{margin-bottom:48px!important}.gmb-50{margin-bottom:50px!important}.gmb-52{margin-bottom:52px!important}.gmb-60{margin-bottom:60px!important}.gmb-64{margin-bottom:64px!important}.gmb-70{margin-bottom:70px!important}.gmb-76{margin-bottom:76px!important}.gmb-80{margin-bottom:80px!important}.gmb-96{margin-bottom:96px!important}.gmb-100{margin-bottom:100px!important}.gml-0{margin-left:0!important}.gml-2{margin-left:2px!important}.gml-4{margin-left:4px!important}.gml-5{margin-left:5px!important}.gml-6{margin-left:6px!important}.gml-8{margin-left:8px!important}.gml-10{margin-left:10px!important}.gml-12{margin-left:12px!important}.gml-15{margin-left:15px!important}.gml-16{margin-left:16px!important}.gml-18{margin-left:18px!important}.gml-20{margin-left:20px!important}.gml-22{margin-left:22px!important}.gml-24{margin-left:24px!important}.gml-25{margin-left:25px!important}.gml-26{margin-left:26px!important}.gml-28{margin-left:28px!important}.gml-30{margin-left:30px!important}.gml-32{margin-left:32px!important}.gml-34{margin-left:34px!important}.gml-36{margin-left:36px!important}.gml-40{margin-left:40px!important}.gml-44{margin-left:44px!important}.gml-46{margin-left:46px!important}.gml-48{margin-left:48px!important}.gml-50{margin-left:50px!important}.gml-52{margin-left:52px!important}.gml-60{margin-left:60px!important}.gml-64{margin-left:64px!important}.gml-70{margin-left:70px!important}.gml-76{margin-left:76px!important}.gml-80{margin-left:80px!important}.gml-96{margin-left:96px!important}.gml-100{margin-left:100px!important}@media screen and (min-width: 0px){.xs-p-0{padding:0!important}.xs-p-2{padding:2px!important}.xs-p-4{padding:4px!important}.xs-p-5{padding:5px!important}.xs-p-6{padding:6px!important}.xs-p-8{padding:8px!important}.xs-p-10{padding:10px!important}.xs-p-12{padding:12px!important}.xs-p-15{padding:15px!important}.xs-p-16{padding:16px!important}.xs-p-18{padding:18px!important}.xs-p-20{padding:20px!important}.xs-p-22{padding:22px!important}.xs-p-24{padding:24px!important}.xs-p-25{padding:25px!important}.xs-p-26{padding:26px!important}.xs-p-28{padding:28px!important}.xs-p-30{padding:30px!important}.xs-p-32{padding:32px!important}.xs-p-34{padding:34px!important}.xs-p-36{padding:36px!important}.xs-p-40{padding:40px!important}.xs-p-44{padding:44px!important}.xs-p-46{padding:46px!important}.xs-p-48{padding:48px!important}.xs-p-50{padding:50px!important}.xs-p-52{padding:52px!important}.xs-p-60{padding:60px!important}.xs-p-64{padding:64px!important}.xs-p-70{padding:70px!important}.xs-p-76{padding:76px!important}.xs-p-80{padding:80px!important}.xs-p-96{padding:96px!important}.xs-p-100{padding:100px!important}.xs-pt-0{padding-top:0!important}.xs-pt-2{padding-top:2px!important}.xs-pt-4{padding-top:4px!important}.xs-pt-5{padding-top:5px!important}.xs-pt-6{padding-top:6px!important}.xs-pt-8{padding-top:8px!important}.xs-pt-10{padding-top:10px!important}.xs-pt-12{padding-top:12px!important}.xs-pt-15{padding-top:15px!important}.xs-pt-16{padding-top:16px!important}.xs-pt-18{padding-top:18px!important}.xs-pt-20{padding-top:20px!important}.xs-pt-22{padding-top:22px!important}.xs-pt-24{padding-top:24px!important}.xs-pt-25{padding-top:25px!important}.xs-pt-26{padding-top:26px!important}.xs-pt-28{padding-top:28px!important}.xs-pt-30{padding-top:30px!important}.xs-pt-32{padding-top:32px!important}.xs-pt-34{padding-top:34px!important}.xs-pt-36{padding-top:36px!important}.xs-pt-40{padding-top:40px!important}.xs-pt-44{padding-top:44px!important}.xs-pt-46{padding-top:46px!important}.xs-pt-48{padding-top:48px!important}.xs-pt-50{padding-top:50px!important}.xs-pt-52{padding-top:52px!important}.xs-pt-60{padding-top:60px!important}.xs-pt-64{padding-top:64px!important}.xs-pt-70{padding-top:70px!important}.xs-pt-76{padding-top:76px!important}.xs-pt-80{padding-top:80px!important}.xs-pt-96{padding-top:96px!important}.xs-pt-100{padding-top:100px!important}.xs-pr-0{padding-right:0!important}.xs-pr-2{padding-right:2px!important}.xs-pr-4{padding-right:4px!important}.xs-pr-5{padding-right:5px!important}.xs-pr-6{padding-right:6px!important}.xs-pr-8{padding-right:8px!important}.xs-pr-10{padding-right:10px!important}.xs-pr-12{padding-right:12px!important}.xs-pr-15{padding-right:15px!important}.xs-pr-16{padding-right:16px!important}.xs-pr-18{padding-right:18px!important}.xs-pr-20{padding-right:20px!important}.xs-pr-22{padding-right:22px!important}.xs-pr-24{padding-right:24px!important}.xs-pr-25{padding-right:25px!important}.xs-pr-26{padding-right:26px!important}.xs-pr-28{padding-right:28px!important}.xs-pr-30{padding-right:30px!important}.xs-pr-32{padding-right:32px!important}.xs-pr-34{padding-right:34px!important}.xs-pr-36{padding-right:36px!important}.xs-pr-40{padding-right:40px!important}.xs-pr-44{padding-right:44px!important}.xs-pr-46{padding-right:46px!important}.xs-pr-48{padding-right:48px!important}.xs-pr-50{padding-right:50px!important}.xs-pr-52{padding-right:52px!important}.xs-pr-60{padding-right:60px!important}.xs-pr-64{padding-right:64px!important}.xs-pr-70{padding-right:70px!important}.xs-pr-76{padding-right:76px!important}.xs-pr-80{padding-right:80px!important}.xs-pr-96{padding-right:96px!important}.xs-pr-100{padding-right:100px!important}.xs-pb-0{padding-bottom:0!important}.xs-pb-2{padding-bottom:2px!important}.xs-pb-4{padding-bottom:4px!important}.xs-pb-5{padding-bottom:5px!important}.xs-pb-6{padding-bottom:6px!important}.xs-pb-8{padding-bottom:8px!important}.xs-pb-10{padding-bottom:10px!important}.xs-pb-12{padding-bottom:12px!important}.xs-pb-15{padding-bottom:15px!important}.xs-pb-16{padding-bottom:16px!important}.xs-pb-18{padding-bottom:18px!important}.xs-pb-20{padding-bottom:20px!important}.xs-pb-22{padding-bottom:22px!important}.xs-pb-24{padding-bottom:24px!important}.xs-pb-25{padding-bottom:25px!important}.xs-pb-26{padding-bottom:26px!important}.xs-pb-28{padding-bottom:28px!important}.xs-pb-30{padding-bottom:30px!important}.xs-pb-32{padding-bottom:32px!important}.xs-pb-34{padding-bottom:34px!important}.xs-pb-36{padding-bottom:36px!important}.xs-pb-40{padding-bottom:40px!important}.xs-pb-44{padding-bottom:44px!important}.xs-pb-46{padding-bottom:46px!important}.xs-pb-48{padding-bottom:48px!important}.xs-pb-50{padding-bottom:50px!important}.xs-pb-52{padding-bottom:52px!important}.xs-pb-60{padding-bottom:60px!important}.xs-pb-64{padding-bottom:64px!important}.xs-pb-70{padding-bottom:70px!important}.xs-pb-76{padding-bottom:76px!important}.xs-pb-80{padding-bottom:80px!important}.xs-pb-96{padding-bottom:96px!important}.xs-pb-100{padding-bottom:100px!important}.xs-pl-0{padding-left:0!important}.xs-pl-2{padding-left:2px!important}.xs-pl-4{padding-left:4px!important}.xs-pl-5{padding-left:5px!important}.xs-pl-6{padding-left:6px!important}.xs-pl-8{padding-left:8px!important}.xs-pl-10{padding-left:10px!important}.xs-pl-12{padding-left:12px!important}.xs-pl-15{padding-left:15px!important}.xs-pl-16{padding-left:16px!important}.xs-pl-18{padding-left:18px!important}.xs-pl-20{padding-left:20px!important}.xs-pl-22{padding-left:22px!important}.xs-pl-24{padding-left:24px!important}.xs-pl-25{padding-left:25px!important}.xs-pl-26{padding-left:26px!important}.xs-pl-28{padding-left:28px!important}.xs-pl-30{padding-left:30px!important}.xs-pl-32{padding-left:32px!important}.xs-pl-34{padding-left:34px!important}.xs-pl-36{padding-left:36px!important}.xs-pl-40{padding-left:40px!important}.xs-pl-44{padding-left:44px!important}.xs-pl-46{padding-left:46px!important}.xs-pl-48{padding-left:48px!important}.xs-pl-50{padding-left:50px!important}.xs-pl-52{padding-left:52px!important}.xs-pl-60{padding-left:60px!important}.xs-pl-64{padding-left:64px!important}.xs-pl-70{padding-left:70px!important}.xs-pl-76{padding-left:76px!important}.xs-pl-80{padding-left:80px!important}.xs-pl-96{padding-left:96px!important}.xs-pl-100{padding-left:100px!important}.xs-m-0{margin:0!important}.xs-m-2{margin:2px!important}.xs-m-4{margin:4px!important}.xs-m-5{margin:5px!important}.xs-m-6{margin:6px!important}.xs-m-8{margin:8px!important}.xs-m-10{margin:10px!important}.xs-m-12{margin:12px!important}.xs-m-15{margin:15px!important}.xs-m-16{margin:16px!important}.xs-m-18{margin:18px!important}.xs-m-20{margin:20px!important}.xs-m-22{margin:22px!important}.xs-m-24{margin:24px!important}.xs-m-25{margin:25px!important}.xs-m-26{margin:26px!important}.xs-m-28{margin:28px!important}.xs-m-30{margin:30px!important}.xs-m-32{margin:32px!important}.xs-m-34{margin:34px!important}.xs-m-36{margin:36px!important}.xs-m-40{margin:40px!important}.xs-m-44{margin:44px!important}.xs-m-46{margin:46px!important}.xs-m-48{margin:48px!important}.xs-m-50{margin:50px!important}.xs-m-52{margin:52px!important}.xs-m-60{margin:60px!important}.xs-m-64{margin:64px!important}.xs-m-70{margin:70px!important}.xs-m-76{margin:76px!important}.xs-m-80{margin:80px!important}.xs-m-96{margin:96px!important}.xs-m-100{margin:100px!important}.xs-mt-0{margin-top:0!important}.xs-mt-2{margin-top:2px!important}.xs-mt-4{margin-top:4px!important}.xs-mt-5{margin-top:5px!important}.xs-mt-6{margin-top:6px!important}.xs-mt-8{margin-top:8px!important}.xs-mt-10{margin-top:10px!important}.xs-mt-12{margin-top:12px!important}.xs-mt-15{margin-top:15px!important}.xs-mt-16{margin-top:16px!important}.xs-mt-18{margin-top:18px!important}.xs-mt-20{margin-top:20px!important}.xs-mt-22{margin-top:22px!important}.xs-mt-24{margin-top:24px!important}.xs-mt-25{margin-top:25px!important}.xs-mt-26{margin-top:26px!important}.xs-mt-28{margin-top:28px!important}.xs-mt-30{margin-top:30px!important}.xs-mt-32{margin-top:32px!important}.xs-mt-34{margin-top:34px!important}.xs-mt-36{margin-top:36px!important}.xs-mt-40{margin-top:40px!important}.xs-mt-44{margin-top:44px!important}.xs-mt-46{margin-top:46px!important}.xs-mt-48{margin-top:48px!important}.xs-mt-50{margin-top:50px!important}.xs-mt-52{margin-top:52px!important}.xs-mt-60{margin-top:60px!important}.xs-mt-64{margin-top:64px!important}.xs-mt-70{margin-top:70px!important}.xs-mt-76{margin-top:76px!important}.xs-mt-80{margin-top:80px!important}.xs-mt-96{margin-top:96px!important}.xs-mt-100{margin-top:100px!important}.xs-mr-0{margin-right:0!important}.xs-mr-2{margin-right:2px!important}.xs-mr-4{margin-right:4px!important}.xs-mr-5{margin-right:5px!important}.xs-mr-6{margin-right:6px!important}.xs-mr-8{margin-right:8px!important}.xs-mr-10{margin-right:10px!important}.xs-mr-12{margin-right:12px!important}.xs-mr-15{margin-right:15px!important}.xs-mr-16{margin-right:16px!important}.xs-mr-18{margin-right:18px!important}.xs-mr-20{margin-right:20px!important}.xs-mr-22{margin-right:22px!important}.xs-mr-24{margin-right:24px!important}.xs-mr-25{margin-right:25px!important}.xs-mr-26{margin-right:26px!important}.xs-mr-28{margin-right:28px!important}.xs-mr-30{margin-right:30px!important}.xs-mr-32{margin-right:32px!important}.xs-mr-34{margin-right:34px!important}.xs-mr-36{margin-right:36px!important}.xs-mr-40{margin-right:40px!important}.xs-mr-44{margin-right:44px!important}.xs-mr-46{margin-right:46px!important}.xs-mr-48{margin-right:48px!important}.xs-mr-50{margin-right:50px!important}.xs-mr-52{margin-right:52px!important}.xs-mr-60{margin-right:60px!important}.xs-mr-64{margin-right:64px!important}.xs-mr-70{margin-right:70px!important}.xs-mr-76{margin-right:76px!important}.xs-mr-80{margin-right:80px!important}.xs-mr-96{margin-right:96px!important}.xs-mr-100{margin-right:100px!important}.xs-mb-0{margin-bottom:0!important}.xs-mb-2{margin-bottom:2px!important}.xs-mb-4{margin-bottom:4px!important}.xs-mb-5{margin-bottom:5px!important}.xs-mb-6{margin-bottom:6px!important}.xs-mb-8{margin-bottom:8px!important}.xs-mb-10{margin-bottom:10px!important}.xs-mb-12{margin-bottom:12px!important}.xs-mb-15{margin-bottom:15px!important}.xs-mb-16{margin-bottom:16px!important}.xs-mb-18{margin-bottom:18px!important}.xs-mb-20{margin-bottom:20px!important}.xs-mb-22{margin-bottom:22px!important}.xs-mb-24{margin-bottom:24px!important}.xs-mb-25{margin-bottom:25px!important}.xs-mb-26{margin-bottom:26px!important}.xs-mb-28{margin-bottom:28px!important}.xs-mb-30{margin-bottom:30px!important}.xs-mb-32{margin-bottom:32px!important}.xs-mb-34{margin-bottom:34px!important}.xs-mb-36{margin-bottom:36px!important}.xs-mb-40{margin-bottom:40px!important}.xs-mb-44{margin-bottom:44px!important}.xs-mb-46{margin-bottom:46px!important}.xs-mb-48{margin-bottom:48px!important}.xs-mb-50{margin-bottom:50px!important}.xs-mb-52{margin-bottom:52px!important}.xs-mb-60{margin-bottom:60px!important}.xs-mb-64{margin-bottom:64px!important}.xs-mb-70{margin-bottom:70px!important}.xs-mb-76{margin-bottom:76px!important}.xs-mb-80{margin-bottom:80px!important}.xs-mb-96{margin-bottom:96px!important}.xs-mb-100{margin-bottom:100px!important}.xs-ml-0{margin-left:0!important}.xs-ml-2{margin-left:2px!important}.xs-ml-4{margin-left:4px!important}.xs-ml-5{margin-left:5px!important}.xs-ml-6{margin-left:6px!important}.xs-ml-8{margin-left:8px!important}.xs-ml-10{margin-left:10px!important}.xs-ml-12{margin-left:12px!important}.xs-ml-15{margin-left:15px!important}.xs-ml-16{margin-left:16px!important}.xs-ml-18{margin-left:18px!important}.xs-ml-20{margin-left:20px!important}.xs-ml-22{margin-left:22px!important}.xs-ml-24{margin-left:24px!important}.xs-ml-25{margin-left:25px!important}.xs-ml-26{margin-left:26px!important}.xs-ml-28{margin-left:28px!important}.xs-ml-30{margin-left:30px!important}.xs-ml-32{margin-left:32px!important}.xs-ml-34{margin-left:34px!important}.xs-ml-36{margin-left:36px!important}.xs-ml-40{margin-left:40px!important}.xs-ml-44{margin-left:44px!important}.xs-ml-46{margin-left:46px!important}.xs-ml-48{margin-left:48px!important}.xs-ml-50{margin-left:50px!important}.xs-ml-52{margin-left:52px!important}.xs-ml-60{margin-left:60px!important}.xs-ml-64{margin-left:64px!important}.xs-ml-70{margin-left:70px!important}.xs-ml-76{margin-left:76px!important}.xs-ml-80{margin-left:80px!important}.xs-ml-96{margin-left:96px!important}.xs-ml-100{margin-left:100px!important}}@media screen and (min-width: 640px){.sm-p-0{padding:0!important}.sm-p-2{padding:2px!important}.sm-p-4{padding:4px!important}.sm-p-5{padding:5px!important}.sm-p-6{padding:6px!important}.sm-p-8{padding:8px!important}.sm-p-10{padding:10px!important}.sm-p-12{padding:12px!important}.sm-p-15{padding:15px!important}.sm-p-16{padding:16px!important}.sm-p-18{padding:18px!important}.sm-p-20{padding:20px!important}.sm-p-22{padding:22px!important}.sm-p-24{padding:24px!important}.sm-p-25{padding:25px!important}.sm-p-26{padding:26px!important}.sm-p-28{padding:28px!important}.sm-p-30{padding:30px!important}.sm-p-32{padding:32px!important}.sm-p-34{padding:34px!important}.sm-p-36{padding:36px!important}.sm-p-40{padding:40px!important}.sm-p-44{padding:44px!important}.sm-p-46{padding:46px!important}.sm-p-48{padding:48px!important}.sm-p-50{padding:50px!important}.sm-p-52{padding:52px!important}.sm-p-60{padding:60px!important}.sm-p-64{padding:64px!important}.sm-p-70{padding:70px!important}.sm-p-76{padding:76px!important}.sm-p-80{padding:80px!important}.sm-p-96{padding:96px!important}.sm-p-100{padding:100px!important}.sm-pt-0{padding-top:0!important}.sm-pt-2{padding-top:2px!important}.sm-pt-4{padding-top:4px!important}.sm-pt-5{padding-top:5px!important}.sm-pt-6{padding-top:6px!important}.sm-pt-8{padding-top:8px!important}.sm-pt-10{padding-top:10px!important}.sm-pt-12{padding-top:12px!important}.sm-pt-15{padding-top:15px!important}.sm-pt-16{padding-top:16px!important}.sm-pt-18{padding-top:18px!important}.sm-pt-20{padding-top:20px!important}.sm-pt-22{padding-top:22px!important}.sm-pt-24{padding-top:24px!important}.sm-pt-25{padding-top:25px!important}.sm-pt-26{padding-top:26px!important}.sm-pt-28{padding-top:28px!important}.sm-pt-30{padding-top:30px!important}.sm-pt-32{padding-top:32px!important}.sm-pt-34{padding-top:34px!important}.sm-pt-36{padding-top:36px!important}.sm-pt-40{padding-top:40px!important}.sm-pt-44{padding-top:44px!important}.sm-pt-46{padding-top:46px!important}.sm-pt-48{padding-top:48px!important}.sm-pt-50{padding-top:50px!important}.sm-pt-52{padding-top:52px!important}.sm-pt-60{padding-top:60px!important}.sm-pt-64{padding-top:64px!important}.sm-pt-70{padding-top:70px!important}.sm-pt-76{padding-top:76px!important}.sm-pt-80{padding-top:80px!important}.sm-pt-96{padding-top:96px!important}.sm-pt-100{padding-top:100px!important}.sm-pr-0{padding-right:0!important}.sm-pr-2{padding-right:2px!important}.sm-pr-4{padding-right:4px!important}.sm-pr-5{padding-right:5px!important}.sm-pr-6{padding-right:6px!important}.sm-pr-8{padding-right:8px!important}.sm-pr-10{padding-right:10px!important}.sm-pr-12{padding-right:12px!important}.sm-pr-15{padding-right:15px!important}.sm-pr-16{padding-right:16px!important}.sm-pr-18{padding-right:18px!important}.sm-pr-20{padding-right:20px!important}.sm-pr-22{padding-right:22px!important}.sm-pr-24{padding-right:24px!important}.sm-pr-25{padding-right:25px!important}.sm-pr-26{padding-right:26px!important}.sm-pr-28{padding-right:28px!important}.sm-pr-30{padding-right:30px!important}.sm-pr-32{padding-right:32px!important}.sm-pr-34{padding-right:34px!important}.sm-pr-36{padding-right:36px!important}.sm-pr-40{padding-right:40px!important}.sm-pr-44{padding-right:44px!important}.sm-pr-46{padding-right:46px!important}.sm-pr-48{padding-right:48px!important}.sm-pr-50{padding-right:50px!important}.sm-pr-52{padding-right:52px!important}.sm-pr-60{padding-right:60px!important}.sm-pr-64{padding-right:64px!important}.sm-pr-70{padding-right:70px!important}.sm-pr-76{padding-right:76px!important}.sm-pr-80{padding-right:80px!important}.sm-pr-96{padding-right:96px!important}.sm-pr-100{padding-right:100px!important}.sm-pb-0{padding-bottom:0!important}.sm-pb-2{padding-bottom:2px!important}.sm-pb-4{padding-bottom:4px!important}.sm-pb-5{padding-bottom:5px!important}.sm-pb-6{padding-bottom:6px!important}.sm-pb-8{padding-bottom:8px!important}.sm-pb-10{padding-bottom:10px!important}.sm-pb-12{padding-bottom:12px!important}.sm-pb-15{padding-bottom:15px!important}.sm-pb-16{padding-bottom:16px!important}.sm-pb-18{padding-bottom:18px!important}.sm-pb-20{padding-bottom:20px!important}.sm-pb-22{padding-bottom:22px!important}.sm-pb-24{padding-bottom:24px!important}.sm-pb-25{padding-bottom:25px!important}.sm-pb-26{padding-bottom:26px!important}.sm-pb-28{padding-bottom:28px!important}.sm-pb-30{padding-bottom:30px!important}.sm-pb-32{padding-bottom:32px!important}.sm-pb-34{padding-bottom:34px!important}.sm-pb-36{padding-bottom:36px!important}.sm-pb-40{padding-bottom:40px!important}.sm-pb-44{padding-bottom:44px!important}.sm-pb-46{padding-bottom:46px!important}.sm-pb-48{padding-bottom:48px!important}.sm-pb-50{padding-bottom:50px!important}.sm-pb-52{padding-bottom:52px!important}.sm-pb-60{padding-bottom:60px!important}.sm-pb-64{padding-bottom:64px!important}.sm-pb-70{padding-bottom:70px!important}.sm-pb-76{padding-bottom:76px!important}.sm-pb-80{padding-bottom:80px!important}.sm-pb-96{padding-bottom:96px!important}.sm-pb-100{padding-bottom:100px!important}.sm-pl-0{padding-left:0!important}.sm-pl-2{padding-left:2px!important}.sm-pl-4{padding-left:4px!important}.sm-pl-5{padding-left:5px!important}.sm-pl-6{padding-left:6px!important}.sm-pl-8{padding-left:8px!important}.sm-pl-10{padding-left:10px!important}.sm-pl-12{padding-left:12px!important}.sm-pl-15{padding-left:15px!important}.sm-pl-16{padding-left:16px!important}.sm-pl-18{padding-left:18px!important}.sm-pl-20{padding-left:20px!important}.sm-pl-22{padding-left:22px!important}.sm-pl-24{padding-left:24px!important}.sm-pl-25{padding-left:25px!important}.sm-pl-26{padding-left:26px!important}.sm-pl-28{padding-left:28px!important}.sm-pl-30{padding-left:30px!important}.sm-pl-32{padding-left:32px!important}.sm-pl-34{padding-left:34px!important}.sm-pl-36{padding-left:36px!important}.sm-pl-40{padding-left:40px!important}.sm-pl-44{padding-left:44px!important}.sm-pl-46{padding-left:46px!important}.sm-pl-48{padding-left:48px!important}.sm-pl-50{padding-left:50px!important}.sm-pl-52{padding-left:52px!important}.sm-pl-60{padding-left:60px!important}.sm-pl-64{padding-left:64px!important}.sm-pl-70{padding-left:70px!important}.sm-pl-76{padding-left:76px!important}.sm-pl-80{padding-left:80px!important}.sm-pl-96{padding-left:96px!important}.sm-pl-100{padding-left:100px!important}.sm-m-0{margin:0!important}.sm-m-2{margin:2px!important}.sm-m-4{margin:4px!important}.sm-m-5{margin:5px!important}.sm-m-6{margin:6px!important}.sm-m-8{margin:8px!important}.sm-m-10{margin:10px!important}.sm-m-12{margin:12px!important}.sm-m-15{margin:15px!important}.sm-m-16{margin:16px!important}.sm-m-18{margin:18px!important}.sm-m-20{margin:20px!important}.sm-m-22{margin:22px!important}.sm-m-24{margin:24px!important}.sm-m-25{margin:25px!important}.sm-m-26{margin:26px!important}.sm-m-28{margin:28px!important}.sm-m-30{margin:30px!important}.sm-m-32{margin:32px!important}.sm-m-34{margin:34px!important}.sm-m-36{margin:36px!important}.sm-m-40{margin:40px!important}.sm-m-44{margin:44px!important}.sm-m-46{margin:46px!important}.sm-m-48{margin:48px!important}.sm-m-50{margin:50px!important}.sm-m-52{margin:52px!important}.sm-m-60{margin:60px!important}.sm-m-64{margin:64px!important}.sm-m-70{margin:70px!important}.sm-m-76{margin:76px!important}.sm-m-80{margin:80px!important}.sm-m-96{margin:96px!important}.sm-m-100{margin:100px!important}.sm-mt-0{margin-top:0!important}.sm-mt-2{margin-top:2px!important}.sm-mt-4{margin-top:4px!important}.sm-mt-5{margin-top:5px!important}.sm-mt-6{margin-top:6px!important}.sm-mt-8{margin-top:8px!important}.sm-mt-10{margin-top:10px!important}.sm-mt-12{margin-top:12px!important}.sm-mt-15{margin-top:15px!important}.sm-mt-16{margin-top:16px!important}.sm-mt-18{margin-top:18px!important}.sm-mt-20{margin-top:20px!important}.sm-mt-22{margin-top:22px!important}.sm-mt-24{margin-top:24px!important}.sm-mt-25{margin-top:25px!important}.sm-mt-26{margin-top:26px!important}.sm-mt-28{margin-top:28px!important}.sm-mt-30{margin-top:30px!important}.sm-mt-32{margin-top:32px!important}.sm-mt-34{margin-top:34px!important}.sm-mt-36{margin-top:36px!important}.sm-mt-40{margin-top:40px!important}.sm-mt-44{margin-top:44px!important}.sm-mt-46{margin-top:46px!important}.sm-mt-48{margin-top:48px!important}.sm-mt-50{margin-top:50px!important}.sm-mt-52{margin-top:52px!important}.sm-mt-60{margin-top:60px!important}.sm-mt-64{margin-top:64px!important}.sm-mt-70{margin-top:70px!important}.sm-mt-76{margin-top:76px!important}.sm-mt-80{margin-top:80px!important}.sm-mt-96{margin-top:96px!important}.sm-mt-100{margin-top:100px!important}.sm-mr-0{margin-right:0!important}.sm-mr-2{margin-right:2px!important}.sm-mr-4{margin-right:4px!important}.sm-mr-5{margin-right:5px!important}.sm-mr-6{margin-right:6px!important}.sm-mr-8{margin-right:8px!important}.sm-mr-10{margin-right:10px!important}.sm-mr-12{margin-right:12px!important}.sm-mr-15{margin-right:15px!important}.sm-mr-16{margin-right:16px!important}.sm-mr-18{margin-right:18px!important}.sm-mr-20{margin-right:20px!important}.sm-mr-22{margin-right:22px!important}.sm-mr-24{margin-right:24px!important}.sm-mr-25{margin-right:25px!important}.sm-mr-26{margin-right:26px!important}.sm-mr-28{margin-right:28px!important}.sm-mr-30{margin-right:30px!important}.sm-mr-32{margin-right:32px!important}.sm-mr-34{margin-right:34px!important}.sm-mr-36{margin-right:36px!important}.sm-mr-40{margin-right:40px!important}.sm-mr-44{margin-right:44px!important}.sm-mr-46{margin-right:46px!important}.sm-mr-48{margin-right:48px!important}.sm-mr-50{margin-right:50px!important}.sm-mr-52{margin-right:52px!important}.sm-mr-60{margin-right:60px!important}.sm-mr-64{margin-right:64px!important}.sm-mr-70{margin-right:70px!important}.sm-mr-76{margin-right:76px!important}.sm-mr-80{margin-right:80px!important}.sm-mr-96{margin-right:96px!important}.sm-mr-100{margin-right:100px!important}.sm-mb-0{margin-bottom:0!important}.sm-mb-2{margin-bottom:2px!important}.sm-mb-4{margin-bottom:4px!important}.sm-mb-5{margin-bottom:5px!important}.sm-mb-6{margin-bottom:6px!important}.sm-mb-8{margin-bottom:8px!important}.sm-mb-10{margin-bottom:10px!important}.sm-mb-12{margin-bottom:12px!important}.sm-mb-15{margin-bottom:15px!important}.sm-mb-16{margin-bottom:16px!important}.sm-mb-18{margin-bottom:18px!important}.sm-mb-20{margin-bottom:20px!important}.sm-mb-22{margin-bottom:22px!important}.sm-mb-24{margin-bottom:24px!important}.sm-mb-25{margin-bottom:25px!important}.sm-mb-26{margin-bottom:26px!important}.sm-mb-28{margin-bottom:28px!important}.sm-mb-30{margin-bottom:30px!important}.sm-mb-32{margin-bottom:32px!important}.sm-mb-34{margin-bottom:34px!important}.sm-mb-36{margin-bottom:36px!important}.sm-mb-40{margin-bottom:40px!important}.sm-mb-44{margin-bottom:44px!important}.sm-mb-46{margin-bottom:46px!important}.sm-mb-48{margin-bottom:48px!important}.sm-mb-50{margin-bottom:50px!important}.sm-mb-52{margin-bottom:52px!important}.sm-mb-60{margin-bottom:60px!important}.sm-mb-64{margin-bottom:64px!important}.sm-mb-70{margin-bottom:70px!important}.sm-mb-76{margin-bottom:76px!important}.sm-mb-80{margin-bottom:80px!important}.sm-mb-96{margin-bottom:96px!important}.sm-mb-100{margin-bottom:100px!important}.sm-ml-0{margin-left:0!important}.sm-ml-2{margin-left:2px!important}.sm-ml-4{margin-left:4px!important}.sm-ml-5{margin-left:5px!important}.sm-ml-6{margin-left:6px!important}.sm-ml-8{margin-left:8px!important}.sm-ml-10{margin-left:10px!important}.sm-ml-12{margin-left:12px!important}.sm-ml-15{margin-left:15px!important}.sm-ml-16{margin-left:16px!important}.sm-ml-18{margin-left:18px!important}.sm-ml-20{margin-left:20px!important}.sm-ml-22{margin-left:22px!important}.sm-ml-24{margin-left:24px!important}.sm-ml-25{margin-left:25px!important}.sm-ml-26{margin-left:26px!important}.sm-ml-28{margin-left:28px!important}.sm-ml-30{margin-left:30px!important}.sm-ml-32{margin-left:32px!important}.sm-ml-34{margin-left:34px!important}.sm-ml-36{margin-left:36px!important}.sm-ml-40{margin-left:40px!important}.sm-ml-44{margin-left:44px!important}.sm-ml-46{margin-left:46px!important}.sm-ml-48{margin-left:48px!important}.sm-ml-50{margin-left:50px!important}.sm-ml-52{margin-left:52px!important}.sm-ml-60{margin-left:60px!important}.sm-ml-64{margin-left:64px!important}.sm-ml-70{margin-left:70px!important}.sm-ml-76{margin-left:76px!important}.sm-ml-80{margin-left:80px!important}.sm-ml-96{margin-left:96px!important}.sm-ml-100{margin-left:100px!important}}@media screen and (min-width: 1100px){.md-p-0{padding:0!important}.md-p-2{padding:2px!important}.md-p-4{padding:4px!important}.md-p-5{padding:5px!important}.md-p-6{padding:6px!important}.md-p-8{padding:8px!important}.md-p-10{padding:10px!important}.md-p-12{padding:12px!important}.md-p-15{padding:15px!important}.md-p-16{padding:16px!important}.md-p-18{padding:18px!important}.md-p-20{padding:20px!important}.md-p-22{padding:22px!important}.md-p-24{padding:24px!important}.md-p-25{padding:25px!important}.md-p-26{padding:26px!important}.md-p-28{padding:28px!important}.md-p-30{padding:30px!important}.md-p-32{padding:32px!important}.md-p-34{padding:34px!important}.md-p-36{padding:36px!important}.md-p-40{padding:40px!important}.md-p-44{padding:44px!important}.md-p-46{padding:46px!important}.md-p-48{padding:48px!important}.md-p-50{padding:50px!important}.md-p-52{padding:52px!important}.md-p-60{padding:60px!important}.md-p-64{padding:64px!important}.md-p-70{padding:70px!important}.md-p-76{padding:76px!important}.md-p-80{padding:80px!important}.md-p-96{padding:96px!important}.md-p-100{padding:100px!important}.md-pt-0{padding-top:0!important}.md-pt-2{padding-top:2px!important}.md-pt-4{padding-top:4px!important}.md-pt-5{padding-top:5px!important}.md-pt-6{padding-top:6px!important}.md-pt-8{padding-top:8px!important}.md-pt-10{padding-top:10px!important}.md-pt-12{padding-top:12px!important}.md-pt-15{padding-top:15px!important}.md-pt-16{padding-top:16px!important}.md-pt-18{padding-top:18px!important}.md-pt-20{padding-top:20px!important}.md-pt-22{padding-top:22px!important}.md-pt-24{padding-top:24px!important}.md-pt-25{padding-top:25px!important}.md-pt-26{padding-top:26px!important}.md-pt-28{padding-top:28px!important}.md-pt-30{padding-top:30px!important}.md-pt-32{padding-top:32px!important}.md-pt-34{padding-top:34px!important}.md-pt-36{padding-top:36px!important}.md-pt-40{padding-top:40px!important}.md-pt-44{padding-top:44px!important}.md-pt-46{padding-top:46px!important}.md-pt-48{padding-top:48px!important}.md-pt-50{padding-top:50px!important}.md-pt-52{padding-top:52px!important}.md-pt-60{padding-top:60px!important}.md-pt-64{padding-top:64px!important}.md-pt-70{padding-top:70px!important}.md-pt-76{padding-top:76px!important}.md-pt-80{padding-top:80px!important}.md-pt-96{padding-top:96px!important}.md-pt-100{padding-top:100px!important}.md-pr-0{padding-right:0!important}.md-pr-2{padding-right:2px!important}.md-pr-4{padding-right:4px!important}.md-pr-5{padding-right:5px!important}.md-pr-6{padding-right:6px!important}.md-pr-8{padding-right:8px!important}.md-pr-10{padding-right:10px!important}.md-pr-12{padding-right:12px!important}.md-pr-15{padding-right:15px!important}.md-pr-16{padding-right:16px!important}.md-pr-18{padding-right:18px!important}.md-pr-20{padding-right:20px!important}.md-pr-22{padding-right:22px!important}.md-pr-24{padding-right:24px!important}.md-pr-25{padding-right:25px!important}.md-pr-26{padding-right:26px!important}.md-pr-28{padding-right:28px!important}.md-pr-30{padding-right:30px!important}.md-pr-32{padding-right:32px!important}.md-pr-34{padding-right:34px!important}.md-pr-36{padding-right:36px!important}.md-pr-40{padding-right:40px!important}.md-pr-44{padding-right:44px!important}.md-pr-46{padding-right:46px!important}.md-pr-48{padding-right:48px!important}.md-pr-50{padding-right:50px!important}.md-pr-52{padding-right:52px!important}.md-pr-60{padding-right:60px!important}.md-pr-64{padding-right:64px!important}.md-pr-70{padding-right:70px!important}.md-pr-76{padding-right:76px!important}.md-pr-80{padding-right:80px!important}.md-pr-96{padding-right:96px!important}.md-pr-100{padding-right:100px!important}.md-pb-0{padding-bottom:0!important}.md-pb-2{padding-bottom:2px!important}.md-pb-4{padding-bottom:4px!important}.md-pb-5{padding-bottom:5px!important}.md-pb-6{padding-bottom:6px!important}.md-pb-8{padding-bottom:8px!important}.md-pb-10{padding-bottom:10px!important}.md-pb-12{padding-bottom:12px!important}.md-pb-15{padding-bottom:15px!important}.md-pb-16{padding-bottom:16px!important}.md-pb-18{padding-bottom:18px!important}.md-pb-20{padding-bottom:20px!important}.md-pb-22{padding-bottom:22px!important}.md-pb-24{padding-bottom:24px!important}.md-pb-25{padding-bottom:25px!important}.md-pb-26{padding-bottom:26px!important}.md-pb-28{padding-bottom:28px!important}.md-pb-30{padding-bottom:30px!important}.md-pb-32{padding-bottom:32px!important}.md-pb-34{padding-bottom:34px!important}.md-pb-36{padding-bottom:36px!important}.md-pb-40{padding-bottom:40px!important}.md-pb-44{padding-bottom:44px!important}.md-pb-46{padding-bottom:46px!important}.md-pb-48{padding-bottom:48px!important}.md-pb-50{padding-bottom:50px!important}.md-pb-52{padding-bottom:52px!important}.md-pb-60{padding-bottom:60px!important}.md-pb-64{padding-bottom:64px!important}.md-pb-70{padding-bottom:70px!important}.md-pb-76{padding-bottom:76px!important}.md-pb-80{padding-bottom:80px!important}.md-pb-96{padding-bottom:96px!important}.md-pb-100{padding-bottom:100px!important}.md-pl-0{padding-left:0!important}.md-pl-2{padding-left:2px!important}.md-pl-4{padding-left:4px!important}.md-pl-5{padding-left:5px!important}.md-pl-6{padding-left:6px!important}.md-pl-8{padding-left:8px!important}.md-pl-10{padding-left:10px!important}.md-pl-12{padding-left:12px!important}.md-pl-15{padding-left:15px!important}.md-pl-16{padding-left:16px!important}.md-pl-18{padding-left:18px!important}.md-pl-20{padding-left:20px!important}.md-pl-22{padding-left:22px!important}.md-pl-24{padding-left:24px!important}.md-pl-25{padding-left:25px!important}.md-pl-26{padding-left:26px!important}.md-pl-28{padding-left:28px!important}.md-pl-30{padding-left:30px!important}.md-pl-32{padding-left:32px!important}.md-pl-34{padding-left:34px!important}.md-pl-36{padding-left:36px!important}.md-pl-40{padding-left:40px!important}.md-pl-44{padding-left:44px!important}.md-pl-46{padding-left:46px!important}.md-pl-48{padding-left:48px!important}.md-pl-50{padding-left:50px!important}.md-pl-52{padding-left:52px!important}.md-pl-60{padding-left:60px!important}.md-pl-64{padding-left:64px!important}.md-pl-70{padding-left:70px!important}.md-pl-76{padding-left:76px!important}.md-pl-80{padding-left:80px!important}.md-pl-96{padding-left:96px!important}.md-pl-100{padding-left:100px!important}.md-m-0{margin:0!important}.md-m-2{margin:2px!important}.md-m-4{margin:4px!important}.md-m-5{margin:5px!important}.md-m-6{margin:6px!important}.md-m-8{margin:8px!important}.md-m-10{margin:10px!important}.md-m-12{margin:12px!important}.md-m-15{margin:15px!important}.md-m-16{margin:16px!important}.md-m-18{margin:18px!important}.md-m-20{margin:20px!important}.md-m-22{margin:22px!important}.md-m-24{margin:24px!important}.md-m-25{margin:25px!important}.md-m-26{margin:26px!important}.md-m-28{margin:28px!important}.md-m-30{margin:30px!important}.md-m-32{margin:32px!important}.md-m-34{margin:34px!important}.md-m-36{margin:36px!important}.md-m-40{margin:40px!important}.md-m-44{margin:44px!important}.md-m-46{margin:46px!important}.md-m-48{margin:48px!important}.md-m-50{margin:50px!important}.md-m-52{margin:52px!important}.md-m-60{margin:60px!important}.md-m-64{margin:64px!important}.md-m-70{margin:70px!important}.md-m-76{margin:76px!important}.md-m-80{margin:80px!important}.md-m-96{margin:96px!important}.md-m-100{margin:100px!important}.md-mt-0{margin-top:0!important}.md-mt-2{margin-top:2px!important}.md-mt-4{margin-top:4px!important}.md-mt-5{margin-top:5px!important}.md-mt-6{margin-top:6px!important}.md-mt-8{margin-top:8px!important}.md-mt-10{margin-top:10px!important}.md-mt-12{margin-top:12px!important}.md-mt-15{margin-top:15px!important}.md-mt-16{margin-top:16px!important}.md-mt-18{margin-top:18px!important}.md-mt-20{margin-top:20px!important}.md-mt-22{margin-top:22px!important}.md-mt-24{margin-top:24px!important}.md-mt-25{margin-top:25px!important}.md-mt-26{margin-top:26px!important}.md-mt-28{margin-top:28px!important}.md-mt-30{margin-top:30px!important}.md-mt-32{margin-top:32px!important}.md-mt-34{margin-top:34px!important}.md-mt-36{margin-top:36px!important}.md-mt-40{margin-top:40px!important}.md-mt-44{margin-top:44px!important}.md-mt-46{margin-top:46px!important}.md-mt-48{margin-top:48px!important}.md-mt-50{margin-top:50px!important}.md-mt-52{margin-top:52px!important}.md-mt-60{margin-top:60px!important}.md-mt-64{margin-top:64px!important}.md-mt-70{margin-top:70px!important}.md-mt-76{margin-top:76px!important}.md-mt-80{margin-top:80px!important}.md-mt-96{margin-top:96px!important}.md-mt-100{margin-top:100px!important}.md-mr-0{margin-right:0!important}.md-mr-2{margin-right:2px!important}.md-mr-4{margin-right:4px!important}.md-mr-5{margin-right:5px!important}.md-mr-6{margin-right:6px!important}.md-mr-8{margin-right:8px!important}.md-mr-10{margin-right:10px!important}.md-mr-12{margin-right:12px!important}.md-mr-15{margin-right:15px!important}.md-mr-16{margin-right:16px!important}.md-mr-18{margin-right:18px!important}.md-mr-20{margin-right:20px!important}.md-mr-22{margin-right:22px!important}.md-mr-24{margin-right:24px!important}.md-mr-25{margin-right:25px!important}.md-mr-26{margin-right:26px!important}.md-mr-28{margin-right:28px!important}.md-mr-30{margin-right:30px!important}.md-mr-32{margin-right:32px!important}.md-mr-34{margin-right:34px!important}.md-mr-36{margin-right:36px!important}.md-mr-40{margin-right:40px!important}.md-mr-44{margin-right:44px!important}.md-mr-46{margin-right:46px!important}.md-mr-48{margin-right:48px!important}.md-mr-50{margin-right:50px!important}.md-mr-52{margin-right:52px!important}.md-mr-60{margin-right:60px!important}.md-mr-64{margin-right:64px!important}.md-mr-70{margin-right:70px!important}.md-mr-76{margin-right:76px!important}.md-mr-80{margin-right:80px!important}.md-mr-96{margin-right:96px!important}.md-mr-100{margin-right:100px!important}.md-mb-0{margin-bottom:0!important}.md-mb-2{margin-bottom:2px!important}.md-mb-4{margin-bottom:4px!important}.md-mb-5{margin-bottom:5px!important}.md-mb-6{margin-bottom:6px!important}.md-mb-8{margin-bottom:8px!important}.md-mb-10{margin-bottom:10px!important}.md-mb-12{margin-bottom:12px!important}.md-mb-15{margin-bottom:15px!important}.md-mb-16{margin-bottom:16px!important}.md-mb-18{margin-bottom:18px!important}.md-mb-20{margin-bottom:20px!important}.md-mb-22{margin-bottom:22px!important}.md-mb-24{margin-bottom:24px!important}.md-mb-25{margin-bottom:25px!important}.md-mb-26{margin-bottom:26px!important}.md-mb-28{margin-bottom:28px!important}.md-mb-30{margin-bottom:30px!important}.md-mb-32{margin-bottom:32px!important}.md-mb-34{margin-bottom:34px!important}.md-mb-36{margin-bottom:36px!important}.md-mb-40{margin-bottom:40px!important}.md-mb-44{margin-bottom:44px!important}.md-mb-46{margin-bottom:46px!important}.md-mb-48{margin-bottom:48px!important}.md-mb-50{margin-bottom:50px!important}.md-mb-52{margin-bottom:52px!important}.md-mb-60{margin-bottom:60px!important}.md-mb-64{margin-bottom:64px!important}.md-mb-70{margin-bottom:70px!important}.md-mb-76{margin-bottom:76px!important}.md-mb-80{margin-bottom:80px!important}.md-mb-96{margin-bottom:96px!important}.md-mb-100{margin-bottom:100px!important}.md-ml-0{margin-left:0!important}.md-ml-2{margin-left:2px!important}.md-ml-4{margin-left:4px!important}.md-ml-5{margin-left:5px!important}.md-ml-6{margin-left:6px!important}.md-ml-8{margin-left:8px!important}.md-ml-10{margin-left:10px!important}.md-ml-12{margin-left:12px!important}.md-ml-15{margin-left:15px!important}.md-ml-16{margin-left:16px!important}.md-ml-18{margin-left:18px!important}.md-ml-20{margin-left:20px!important}.md-ml-22{margin-left:22px!important}.md-ml-24{margin-left:24px!important}.md-ml-25{margin-left:25px!important}.md-ml-26{margin-left:26px!important}.md-ml-28{margin-left:28px!important}.md-ml-30{margin-left:30px!important}.md-ml-32{margin-left:32px!important}.md-ml-34{margin-left:34px!important}.md-ml-36{margin-left:36px!important}.md-ml-40{margin-left:40px!important}.md-ml-44{margin-left:44px!important}.md-ml-46{margin-left:46px!important}.md-ml-48{margin-left:48px!important}.md-ml-50{margin-left:50px!important}.md-ml-52{margin-left:52px!important}.md-ml-60{margin-left:60px!important}.md-ml-64{margin-left:64px!important}.md-ml-70{margin-left:70px!important}.md-ml-76{margin-left:76px!important}.md-ml-80{margin-left:80px!important}.md-ml-96{margin-left:96px!important}.md-ml-100{margin-left:100px!important}}@media screen and (min-width: 1440px){.lg-p-0{padding:0!important}.lg-p-2{padding:2px!important}.lg-p-4{padding:4px!important}.lg-p-5{padding:5px!important}.lg-p-6{padding:6px!important}.lg-p-8{padding:8px!important}.lg-p-10{padding:10px!important}.lg-p-12{padding:12px!important}.lg-p-15{padding:15px!important}.lg-p-16{padding:16px!important}.lg-p-18{padding:18px!important}.lg-p-20{padding:20px!important}.lg-p-22{padding:22px!important}.lg-p-24{padding:24px!important}.lg-p-25{padding:25px!important}.lg-p-26{padding:26px!important}.lg-p-28{padding:28px!important}.lg-p-30{padding:30px!important}.lg-p-32{padding:32px!important}.lg-p-34{padding:34px!important}.lg-p-36{padding:36px!important}.lg-p-40{padding:40px!important}.lg-p-44{padding:44px!important}.lg-p-46{padding:46px!important}.lg-p-48{padding:48px!important}.lg-p-50{padding:50px!important}.lg-p-52{padding:52px!important}.lg-p-60{padding:60px!important}.lg-p-64{padding:64px!important}.lg-p-70{padding:70px!important}.lg-p-76{padding:76px!important}.lg-p-80{padding:80px!important}.lg-p-96{padding:96px!important}.lg-p-100{padding:100px!important}.lg-pt-0{padding-top:0!important}.lg-pt-2{padding-top:2px!important}.lg-pt-4{padding-top:4px!important}.lg-pt-5{padding-top:5px!important}.lg-pt-6{padding-top:6px!important}.lg-pt-8{padding-top:8px!important}.lg-pt-10{padding-top:10px!important}.lg-pt-12{padding-top:12px!important}.lg-pt-15{padding-top:15px!important}.lg-pt-16{padding-top:16px!important}.lg-pt-18{padding-top:18px!important}.lg-pt-20{padding-top:20px!important}.lg-pt-22{padding-top:22px!important}.lg-pt-24{padding-top:24px!important}.lg-pt-25{padding-top:25px!important}.lg-pt-26{padding-top:26px!important}.lg-pt-28{padding-top:28px!important}.lg-pt-30{padding-top:30px!important}.lg-pt-32{padding-top:32px!important}.lg-pt-34{padding-top:34px!important}.lg-pt-36{padding-top:36px!important}.lg-pt-40{padding-top:40px!important}.lg-pt-44{padding-top:44px!important}.lg-pt-46{padding-top:46px!important}.lg-pt-48{padding-top:48px!important}.lg-pt-50{padding-top:50px!important}.lg-pt-52{padding-top:52px!important}.lg-pt-60{padding-top:60px!important}.lg-pt-64{padding-top:64px!important}.lg-pt-70{padding-top:70px!important}.lg-pt-76{padding-top:76px!important}.lg-pt-80{padding-top:80px!important}.lg-pt-96{padding-top:96px!important}.lg-pt-100{padding-top:100px!important}.lg-pr-0{padding-right:0!important}.lg-pr-2{padding-right:2px!important}.lg-pr-4{padding-right:4px!important}.lg-pr-5{padding-right:5px!important}.lg-pr-6{padding-right:6px!important}.lg-pr-8{padding-right:8px!important}.lg-pr-10{padding-right:10px!important}.lg-pr-12{padding-right:12px!important}.lg-pr-15{padding-right:15px!important}.lg-pr-16{padding-right:16px!important}.lg-pr-18{padding-right:18px!important}.lg-pr-20{padding-right:20px!important}.lg-pr-22{padding-right:22px!important}.lg-pr-24{padding-right:24px!important}.lg-pr-25{padding-right:25px!important}.lg-pr-26{padding-right:26px!important}.lg-pr-28{padding-right:28px!important}.lg-pr-30{padding-right:30px!important}.lg-pr-32{padding-right:32px!important}.lg-pr-34{padding-right:34px!important}.lg-pr-36{padding-right:36px!important}.lg-pr-40{padding-right:40px!important}.lg-pr-44{padding-right:44px!important}.lg-pr-46{padding-right:46px!important}.lg-pr-48{padding-right:48px!important}.lg-pr-50{padding-right:50px!important}.lg-pr-52{padding-right:52px!important}.lg-pr-60{padding-right:60px!important}.lg-pr-64{padding-right:64px!important}.lg-pr-70{padding-right:70px!important}.lg-pr-76{padding-right:76px!important}.lg-pr-80{padding-right:80px!important}.lg-pr-96{padding-right:96px!important}.lg-pr-100{padding-right:100px!important}.lg-pb-0{padding-bottom:0!important}.lg-pb-2{padding-bottom:2px!important}.lg-pb-4{padding-bottom:4px!important}.lg-pb-5{padding-bottom:5px!important}.lg-pb-6{padding-bottom:6px!important}.lg-pb-8{padding-bottom:8px!important}.lg-pb-10{padding-bottom:10px!important}.lg-pb-12{padding-bottom:12px!important}.lg-pb-15{padding-bottom:15px!important}.lg-pb-16{padding-bottom:16px!important}.lg-pb-18{padding-bottom:18px!important}.lg-pb-20{padding-bottom:20px!important}.lg-pb-22{padding-bottom:22px!important}.lg-pb-24{padding-bottom:24px!important}.lg-pb-25{padding-bottom:25px!important}.lg-pb-26{padding-bottom:26px!important}.lg-pb-28{padding-bottom:28px!important}.lg-pb-30{padding-bottom:30px!important}.lg-pb-32{padding-bottom:32px!important}.lg-pb-34{padding-bottom:34px!important}.lg-pb-36{padding-bottom:36px!important}.lg-pb-40{padding-bottom:40px!important}.lg-pb-44{padding-bottom:44px!important}.lg-pb-46{padding-bottom:46px!important}.lg-pb-48{padding-bottom:48px!important}.lg-pb-50{padding-bottom:50px!important}.lg-pb-52{padding-bottom:52px!important}.lg-pb-60{padding-bottom:60px!important}.lg-pb-64{padding-bottom:64px!important}.lg-pb-70{padding-bottom:70px!important}.lg-pb-76{padding-bottom:76px!important}.lg-pb-80{padding-bottom:80px!important}.lg-pb-96{padding-bottom:96px!important}.lg-pb-100{padding-bottom:100px!important}.lg-pl-0{padding-left:0!important}.lg-pl-2{padding-left:2px!important}.lg-pl-4{padding-left:4px!important}.lg-pl-5{padding-left:5px!important}.lg-pl-6{padding-left:6px!important}.lg-pl-8{padding-left:8px!important}.lg-pl-10{padding-left:10px!important}.lg-pl-12{padding-left:12px!important}.lg-pl-15{padding-left:15px!important}.lg-pl-16{padding-left:16px!important}.lg-pl-18{padding-left:18px!important}.lg-pl-20{padding-left:20px!important}.lg-pl-22{padding-left:22px!important}.lg-pl-24{padding-left:24px!important}.lg-pl-25{padding-left:25px!important}.lg-pl-26{padding-left:26px!important}.lg-pl-28{padding-left:28px!important}.lg-pl-30{padding-left:30px!important}.lg-pl-32{padding-left:32px!important}.lg-pl-34{padding-left:34px!important}.lg-pl-36{padding-left:36px!important}.lg-pl-40{padding-left:40px!important}.lg-pl-44{padding-left:44px!important}.lg-pl-46{padding-left:46px!important}.lg-pl-48{padding-left:48px!important}.lg-pl-50{padding-left:50px!important}.lg-pl-52{padding-left:52px!important}.lg-pl-60{padding-left:60px!important}.lg-pl-64{padding-left:64px!important}.lg-pl-70{padding-left:70px!important}.lg-pl-76{padding-left:76px!important}.lg-pl-80{padding-left:80px!important}.lg-pl-96{padding-left:96px!important}.lg-pl-100{padding-left:100px!important}.lg-m-0{margin:0!important}.lg-m-2{margin:2px!important}.lg-m-4{margin:4px!important}.lg-m-5{margin:5px!important}.lg-m-6{margin:6px!important}.lg-m-8{margin:8px!important}.lg-m-10{margin:10px!important}.lg-m-12{margin:12px!important}.lg-m-15{margin:15px!important}.lg-m-16{margin:16px!important}.lg-m-18{margin:18px!important}.lg-m-20{margin:20px!important}.lg-m-22{margin:22px!important}.lg-m-24{margin:24px!important}.lg-m-25{margin:25px!important}.lg-m-26{margin:26px!important}.lg-m-28{margin:28px!important}.lg-m-30{margin:30px!important}.lg-m-32{margin:32px!important}.lg-m-34{margin:34px!important}.lg-m-36{margin:36px!important}.lg-m-40{margin:40px!important}.lg-m-44{margin:44px!important}.lg-m-46{margin:46px!important}.lg-m-48{margin:48px!important}.lg-m-50{margin:50px!important}.lg-m-52{margin:52px!important}.lg-m-60{margin:60px!important}.lg-m-64{margin:64px!important}.lg-m-70{margin:70px!important}.lg-m-76{margin:76px!important}.lg-m-80{margin:80px!important}.lg-m-96{margin:96px!important}.lg-m-100{margin:100px!important}.lg-mt-0{margin-top:0!important}.lg-mt-2{margin-top:2px!important}.lg-mt-4{margin-top:4px!important}.lg-mt-5{margin-top:5px!important}.lg-mt-6{margin-top:6px!important}.lg-mt-8{margin-top:8px!important}.lg-mt-10{margin-top:10px!important}.lg-mt-12{margin-top:12px!important}.lg-mt-15{margin-top:15px!important}.lg-mt-16{margin-top:16px!important}.lg-mt-18{margin-top:18px!important}.lg-mt-20{margin-top:20px!important}.lg-mt-22{margin-top:22px!important}.lg-mt-24{margin-top:24px!important}.lg-mt-25{margin-top:25px!important}.lg-mt-26{margin-top:26px!important}.lg-mt-28{margin-top:28px!important}.lg-mt-30{margin-top:30px!important}.lg-mt-32{margin-top:32px!important}.lg-mt-34{margin-top:34px!important}.lg-mt-36{margin-top:36px!important}.lg-mt-40{margin-top:40px!important}.lg-mt-44{margin-top:44px!important}.lg-mt-46{margin-top:46px!important}.lg-mt-48{margin-top:48px!important}.lg-mt-50{margin-top:50px!important}.lg-mt-52{margin-top:52px!important}.lg-mt-60{margin-top:60px!important}.lg-mt-64{margin-top:64px!important}.lg-mt-70{margin-top:70px!important}.lg-mt-76{margin-top:76px!important}.lg-mt-80{margin-top:80px!important}.lg-mt-96{margin-top:96px!important}.lg-mt-100{margin-top:100px!important}.lg-mr-0{margin-right:0!important}.lg-mr-2{margin-right:2px!important}.lg-mr-4{margin-right:4px!important}.lg-mr-5{margin-right:5px!important}.lg-mr-6{margin-right:6px!important}.lg-mr-8{margin-right:8px!important}.lg-mr-10{margin-right:10px!important}.lg-mr-12{margin-right:12px!important}.lg-mr-15{margin-right:15px!important}.lg-mr-16{margin-right:16px!important}.lg-mr-18{margin-right:18px!important}.lg-mr-20{margin-right:20px!important}.lg-mr-22{margin-right:22px!important}.lg-mr-24{margin-right:24px!important}.lg-mr-25{margin-right:25px!important}.lg-mr-26{margin-right:26px!important}.lg-mr-28{margin-right:28px!important}.lg-mr-30{margin-right:30px!important}.lg-mr-32{margin-right:32px!important}.lg-mr-34{margin-right:34px!important}.lg-mr-36{margin-right:36px!important}.lg-mr-40{margin-right:40px!important}.lg-mr-44{margin-right:44px!important}.lg-mr-46{margin-right:46px!important}.lg-mr-48{margin-right:48px!important}.lg-mr-50{margin-right:50px!important}.lg-mr-52{margin-right:52px!important}.lg-mr-60{margin-right:60px!important}.lg-mr-64{margin-right:64px!important}.lg-mr-70{margin-right:70px!important}.lg-mr-76{margin-right:76px!important}.lg-mr-80{margin-right:80px!important}.lg-mr-96{margin-right:96px!important}.lg-mr-100{margin-right:100px!important}.lg-mb-0{margin-bottom:0!important}.lg-mb-2{margin-bottom:2px!important}.lg-mb-4{margin-bottom:4px!important}.lg-mb-5{margin-bottom:5px!important}.lg-mb-6{margin-bottom:6px!important}.lg-mb-8{margin-bottom:8px!important}.lg-mb-10{margin-bottom:10px!important}.lg-mb-12{margin-bottom:12px!important}.lg-mb-15{margin-bottom:15px!important}.lg-mb-16{margin-bottom:16px!important}.lg-mb-18{margin-bottom:18px!important}.lg-mb-20{margin-bottom:20px!important}.lg-mb-22{margin-bottom:22px!important}.lg-mb-24{margin-bottom:24px!important}.lg-mb-25{margin-bottom:25px!important}.lg-mb-26{margin-bottom:26px!important}.lg-mb-28{margin-bottom:28px!important}.lg-mb-30{margin-bottom:30px!important}.lg-mb-32{margin-bottom:32px!important}.lg-mb-34{margin-bottom:34px!important}.lg-mb-36{margin-bottom:36px!important}.lg-mb-40{margin-bottom:40px!important}.lg-mb-44{margin-bottom:44px!important}.lg-mb-46{margin-bottom:46px!important}.lg-mb-48{margin-bottom:48px!important}.lg-mb-50{margin-bottom:50px!important}.lg-mb-52{margin-bottom:52px!important}.lg-mb-60{margin-bottom:60px!important}.lg-mb-64{margin-bottom:64px!important}.lg-mb-70{margin-bottom:70px!important}.lg-mb-76{margin-bottom:76px!important}.lg-mb-80{margin-bottom:80px!important}.lg-mb-96{margin-bottom:96px!important}.lg-mb-100{margin-bottom:100px!important}.lg-ml-0{margin-left:0!important}.lg-ml-2{margin-left:2px!important}.lg-ml-4{margin-left:4px!important}.lg-ml-5{margin-left:5px!important}.lg-ml-6{margin-left:6px!important}.lg-ml-8{margin-left:8px!important}.lg-ml-10{margin-left:10px!important}.lg-ml-12{margin-left:12px!important}.lg-ml-15{margin-left:15px!important}.lg-ml-16{margin-left:16px!important}.lg-ml-18{margin-left:18px!important}.lg-ml-20{margin-left:20px!important}.lg-ml-22{margin-left:22px!important}.lg-ml-24{margin-left:24px!important}.lg-ml-25{margin-left:25px!important}.lg-ml-26{margin-left:26px!important}.lg-ml-28{margin-left:28px!important}.lg-ml-30{margin-left:30px!important}.lg-ml-32{margin-left:32px!important}.lg-ml-34{margin-left:34px!important}.lg-ml-36{margin-left:36px!important}.lg-ml-40{margin-left:40px!important}.lg-ml-44{margin-left:44px!important}.lg-ml-46{margin-left:46px!important}.lg-ml-48{margin-left:48px!important}.lg-ml-50{margin-left:50px!important}.lg-ml-52{margin-left:52px!important}.lg-ml-60{margin-left:60px!important}.lg-ml-64{margin-left:64px!important}.lg-ml-70{margin-left:70px!important}.lg-ml-76{margin-left:76px!important}.lg-ml-80{margin-left:80px!important}.lg-ml-96{margin-left:96px!important}.lg-ml-100{margin-left:100px!important}}.h-20{height:20%!important}.h-50{height:50%!important}.h-60{height:60%!important}.h-80{height:80%!important}.h-100{height:100%!important}.h-auto{height:auto%!important}.w-20{width:20%!important}.w-50{width:50%!important}.w-60{width:60%!important}.w-80{width:80%!important}.w-100{width:100%!important}.w-auto{width:auto%!important}@media screen and (min-width: 0px){.xs-h-20{height:20%!important}.xs-h-50{height:50%!important}.xs-h-60{height:60%!important}.xs-h-80{height:80%!important}.xs-h-100{height:100%!important}.xs-h-auto{height:auto%!important}.xs-w-20{width:20%!important}.xs-w-50{width:50%!important}.xs-w-60{width:60%!important}.xs-w-80{width:80%!important}.xs-w-100{width:100%!important}.xs-w-auto{width:auto%!important}}@media screen and (min-width: 640px){.sm-h-20{height:20%!important}.sm-h-50{height:50%!important}.sm-h-60{height:60%!important}.sm-h-80{height:80%!important}.sm-h-100{height:100%!important}.sm-h-auto{height:auto%!important}.sm-w-20{width:20%!important}.sm-w-50{width:50%!important}.sm-w-60{width:60%!important}.sm-w-80{width:80%!important}.sm-w-100{width:100%!important}.sm-w-auto{width:auto%!important}}@media screen and (min-width: 1100px){.md-h-20{height:20%!important}.md-h-50{height:50%!important}.md-h-60{height:60%!important}.md-h-80{height:80%!important}.md-h-100{height:100%!important}.md-h-auto{height:auto%!important}.md-w-20{width:20%!important}.md-w-50{width:50%!important}.md-w-60{width:60%!important}.md-w-80{width:80%!important}.md-w-100{width:100%!important}.md-w-auto{width:auto%!important}}@media screen and (min-width: 1440px){.lg-h-20{height:20%!important}.lg-h-50{height:50%!important}.lg-h-60{height:60%!important}.lg-h-80{height:80%!important}.lg-h-100{height:100%!important}.lg-h-auto{height:auto%!important}.lg-w-20{width:20%!important}.lg-w-50{width:50%!important}.lg-w-60{width:60%!important}.lg-w-80{width:80%!important}.lg-w-100{width:100%!important}.lg-w-auto{width:auto%!important}}.flex{display:flex}.flex-row{flex-direction:row!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-col{flex-direction:column!important}.flex-col-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-1{flex:1!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.justify-around{justify-content:space-around!important}.justify-self-start{justify-self:flex-start!important}.justify-self-end{justify-self:flex-end!important}.justify-self-center{justify-self:center!important}.justify-self-between{justify-self:space-between!important}.justify-self-around{justify-self:space-around!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-between{align-self:space-between!important}.align-self-around{align-self:space-around!important}.align-start{align-items:flex-start!important}.align-end{align-items:flex-end!important}.align-center{align-items:center!important}.align-baseline{align-items:baseline!important}.align-stretch{align-items:stretch!important}@media (min-width: 0px){.xs-flex-row{flex-direction:row!important}.xs-flex-col{flex-direction:column!important}.xs-flex-row-reverse{flex-direction:row-reverse!important}.xs-flex-col-reverse{flex-direction:column-reverse!important}.xs-flex-wrap{flex-wrap:wrap!important}.xs-flex-nowrap{flex-wrap:nowrap!important}.xs-flex-wrap-reverse{flex-wrap:wrap-reverse!important}.xs-flex-fill{flex:1 1 auto!important}.xs-flex-grow-0{flex-grow:0!important}.xs-flex-grow-1{flex-grow:1!important}.xs-flex-shrink-0{flex-shrink:0!important}.xs-flex-shrink-1{flex-shrink:1!important}.xs-justify-start{justify-content:flex-start!important}.xs-justify-end{justify-content:flex-end!important}.xs-justify-center{justify-content:center!important}.xs-justify-between{justify-content:space-between!important}.xs-justify-around{justify-content:space-around!important}.xs-justify-unset{justify-content:unset!important}.xs-align-start{align-items:flex-start!important}.xs-align-end{align-items:flex-end!important}.xs-align-center{align-items:center!important}.xs-align-baseline{align-items:baseline!important}.xs-align-stretch{align-items:stretch!important}.xs-align-unset{align-items:unset!important}.xs-justify-start{justify-self:flex-start!important}.xs-justify-self-end{justify-self:flex-end!important}.xs-justify-self-center{justify-self:center!important}.xs-justify-self-between{justify-self:space-between!important}.xs-justify-self-around{justify-self:space-around!important}.xs-align-content-start{align-content:flex-start!important}.xs-align-content-end{align-content:flex-end!important}.xs-align-content-center{align-content:center!important}.xs-align-content-between{align-content:space-between!important}.xs-align-content-around{align-content:space-around!important}.xs-align-content-stretch{align-content:stretch!important}.xs-align-self-auto{align-self:auto!important}.xs-align-self-start{align-self:flex-start!important}.xs-align-self-end{align-self:flex-end!important}.xs-align-self-center{align-self:center!important}.xs-align-self-baseline{align-self:baseline!important}.xs-align-self-stretch{align-self:stretch!important}}@media (min-width: 640px){.sm-flex-row{flex-direction:row!important}.sm-flex-col{flex-direction:column!important}.sm-flex-row-reverse{flex-direction:row-reverse!important}.sm-flex-col-reverse{flex-direction:column-reverse!important}.sm-flex-wrap{flex-wrap:wrap!important}.sm-flex-nowrap{flex-wrap:nowrap!important}.sm-flex-wrap-reverse{flex-wrap:wrap-reverse!important}.sm-flex-fill{flex:1 1 auto!important}.sm-flex-grow-0{flex-grow:0!important}.sm-flex-grow-1{flex-grow:1!important}.sm-flex-shrink-0{flex-shrink:0!important}.sm-flex-shrink-1{flex-shrink:1!important}.sm-justify-start{justify-content:flex-start!important}.sm-justify-end{justify-content:flex-end!important}.sm-justify-center{justify-content:center!important}.sm-justify-between{justify-content:space-between!important}.sm-justify-around{justify-content:space-around!important}.sm-justify-unset{justify-content:unset!important}.sm-align-start{align-items:flex-start!important}.sm-align-end{align-items:flex-end!important}.sm-align-center{align-items:center!important}.sm-align-baseline{align-items:baseline!important}.sm-align-stretch{align-items:stretch!important}.sm-align-unset{align-items:unset!important}.sm-justify-start{justify-self:flex-start!important}.sm-justify-self-end{justify-self:flex-end!important}.sm-justify-self-center{justify-self:center!important}.sm-justify-self-between{justify-self:space-between!important}.sm-justify-self-around{justify-self:space-around!important}.sm-align-content-start{align-content:flex-start!important}.sm-align-content-end{align-content:flex-end!important}.sm-align-content-center{align-content:center!important}.sm-align-content-between{align-content:space-between!important}.sm-align-content-around{align-content:space-around!important}.sm-align-content-stretch{align-content:stretch!important}.sm-align-self-auto{align-self:auto!important}.sm-align-self-start{align-self:flex-start!important}.sm-align-self-end{align-self:flex-end!important}.sm-align-self-center{align-self:center!important}.sm-align-self-baseline{align-self:baseline!important}.sm-align-self-stretch{align-self:stretch!important}}@media (min-width: 1100px){.md-flex-row{flex-direction:row!important}.md-flex-col{flex-direction:column!important}.md-flex-row-reverse{flex-direction:row-reverse!important}.md-flex-col-reverse{flex-direction:column-reverse!important}.md-flex-wrap{flex-wrap:wrap!important}.md-flex-nowrap{flex-wrap:nowrap!important}.md-flex-wrap-reverse{flex-wrap:wrap-reverse!important}.md-flex-fill{flex:1 1 auto!important}.md-flex-grow-0{flex-grow:0!important}.md-flex-grow-1{flex-grow:1!important}.md-flex-shrink-0{flex-shrink:0!important}.md-flex-shrink-1{flex-shrink:1!important}.md-justify-start{justify-content:flex-start!important}.md-justify-end{justify-content:flex-end!important}.md-justify-center{justify-content:center!important}.md-justify-between{justify-content:space-between!important}.md-justify-around{justify-content:space-around!important}.md-justify-unset{justify-content:unset!important}.md-align-start{align-items:flex-start!important}.md-align-end{align-items:flex-end!important}.md-align-center{align-items:center!important}.md-align-baseline{align-items:baseline!important}.md-align-stretch{align-items:stretch!important}.md-align-unset{align-items:unset!important}.md-justify-start{justify-self:flex-start!important}.md-justify-self-end{justify-self:flex-end!important}.md-justify-self-center{justify-self:center!important}.md-justify-self-between{justify-self:space-between!important}.md-justify-self-around{justify-self:space-around!important}.md-align-content-start{align-content:flex-start!important}.md-align-content-end{align-content:flex-end!important}.md-align-content-center{align-content:center!important}.md-align-content-between{align-content:space-between!important}.md-align-content-around{align-content:space-around!important}.md-align-content-stretch{align-content:stretch!important}.md-align-self-auto{align-self:auto!important}.md-align-self-start{align-self:flex-start!important}.md-align-self-end{align-self:flex-end!important}.md-align-self-center{align-self:center!important}.md-align-self-baseline{align-self:baseline!important}.md-align-self-stretch{align-self:stretch!important}}@media (min-width: 1440px){.lg-flex-row{flex-direction:row!important}.lg-flex-col{flex-direction:column!important}.lg-flex-row-reverse{flex-direction:row-reverse!important}.lg-flex-col-reverse{flex-direction:column-reverse!important}.lg-flex-wrap{flex-wrap:wrap!important}.lg-flex-nowrap{flex-wrap:nowrap!important}.lg-flex-wrap-reverse{flex-wrap:wrap-reverse!important}.lg-flex-fill{flex:1 1 auto!important}.lg-flex-grow-0{flex-grow:0!important}.lg-flex-grow-1{flex-grow:1!important}.lg-flex-shrink-0{flex-shrink:0!important}.lg-flex-shrink-1{flex-shrink:1!important}.lg-justify-start{justify-content:flex-start!important}.lg-justify-end{justify-content:flex-end!important}.lg-justify-center{justify-content:center!important}.lg-justify-between{justify-content:space-between!important}.lg-justify-around{justify-content:space-around!important}.lg-justify-unset{justify-content:unset!important}.lg-align-start{align-items:flex-start!important}.lg-align-end{align-items:flex-end!important}.lg-align-center{align-items:center!important}.lg-align-baseline{align-items:baseline!important}.lg-align-stretch{align-items:stretch!important}.lg-align-unset{align-items:unset!important}.lg-justify-start{justify-self:flex-start!important}.lg-justify-self-end{justify-self:flex-end!important}.lg-justify-self-center{justify-self:center!important}.lg-justify-self-between{justify-self:space-between!important}.lg-justify-self-around{justify-self:space-around!important}.lg-align-content-start{align-content:flex-start!important}.lg-align-content-end{align-content:flex-end!important}.lg-align-content-center{align-content:center!important}.lg-align-content-between{align-content:space-between!important}.lg-align-content-around{align-content:space-around!important}.lg-align-content-stretch{align-content:stretch!important}.lg-align-self-auto{align-self:auto!important}.lg-align-self-start{align-self:flex-start!important}.lg-align-self-end{align-self:flex-end!important}.lg-align-self-center{align-self:center!important}.lg-align-self-baseline{align-self:baseline!important}.lg-align-self-stretch{align-self:stretch!important}}.font_10_500{font-size:10px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_10_500{font-size:10px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_10_500{font-size:10px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_10_500{font-size:10px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_10_500{font-size:10px!important;font-weight:500!important}}.font_10_600{font-size:10px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_10_600{font-size:10px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_10_600{font-size:10px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_10_600{font-size:10px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_10_600{font-size:10px!important;font-weight:600!important}}.font_11_500{font-size:11px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_11_500{font-size:11px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_11_500{font-size:11px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_11_500{font-size:11px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_11_500{font-size:11px!important;font-weight:500!important}}.font_11_600{font-size:11px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_11_600{font-size:11px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_11_600{font-size:11px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_11_600{font-size:11px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_11_600{font-size:11px!important;font-weight:600!important}}.font_11_700{font-size:11px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_11_700{font-size:11px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_11_700{font-size:11px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_11_700{font-size:11px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_11_700{font-size:11px!important;font-weight:700!important}}.font_12_400{font-size:12px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_12_400{font-size:12px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_12_400{font-size:12px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_12_400{font-size:12px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_12_400{font-size:12px!important;font-weight:400!important}}.font_12_500{font-size:12px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_12_500{font-size:12px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_12_500{font-size:12px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_12_500{font-size:12px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_12_500{font-size:12px!important;font-weight:500!important}}.font_12_600{font-size:12px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_12_600{font-size:12px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_12_600{font-size:12px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_12_600{font-size:12px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_12_600{font-size:12px!important;font-weight:600!important}}.font_13_400{font-size:13px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_13_400{font-size:13px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_13_400{font-size:13px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_13_400{font-size:13px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_13_400{font-size:13px!important;font-weight:400!important}}.font_13_500{font-size:13px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_13_500{font-size:13px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_13_500{font-size:13px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_13_500{font-size:13px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_13_500{font-size:13px!important;font-weight:500!important}}.font_13_600{font-size:13px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_13_600{font-size:13px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_13_600{font-size:13px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_13_600{font-size:13px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_13_600{font-size:13px!important;font-weight:600!important}}.font_13_700{font-size:13px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_13_700{font-size:13px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_13_700{font-size:13px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_13_700{font-size:13px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_13_700{font-size:13px!important;font-weight:700!important}}.font_14_400{font-size:14px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_14_400{font-size:14px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_14_400{font-size:14px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_14_400{font-size:14px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_14_400{font-size:14px!important;font-weight:400!important}}.font_14_500{font-size:14px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_14_500{font-size:14px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_14_500{font-size:14px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_14_500{font-size:14px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_14_500{font-size:14px!important;font-weight:500!important}}.font_14_600{font-size:14px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_14_600{font-size:14px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_14_600{font-size:14px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_14_600{font-size:14px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_14_600{font-size:14px!important;font-weight:600!important}}.font_15_400{font-size:15px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_15_400{font-size:15px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_15_400{font-size:15px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_15_400{font-size:15px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_15_400{font-size:15px!important;font-weight:400!important}}.font_15_500{font-size:15px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_15_500{font-size:15px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_15_500{font-size:15px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_15_500{font-size:15px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_15_500{font-size:15px!important;font-weight:500!important}}.font_15_600{font-size:15px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_15_600{font-size:15px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_15_600{font-size:15px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_15_600{font-size:15px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_15_600{font-size:15px!important;font-weight:600!important}}.font_15_700{font-size:15px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_15_700{font-size:15px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_15_700{font-size:15px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_15_700{font-size:15px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_15_700{font-size:15px!important;font-weight:700!important}}.font_16_400{font-size:16px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_16_400{font-size:16px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_16_400{font-size:16px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_16_400{font-size:16px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_16_400{font-size:16px!important;font-weight:400!important}}.font_16_500{font-size:16px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_16_500{font-size:16px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_16_500{font-size:16px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_16_500{font-size:16px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_16_500{font-size:16px!important;font-weight:500!important}}.font_16_600{font-size:16px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_16_600{font-size:16px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_16_600{font-size:16px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_16_600{font-size:16px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_16_600{font-size:16px!important;font-weight:600!important}}.font_16_700{font-size:16px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_16_700{font-size:16px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_16_700{font-size:16px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_16_700{font-size:16px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_16_700{font-size:16px!important;font-weight:700!important}}.font_17_600{font-size:17px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_17_600{font-size:17px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_17_600{font-size:17px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_17_600{font-size:17px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_17_600{font-size:17px!important;font-weight:600!important}}.font_18_400{font-size:18px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_18_400{font-size:18px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_18_400{font-size:18px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_18_400{font-size:18px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_18_400{font-size:18px!important;font-weight:400!important}}.font_18_500{font-size:18px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_18_500{font-size:18px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_18_500{font-size:18px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_18_500{font-size:18px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_18_500{font-size:18px!important;font-weight:500!important}}.font_18_600{font-size:18px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_18_600{font-size:18px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_18_600{font-size:18px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_18_600{font-size:18px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_18_600{font-size:18px!important;font-weight:600!important}}.font_18_700{font-size:18px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_18_700{font-size:18px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_18_700{font-size:18px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_18_700{font-size:18px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_18_700{font-size:18px!important;font-weight:700!important}}.font_20_400{font-size:20px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_20_400{font-size:20px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_20_400{font-size:20px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_20_400{font-size:20px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_20_400{font-size:20px!important;font-weight:400!important}}.font_22_400{font-size:22px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_22_400{font-size:22px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_22_400{font-size:22px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_22_400{font-size:22px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_22_400{font-size:22px!important;font-weight:400!important}}.font_20_600{font-size:20px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_20_600{font-size:20px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_20_600{font-size:20px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_20_600{font-size:20px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_20_600{font-size:20px!important;font-weight:600!important}}.font_20_700{font-size:20px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_20_700{font-size:20px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_20_700{font-size:20px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_20_700{font-size:20px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_20_700{font-size:20px!important;font-weight:700!important}}.font_24_400{font-size:24px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_24_400{font-size:24px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_24_400{font-size:24px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_24_400{font-size:24px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_24_400{font-size:24px!important;font-weight:400!important}}.font_24_500{font-size:24px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_24_500{font-size:24px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_24_500{font-size:24px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_24_500{font-size:24px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_24_500{font-size:24px!important;font-weight:500!important}}.font_24_600{font-size:24px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_24_600{font-size:24px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_24_600{font-size:24px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_24_600{font-size:24px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_24_600{font-size:24px!important;font-weight:600!important}}.font_24_700{font-size:24px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_24_700{font-size:24px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_24_700{font-size:24px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_24_700{font-size:24px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_24_700{font-size:24px!important;font-weight:700!important}}.font_25_600{font-size:25px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_25_600{font-size:25px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_25_600{font-size:25px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_25_600{font-size:25px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_25_600{font-size:25px!important;font-weight:600!important}}.font_25_700{font-size:25px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_25_700{font-size:25px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_25_700{font-size:25px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_25_700{font-size:25px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_25_700{font-size:25px!important;font-weight:700!important}}.font_28_600{font-size:28px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_28_600{font-size:28px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_28_600{font-size:28px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_28_600{font-size:28px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_28_600{font-size:28px!important;font-weight:600!important}}.font_30_700{font-size:30px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_30_700{font-size:30px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_30_700{font-size:30px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_30_700{font-size:30px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_30_700{font-size:30px!important;font-weight:700!important}}.font_32_600{font-size:32px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_32_600{font-size:32px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_32_600{font-size:32px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_32_600{font-size:32px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_32_600{font-size:32px!important;font-weight:600!important}}.font_36_600{font-size:36px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_36_600{font-size:36px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_36_600{font-size:36px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_36_600{font-size:36px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_36_600{font-size:36px!important;font-weight:600!important}}.font_44_500{font-size:44px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_44_500{font-size:44px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_44_500{font-size:44px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_44_500{font-size:44px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_44_500{font-size:44px!important;font-weight:500!important}}.font_44_600{font-size:44px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_44_600{font-size:44px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_44_600{font-size:44px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_44_600{font-size:44px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_44_600{font-size:44px!important;font-weight:600!important}}.font_52_600{font-size:52px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_52_600{font-size:52px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_52_600{font-size:52px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_52_600{font-size:52px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_52_600{font-size:52px!important;font-weight:600!important}}.font_60_600{font-size:60px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_60_600{font-size:60px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_60_600{font-size:60px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_60_600{font-size:60px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_60_600{font-size:60px!important;font-weight:600!important}}.font_64_600{font-size:64px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_64_600{font-size:64px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_64_600{font-size:64px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_64_600{font-size:64px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_64_600{font-size:64px!important;font-weight:600!important}}.bg-primary{background-color:#b8eae1!important}.text-primary{color:#b8eae1!important}.b-primary{border-color:#b8eae1!important}@media (min-width: 0px){.xs-bg-primary{background-color:#b8eae1!important}.xs-text-primary{color:#b8eae1!important}}@media (min-width: 640px){.sm-bg-primary{background-color:#b8eae1!important}.sm-text-primary{color:#b8eae1!important}}@media (min-width: 1100px){.md-bg-primary{background-color:#b8eae1!important}.md-text-primary{color:#b8eae1!important}}@media (min-width: 1440px){.lg-bg-primary{background-color:#b8eae1!important}.lg-text-primary{color:#b8eae1!important}}.bg-secondary{background-color:#fff3f0!important}.text-secondary{color:#fff3f0!important}.b-secondary{border-color:#fff3f0!important}@media (min-width: 0px){.xs-bg-secondary{background-color:#fff3f0!important}.xs-text-secondary{color:#fff3f0!important}}@media (min-width: 640px){.sm-bg-secondary{background-color:#fff3f0!important}.sm-text-secondary{color:#fff3f0!important}}@media (min-width: 1100px){.md-bg-secondary{background-color:#fff3f0!important}.md-text-secondary{color:#fff3f0!important}}@media (min-width: 1440px){.lg-bg-secondary{background-color:#fff3f0!important}.lg-text-secondary{color:#fff3f0!important}}.bg-darkGrey{background-color:#282626!important}.text-darkGrey{color:#282626!important}.b-darkGrey{border-color:#282626!important}@media (min-width: 0px){.xs-bg-darkGrey{background-color:#282626!important}.xs-text-darkGrey{color:#282626!important}}@media (min-width: 640px){.sm-bg-darkGrey{background-color:#282626!important}.sm-text-darkGrey{color:#282626!important}}@media (min-width: 1100px){.md-bg-darkGrey{background-color:#282626!important}.md-text-darkGrey{color:#282626!important}}@media (min-width: 1440px){.lg-bg-darkGrey{background-color:#282626!important}.lg-text-darkGrey{color:#282626!important}}.bg-white{background-color:#fff!important}.text-white{color:#fff!important}.b-white{border-color:#fff!important}@media (min-width: 0px){.xs-bg-white{background-color:#fff!important}.xs-text-white{color:#fff!important}}@media (min-width: 640px){.sm-bg-white{background-color:#fff!important}.sm-text-white{color:#fff!important}}@media (min-width: 1100px){.md-bg-white{background-color:#fff!important}.md-text-white{color:#fff!important}}@media (min-width: 1440px){.lg-bg-white{background-color:#fff!important}.lg-text-white{color:#fff!important}}.bg-grey{background-color:#f7f3f3!important}.text-grey{color:#f7f3f3!important}.b-grey{border-color:#f7f3f3!important}@media (min-width: 0px){.xs-bg-grey{background-color:#f7f3f3!important}.xs-text-grey{color:#f7f3f3!important}}@media (min-width: 640px){.sm-bg-grey{background-color:#f7f3f3!important}.sm-text-grey{color:#f7f3f3!important}}@media (min-width: 1100px){.md-bg-grey{background-color:#f7f3f3!important}.md-text-grey{color:#f7f3f3!important}}@media (min-width: 1440px){.lg-bg-grey{background-color:#f7f3f3!important}.lg-text-grey{color:#f7f3f3!important}}.bg-light{background-color:#f0f0f0!important}.text-light{color:#f0f0f0!important}.b-light{border-color:#f0f0f0!important}@media (min-width: 0px){.xs-bg-light{background-color:#f0f0f0!important}.xs-text-light{color:#f0f0f0!important}}@media (min-width: 640px){.sm-bg-light{background-color:#f0f0f0!important}.sm-text-light{color:#f0f0f0!important}}@media (min-width: 1100px){.md-bg-light{background-color:#f0f0f0!important}.md-text-light{color:#f0f0f0!important}}@media (min-width: 1440px){.lg-bg-light{background-color:#f0f0f0!important}.lg-text-light{color:#f0f0f0!important}}.bg-muted{background-color:#6c757d!important}.text-muted{color:#6c757d!important}.b-muted{border-color:#6c757d!important}@media (min-width: 0px){.xs-bg-muted{background-color:#6c757d!important}.xs-text-muted{color:#6c757d!important}}@media (min-width: 640px){.sm-bg-muted{background-color:#6c757d!important}.sm-text-muted{color:#6c757d!important}}@media (min-width: 1100px){.md-bg-muted{background-color:#6c757d!important}.md-text-muted{color:#6c757d!important}}@media (min-width: 1440px){.lg-bg-muted{background-color:#6c757d!important}.lg-text-muted{color:#6c757d!important}}.bg-almostBlack{background-color:#090909!important}.text-almostBlack{color:#090909!important}.b-almostBlack{border-color:#090909!important}@media (min-width: 0px){.xs-bg-almostBlack{background-color:#090909!important}.xs-text-almostBlack{color:#090909!important}}@media (min-width: 640px){.sm-bg-almostBlack{background-color:#090909!important}.sm-text-almostBlack{color:#090909!important}}@media (min-width: 1100px){.md-bg-almostBlack{background-color:#090909!important}.md-text-almostBlack{color:#090909!important}}@media (min-width: 1440px){.lg-bg-almostBlack{background-color:#090909!important}.lg-text-almostBlack{color:#090909!important}}.bg-gooeyDanger{background-color:#dc3545!important}.text-gooeyDanger{color:#dc3545!important}.b-gooeyDanger{border-color:#dc3545!important}@media (min-width: 0px){.xs-bg-gooeyDanger{background-color:#dc3545!important}.xs-text-gooeyDanger{color:#dc3545!important}}@media (min-width: 640px){.sm-bg-gooeyDanger{background-color:#dc3545!important}.sm-text-gooeyDanger{color:#dc3545!important}}@media (min-width: 1100px){.md-bg-gooeyDanger{background-color:#dc3545!important}.md-text-gooeyDanger{color:#dc3545!important}}@media (min-width: 1440px){.lg-bg-gooeyDanger{background-color:#dc3545!important}.lg-text-gooeyDanger{color:#dc3545!important}}.text-capitalize{text-transform:capitalize}.hover-underline:hover{text-decoration:underline}.hover-grow:hover{transition:transform .1s ease-in;transform:scale(1.1);z-index:99}.hover-grow:active{transition:transform .1s ease-in;transform:scale(1)}.hover-bg-primary:hover{background-color:#b8eae1;color:#282626}[data-tooltip]{position:relative;z-index:2;cursor:pointer}[data-tooltip]:before,[data-tooltip]:after{visibility:hidden;opacity:0;pointer-events:none}[data-tooltip]:before{position:absolute;bottom:15%;left:calc(-100% - 8px);margin-bottom:5px;padding:7px;width:fit-content;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:#000;background-color:#333333e6;color:#fff;content:attr(data-tooltip);text-align:center;font-size:14px;line-height:1.2}[data-tooltip]:hover:before,[data-tooltip]:hover:after{visibility:visible;opacity:1}.br-large-right{border-radius:0 16px 16px 0}.br-large-left{border-radius:16px 0 0 16px}.text-underline{text-decoration:underline}.text-lowercase{text-transform:lowercase}.text-decoration-none{text-decoration:none}.translucent-text{opacity:.67}.br-default{border-radius:8px!important}.br-small{border-radius:4px!important}.br-large{border-radius:16px!important}.b-1{border:1px solid #eee}.b-btm-1{border-bottom:1px solid #eee}.b-top-1{border-top:1px solid #eee}.b-none{border:none!important}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-x-clip{overflow-x:clip}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.br-circle{border-radius:50%}.cr-pointer{cursor:pointer}.stroke-white{stroke:#fff!important}@media (max-width: 1100px){.xs-text-center{text-align:center}.xs-b-none{border:none}}.d-flex{display:flex!important}.d-block{display:block!important}.d-none{display:none!important}.d-inline-block{display:inline-block!important}@media (min-width: 0px){.xs-d-flex{display:flex!important}.xs-d-block{display:block!important}.xs-d-none{display:none!important}.xs-d-inline-block{display:inline-block!important}}@media (min-width: 640px){.sm-d-flex{display:flex!important}.sm-d-block{display:block!important}.sm-d-none{display:none!important}.sm-d-inline-block{display:inline-block!important}}@media (min-width: 1100px){.md-d-flex{display:flex!important}.md-d-block{display:block!important}.md-d-none{display:none!important}.md-d-inline-block{display:inline-block!important}}@media (min-width: 1440px){.lg-d-flex{display:flex!important}.lg-d-block{display:block!important}.lg-d-none{display:none!important}.lg-d-inline-block{display:inline-block!important}}.pos-relative{position:relative!important}.pos-absolute{position:absolute!important}.pos-sticky{position:sticky!important}.pos-fixed{position:fixed!important}.pos-static{position:static!important}.pos-initial{position:initial!important}.pos-unset{position:unset!important}:export{primary:hsl(169,55%,82%);secondary:hsl(12,100%,97%);border-color:#eee;gooeyDanger:#dc3545}@keyframes popup{0%{opacity:0;transform:translateY(1000px)}30%{opacity:.6;transform:translateY(100px)}to{opacity:1;transform:translateY(0)}}@keyframes loading-skeleton{to{background-position-x:-20%}}:where([data-skeleton]){--skeleton-bg: #ededed;--skeleton-shine: white;background-color:var(--skeleton-bg);background-image:linear-gradient(100deg,transparent 40%,color-mix(in srgb,var(--skeleton-shine),transparent 50%) 50%,transparent 60%);background-size:200% 100%;background-position-x:120%}@keyframes fade-in-A{0%{opacity:0;transition:opacity .2s ease}to{opacity:1}}.fade-in-A{animation:fade-in-A .3s ease .5s}.anim-typing{line-height:130%!important;opacity:1;width:100%;animation:typing .25s steps(30),blink-border .2s step-end infinite alternate;overflow:hidden;white-space:inherit}.text-reveal-container *:not(code,div,pre,ol,ul){opacity:1;animation:anim-textReveal .35s cubic-bezier(.43,.02,.06,.62) 0s forwards 1}.circular-loader{position:relative;margin:auto;width:5rem;border-radius:100vmin;overflow:hidden;padding:1.25rem}.circular-loader:before{content:"";display:block;padding-top:100%}.circular-loader .circular{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;transform-origin:center center;animation:2s linear 0s infinite rotate}.circular-loader .path{stroke:#eee;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:1.5s ease-in-out 0s infinite dash}@keyframes anim-textReveal{0%{opacity:0}to{opacity:1}}@keyframes typing{0%{opacity:0;width:0;white-space:nowrap}to{opacity:1;white-space:nowrap}}.anim-blink-self{animation:blink 1s infinite}.anim-blink{animation:border-blink .5s infinite}@keyframes border-blink{0%{opacity:0}to{opacity:1}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px;stroke:#eee}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}@keyframes rotate{to{transform:rotate(1turn)}}.bx-shadowA{box-shadow:#0000001a 0 1px 4px,#0003 0 2px 12px}.bx-shadowB{box-shadow:#00000026 0 15px 25px,#0000000d 0 5px 10px}.blur-edges{-webkit-filter:blur(5px);-moz-filter:blur(5px);-o-filter:blur(5px);-ms-filter:blur(5px);filter:blur(5px)}');function W1({config:n}){var i,o;return n={mode:"inline",enableAudioMessage:!0,showSources:!0,...n,branding:{showPoweredByGooey:!0,...n==null?void 0:n.branding}},(i=n.branding).name||(i.name="Gooey"),(o=n.branding).photoUrl||(o.photoUrl="https://gooey.ai/favicon.ico"),f.jsxs("div",{className:"gooey-embed-container",style:{height:"100%"},children:[f.jsx(u0,{}),f.jsx(jg,{config:n,children:f.jsx(l0,{children:f.jsx(G1,{})})})]})}function Z1(n,i){const o=n.attachShadow({mode:"open",delegatesFocus:!0}),s=fa.createRoot(o);return s.render(f.jsx(bi.StrictMode,{children:f.jsx(W1,{config:i})})),s}class q1{constructor(){Rt(this,"defaultConfig",{});Rt(this,"_mounted",[])}mount(i){i={...this.defaultConfig,...i};const o=document.querySelector(i.target);if(!o)throw new Error(`Target not found: ${i.target}. Please provide a valid "target" selector in the config object.`);if(!i.integration_id)throw new Error('Integration ID is required. Please provide an "integration_id" in the config object.');const s=document.createElement("div");s.style.display="contents",o.children.length>0&&o.removeChild(o.children[0]),o.appendChild(s);const p=Z1(s,i);this._mounted.push({innerDiv:s,root:p})}unmount(){for(const{innerDiv:i,root:o}of this._mounted)o.unmount(),i.remove();this._mounted=[]}}const ku=new q1;return window.GooeyEmbed=ku,ku}(); + */function _1(n){let i="";return i=n.children[0].data,i}const k1=({body:n="",language:i=""})=>{const[o,s]=q.useState("Copy");if(!n)return null;const p=async()=>{try{await navigator.clipboard.writeText(n),s("Copied"),setTimeout(()=>{s("Copy")},5e3)}catch(u){console.error("Failed to copy: ",u)}};return g.jsxs("div",{className:"bg-darkGrey text-white d-flex align-center justify-between gp-4 gmt-6",style:{borderRadius:"8px 8px 0 0"},children:[g.jsx("p",{className:"font_12_500 gml-4",style:{margin:0},children:i}),g.jsx(tr,{onClick:p,className:"font_12_500 text-white gp-4",variant:"text",children:o})]})};function S1({domNode:n}){var s;const i=_1(n),o=((s=n==null?void 0:n.attribs)==null?void 0:s.class.split("-").pop())||"python";return g.jsxs(g.Fragment,{children:[g.jsx(k1,{body:i,language:o}),g.jsx("code",{...$i.attributesToProps(n.attribs),style:{borderRadius:"4px"},children:g.jsx(v1,{theme:fu.vsDark,code:i,language:o,children:({className:p,style:u,tokens:m,getLineProps:d,getTokenProps:h})=>g.jsx("pre",{style:u,className:p,children:m.map((x,y)=>g.jsx("div",{...d({line:x}),children:x.map((v,R)=>g.jsx("span",{...h({token:v})},R))},y))})})})]})}const E1=n=>{const i=(n==null?void 0:n.size)||14;return g.jsx(Dt,{children:g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:i,width:i,style:{fill:"currentColor"},children:["// --!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.",g.jsx("path",{d:"M323.8 34.8c-38.2-10.9-78.1 11.2-89 49.4l-5.7 20c-3.7 13-10.4 25-19.5 35l-51.3 56.4c-8.9 9.8-8.2 25 1.6 33.9s25 8.2 33.9-1.6l51.3-56.4c14.1-15.5 24.4-34 30.1-54.1l5.7-20c3.6-12.7 16.9-20.1 29.7-16.5s20.1 16.9 16.5 29.7l-5.7 20c-5.7 19.9-14.7 38.7-26.6 55.5c-5.2 7.3-5.8 16.9-1.7 24.9s12.3 13 21.3 13L448 224c8.8 0 16 7.2 16 16c0 6.8-4.3 12.7-10.4 15c-7.4 2.8-13 9-14.9 16.7s.1 15.8 5.3 21.7c2.5 2.8 4 6.5 4 10.6c0 7.8-5.6 14.3-13 15.7c-8.2 1.6-15.1 7.3-18 15.2s-1.6 16.7 3.6 23.3c2.1 2.7 3.4 6.1 3.4 9.9c0 6.7-4.2 12.6-10.2 14.9c-11.5 4.5-17.7 16.9-14.4 28.8c.4 1.3 .6 2.8 .6 4.3c0 8.8-7.2 16-16 16H286.5c-12.6 0-25-3.7-35.5-10.7l-61.7-41.1c-11-7.4-25.9-4.4-33.3 6.7s-4.4 25.9 6.7 33.3l61.7 41.1c18.4 12.3 40 18.8 62.1 18.8H384c34.7 0 62.9-27.6 64-62c14.6-11.7 24-29.7 24-50c0-4.5-.5-8.8-1.3-13c15.4-11.7 25.3-30.2 25.3-51c0-6.5-1-12.8-2.8-18.7C504.8 273.7 512 257.7 512 240c0-35.3-28.6-64-64-64l-92.3 0c4.7-10.4 8.7-21.2 11.8-32.2l5.7-20c10.9-38.2-11.2-78.1-49.4-89zM32 192c-17.7 0-32 14.3-32 32V448c0 17.7 14.3 32 32 32H96c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32H32z"})]})})},C1=n=>{const i=(n==null?void 0:n.size)||14;return g.jsx(Dt,{children:g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:i,width:i,style:{fill:"currentColor"},children:["// --!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--",g.jsx("path",{d:"M313.4 32.9c26 5.2 42.9 30.5 37.7 56.5l-2.3 11.4c-5.3 26.7-15.1 52.1-28.8 75.2H464c26.5 0 48 21.5 48 48c0 18.5-10.5 34.6-25.9 42.6C497 275.4 504 288.9 504 304c0 23.4-16.8 42.9-38.9 47.1c4.4 7.3 6.9 15.8 6.9 24.9c0 21.3-13.9 39.4-33.1 45.6c.7 3.3 1.1 6.8 1.1 10.4c0 26.5-21.5 48-48 48H294.5c-19 0-37.5-5.6-53.3-16.1l-38.5-25.7C176 420.4 160 390.4 160 358.3V320 272 247.1c0-29.2 13.3-56.7 36-75l7.4-5.9c26.5-21.2 44.6-51 51.2-84.2l2.3-11.4c5.2-26 30.5-42.9 56.5-37.7zM32 192H96c17.7 0 32 14.3 32 32V448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V224c0-17.7 14.3-32 32-32z"})]})})},T1=n=>{const i=(n==null?void 0:n.size)||14;return g.jsx(Dt,{children:g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:i,width:i,style:{fill:"currentColor"},children:["// --!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--",g.jsx("path",{d:"M313.4 479.1c26-5.2 42.9-30.5 37.7-56.5l-2.3-11.4c-5.3-26.7-15.1-52.1-28.8-75.2H464c26.5 0 48-21.5 48-48c0-18.5-10.5-34.6-25.9-42.6C497 236.6 504 223.1 504 208c0-23.4-16.8-42.9-38.9-47.1c4.4-7.3 6.9-15.8 6.9-24.9c0-21.3-13.9-39.4-33.1-45.6c.7-3.3 1.1-6.8 1.1-10.4c0-26.5-21.5-48-48-48H294.5c-19 0-37.5 5.6-53.3 16.1L202.7 73.8C176 91.6 160 121.6 160 153.7V192v48 24.9c0 29.2 13.3 56.7 36 75l7.4 5.9c26.5 21.2 44.6 51 51.2 84.2l2.3 11.4c5.2 26 30.5 42.9 56.5 37.7zM32 384H96c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H32C14.3 96 0 110.3 0 128V352c0 17.7 14.3 32 32 32z"})]})})},R1=n=>{const i=(n==null?void 0:n.size)||14;return g.jsx(Dt,{children:g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:i,height:i,style:{fill:"currentColor"},children:["// --!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--",g.jsx("path",{d:"M323.8 477.2c-38.2 10.9-78.1-11.2-89-49.4l-5.7-20c-3.7-13-10.4-25-19.5-35l-51.3-56.4c-8.9-9.8-8.2-25 1.6-33.9s25-8.2 33.9 1.6l51.3 56.4c14.1 15.5 24.4 34 30.1 54.1l5.7 20c3.6 12.7 16.9 20.1 29.7 16.5s20.1-16.9 16.5-29.7l-5.7-20c-5.7-19.9-14.7-38.7-26.6-55.5c-5.2-7.3-5.8-16.9-1.7-24.9s12.3-13 21.3-13L448 288c8.8 0 16-7.2 16-16c0-6.8-4.3-12.7-10.4-15c-7.4-2.8-13-9-14.9-16.7s.1-15.8 5.3-21.7c2.5-2.8 4-6.5 4-10.6c0-7.8-5.6-14.3-13-15.7c-8.2-1.6-15.1-7.3-18-15.2s-1.6-16.7 3.6-23.3c2.1-2.7 3.4-6.1 3.4-9.9c0-6.7-4.2-12.6-10.2-14.9c-11.5-4.5-17.7-16.9-14.4-28.8c.4-1.3 .6-2.8 .6-4.3c0-8.8-7.2-16-16-16H286.5c-12.6 0-25 3.7-35.5 10.7l-61.7 41.1c-11 7.4-25.9 4.4-33.3-6.7s-4.4-25.9 6.7-33.3l61.7-41.1c18.4-12.3 40-18.8 62.1-18.8H384c34.7 0 62.9 27.6 64 62c14.6 11.7 24 29.7 24 50c0 4.5-.5 8.8-1.3 13c15.4 11.7 25.3 30.2 25.3 51c0 6.5-1 12.8-2.8 18.7C504.8 238.3 512 254.3 512 272c0 35.3-28.6 64-64 64l-92.3 0c4.7 10.4 8.7 21.2 11.8 32.2l5.7 20c10.9 38.2-11.2 78.1-49.4 89zM32 384c-17.7 0-32-14.3-32-32V128c0-17.7 14.3-32 32-32H96c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H32z"})]})})},j1=n=>g.jsx("a",{href:n==null?void 0:n.to,target:"_blank",style:{color:n.configColor},children:n.children}),vu=n=>{const i=(n==null?void 0:n.size)||12;return g.jsx(Dt,{children:g.jsxs("svg",{width:i,height:i,viewBox:"0 0 74 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[g.jsx("mask",{id:"mask0_1:52",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"71",height:"98",children:g.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L45.398 1.43036Z",fill:"white"})}),g.jsx("g",{mask:"url(#mask0_1:52)",children:g.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L56.4365 16.8843L45.398 1.43036Z",fill:"#0F9D58"})}),g.jsx("mask",{id:"mask1_1:52",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"71",height:"98",children:g.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L45.398 1.43036Z",fill:"white"})}),g.jsx("g",{mask:"url(#mask1_1:52)",children:g.jsx("path",{d:"M18.9054 48.8962V80.908H54.2288V48.8962H18.9054ZM34.3594 76.4926H23.3209V70.9733H34.3594V76.4926ZM34.3594 67.6617H23.3209V62.1424H34.3594V67.6617ZM34.3594 58.8309H23.3209V53.3116H34.3594V58.8309ZM49.8134 76.4926H38.7748V70.9733H49.8134V76.4926ZM49.8134 67.6617H38.7748V62.1424H49.8134V67.6617ZM49.8134 58.8309H38.7748V53.3116H49.8134V58.8309Z",fill:"#F1F1F1"})}),g.jsx("mask",{id:"mask2_1:52",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"71",height:"98",children:g.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L45.398 1.43036Z",fill:"white"})}),g.jsx("g",{mask:"url(#mask2_1:52)",children:g.jsx("path",{d:"M47.3352 25.9856L71.8905 50.5354V27.9229L47.3352 25.9856Z",fill:"url(#paint0_linear_1:52)"})}),g.jsx("mask",{id:"mask3_1:52",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"71",height:"98",children:g.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L45.398 1.43036Z",fill:"white"})}),g.jsx("g",{mask:"url(#mask3_1:52)",children:g.jsx("path",{d:"M45.398 1.43036V21.2998C45.398 24.959 48.3618 27.9229 52.0211 27.9229H71.8905L45.398 1.43036Z",fill:"#87CEAC"})}),g.jsx("mask",{id:"mask4_1:52",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"71",height:"98",children:g.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L45.398 1.43036Z",fill:"white"})}),g.jsx("g",{mask:"url(#mask4_1:52)",children:g.jsx("path",{d:"M7.86688 1.43036C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V8.60542C1.24374 4.9627 4.22415 1.98229 7.86688 1.98229H45.398V1.43036H7.86688Z",fill:"white",fillOpacity:"0.2"})}),g.jsx("mask",{id:"mask5_1:52",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"71",height:"98",children:g.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L45.398 1.43036Z",fill:"white"})}),g.jsx("g",{mask:"url(#mask5_1:52)",children:g.jsx("path",{d:"M65.2674 98.0177H7.86688C4.22415 98.0177 1.24374 95.0373 1.24374 91.3946V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V91.3946C71.8905 95.0373 68.9101 98.0177 65.2674 98.0177Z",fill:"#263238",fillOpacity:"0.2"})}),g.jsx("mask",{id:"mask6_1:52",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"71",height:"98",children:g.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L45.398 1.43036Z",fill:"white"})}),g.jsx("g",{mask:"url(#mask6_1:52)",children:g.jsx("path",{d:"M52.0211 27.9229C48.3618 27.9229 45.398 24.959 45.398 21.2998V21.8517C45.398 25.511 48.3618 28.4748 52.0211 28.4748H71.8905V27.9229H52.0211Z",fill:"#263238",fillOpacity:"0.1"})}),g.jsx("path",{d:"M45.398 1.43036H7.86688C4.22415 1.43036 1.24374 4.41077 1.24374 8.0535V91.9465C1.24374 95.5893 4.22415 98.5697 7.86688 98.5697H65.2674C68.9101 98.5697 71.8905 95.5893 71.8905 91.9465V27.9229L45.398 1.43036Z",fill:"url(#paint1_radial_1:52)"}),g.jsxs("defs",{children:[g.jsxs("linearGradient",{id:"paint0_linear_1:52",x1:"59.6142",y1:"28.0935",x2:"59.6142",y2:"50.5388",gradientUnits:"userSpaceOnUse",children:[g.jsx("stop",{"stop-color":"#263238",stopOpacity:"0.2"}),g.jsx("stop",{offset:"1","stop-color":"#263238",stopOpacity:"0.02"})]}),g.jsxs("radialGradient",{id:"paint1_radial_1:52",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(3.48187 3.36121) scale(113.917)",children:[g.jsx("stop",{"stop-color":"white",stopOpacity:"0.1"}),g.jsx("stop",{offset:"1","stop-color":"white",stopOpacity:"0"})]})]})]})})},oo=n=>{const i=(n==null?void 0:n.size)||12;return g.jsx(Dt,{children:g.jsxs("svg",{width:i,height:i,viewBox:"0 0 73 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[g.jsxs("g",{clipPath:"url(#clip0_1:149)",children:[g.jsx("mask",{id:"mask0_1:149",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"73",height:"100",children:g.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L45.1923 0Z",fill:"white"})}),g.jsx("g",{mask:"url(#mask0_1:149)",children:g.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L56.4904 15.9091L45.1923 0Z",fill:"#4285F4"})}),g.jsx("mask",{id:"mask1_1:149",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"73",height:"100",children:g.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L45.1923 0Z",fill:"white"})}),g.jsx("g",{mask:"url(#mask1_1:149)",children:g.jsx("path",{d:"M47.1751 25.2784L72.3077 50.5511V27.2727L47.1751 25.2784Z",fill:"url(#paint0_linear_1:149)"})}),g.jsx("mask",{id:"mask2_1:149",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"73",height:"100",children:g.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L45.1923 0Z",fill:"white"})}),g.jsx("g",{mask:"url(#mask2_1:149)",children:g.jsx("path",{d:"M18.0769 72.7273H54.2308V68.1818H18.0769V72.7273ZM18.0769 81.8182H45.1923V77.2727H18.0769V81.8182ZM18.0769 50V54.5455H54.2308V50H18.0769ZM18.0769 63.6364H54.2308V59.0909H18.0769V63.6364Z",fill:"#F1F1F1"})}),g.jsx("mask",{id:"mask3_1:149",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"73",height:"100",children:g.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L45.1923 0Z",fill:"white"})}),g.jsx("g",{mask:"url(#mask3_1:149)",children:g.jsx("path",{d:"M45.1923 0V20.4545C45.1923 24.2216 48.2258 27.2727 51.9712 27.2727H72.3077L45.1923 0Z",fill:"#A1C2FA"})}),g.jsx("mask",{id:"mask4_1:149",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"73",height:"100",children:g.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L45.1923 0Z",fill:"white"})}),g.jsx("g",{mask:"url(#mask4_1:149)",children:g.jsx("path",{d:"M6.77885 0C3.05048 0 0 3.06818 0 6.81818V7.38636C0 3.63636 3.05048 0.568182 6.77885 0.568182H45.1923V0H6.77885Z",fill:"white",fillOpacity:"0.2"})}),g.jsx("mask",{id:"mask5_1:149",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"73",height:"100",children:g.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L45.1923 0Z",fill:"white"})}),g.jsx("g",{mask:"url(#mask5_1:149)",children:g.jsx("path",{d:"M65.5288 99.4318H6.77885C3.05048 99.4318 0 96.3636 0 92.6136V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V92.6136C72.3077 96.3636 69.2572 99.4318 65.5288 99.4318Z",fill:"#1A237E",fillOpacity:"0.2"})}),g.jsx("mask",{id:"mask6_1:149",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"73",height:"100",children:g.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L45.1923 0Z",fill:"white"})}),g.jsx("g",{mask:"url(#mask6_1:149)",children:g.jsx("path",{d:"M51.9712 27.2727C48.2258 27.2727 45.1923 24.2216 45.1923 20.4545V21.0227C45.1923 24.7898 48.2258 27.8409 51.9712 27.8409H72.3077V27.2727H51.9712Z",fill:"#1A237E",fillOpacity:"0.1"})}),g.jsx("path",{d:"M45.1923 0H6.77885C3.05048 0 0 3.06818 0 6.81818V93.1818C0 96.9318 3.05048 100 6.77885 100H65.5288C69.2572 100 72.3077 96.9318 72.3077 93.1818V27.2727L45.1923 0Z",fill:"url(#paint1_radial_1:149)"})]}),g.jsxs("defs",{children:[g.jsxs("linearGradient",{id:"paint0_linear_1:149",x1:"59.7428",y1:"27.4484",x2:"59.7428",y2:"50.5547",gradientUnits:"userSpaceOnUse",children:[g.jsx("stop",{stopColor:"#1A237E",stopOpacity:"0.2"}),g.jsx("stop",{offset:"1",stopColor:"#1A237E",stopOpacity:"0.02"})]}),g.jsxs("radialGradient",{id:"paint1_radial_1:149",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(2.29074 1.9765) scale(116.595)",children:[g.jsx("stop",{stopColor:"white",stopOpacity:"0.1"}),g.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),g.jsx("clipPath",{id:"clip0_1:149",children:g.jsx("rect",{width:"72.3077",height:"100",fill:"white"})})]})]})})},_u=n=>{const i=(n==null?void 0:n.size)||12;return g.jsx(Dt,{children:g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 242424 333334","shape-rendering":"geometricPrecision","text-rendering":"geometricPrecision","image-rendering":"optimizeQuality","fill-rule":"evenodd","clip-rule":"evenodd",width:i,height:i,children:[g.jsxs("defs",{children:[g.jsxs("linearGradient",{id:"c",gradientUnits:"userSpaceOnUse",x1:"200291",y1:"94137",x2:"200291",y2:"173145",children:[g.jsx("stop",{offset:"0","stop-color":"#bf360c"}),g.jsx("stop",{offset:"1","stop-color":"#bf360c"})]}),g.jsxs("mask",{id:"b",children:[g.jsxs("linearGradient",{id:"a",gradientUnits:"userSpaceOnUse",x1:"200291",y1:"91174.4",x2:"200291",y2:"176107",children:[g.jsx("stop",{offset:"0","stop-opacity":".02","stop-color":"#fff"}),g.jsx("stop",{offset:"1","stop-opacity":".2","stop-color":"#fff"})]}),g.jsx("path",{fill:"url(#a)",d:"M158007 84111h84568v99059h-84568z"})]})]}),g.jsxs("g",{"fill-rule":"nonzero",children:[g.jsx("path",{d:"M151516 0H22726C10228 0 0 10228 0 22726v287880c0 12494 10228 22728 22726 22728h196971c12494 0 22728-10234 22728-22728V90909l-53037-37880L151516 1z",fill:"#f4b300"}),g.jsx("path",{d:"M170452 151515H71970c-6252 0-11363 5113-11363 11363v98483c0 6251 5112 11363 11363 11363h98482c6252 0 11363-5112 11363-11363v-98483c0-6250-5111-11363-11363-11363zm-3792 87118H75756v-53027h90904v53027z",fill:"#f0f0f0"}),g.jsx("path",{mask:"url(#b)",fill:"url(#c)",d:"M158158 84261l84266 84242V90909z"}),g.jsx("path",{d:"M151516 0v68181c0 12557 10167 22728 22726 22728h68182L151515 0z",fill:"#f9da80"}),g.jsx("path",{fill:"#fff","fill-opacity":".102",d:"M151516 0v1893l89008 89016h1900z"}),g.jsx("path",{d:"M22726 0C10228 0 0 10228 0 22726v1893C0 12121 10228 1893 22726 1893h128790V0H22726z",fill:"#fff","fill-opacity":".2"}),g.jsx("path",{d:"M219697 331433H22726C10228 331433 0 321209 0 308705v1900c0 12494 10228 22728 22726 22728h196971c12494 0 22728-10234 22728-22728v-1900c0 12504-10233 22728-22728 22728z",fill:"#bf360c","fill-opacity":".2"}),g.jsx("path",{d:"M174243 90909c-12559 0-22726-10171-22726-22728v1893c0 12557 10167 22728 22726 22728h68182v-1893h-68182z",fill:"#bf360c","fill-opacity":".102"})]})]})})},ku=n=>{const i=(n==null?void 0:n.size)||10;return g.jsx(Dt,{children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:i,width:i,...n,children:g.jsx("path",{d:"M0 0L224 0l0 160 160 0 0 144-272 0 0 208L0 512 0 0zM384 128l-128 0L256 0 384 128zM176 352l32 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-16 0 0 32 0 16-32 0 0-16 0-48 0-80 0-16 16 0zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0 48 16 0zm96-80l32 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-32 0-16 0 0-16 0-128 0-16 16 0zm32 128c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-16 0 0 96 16 0zm80-128l16 0 48 0 16 0 0 32-16 0-32 0 0 32 32 0 16 0 0 32-16 0-32 0 0 48 0 16-32 0 0-16 0-64 0-64 0-16z"})})})},Su=n=>{const i=(n==null?void 0:n.size)||10;return g.jsx(Dt,{children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28.57 20",focusable:"false",height:i,width:i,children:g.jsx("svg",{viewBox:"0 0 28.57 20",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",children:g.jsxs("g",{children:[g.jsx("path",{d:"M27.9727 3.12324C27.6435 1.89323 26.6768 0.926623 25.4468 0.597366C23.2197 2.24288e-07 14.285 0 14.285 0C14.285 0 5.35042 2.24288e-07 3.12323 0.597366C1.89323 0.926623 0.926623 1.89323 0.597366 3.12324C2.24288e-07 5.35042 0 10 0 10C0 10 2.24288e-07 14.6496 0.597366 16.8768C0.926623 18.1068 1.89323 19.0734 3.12323 19.4026C5.35042 20 14.285 20 14.285 20C14.285 20 23.2197 20 25.4468 19.4026C26.6768 19.0734 27.6435 18.1068 27.9727 16.8768C28.5701 14.6496 28.5701 10 28.5701 10C28.5701 10 28.5677 5.35042 27.9727 3.12324Z",fill:"#FF0000"}),g.jsx("path",{d:"M11.4253 14.2854L18.8477 10.0004L11.4253 5.71533V14.2854Z",fill:"white"})]})})})})},Eu=n=>{const i=n.size||16;return g.jsx(Dt,{...n,children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:i,height:i,children:g.jsx("path",{d:"M256 480c16.7 0 40.4-14.4 61.9-57.3c9.9-19.8 18.2-43.7 24.1-70.7H170c5.9 27 14.2 50.9 24.1 70.7C215.6 465.6 239.3 480 256 480zM164.3 320H347.7c2.8-20.2 4.3-41.7 4.3-64s-1.5-43.8-4.3-64H164.3c-2.8 20.2-4.3 41.7-4.3 64s1.5 43.8 4.3 64zM170 160H342c-5.9-27-14.2-50.9-24.1-70.7C296.4 46.4 272.7 32 256 32s-40.4 14.4-61.9 57.3C184.2 109.1 175.9 133 170 160zm210 32c2.6 20.5 4 41.9 4 64s-1.4 43.5-4 64h90.8c6-20.3 9.3-41.8 9.3-64s-3.2-43.7-9.3-64H380zm78.5-32c-25.9-54.5-73.1-96.9-130.9-116.3c21 28.3 37.6 68.8 47.2 116.3h83.8zm-321.1 0c9.6-47.6 26.2-88 47.2-116.3C126.7 63.1 79.4 105.5 53.6 160h83.7zm-96 32c-6 20.3-9.3 41.8-9.3 64s3.2 43.7 9.3 64H132c-2.6-20.5-4-41.9-4-64s1.4-43.5 4-64H41.3zM327.5 468.3c57.8-19.5 105-61.8 130.9-116.3H374.7c-9.6 47.6-26.2 88-47.2 116.3zm-143 0c-21-28.3-37.5-68.8-47.2-116.3H53.6c25.9 54.5 73.1 96.9 130.9 116.3zM256 512A256 256 0 1 1 256 0a256 256 0 1 1 0 512z"})})})},A1=n=>{const i=n.size||16;return g.jsx(Dt,{children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:i,width:i,children:g.jsx("path",{d:"M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"})})})},Cu=({children:n,...i})=>{const{config:o}=le(),[s,p]=q.useState((o==null?void 0:o.expandedSources)||!1),u=()=>{p(!s)};return q.useEffect(()=>{o!=null&&o.expandedSources&&p(o==null?void 0:o.expandedSources)},[o==null?void 0:o.expandedSources]),g.jsxs("span",{className:Pt("collapsible-button",s&&"collapsible-button-expanded"),children:[g.jsx(ye,{...i,variant:"",id:"expand-collapse-button",className:"bg-light gp-4",onClick:m=>{i!=null&&i.onClick&&(i==null||i.onClick(m)),u()},children:g.jsx(A1,{size:12})}),s&&!(i!=null&&i.disabled)&&g.jsx("div",{className:Pt("collapsed-area",s&&"collapsed-area-expanded"),children:n})]})},z1=n=>{const{data:i,index:o,onClick:s}=n,{getTempStoreValue:p,setTempStoreValue:u}=le(),[m,d]=q.useState(p(i.url)||null),{mainString:h}=L1(i==null?void 0:i.title),[x,y]=(h||"").split(",");q.useEffect(()=>{if(!(!i||m||p[i.url]))try{I1(i.url).then(b=>{Object.keys(b).length&&(d(b),u(i.url,b))})}catch(b){console.error(b)}},[i,p,m,u]);const v=(m==null?void 0:m.redirect_urls[(m==null?void 0:m.redirect_urls.length)-1])||(i==null?void 0:i.url),[R]=P1(v||(i==null?void 0:i.url)),M=O1(m==null?void 0:m.content_type,(m==null?void 0:m.redirect_urls[0])||(i==null?void 0:i.url)),w=R.includes("googleapis")?"":R+(i!=null&&i.refNumber||y?"⋅":"");return i?g.jsxs("button",{onClick:s,className:Pt("pos-relative sources-card gp-0 gm-0 text-left overflow-hidden",o!==i.length-1&&"gmr-12"),style:{height:"64px"},children:[(m==null?void 0:m.image)&&g.jsx("div",{style:{position:"absolute",height:"100%",width:"100%",left:0,top:0,background:`url(${m==null?void 0:m.image})`,backgroundSize:"cover",backgroundPosition:"center",zIndex:0,filter:"brightness(0.4)",transition:"all 1s ease-in-out"}}),g.jsxs("div",{className:"d-flex flex-col justify-between gp-6",style:{zIndex:1,height:"100%"},children:[g.jsx("p",{className:Pt("font_10_600",m!=null&&m.image?"text-white":""),style:{margin:0},children:H1((m==null?void 0:m.title)||x,50)}),g.jsxs("div",{className:Pt("d-flex align-center font_10_600",m!=null&&m.image?"text-white":"text-muted"),children:[M||!(m!=null&&m.logo)?g.jsx(M,{}):g.jsx("img",{src:m==null?void 0:m.logo,alt:i==null?void 0:i.title,style:{width:"14px",height:"14px",borderRadius:"100px",objectFit:"contain"}}),g.jsx("p",{className:Pt("font_10_500 gml-4",m!=null&&m.image?"text-white":"text-muted"),style:{margin:0},children:w+(y?y.trim():"")+(i!=null&&i.refNumber?`${y?"⋅":""}[${i==null?void 0:i.refNumber}]`:"")})]})]})]}):null},Tu=({data:n})=>{const i=o=>window.open(o,"_blank");return!n||!n.length?null:g.jsx("div",{className:"gmb-4 text-reveal-container",children:g.jsx("div",{className:"gmt-8 sources-listContainer",children:n.map((o,s)=>g.jsx(z1,{data:o,index:s,onClick:i.bind(null,o==null?void 0:o.url)},(o==null?void 0:o.title)+s))})})},N1="https://metascraper.gooey.ai",Ru=/\[\d+(,\s*\d+)*\]/g,O1=(n,i)=>{const o=i.toLowerCase();if(o.includes("youtube.com")||o.includes("youtu.be"))return()=>g.jsx(Su,{});if(o.endsWith(".pdf"))return()=>g.jsx(ku,{style:{fill:"#F40F02"},size:12});if(o.endsWith(".xls")||o.endsWith(".xlsx")||o.includes("sheets.google"))return()=>g.jsx(vu,{});if(o.endsWith(".docx")||o.includes("docs.google"))return()=>g.jsx(oo,{});if(o.endsWith(".pptx")||o.includes("/presentation"))return()=>g.jsx(_u,{});if(o.endsWith(".txt"))return()=>g.jsx(oo,{});if(o.endsWith(".html"))return null;switch(n=n==null?void 0:n.toLowerCase().split(";")[0],n){case"video":return()=>g.jsx(Su,{});case"application/pdf":return()=>g.jsx(ku,{style:{fill:"#F40F02"},size:12});case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":return()=>g.jsx(vu,{});case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":return()=>g.jsx(oo,{});case"application/vnd.openxmlformats-officedocument.presentationml.presentation":return()=>g.jsx(_u,{});case"text/plain":return()=>g.jsx(oo,{});case"text/html":return null;default:return()=>g.jsx(Eu,{size:12})}};function ju(n){const i=n.split("/");return i[i.length-1]}function L1(n){const i=ju(n),o=/\.([a-zA-Z0-9]+)(\?.*)?$/,s=i.match(o);if(s){const p="."+s[1];return{mainString:i.slice(0,-p.length),extension:p}}else return{mainString:i,extension:null}}function P1(n){try{const o=new URL(n).hostname,s=o.split(".");if(s.length>=2){const p=s.slice(-2,-1)[0],u=s.slice(-1)[0];return o.includes("google")?[s.slice(-3,-1).join("."),o]:[p,p+"."+u]}}catch(i){return console.error("Invalid URL:",i),null}}const I1=async n=>{try{const i=await jt.get(`${N1}/fetchUrlMeta?url=${n}`);return i==null?void 0:i.data}catch(i){console.error(i)}},M1=n=>{const{type:i="",status:o="",text:s,detail:p,output_text:u={}}=n;let m="";if(i===On.MESSAGE_PART){if(s)return m=s,m=m.replace("🎧 I heard","🎙️"),m;m=p}return i===On.FINAL_RESPONSE&&o==="completed"&&(m=u[0]),m=m.replace("🎧 I heard","🎙️"),m},ms=n=>({htmlparser2:{lowerCaseTags:!1,lowerCaseAttributeNames:!1},replace:function(i){var o,s;if(i.attribs&&i.children.length&&i.children[0].name==="code"&&(s=(o=i.children[0].attribs)==null?void 0:o.class)!=null&&s.includes("language-"))return g.jsx(S1,{domNode:i.children[0],options:ms(n)})},transform(i,o){return o.type==="text"&&n.showSources?U1(i,o,n):(o==null?void 0:o.name)==="a"?D1(i,o,n):i}}),F1=(n,i)=>{const s=((i==null?void 0:i.references)||[]).filter(p=>p.url===n);s.length&&s[0]},D1=(n,i,o)=>{if(!n)return n;const s=i.attribs.href;delete i.attribs.href;let p=F1(s,o);p||(p={title:(i==null?void 0:i.children[0].data)||ju(s),url:s});const u=s.startsWith("mailto:");return g.jsxs(Qn.Fragment,{children:[g.jsx(j1,{to:s,configColor:(o==null?void 0:o.linkColor)||"default",children:$i.domToReact(i.children,ms(o))})," ",!u&&g.jsx(Cu,{children:g.jsx(Tu,{data:[p]})})]})},U1=(n,i,o)=>{if(!i)return i;let s=i.data||"";const p=Array.from(new Set((s.match(Ru)||[]).map(d=>parseInt(d.slice(1,-1),10))));if(!p||!p.length)return n;const{references:u=[]}=o,m=[...u].splice(p[0]-1,p[p.length-1]);return s=s.replaceAll(Ru,""),s[s.length-1]==="."&&s[s.length-2]===" "&&(s=s.slice(0,-2)+"."),g.jsxs(Qn.Fragment,{children:[s," ",g.jsx(Cu,{disabled:!u.length,children:g.jsx(Tu,{data:m})}),g.jsx("br",{})]})},B1=(n,i,o)=>{const s=M1(n);if(!s)return"";const p=vt.parse(s,{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,silent:!1,tokenizer:null,walkTokens:null});return vx(p,ms({...n,showSources:o,linkColor:i}))},$1=(n,i)=>{switch(n){case"FEEDBACK_THUMBS_UP":return i?g.jsx(C1,{size:12,className:"text-muted"}):g.jsx(E1,{size:12,className:"text-muted"});case"FEEDBACK_THUMBS_DOWN":return i?g.jsx(T1,{size:12,className:"text-muted"}):g.jsx(R1,{size:12,className:"text-muted"});default:return null}};function H1(n,i){if(n.length<=i)return n;const o="...",s=o.length,p=i-s,u=Math.ceil(p/2),m=Math.floor(p/2);return n.slice(0,u)+o+n.slice(-m)}Xe(hm);const Au=()=>{var i;const n=(i=le().config)==null?void 0:i.branding;return g.jsxs("div",{className:"d-flex align-center",children:[(n==null?void 0:n.photoUrl)&&g.jsx("div",{className:"bot-avatar bg-primary gmr-12",style:{width:"24px",height:"24px",borderRadius:"100%"},children:g.jsx("img",{src:n==null?void 0:n.photoUrl,alt:"bot-avatar",style:{width:"24px",height:"24px",borderRadius:"100%",objectFit:"cover"}})}),g.jsx("p",{className:"font_16_600",children:n==null?void 0:n.name})]})},V1=({data:n,onFeedbackClick:i})=>{const{buttons:o,bot_message_id:s}=n;return o?g.jsx("div",{className:"d-flex gml-36",children:o.map(p=>!!p&&g.jsx(tr,{className:"gmr-4 text-muted",variant:"text",onClick:()=>!p.isPressed&&i(p.id,s),children:$1(p.id,p.isPressed)},p.id))}):null},G1=q.memo(n=>{var x;const{output_audio:i=[],type:o,output_video:s=[]}=n.data,p=n.autoPlay!==!1,u=i[0],m=s[0],d=o!==On.FINAL_RESPONSE,h=B1(n.data,n==null?void 0:n.linkColor,n==null?void 0:n.showSources);return h?g.jsx("div",{className:"gooey-incomingMsg gpb-12",children:g.jsxs("div",{className:"gpl-16",children:[g.jsx(Au,{}),g.jsx("div",{className:Pt("gml-36 gmt-4 font_16_400 pos-relative gooey-output-text markdown text-reveal-container",d&&"response-streaming"),id:n==null?void 0:n.id,children:h}),!d&&!m&&u&&g.jsx("div",{className:"gmt-16 gml-36",children:g.jsx("audio",{autoPlay:p,playsInline:!0,controls:!0,src:u})}),!d&&m&&g.jsx("div",{className:"gmt-16 gml-36",children:g.jsx("video",{autoPlay:p,playsInline:!0,controls:!0,src:m,style:{backgroundColor:"#000"}})}),!d&&((x=n==null?void 0:n.data)==null?void 0:x.buttons)&&g.jsx(V1,{onFeedbackClick:n==null?void 0:n.onFeedbackClick,data:n==null?void 0:n.data})]})}):g.jsx(zu,{show:!0})}),W1=n=>{const i=n.size||24;return g.jsx(Dt,{children:g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:i,height:i,...n,children:["// --!Font Awesome Pro 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.--",g.jsx("path",{d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"})]})})},zu=n=>{const{scrollMessageContainer:i}=an(),o=q.useRef(null);return q.useEffect(()=>{var s;if(n.show){const p=(s=o==null?void 0:o.current)==null?void 0:s.offsetTop;i(p)}},[n.show,i]),n.show?g.jsxs("div",{ref:o,className:"gpl-16",children:[g.jsx(Au,{}),g.jsx(W1,{className:"anim-blink gml-36 gmt-4",size:12})]}):null},q1=".gooey-outgoingMsg{max-width:100%;animation:fade-in-A .4s}.gooey-outgoingMsg audio{width:100%;height:40px}.gooey-outgoing-text{white-space:break-spaces!important}.outgoingMsg-image{max-width:200px;min-width:200px;background-color:#eee;animation:fade-in-A .4s;height:100px;object-fit:cover}",Z1=n=>{const i=n.size||16;return g.jsx(Dt,{...n,children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:i,height:i,children:g.jsx("path",{d:"M399 384.2C376.9 345.8 335.4 320 288 320H224c-47.4 0-88.9 25.8-111 64.2c35.2 39.2 86.2 63.8 143 63.8s107.8-24.7 143-63.8zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm256 16a72 72 0 1 0 0-144 72 72 0 1 0 0 144z"})})})};Xe(q1);const Y1=q.memo(n=>{const{input_prompt:i="",input_audio:o="",input_images:s=[]}=n.data;return g.jsxs("div",{className:"gooey-outgoingMsg gmb-12 gpl-16",children:[g.jsxs("div",{className:"d-flex align-center gmb-8",children:[g.jsx(Z1,{size:24}),g.jsx("p",{className:"font_16_600 gml-12",children:"You"})]}),s.length>0&&s.map(p=>g.jsx("a",{href:p,target:"_blank",children:g.jsx("img",{src:p,alt:p,className:Pt("outgoingMsg-image b-1 br-large",i&&"gmb-4")})})),o&&g.jsx("div",{className:"gmt-16",children:g.jsx("audio",{controls:!0,src:(URL||webkitURL).createObjectURL(o)})}),i&&g.jsx("p",{className:"font_20_400 anim-typing gooey-outgoing-text",children:i})]})});Xe(hm);const X1=()=>{var i;const n=(i=le().config)==null?void 0:i.branding;return n?g.jsxs("div",{className:"d-flex flex-col justify-center align-center text-center",children:[n.photoUrl&&g.jsxs("div",{className:"bot-avatar gmr-8 gmb-24 bg-primary",style:{width:"128px",height:"128px",borderRadius:"100%"},children:[" ",g.jsx("img",{src:n.photoUrl,alt:"bot-avatar",style:{width:"128px",height:"128px",borderRadius:"100%",objectFit:"cover"}})]}),g.jsxs("div",{children:[g.jsx("p",{className:"font_24_500 gmb-16",children:n.name}),g.jsxs("p",{className:"font_12_500 text-muted gmb-12 d-flex align-center justify-center",children:[n.byLine,n.websiteUrl&&g.jsx("span",{className:"gml-4",style:{marginBottom:"-2px"},children:g.jsx("a",{href:n.websiteUrl,target:"_ablank",className:"text-muted font_12_500",children:g.jsx(Eu,{})})})]}),g.jsx("p",{className:"font_12_400 gpl-32 gpr-32",children:n.description})]})]}):null},Q1=()=>{const{initializeQuery:n}=an(),{config:i}=le(),o=(i==null?void 0:i.branding.conversationStarters)??[];return g.jsxs("div",{className:"no-scroll-bar w-100 gpl-16",children:[g.jsx(X1,{}),g.jsx("div",{className:"gmt-48 gooey-placeholderMsg-container",children:o==null?void 0:o.map(s=>g.jsx(tr,{variant:"outlined",onClick:()=>n({input_prompt:s}),className:Pt("text-left font_12_500 w-100"),children:s},s))})]})},K1=()=>{const n={width:"50px",height:"50px",border:"2px solid #ccc",borderTopColor:"transparent",borderRadius:"50%",animation:"rotate 1s linear infinite"};return g.jsx("div",{style:n})},J1=n=>{const{config:i}=le(),{handleFeedbackClick:o,preventAutoplay:s}=an(),p=q.useMemo(()=>n.queue,[n]),u=n.data;return p?g.jsx(g.Fragment,{children:p.map(m=>{var x,y;const d=u.get(m);return d.role==="user"?g.jsx(Y1,{data:d,preventAutoplay:s},m):g.jsx(G1,{data:d,id:m,showSources:(i==null?void 0:i.showSources)||!0,linkColor:((y=(x=i==null?void 0:i.branding)==null?void 0:x.colors)==null?void 0:y.primary)||"initial",onFeedbackClick:o,autoPlay:s?!1:i==null?void 0:i.autoPlayResponses},m)})}):null},t2=()=>{const{messages:n,isSending:i,scrollContainerRef:o,isMessagesLoading:s}=an();if(s)return g.jsx("div",{className:"d-flex h-100 w-100 align-center justify-center",children:g.jsx(K1,{})});const p=!(n!=null&&n.size)&&!i;return g.jsxs("div",{ref:o,className:Pt("flex-1 bg-white gpt-16 gpb-16 gpr-16 gpb-16 d-flex flex-col",p?"justify-end":"justify-start"),style:{overflowY:"auto"},children:[!(n!=null&&n.size)&&!i&&g.jsx(Q1,{}),g.jsx(J1,{queue:Array.from(n.keys()),data:n}),g.jsx(zu,{show:i})]})},Nu=n=>{const i=n.size||16;return g.jsx(Dt,{children:g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:{fill:"none"},children:[g.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),g.jsx("path",{d:"M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1"}),g.jsx("path",{d:"M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z"}),g.jsx("path",{d:"M16 5l3 3"})]})})},Ou=n=>{const i=(n==null?void 0:n.size)||16;return g.jsx(Dt,{children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:i,width:i,children:g.jsx("path",{d:"M352 0H320V64h32 50.7L297.4 169.4 274.7 192 320 237.3l22.6-22.6L448 109.3V160v32h64V160 32 0H480 352zM214.6 342.6L237.3 320 192 274.7l-22.6 22.6L64 402.7V352 320H0v32V480v32H32 160h32V448H160 109.3L214.6 342.6z"})})})},Lu=n=>{const i=(n==null?void 0:n.size)||16;return g.jsx(Dt,{children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:i,width:i,children:g.jsx("path",{d:"M381.3 176L502.6 54.6 457.4 9.4 336 130.7V80 48H272V80 208v32h32H432h32V176H432 381.3zM80 272H48v64H80h50.7L9.4 457.4l45.3 45.3L176 381.3V432v32h64V432 304 272H208 80z"})})})},Pu=n=>{const i=n.size||16;return g.jsx(Dt,{children:g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:i,height:i,children:["//--!Font Awesome Pro 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.--",g.jsx("path",{d:"M448 64c17.7 0 32 14.3 32 32l0 320c0 17.7-14.3 32-32 32l-224 0 0-384 224 0zM64 64l128 0 0 384L64 448c-17.7 0-32-14.3-32-32L32 96c0-17.7 14.3-32 32-32zm0-32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM80 96c-8.8 0-16 7.2-16 16s7.2 16 16 16l64 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 96zM64 176c0 8.8 7.2 16 16 16l64 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-64 0c-8.8 0-16 7.2-16 16zm16 48c-8.8 0-16 7.2-16 16s7.2 16 16 16l64 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-64 0z"})]})})};Xe(".gooey-clipping-container{position:relative;overflow:hidden}.gooey-modal{transition:all .3s;position:fixed;width:max-content;background-color:#fff;padding:10px;border-radius:8px;z-index:99999;font-weight:lighter;line-height:normal;box-shadow:#959da533 0 8px 24px;inset:0px auto auto 0px}");const e2=(n,i)=>{const o=n.getBoundingClientRect();let s="0px",p="0px";const u=i.x,m=i.y,d={top:0,left:0,transform:"none"};switch(u){case"left":d.left=o.left-o.width,s="calc(-50% - 12px)";break;case"right":d.left=o.right,s="12px";break;case"center":d.left=o.left+o.width/2,d.transform="translate(-50%, 12px)",p="12px",s="-50%";break}switch(m){case"top":d.top=o.top-12,u==="center"?d.transform="translate(-50%, -100%)":d.transform="translate(0, -100%)",p="0",s==="0"&&(s="-100%");break;case"bottom":d.top=o.bottom;break;case"center":d.top=o.top+o.height/2,p="-50%",s==="0"&&(s="12px");break}return d.transform=`translate(${s}, ${p})`,d},n2=({containerRef:n,direction:i,style:o,className:s="",ModalContent:p,...u})=>{if(!n)return null;const m=e2(n,i);return p?g.jsx("div",{className:s+=" gooey-modal",style:{...o,...m},...u,children:p()}):null},r2=n=>{const{ModalContent:i=()=>null,children:o,direction:s={x:"center",y:"bottom"},showModal:p,ModalProps:u,...m}=n,[d,h]=q.useState(null);return g.jsxs("div",{className:"gooey-clipping-container",ref:h,...m,children:[o,p&&gp.createPortal(g.jsx(n2,{containerRef:d,direction:s,ModalContent:i,...u}),(gooeyShadowRoot==null?void 0:gooeyShadowRoot.querySelector(".gooey-embed-container"))||document.body)]})},Dr="-6px",i2=n=>{switch(n){case"top":return{borderTop:"10px solid white",borderLeft:"10px solid transparent",borderRight:"10px solid transparent",left:"50%",bottom:Dr,transform:"translateX(-50%)"};case"bottom":return{borderBottom:"10px solid white",borderLeft:"10px solid transparent",borderRight:"10px solid transparent",left:"50%",top:Dr,transform:"translateX(-50%)"};case"left":return{borderLeft:"10px solid white",borderTop:"10px solid transparent",borderBottom:"10px solid transparent",right:Dr,transform:"translateY(-50%)",top:"50%"};case"right":return{borderRight:"10px solid white",borderTop:"10px solid transparent",borderBottom:"10px solid transparent",left:Dr,transform:"translateY(-50%)",top:"50%"};default:return{borderTop:"10px solid white",borderLeft:"10px solid transparent",borderRight:"10px solid transparent",left:"50%",bottom:Dr,transform:"translateX(-50%)"}}},mn=({text:n="This is a tooltip",children:i,direction:o="right",disabled:s=!1})=>{const[p,u]=q.useState(!1),m=q.useRef(null),d=i2(o),x="ontouchstart"in window||navigator.maxTouchPoints>0?{onTouchStart:()=>null,onTouchEnd:()=>null}:{onMouseEnter:()=>{s||(m.current=setTimeout(()=>{u(!0),m.current=null},300))},onMouseLeave:()=>{m.current&&clearTimeout(m.current),u(!1)}};return g.jsx(r2,{ModalContent:()=>g.jsxs(g.Fragment,{children:[g.jsx("div",{style:{position:"absolute",width:"2px",height:"2px",...d}}),g.jsx("p",{className:"font_14_500",children:n})]}),showModal:p,direction:{x:o==="left"?"left":o==="right"?"right":"center",y:o==="top"?"top":o==="bottom"?"bottom":"center"},onClick:y=>{y.preventDefault(),y.stopPropagation(),y.persist(),m.current&&clearTimeout(m.current),u(!1)},...x,"aria-label":n,children:i})},o2=({onEditClick:n})=>{var m;const{messages:i}=an(),{layoutController:o,config:s}=le(),p=!(i!=null&&i.size),u=(m=s==null?void 0:s.branding)==null?void 0:m.name;return g.jsxs("div",{className:"bg-white b-btm-1 gp-8 d-flex justify-between align-center pos-sticky w-100 h-header",children:[g.jsxs("div",{className:"d-flex align-center",children:[(o==null?void 0:o.showCloseButton)&&g.jsx(mn,{text:"Close",direction:"bottom",children:g.jsx(ye,{variant:"text",className:"gp-4 cr-pointer flex-1",onClick:o==null?void 0:o.toggleOpenClose,children:g.jsx(Pi,{size:24})})}),(o==null?void 0:o.showFocusModeButton)&&g.jsx(mn,{text:o.isFocusMode?"Disable Focus":"Enable Focus",direction:"bottom",children:g.jsx(ye,{variant:"text",className:"cr-pointer",onClick:o==null?void 0:o.toggleFocusMode,style:{transform:"rotate(90deg)"},children:o.isFocusMode?g.jsx(Lu,{size:16}):g.jsx(Ou,{size:16})})}),(o==null?void 0:o.showSidebarButton)&&g.jsx(mn,{text:"Open sidebar",direction:"right",children:g.jsx(ye,{id:"sidebar-toggle-icon-header",variant:"text",className:"cr-pointer",onClick:o==null?void 0:o.toggleSidebar,children:g.jsx(Pu,{size:20})})})]}),g.jsx("p",{className:"font_16_700",style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)"},children:u}),g.jsx("div",{children:(o==null?void 0:o.showNewConversationButton)&&g.jsx(mn,{text:"New Chat",direction:"left",disabled:p,children:g.jsx(ye,{disabled:p,variant:"text",className:Pt("gp-8 cr-pointer flex-1"),onClick:()=>n(),children:g.jsx(Nu,{size:24})})})})]})},a2=".gooeyChat-widget-container{width:100%;height:100%;transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.gooey-popup{animation:popup .1s;position:fixed;bottom:0;right:0;z-index:9999}.gooey-inline{position:relative;width:100%;height:100%}.gooey-fullscreen{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999}.gooey-focused-popup{transform:translateY(0);position:fixed;top:0;left:0}@media (min-width: 640px){.gooey-popup{width:460px;height:min(704px,100% - 114px);border-left:1px solid #eee;border-top:1px solid #eee;border-bottom:1px solid #eee}.gooey-focused-popup{padding:40px 10vw 0px;transition:background-color .3s;background-color:#0003!important;z-index:9999}}",s2=()=>{const{conversations:n,setActiveConversation:i,currentConversationId:o,handleNewConversation:s,messages:p}=an(),{layoutController:u,config:m}=le(),d=m==null?void 0:m.branding,h=Qn.useMemo(()=>{if(!n||n.length===0)return[];const y=new Date().getTime(),v=new Date().setHours(0,0,0,0),R=new Date().setHours(23,59,59,999),M=new Date(v-1).setHours(0,0,0,0),w=new Date(v-1).setHours(23,59,59,999),b=7*24*60*60*1e3,S=30*24*60*60*1e3,P={Today:[],Yesterday:[],"Previous 7 Days":[],"Previous 30 Days":[],Months:{}};n.forEach(A=>{const B=new Date(A.timestamp).getTime();let G;if(B>=v&&B<=R)G="Today";else if(B>=M&&B<=w)G="Yesterday";else if(B>R-b&&B<=R)G="Previous 7 Days";else if(y-B<=S)G="Previous 30 Days";else{const K=new Date(B).toLocaleString("default",{month:"long"});P.Months[K]||(P.Months[K]=[]),P.Months[K].push(A);return}P[G].unshift(A)});const L=Object.entries(P.Months).map(([A,B])=>({subheading:A,conversations:B}));return[{subheading:"Today",conversations:P.Today},{subheading:"Yesterday",conversations:P.Yesterday},{subheading:"Previous 7 Days",conversations:P["Previous 7 Days"]},{subheading:"Previous 30 Days",conversations:P["Previous 30 Days"]},...L].filter(A=>{var B;return((B=A==null?void 0:A.conversations)==null?void 0:B.length)>0})},[n]);if(!(u!=null&&u.showNewConversationButton))return null;const x=!(p!=null&&p.size);return g.jsx("nav",{id:"gooey-side-navbar",style:{transition:u!=null&&u.isMobile?"none":"width ease-in-out 0.2s",width:u!=null&&u.isMobile?"0px":"260px",zIndex:10},className:Pt("b-rt-1 h-100 overflow-x-hidden top-0 left-0 bg-grey d-flex flex-col",u!=null&&u.isMobile?"pos-absolute":"pos-relative"),children:g.jsxs("div",{className:"pos-relative d-flex flex-col h-100",style:{width:"260px"},children:[g.jsxs("div",{className:"gp-8 b-btm-1 h-header d-flex align-center",children:[(u==null?void 0:u.showCloseButton)&&(u==null?void 0:u.isMobile)&&g.jsx(mn,{text:"Close",direction:"bottom",children:g.jsx(ye,{variant:"text",className:"gp-4 cr-pointer",onClick:u==null?void 0:u.toggleOpenClose,children:g.jsx(Pi,{size:24})})}),(u==null?void 0:u.showFocusModeButton)&&(u==null?void 0:u.isMobile)&&g.jsx(mn,{text:u!=null&&u.isFocusMode?"Disable Focus":"Enable Focus",direction:"bottom",children:g.jsx(ye,{variant:"text",className:"gp-8",onClick:u==null?void 0:u.toggleFocusMode,style:{transform:"rotate(90deg)",height:"38px"},children:u!=null&&u.isFocusMode?g.jsx(Lu,{size:16}):g.jsx(Ou,{size:16})})}),g.jsx(mn,{text:"Close sidebar",direction:"right",children:g.jsx(ye,{variant:"text",className:"cr-pointer",onClick:u==null?void 0:u.toggleSidebar,children:g.jsx(Pu,{size:20})})})]}),g.jsxs("div",{className:"pos-relative d-flex flex-col h-100 flex-1 overflow-y-auto",children:[g.jsx("div",{className:"gp-8",children:g.jsx(mn,{text:"New Chat",direction:"right",disabled:x,children:g.jsx(tr,{className:"w-100 pos-relative text-muted",disabled:x,onClick:s,RightIconComponent:()=>g.jsx(Nu,{size:18,className:"text-muted"}),children:g.jsxs("div",{className:"d-flex align-center",children:[g.jsx("div",{className:"bot-avatar bg-primary gmr-12",style:{width:"24px",height:"24px",borderRadius:"100%"},children:g.jsx("img",{src:d==null?void 0:d.photoUrl,alt:"bot-avatar",style:{width:"24px",height:"24px",borderRadius:"100%",objectFit:"cover"}})}),g.jsx("p",{className:"font_16_600 text-left text-almostBlack",children:d==null?void 0:d.name})]})})})}),h.length===0?g.jsx("div",{className:"h-100 gpb-30 d-flex align-center justify-center",children:g.jsx("p",{className:"gmb-30 text-muted text-center font_14_400",children:"No conversations yet"})}):g.jsx("div",{className:"gp-8 flex-1 h-100",children:h.map(y=>g.jsxs("div",{className:"gmb-30",children:[g.jsx("div",{className:"top-0 gpt-8 gpb-8 bg-grey pos-sticky",style:{zIndex:1},children:g.jsx("h5",{className:"gpl-8 text-muted",children:y.subheading})}),g.jsx("ol",{children:y.conversations.sort((v,R)=>new Date(R.timestamp).getTime()-new Date(v.timestamp).getTime()).map(v=>g.jsx("li",{children:g.jsx(l2,{conversation:v,isActive:o===(v==null?void 0:v.id),onClick:()=>{i(v),u!=null&&u.isMobile&&(u==null||u.toggleSidebar())}})},v.id))})]},y.subheading))})]})]})})},l2=Qn.memo(({conversation:n,isActive:i,onClick:o})=>{const s=(n==null?void 0:n.title)||new Date(n.timestamp).toLocaleString("default",{day:"numeric",month:"short",hour:"numeric",minute:"numeric",hour12:!0});return g.jsx(tr,{className:"w-100 gp-8 gmb-6 text-left",variant:i?"filled":"text-alt",onClick:o,hideOverflow:!0,children:g.jsx("p",{className:"font_14_400",children:s})})});Xe(a2);const p2=760,m2=(n,i,o)=>n?i?"gooey-fullscreen-container":"gooey-inline-container":o?"gooey-focused-popup":"gooey-popup",u2=({onClick:n,children:i})=>g.jsx("div",{onClick:n,style:{height:"100%",width:"100%",zIndex:1,background:"rgba(0,0,0,0.1)",backdropFilter:"blur(0.2px)"},className:"pos-absolute top-0 cr-pointer",children:i}),c2=({children:n})=>{const{config:i,layoutController:o}=le(),{handleNewConversation:s}=an(),p=()=>{s();const u=gooeyShadowRoot==null?void 0:gooeyShadowRoot.getElementById(Ma);u==null||u.focus()};return g.jsx("div",{id:"gooeyChat-container",className:Pt("overflow-hidden gooeyChat-widget-container",m2(o.isInline,(i==null?void 0:i.mode)==="fullscreen",o.isFocusMode)),children:g.jsxs("div",{className:"d-flex h-100 pos-relative",children:[g.jsx(s2,{}),(o==null?void 0:o.isSidebarOpen)&&(o==null?void 0:o.isMobile)&&g.jsx(u2,{onClick:o==null?void 0:o.toggleSidebar}),g.jsxs("main",{className:"pos-relative d-flex flex-1 flex-col align-center overflow-hidden h-100 bg-white",children:[g.jsx(o2,{onEditClick:p}),g.jsx("div",{style:{maxWidth:`${p2}px`,height:"100%"},className:"d-flex flex-col flex-1 gp-0 w-100 overflow-hidden bg-white w-100",children:g.jsx(g.Fragment,{children:n})})]})]})})},us=({isInline:n})=>g.jsxs(c2,{isInline:n,children:[g.jsx(t2,{}),g.jsx(P0,{})]});Xe(".gooeyChat-launchButton{border:none;overflow:hidden}");const d2=()=>{const{config:n,layoutController:i}=le(),o=n!=null&&n.branding.fabLabel?36:56;return g.jsx("div",{style:{bottom:0,right:0},className:"pos-fixed gpb-16 gpr-16",children:g.jsxs("button",{onClick:i==null?void 0:i.toggleOpenClose,className:Pt("gooeyChat-launchButton hover-grow cr-pointer bx-shadowA button-hover bg-white",(n==null?void 0:n.branding.fabLabel)&&"gpl-6 gpt-6 gpb-6 "),style:{borderRadius:"30px",padding:0},children:[(n==null?void 0:n.branding.photoUrl)&&g.jsx("img",{src:n==null?void 0:n.branding.photoUrl,alt:"Copilot logo",style:{objectFit:"contain",borderRadius:"50%",width:o+"px",height:o+"px"}}),!!(n!=null&&n.branding.fabLabel)&&g.jsx("p",{className:"font_16_600 gp-8",children:n==null?void 0:n.branding.fabLabel})]})})},g2=({children:n,open:i})=>g.jsxs("div",{role:"reigon",tabIndex:-1,className:"pos-relative",children:[!i&&g.jsx(d2,{}),i&&g.jsx(g.Fragment,{children:n})]});function f2(){const{config:n,layoutController:i}=le();switch(n==null?void 0:n.mode){case"popup":return g.jsx(g2,{open:(i==null?void 0:i.isOpen)||!1,children:g.jsx(us,{})});case"inline":return g.jsx(us,{isInline:!0});case"fullscreen":return g.jsx("div",{className:"gooey-fullscreen",children:g.jsx(us,{isInline:!0})});default:return null}}Xe('.gooey-embed-container * :not(code *){box-sizing:border-box;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Helvetica Neue,Arial,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre,ul,ol,li{margin:0;padding:0}menu,ol,ul{list-style:none}.gooey-embed-container{height:100%}.gooey-embed-container p{color:unset}.gooey-embed-container a{text-decoration:none}div:focus-visible{outline:none}::-webkit-scrollbar{background:transparent;color:#fff;width:8px;height:8px}::-webkit-scrollbar-thumb{background:#0003;border-radius:0}code,code[class*=language-]{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace!important;font-size:.9rem;color:inherit;white-space:pre-wrap;word-wrap:break-word}pre,pre[class*=language-]{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace!important;overflow:auto;word-wrap:break-word;padding:.8rem;margin:0 0 .9rem;border-radius:0 0 8px 8px}svg{fill:currentColor}.gp-0{padding:0!important}.gp-2{padding:2px!important}.gp-4{padding:4px!important}.gp-5{padding:5px!important}.gp-6{padding:6px!important}.gp-8{padding:8px!important}.gp-10{padding:10px!important}.gp-12{padding:12px!important}.gp-15{padding:15px!important}.gp-16{padding:16px!important}.gp-18{padding:18px!important}.gp-20{padding:20px!important}.gp-22{padding:22px!important}.gp-24{padding:24px!important}.gp-25{padding:25px!important}.gp-26{padding:26px!important}.gp-28{padding:28px!important}.gp-30{padding:30px!important}.gp-32{padding:32px!important}.gp-34{padding:34px!important}.gp-36{padding:36px!important}.gp-40{padding:40px!important}.gp-44{padding:44px!important}.gp-46{padding:46px!important}.gp-48{padding:48px!important}.gp-50{padding:50px!important}.gp-52{padding:52px!important}.gp-60{padding:60px!important}.gp-64{padding:64px!important}.gp-70{padding:70px!important}.gp-76{padding:76px!important}.gp-80{padding:80px!important}.gp-96{padding:96px!important}.gp-100{padding:100px!important}.gpt-0{padding-top:0!important}.gpt-2{padding-top:2px!important}.gpt-4{padding-top:4px!important}.gpt-5{padding-top:5px!important}.gpt-6{padding-top:6px!important}.gpt-8{padding-top:8px!important}.gpt-10{padding-top:10px!important}.gpt-12{padding-top:12px!important}.gpt-15{padding-top:15px!important}.gpt-16{padding-top:16px!important}.gpt-18{padding-top:18px!important}.gpt-20{padding-top:20px!important}.gpt-22{padding-top:22px!important}.gpt-24{padding-top:24px!important}.gpt-25{padding-top:25px!important}.gpt-26{padding-top:26px!important}.gpt-28{padding-top:28px!important}.gpt-30{padding-top:30px!important}.gpt-32{padding-top:32px!important}.gpt-34{padding-top:34px!important}.gpt-36{padding-top:36px!important}.gpt-40{padding-top:40px!important}.gpt-44{padding-top:44px!important}.gpt-46{padding-top:46px!important}.gpt-48{padding-top:48px!important}.gpt-50{padding-top:50px!important}.gpt-52{padding-top:52px!important}.gpt-60{padding-top:60px!important}.gpt-64{padding-top:64px!important}.gpt-70{padding-top:70px!important}.gpt-76{padding-top:76px!important}.gpt-80{padding-top:80px!important}.gpt-96{padding-top:96px!important}.gpt-100{padding-top:100px!important}.gpr-0{padding-right:0!important}.gpr-2{padding-right:2px!important}.gpr-4{padding-right:4px!important}.gpr-5{padding-right:5px!important}.gpr-6{padding-right:6px!important}.gpr-8{padding-right:8px!important}.gpr-10{padding-right:10px!important}.gpr-12{padding-right:12px!important}.gpr-15{padding-right:15px!important}.gpr-16{padding-right:16px!important}.gpr-18{padding-right:18px!important}.gpr-20{padding-right:20px!important}.gpr-22{padding-right:22px!important}.gpr-24{padding-right:24px!important}.gpr-25{padding-right:25px!important}.gpr-26{padding-right:26px!important}.gpr-28{padding-right:28px!important}.gpr-30{padding-right:30px!important}.gpr-32{padding-right:32px!important}.gpr-34{padding-right:34px!important}.gpr-36{padding-right:36px!important}.gpr-40{padding-right:40px!important}.gpr-44{padding-right:44px!important}.gpr-46{padding-right:46px!important}.gpr-48{padding-right:48px!important}.gpr-50{padding-right:50px!important}.gpr-52{padding-right:52px!important}.gpr-60{padding-right:60px!important}.gpr-64{padding-right:64px!important}.gpr-70{padding-right:70px!important}.gpr-76{padding-right:76px!important}.gpr-80{padding-right:80px!important}.gpr-96{padding-right:96px!important}.gpr-100{padding-right:100px!important}.gpb-0{padding-bottom:0!important}.gpb-2{padding-bottom:2px!important}.gpb-4{padding-bottom:4px!important}.gpb-5{padding-bottom:5px!important}.gpb-6{padding-bottom:6px!important}.gpb-8{padding-bottom:8px!important}.gpb-10{padding-bottom:10px!important}.gpb-12{padding-bottom:12px!important}.gpb-15{padding-bottom:15px!important}.gpb-16{padding-bottom:16px!important}.gpb-18{padding-bottom:18px!important}.gpb-20{padding-bottom:20px!important}.gpb-22{padding-bottom:22px!important}.gpb-24{padding-bottom:24px!important}.gpb-25{padding-bottom:25px!important}.gpb-26{padding-bottom:26px!important}.gpb-28{padding-bottom:28px!important}.gpb-30{padding-bottom:30px!important}.gpb-32{padding-bottom:32px!important}.gpb-34{padding-bottom:34px!important}.gpb-36{padding-bottom:36px!important}.gpb-40{padding-bottom:40px!important}.gpb-44{padding-bottom:44px!important}.gpb-46{padding-bottom:46px!important}.gpb-48{padding-bottom:48px!important}.gpb-50{padding-bottom:50px!important}.gpb-52{padding-bottom:52px!important}.gpb-60{padding-bottom:60px!important}.gpb-64{padding-bottom:64px!important}.gpb-70{padding-bottom:70px!important}.gpb-76{padding-bottom:76px!important}.gpb-80{padding-bottom:80px!important}.gpb-96{padding-bottom:96px!important}.gpb-100{padding-bottom:100px!important}.gpl-0{padding-left:0!important}.gpl-2{padding-left:2px!important}.gpl-4{padding-left:4px!important}.gpl-5{padding-left:5px!important}.gpl-6{padding-left:6px!important}.gpl-8{padding-left:8px!important}.gpl-10{padding-left:10px!important}.gpl-12{padding-left:12px!important}.gpl-15{padding-left:15px!important}.gpl-16{padding-left:16px!important}.gpl-18{padding-left:18px!important}.gpl-20{padding-left:20px!important}.gpl-22{padding-left:22px!important}.gpl-24{padding-left:24px!important}.gpl-25{padding-left:25px!important}.gpl-26{padding-left:26px!important}.gpl-28{padding-left:28px!important}.gpl-30{padding-left:30px!important}.gpl-32{padding-left:32px!important}.gpl-34{padding-left:34px!important}.gpl-36{padding-left:36px!important}.gpl-40{padding-left:40px!important}.gpl-44{padding-left:44px!important}.gpl-46{padding-left:46px!important}.gpl-48{padding-left:48px!important}.gpl-50{padding-left:50px!important}.gpl-52{padding-left:52px!important}.gpl-60{padding-left:60px!important}.gpl-64{padding-left:64px!important}.gpl-70{padding-left:70px!important}.gpl-76{padding-left:76px!important}.gpl-80{padding-left:80px!important}.gpl-96{padding-left:96px!important}.gpl-100{padding-left:100px!important}.gm-0{margin:0!important}.gm-2{margin:2px!important}.gm-4{margin:4px!important}.gm-5{margin:5px!important}.gm-6{margin:6px!important}.gm-8{margin:8px!important}.gm-10{margin:10px!important}.gm-12{margin:12px!important}.gm-15{margin:15px!important}.gm-16{margin:16px!important}.gm-18{margin:18px!important}.gm-20{margin:20px!important}.gm-22{margin:22px!important}.gm-24{margin:24px!important}.gm-25{margin:25px!important}.gm-26{margin:26px!important}.gm-28{margin:28px!important}.gm-30{margin:30px!important}.gm-32{margin:32px!important}.gm-34{margin:34px!important}.gm-36{margin:36px!important}.gm-40{margin:40px!important}.gm-44{margin:44px!important}.gm-46{margin:46px!important}.gm-48{margin:48px!important}.gm-50{margin:50px!important}.gm-52{margin:52px!important}.gm-60{margin:60px!important}.gm-64{margin:64px!important}.gm-70{margin:70px!important}.gm-76{margin:76px!important}.gm-80{margin:80px!important}.gm-96{margin:96px!important}.gm-100{margin:100px!important}.gmt-0{margin-top:0!important}.gmt-2{margin-top:2px!important}.gmt-4{margin-top:4px!important}.gmt-5{margin-top:5px!important}.gmt-6{margin-top:6px!important}.gmt-8{margin-top:8px!important}.gmt-10{margin-top:10px!important}.gmt-12{margin-top:12px!important}.gmt-15{margin-top:15px!important}.gmt-16{margin-top:16px!important}.gmt-18{margin-top:18px!important}.gmt-20{margin-top:20px!important}.gmt-22{margin-top:22px!important}.gmt-24{margin-top:24px!important}.gmt-25{margin-top:25px!important}.gmt-26{margin-top:26px!important}.gmt-28{margin-top:28px!important}.gmt-30{margin-top:30px!important}.gmt-32{margin-top:32px!important}.gmt-34{margin-top:34px!important}.gmt-36{margin-top:36px!important}.gmt-40{margin-top:40px!important}.gmt-44{margin-top:44px!important}.gmt-46{margin-top:46px!important}.gmt-48{margin-top:48px!important}.gmt-50{margin-top:50px!important}.gmt-52{margin-top:52px!important}.gmt-60{margin-top:60px!important}.gmt-64{margin-top:64px!important}.gmt-70{margin-top:70px!important}.gmt-76{margin-top:76px!important}.gmt-80{margin-top:80px!important}.gmt-96{margin-top:96px!important}.gmt-100{margin-top:100px!important}.gmr-0{margin-right:0!important}.gmr-2{margin-right:2px!important}.gmr-4{margin-right:4px!important}.gmr-5{margin-right:5px!important}.gmr-6{margin-right:6px!important}.gmr-8{margin-right:8px!important}.gmr-10{margin-right:10px!important}.gmr-12{margin-right:12px!important}.gmr-15{margin-right:15px!important}.gmr-16{margin-right:16px!important}.gmr-18{margin-right:18px!important}.gmr-20{margin-right:20px!important}.gmr-22{margin-right:22px!important}.gmr-24{margin-right:24px!important}.gmr-25{margin-right:25px!important}.gmr-26{margin-right:26px!important}.gmr-28{margin-right:28px!important}.gmr-30{margin-right:30px!important}.gmr-32{margin-right:32px!important}.gmr-34{margin-right:34px!important}.gmr-36{margin-right:36px!important}.gmr-40{margin-right:40px!important}.gmr-44{margin-right:44px!important}.gmr-46{margin-right:46px!important}.gmr-48{margin-right:48px!important}.gmr-50{margin-right:50px!important}.gmr-52{margin-right:52px!important}.gmr-60{margin-right:60px!important}.gmr-64{margin-right:64px!important}.gmr-70{margin-right:70px!important}.gmr-76{margin-right:76px!important}.gmr-80{margin-right:80px!important}.gmr-96{margin-right:96px!important}.gmr-100{margin-right:100px!important}.gmb-0{margin-bottom:0!important}.gmb-2{margin-bottom:2px!important}.gmb-4{margin-bottom:4px!important}.gmb-5{margin-bottom:5px!important}.gmb-6{margin-bottom:6px!important}.gmb-8{margin-bottom:8px!important}.gmb-10{margin-bottom:10px!important}.gmb-12{margin-bottom:12px!important}.gmb-15{margin-bottom:15px!important}.gmb-16{margin-bottom:16px!important}.gmb-18{margin-bottom:18px!important}.gmb-20{margin-bottom:20px!important}.gmb-22{margin-bottom:22px!important}.gmb-24{margin-bottom:24px!important}.gmb-25{margin-bottom:25px!important}.gmb-26{margin-bottom:26px!important}.gmb-28{margin-bottom:28px!important}.gmb-30{margin-bottom:30px!important}.gmb-32{margin-bottom:32px!important}.gmb-34{margin-bottom:34px!important}.gmb-36{margin-bottom:36px!important}.gmb-40{margin-bottom:40px!important}.gmb-44{margin-bottom:44px!important}.gmb-46{margin-bottom:46px!important}.gmb-48{margin-bottom:48px!important}.gmb-50{margin-bottom:50px!important}.gmb-52{margin-bottom:52px!important}.gmb-60{margin-bottom:60px!important}.gmb-64{margin-bottom:64px!important}.gmb-70{margin-bottom:70px!important}.gmb-76{margin-bottom:76px!important}.gmb-80{margin-bottom:80px!important}.gmb-96{margin-bottom:96px!important}.gmb-100{margin-bottom:100px!important}.gml-0{margin-left:0!important}.gml-2{margin-left:2px!important}.gml-4{margin-left:4px!important}.gml-5{margin-left:5px!important}.gml-6{margin-left:6px!important}.gml-8{margin-left:8px!important}.gml-10{margin-left:10px!important}.gml-12{margin-left:12px!important}.gml-15{margin-left:15px!important}.gml-16{margin-left:16px!important}.gml-18{margin-left:18px!important}.gml-20{margin-left:20px!important}.gml-22{margin-left:22px!important}.gml-24{margin-left:24px!important}.gml-25{margin-left:25px!important}.gml-26{margin-left:26px!important}.gml-28{margin-left:28px!important}.gml-30{margin-left:30px!important}.gml-32{margin-left:32px!important}.gml-34{margin-left:34px!important}.gml-36{margin-left:36px!important}.gml-40{margin-left:40px!important}.gml-44{margin-left:44px!important}.gml-46{margin-left:46px!important}.gml-48{margin-left:48px!important}.gml-50{margin-left:50px!important}.gml-52{margin-left:52px!important}.gml-60{margin-left:60px!important}.gml-64{margin-left:64px!important}.gml-70{margin-left:70px!important}.gml-76{margin-left:76px!important}.gml-80{margin-left:80px!important}.gml-96{margin-left:96px!important}.gml-100{margin-left:100px!important}@media screen and (min-width: 0px){.xs-p-0{padding:0!important}.xs-p-2{padding:2px!important}.xs-p-4{padding:4px!important}.xs-p-5{padding:5px!important}.xs-p-6{padding:6px!important}.xs-p-8{padding:8px!important}.xs-p-10{padding:10px!important}.xs-p-12{padding:12px!important}.xs-p-15{padding:15px!important}.xs-p-16{padding:16px!important}.xs-p-18{padding:18px!important}.xs-p-20{padding:20px!important}.xs-p-22{padding:22px!important}.xs-p-24{padding:24px!important}.xs-p-25{padding:25px!important}.xs-p-26{padding:26px!important}.xs-p-28{padding:28px!important}.xs-p-30{padding:30px!important}.xs-p-32{padding:32px!important}.xs-p-34{padding:34px!important}.xs-p-36{padding:36px!important}.xs-p-40{padding:40px!important}.xs-p-44{padding:44px!important}.xs-p-46{padding:46px!important}.xs-p-48{padding:48px!important}.xs-p-50{padding:50px!important}.xs-p-52{padding:52px!important}.xs-p-60{padding:60px!important}.xs-p-64{padding:64px!important}.xs-p-70{padding:70px!important}.xs-p-76{padding:76px!important}.xs-p-80{padding:80px!important}.xs-p-96{padding:96px!important}.xs-p-100{padding:100px!important}.xs-pt-0{padding-top:0!important}.xs-pt-2{padding-top:2px!important}.xs-pt-4{padding-top:4px!important}.xs-pt-5{padding-top:5px!important}.xs-pt-6{padding-top:6px!important}.xs-pt-8{padding-top:8px!important}.xs-pt-10{padding-top:10px!important}.xs-pt-12{padding-top:12px!important}.xs-pt-15{padding-top:15px!important}.xs-pt-16{padding-top:16px!important}.xs-pt-18{padding-top:18px!important}.xs-pt-20{padding-top:20px!important}.xs-pt-22{padding-top:22px!important}.xs-pt-24{padding-top:24px!important}.xs-pt-25{padding-top:25px!important}.xs-pt-26{padding-top:26px!important}.xs-pt-28{padding-top:28px!important}.xs-pt-30{padding-top:30px!important}.xs-pt-32{padding-top:32px!important}.xs-pt-34{padding-top:34px!important}.xs-pt-36{padding-top:36px!important}.xs-pt-40{padding-top:40px!important}.xs-pt-44{padding-top:44px!important}.xs-pt-46{padding-top:46px!important}.xs-pt-48{padding-top:48px!important}.xs-pt-50{padding-top:50px!important}.xs-pt-52{padding-top:52px!important}.xs-pt-60{padding-top:60px!important}.xs-pt-64{padding-top:64px!important}.xs-pt-70{padding-top:70px!important}.xs-pt-76{padding-top:76px!important}.xs-pt-80{padding-top:80px!important}.xs-pt-96{padding-top:96px!important}.xs-pt-100{padding-top:100px!important}.xs-pr-0{padding-right:0!important}.xs-pr-2{padding-right:2px!important}.xs-pr-4{padding-right:4px!important}.xs-pr-5{padding-right:5px!important}.xs-pr-6{padding-right:6px!important}.xs-pr-8{padding-right:8px!important}.xs-pr-10{padding-right:10px!important}.xs-pr-12{padding-right:12px!important}.xs-pr-15{padding-right:15px!important}.xs-pr-16{padding-right:16px!important}.xs-pr-18{padding-right:18px!important}.xs-pr-20{padding-right:20px!important}.xs-pr-22{padding-right:22px!important}.xs-pr-24{padding-right:24px!important}.xs-pr-25{padding-right:25px!important}.xs-pr-26{padding-right:26px!important}.xs-pr-28{padding-right:28px!important}.xs-pr-30{padding-right:30px!important}.xs-pr-32{padding-right:32px!important}.xs-pr-34{padding-right:34px!important}.xs-pr-36{padding-right:36px!important}.xs-pr-40{padding-right:40px!important}.xs-pr-44{padding-right:44px!important}.xs-pr-46{padding-right:46px!important}.xs-pr-48{padding-right:48px!important}.xs-pr-50{padding-right:50px!important}.xs-pr-52{padding-right:52px!important}.xs-pr-60{padding-right:60px!important}.xs-pr-64{padding-right:64px!important}.xs-pr-70{padding-right:70px!important}.xs-pr-76{padding-right:76px!important}.xs-pr-80{padding-right:80px!important}.xs-pr-96{padding-right:96px!important}.xs-pr-100{padding-right:100px!important}.xs-pb-0{padding-bottom:0!important}.xs-pb-2{padding-bottom:2px!important}.xs-pb-4{padding-bottom:4px!important}.xs-pb-5{padding-bottom:5px!important}.xs-pb-6{padding-bottom:6px!important}.xs-pb-8{padding-bottom:8px!important}.xs-pb-10{padding-bottom:10px!important}.xs-pb-12{padding-bottom:12px!important}.xs-pb-15{padding-bottom:15px!important}.xs-pb-16{padding-bottom:16px!important}.xs-pb-18{padding-bottom:18px!important}.xs-pb-20{padding-bottom:20px!important}.xs-pb-22{padding-bottom:22px!important}.xs-pb-24{padding-bottom:24px!important}.xs-pb-25{padding-bottom:25px!important}.xs-pb-26{padding-bottom:26px!important}.xs-pb-28{padding-bottom:28px!important}.xs-pb-30{padding-bottom:30px!important}.xs-pb-32{padding-bottom:32px!important}.xs-pb-34{padding-bottom:34px!important}.xs-pb-36{padding-bottom:36px!important}.xs-pb-40{padding-bottom:40px!important}.xs-pb-44{padding-bottom:44px!important}.xs-pb-46{padding-bottom:46px!important}.xs-pb-48{padding-bottom:48px!important}.xs-pb-50{padding-bottom:50px!important}.xs-pb-52{padding-bottom:52px!important}.xs-pb-60{padding-bottom:60px!important}.xs-pb-64{padding-bottom:64px!important}.xs-pb-70{padding-bottom:70px!important}.xs-pb-76{padding-bottom:76px!important}.xs-pb-80{padding-bottom:80px!important}.xs-pb-96{padding-bottom:96px!important}.xs-pb-100{padding-bottom:100px!important}.xs-pl-0{padding-left:0!important}.xs-pl-2{padding-left:2px!important}.xs-pl-4{padding-left:4px!important}.xs-pl-5{padding-left:5px!important}.xs-pl-6{padding-left:6px!important}.xs-pl-8{padding-left:8px!important}.xs-pl-10{padding-left:10px!important}.xs-pl-12{padding-left:12px!important}.xs-pl-15{padding-left:15px!important}.xs-pl-16{padding-left:16px!important}.xs-pl-18{padding-left:18px!important}.xs-pl-20{padding-left:20px!important}.xs-pl-22{padding-left:22px!important}.xs-pl-24{padding-left:24px!important}.xs-pl-25{padding-left:25px!important}.xs-pl-26{padding-left:26px!important}.xs-pl-28{padding-left:28px!important}.xs-pl-30{padding-left:30px!important}.xs-pl-32{padding-left:32px!important}.xs-pl-34{padding-left:34px!important}.xs-pl-36{padding-left:36px!important}.xs-pl-40{padding-left:40px!important}.xs-pl-44{padding-left:44px!important}.xs-pl-46{padding-left:46px!important}.xs-pl-48{padding-left:48px!important}.xs-pl-50{padding-left:50px!important}.xs-pl-52{padding-left:52px!important}.xs-pl-60{padding-left:60px!important}.xs-pl-64{padding-left:64px!important}.xs-pl-70{padding-left:70px!important}.xs-pl-76{padding-left:76px!important}.xs-pl-80{padding-left:80px!important}.xs-pl-96{padding-left:96px!important}.xs-pl-100{padding-left:100px!important}.xs-m-0{margin:0!important}.xs-m-2{margin:2px!important}.xs-m-4{margin:4px!important}.xs-m-5{margin:5px!important}.xs-m-6{margin:6px!important}.xs-m-8{margin:8px!important}.xs-m-10{margin:10px!important}.xs-m-12{margin:12px!important}.xs-m-15{margin:15px!important}.xs-m-16{margin:16px!important}.xs-m-18{margin:18px!important}.xs-m-20{margin:20px!important}.xs-m-22{margin:22px!important}.xs-m-24{margin:24px!important}.xs-m-25{margin:25px!important}.xs-m-26{margin:26px!important}.xs-m-28{margin:28px!important}.xs-m-30{margin:30px!important}.xs-m-32{margin:32px!important}.xs-m-34{margin:34px!important}.xs-m-36{margin:36px!important}.xs-m-40{margin:40px!important}.xs-m-44{margin:44px!important}.xs-m-46{margin:46px!important}.xs-m-48{margin:48px!important}.xs-m-50{margin:50px!important}.xs-m-52{margin:52px!important}.xs-m-60{margin:60px!important}.xs-m-64{margin:64px!important}.xs-m-70{margin:70px!important}.xs-m-76{margin:76px!important}.xs-m-80{margin:80px!important}.xs-m-96{margin:96px!important}.xs-m-100{margin:100px!important}.xs-mt-0{margin-top:0!important}.xs-mt-2{margin-top:2px!important}.xs-mt-4{margin-top:4px!important}.xs-mt-5{margin-top:5px!important}.xs-mt-6{margin-top:6px!important}.xs-mt-8{margin-top:8px!important}.xs-mt-10{margin-top:10px!important}.xs-mt-12{margin-top:12px!important}.xs-mt-15{margin-top:15px!important}.xs-mt-16{margin-top:16px!important}.xs-mt-18{margin-top:18px!important}.xs-mt-20{margin-top:20px!important}.xs-mt-22{margin-top:22px!important}.xs-mt-24{margin-top:24px!important}.xs-mt-25{margin-top:25px!important}.xs-mt-26{margin-top:26px!important}.xs-mt-28{margin-top:28px!important}.xs-mt-30{margin-top:30px!important}.xs-mt-32{margin-top:32px!important}.xs-mt-34{margin-top:34px!important}.xs-mt-36{margin-top:36px!important}.xs-mt-40{margin-top:40px!important}.xs-mt-44{margin-top:44px!important}.xs-mt-46{margin-top:46px!important}.xs-mt-48{margin-top:48px!important}.xs-mt-50{margin-top:50px!important}.xs-mt-52{margin-top:52px!important}.xs-mt-60{margin-top:60px!important}.xs-mt-64{margin-top:64px!important}.xs-mt-70{margin-top:70px!important}.xs-mt-76{margin-top:76px!important}.xs-mt-80{margin-top:80px!important}.xs-mt-96{margin-top:96px!important}.xs-mt-100{margin-top:100px!important}.xs-mr-0{margin-right:0!important}.xs-mr-2{margin-right:2px!important}.xs-mr-4{margin-right:4px!important}.xs-mr-5{margin-right:5px!important}.xs-mr-6{margin-right:6px!important}.xs-mr-8{margin-right:8px!important}.xs-mr-10{margin-right:10px!important}.xs-mr-12{margin-right:12px!important}.xs-mr-15{margin-right:15px!important}.xs-mr-16{margin-right:16px!important}.xs-mr-18{margin-right:18px!important}.xs-mr-20{margin-right:20px!important}.xs-mr-22{margin-right:22px!important}.xs-mr-24{margin-right:24px!important}.xs-mr-25{margin-right:25px!important}.xs-mr-26{margin-right:26px!important}.xs-mr-28{margin-right:28px!important}.xs-mr-30{margin-right:30px!important}.xs-mr-32{margin-right:32px!important}.xs-mr-34{margin-right:34px!important}.xs-mr-36{margin-right:36px!important}.xs-mr-40{margin-right:40px!important}.xs-mr-44{margin-right:44px!important}.xs-mr-46{margin-right:46px!important}.xs-mr-48{margin-right:48px!important}.xs-mr-50{margin-right:50px!important}.xs-mr-52{margin-right:52px!important}.xs-mr-60{margin-right:60px!important}.xs-mr-64{margin-right:64px!important}.xs-mr-70{margin-right:70px!important}.xs-mr-76{margin-right:76px!important}.xs-mr-80{margin-right:80px!important}.xs-mr-96{margin-right:96px!important}.xs-mr-100{margin-right:100px!important}.xs-mb-0{margin-bottom:0!important}.xs-mb-2{margin-bottom:2px!important}.xs-mb-4{margin-bottom:4px!important}.xs-mb-5{margin-bottom:5px!important}.xs-mb-6{margin-bottom:6px!important}.xs-mb-8{margin-bottom:8px!important}.xs-mb-10{margin-bottom:10px!important}.xs-mb-12{margin-bottom:12px!important}.xs-mb-15{margin-bottom:15px!important}.xs-mb-16{margin-bottom:16px!important}.xs-mb-18{margin-bottom:18px!important}.xs-mb-20{margin-bottom:20px!important}.xs-mb-22{margin-bottom:22px!important}.xs-mb-24{margin-bottom:24px!important}.xs-mb-25{margin-bottom:25px!important}.xs-mb-26{margin-bottom:26px!important}.xs-mb-28{margin-bottom:28px!important}.xs-mb-30{margin-bottom:30px!important}.xs-mb-32{margin-bottom:32px!important}.xs-mb-34{margin-bottom:34px!important}.xs-mb-36{margin-bottom:36px!important}.xs-mb-40{margin-bottom:40px!important}.xs-mb-44{margin-bottom:44px!important}.xs-mb-46{margin-bottom:46px!important}.xs-mb-48{margin-bottom:48px!important}.xs-mb-50{margin-bottom:50px!important}.xs-mb-52{margin-bottom:52px!important}.xs-mb-60{margin-bottom:60px!important}.xs-mb-64{margin-bottom:64px!important}.xs-mb-70{margin-bottom:70px!important}.xs-mb-76{margin-bottom:76px!important}.xs-mb-80{margin-bottom:80px!important}.xs-mb-96{margin-bottom:96px!important}.xs-mb-100{margin-bottom:100px!important}.xs-ml-0{margin-left:0!important}.xs-ml-2{margin-left:2px!important}.xs-ml-4{margin-left:4px!important}.xs-ml-5{margin-left:5px!important}.xs-ml-6{margin-left:6px!important}.xs-ml-8{margin-left:8px!important}.xs-ml-10{margin-left:10px!important}.xs-ml-12{margin-left:12px!important}.xs-ml-15{margin-left:15px!important}.xs-ml-16{margin-left:16px!important}.xs-ml-18{margin-left:18px!important}.xs-ml-20{margin-left:20px!important}.xs-ml-22{margin-left:22px!important}.xs-ml-24{margin-left:24px!important}.xs-ml-25{margin-left:25px!important}.xs-ml-26{margin-left:26px!important}.xs-ml-28{margin-left:28px!important}.xs-ml-30{margin-left:30px!important}.xs-ml-32{margin-left:32px!important}.xs-ml-34{margin-left:34px!important}.xs-ml-36{margin-left:36px!important}.xs-ml-40{margin-left:40px!important}.xs-ml-44{margin-left:44px!important}.xs-ml-46{margin-left:46px!important}.xs-ml-48{margin-left:48px!important}.xs-ml-50{margin-left:50px!important}.xs-ml-52{margin-left:52px!important}.xs-ml-60{margin-left:60px!important}.xs-ml-64{margin-left:64px!important}.xs-ml-70{margin-left:70px!important}.xs-ml-76{margin-left:76px!important}.xs-ml-80{margin-left:80px!important}.xs-ml-96{margin-left:96px!important}.xs-ml-100{margin-left:100px!important}}@media screen and (min-width: 640px){.sm-p-0{padding:0!important}.sm-p-2{padding:2px!important}.sm-p-4{padding:4px!important}.sm-p-5{padding:5px!important}.sm-p-6{padding:6px!important}.sm-p-8{padding:8px!important}.sm-p-10{padding:10px!important}.sm-p-12{padding:12px!important}.sm-p-15{padding:15px!important}.sm-p-16{padding:16px!important}.sm-p-18{padding:18px!important}.sm-p-20{padding:20px!important}.sm-p-22{padding:22px!important}.sm-p-24{padding:24px!important}.sm-p-25{padding:25px!important}.sm-p-26{padding:26px!important}.sm-p-28{padding:28px!important}.sm-p-30{padding:30px!important}.sm-p-32{padding:32px!important}.sm-p-34{padding:34px!important}.sm-p-36{padding:36px!important}.sm-p-40{padding:40px!important}.sm-p-44{padding:44px!important}.sm-p-46{padding:46px!important}.sm-p-48{padding:48px!important}.sm-p-50{padding:50px!important}.sm-p-52{padding:52px!important}.sm-p-60{padding:60px!important}.sm-p-64{padding:64px!important}.sm-p-70{padding:70px!important}.sm-p-76{padding:76px!important}.sm-p-80{padding:80px!important}.sm-p-96{padding:96px!important}.sm-p-100{padding:100px!important}.sm-pt-0{padding-top:0!important}.sm-pt-2{padding-top:2px!important}.sm-pt-4{padding-top:4px!important}.sm-pt-5{padding-top:5px!important}.sm-pt-6{padding-top:6px!important}.sm-pt-8{padding-top:8px!important}.sm-pt-10{padding-top:10px!important}.sm-pt-12{padding-top:12px!important}.sm-pt-15{padding-top:15px!important}.sm-pt-16{padding-top:16px!important}.sm-pt-18{padding-top:18px!important}.sm-pt-20{padding-top:20px!important}.sm-pt-22{padding-top:22px!important}.sm-pt-24{padding-top:24px!important}.sm-pt-25{padding-top:25px!important}.sm-pt-26{padding-top:26px!important}.sm-pt-28{padding-top:28px!important}.sm-pt-30{padding-top:30px!important}.sm-pt-32{padding-top:32px!important}.sm-pt-34{padding-top:34px!important}.sm-pt-36{padding-top:36px!important}.sm-pt-40{padding-top:40px!important}.sm-pt-44{padding-top:44px!important}.sm-pt-46{padding-top:46px!important}.sm-pt-48{padding-top:48px!important}.sm-pt-50{padding-top:50px!important}.sm-pt-52{padding-top:52px!important}.sm-pt-60{padding-top:60px!important}.sm-pt-64{padding-top:64px!important}.sm-pt-70{padding-top:70px!important}.sm-pt-76{padding-top:76px!important}.sm-pt-80{padding-top:80px!important}.sm-pt-96{padding-top:96px!important}.sm-pt-100{padding-top:100px!important}.sm-pr-0{padding-right:0!important}.sm-pr-2{padding-right:2px!important}.sm-pr-4{padding-right:4px!important}.sm-pr-5{padding-right:5px!important}.sm-pr-6{padding-right:6px!important}.sm-pr-8{padding-right:8px!important}.sm-pr-10{padding-right:10px!important}.sm-pr-12{padding-right:12px!important}.sm-pr-15{padding-right:15px!important}.sm-pr-16{padding-right:16px!important}.sm-pr-18{padding-right:18px!important}.sm-pr-20{padding-right:20px!important}.sm-pr-22{padding-right:22px!important}.sm-pr-24{padding-right:24px!important}.sm-pr-25{padding-right:25px!important}.sm-pr-26{padding-right:26px!important}.sm-pr-28{padding-right:28px!important}.sm-pr-30{padding-right:30px!important}.sm-pr-32{padding-right:32px!important}.sm-pr-34{padding-right:34px!important}.sm-pr-36{padding-right:36px!important}.sm-pr-40{padding-right:40px!important}.sm-pr-44{padding-right:44px!important}.sm-pr-46{padding-right:46px!important}.sm-pr-48{padding-right:48px!important}.sm-pr-50{padding-right:50px!important}.sm-pr-52{padding-right:52px!important}.sm-pr-60{padding-right:60px!important}.sm-pr-64{padding-right:64px!important}.sm-pr-70{padding-right:70px!important}.sm-pr-76{padding-right:76px!important}.sm-pr-80{padding-right:80px!important}.sm-pr-96{padding-right:96px!important}.sm-pr-100{padding-right:100px!important}.sm-pb-0{padding-bottom:0!important}.sm-pb-2{padding-bottom:2px!important}.sm-pb-4{padding-bottom:4px!important}.sm-pb-5{padding-bottom:5px!important}.sm-pb-6{padding-bottom:6px!important}.sm-pb-8{padding-bottom:8px!important}.sm-pb-10{padding-bottom:10px!important}.sm-pb-12{padding-bottom:12px!important}.sm-pb-15{padding-bottom:15px!important}.sm-pb-16{padding-bottom:16px!important}.sm-pb-18{padding-bottom:18px!important}.sm-pb-20{padding-bottom:20px!important}.sm-pb-22{padding-bottom:22px!important}.sm-pb-24{padding-bottom:24px!important}.sm-pb-25{padding-bottom:25px!important}.sm-pb-26{padding-bottom:26px!important}.sm-pb-28{padding-bottom:28px!important}.sm-pb-30{padding-bottom:30px!important}.sm-pb-32{padding-bottom:32px!important}.sm-pb-34{padding-bottom:34px!important}.sm-pb-36{padding-bottom:36px!important}.sm-pb-40{padding-bottom:40px!important}.sm-pb-44{padding-bottom:44px!important}.sm-pb-46{padding-bottom:46px!important}.sm-pb-48{padding-bottom:48px!important}.sm-pb-50{padding-bottom:50px!important}.sm-pb-52{padding-bottom:52px!important}.sm-pb-60{padding-bottom:60px!important}.sm-pb-64{padding-bottom:64px!important}.sm-pb-70{padding-bottom:70px!important}.sm-pb-76{padding-bottom:76px!important}.sm-pb-80{padding-bottom:80px!important}.sm-pb-96{padding-bottom:96px!important}.sm-pb-100{padding-bottom:100px!important}.sm-pl-0{padding-left:0!important}.sm-pl-2{padding-left:2px!important}.sm-pl-4{padding-left:4px!important}.sm-pl-5{padding-left:5px!important}.sm-pl-6{padding-left:6px!important}.sm-pl-8{padding-left:8px!important}.sm-pl-10{padding-left:10px!important}.sm-pl-12{padding-left:12px!important}.sm-pl-15{padding-left:15px!important}.sm-pl-16{padding-left:16px!important}.sm-pl-18{padding-left:18px!important}.sm-pl-20{padding-left:20px!important}.sm-pl-22{padding-left:22px!important}.sm-pl-24{padding-left:24px!important}.sm-pl-25{padding-left:25px!important}.sm-pl-26{padding-left:26px!important}.sm-pl-28{padding-left:28px!important}.sm-pl-30{padding-left:30px!important}.sm-pl-32{padding-left:32px!important}.sm-pl-34{padding-left:34px!important}.sm-pl-36{padding-left:36px!important}.sm-pl-40{padding-left:40px!important}.sm-pl-44{padding-left:44px!important}.sm-pl-46{padding-left:46px!important}.sm-pl-48{padding-left:48px!important}.sm-pl-50{padding-left:50px!important}.sm-pl-52{padding-left:52px!important}.sm-pl-60{padding-left:60px!important}.sm-pl-64{padding-left:64px!important}.sm-pl-70{padding-left:70px!important}.sm-pl-76{padding-left:76px!important}.sm-pl-80{padding-left:80px!important}.sm-pl-96{padding-left:96px!important}.sm-pl-100{padding-left:100px!important}.sm-m-0{margin:0!important}.sm-m-2{margin:2px!important}.sm-m-4{margin:4px!important}.sm-m-5{margin:5px!important}.sm-m-6{margin:6px!important}.sm-m-8{margin:8px!important}.sm-m-10{margin:10px!important}.sm-m-12{margin:12px!important}.sm-m-15{margin:15px!important}.sm-m-16{margin:16px!important}.sm-m-18{margin:18px!important}.sm-m-20{margin:20px!important}.sm-m-22{margin:22px!important}.sm-m-24{margin:24px!important}.sm-m-25{margin:25px!important}.sm-m-26{margin:26px!important}.sm-m-28{margin:28px!important}.sm-m-30{margin:30px!important}.sm-m-32{margin:32px!important}.sm-m-34{margin:34px!important}.sm-m-36{margin:36px!important}.sm-m-40{margin:40px!important}.sm-m-44{margin:44px!important}.sm-m-46{margin:46px!important}.sm-m-48{margin:48px!important}.sm-m-50{margin:50px!important}.sm-m-52{margin:52px!important}.sm-m-60{margin:60px!important}.sm-m-64{margin:64px!important}.sm-m-70{margin:70px!important}.sm-m-76{margin:76px!important}.sm-m-80{margin:80px!important}.sm-m-96{margin:96px!important}.sm-m-100{margin:100px!important}.sm-mt-0{margin-top:0!important}.sm-mt-2{margin-top:2px!important}.sm-mt-4{margin-top:4px!important}.sm-mt-5{margin-top:5px!important}.sm-mt-6{margin-top:6px!important}.sm-mt-8{margin-top:8px!important}.sm-mt-10{margin-top:10px!important}.sm-mt-12{margin-top:12px!important}.sm-mt-15{margin-top:15px!important}.sm-mt-16{margin-top:16px!important}.sm-mt-18{margin-top:18px!important}.sm-mt-20{margin-top:20px!important}.sm-mt-22{margin-top:22px!important}.sm-mt-24{margin-top:24px!important}.sm-mt-25{margin-top:25px!important}.sm-mt-26{margin-top:26px!important}.sm-mt-28{margin-top:28px!important}.sm-mt-30{margin-top:30px!important}.sm-mt-32{margin-top:32px!important}.sm-mt-34{margin-top:34px!important}.sm-mt-36{margin-top:36px!important}.sm-mt-40{margin-top:40px!important}.sm-mt-44{margin-top:44px!important}.sm-mt-46{margin-top:46px!important}.sm-mt-48{margin-top:48px!important}.sm-mt-50{margin-top:50px!important}.sm-mt-52{margin-top:52px!important}.sm-mt-60{margin-top:60px!important}.sm-mt-64{margin-top:64px!important}.sm-mt-70{margin-top:70px!important}.sm-mt-76{margin-top:76px!important}.sm-mt-80{margin-top:80px!important}.sm-mt-96{margin-top:96px!important}.sm-mt-100{margin-top:100px!important}.sm-mr-0{margin-right:0!important}.sm-mr-2{margin-right:2px!important}.sm-mr-4{margin-right:4px!important}.sm-mr-5{margin-right:5px!important}.sm-mr-6{margin-right:6px!important}.sm-mr-8{margin-right:8px!important}.sm-mr-10{margin-right:10px!important}.sm-mr-12{margin-right:12px!important}.sm-mr-15{margin-right:15px!important}.sm-mr-16{margin-right:16px!important}.sm-mr-18{margin-right:18px!important}.sm-mr-20{margin-right:20px!important}.sm-mr-22{margin-right:22px!important}.sm-mr-24{margin-right:24px!important}.sm-mr-25{margin-right:25px!important}.sm-mr-26{margin-right:26px!important}.sm-mr-28{margin-right:28px!important}.sm-mr-30{margin-right:30px!important}.sm-mr-32{margin-right:32px!important}.sm-mr-34{margin-right:34px!important}.sm-mr-36{margin-right:36px!important}.sm-mr-40{margin-right:40px!important}.sm-mr-44{margin-right:44px!important}.sm-mr-46{margin-right:46px!important}.sm-mr-48{margin-right:48px!important}.sm-mr-50{margin-right:50px!important}.sm-mr-52{margin-right:52px!important}.sm-mr-60{margin-right:60px!important}.sm-mr-64{margin-right:64px!important}.sm-mr-70{margin-right:70px!important}.sm-mr-76{margin-right:76px!important}.sm-mr-80{margin-right:80px!important}.sm-mr-96{margin-right:96px!important}.sm-mr-100{margin-right:100px!important}.sm-mb-0{margin-bottom:0!important}.sm-mb-2{margin-bottom:2px!important}.sm-mb-4{margin-bottom:4px!important}.sm-mb-5{margin-bottom:5px!important}.sm-mb-6{margin-bottom:6px!important}.sm-mb-8{margin-bottom:8px!important}.sm-mb-10{margin-bottom:10px!important}.sm-mb-12{margin-bottom:12px!important}.sm-mb-15{margin-bottom:15px!important}.sm-mb-16{margin-bottom:16px!important}.sm-mb-18{margin-bottom:18px!important}.sm-mb-20{margin-bottom:20px!important}.sm-mb-22{margin-bottom:22px!important}.sm-mb-24{margin-bottom:24px!important}.sm-mb-25{margin-bottom:25px!important}.sm-mb-26{margin-bottom:26px!important}.sm-mb-28{margin-bottom:28px!important}.sm-mb-30{margin-bottom:30px!important}.sm-mb-32{margin-bottom:32px!important}.sm-mb-34{margin-bottom:34px!important}.sm-mb-36{margin-bottom:36px!important}.sm-mb-40{margin-bottom:40px!important}.sm-mb-44{margin-bottom:44px!important}.sm-mb-46{margin-bottom:46px!important}.sm-mb-48{margin-bottom:48px!important}.sm-mb-50{margin-bottom:50px!important}.sm-mb-52{margin-bottom:52px!important}.sm-mb-60{margin-bottom:60px!important}.sm-mb-64{margin-bottom:64px!important}.sm-mb-70{margin-bottom:70px!important}.sm-mb-76{margin-bottom:76px!important}.sm-mb-80{margin-bottom:80px!important}.sm-mb-96{margin-bottom:96px!important}.sm-mb-100{margin-bottom:100px!important}.sm-ml-0{margin-left:0!important}.sm-ml-2{margin-left:2px!important}.sm-ml-4{margin-left:4px!important}.sm-ml-5{margin-left:5px!important}.sm-ml-6{margin-left:6px!important}.sm-ml-8{margin-left:8px!important}.sm-ml-10{margin-left:10px!important}.sm-ml-12{margin-left:12px!important}.sm-ml-15{margin-left:15px!important}.sm-ml-16{margin-left:16px!important}.sm-ml-18{margin-left:18px!important}.sm-ml-20{margin-left:20px!important}.sm-ml-22{margin-left:22px!important}.sm-ml-24{margin-left:24px!important}.sm-ml-25{margin-left:25px!important}.sm-ml-26{margin-left:26px!important}.sm-ml-28{margin-left:28px!important}.sm-ml-30{margin-left:30px!important}.sm-ml-32{margin-left:32px!important}.sm-ml-34{margin-left:34px!important}.sm-ml-36{margin-left:36px!important}.sm-ml-40{margin-left:40px!important}.sm-ml-44{margin-left:44px!important}.sm-ml-46{margin-left:46px!important}.sm-ml-48{margin-left:48px!important}.sm-ml-50{margin-left:50px!important}.sm-ml-52{margin-left:52px!important}.sm-ml-60{margin-left:60px!important}.sm-ml-64{margin-left:64px!important}.sm-ml-70{margin-left:70px!important}.sm-ml-76{margin-left:76px!important}.sm-ml-80{margin-left:80px!important}.sm-ml-96{margin-left:96px!important}.sm-ml-100{margin-left:100px!important}}@media screen and (min-width: 1100px){.md-p-0{padding:0!important}.md-p-2{padding:2px!important}.md-p-4{padding:4px!important}.md-p-5{padding:5px!important}.md-p-6{padding:6px!important}.md-p-8{padding:8px!important}.md-p-10{padding:10px!important}.md-p-12{padding:12px!important}.md-p-15{padding:15px!important}.md-p-16{padding:16px!important}.md-p-18{padding:18px!important}.md-p-20{padding:20px!important}.md-p-22{padding:22px!important}.md-p-24{padding:24px!important}.md-p-25{padding:25px!important}.md-p-26{padding:26px!important}.md-p-28{padding:28px!important}.md-p-30{padding:30px!important}.md-p-32{padding:32px!important}.md-p-34{padding:34px!important}.md-p-36{padding:36px!important}.md-p-40{padding:40px!important}.md-p-44{padding:44px!important}.md-p-46{padding:46px!important}.md-p-48{padding:48px!important}.md-p-50{padding:50px!important}.md-p-52{padding:52px!important}.md-p-60{padding:60px!important}.md-p-64{padding:64px!important}.md-p-70{padding:70px!important}.md-p-76{padding:76px!important}.md-p-80{padding:80px!important}.md-p-96{padding:96px!important}.md-p-100{padding:100px!important}.md-pt-0{padding-top:0!important}.md-pt-2{padding-top:2px!important}.md-pt-4{padding-top:4px!important}.md-pt-5{padding-top:5px!important}.md-pt-6{padding-top:6px!important}.md-pt-8{padding-top:8px!important}.md-pt-10{padding-top:10px!important}.md-pt-12{padding-top:12px!important}.md-pt-15{padding-top:15px!important}.md-pt-16{padding-top:16px!important}.md-pt-18{padding-top:18px!important}.md-pt-20{padding-top:20px!important}.md-pt-22{padding-top:22px!important}.md-pt-24{padding-top:24px!important}.md-pt-25{padding-top:25px!important}.md-pt-26{padding-top:26px!important}.md-pt-28{padding-top:28px!important}.md-pt-30{padding-top:30px!important}.md-pt-32{padding-top:32px!important}.md-pt-34{padding-top:34px!important}.md-pt-36{padding-top:36px!important}.md-pt-40{padding-top:40px!important}.md-pt-44{padding-top:44px!important}.md-pt-46{padding-top:46px!important}.md-pt-48{padding-top:48px!important}.md-pt-50{padding-top:50px!important}.md-pt-52{padding-top:52px!important}.md-pt-60{padding-top:60px!important}.md-pt-64{padding-top:64px!important}.md-pt-70{padding-top:70px!important}.md-pt-76{padding-top:76px!important}.md-pt-80{padding-top:80px!important}.md-pt-96{padding-top:96px!important}.md-pt-100{padding-top:100px!important}.md-pr-0{padding-right:0!important}.md-pr-2{padding-right:2px!important}.md-pr-4{padding-right:4px!important}.md-pr-5{padding-right:5px!important}.md-pr-6{padding-right:6px!important}.md-pr-8{padding-right:8px!important}.md-pr-10{padding-right:10px!important}.md-pr-12{padding-right:12px!important}.md-pr-15{padding-right:15px!important}.md-pr-16{padding-right:16px!important}.md-pr-18{padding-right:18px!important}.md-pr-20{padding-right:20px!important}.md-pr-22{padding-right:22px!important}.md-pr-24{padding-right:24px!important}.md-pr-25{padding-right:25px!important}.md-pr-26{padding-right:26px!important}.md-pr-28{padding-right:28px!important}.md-pr-30{padding-right:30px!important}.md-pr-32{padding-right:32px!important}.md-pr-34{padding-right:34px!important}.md-pr-36{padding-right:36px!important}.md-pr-40{padding-right:40px!important}.md-pr-44{padding-right:44px!important}.md-pr-46{padding-right:46px!important}.md-pr-48{padding-right:48px!important}.md-pr-50{padding-right:50px!important}.md-pr-52{padding-right:52px!important}.md-pr-60{padding-right:60px!important}.md-pr-64{padding-right:64px!important}.md-pr-70{padding-right:70px!important}.md-pr-76{padding-right:76px!important}.md-pr-80{padding-right:80px!important}.md-pr-96{padding-right:96px!important}.md-pr-100{padding-right:100px!important}.md-pb-0{padding-bottom:0!important}.md-pb-2{padding-bottom:2px!important}.md-pb-4{padding-bottom:4px!important}.md-pb-5{padding-bottom:5px!important}.md-pb-6{padding-bottom:6px!important}.md-pb-8{padding-bottom:8px!important}.md-pb-10{padding-bottom:10px!important}.md-pb-12{padding-bottom:12px!important}.md-pb-15{padding-bottom:15px!important}.md-pb-16{padding-bottom:16px!important}.md-pb-18{padding-bottom:18px!important}.md-pb-20{padding-bottom:20px!important}.md-pb-22{padding-bottom:22px!important}.md-pb-24{padding-bottom:24px!important}.md-pb-25{padding-bottom:25px!important}.md-pb-26{padding-bottom:26px!important}.md-pb-28{padding-bottom:28px!important}.md-pb-30{padding-bottom:30px!important}.md-pb-32{padding-bottom:32px!important}.md-pb-34{padding-bottom:34px!important}.md-pb-36{padding-bottom:36px!important}.md-pb-40{padding-bottom:40px!important}.md-pb-44{padding-bottom:44px!important}.md-pb-46{padding-bottom:46px!important}.md-pb-48{padding-bottom:48px!important}.md-pb-50{padding-bottom:50px!important}.md-pb-52{padding-bottom:52px!important}.md-pb-60{padding-bottom:60px!important}.md-pb-64{padding-bottom:64px!important}.md-pb-70{padding-bottom:70px!important}.md-pb-76{padding-bottom:76px!important}.md-pb-80{padding-bottom:80px!important}.md-pb-96{padding-bottom:96px!important}.md-pb-100{padding-bottom:100px!important}.md-pl-0{padding-left:0!important}.md-pl-2{padding-left:2px!important}.md-pl-4{padding-left:4px!important}.md-pl-5{padding-left:5px!important}.md-pl-6{padding-left:6px!important}.md-pl-8{padding-left:8px!important}.md-pl-10{padding-left:10px!important}.md-pl-12{padding-left:12px!important}.md-pl-15{padding-left:15px!important}.md-pl-16{padding-left:16px!important}.md-pl-18{padding-left:18px!important}.md-pl-20{padding-left:20px!important}.md-pl-22{padding-left:22px!important}.md-pl-24{padding-left:24px!important}.md-pl-25{padding-left:25px!important}.md-pl-26{padding-left:26px!important}.md-pl-28{padding-left:28px!important}.md-pl-30{padding-left:30px!important}.md-pl-32{padding-left:32px!important}.md-pl-34{padding-left:34px!important}.md-pl-36{padding-left:36px!important}.md-pl-40{padding-left:40px!important}.md-pl-44{padding-left:44px!important}.md-pl-46{padding-left:46px!important}.md-pl-48{padding-left:48px!important}.md-pl-50{padding-left:50px!important}.md-pl-52{padding-left:52px!important}.md-pl-60{padding-left:60px!important}.md-pl-64{padding-left:64px!important}.md-pl-70{padding-left:70px!important}.md-pl-76{padding-left:76px!important}.md-pl-80{padding-left:80px!important}.md-pl-96{padding-left:96px!important}.md-pl-100{padding-left:100px!important}.md-m-0{margin:0!important}.md-m-2{margin:2px!important}.md-m-4{margin:4px!important}.md-m-5{margin:5px!important}.md-m-6{margin:6px!important}.md-m-8{margin:8px!important}.md-m-10{margin:10px!important}.md-m-12{margin:12px!important}.md-m-15{margin:15px!important}.md-m-16{margin:16px!important}.md-m-18{margin:18px!important}.md-m-20{margin:20px!important}.md-m-22{margin:22px!important}.md-m-24{margin:24px!important}.md-m-25{margin:25px!important}.md-m-26{margin:26px!important}.md-m-28{margin:28px!important}.md-m-30{margin:30px!important}.md-m-32{margin:32px!important}.md-m-34{margin:34px!important}.md-m-36{margin:36px!important}.md-m-40{margin:40px!important}.md-m-44{margin:44px!important}.md-m-46{margin:46px!important}.md-m-48{margin:48px!important}.md-m-50{margin:50px!important}.md-m-52{margin:52px!important}.md-m-60{margin:60px!important}.md-m-64{margin:64px!important}.md-m-70{margin:70px!important}.md-m-76{margin:76px!important}.md-m-80{margin:80px!important}.md-m-96{margin:96px!important}.md-m-100{margin:100px!important}.md-mt-0{margin-top:0!important}.md-mt-2{margin-top:2px!important}.md-mt-4{margin-top:4px!important}.md-mt-5{margin-top:5px!important}.md-mt-6{margin-top:6px!important}.md-mt-8{margin-top:8px!important}.md-mt-10{margin-top:10px!important}.md-mt-12{margin-top:12px!important}.md-mt-15{margin-top:15px!important}.md-mt-16{margin-top:16px!important}.md-mt-18{margin-top:18px!important}.md-mt-20{margin-top:20px!important}.md-mt-22{margin-top:22px!important}.md-mt-24{margin-top:24px!important}.md-mt-25{margin-top:25px!important}.md-mt-26{margin-top:26px!important}.md-mt-28{margin-top:28px!important}.md-mt-30{margin-top:30px!important}.md-mt-32{margin-top:32px!important}.md-mt-34{margin-top:34px!important}.md-mt-36{margin-top:36px!important}.md-mt-40{margin-top:40px!important}.md-mt-44{margin-top:44px!important}.md-mt-46{margin-top:46px!important}.md-mt-48{margin-top:48px!important}.md-mt-50{margin-top:50px!important}.md-mt-52{margin-top:52px!important}.md-mt-60{margin-top:60px!important}.md-mt-64{margin-top:64px!important}.md-mt-70{margin-top:70px!important}.md-mt-76{margin-top:76px!important}.md-mt-80{margin-top:80px!important}.md-mt-96{margin-top:96px!important}.md-mt-100{margin-top:100px!important}.md-mr-0{margin-right:0!important}.md-mr-2{margin-right:2px!important}.md-mr-4{margin-right:4px!important}.md-mr-5{margin-right:5px!important}.md-mr-6{margin-right:6px!important}.md-mr-8{margin-right:8px!important}.md-mr-10{margin-right:10px!important}.md-mr-12{margin-right:12px!important}.md-mr-15{margin-right:15px!important}.md-mr-16{margin-right:16px!important}.md-mr-18{margin-right:18px!important}.md-mr-20{margin-right:20px!important}.md-mr-22{margin-right:22px!important}.md-mr-24{margin-right:24px!important}.md-mr-25{margin-right:25px!important}.md-mr-26{margin-right:26px!important}.md-mr-28{margin-right:28px!important}.md-mr-30{margin-right:30px!important}.md-mr-32{margin-right:32px!important}.md-mr-34{margin-right:34px!important}.md-mr-36{margin-right:36px!important}.md-mr-40{margin-right:40px!important}.md-mr-44{margin-right:44px!important}.md-mr-46{margin-right:46px!important}.md-mr-48{margin-right:48px!important}.md-mr-50{margin-right:50px!important}.md-mr-52{margin-right:52px!important}.md-mr-60{margin-right:60px!important}.md-mr-64{margin-right:64px!important}.md-mr-70{margin-right:70px!important}.md-mr-76{margin-right:76px!important}.md-mr-80{margin-right:80px!important}.md-mr-96{margin-right:96px!important}.md-mr-100{margin-right:100px!important}.md-mb-0{margin-bottom:0!important}.md-mb-2{margin-bottom:2px!important}.md-mb-4{margin-bottom:4px!important}.md-mb-5{margin-bottom:5px!important}.md-mb-6{margin-bottom:6px!important}.md-mb-8{margin-bottom:8px!important}.md-mb-10{margin-bottom:10px!important}.md-mb-12{margin-bottom:12px!important}.md-mb-15{margin-bottom:15px!important}.md-mb-16{margin-bottom:16px!important}.md-mb-18{margin-bottom:18px!important}.md-mb-20{margin-bottom:20px!important}.md-mb-22{margin-bottom:22px!important}.md-mb-24{margin-bottom:24px!important}.md-mb-25{margin-bottom:25px!important}.md-mb-26{margin-bottom:26px!important}.md-mb-28{margin-bottom:28px!important}.md-mb-30{margin-bottom:30px!important}.md-mb-32{margin-bottom:32px!important}.md-mb-34{margin-bottom:34px!important}.md-mb-36{margin-bottom:36px!important}.md-mb-40{margin-bottom:40px!important}.md-mb-44{margin-bottom:44px!important}.md-mb-46{margin-bottom:46px!important}.md-mb-48{margin-bottom:48px!important}.md-mb-50{margin-bottom:50px!important}.md-mb-52{margin-bottom:52px!important}.md-mb-60{margin-bottom:60px!important}.md-mb-64{margin-bottom:64px!important}.md-mb-70{margin-bottom:70px!important}.md-mb-76{margin-bottom:76px!important}.md-mb-80{margin-bottom:80px!important}.md-mb-96{margin-bottom:96px!important}.md-mb-100{margin-bottom:100px!important}.md-ml-0{margin-left:0!important}.md-ml-2{margin-left:2px!important}.md-ml-4{margin-left:4px!important}.md-ml-5{margin-left:5px!important}.md-ml-6{margin-left:6px!important}.md-ml-8{margin-left:8px!important}.md-ml-10{margin-left:10px!important}.md-ml-12{margin-left:12px!important}.md-ml-15{margin-left:15px!important}.md-ml-16{margin-left:16px!important}.md-ml-18{margin-left:18px!important}.md-ml-20{margin-left:20px!important}.md-ml-22{margin-left:22px!important}.md-ml-24{margin-left:24px!important}.md-ml-25{margin-left:25px!important}.md-ml-26{margin-left:26px!important}.md-ml-28{margin-left:28px!important}.md-ml-30{margin-left:30px!important}.md-ml-32{margin-left:32px!important}.md-ml-34{margin-left:34px!important}.md-ml-36{margin-left:36px!important}.md-ml-40{margin-left:40px!important}.md-ml-44{margin-left:44px!important}.md-ml-46{margin-left:46px!important}.md-ml-48{margin-left:48px!important}.md-ml-50{margin-left:50px!important}.md-ml-52{margin-left:52px!important}.md-ml-60{margin-left:60px!important}.md-ml-64{margin-left:64px!important}.md-ml-70{margin-left:70px!important}.md-ml-76{margin-left:76px!important}.md-ml-80{margin-left:80px!important}.md-ml-96{margin-left:96px!important}.md-ml-100{margin-left:100px!important}}@media screen and (min-width: 1440px){.lg-p-0{padding:0!important}.lg-p-2{padding:2px!important}.lg-p-4{padding:4px!important}.lg-p-5{padding:5px!important}.lg-p-6{padding:6px!important}.lg-p-8{padding:8px!important}.lg-p-10{padding:10px!important}.lg-p-12{padding:12px!important}.lg-p-15{padding:15px!important}.lg-p-16{padding:16px!important}.lg-p-18{padding:18px!important}.lg-p-20{padding:20px!important}.lg-p-22{padding:22px!important}.lg-p-24{padding:24px!important}.lg-p-25{padding:25px!important}.lg-p-26{padding:26px!important}.lg-p-28{padding:28px!important}.lg-p-30{padding:30px!important}.lg-p-32{padding:32px!important}.lg-p-34{padding:34px!important}.lg-p-36{padding:36px!important}.lg-p-40{padding:40px!important}.lg-p-44{padding:44px!important}.lg-p-46{padding:46px!important}.lg-p-48{padding:48px!important}.lg-p-50{padding:50px!important}.lg-p-52{padding:52px!important}.lg-p-60{padding:60px!important}.lg-p-64{padding:64px!important}.lg-p-70{padding:70px!important}.lg-p-76{padding:76px!important}.lg-p-80{padding:80px!important}.lg-p-96{padding:96px!important}.lg-p-100{padding:100px!important}.lg-pt-0{padding-top:0!important}.lg-pt-2{padding-top:2px!important}.lg-pt-4{padding-top:4px!important}.lg-pt-5{padding-top:5px!important}.lg-pt-6{padding-top:6px!important}.lg-pt-8{padding-top:8px!important}.lg-pt-10{padding-top:10px!important}.lg-pt-12{padding-top:12px!important}.lg-pt-15{padding-top:15px!important}.lg-pt-16{padding-top:16px!important}.lg-pt-18{padding-top:18px!important}.lg-pt-20{padding-top:20px!important}.lg-pt-22{padding-top:22px!important}.lg-pt-24{padding-top:24px!important}.lg-pt-25{padding-top:25px!important}.lg-pt-26{padding-top:26px!important}.lg-pt-28{padding-top:28px!important}.lg-pt-30{padding-top:30px!important}.lg-pt-32{padding-top:32px!important}.lg-pt-34{padding-top:34px!important}.lg-pt-36{padding-top:36px!important}.lg-pt-40{padding-top:40px!important}.lg-pt-44{padding-top:44px!important}.lg-pt-46{padding-top:46px!important}.lg-pt-48{padding-top:48px!important}.lg-pt-50{padding-top:50px!important}.lg-pt-52{padding-top:52px!important}.lg-pt-60{padding-top:60px!important}.lg-pt-64{padding-top:64px!important}.lg-pt-70{padding-top:70px!important}.lg-pt-76{padding-top:76px!important}.lg-pt-80{padding-top:80px!important}.lg-pt-96{padding-top:96px!important}.lg-pt-100{padding-top:100px!important}.lg-pr-0{padding-right:0!important}.lg-pr-2{padding-right:2px!important}.lg-pr-4{padding-right:4px!important}.lg-pr-5{padding-right:5px!important}.lg-pr-6{padding-right:6px!important}.lg-pr-8{padding-right:8px!important}.lg-pr-10{padding-right:10px!important}.lg-pr-12{padding-right:12px!important}.lg-pr-15{padding-right:15px!important}.lg-pr-16{padding-right:16px!important}.lg-pr-18{padding-right:18px!important}.lg-pr-20{padding-right:20px!important}.lg-pr-22{padding-right:22px!important}.lg-pr-24{padding-right:24px!important}.lg-pr-25{padding-right:25px!important}.lg-pr-26{padding-right:26px!important}.lg-pr-28{padding-right:28px!important}.lg-pr-30{padding-right:30px!important}.lg-pr-32{padding-right:32px!important}.lg-pr-34{padding-right:34px!important}.lg-pr-36{padding-right:36px!important}.lg-pr-40{padding-right:40px!important}.lg-pr-44{padding-right:44px!important}.lg-pr-46{padding-right:46px!important}.lg-pr-48{padding-right:48px!important}.lg-pr-50{padding-right:50px!important}.lg-pr-52{padding-right:52px!important}.lg-pr-60{padding-right:60px!important}.lg-pr-64{padding-right:64px!important}.lg-pr-70{padding-right:70px!important}.lg-pr-76{padding-right:76px!important}.lg-pr-80{padding-right:80px!important}.lg-pr-96{padding-right:96px!important}.lg-pr-100{padding-right:100px!important}.lg-pb-0{padding-bottom:0!important}.lg-pb-2{padding-bottom:2px!important}.lg-pb-4{padding-bottom:4px!important}.lg-pb-5{padding-bottom:5px!important}.lg-pb-6{padding-bottom:6px!important}.lg-pb-8{padding-bottom:8px!important}.lg-pb-10{padding-bottom:10px!important}.lg-pb-12{padding-bottom:12px!important}.lg-pb-15{padding-bottom:15px!important}.lg-pb-16{padding-bottom:16px!important}.lg-pb-18{padding-bottom:18px!important}.lg-pb-20{padding-bottom:20px!important}.lg-pb-22{padding-bottom:22px!important}.lg-pb-24{padding-bottom:24px!important}.lg-pb-25{padding-bottom:25px!important}.lg-pb-26{padding-bottom:26px!important}.lg-pb-28{padding-bottom:28px!important}.lg-pb-30{padding-bottom:30px!important}.lg-pb-32{padding-bottom:32px!important}.lg-pb-34{padding-bottom:34px!important}.lg-pb-36{padding-bottom:36px!important}.lg-pb-40{padding-bottom:40px!important}.lg-pb-44{padding-bottom:44px!important}.lg-pb-46{padding-bottom:46px!important}.lg-pb-48{padding-bottom:48px!important}.lg-pb-50{padding-bottom:50px!important}.lg-pb-52{padding-bottom:52px!important}.lg-pb-60{padding-bottom:60px!important}.lg-pb-64{padding-bottom:64px!important}.lg-pb-70{padding-bottom:70px!important}.lg-pb-76{padding-bottom:76px!important}.lg-pb-80{padding-bottom:80px!important}.lg-pb-96{padding-bottom:96px!important}.lg-pb-100{padding-bottom:100px!important}.lg-pl-0{padding-left:0!important}.lg-pl-2{padding-left:2px!important}.lg-pl-4{padding-left:4px!important}.lg-pl-5{padding-left:5px!important}.lg-pl-6{padding-left:6px!important}.lg-pl-8{padding-left:8px!important}.lg-pl-10{padding-left:10px!important}.lg-pl-12{padding-left:12px!important}.lg-pl-15{padding-left:15px!important}.lg-pl-16{padding-left:16px!important}.lg-pl-18{padding-left:18px!important}.lg-pl-20{padding-left:20px!important}.lg-pl-22{padding-left:22px!important}.lg-pl-24{padding-left:24px!important}.lg-pl-25{padding-left:25px!important}.lg-pl-26{padding-left:26px!important}.lg-pl-28{padding-left:28px!important}.lg-pl-30{padding-left:30px!important}.lg-pl-32{padding-left:32px!important}.lg-pl-34{padding-left:34px!important}.lg-pl-36{padding-left:36px!important}.lg-pl-40{padding-left:40px!important}.lg-pl-44{padding-left:44px!important}.lg-pl-46{padding-left:46px!important}.lg-pl-48{padding-left:48px!important}.lg-pl-50{padding-left:50px!important}.lg-pl-52{padding-left:52px!important}.lg-pl-60{padding-left:60px!important}.lg-pl-64{padding-left:64px!important}.lg-pl-70{padding-left:70px!important}.lg-pl-76{padding-left:76px!important}.lg-pl-80{padding-left:80px!important}.lg-pl-96{padding-left:96px!important}.lg-pl-100{padding-left:100px!important}.lg-m-0{margin:0!important}.lg-m-2{margin:2px!important}.lg-m-4{margin:4px!important}.lg-m-5{margin:5px!important}.lg-m-6{margin:6px!important}.lg-m-8{margin:8px!important}.lg-m-10{margin:10px!important}.lg-m-12{margin:12px!important}.lg-m-15{margin:15px!important}.lg-m-16{margin:16px!important}.lg-m-18{margin:18px!important}.lg-m-20{margin:20px!important}.lg-m-22{margin:22px!important}.lg-m-24{margin:24px!important}.lg-m-25{margin:25px!important}.lg-m-26{margin:26px!important}.lg-m-28{margin:28px!important}.lg-m-30{margin:30px!important}.lg-m-32{margin:32px!important}.lg-m-34{margin:34px!important}.lg-m-36{margin:36px!important}.lg-m-40{margin:40px!important}.lg-m-44{margin:44px!important}.lg-m-46{margin:46px!important}.lg-m-48{margin:48px!important}.lg-m-50{margin:50px!important}.lg-m-52{margin:52px!important}.lg-m-60{margin:60px!important}.lg-m-64{margin:64px!important}.lg-m-70{margin:70px!important}.lg-m-76{margin:76px!important}.lg-m-80{margin:80px!important}.lg-m-96{margin:96px!important}.lg-m-100{margin:100px!important}.lg-mt-0{margin-top:0!important}.lg-mt-2{margin-top:2px!important}.lg-mt-4{margin-top:4px!important}.lg-mt-5{margin-top:5px!important}.lg-mt-6{margin-top:6px!important}.lg-mt-8{margin-top:8px!important}.lg-mt-10{margin-top:10px!important}.lg-mt-12{margin-top:12px!important}.lg-mt-15{margin-top:15px!important}.lg-mt-16{margin-top:16px!important}.lg-mt-18{margin-top:18px!important}.lg-mt-20{margin-top:20px!important}.lg-mt-22{margin-top:22px!important}.lg-mt-24{margin-top:24px!important}.lg-mt-25{margin-top:25px!important}.lg-mt-26{margin-top:26px!important}.lg-mt-28{margin-top:28px!important}.lg-mt-30{margin-top:30px!important}.lg-mt-32{margin-top:32px!important}.lg-mt-34{margin-top:34px!important}.lg-mt-36{margin-top:36px!important}.lg-mt-40{margin-top:40px!important}.lg-mt-44{margin-top:44px!important}.lg-mt-46{margin-top:46px!important}.lg-mt-48{margin-top:48px!important}.lg-mt-50{margin-top:50px!important}.lg-mt-52{margin-top:52px!important}.lg-mt-60{margin-top:60px!important}.lg-mt-64{margin-top:64px!important}.lg-mt-70{margin-top:70px!important}.lg-mt-76{margin-top:76px!important}.lg-mt-80{margin-top:80px!important}.lg-mt-96{margin-top:96px!important}.lg-mt-100{margin-top:100px!important}.lg-mr-0{margin-right:0!important}.lg-mr-2{margin-right:2px!important}.lg-mr-4{margin-right:4px!important}.lg-mr-5{margin-right:5px!important}.lg-mr-6{margin-right:6px!important}.lg-mr-8{margin-right:8px!important}.lg-mr-10{margin-right:10px!important}.lg-mr-12{margin-right:12px!important}.lg-mr-15{margin-right:15px!important}.lg-mr-16{margin-right:16px!important}.lg-mr-18{margin-right:18px!important}.lg-mr-20{margin-right:20px!important}.lg-mr-22{margin-right:22px!important}.lg-mr-24{margin-right:24px!important}.lg-mr-25{margin-right:25px!important}.lg-mr-26{margin-right:26px!important}.lg-mr-28{margin-right:28px!important}.lg-mr-30{margin-right:30px!important}.lg-mr-32{margin-right:32px!important}.lg-mr-34{margin-right:34px!important}.lg-mr-36{margin-right:36px!important}.lg-mr-40{margin-right:40px!important}.lg-mr-44{margin-right:44px!important}.lg-mr-46{margin-right:46px!important}.lg-mr-48{margin-right:48px!important}.lg-mr-50{margin-right:50px!important}.lg-mr-52{margin-right:52px!important}.lg-mr-60{margin-right:60px!important}.lg-mr-64{margin-right:64px!important}.lg-mr-70{margin-right:70px!important}.lg-mr-76{margin-right:76px!important}.lg-mr-80{margin-right:80px!important}.lg-mr-96{margin-right:96px!important}.lg-mr-100{margin-right:100px!important}.lg-mb-0{margin-bottom:0!important}.lg-mb-2{margin-bottom:2px!important}.lg-mb-4{margin-bottom:4px!important}.lg-mb-5{margin-bottom:5px!important}.lg-mb-6{margin-bottom:6px!important}.lg-mb-8{margin-bottom:8px!important}.lg-mb-10{margin-bottom:10px!important}.lg-mb-12{margin-bottom:12px!important}.lg-mb-15{margin-bottom:15px!important}.lg-mb-16{margin-bottom:16px!important}.lg-mb-18{margin-bottom:18px!important}.lg-mb-20{margin-bottom:20px!important}.lg-mb-22{margin-bottom:22px!important}.lg-mb-24{margin-bottom:24px!important}.lg-mb-25{margin-bottom:25px!important}.lg-mb-26{margin-bottom:26px!important}.lg-mb-28{margin-bottom:28px!important}.lg-mb-30{margin-bottom:30px!important}.lg-mb-32{margin-bottom:32px!important}.lg-mb-34{margin-bottom:34px!important}.lg-mb-36{margin-bottom:36px!important}.lg-mb-40{margin-bottom:40px!important}.lg-mb-44{margin-bottom:44px!important}.lg-mb-46{margin-bottom:46px!important}.lg-mb-48{margin-bottom:48px!important}.lg-mb-50{margin-bottom:50px!important}.lg-mb-52{margin-bottom:52px!important}.lg-mb-60{margin-bottom:60px!important}.lg-mb-64{margin-bottom:64px!important}.lg-mb-70{margin-bottom:70px!important}.lg-mb-76{margin-bottom:76px!important}.lg-mb-80{margin-bottom:80px!important}.lg-mb-96{margin-bottom:96px!important}.lg-mb-100{margin-bottom:100px!important}.lg-ml-0{margin-left:0!important}.lg-ml-2{margin-left:2px!important}.lg-ml-4{margin-left:4px!important}.lg-ml-5{margin-left:5px!important}.lg-ml-6{margin-left:6px!important}.lg-ml-8{margin-left:8px!important}.lg-ml-10{margin-left:10px!important}.lg-ml-12{margin-left:12px!important}.lg-ml-15{margin-left:15px!important}.lg-ml-16{margin-left:16px!important}.lg-ml-18{margin-left:18px!important}.lg-ml-20{margin-left:20px!important}.lg-ml-22{margin-left:22px!important}.lg-ml-24{margin-left:24px!important}.lg-ml-25{margin-left:25px!important}.lg-ml-26{margin-left:26px!important}.lg-ml-28{margin-left:28px!important}.lg-ml-30{margin-left:30px!important}.lg-ml-32{margin-left:32px!important}.lg-ml-34{margin-left:34px!important}.lg-ml-36{margin-left:36px!important}.lg-ml-40{margin-left:40px!important}.lg-ml-44{margin-left:44px!important}.lg-ml-46{margin-left:46px!important}.lg-ml-48{margin-left:48px!important}.lg-ml-50{margin-left:50px!important}.lg-ml-52{margin-left:52px!important}.lg-ml-60{margin-left:60px!important}.lg-ml-64{margin-left:64px!important}.lg-ml-70{margin-left:70px!important}.lg-ml-76{margin-left:76px!important}.lg-ml-80{margin-left:80px!important}.lg-ml-96{margin-left:96px!important}.lg-ml-100{margin-left:100px!important}}.h-20{height:20%!important}.h-50{height:50%!important}.h-60{height:60%!important}.h-80{height:80%!important}.h-100{height:100%!important}.h-auto{height:auto%!important}.w-20{width:20%!important}.w-50{width:50%!important}.w-60{width:60%!important}.w-80{width:80%!important}.w-100{width:100%!important}.w-auto{width:auto%!important}@media screen and (min-width: 0px){.xs-h-20{height:20%!important}.xs-h-50{height:50%!important}.xs-h-60{height:60%!important}.xs-h-80{height:80%!important}.xs-h-100{height:100%!important}.xs-h-auto{height:auto%!important}.xs-w-20{width:20%!important}.xs-w-50{width:50%!important}.xs-w-60{width:60%!important}.xs-w-80{width:80%!important}.xs-w-100{width:100%!important}.xs-w-auto{width:auto%!important}}@media screen and (min-width: 640px){.sm-h-20{height:20%!important}.sm-h-50{height:50%!important}.sm-h-60{height:60%!important}.sm-h-80{height:80%!important}.sm-h-100{height:100%!important}.sm-h-auto{height:auto%!important}.sm-w-20{width:20%!important}.sm-w-50{width:50%!important}.sm-w-60{width:60%!important}.sm-w-80{width:80%!important}.sm-w-100{width:100%!important}.sm-w-auto{width:auto%!important}}@media screen and (min-width: 1100px){.md-h-20{height:20%!important}.md-h-50{height:50%!important}.md-h-60{height:60%!important}.md-h-80{height:80%!important}.md-h-100{height:100%!important}.md-h-auto{height:auto%!important}.md-w-20{width:20%!important}.md-w-50{width:50%!important}.md-w-60{width:60%!important}.md-w-80{width:80%!important}.md-w-100{width:100%!important}.md-w-auto{width:auto%!important}}@media screen and (min-width: 1440px){.lg-h-20{height:20%!important}.lg-h-50{height:50%!important}.lg-h-60{height:60%!important}.lg-h-80{height:80%!important}.lg-h-100{height:100%!important}.lg-h-auto{height:auto%!important}.lg-w-20{width:20%!important}.lg-w-50{width:50%!important}.lg-w-60{width:60%!important}.lg-w-80{width:80%!important}.lg-w-100{width:100%!important}.lg-w-auto{width:auto%!important}}.flex{display:flex}.flex-row{flex-direction:row!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-col{flex-direction:column!important}.flex-col-reverse{flex-direction:column-reverse!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-fill{flex:1 1 auto!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.justify-around{justify-content:space-around!important}.justify-self-start{justify-self:flex-start!important}.justify-self-end{justify-self:flex-end!important}.justify-self-center{justify-self:center!important}.justify-self-between{justify-self:space-between!important}.justify-self-around{justify-self:space-around!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-between{align-self:space-between!important}.align-self-around{align-self:space-around!important}.align-start{align-items:flex-start!important}.align-end{align-items:flex-end!important}.align-center{align-items:center!important}.align-baseline{align-items:baseline!important}.align-stretch{align-items:stretch!important}@media (min-width: 0px){.xs-flex-row{flex-direction:row!important}.xs-flex-col{flex-direction:column!important}.xs-flex-row-reverse{flex-direction:row-reverse!important}.xs-flex-col-reverse{flex-direction:column-reverse!important}.xs-flex-wrap{flex-wrap:wrap!important}.xs-flex-nowrap{flex-wrap:nowrap!important}.xs-flex-wrap-reverse{flex-wrap:wrap-reverse!important}.xs-flex-fill{flex:1 1 auto!important}.xs-flex-grow-0{flex-grow:0!important}.xs-flex-grow-1{flex-grow:1!important}.xs-flex-shrink-0{flex-shrink:0!important}.xs-flex-shrink-1{flex-shrink:1!important}.xs-justify-start{justify-content:flex-start!important}.xs-justify-end{justify-content:flex-end!important}.xs-justify-center{justify-content:center!important}.xs-justify-between{justify-content:space-between!important}.xs-justify-around{justify-content:space-around!important}.xs-justify-unset{justify-content:unset!important}.xs-align-start{align-items:flex-start!important}.xs-align-end{align-items:flex-end!important}.xs-align-center{align-items:center!important}.xs-align-baseline{align-items:baseline!important}.xs-align-stretch{align-items:stretch!important}.xs-align-unset{align-items:unset!important}.xs-justify-start{justify-self:flex-start!important}.xs-justify-self-end{justify-self:flex-end!important}.xs-justify-self-center{justify-self:center!important}.xs-justify-self-between{justify-self:space-between!important}.xs-justify-self-around{justify-self:space-around!important}.xs-align-content-start{align-content:flex-start!important}.xs-align-content-end{align-content:flex-end!important}.xs-align-content-center{align-content:center!important}.xs-align-content-between{align-content:space-between!important}.xs-align-content-around{align-content:space-around!important}.xs-align-content-stretch{align-content:stretch!important}.xs-align-self-auto{align-self:auto!important}.xs-align-self-start{align-self:flex-start!important}.xs-align-self-end{align-self:flex-end!important}.xs-align-self-center{align-self:center!important}.xs-align-self-baseline{align-self:baseline!important}.xs-align-self-stretch{align-self:stretch!important}}@media (min-width: 640px){.sm-flex-row{flex-direction:row!important}.sm-flex-col{flex-direction:column!important}.sm-flex-row-reverse{flex-direction:row-reverse!important}.sm-flex-col-reverse{flex-direction:column-reverse!important}.sm-flex-wrap{flex-wrap:wrap!important}.sm-flex-nowrap{flex-wrap:nowrap!important}.sm-flex-wrap-reverse{flex-wrap:wrap-reverse!important}.sm-flex-fill{flex:1 1 auto!important}.sm-flex-grow-0{flex-grow:0!important}.sm-flex-grow-1{flex-grow:1!important}.sm-flex-shrink-0{flex-shrink:0!important}.sm-flex-shrink-1{flex-shrink:1!important}.sm-justify-start{justify-content:flex-start!important}.sm-justify-end{justify-content:flex-end!important}.sm-justify-center{justify-content:center!important}.sm-justify-between{justify-content:space-between!important}.sm-justify-around{justify-content:space-around!important}.sm-justify-unset{justify-content:unset!important}.sm-align-start{align-items:flex-start!important}.sm-align-end{align-items:flex-end!important}.sm-align-center{align-items:center!important}.sm-align-baseline{align-items:baseline!important}.sm-align-stretch{align-items:stretch!important}.sm-align-unset{align-items:unset!important}.sm-justify-start{justify-self:flex-start!important}.sm-justify-self-end{justify-self:flex-end!important}.sm-justify-self-center{justify-self:center!important}.sm-justify-self-between{justify-self:space-between!important}.sm-justify-self-around{justify-self:space-around!important}.sm-align-content-start{align-content:flex-start!important}.sm-align-content-end{align-content:flex-end!important}.sm-align-content-center{align-content:center!important}.sm-align-content-between{align-content:space-between!important}.sm-align-content-around{align-content:space-around!important}.sm-align-content-stretch{align-content:stretch!important}.sm-align-self-auto{align-self:auto!important}.sm-align-self-start{align-self:flex-start!important}.sm-align-self-end{align-self:flex-end!important}.sm-align-self-center{align-self:center!important}.sm-align-self-baseline{align-self:baseline!important}.sm-align-self-stretch{align-self:stretch!important}}@media (min-width: 1100px){.md-flex-row{flex-direction:row!important}.md-flex-col{flex-direction:column!important}.md-flex-row-reverse{flex-direction:row-reverse!important}.md-flex-col-reverse{flex-direction:column-reverse!important}.md-flex-wrap{flex-wrap:wrap!important}.md-flex-nowrap{flex-wrap:nowrap!important}.md-flex-wrap-reverse{flex-wrap:wrap-reverse!important}.md-flex-fill{flex:1 1 auto!important}.md-flex-grow-0{flex-grow:0!important}.md-flex-grow-1{flex-grow:1!important}.md-flex-shrink-0{flex-shrink:0!important}.md-flex-shrink-1{flex-shrink:1!important}.md-justify-start{justify-content:flex-start!important}.md-justify-end{justify-content:flex-end!important}.md-justify-center{justify-content:center!important}.md-justify-between{justify-content:space-between!important}.md-justify-around{justify-content:space-around!important}.md-justify-unset{justify-content:unset!important}.md-align-start{align-items:flex-start!important}.md-align-end{align-items:flex-end!important}.md-align-center{align-items:center!important}.md-align-baseline{align-items:baseline!important}.md-align-stretch{align-items:stretch!important}.md-align-unset{align-items:unset!important}.md-justify-start{justify-self:flex-start!important}.md-justify-self-end{justify-self:flex-end!important}.md-justify-self-center{justify-self:center!important}.md-justify-self-between{justify-self:space-between!important}.md-justify-self-around{justify-self:space-around!important}.md-align-content-start{align-content:flex-start!important}.md-align-content-end{align-content:flex-end!important}.md-align-content-center{align-content:center!important}.md-align-content-between{align-content:space-between!important}.md-align-content-around{align-content:space-around!important}.md-align-content-stretch{align-content:stretch!important}.md-align-self-auto{align-self:auto!important}.md-align-self-start{align-self:flex-start!important}.md-align-self-end{align-self:flex-end!important}.md-align-self-center{align-self:center!important}.md-align-self-baseline{align-self:baseline!important}.md-align-self-stretch{align-self:stretch!important}}@media (min-width: 1440px){.lg-flex-row{flex-direction:row!important}.lg-flex-col{flex-direction:column!important}.lg-flex-row-reverse{flex-direction:row-reverse!important}.lg-flex-col-reverse{flex-direction:column-reverse!important}.lg-flex-wrap{flex-wrap:wrap!important}.lg-flex-nowrap{flex-wrap:nowrap!important}.lg-flex-wrap-reverse{flex-wrap:wrap-reverse!important}.lg-flex-fill{flex:1 1 auto!important}.lg-flex-grow-0{flex-grow:0!important}.lg-flex-grow-1{flex-grow:1!important}.lg-flex-shrink-0{flex-shrink:0!important}.lg-flex-shrink-1{flex-shrink:1!important}.lg-justify-start{justify-content:flex-start!important}.lg-justify-end{justify-content:flex-end!important}.lg-justify-center{justify-content:center!important}.lg-justify-between{justify-content:space-between!important}.lg-justify-around{justify-content:space-around!important}.lg-justify-unset{justify-content:unset!important}.lg-align-start{align-items:flex-start!important}.lg-align-end{align-items:flex-end!important}.lg-align-center{align-items:center!important}.lg-align-baseline{align-items:baseline!important}.lg-align-stretch{align-items:stretch!important}.lg-align-unset{align-items:unset!important}.lg-justify-start{justify-self:flex-start!important}.lg-justify-self-end{justify-self:flex-end!important}.lg-justify-self-center{justify-self:center!important}.lg-justify-self-between{justify-self:space-between!important}.lg-justify-self-around{justify-self:space-around!important}.lg-align-content-start{align-content:flex-start!important}.lg-align-content-end{align-content:flex-end!important}.lg-align-content-center{align-content:center!important}.lg-align-content-between{align-content:space-between!important}.lg-align-content-around{align-content:space-around!important}.lg-align-content-stretch{align-content:stretch!important}.lg-align-self-auto{align-self:auto!important}.lg-align-self-start{align-self:flex-start!important}.lg-align-self-end{align-self:flex-end!important}.lg-align-self-center{align-self:center!important}.lg-align-self-baseline{align-self:baseline!important}.lg-align-self-stretch{align-self:stretch!important}}.font_10_500{font-size:10px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_10_500{font-size:10px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_10_500{font-size:10px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_10_500{font-size:10px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_10_500{font-size:10px!important;font-weight:500!important}}.font_10_600{font-size:10px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_10_600{font-size:10px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_10_600{font-size:10px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_10_600{font-size:10px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_10_600{font-size:10px!important;font-weight:600!important}}.font_11_500{font-size:11px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_11_500{font-size:11px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_11_500{font-size:11px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_11_500{font-size:11px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_11_500{font-size:11px!important;font-weight:500!important}}.font_11_600{font-size:11px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_11_600{font-size:11px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_11_600{font-size:11px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_11_600{font-size:11px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_11_600{font-size:11px!important;font-weight:600!important}}.font_11_700{font-size:11px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_11_700{font-size:11px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_11_700{font-size:11px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_11_700{font-size:11px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_11_700{font-size:11px!important;font-weight:700!important}}.font_12_400{font-size:12px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_12_400{font-size:12px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_12_400{font-size:12px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_12_400{font-size:12px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_12_400{font-size:12px!important;font-weight:400!important}}.font_12_500{font-size:12px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_12_500{font-size:12px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_12_500{font-size:12px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_12_500{font-size:12px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_12_500{font-size:12px!important;font-weight:500!important}}.font_12_600{font-size:12px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_12_600{font-size:12px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_12_600{font-size:12px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_12_600{font-size:12px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_12_600{font-size:12px!important;font-weight:600!important}}.font_13_400{font-size:13px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_13_400{font-size:13px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_13_400{font-size:13px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_13_400{font-size:13px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_13_400{font-size:13px!important;font-weight:400!important}}.font_13_500{font-size:13px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_13_500{font-size:13px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_13_500{font-size:13px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_13_500{font-size:13px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_13_500{font-size:13px!important;font-weight:500!important}}.font_13_600{font-size:13px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_13_600{font-size:13px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_13_600{font-size:13px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_13_600{font-size:13px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_13_600{font-size:13px!important;font-weight:600!important}}.font_13_700{font-size:13px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_13_700{font-size:13px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_13_700{font-size:13px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_13_700{font-size:13px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_13_700{font-size:13px!important;font-weight:700!important}}.font_14_400{font-size:14px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_14_400{font-size:14px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_14_400{font-size:14px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_14_400{font-size:14px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_14_400{font-size:14px!important;font-weight:400!important}}.font_14_500{font-size:14px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_14_500{font-size:14px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_14_500{font-size:14px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_14_500{font-size:14px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_14_500{font-size:14px!important;font-weight:500!important}}.font_14_600{font-size:14px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_14_600{font-size:14px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_14_600{font-size:14px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_14_600{font-size:14px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_14_600{font-size:14px!important;font-weight:600!important}}.font_15_400{font-size:15px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_15_400{font-size:15px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_15_400{font-size:15px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_15_400{font-size:15px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_15_400{font-size:15px!important;font-weight:400!important}}.font_15_500{font-size:15px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_15_500{font-size:15px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_15_500{font-size:15px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_15_500{font-size:15px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_15_500{font-size:15px!important;font-weight:500!important}}.font_15_600{font-size:15px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_15_600{font-size:15px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_15_600{font-size:15px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_15_600{font-size:15px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_15_600{font-size:15px!important;font-weight:600!important}}.font_15_700{font-size:15px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_15_700{font-size:15px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_15_700{font-size:15px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_15_700{font-size:15px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_15_700{font-size:15px!important;font-weight:700!important}}.font_16_400{font-size:16px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_16_400{font-size:16px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_16_400{font-size:16px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_16_400{font-size:16px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_16_400{font-size:16px!important;font-weight:400!important}}.font_16_500{font-size:16px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_16_500{font-size:16px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_16_500{font-size:16px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_16_500{font-size:16px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_16_500{font-size:16px!important;font-weight:500!important}}.font_16_600{font-size:16px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_16_600{font-size:16px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_16_600{font-size:16px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_16_600{font-size:16px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_16_600{font-size:16px!important;font-weight:600!important}}.font_16_700{font-size:16px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_16_700{font-size:16px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_16_700{font-size:16px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_16_700{font-size:16px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_16_700{font-size:16px!important;font-weight:700!important}}.font_17_600{font-size:17px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_17_600{font-size:17px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_17_600{font-size:17px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_17_600{font-size:17px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_17_600{font-size:17px!important;font-weight:600!important}}.font_18_400{font-size:18px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_18_400{font-size:18px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_18_400{font-size:18px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_18_400{font-size:18px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_18_400{font-size:18px!important;font-weight:400!important}}.font_18_500{font-size:18px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_18_500{font-size:18px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_18_500{font-size:18px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_18_500{font-size:18px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_18_500{font-size:18px!important;font-weight:500!important}}.font_18_600{font-size:18px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_18_600{font-size:18px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_18_600{font-size:18px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_18_600{font-size:18px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_18_600{font-size:18px!important;font-weight:600!important}}.font_18_700{font-size:18px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_18_700{font-size:18px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_18_700{font-size:18px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_18_700{font-size:18px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_18_700{font-size:18px!important;font-weight:700!important}}.font_20_400{font-size:20px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_20_400{font-size:20px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_20_400{font-size:20px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_20_400{font-size:20px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_20_400{font-size:20px!important;font-weight:400!important}}.font_22_400{font-size:22px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_22_400{font-size:22px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_22_400{font-size:22px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_22_400{font-size:22px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_22_400{font-size:22px!important;font-weight:400!important}}.font_20_600{font-size:20px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_20_600{font-size:20px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_20_600{font-size:20px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_20_600{font-size:20px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_20_600{font-size:20px!important;font-weight:600!important}}.font_20_700{font-size:20px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_20_700{font-size:20px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_20_700{font-size:20px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_20_700{font-size:20px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_20_700{font-size:20px!important;font-weight:700!important}}.font_24_400{font-size:24px!important;font-weight:400!important}@media (min-width: 0px){.xs-font_24_400{font-size:24px!important;font-weight:400!important}}@media (min-width: 640px){.sm-font_24_400{font-size:24px!important;font-weight:400!important}}@media (min-width: 1100px){.md-font_24_400{font-size:24px!important;font-weight:400!important}}@media (min-width: 1440px){.lg-font_24_400{font-size:24px!important;font-weight:400!important}}.font_24_500{font-size:24px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_24_500{font-size:24px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_24_500{font-size:24px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_24_500{font-size:24px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_24_500{font-size:24px!important;font-weight:500!important}}.font_24_600{font-size:24px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_24_600{font-size:24px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_24_600{font-size:24px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_24_600{font-size:24px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_24_600{font-size:24px!important;font-weight:600!important}}.font_24_700{font-size:24px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_24_700{font-size:24px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_24_700{font-size:24px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_24_700{font-size:24px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_24_700{font-size:24px!important;font-weight:700!important}}.font_25_600{font-size:25px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_25_600{font-size:25px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_25_600{font-size:25px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_25_600{font-size:25px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_25_600{font-size:25px!important;font-weight:600!important}}.font_25_700{font-size:25px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_25_700{font-size:25px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_25_700{font-size:25px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_25_700{font-size:25px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_25_700{font-size:25px!important;font-weight:700!important}}.font_28_600{font-size:28px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_28_600{font-size:28px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_28_600{font-size:28px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_28_600{font-size:28px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_28_600{font-size:28px!important;font-weight:600!important}}.font_30_700{font-size:30px!important;font-weight:700!important}@media (min-width: 0px){.xs-font_30_700{font-size:30px!important;font-weight:700!important}}@media (min-width: 640px){.sm-font_30_700{font-size:30px!important;font-weight:700!important}}@media (min-width: 1100px){.md-font_30_700{font-size:30px!important;font-weight:700!important}}@media (min-width: 1440px){.lg-font_30_700{font-size:30px!important;font-weight:700!important}}.font_32_600{font-size:32px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_32_600{font-size:32px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_32_600{font-size:32px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_32_600{font-size:32px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_32_600{font-size:32px!important;font-weight:600!important}}.font_36_600{font-size:36px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_36_600{font-size:36px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_36_600{font-size:36px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_36_600{font-size:36px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_36_600{font-size:36px!important;font-weight:600!important}}.font_44_500{font-size:44px!important;font-weight:500!important}@media (min-width: 0px){.xs-font_44_500{font-size:44px!important;font-weight:500!important}}@media (min-width: 640px){.sm-font_44_500{font-size:44px!important;font-weight:500!important}}@media (min-width: 1100px){.md-font_44_500{font-size:44px!important;font-weight:500!important}}@media (min-width: 1440px){.lg-font_44_500{font-size:44px!important;font-weight:500!important}}.font_44_600{font-size:44px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_44_600{font-size:44px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_44_600{font-size:44px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_44_600{font-size:44px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_44_600{font-size:44px!important;font-weight:600!important}}.font_52_600{font-size:52px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_52_600{font-size:52px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_52_600{font-size:52px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_52_600{font-size:52px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_52_600{font-size:52px!important;font-weight:600!important}}.font_60_600{font-size:60px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_60_600{font-size:60px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_60_600{font-size:60px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_60_600{font-size:60px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_60_600{font-size:60px!important;font-weight:600!important}}.font_64_600{font-size:64px!important;font-weight:600!important}@media (min-width: 0px){.xs-font_64_600{font-size:64px!important;font-weight:600!important}}@media (min-width: 640px){.sm-font_64_600{font-size:64px!important;font-weight:600!important}}@media (min-width: 1100px){.md-font_64_600{font-size:64px!important;font-weight:600!important}}@media (min-width: 1440px){.lg-font_64_600{font-size:64px!important;font-weight:600!important}}.bg-primary{background-color:#b8eae1!important}.text-primary{color:#b8eae1!important}.b-primary{border-color:#b8eae1!important}@media (min-width: 0px){.xs-bg-primary{background-color:#b8eae1!important}.xs-text-primary{color:#b8eae1!important}}@media (min-width: 640px){.sm-bg-primary{background-color:#b8eae1!important}.sm-text-primary{color:#b8eae1!important}}@media (min-width: 1100px){.md-bg-primary{background-color:#b8eae1!important}.md-text-primary{color:#b8eae1!important}}@media (min-width: 1440px){.lg-bg-primary{background-color:#b8eae1!important}.lg-text-primary{color:#b8eae1!important}}.bg-secondary{background-color:#fff3f0!important}.text-secondary{color:#fff3f0!important}.b-secondary{border-color:#fff3f0!important}@media (min-width: 0px){.xs-bg-secondary{background-color:#fff3f0!important}.xs-text-secondary{color:#fff3f0!important}}@media (min-width: 640px){.sm-bg-secondary{background-color:#fff3f0!important}.sm-text-secondary{color:#fff3f0!important}}@media (min-width: 1100px){.md-bg-secondary{background-color:#fff3f0!important}.md-text-secondary{color:#fff3f0!important}}@media (min-width: 1440px){.lg-bg-secondary{background-color:#fff3f0!important}.lg-text-secondary{color:#fff3f0!important}}.bg-darkGrey{background-color:#282626!important}.text-darkGrey{color:#282626!important}.b-darkGrey{border-color:#282626!important}@media (min-width: 0px){.xs-bg-darkGrey{background-color:#282626!important}.xs-text-darkGrey{color:#282626!important}}@media (min-width: 640px){.sm-bg-darkGrey{background-color:#282626!important}.sm-text-darkGrey{color:#282626!important}}@media (min-width: 1100px){.md-bg-darkGrey{background-color:#282626!important}.md-text-darkGrey{color:#282626!important}}@media (min-width: 1440px){.lg-bg-darkGrey{background-color:#282626!important}.lg-text-darkGrey{color:#282626!important}}.bg-white{background-color:#fff!important}.text-white{color:#fff!important}.b-white{border-color:#fff!important}@media (min-width: 0px){.xs-bg-white{background-color:#fff!important}.xs-text-white{color:#fff!important}}@media (min-width: 640px){.sm-bg-white{background-color:#fff!important}.sm-text-white{color:#fff!important}}@media (min-width: 1100px){.md-bg-white{background-color:#fff!important}.md-text-white{color:#fff!important}}@media (min-width: 1440px){.lg-bg-white{background-color:#fff!important}.lg-text-white{color:#fff!important}}.bg-grey{background-color:#f9f9f9!important}.text-grey{color:#f9f9f9!important}.b-grey{border-color:#f9f9f9!important}@media (min-width: 0px){.xs-bg-grey{background-color:#f9f9f9!important}.xs-text-grey{color:#f9f9f9!important}}@media (min-width: 640px){.sm-bg-grey{background-color:#f9f9f9!important}.sm-text-grey{color:#f9f9f9!important}}@media (min-width: 1100px){.md-bg-grey{background-color:#f9f9f9!important}.md-text-grey{color:#f9f9f9!important}}@media (min-width: 1440px){.lg-bg-grey{background-color:#f9f9f9!important}.lg-text-grey{color:#f9f9f9!important}}.bg-light{background-color:#f0f0f0!important}.text-light{color:#f0f0f0!important}.b-light{border-color:#f0f0f0!important}@media (min-width: 0px){.xs-bg-light{background-color:#f0f0f0!important}.xs-text-light{color:#f0f0f0!important}}@media (min-width: 640px){.sm-bg-light{background-color:#f0f0f0!important}.sm-text-light{color:#f0f0f0!important}}@media (min-width: 1100px){.md-bg-light{background-color:#f0f0f0!important}.md-text-light{color:#f0f0f0!important}}@media (min-width: 1440px){.lg-bg-light{background-color:#f0f0f0!important}.lg-text-light{color:#f0f0f0!important}}.bg-muted{background-color:#6c757d!important}.text-muted{color:#6c757d!important}.b-muted{border-color:#6c757d!important}@media (min-width: 0px){.xs-bg-muted{background-color:#6c757d!important}.xs-text-muted{color:#6c757d!important}}@media (min-width: 640px){.sm-bg-muted{background-color:#6c757d!important}.sm-text-muted{color:#6c757d!important}}@media (min-width: 1100px){.md-bg-muted{background-color:#6c757d!important}.md-text-muted{color:#6c757d!important}}@media (min-width: 1440px){.lg-bg-muted{background-color:#6c757d!important}.lg-text-muted{color:#6c757d!important}}.bg-almostBlack{background-color:#090909!important}.text-almostBlack{color:#090909!important}.b-almostBlack{border-color:#090909!important}@media (min-width: 0px){.xs-bg-almostBlack{background-color:#090909!important}.xs-text-almostBlack{color:#090909!important}}@media (min-width: 640px){.sm-bg-almostBlack{background-color:#090909!important}.sm-text-almostBlack{color:#090909!important}}@media (min-width: 1100px){.md-bg-almostBlack{background-color:#090909!important}.md-text-almostBlack{color:#090909!important}}@media (min-width: 1440px){.lg-bg-almostBlack{background-color:#090909!important}.lg-text-almostBlack{color:#090909!important}}.bg-gooeyDanger{background-color:#dc3545!important}.text-gooeyDanger{color:#dc3545!important}.b-gooeyDanger{border-color:#dc3545!important}@media (min-width: 0px){.xs-bg-gooeyDanger{background-color:#dc3545!important}.xs-text-gooeyDanger{color:#dc3545!important}}@media (min-width: 640px){.sm-bg-gooeyDanger{background-color:#dc3545!important}.sm-text-gooeyDanger{color:#dc3545!important}}@media (min-width: 1100px){.md-bg-gooeyDanger{background-color:#dc3545!important}.md-text-gooeyDanger{color:#dc3545!important}}@media (min-width: 1440px){.lg-bg-gooeyDanger{background-color:#dc3545!important}.lg-text-gooeyDanger{color:#dc3545!important}}.text-capitalize{text-transform:capitalize}.hover-underline:hover{text-decoration:underline}.hover-grow:hover{transition:transform .1s ease-in;transform:scale(1.1);z-index:99}.hover-grow:active{transition:transform .1s ease-in;transform:scale(1)}.hover-bg-primary:hover{background-color:#b8eae1;color:#282626}[data-tooltip]{position:relative;z-index:2;cursor:pointer}[data-tooltip]:before,[data-tooltip]:after{visibility:hidden;opacity:0;pointer-events:none}[data-tooltip]:before{position:absolute;bottom:15%;left:calc(-100% - 8px);margin-bottom:5px;padding:7px;width:fit-content;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:#000;background-color:#333333e6;color:#fff;content:attr(data-tooltip);text-align:center;font-size:14px;line-height:1.2}[data-tooltip]:hover:before,[data-tooltip]:hover:after{visibility:visible;opacity:1}.br-large-right{border-radius:0 16px 16px 0}.br-large-left{border-radius:16px 0 0 16px}.text-underline{text-decoration:underline}.text-lowercase{text-transform:lowercase}.text-decoration-none{text-decoration:none}.translucent-text{opacity:.67}.br-default{border-radius:8px!important}.br-small{border-radius:4px!important}.br-large{border-radius:16px!important}.b-1{border:1px solid #eee}.b-btm-1{border-bottom:1px solid #eee}.b-top-1{border-top:1px solid #eee}.b-rt-1{border-right:1px solid #eee}.b-none{border:none!important}.overflow-hidden,.overflow-x-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.overflow-x-clip{overflow-x:clip}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.br-circle{border-radius:50%}.cr-pointer{cursor:pointer}.stroke-white{stroke:#fff!important}.top-0{top:0}.left-0{left:0}.h-header{height:56px}@media (max-width: 1100px){.xs-text-center{text-align:center}.xs-b-none{border:none}}.d-flex{display:flex!important}.d-block{display:block!important}.d-none{display:none!important}.d-inline-block{display:inline-block!important}@media (min-width: 0px){.xs-d-flex{display:flex!important}.xs-d-block{display:block!important}.xs-d-none{display:none!important}.xs-d-inline-block{display:inline-block!important}}@media (min-width: 640px){.sm-d-flex{display:flex!important}.sm-d-block{display:block!important}.sm-d-none{display:none!important}.sm-d-inline-block{display:inline-block!important}}@media (min-width: 1100px){.md-d-flex{display:flex!important}.md-d-block{display:block!important}.md-d-none{display:none!important}.md-d-inline-block{display:inline-block!important}}@media (min-width: 1440px){.lg-d-flex{display:flex!important}.lg-d-block{display:block!important}.lg-d-none{display:none!important}.lg-d-inline-block{display:inline-block!important}}.pos-relative{position:relative!important}.pos-absolute{position:absolute!important}.pos-sticky{position:sticky!important}.pos-fixed{position:fixed!important}.pos-static{position:static!important}.pos-initial{position:initial!important}.pos-unset{position:unset!important}:export{primary:hsl(169,55%,82%);secondary:hsl(12,100%,97%);border-color:#eee;gooeyDanger:#dc3545}@keyframes popup{0%{opacity:0;transform:translateY(1000px)}30%{opacity:.6;transform:translateY(100px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in-A{0%{opacity:0;transition:opacity .2s ease}to{opacity:1}}.fade-in-A{animation:fade-in-A .3s ease .5s}.anim-typing{line-height:130%!important;opacity:1;width:100%;animation:typing .25s steps(30),blink-border .2s step-end infinite alternate;overflow:hidden;white-space:inherit}.text-reveal-container *:not(code,div,pre,ol,ul){opacity:1;animation:anim-textReveal .35s cubic-bezier(.43,.02,.06,.62) 0s forwards 1}@keyframes anim-textReveal{0%{opacity:0}to{opacity:1}}@keyframes typing{0%{opacity:0;width:0;white-space:nowrap}to{opacity:1;white-space:nowrap}}.anim-blink-self{animation:blink 1s infinite}.anim-blink{animation:border-blink .5s infinite}@keyframes border-blink{0%{opacity:0}to{opacity:1}}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.bx-shadowA{box-shadow:#0000001a 0 1px 4px,#0003 0 2px 12px}.bx-shadowB{box-shadow:#00000026 0 15px 25px,#0000000d 0 5px 10px}.blur-edges{-webkit-filter:blur(5px);-moz-filter:blur(5px);-o-filter:blur(5px);-ms-filter:blur(5px);filter:blur(5px)}');function h2({config:n}){var i,o;return n={mode:"inline",enableAudioMessage:!0,showSources:!0,...n,branding:{showPoweredByGooey:!0,...n==null?void 0:n.branding}},(i=n.branding).name||(i.name="Gooey"),(o=n.branding).photoUrl||(o.photoUrl="https://gooey.ai/favicon.ico"),g.jsxs("div",{className:"gooey-embed-container",tabIndex:-1,children:[g.jsx(R0,{}),g.jsx(Vg,{config:n,children:g.jsx(F0,{children:g.jsx(f2,{})})})]})}function x2(n,i){const o=n.attachShadow({mode:"open",delegatesFocus:!0}),s=ya.createRoot(o);return s.render(g.jsx(Qn.StrictMode,{children:g.jsx(h2,{config:i})})),s}class y2{constructor(){Tt(this,"defaultConfig",{});Tt(this,"_mounted",[])}mount(i){i={...this.defaultConfig,...i};const o=document.querySelector(i.target);if(!o)throw new Error(`Target not found: ${i.target}. Please provide a valid "target" selector in the config object.`);if(!i.integration_id)throw new Error('Integration ID is required. Please provide an "integration_id" in the config object.');const s=document.createElement("div");s.style.display="contents",o.children.length>0&&o.removeChild(o.children[0]),o.appendChild(s);const p=x2(s,i);this._mounted.push({innerDiv:s,root:p}),globalThis.gooeyShadowRoot=s==null?void 0:s.shadowRoot}unmount(){for(const{innerDiv:i,root:o}of this._mounted)o.unmount(),i.remove();this._mounted=[]}}const Iu=new y2;return window.GooeyEmbed=Iu,Iu}(); diff --git a/package.json b/package.json index ea80829..699ede0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "gooey-chat", "private": true, - "version": "0.0.0", + "version": "2.1.0", "type": "module", "scripts": { "dev": "vite", diff --git a/src/assets/SvgIcons/BackIcon.tsx b/src/assets/SvgIcons/BackIcon.tsx deleted file mode 100644 index 9bb3dca..0000000 --- a/src/assets/SvgIcons/BackIcon.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import SvgIcon from "src/components/shared/SvgIcon"; - -const BackIcon = (props: any) => { - return ( - - - - - - ); -}; - -export default BackIcon; diff --git a/src/assets/SvgIcons/HomeIcon.tsx b/src/assets/SvgIcons/HomeIcon.tsx deleted file mode 100644 index 2f025ee..0000000 --- a/src/assets/SvgIcons/HomeIcon.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import SvgIcon from "src/components/shared/SvgIcon"; - -const HomeIcon = (props: any) => { - return ( - - - - - - ); -}; - -export default HomeIcon; diff --git a/src/assets/SvgIcons/IconExternalLink.tsx b/src/assets/SvgIcons/IconExternalLink.tsx deleted file mode 100644 index 504117f..0000000 --- a/src/assets/SvgIcons/IconExternalLink.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import SvgIcon from "src/components/shared/SvgIcon"; - -const IconExternalLink = (props: any) => { - const size = props.size || 16; - return ( - - - - - - ); -}; - -export default IconExternalLink; diff --git a/src/assets/SvgIcons/IconListTimeline.tsx b/src/assets/SvgIcons/IconListTimeline.tsx deleted file mode 100644 index b09c653..0000000 --- a/src/assets/SvgIcons/IconListTimeline.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import SvgIcon from "src/components/shared/SvgIcon"; - -const IconListTimeline = (props: any) => { - const size = props.size || 16; - return ( - - - // !Font Awesome Pro 6.5.1 by @fontawesome - https://fontawesome.com - License - https://fontawesome.com/license (Commercial License) Copyright - 2024 Fonticons, Inc - - - - ); -}; - -export default IconListTimeline; diff --git a/src/assets/SvgIcons/IconSideBar.tsx b/src/assets/SvgIcons/IconSideBar.tsx new file mode 100644 index 0000000..03b676a --- /dev/null +++ b/src/assets/SvgIcons/IconSideBar.tsx @@ -0,0 +1,22 @@ +import SvgIcon from "src/components/shared/SvgIcon"; + +const IconSidebar = (props: any) => { + const size = props.size || 16; + return ( + + + //--!Font Awesome Pro 6.6.0 by @fontawesome - https://fontawesome.com + License - https://fontawesome.com/license (Commercial License) Copyright + 2024 Fonticons, Inc.-- + + + + ); +}; + +export default IconSidebar; diff --git a/src/assets/SvgIcons/MessageIcon.tsx b/src/assets/SvgIcons/MessageIcon.tsx deleted file mode 100644 index 28e1040..0000000 --- a/src/assets/SvgIcons/MessageIcon.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import SvgIcon from "src/components/shared/SvgIcon"; - -const MessageIcon = (props: any) => { - return ( - - - - - - ); -}; - -export default MessageIcon; diff --git a/src/assets/SvgIcons/PaperAirplaneIcon.tsx b/src/assets/SvgIcons/PaperAirplaneIcon.tsx deleted file mode 100644 index b8a57ec..0000000 --- a/src/assets/SvgIcons/PaperAirplaneIcon.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import SvgIcon from "src/components/shared/SvgIcon"; - -const PaperAirplaneIcon = (props: any) => { - return ( - - - - - - ); -}; - -export default PaperAirplaneIcon; diff --git a/src/components/containers/withFabLauncher.tsx b/src/components/containers/withFabLauncher.tsx index 8b63e85..c497857 100644 --- a/src/components/containers/withFabLauncher.tsx +++ b/src/components/containers/withFabLauncher.tsx @@ -8,16 +8,9 @@ type WithFabLauncherType = { const WithFabLauncher: FC = ({ children, open }) => (

    {!open && } {open && <>{children}} diff --git a/src/components/shared/Buttons/Button.tsx b/src/components/shared/Buttons/Button.tsx index 43d60de..64a84e3 100644 --- a/src/components/shared/Buttons/Button.tsx +++ b/src/components/shared/Buttons/Button.tsx @@ -2,6 +2,7 @@ import { ReactNode } from "react"; import { addInlineStyle } from "src/addStyles"; import style from "./buttons.scss?inline"; +import clsx from "clsx"; addInlineStyle(style); export interface ButtonProps @@ -10,6 +11,9 @@ export interface ButtonProps children?: ReactNode; className?: string; variant?: "filled" | "contained" | "outlined" | "text" | "text-alt"; + RightIconComponent?: React.FC; + showIconOnHover?: boolean; + hideOverflow?: boolean; } const Button = ({ @@ -17,6 +21,9 @@ const Button = ({ variant = "text", className = "", onClick, + RightIconComponent, + showIconOnHover, + hideOverflow, ...rest }: ButtonProps) => { const variantClasses = `button-${variant?.toLowerCase()}`; @@ -27,7 +34,25 @@ const Button = ({ onMouseDown={onClick} className={variantClasses + " " + className} > - {rest.children} +
    + {rest.children} + {RightIconComponent && ( +
    + +
    + )} + {hideOverflow &&
    } +
    ); }; diff --git a/src/components/shared/Buttons/buttons.scss b/src/components/shared/Buttons/buttons.scss index 7447045..f22fe48 100644 --- a/src/components/shared/Buttons/buttons.scss +++ b/src/components/shared/Buttons/buttons.scss @@ -13,14 +13,38 @@ button { border-radius: 8px; padding: 8px; color: $almost-black; + width: fit-content; } + button:disabled { color: $muted !important; fill: $light; cursor: unset; } -// Variant - FILED +button .btn-icon { + position: absolute; + top: 50%; + transform: translateY(-50%); + right: 0; + z-index: 2; +} + +button .icon-hover { + opacity: 0; +} + +button .btn-hide-overflow p { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +button:hover .icon-hover { + opacity: 1; +} + +// Variant - FILLED .button-filled { background-color: #eee; } @@ -64,7 +88,7 @@ button:disabled { } .button-text-alt:hover { - border: 1px solid transparent; + background-color: $light; } .collapsed-area { diff --git a/src/components/shared/Layout/AppLayout.tsx b/src/components/shared/Layout/AppLayout.tsx index 7b9f16a..4449d59 100644 --- a/src/components/shared/Layout/AppLayout.tsx +++ b/src/components/shared/Layout/AppLayout.tsx @@ -1,28 +1,92 @@ import clsx from "clsx"; +import { useMessagesContext, useSystemContext } from "src/contexts/hooks"; +import { CHAT_INPUT_ID } from "src/widgets/copilot/components/ChatInput"; +import Header from "src/widgets/copilot/components/Header"; + +import { addInlineStyle } from "src/addStyles"; +import style from "./appLayout.scss?inline"; +import SideNavbar from "./SideNavbar"; + +addInlineStyle(style); type Props = { children: JSX.Element | JSX.Element[] | (() => JSX.Element); view?: string; onViewChange?: (val: string) => void; + isInline?: boolean; +}; + +const CHAT_WINDOW_WIDTH = 760; + +const generateParentContainerClass = ( + isInline: boolean, + isFullScreen: boolean, + isFocusMode: boolean +) => { + if (!isInline) { + if (isFocusMode) return "gooey-focused-popup"; + return "gooey-popup"; + } + if (isFullScreen) return "gooey-fullscreen-container"; + return "gooey-inline-container"; }; -const AppLayout = ({ - children, -}: Props) => { +const ClickAwayListener = ({ onClick, children }: any) => { + return ( +
    + {children} +
    + ); +}; + +const AppLayout = ({ children }: Props) => { + const { config, layoutController } = useSystemContext(); + const { handleNewConversation }: any = useMessagesContext(); + + const handleEditClick = () => { + handleNewConversation(); + const ele = gooeyShadowRoot?.getElementById(CHAT_INPUT_ID); + ele?.focus(); + }; + return ( -
    -
    - <> -
    - <>{children} -
    - -
    +
    +
    + + {layoutController?.isSidebarOpen && layoutController?.isMobile && ( + + )} +
    +
    +
    + <>{children} +
    +
    +
    +
    ); }; diff --git a/src/components/shared/Layout/SideNavbar.tsx b/src/components/shared/Layout/SideNavbar.tsx new file mode 100644 index 0000000..bd5e99e --- /dev/null +++ b/src/components/shared/Layout/SideNavbar.tsx @@ -0,0 +1,294 @@ +import { useMessagesContext, useSystemContext } from "src/contexts/hooks"; +import IconButton from "../Buttons/IconButton"; +import IconSidebar from "src/assets/SvgIcons/IconSideBar"; +import Button from "../Buttons/Button"; +import clsx from "clsx"; +import { Conversation } from "src/contexts/ConversationLayer"; +import React from "react"; +import IconClose from "src/assets/SvgIcons/IconClose"; +import IconCollapse from "src/assets/SvgIcons/IconCollapse"; +import IconExpand from "src/assets/SvgIcons/IconExpand"; +import IconPencilEdit from "src/assets/SvgIcons/PencilEdit"; +import GooeyTooltip from "../Tooltip"; + +const SideNavbar = () => { + const { + conversations, + setActiveConversation, + currentConversationId, + handleNewConversation, + messages, + }: any = useMessagesContext(); + const { layoutController, config } = useSystemContext(); + const branding = config?.branding; + const conversationsList = React.useMemo(() => { + if (!conversations || conversations.length === 0) return []; + const now = new Date().getTime(); + const today = new Date().setHours(0, 0, 0, 0); + const endToday = new Date().setHours(23, 59, 59, 999); + const yesterday = new Date(today - 1).setHours(0, 0, 0, 0); + const endYesterday = new Date(today - 1).setHours(23, 59, 59, 999); + const sevenDaysInMs = 7 * 24 * 60 * 60 * 1000; // days x hours x minutes x seconds x milliseconds + const thirtyDaysInMs = 30 * 24 * 60 * 60 * 1000; // days x hours x minutes x seconds x milliseconds + + const grouped: any = { + Today: [], + Yesterday: [], + "Previous 7 Days": [], + "Previous 30 Days": [], + Months: {}, + }; + + conversations.forEach((conversation: Conversation) => { + const lastMessageTimestamp = new Date( + conversation.timestamp as string + ).getTime(); + let subheading: string; + + if (lastMessageTimestamp >= today && lastMessageTimestamp <= endToday) { + subheading = "Today"; + } else if ( + lastMessageTimestamp >= yesterday && + lastMessageTimestamp <= endYesterday + ) { + subheading = "Yesterday"; + } else if ( + lastMessageTimestamp > endToday - sevenDaysInMs && + lastMessageTimestamp <= endToday + ) { + subheading = "Previous 7 Days"; + } else if (now - lastMessageTimestamp <= thirtyDaysInMs) { + subheading = "Previous 30 Days"; + } else { + const monthName: string = new Date(lastMessageTimestamp).toLocaleString( + "default", + { + month: "long", + } + ); + if (!grouped.Months[monthName]) { + grouped.Months[monthName] = []; + } + grouped.Months[monthName].push(conversation); + return; // Skip adding to other groups + } + grouped[subheading].unshift(conversation); + }); + + // Convert Months object to array + const monthEntries = Object.entries(grouped.Months).map( + ([monthName, conversations]) => ({ + subheading: monthName, + conversations, + }) + ); + + // Combine all groups into a single array + return [ + { subheading: "Today", conversations: grouped.Today }, + { subheading: "Yesterday", conversations: grouped.Yesterday }, + { + subheading: "Previous 7 Days", + conversations: grouped["Previous 7 Days"], + }, + { + subheading: "Previous 30 Days", + conversations: grouped["Previous 30 Days"], + }, + ...monthEntries, + ].filter((group) => group?.conversations?.length > 0); + }, [conversations]); + + if (!layoutController?.showNewConversationButton) return null; + const isEmpty = !messages?.size; + return ( + + ); +}; + +// Memoized component for individual conversation buttons +const ConversationButton: React.FC<{ + conversation: Conversation; + isActive: boolean; + onClick: () => void; +}> = React.memo(({ conversation, isActive, onClick }) => { + // use timestamp in day, time format for title if no message is present + const tempTitle = + conversation?.title || + new Date(conversation.timestamp as string).toLocaleString("default", { + day: "numeric", + month: "short", + hour: "numeric", + minute: "numeric", + hour12: true, + }); + return ( + + ); +}); + +export default SideNavbar; diff --git a/src/widgets/copilot/components/widget/widget.scss b/src/components/shared/Layout/appLayout.scss similarity index 63% rename from src/widgets/copilot/components/widget/widget.scss rename to src/components/shared/Layout/appLayout.scss index 724cc10..dd0b886 100644 --- a/src/widgets/copilot/components/widget/widget.scss +++ b/src/components/shared/Layout/appLayout.scss @@ -1,19 +1,21 @@ .gooeyChat-widget-container { + width: 100%; + height: 100%; + transition-duration: 0.15s; + transition-property: color, background-color, border-color, + text-decoration-color, fill, stroke; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); +} + +.gooey-popup { animation: popup 0.1s; position: fixed; bottom: 0; right: 0; - width: 100%; - height: 100%; -} -.gooeyChat-widget-container-expanded { - position: relative; - width: 100%; - height: 100%; - border-radius: 4px; + z-index: 9999; } -.gooeyChat-widget-container-fullWidth { +.gooey-inline { position: relative; width: 100%; height: 100%; @@ -28,26 +30,16 @@ z-index: 9999; } -.gooey-expanded-popup { - animation: popup 0.1s; +.gooey-focused-popup { + transform: translateY(0px); + // animation: popup 0.1s !important; position: fixed; top: 0; left: 0; - width: 100%; - height: 100%; - z-index: 9999; } -@media (min-width: 560px) { - - .gooey-expanded-popup { - padding: 40px 10vw 0px 10vw; - transition: background-color 0.3s; - background-color: rgba(0, 0, 0, 0.2) !important; - z-index: 9999; - } - - .gooeyChat-widget-container { +@media (min-width: 640px) { + .gooey-popup { width: 460px; height: min(704px, 100% - 114px); border-left: 1px solid #eee; @@ -55,4 +47,10 @@ border-bottom: 1px solid #eee; } + .gooey-focused-popup { + padding: 40px 10vw 0px 10vw; + transition: background-color 0.3s; + background-color: rgba(0, 0, 0, 0.2) !important; + z-index: 9999; + } } diff --git a/src/components/shared/Popper/Popper.tsx b/src/components/shared/Popper/Popper.tsx new file mode 100644 index 0000000..7246d89 --- /dev/null +++ b/src/components/shared/Popper/Popper.tsx @@ -0,0 +1,143 @@ +import { useState } from "react"; +import { createPortal } from "react-dom"; +import { addInlineStyle } from "src/addStyles"; +import style from "./popper.scss?inline"; + +addInlineStyle(style); + +type PopperDirection = { + x: "left" | "right" | "center" | string; + y: "top" | "bottom" | "center" | string; +}; + +interface PopperProps extends React.HTMLAttributes { + children: React.ReactNode; + ModalContent?: any; + direction?: PopperDirection; + showModal: boolean; + ModalProps?: Record; +} + +const getModalCoordinates = ( + containerRef: HTMLElement, + direction: PopperDirection +) => { + const containerCoordinates = containerRef.getBoundingClientRect(); + let translateX = "0px"; + let translateY = "0px"; + const x = direction.x; + const y = direction.y; + const modalCoordinates = { + top: 0, + left: 0, + transform: "none", + }; + switch (x) { + case "left": + modalCoordinates.left = + containerCoordinates.left - containerCoordinates.width; + translateX = "calc(-50% - 12px)"; + break; + case "right": + modalCoordinates.left = containerCoordinates.right; + translateX = "12px"; + break; + case "center": + modalCoordinates.left = + containerCoordinates.left + containerCoordinates.width / 2; + modalCoordinates.transform = "translate(-50%, 12px)"; + translateY = "12px"; + translateX = "-50%"; + break; + } + + switch (y) { + case "top": + modalCoordinates.top = containerCoordinates.top - 12; + if (x === "center") modalCoordinates.transform = "translate(-50%, -100%)"; + else modalCoordinates.transform = "translate(0, -100%)"; + translateY = "0"; + if (translateX === "0") translateX = "-100%"; + break; + case "bottom": + modalCoordinates.top = containerCoordinates.bottom; + break; + case "center": + modalCoordinates.top = + containerCoordinates.top + containerCoordinates.height / 2; + translateY = "-50%"; + if (translateX === "0") translateX = "12px"; + break; + } + modalCoordinates.transform = `translate(${translateX}, ${translateY})`; + return modalCoordinates; +}; + +const Modal = ({ + containerRef, + direction, + style, + className = "", + ModalContent, + ...restProps +}: { + ModalContent: any; + containerRef: HTMLElement | null; + direction: PopperDirection; + style?: React.CSSProperties; + className?: string; +}) => { + if (!containerRef) return null; + const modalCoordinates = getModalCoordinates(containerRef, direction); + if (!ModalContent) return null; + return ( +
    + {ModalContent()} +
    + ); +}; + +const GooeyPopper = (props: PopperProps) => { + const { + ModalContent = () => null, + children, + direction = { + x: "center", + y: "bottom", + }, + showModal, + ModalProps, + ...restProps + } = props; + + const [refContainer, setRefContainer] = useState(null); + return ( +
    + {children} + {showModal && + createPortal( + } + {...ModalProps} + />, + gooeyShadowRoot?.querySelector(".gooey-embed-container") || + (document.body as Element) + )} +
    + ); +}; + +export default GooeyPopper; diff --git a/src/components/shared/Popper/popper.scss b/src/components/shared/Popper/popper.scss new file mode 100644 index 0000000..695c4c8 --- /dev/null +++ b/src/components/shared/Popper/popper.scss @@ -0,0 +1,18 @@ +.gooey-clipping-container { + position: relative; + overflow: hidden; +} + +.gooey-modal { + transition: all 0.3s; + position: fixed; + width: max-content; + background-color: white; + padding: 10px; + border-radius: 8px; + z-index: 99999; + font-weight: lighter; + line-height: normal; + box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; + inset: 0px auto auto 0px; +} diff --git a/src/components/shared/SpinLoader.tsx b/src/components/shared/SpinLoader.tsx new file mode 100644 index 0000000..816f9e8 --- /dev/null +++ b/src/components/shared/SpinLoader.tsx @@ -0,0 +1,16 @@ +import React from "react"; + +const SpinLoader: React.FC = () => { + const spinnerStyle = { + width: "50px", + height: "50px", + border: "2px solid #ccc", + borderTopColor: "transparent", + borderRadius: "50%", + animation: "rotate 1s linear infinite", + }; + + return
    ; +}; + +export default SpinLoader; diff --git a/src/components/shared/Tooltip.tsx b/src/components/shared/Tooltip.tsx index f654372..26320df 100644 --- a/src/components/shared/Tooltip.tsx +++ b/src/components/shared/Tooltip.tsx @@ -1,30 +1,135 @@ -import { useEffect } from "react"; +import { useRef, useState } from "react"; +import GooeyPopper from "./Popper/Popper"; -interface TooltipProps { - open: boolean; - fadeOutDelay?: string; - position?: "top" | "bottom" | "left" | "right"; - children?: any; -} +type TooltipDirection = "top" | "bottom" | "left" | "right"; +const TOOLTIP_INSET = "-6px"; +const getArrowStyles = (direction: TooltipDirection) => { + switch (direction) { + case "top": + return { + borderTop: "10px solid white", + borderLeft: "10px solid transparent", + borderRight: "10px solid transparent", + left: "50%", + bottom: TOOLTIP_INSET, + transform: "translateX(-50%)", + }; + case "bottom": + return { + borderBottom: "10px solid white", + borderLeft: "10px solid transparent", + borderRight: "10px solid transparent", + left: "50%", + top: TOOLTIP_INSET, + transform: "translateX(-50%)", + }; + case "left": + return { + borderLeft: "10px solid white", + borderTop: "10px solid transparent", + borderBottom: "10px solid transparent", + right: TOOLTIP_INSET, + transform: "translateY(-50%)", + top: "50%", + }; + case "right": + return { + borderRight: "10px solid white", + borderTop: "10px solid transparent", + borderBottom: "10px solid transparent", + left: TOOLTIP_INSET, + transform: "translateY(-50%)", + top: "50%", + }; + default: + return { + borderTop: "10px solid white", + borderLeft: "10px solid transparent", + borderRight: "10px solid transparent", + left: "50%", + bottom: TOOLTIP_INSET, + transform: "translateX(-50%)", + }; + } +}; -const Tooltip = ({ - open, - // position, - // fadeOutDelay = "2s", +const GooeyTooltip = ({ + text = "This is a tooltip", children, -}: TooltipProps) => { - // const [show, setShow] = useState(false); - // const ElemRef = useRef(null); - - // const closeTooptip = () => {}; - - useEffect(() => { - // if (open) { - // } - }, [open]); - - // if (open) return null; - return
    {children}
    ; + direction = "right", + disabled = false, +}: { + text?: string; + children: JSX.Element; + direction?: TooltipDirection; + disabled?: boolean; +}) => { + const [showModal, setShowModal] = useState(false); + const timerRef = useRef(null); + const arrowStyles = getArrowStyles(direction); + const isTouchDevice = 'ontouchstart' in window || navigator.maxTouchPoints > 0; + const eventHandlers = isTouchDevice + ? { + onTouchStart: () => null, + onTouchEnd: () => null, + } + : { + onMouseEnter: () => { + if (disabled) return; + timerRef.current = setTimeout(() => { + setShowModal(true); + timerRef.current = null; + }, 300); + }, + onMouseLeave: () => { + if (timerRef.current) clearTimeout(timerRef.current); + setShowModal(false); + }, + }; + return ( + ( + <> +
    +

    {text}

    + + )} + showModal={showModal} + direction={{ + x: + direction === "left" + ? "left" + : direction === "right" + ? "right" + : "center", + y: + direction === "top" + ? "top" + : direction === "bottom" + ? "bottom" + : "center", + }} + onClick={(e) => { + // prevent click/touch event from triggering the tooltip + e.preventDefault(); + e.stopPropagation(); + e.persist(); + if (timerRef.current) clearTimeout(timerRef.current); + setShowModal(false); + }} + {...eventHandlers} + aria-label={text} + > + {children} + + ); }; -export default Tooltip; +export default GooeyTooltip; diff --git a/src/contexts/ConversationLayer.tsx b/src/contexts/ConversationLayer.tsx new file mode 100644 index 0000000..ef5bbe5 --- /dev/null +++ b/src/contexts/ConversationLayer.tsx @@ -0,0 +1,167 @@ +import { useState, useEffect } from "react"; + +export interface Conversation { + id?: string; + bot_id?: string; + title?: string; + timestamp?: string; + user_id?: string; + messages?: any[]; // Array of messages + getMessages?: () => Promise; +} + +export const USER_ID_LS_KEY = "user_id"; + +export const updateLocalUser = (userId: string) => { + const ls = window.localStorage || null; + if (!ls) return console.error("Local Storage not available"); + const currentUser = localStorage.getItem("user_id"); + if (!currentUser) { + localStorage.setItem(USER_ID_LS_KEY, userId); + } +}; + +const getConversationTitle = (conversation: Conversation) => { + return conversation?.messages?.[0]?.input_prompt; +}; + +const initDB = (dbName: string) => { + return new Promise((resolve, reject) => { + const request = indexedDB.open(dbName, 1); + + request.onupgradeneeded = () => { + const db = request.result; + db.createObjectStore("conversations", { + keyPath: "id", + autoIncrement: true, + }); + }; + + request.onsuccess = () => { + resolve(request.result); + }; + + request.onerror = () => { + reject(request.error); + }; + }); +}; + +const fetchConversation = (db: IDBDatabase, conversationId: string) => { + return new Promise((resolve, reject) => { + const transaction = db.transaction(["conversations"], "readonly"); + const objectStore = transaction.objectStore("conversations"); + const request = objectStore.get(conversationId); + + request.onsuccess = () => { + resolve(request.result); + }; + + request.onerror = () => { + reject(request.error); + }; + }); +}; + +const formatConversation = (conversation: Conversation, db: IDBDatabase) => { + const conversationCopy = Object.assign({}, conversation); + conversationCopy.title = getConversationTitle(conversation); + delete conversationCopy.messages; // reduce memory usage + conversationCopy.getMessages = async () => { + const _c = await fetchConversation(db, conversation.id as string); + return _c.messages || []; + }; + return conversationCopy; +}; +const fetchAllConversations = ( + db: IDBDatabase, + user_id: string, + bot_id: string +) => { + return new Promise((resolve, reject) => { + const transaction = db.transaction(["conversations"], "readonly"); + const objectStore = transaction.objectStore("conversations"); + const request = objectStore.getAll(); + + request.onsuccess = () => { + const userConversations = request.result + .filter( + (c: Conversation) => c.user_id === user_id && c.bot_id === bot_id + ) + .map((c) => formatConversation(c, db)); + + resolve(userConversations); + }; + + request.onerror = () => { + reject(request.error); + }; + }); +}; + +const addConversation = (db: IDBDatabase, conversation: Conversation) => { + return new Promise((resolve, reject) => { + const transaction = db.transaction(["conversations"], "readwrite"); + const objectStore = transaction.objectStore("conversations"); + const request = objectStore.put(conversation); + + request.onsuccess = () => { + const allObjectsReq = objectStore.getAll(); + allObjectsReq.onsuccess = () => { + resolve( + allObjectsReq.result + .filter( + (c: Conversation) => + c.user_id === conversation.user_id && + c.bot_id === conversation.bot_id + ) + .map((c) => formatConversation(c, db)) + ); + }; + allObjectsReq.onerror = () => { + reject(allObjectsReq.error); + }; + }; + + request.onerror = () => { + reject(request.error); + }; + }); +}; + +const DB_NAME = "GOOEY_COPILOT_CONVERSATIONS_DB"; +export const useConversations = (user_id: string, bot_id: string) => { + const [conversations, setConversations] = useState([]); + + useEffect(() => { + const loadConversations = async () => { + const db = await initDB(DB_NAME); + const userConversations = await fetchAllConversations( + db, + user_id, + bot_id + ); + setConversations( + userConversations.sort( + (a: Conversation, b: Conversation) => + new Date(b.timestamp as string).getTime() - + new Date(a.timestamp as string).getTime() + ) + ); + }; + + loadConversations(); + }, [bot_id, user_id]); + + const handleAddConversation = async (c: Conversation | null) => { + if (!c || !c.messages?.length) return; + + const db = await initDB(DB_NAME); + const updatedConversations = await addConversation(db, c); + setConversations(updatedConversations); + }; + + return { conversations, handleAddConversation }; +}; + +export default useConversations; diff --git a/src/contexts/MessagesContext.tsx b/src/contexts/MessagesContext.tsx index 647041a..6b401b8 100644 --- a/src/contexts/MessagesContext.tsx +++ b/src/contexts/MessagesContext.tsx @@ -1,4 +1,4 @@ -import { createContext, useCallback, useRef, useState } from "react"; +import { createContext, useCallback, useEffect, useRef, useState } from "react"; import { v4 as uuidv4 } from "uuid"; import { useSystemContext } from "./hooks"; import axios from "axios"; @@ -8,6 +8,12 @@ import { createStreamApi, } from "src/api/streaming"; import { uploadFileToGooey } from "src/api/file-upload"; +import useConversations, { + Conversation, + updateLocalUser, + USER_ID_LS_KEY, +} from "./ConversationLayer"; +import { CHAT_INPUT_ID } from "src/widgets/copilot/components/ChatInput"; interface IncomingMsg { input_text?: string; @@ -29,16 +35,35 @@ const createNewQuery = (payload: any) => { export const MessagesContext: any = createContext({}); const MessagesContextProvider = (props: any) => { + const currentUserId = localStorage.getItem(USER_ID_LS_KEY) || ""; const config = useSystemContext()?.config; + const layoutController = useSystemContext()?.layoutController; + const { conversations, handleAddConversation } = useConversations( + currentUserId, + config?.integration_id as string + ); + const [messages, setMessages] = useState(new Map()); const [isSending, setIsSendingMessage] = useState(false); const [isReceiving, setIsReceiving] = useState(false); - const apiSource = useRef(axios.CancelToken.source()); + const [isMessagesLoading, setMessagesLoading] = useState(true); + const [preventAutoplay, setPreventAutoplay] = useState(true); + const apiSource = useRef(axios.CancelToken.source()); const currentStreamRef = useRef(null); const scrollContainerRef = useRef(null); + const currentConversation = useRef(null); + + const updateCurrentConversation = (conversation: Conversation) => { + currentConversation.current = { + ...currentConversation.current, + ...conversation, + }; + }; const initializeQuery = (payload: any) => { + setPreventAutoplay(false); + // calls the server and updates the state with user message const lastResponse: any = Array.from(messages.values()).pop(); // will get the data from last server msg const conversationId = lastResponse?.conversation_id; setIsSendingMessage(true); @@ -47,13 +72,15 @@ const MessagesContextProvider = (props: any) => { ...payload, conversation_id: conversationId, citation_style: CITATION_STYLE, + user_id: currentUserId, }); addResponse(newQuery); }; const addResponse = (response: any) => { setMessages((prev: any) => { - return new Map(prev.set(response.id, response)); + const newMessages = new Map(prev.set(response.id, response)); + return newMessages; }); }; @@ -87,12 +114,13 @@ const MessagesContextProvider = (props: any) => { setIsSendingMessage(false); setIsReceiving(true); currentStreamRef.current = payload!.bot_message_id; - const newConversations = new Map(prev); - newConversations.set(payload!.bot_message_id, { + const newMessages = new Map(prev); + newMessages.set(payload!.bot_message_id, { id: currentStreamRef.current, ...payload, }); - return newConversations; + updateLocalUser(payload?.user_id); + return newMessages; } // stream end @@ -100,11 +128,11 @@ const MessagesContextProvider = (props: any) => { payload?.type === STREAM_MESSAGE_TYPES.FINAL_RESPONSE && payload?.status === "completed" ) { - const newConversations = new Map(prev); + const newMessages = new Map(prev); const lastResponseId: any = Array.from(prev.keys()).pop(); // last message id const prevMessage = prev.get(lastResponseId); const { output, ...restPayload } = payload; - newConversations.set(lastResponseId, { + newMessages.set(lastResponseId, { ...prevMessage, conversation_id: prevMessage?.conversation_id, // keep the conversation id id: currentStreamRef.current, @@ -112,7 +140,25 @@ const MessagesContextProvider = (props: any) => { ...restPayload, }); setIsReceiving(false); - return newConversations; + // update current conversation for every time the stream ends + const conversationData = { + id: prevMessage?.conversation_id, + user_id: prevMessage?.user_id, + title: payload?.title, + timestamp: payload?.created_at, + bot_id: config?.integration_id, + }; + updateCurrentConversation(conversationData); + handleAddConversation( + Object.assign( + {}, + { + ...conversationData, + messages: Array.from(newMessages.values()), + } + ) + ); + return newMessages; } // streaming data @@ -133,7 +179,7 @@ const MessagesContextProvider = (props: any) => { }); scrollToMessage(); }, - [scrollToMessage] + [config?.integration_id, handleAddConversation, scrollToMessage] ); const sendPrompt = async (payload: IncomingMsg) => { @@ -151,6 +197,7 @@ const MessagesContextProvider = (props: any) => { payload = { ...config?.payload, integration_id: config?.integration_id, + user_id: currentUserId, ...payload, }; const streamUrl = await createStreamApi( @@ -174,30 +221,60 @@ const MessagesContextProvider = (props: any) => { setMessages(newMap); }; - const flushData = () => { - setMessages(new Map()); + const handleNewConversation = () => { + if (!isReceiving && !isSending) { + handleAddConversation(Object.assign({}, currentConversation.current)); + } else { + cancelApiCall(); + handleAddConversation(Object.assign({}, currentConversation.current)); + } + if (isReceiving || isSending) cancelApiCall(); + if (layoutController?.isMobile && layoutController?.isSidebarOpen) + layoutController?.toggleSidebar(); + const ele = gooeyShadowRoot?.getElementById(CHAT_INPUT_ID); + ele?.focus(); + setIsReceiving(false); setIsSendingMessage(false); + purgeMessages(); + }; + + const purgeMessages = () => { + setMessages(new Map()); + currentConversation.current = {}; }; - const cancelApiCall = () => { + const cancelApiCall = useCallback(() => { // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-expect-error if (window?.GooeyEventSource) GooeyEventSource.close(); else apiSource?.current.cancel("Operation canceled by the user."); - // check if state has more than 2 message then remove the last one - if (messages.size > 2) { - const newMessages = new Map(messages); - const idsArray = Array.from(messages.keys()); - // delete user message - newMessages.delete(idsArray[idsArray.length - 2]); - // delete server message + + if (!isReceiving && !isSending) { + apiSource.current = axios.CancelToken.source(); // set new cancel token for next api call + } + // delete last message from the state + const newMessages = new Map(messages); + const idsArray = Array.from(messages.keys()); + // check if state is loading then remove the last one + if (isSending) { newMessages.delete(idsArray.pop()); setMessages(newMessages); - } else flushData(); + } + + if (isReceiving) { + newMessages.delete(idsArray.pop()); // delete server message + newMessages.delete(idsArray.pop()); // delete user message + setMessages(newMessages); + } + + updateCurrentConversation({ + messages: Array.from(newMessages.values()), + }); + apiSource.current = axios.CancelToken.source(); // set new cancel token for next api call setIsReceiving(false); setIsSendingMessage(false); - }; + }, [isReceiving, isSending, messages]); const handleFeedbackClick = (button_id: string, context_msg_id: string) => { createStreamApi( @@ -207,6 +284,7 @@ const MessagesContextProvider = (props: any) => { context_msg_id, }, integration_id: config?.integration_id, + user_id: currentUserId, }, apiSource.current ); @@ -227,18 +305,59 @@ const MessagesContextProvider = (props: any) => { }); }; + const setActiveConversation = useCallback( + async (conversation: Conversation) => { + if (isSending || isReceiving) cancelApiCall(); + if ( + !conversation || + !conversation.getMessages || + currentConversation.current?.id === conversation.id + ) + return setMessagesLoading(false); + setPreventAutoplay(true); + setMessagesLoading(true); + const messages = await conversation.getMessages(); + preLoadData(messages); + updateCurrentConversation(conversation); + setMessagesLoading(false); + + return messages; + }, + [cancelApiCall, isReceiving, isSending] + ); + + useEffect(() => { + setPreventAutoplay(true); + if (!layoutController?.showNewConversationButton && conversations.length) + // Load the latest conversation from DB + setActiveConversation(conversations[0]); + else setMessagesLoading(false); + setTimeout(() => { + setPreventAutoplay(false); + }, 3000); + }, [ + config, + conversations, + layoutController?.showNewConversationButton, + setActiveConversation, + ]); + const valueMessages = { sendPrompt, messages, isSending, initializeQuery, - preLoadData, - flushData, + handleNewConversation, cancelApiCall, scrollMessageContainer, scrollContainerRef, isReceiving, handleFeedbackClick, + conversations, + setActiveConversation, + currentConversationId: currentConversation.current?.id || null, + isMessagesLoading, + preventAutoplay, }; return ( diff --git a/src/contexts/SystemContext.tsx b/src/contexts/SystemContext.tsx index 055b222..9c2530c 100644 --- a/src/contexts/SystemContext.tsx +++ b/src/contexts/SystemContext.tsx @@ -1,31 +1,50 @@ -import { ReactNode, createContext, useState } from "react"; +import { ReactNode, createContext, useEffect, useMemo, useState } from "react"; import { CopilotConfigType } from "./types"; +import useDeviceWidth from "src/hooks/useDeviceWidth"; + +// eslint-disable-next-line react-refresh/only-export-components +const toggleSidebarStyles = (isSidebarOpen: boolean) => { + const sideBarElement: HTMLElement | null | undefined = + gooeyShadowRoot?.querySelector("#gooey-side-navbar"); + if (!sideBarElement) return; + // set width to 0px if sidebar is closed + if (!isSidebarOpen) { + sideBarElement.style.width = "260px"; + sideBarElement.style.transition = "width ease-in-out 0.2s"; + } else { + sideBarElement.style.width = "0px"; + sideBarElement.style.transition = "width ease-in-out 0.2s"; + } +}; + +interface LayoutController extends LayoutStateType { + toggleOpenClose: () => void; + toggleSidebar: () => void; + toggleFocusMode: () => void; + setState: (state: any) => void; +} + +type LayoutStateType = { + isOpen: boolean; + isFocusMode: boolean; + isInline: boolean; + isMobile: boolean; + + isSidebarOpen: boolean; + showCloseButton: boolean; + showSidebarButton: boolean; + showFocusModeButton: boolean; + showNewConversationButton?: boolean; +}; export type SystemContextType = { - open: boolean; - mode?: string; config?: CopilotConfigType; - isExpanded?: boolean; - toggleWidget?: () => void; setTempStoreValue?: (key: string, value: any) => void; getTempStoreValue?: (key: string) => any; - expandWidget?: () => void; + layoutController?: LayoutController; }; -export const SystemContext = createContext({ open: false }); - -interface SystemContextState { - open: boolean; - isInitialized: boolean; - config?: CopilotConfigType; -} - -const getMode = (state: SystemContextState) => { - if (!state.isInitialized && !state.open) return "off"; - if (state.isInitialized && !state.open) return "standby"; - if (state.isInitialized && state.open) return "on"; - return "unknown"; -}; +export const SystemContext = createContext({}); const SystemContextProvider = ({ config, @@ -34,26 +53,29 @@ const SystemContextProvider = ({ config: CopilotConfigType; children: ReactNode; }) => { - const [widgetState, setWidgetState] = useState({ - open: false, - isInitialized: false, + const isInline = config?.mode === "inline" || config?.mode === "fullscreen"; + const [tempStore, setTempStore] = useState>(new Map()); + const [layoutState, setLayoutState] = useState({ + isOpen: isInline || false, + isFocusMode: false, + isInline, + isSidebarOpen: false, + showCloseButton: !isInline || false, + showSidebarButton: false, + showFocusModeButton: !isInline || false, + showNewConversationButton: + config?.enableConversations === undefined + ? true + : config?.enableConversations, + isMobile: false, }); - const [isExpanded, setIsExpanded] = useState(false); - const [tempStore, setTempStore] = useState(new Map()); - - const handleWidgetToggle = () => { - if (!widgetState.open) - return setWidgetState((prev) => ({ - ...prev, - open: true, - isInitialized: true, - })); - setIsExpanded(false); - return setWidgetState((prev) => ({ ...prev, open: false })); - }; + const forceHideSidebar = !layoutState?.showNewConversationButton; + const [isMobile, isMobileWindow] = useDeviceWidth("mobile", [ + layoutState?.isOpen, + ]); const setTempStoreValue = (key: string, value: any) => { - setTempStore((prev: any) => { + setTempStore((prev: Map) => { const newStore = new Map(prev); newStore.set(key, value); return newStore; @@ -63,25 +85,87 @@ const SystemContextProvider = ({ const getTempStoreValue = (key: string) => { return tempStore.get(key); }; + const LayoutController: LayoutController = useMemo( + () => ({ + toggleOpenClose: () => { + // open/close in pop-up mode + setLayoutState((prev) => ({ + ...prev, + isOpen: !prev.isOpen, + isFocusMode: false, + isSidebarOpen: false, + showSidebarButton: forceHideSidebar ? false : true, + })); + }, + toggleSidebar: () => { + if (forceHideSidebar) return; + setLayoutState((prev: any) => { + toggleSidebarStyles(prev.isSidebarOpen); + return { + ...prev, + isSidebarOpen: !prev.isSidebarOpen, + showSidebarButton: prev.isSidebarOpen, + }; + }); + }, + toggleFocusMode: () => { + setLayoutState((prev) => { + const sideBarElement: HTMLElement | null | undefined = + gooeyShadowRoot?.querySelector("#gooey-side-navbar"); + if (!sideBarElement) + return { ...prev, isFocusMode: !prev.isFocusMode }; + if (!prev?.isFocusMode) { + // turning on focus mode open sidebar + if (!prev?.isSidebarOpen) sideBarElement.style.width = "260px"; + return { + ...prev, + isFocusMode: true, + isSidebarOpen: forceHideSidebar ? false : true, + showSidebarButton: forceHideSidebar ? false : prev.isSidebarOpen, + }; + } else { + // turning off focus mode + if (prev?.isSidebarOpen) sideBarElement.style.width = "0px"; + return { + ...prev, + isFocusMode: false, + isSidebarOpen: forceHideSidebar ? false : false, + showSidebarButton: forceHideSidebar ? false : prev.isSidebarOpen, + }; + } + }); + }, + setState: (state: any) => { + setLayoutState((prev) => ({ + ...prev, + ...state, + })); + }, + ...layoutState, + }), + [setLayoutState, forceHideSidebar, layoutState] + ); - const expandWidget = () => { - const shadowRoot = document.querySelector((config?.target || "") as string) - ?.firstElementChild?.shadowRoot; - const ele = shadowRoot?.getElementById("gooey-popup-container"); - if (!isExpanded) ele?.classList.add("gooey-expanded-popup"); - else ele?.classList.remove("gooey-expanded-popup"); - setIsExpanded((prev) => !prev); - }; + useEffect(() => { + // set initial state based on isMobile and isInline + setLayoutState((prev) => ({ + ...prev, + isSidebarOpen: !isMobile, + showSidebarButton: forceHideSidebar ? false : isMobile, + showFocusModeButton: isInline + ? false + : (isMobile && !isMobileWindow) || (!isMobile && !isMobileWindow), + isMobile, + isMobileWindow, + })); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [forceHideSidebar, isInline, isMobile, isMobileWindow]); const value: SystemContextType = { - open: widgetState.open, - mode: getMode(widgetState), - toggleWidget: handleWidgetToggle, config: config, setTempStoreValue, getTempStoreValue, - isExpanded, - expandWidget, + layoutController: LayoutController, }; return ( diff --git a/src/contexts/types.ts b/src/contexts/types.ts index 841b3ea..f4b6d6b 100644 --- a/src/contexts/types.ts +++ b/src/contexts/types.ts @@ -5,6 +5,7 @@ export interface CopilotConfigType { enableAudioMessage: boolean; enablePhotoUpload: boolean; enableLipsyncVideo: boolean; + enableConversations: boolean; autoPlayResponses: boolean; showSources: boolean; expandedSources: boolean; diff --git a/src/css/App.css b/src/css/App.css index 1ce7843..05f532d 100644 --- a/src/css/App.css +++ b/src/css/App.css @@ -26,8 +26,14 @@ ol, li, p { margin: 0; + padding: 0; } +menu, +ol, +ul { + list-style: none; +} .gooey-embed-container { height: 100%; } @@ -40,6 +46,10 @@ p { text-decoration: none; } +div:focus-visible { + outline: none; +} + ::-webkit-scrollbar { background: transparent; color: white; @@ -76,3 +86,4 @@ pre[class*="language-"] { svg { fill: currentColor; } + diff --git a/src/css/_animations.scss b/src/css/_animations.scss index 129dd8e..d9f7494 100644 --- a/src/css/_animations.scss +++ b/src/css/_animations.scss @@ -17,28 +17,6 @@ } } -@keyframes loading-skeleton { - to { - background-position-x: -20%; - } -} - -:where([data-skeleton]) { - /* These will need to be intents (ie, dark mode), perhaps new global intents */ - --skeleton-bg: #ededed; - --skeleton-shine: white; - - background-color: var(--skeleton-bg); - background-image: linear-gradient( - 100deg, - transparent 40%, - color-mix(in srgb, var(--skeleton-shine), transparent 50%) 50%, - transparent 60% - ); - background-size: 200% 100%; - background-position-x: 120%; -} - @keyframes fade-in-A { 0% { opacity: 0; @@ -70,36 +48,6 @@ forwards 1; } -.circular-loader { - position: relative; - margin: auto; - width: 5rem; - border-radius: 100vmin; - overflow: hidden; - padding: 1.25rem; - &::before { - content: ""; - display: block; - padding-top: 100%; - } -} - -.circular-loader .circular { - position: absolute; - inset: 0; - margin: auto; - transform-origin: center center; - animation: 2s linear 0s infinite rotate; -} - -.circular-loader .path { - stroke: $border-color; - stroke-dasharray: 1,200; - stroke-dashoffset: 0; - stroke-linecap: round; - animation: 1.5s ease-in-out 0s infinite dash; -} - @keyframes anim-textReveal { from { opacity: 0; @@ -137,25 +85,11 @@ } } -@keyframes dash { - 0%{ - stroke-dasharray: 1,200; - stroke-dashoffset: 0; - - } - 50% { - stroke-dasharray: 89,200; - stroke-dashoffset: -35px; - stroke: $border-color;; - } - 100% { - stroke-dasharray: 89,200; - stroke-dashoffset: -124px; - } -} - @keyframes rotate { - to { - transform:rotate(1turn); - } + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } } \ No newline at end of file diff --git a/src/css/_extra.scss b/src/css/_extra.scss index 0fab5c9..1cbd303 100644 --- a/src/css/_extra.scss +++ b/src/css/_extra.scss @@ -116,7 +116,9 @@ .b-top-1 { border-top: 1px solid $border-color; } - +.b-rt-1 { + border-right: 1px solid $border-color; +} .b-none { border: none !important; } @@ -125,10 +127,18 @@ overflow: hidden; } +.overflow-x-hidden { + overflow: hidden; +} + .overflow-scroll { overflow: scroll; } +.overflow-y-auto { + overflow-y: auto; +} + .overflow-x-clip { overflow-x: clip; } @@ -155,7 +165,15 @@ .stroke-white { stroke: white !important; } - +.top-0 { + top: 0; +} +.left-0 { + left: 0; +} +.h-header { + height: 56px; +} @media (max-width: 1100px) { .xs-text-center { text-align: center; diff --git a/src/css/_flex.scss b/src/css/_flex.scss index 820de31..3fdfbf9 100644 --- a/src/css/_flex.scss +++ b/src/css/_flex.scss @@ -43,7 +43,7 @@ flex-shrink: 1 !important; } .flex-1 { - flex: 1 !important; + flex: 1 1 0% !important; } // justify-content diff --git a/src/css/colors.module.scss b/src/css/colors.module.scss index 3de7961..150b5ed 100644 --- a/src/css/colors.module.scss +++ b/src/css/colors.module.scss @@ -5,7 +5,7 @@ $primary: hsl(169, 55%, 82%); $secondary: hsl(12, 100%, 97%); $dark-grey: #282626; $white: #fff; -$grey: #f7f3f3; +$grey: #f9f9f9; $light: #f0f0f0; $border-color: #eee; $muted: #6c757d; diff --git a/src/hooks/useDeviceWidth.tsx b/src/hooks/useDeviceWidth.tsx index 7abecc5..fe833f5 100644 --- a/src/hooks/useDeviceWidth.tsx +++ b/src/hooks/useDeviceWidth.tsx @@ -1,21 +1,51 @@ -import { useState, useEffect } from 'react'; +import { useEffect, useState } from "react"; -const useDeviceWidth = () => { - const [width, setWidth] = useState(window.innerWidth); +const deviceWidths: Record = { + mobile: 640, +}; +const checkMediaQuery = (width: number, windowWidth: number, query: string) => { + return [width <= deviceWidths[query], windowWidth <= deviceWidths[query]]; +}; + +const useDeviceWidth = ( + query: "mobile" = "mobile", + deps: any[] = [] +): boolean[] => { + const [isWidgetMatches, setIsWidgetMatches] = useState(false); + const [isWindowMatches, setIsWindowMatches] = useState(false); + const depTrigger = deps?.some((dep) => !dep); useEffect(() => { - const handleResize = () => { - setWidth(window.innerWidth); - }; + const rootDiv = gooeyShadowRoot?.querySelector("#gooeyChat-container"); + if (!rootDiv) return; + + // set initial value + const [widgetMatches, windowMatches] = checkMediaQuery( + rootDiv.clientWidth, + window.innerWidth, + query + ); + setIsWidgetMatches(widgetMatches); + setIsWindowMatches(windowMatches); - window.addEventListener('resize', handleResize); + const resizeObserver = new ResizeObserver(() => { + // set initial value + const [widgetMatches, windowMatches] = checkMediaQuery( + rootDiv.clientWidth, + window.innerWidth, + query + ); + setIsWidgetMatches(widgetMatches); + setIsWindowMatches(windowMatches); + }); + resizeObserver.observe(rootDiv); return () => { - window.removeEventListener('resize', handleResize); + resizeObserver.disconnect(); }; - }, []); + }, [query, depTrigger]); - return width; + return [isWidgetMatches, isWindowMatches]; }; export default useDeviceWidth; diff --git a/src/lib.tsx b/src/lib.tsx index 3d09b11..edc2c46 100644 --- a/src/lib.tsx +++ b/src/lib.tsx @@ -5,6 +5,10 @@ interface CopilotEmbedConfig extends CopilotConfigType { target: string; } +declare global { + var gooeyShadowRoot: ShadowRoot | null; +} + class GooeyEmbedFactory { defaultConfig = {}; _mounted: { innerDiv: HTMLDivElement; root: any }[] = []; @@ -14,24 +18,28 @@ class GooeyEmbedFactory { const targetElem = document.querySelector(config.target); if (!targetElem) { throw new Error( - `Target not found: ${config.target}. Please provide a valid "target" selector in the config object.`, + `Target not found: ${config.target}. Please provide a valid "target" selector in the config object.` ); } if (!config.integration_id) { throw new Error( - `Integration ID is required. Please provide an "integration_id" in the config object.`, + `Integration ID is required. Please provide an "integration_id" in the config object.` ); } const innerDiv = document.createElement("div"); innerDiv.style.display = "contents"; - if(targetElem.children.length > 0) targetElem.removeChild(targetElem.children[0]); + if (targetElem.children.length > 0) + targetElem.removeChild(targetElem.children[0]); targetElem.appendChild(innerDiv); const root = renderCopilotChatWidget(innerDiv, config); this._mounted.push({ innerDiv, root }); + + // Global reference to the inner document + globalThis.gooeyShadowRoot = innerDiv?.shadowRoot; } unmount() { - for (const { innerDiv, root } of this._mounted) { + for (const { innerDiv, root } of this._mounted) { root.unmount(); innerDiv.remove(); } diff --git a/src/main.tsx b/src/main.tsx index 78ee2b9..b67dbea 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,4 +1,4 @@ import GooeyEmbed from "src/lib.tsx"; GooeyEmbed.mount({ target: "#popup", integration_id: "MqL", mode: "popup" }); -GooeyEmbed.mount({ target: "#inline", integration_id: "MqL", mode: "inline" }); +GooeyEmbed.mount({ target: "#inline", integration_id: "Wdy", mode: "fullscreen" }); diff --git a/src/utils/constants.ts b/src/utils/constants.ts deleted file mode 100644 index a7057d9..0000000 --- a/src/utils/constants.ts +++ /dev/null @@ -1 +0,0 @@ -export const MOBILE_WIDTH = 560; \ No newline at end of file diff --git a/src/widgets/copilot/components/ChatInput/AttachFilesButton.tsx b/src/widgets/copilot/components/ChatInput/AttachFilesButton.tsx deleted file mode 100644 index 9fcb105..0000000 --- a/src/widgets/copilot/components/ChatInput/AttachFilesButton.tsx +++ /dev/null @@ -1,56 +0,0 @@ -import IconPaperClip from "src/assets/SvgIcons/IconPaperClip"; -import IconButton from "src/components/shared/Buttons/IconButton"; -import Tooltip from "src/components/shared/Tooltip"; - -interface AttachFilesButtonProps { - onAttachClick?: () => null; - open: boolean; -} - -const AttachFilesButton = ({ - onAttachClick = () => null, - open = false, -}: AttachFilesButtonProps) => { - const handleOpenClick = () => { - onAttachClick(); - }; - - return ( -
    - -
    - {!open ? ( - - - - ) : ( - - ❌ - - )} - {open && ( -
    - - 🎤 - - - 📹 - - - 📄 - -
    - )} -
    -
    -
    - ); -}; - -export default AttachFilesButton; diff --git a/src/widgets/copilot/components/Header/header.scss b/src/widgets/copilot/components/Header/header.scss deleted file mode 100644 index dc31499..0000000 --- a/src/widgets/copilot/components/Header/header.scss +++ /dev/null @@ -1,5 +0,0 @@ -.gooeyChat-widget-headerContainer { - border-bottom: 1px solid #eee; - border-top: 1px solid #eee; - width: 100%; -} diff --git a/src/widgets/copilot/components/Header/index.tsx b/src/widgets/copilot/components/Header/index.tsx index 70ad3f5..66bab21 100644 --- a/src/widgets/copilot/components/Header/index.tsx +++ b/src/widgets/copilot/components/Header/index.tsx @@ -5,54 +5,70 @@ import IconClose from "src/assets/SvgIcons/IconClose"; import clsx from "clsx"; import { SystemContextType } from "src/contexts/SystemContext"; -import { addInlineStyle } from "src/addStyles"; -import style from "./header.scss?inline"; import IconExpand from "src/assets/SvgIcons/IconExpand"; import IconCollapse from "src/assets/SvgIcons/IconCollapse"; -import useDeviceWidth from "src/hooks/useDeviceWidth"; -import { MOBILE_WIDTH } from "src/utils/constants"; -addInlineStyle(style); +import IconSidebar from "src/assets/SvgIcons/IconSideBar"; +import GooeyTooltip from "src/components/shared/Tooltip"; type HeaderProps = { onEditClick: () => void; - hideClose?: boolean; }; -const Header = ({ onEditClick, hideClose = false }: HeaderProps) => { - const { - toggleWidget = () => null, - config, - expandWidget = () => null, - isExpanded, - }: SystemContextType = useSystemContext(); - const width = useDeviceWidth(); +const Header = ({ onEditClick }: HeaderProps) => { const { messages }: any = useMessagesContext(); + const { layoutController, config }: SystemContextType = useSystemContext(); const isEmpty = !messages?.size; const botName = config?.branding?.name; - const isMobile = width < MOBILE_WIDTH; return ( -
    -
    +
    +
    {/* Close / minimize button */} - {!hideClose && ( - toggleWidget()} - > - - + {layoutController?.showCloseButton && ( + + + + + )} - {/* Expand button */} - {config?.mode === "popup" && !isMobile && ( - expandWidget()} - style={{ transform: "rotate(90deg)" }} + + {/* Focus mode button */} + {layoutController?.showFocusModeButton && ( + - {isExpanded ? : } - + + {layoutController.isFocusMode ? ( + + ) : ( + + )} + + + )} + {/* Sidebar button */} + {layoutController?.showSidebarButton && ( + + + + + )}

    { {botName}

    - onEditClick()} - > - - + {layoutController?.showNewConversationButton && ( + + onEditClick()} + > + + + + )}
    ); diff --git a/src/widgets/copilot/components/Home/home.css b/src/widgets/copilot/components/Home/home.css deleted file mode 100644 index bd6e60b..0000000 --- a/src/widgets/copilot/components/Home/home.css +++ /dev/null @@ -1,9 +0,0 @@ -.home-content-container { - margin-top: 72px; -} - -.home-container { - position: absolute; - inset: 0; - overflow: hidden; -} diff --git a/src/widgets/copilot/components/Home/index.tsx b/src/widgets/copilot/components/Home/index.tsx deleted file mode 100644 index 21a9067..0000000 --- a/src/widgets/copilot/components/Home/index.tsx +++ /dev/null @@ -1,67 +0,0 @@ -import PaperAirplaneIcon from "src/assets/SvgIcons/PaperAirplaneIcon"; -import IconButton from "src/components/shared/Buttons/IconButton"; - -import { addInlineStyle } from "src/addStyles"; -import style from "./home.scss?inline"; -addInlineStyle(style); - -const Home = () => { - return ( -
    - ); -}; - -export default Home; diff --git a/src/widgets/copilot/components/Messages/IncomingMsg.tsx b/src/widgets/copilot/components/Messages/IncomingMsg.tsx index 9036960..079cc07 100644 --- a/src/widgets/copilot/components/Messages/IncomingMsg.tsx +++ b/src/widgets/copilot/components/Messages/IncomingMsg.tsx @@ -95,13 +95,13 @@ const IncomingMsg = memo( {parsedElements}
    {!isStreaming && !videoTrack && audioTrack && ( -
    +
    )} {!isStreaming && videoTrack && (
    - +
    )} {!isStreaming && props?.data?.buttons && ( diff --git a/src/widgets/copilot/components/Messages/PlaceholderMessage.tsx b/src/widgets/copilot/components/Messages/PlaceholderMessage.tsx index 10dca1b..35d0b58 100644 --- a/src/widgets/copilot/components/Messages/PlaceholderMessage.tsx +++ b/src/widgets/copilot/components/Messages/PlaceholderMessage.tsx @@ -72,7 +72,7 @@ const PlaceholderMessage = () => { key={que} variant="outlined" onClick={() => initializeQuery({ input_prompt: que })} - className={clsx("text-left font_12_500")} + className={clsx("text-left font_12_500 w-100")} > {que} diff --git a/src/widgets/copilot/components/Messages/index.tsx b/src/widgets/copilot/components/Messages/index.tsx index 9967ae1..2d0c7aa 100644 --- a/src/widgets/copilot/components/Messages/index.tsx +++ b/src/widgets/copilot/components/Messages/index.tsx @@ -5,10 +5,11 @@ import OutgoingMsg from "./OutgoingMsg"; import PlaceholderMessage from "./PlaceholderMessage"; import { useMessagesContext, useSystemContext } from "src/contexts/hooks"; import { useMemo } from "react"; +import SpinLoader from "src/components/shared/SpinLoader"; const Responses = (props: any) => { const { config } = useSystemContext(); - const { handleFeedbackClick }: any = useMessagesContext(); + const { handleFeedbackClick, preventAutoplay }: any = useMessagesContext(); const que = useMemo(() => props.queue, [props]); const msgs = props.data; @@ -19,16 +20,22 @@ const Responses = (props: any) => { const responseData = msgs.get(id); const role = responseData.role; if (role === "user") - return ; + return ( + + ); return ( ); })} @@ -37,14 +44,23 @@ const Responses = (props: any) => { }; const Messages = () => { - const { messages, isSending, scrollContainerRef }: any = useMessagesContext(); + const { messages, isSending, scrollContainerRef, isMessagesLoading }: any = + useMessagesContext(); + + if (isMessagesLoading) { + return ( +
    + +
    + ); + } const isEmpty = !messages?.size && !isSending; return (
    { - const { toggleWidget, config } = useSystemContext(); + const { config, layoutController } = useSystemContext(); const iconSize = config?.branding.fabLabel ? 36 : 56; return (
    { className="pos-fixed gpb-16 gpr-16" >