@vamlabs/vam-chatbot 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ "use strict";(this.webpackChunkVamChatbot=this.webpackChunkVamChatbot||[]).push([[144],{6144:(n,t,e)=>{e.r(t),e.d(t,{default:()=>C});var a=e(5793),r=e(9956),i=e(3810),o=e(5072),s=e.n(o),d=e(7825),c=e.n(d),l=e(7659),p=e.n(l),u=e(5056),b=e.n(u),f=e(540),g=e.n(f),h=e(1113),m=e.n(h),x=e(8930),k={};k.styleTagTransform=m(),k.setAttributes=b(),k.insert=p().bind(null,"head"),k.domAPI=c(),k.insertStyleElement=g(),s()(x.A,k);const j=x.A&&x.A.locals?x.A.locals:void 0;var v=e(1251),w=e(4848);const C=function(n){let{data:t=[]}=n;return(0,w.jsx)(a.F,{features:r.l,children:(0,w.jsx)("div",{className:j.promtedTopicsContainer,children:t?.map((n=>n?.title&&(0,w.jsx)("a",{href:n?.url,target:"_blank",rel:"noopener noreferrer",children:(0,w.jsx)(i.m.button,{className:j.button,whileTap:"tap",variants:v.fp,children:(0,w.jsxs)("span",{className:j.buttonContent,children:[(0,w.jsx)("span",{children:n?.title}),(0,w.jsx)("i",{className:"bi bi-arrow-up-right"})]})})},n?.title)))})})}},8930:(n,t,e)=>{e.d(t,{A:()=>s});var a=e(1601),r=e.n(a),i=e(6314),o=e.n(i)()(r());o.push([n.id,".Udcs8gpcaMQsVM3JuB3v {\n display: flex;\n justify-content: center;\n width: 100%;\n margin: 30px 0;\n\n a {\n text-decoration: none;\n }\n\n .HoX0s_YXk0mg95sPM9UW {\n padding: 16px;\n background: linear-gradient(white, white) padding-box,\n linear-gradient(to bottom, #39cff6, #ad84ff) border-box;\n border: 3px solid transparent;\n border-radius: 50px;\n }\n\n .eSDuidpnH74LBTacQi_Q {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 5px;\n font-weight: 800;\n background: linear-gradient(to bottom, #ad84ff, #39cff6);\n background-clip: text;\n color: transparent;\n\n i {\n font-size: inherit;\n }\n\n transition: all 0.3s ease;\n }\n\n .HoX0s_YXk0mg95sPM9UW:hover {\n background: linear-gradient(#39cff6, #ad84ff) padding-box,\n linear-gradient(to bottom, #39cff6, #ad84ff) border-box;\n\n .eSDuidpnH74LBTacQi_Q {\n color: white;\n background: unset;\n background-clip: unset;\n }\n }\n}\n",""]),o.locals={promtedTopicsContainer:"Udcs8gpcaMQsVM3JuB3v",button:"HoX0s_YXk0mg95sPM9UW",buttonContent:"eSDuidpnH74LBTacQi_Q"};const s=o}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 146.1232e6d661d374db1888.js.LICENSE.txt */
2
+ (this.webpackChunkVamChatbot=this.webpackChunkVamChatbot||[]).push([[146],{2838:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:s}=Object;let{freeze:i,seal:o,create:l}=Object,{apply:a,construct:c}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),o||(o=function(e){return e}),a||(a=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});const p=_(Array.prototype.forEach),u=_(Array.prototype.pop),h=_(Array.prototype.push),f=_(String.prototype.toLowerCase),g=_(String.prototype.toString),d=_(String.prototype.match),m=_(String.prototype.replace),k=_(String.prototype.indexOf),x=_(String.prototype.trim),b=_(Object.prototype.hasOwnProperty),y=_(RegExp.prototype.test),w=(T=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return c(T,t)});var T;function _(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];return a(e,t,r)}}function A(e,r){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let i=r.length;for(;i--;){let t=r[i];if("string"==typeof t){const e=s(t);e!==t&&(n(r)||(r[i]=e),t=e)}e[t]=!0}return e}function E(e){for(let t=0;t<e.length;t++)b(e,t)||(e[t]=null);return e}function R(t){const n=l(null);for(const[r,s]of e(t))b(t,r)&&(Array.isArray(s)?n[r]=E(s):s&&"object"==typeof s&&s.constructor===Object?n[r]=R(s):n[r]=s);return n}function S(e,t){for(;null!==e;){const n=s(e,t);if(n){if(n.get)return _(n.get);if("function"==typeof n.value)return _(n.value)}e=r(e)}return function(){return null}}const N=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),I=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),$=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),C=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),L=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),z=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),v=i(["#text"]),D=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),O=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),M=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),P=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=o(/\{\{[\w\W]*|[\w\W]*\}\}/gm),F=o(/<%[\w\W]*|[\w\W]*%>/gm),H=o(/\${[\w\W]*}/gm),B=o(/^data-[\-\w.\u00B7-\uFFFF]/),q=o(/^aria-[\-\w]+$/),W=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Z=o(/^(?:\w+script|data):/i),j=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G=o(/^html$/i),Y=o(/^[a-z][.\w]*(-[.\w]+)+$/i);var Q=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:F,TMPLIT_EXPR:H,DATA_ATTR:B,ARIA_ATTR:q,IS_ALLOWED_URI:W,IS_SCRIPT_OR_DATA:Z,ATTR_WHITESPACE:j,DOCTYPE_NAME:G,CUSTOM_ELEMENT:Y});const X=1,V=3,K=7,J=8,ee=9,te=function(){return"undefined"==typeof window?null:window};return function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const r=e=>t(e);if(r.version="3.1.6",r.removed=[],!n||!n.document||n.document.nodeType!==ee)return r.isSupported=!1,r;let{document:s}=n;const o=s,a=o.currentScript,{DocumentFragment:c,HTMLTemplateElement:T,Node:_,Element:E,NodeFilter:U,NamedNodeMap:F=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:H,DOMParser:B,trustedTypes:q}=n,Z=E.prototype,j=S(Z,"cloneNode"),Y=S(Z,"remove"),ne=S(Z,"nextSibling"),re=S(Z,"childNodes"),se=S(Z,"parentNode");if("function"==typeof T){const e=s.createElement("template");e.content&&e.content.ownerDocument&&(s=e.content.ownerDocument)}let ie,oe="";const{implementation:le,createNodeIterator:ae,createDocumentFragment:ce,getElementsByTagName:pe}=s,{importNode:ue}=o;let he={};r.isSupported="function"==typeof e&&"function"==typeof se&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:fe,ERB_EXPR:ge,TMPLIT_EXPR:de,DATA_ATTR:me,ARIA_ATTR:ke,IS_SCRIPT_OR_DATA:xe,ATTR_WHITESPACE:be,CUSTOM_ELEMENT:ye}=Q;let{IS_ALLOWED_URI:we}=Q,Te=null;const _e=A({},[...N,...I,...$,...L,...v]);let Ae=null;const Ee=A({},[...D,...O,...M,...P]);let Re=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,Ne=null,Ie=!0,$e=!0,Ce=!1,Le=!0,ze=!1,ve=!0,De=!1,Oe=!1,Me=!1,Pe=!1,Ue=!1,Fe=!1,He=!0,Be=!1,qe=!0,We=!1,Ze={},je=null;const Ge=A({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ye=null;const Qe=A({},["audio","video","img","source","image","track"]);let Xe=null;const Ve=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Je="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml";let tt=et,nt=!1,rt=null;const st=A({},[Ke,Je,et],g);let it=null;const ot=["application/xhtml+xml","text/html"];let lt=null,at=null;const ct=s.createElement("form"),pt=function(e){return e instanceof RegExp||e instanceof Function},ut=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!at||at!==e){if(e&&"object"==typeof e||(e={}),e=R(e),it=-1===ot.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,lt="application/xhtml+xml"===it?g:f,Te=b(e,"ALLOWED_TAGS")?A({},e.ALLOWED_TAGS,lt):_e,Ae=b(e,"ALLOWED_ATTR")?A({},e.ALLOWED_ATTR,lt):Ee,rt=b(e,"ALLOWED_NAMESPACES")?A({},e.ALLOWED_NAMESPACES,g):st,Xe=b(e,"ADD_URI_SAFE_ATTR")?A(R(Ve),e.ADD_URI_SAFE_ATTR,lt):Ve,Ye=b(e,"ADD_DATA_URI_TAGS")?A(R(Qe),e.ADD_DATA_URI_TAGS,lt):Qe,je=b(e,"FORBID_CONTENTS")?A({},e.FORBID_CONTENTS,lt):Ge,Se=b(e,"FORBID_TAGS")?A({},e.FORBID_TAGS,lt):{},Ne=b(e,"FORBID_ATTR")?A({},e.FORBID_ATTR,lt):{},Ze=!!b(e,"USE_PROFILES")&&e.USE_PROFILES,Ie=!1!==e.ALLOW_ARIA_ATTR,$e=!1!==e.ALLOW_DATA_ATTR,Ce=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Le=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ze=e.SAFE_FOR_TEMPLATES||!1,ve=!1!==e.SAFE_FOR_XML,De=e.WHOLE_DOCUMENT||!1,Pe=e.RETURN_DOM||!1,Ue=e.RETURN_DOM_FRAGMENT||!1,Fe=e.RETURN_TRUSTED_TYPE||!1,Me=e.FORCE_BODY||!1,He=!1!==e.SANITIZE_DOM,Be=e.SANITIZE_NAMED_PROPS||!1,qe=!1!==e.KEEP_CONTENT,We=e.IN_PLACE||!1,we=e.ALLOWED_URI_REGEXP||W,tt=e.NAMESPACE||et,Re=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Re.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&pt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Re.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Re.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ze&&($e=!1),Ue&&(Pe=!0),Ze&&(Te=A({},v),Ae=[],!0===Ze.html&&(A(Te,N),A(Ae,D)),!0===Ze.svg&&(A(Te,I),A(Ae,O),A(Ae,P)),!0===Ze.svgFilters&&(A(Te,$),A(Ae,O),A(Ae,P)),!0===Ze.mathMl&&(A(Te,L),A(Ae,M),A(Ae,P))),e.ADD_TAGS&&(Te===_e&&(Te=R(Te)),A(Te,e.ADD_TAGS,lt)),e.ADD_ATTR&&(Ae===Ee&&(Ae=R(Ae)),A(Ae,e.ADD_ATTR,lt)),e.ADD_URI_SAFE_ATTR&&A(Xe,e.ADD_URI_SAFE_ATTR,lt),e.FORBID_CONTENTS&&(je===Ge&&(je=R(je)),A(je,e.FORBID_CONTENTS,lt)),qe&&(Te["#text"]=!0),De&&A(Te,["html","head","body"]),Te.table&&(A(Te,["tbody"]),delete Se.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=e.TRUSTED_TYPES_POLICY,oe=ie.createHTML("")}else void 0===ie&&(ie=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}}(q,a)),null!==ie&&"string"==typeof oe&&(oe=ie.createHTML(""));i&&i(e),at=e}},ht=A({},["mi","mo","mn","ms","mtext"]),ft=A({},["foreignobject","annotation-xml"]),gt=A({},["title","style","font","a","script"]),dt=A({},[...I,...$,...C]),mt=A({},[...L,...z]),kt=function(e){h(r.removed,{element:e});try{se(e).removeChild(e)}catch(t){Y(e)}},xt=function(e,t){try{h(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){h(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Ae[e])if(Pe||Ue)try{kt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},bt=function(e){let t=null,n=null;if(Me)e="<remove></remove>"+e;else{const t=d(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===it&&tt===et&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=ie?ie.createHTML(e):e;if(tt===et)try{t=(new B).parseFromString(r,it)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?oe:r}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(s.createTextNode(n),i.childNodes[0]||null),tt===et?pe.call(t,De?"html":"body")[0]:De?t.documentElement:i},yt=function(e){return ae.call(e.ownerDocument||e,e,U.SHOW_ELEMENT|U.SHOW_COMMENT|U.SHOW_TEXT|U.SHOW_PROCESSING_INSTRUCTION|U.SHOW_CDATA_SECTION,null)},wt=function(e){return e instanceof H&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof F)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Tt=function(e){return"function"==typeof _&&e instanceof _},_t=function(e,t,n){he[e]&&p(he[e],(e=>{e.call(r,t,n,at)}))},At=function(e){let t=null;if(_t("beforeSanitizeElements",e,null),wt(e))return kt(e),!0;const n=lt(e.nodeName);if(_t("uponSanitizeElement",e,{tagName:n,allowedTags:Te}),e.hasChildNodes()&&!Tt(e.firstElementChild)&&y(/<[/\w]/g,e.innerHTML)&&y(/<[/\w]/g,e.textContent))return kt(e),!0;if(e.nodeType===K)return kt(e),!0;if(ve&&e.nodeType===J&&y(/<[/\w]/g,e.data))return kt(e),!0;if(!Te[n]||Se[n]){if(!Se[n]&&Rt(n)){if(Re.tagNameCheck instanceof RegExp&&y(Re.tagNameCheck,n))return!1;if(Re.tagNameCheck instanceof Function&&Re.tagNameCheck(n))return!1}if(qe&&!je[n]){const t=se(e)||e.parentNode,n=re(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r){const s=j(n[r],!0);s.__removalCount=(e.__removalCount||0)+1,t.insertBefore(s,ne(e))}}return kt(e),!0}return e instanceof E&&!function(e){let t=se(e);t&&t.tagName||(t={namespaceURI:tt,tagName:"template"});const n=f(e.tagName),r=f(t.tagName);return!!rt[e.namespaceURI]&&(e.namespaceURI===Je?t.namespaceURI===et?"svg"===n:t.namespaceURI===Ke?"svg"===n&&("annotation-xml"===r||ht[r]):Boolean(dt[n]):e.namespaceURI===Ke?t.namespaceURI===et?"math"===n:t.namespaceURI===Je?"math"===n&&ft[r]:Boolean(mt[n]):e.namespaceURI===et?!(t.namespaceURI===Je&&!ft[r])&&!(t.namespaceURI===Ke&&!ht[r])&&!mt[n]&&(gt[n]||!dt[n]):!("application/xhtml+xml"!==it||!rt[e.namespaceURI]))}(e)?(kt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!y(/<\/no(script|embed|frames)/i,e.innerHTML)?(ze&&e.nodeType===V&&(t=e.textContent,p([fe,ge,de],(e=>{t=m(t,e," ")})),e.textContent!==t&&(h(r.removed,{element:e.cloneNode()}),e.textContent=t)),_t("afterSanitizeElements",e,null),!1):(kt(e),!0)},Et=function(e,t,n){if(He&&("id"===t||"name"===t)&&(n in s||n in ct))return!1;if($e&&!Ne[t]&&y(me,t));else if(Ie&&y(ke,t));else if(!Ae[t]||Ne[t]){if(!(Rt(e)&&(Re.tagNameCheck instanceof RegExp&&y(Re.tagNameCheck,e)||Re.tagNameCheck instanceof Function&&Re.tagNameCheck(e))&&(Re.attributeNameCheck instanceof RegExp&&y(Re.attributeNameCheck,t)||Re.attributeNameCheck instanceof Function&&Re.attributeNameCheck(t))||"is"===t&&Re.allowCustomizedBuiltInElements&&(Re.tagNameCheck instanceof RegExp&&y(Re.tagNameCheck,n)||Re.tagNameCheck instanceof Function&&Re.tagNameCheck(n))))return!1}else if(Xe[t]);else if(y(we,m(n,be,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==k(n,"data:")||!Ye[e])if(Ce&&!y(xe,m(n,be,"")));else if(n)return!1;return!0},Rt=function(e){return"annotation-xml"!==e&&d(e,ye)},St=function(e){_t("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ae};let s=t.length;for(;s--;){const i=t[s],{name:o,namespaceURI:l,value:a}=i,c=lt(o);let h="value"===o?a:x(a);if(n.attrName=c,n.attrValue=h,n.keepAttr=!0,n.forceKeepAttr=void 0,_t("uponSanitizeAttribute",e,n),h=n.attrValue,ve&&y(/((--!?|])>)|<\/(style|title)/i,h)){xt(o,e);continue}if(n.forceKeepAttr)continue;if(xt(o,e),!n.keepAttr)continue;if(!Le&&y(/\/>/i,h)){xt(o,e);continue}ze&&p([fe,ge,de],(e=>{h=m(h,e," ")}));const f=lt(e.nodeName);if(Et(f,c,h)){if(!Be||"id"!==c&&"name"!==c||(xt(o,e),h="user-content-"+h),ie&&"object"==typeof q&&"function"==typeof q.getAttributeType)if(l);else switch(q.getAttributeType(f,c)){case"TrustedHTML":h=ie.createHTML(h);break;case"TrustedScriptURL":h=ie.createScriptURL(h)}try{l?e.setAttributeNS(l,o,h):e.setAttribute(o,h),wt(e)?kt(e):u(r.removed)}catch(e){}}}_t("afterSanitizeAttributes",e,null)},Nt=function e(t){let n=null;const r=yt(t);for(_t("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)_t("uponSanitizeShadowNode",n,null),At(n)||(n.content instanceof c&&e(n.content),St(n));_t("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,s=null,i=null,l=null;if(nt=!e,nt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Tt(e)){if("function"!=typeof e.toString)throw w("toString is not a function");if("string"!=typeof(e=e.toString()))throw w("dirty is not a string, aborting")}if(!r.isSupported)return e;if(Oe||ut(t),r.removed=[],"string"==typeof e&&(We=!1),We){if(e.nodeName){const t=lt(e.nodeName);if(!Te[t]||Se[t])throw w("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof _)n=bt("\x3c!----\x3e"),s=n.ownerDocument.importNode(e,!0),s.nodeType===X&&"BODY"===s.nodeName||"HTML"===s.nodeName?n=s:n.appendChild(s);else{if(!Pe&&!ze&&!De&&-1===e.indexOf("<"))return ie&&Fe?ie.createHTML(e):e;if(n=bt(e),!n)return Pe?null:Fe?oe:""}n&&Me&&kt(n.firstChild);const a=yt(We?e:n);for(;i=a.nextNode();)At(i)||(i.content instanceof c&&Nt(i.content),St(i));if(We)return e;if(Pe){if(Ue)for(l=ce.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Ae.shadowroot||Ae.shadowrootmode)&&(l=ue.call(o,l,!0)),l}let u=De?n.outerHTML:n.innerHTML;return De&&Te["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&y(G,n.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+u),ze&&p([fe,ge,de],(e=>{u=m(u,e," ")})),ie&&Fe?ie.createHTML(u):u},r.setConfig=function(){ut(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Oe=!0},r.clearConfig=function(){at=null,Oe=!1},r.isValidAttribute=function(e,t,n){at||ut({});const r=lt(e),s=lt(t);return Et(r,s,n)},r.addHook=function(e,t){"function"==typeof t&&(he[e]=he[e]||[],h(he[e],t))},r.removeHook=function(e){if(he[e])return u(he[e])},r.removeHooks=function(e){he[e]&&(he[e]=[])},r.removeAllHooks=function(){he={}},r}()}()},23:(e,t,n)=>{"use strict";n.d(t,{xI:()=>ce});let r={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function s(e){r=e}const i=/[&<>"']/,o=new RegExp(i.source,"g"),l=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,a=new RegExp(l.source,"g"),c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},p=e=>c[e];function u(e,t){if(t){if(i.test(e))return e.replace(o,p)}else if(l.test(e))return e.replace(a,p);return e}const h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,f=/(^|[^\[])\^/g;function g(e,t){let n="string"==typeof e?e:e.source;t=t||"";const r={replace:(e,t)=>{let s="string"==typeof t?t:t.source;return s=s.replace(f,"$1"),n=n.replace(e,s),r},getRegex:()=>new RegExp(n,t)};return r}function d(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const m={exec:()=>null};function k(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let r=!1,s=t;for(;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"})).split(/ \|/);let r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function x(e,t,n){const r=e.length;if(0===r)return"";let s=0;for(;s<r;){const i=e.charAt(r-s-1);if(i!==t||n){if(i===t||!n)break;s++}else s++}return e.slice(0,r-s)}function b(e,t,n,r){const s=t.href,i=t.title?u(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;const e={type:"link",raw:n,href:s,title:i,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,e}return{type:"image",raw:n,href:s,title:i,text:u(o)}}class y{options;rules;lexer;constructor(e){this.options=e||r}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:x(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const r=n[1];return t.split("\n").map((e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=r.length?e.slice(r.length):e})).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=x(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:x(t[0],"\n")}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let e=x(t[0],"\n").split("\n"),n="",r="";const s=[];for(;e.length>0;){let t=!1;const i=[];let o;for(o=0;o<e.length;o++)if(/^ {0,3}>/.test(e[o]))i.push(e[o]),t=!0;else{if(t)break;i.push(e[o])}e=e.slice(o);const l=i.join("\n"),a=l.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n $1").replace(/^ {0,3}>[ \t]?/gm,"");n=n?`${n}\n${l}`:l,r=r?`${r}\n${a}`:a;const c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(a,s,!0),this.lexer.state.top=c,0===e.length)break;const p=s[s.length-1];if("code"===p?.type)break;if("blockquote"===p?.type){const t=p,i=t.raw+"\n"+e.join("\n"),o=this.blockquote(i);s[s.length-1]=o,n=n.substring(0,n.length-t.raw.length)+o.raw,r=r.substring(0,r.length-t.text.length)+o.text;break}if("list"!==p?.type);else{const t=p,i=t.raw+"\n"+e.join("\n"),o=this.list(i);s[s.length-1]=o,n=n.substring(0,n.length-p.raw.length)+o.raw,r=r.substring(0,r.length-t.raw.length)+o.raw,e=i.substring(s[s.length-1].raw.length).split("\n")}}return{type:"blockquote",raw:n,tokens:s,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const r=n.length>1,s={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");const i=new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);let o=!1;for(;e;){let n=!1,r="",l="";if(!(t=i.exec(e)))break;if(this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let a=t[2].split("\n",1)[0].replace(/^\t+/,(e=>" ".repeat(3*e.length))),c=e.split("\n",1)[0],p=!a.trim(),u=0;if(this.options.pedantic?(u=2,l=a.trimStart()):p?u=t[1].length+1:(u=t[2].search(/[^ ]/),u=u>4?1:u,l=a.slice(u),u+=t[1].length),p&&/^ *$/.test(c)&&(r+=c+"\n",e=e.substring(c.length+1),n=!0),!n){const t=new RegExp(`^ {0,${Math.min(3,u-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),n=new RegExp(`^ {0,${Math.min(3,u-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),s=new RegExp(`^ {0,${Math.min(3,u-1)}}(?:\`\`\`|~~~)`),i=new RegExp(`^ {0,${Math.min(3,u-1)}}#`);for(;e;){const o=e.split("\n",1)[0];if(c=o,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),s.test(c))break;if(i.test(c))break;if(t.test(c))break;if(n.test(e))break;if(c.search(/[^ ]/)>=u||!c.trim())l+="\n"+c.slice(u);else{if(p)break;if(a.search(/[^ ]/)>=4)break;if(s.test(a))break;if(i.test(a))break;if(n.test(a))break;l+="\n"+c}p||c.trim()||(p=!0),r+=o+"\n",e=e.substring(o.length+1),a=c.slice(u)}}s.loose||(o?s.loose=!0:/\n *\n *$/.test(r)&&(o=!0));let h,f=null;this.options.gfm&&(f=/^\[[ xX]\] /.exec(l),f&&(h="[ ] "!==f[0],l=l.replace(/^\[[ xX]\] +/,""))),s.items.push({type:"list_item",raw:r,task:!!f,checked:h,loose:!1,text:l,tokens:[]}),s.raw+=r}s.items[s.items.length-1].raw=s.items[s.items.length-1].raw.trimEnd(),s.items[s.items.length-1].text=s.items[s.items.length-1].text.trimEnd(),s.raw=s.raw.trimEnd();for(let e=0;e<s.items.length;e++)if(this.lexer.state.top=!1,s.items[e].tokens=this.lexer.blockTokens(s.items[e].text,[]),!s.loose){const t=s.items[e].tokens.filter((e=>"space"===e.type)),n=t.length>0&&t.some((e=>/\n.*\n/.test(e.raw)));s.loose=n}if(s.loose)for(let e=0;e<s.items.length;e++)s.items[e].loose=!0;return s}}html(e){const t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:r}}}table(e){const t=this.rules.block.table.exec(e);if(!t)return;if(!/[:|]/.test(t[2]))return;const n=k(t[1]),r=t[2].replace(/^\||\| *$/g,"").split("|"),s=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],i={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(const e of r)/^ *-+: *$/.test(e)?i.align.push("right"):/^ *:-+: *$/.test(e)?i.align.push("center"):/^ *:-+ *$/.test(e)?i.align.push("left"):i.align.push(null);for(let e=0;e<n.length;e++)i.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:i.align[e]});for(const e of s)i.rows.push(k(e,i.header.length).map(((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:i.align[t]}))));return i}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:u(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=x(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let n=0;for(let r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),b(t,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const e=t[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!e){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return b(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(r&&(!r[3]||!n.match(/[\p{L}\p{N}]/u))&&(!r[1]&&!r[2]||!n||this.rules.inline.punctuation.exec(n))){const n=[...r[0]].length-1;let s,i,o=n,l=0;const a="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(a.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=a.exec(t));){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s)continue;if(i=[...s].length,r[3]||r[4]){o+=i;continue}if((r[5]||r[6])&&n%3&&!((n+i)%3)){l+=i;continue}if(o-=i,o>0)continue;i=Math.min(i,i+o+l);const t=[...r[0]][0].length,a=e.slice(0,n+r.index+t+i);if(Math.min(n,i)%2){const e=a.slice(1,-1);return{type:"em",raw:a,text:e,tokens:this.lexer.inlineTokens(e)}}const c=a.slice(2,-2);return{type:"strong",raw:a,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),r=/^ /.test(e)&&/ $/.test(e);return n&&r&&(e=e.substring(1,e.length-1)),e=u(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=u(t[1]),n="mailto:"+e):(e=u(t[1]),n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])e=u(t[0]),n="mailto:"+e;else{let r;do{r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??""}while(r!==t[0]);e=u(t[0]),n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:u(t[0]),{type:"text",raw:t[0],text:e}}}}const w=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,T=/(?:[*+-]|\d{1,9}[.)])/,_=g(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,T).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(),A=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,E=/(?!\s*\])(?:\\.|[^\[\]\\])+/,R=g(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",E).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),S=g(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,T).getRegex(),N="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",I=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,$=g("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",I).replace("tag",N).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),C=g(A).replace("hr",w).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","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",N).getRegex(),L={blockquote:g(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",C).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:R,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:w,html:$,lheading:_,list:S,newline:/^(?: *(?:\n|$))+/,paragraph:C,table:m,text:/^[^\n]+/},z=g("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",w).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","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",N).getRegex(),v={...L,table:z,paragraph:g(A).replace("hr",w).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",z).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",N).getRegex()},D={...L,html:g("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",I).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:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:m,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:g(A).replace("hr",w).replace("heading"," *#{1,6} *[^\n]").replace("lheading",_).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},O=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,M=/^( {2,}|\\)\n(?!\s*$)/,P="\\p{P}\\p{S}",U=g(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,P).getRegex(),F=g(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,P).getRegex(),H=g("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,P).getRegex(),B=g("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,P).getRegex(),q=g(/\\([punct])/,"gu").replace(/punct/g,P).getRegex(),W=g(/^<(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(),Z=g(I).replace("(?:--\x3e|$)","--\x3e").getRegex(),j=g("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Z).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),G=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Y=g(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",G).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Q=g(/^!?\[(label)\]\[(ref)\]/).replace("label",G).replace("ref",E).getRegex(),X=g(/^!?\[(ref)\](?:\[\])?/).replace("ref",E).getRegex(),V={_backpedal:m,anyPunctuation:q,autolink:W,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:M,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:m,emStrongLDelim:F,emStrongRDelimAst:H,emStrongRDelimUnd:B,escape:O,link:Y,nolink:X,punctuation:U,reflink:Q,reflinkSearch:g("reflink|nolink(?!\\()","g").replace("reflink",Q).replace("nolink",X).getRegex(),tag:j,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:m},K={...V,link:g(/^!?\[(label)\]\((.*?)\)/).replace("label",G).getRegex(),reflink:g(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",G).getRegex()},J={...V,escape:g(O).replace("])","~|])").getRegex(),url:g(/^((?: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]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},ee={...J,br:g(M).replace("{2,}","*").getRegex(),text:g(J.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},te={normal:L,gfm:v,pedantic:D},ne={normal:V,gfm:J,breaks:ee,pedantic:K};class re{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||r,this.options.tokenizer=this.options.tokenizer||new y,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:te.normal,inline:ne.normal};this.options.pedantic?(t.block=te.pedantic,t.inline=ne.pedantic):this.options.gfm&&(t.block=te.gfm,this.options.breaks?t.inline=ne.breaks:t.inline=ne.gfm),this.tokenizer.rules=t}static get rules(){return{block:te,inline:ne}}static lex(e,t){return new re(t).lex(e)}static lexInline(e,t){return new re(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){const t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){let r,s,i;for(e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,((e,t,n)=>t+" ".repeat(n.length)));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))))if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),1===r.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(r);else if(r=this.tokenizer.code(e))e=e.substring(r.raw.length),s=t[t.length-1],!s||"paragraph"!==s.type&&"text"!==s.type?t.push(r):(s.raw+="\n"+r.raw,s.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=s.text);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.list(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.html(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.def(e))e=e.substring(r.raw.length),s=t[t.length-1],!s||"paragraph"!==s.type&&"text"!==s.type?this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title}):(s.raw+="\n"+r.raw,s.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=s.text);else if(r=this.tokenizer.table(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.lheading(e))e=e.substring(r.raw.length),t.push(r);else{if(i=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startBlock.forEach((e=>{r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i)))s=t[t.length-1],n&&"paragraph"===s?.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):t.push(r),n=i.length!==e.length,e=e.substring(r.raw.length);else if(r=this.tokenizer.text(e))e=e.substring(r.raw.length),s=t[t.length-1],s&&"text"===s.type?(s.raw+="\n"+r.raw,s.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):t.push(r);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,r,s,i,o,l,a=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(a));)e.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(a));)a=a.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.anyPunctuation.exec(a));)a=a.slice(0,i.index)+"++"+a.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(o||(l=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,a,l))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e))){if(s=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startInline.forEach((e=>{r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(s=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(s))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(l=n.raw.slice(-1)),o=!0,r=t[t.length-1],r&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(n.raw.length),t.push(n);return t}}class se{options;parser;constructor(e){this.options=e||r}space(e){return""}code({text:e,lang:t,escaped:n}){const r=(t||"").match(/^\S*/)?.[0],s=e.replace(/\n$/,"")+"\n";return r?'<pre><code class="language-'+u(r)+'">'+(n?s:u(s,!0))+"</code></pre>\n":"<pre><code>"+(n?s:u(s,!0))+"</code></pre>\n"}blockquote({tokens:e}){return`<blockquote>\n${this.parser.parse(e)}</blockquote>\n`}html({text:e}){return e}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>\n`}hr(e){return"<hr>\n"}list(e){const t=e.ordered,n=e.start;let r="";for(let t=0;t<e.items.length;t++){const n=e.items[t];r+=this.listitem(n)}const s=t?"ol":"ul";return"<"+s+(t&&1!==n?' start="'+n+'"':"")+">\n"+r+"</"+s+">\n"}listitem(e){let t="";if(e.task){const n=this.checkbox({checked:!!e.checked});e.loose?e.tokens.length>0&&"paragraph"===e.tokens[0].type?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=n+" "+e.tokens[0].tokens[0].text)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" "}):t+=n+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`<li>${t}</li>\n`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>\n`}table(e){let t="",n="";for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r="";for(let t=0;t<e.rows.length;t++){const s=e.rows[t];n="";for(let e=0;e<s.length;e++)n+=this.tablecell(s[e]);r+=this.tablerow({text:n})}return r&&(r=`<tbody>${r}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+r+"</table>\n"}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){const t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>\n`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${e}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){const r=this.parser.parseInline(n),s=d(e);if(null===s)return r;let i='<a href="'+(e=s)+'"';return t&&(i+=' title="'+t+'"'),i+=">"+r+"</a>",i}image({href:e,title:t,text:n}){const r=d(e);if(null===r)return n;let s=`<img src="${e=r}" alt="${n}"`;return t&&(s+=` title="${t}"`),s+=">",s}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):e.text}}class ie{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}}class oe{options;renderer;textRenderer;constructor(e){this.options=e||r,this.options.renderer=this.options.renderer||new se,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new ie}static parse(e,t){return new oe(t).parse(e)}static parseInline(e,t){return new oe(t).parseInline(e)}parse(e,t=!0){let n="";for(let r=0;r<e.length;r++){const s=e[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const e=s,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){n+=t||"";continue}}const i=s;switch(i.type){case"space":n+=this.renderer.space(i);continue;case"hr":n+=this.renderer.hr(i);continue;case"heading":n+=this.renderer.heading(i);continue;case"code":n+=this.renderer.code(i);continue;case"table":n+=this.renderer.table(i);continue;case"blockquote":n+=this.renderer.blockquote(i);continue;case"list":n+=this.renderer.list(i);continue;case"html":n+=this.renderer.html(i);continue;case"paragraph":n+=this.renderer.paragraph(i);continue;case"text":{let s=i,o=this.renderer.text(s);for(;r+1<e.length&&"text"===e[r+1].type;)s=e[++r],o+="\n"+this.renderer.text(s);n+=t?this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o}]}):o;continue}default:{const e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}parseInline(e,t){t=t||this.renderer;let n="";for(let r=0;r<e.length;r++){const s=e[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const e=this.options.extensions.renderers[s.type].call({parser:this},s);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){n+=e||"";continue}}const i=s;switch(i.type){case"escape":case"text":n+=t.text(i);break;case"html":n+=t.html(i);break;case"link":n+=t.link(i);break;case"image":n+=t.image(i);break;case"strong":n+=t.strong(i);break;case"em":n+=t.em(i);break;case"codespan":n+=t.codespan(i);break;case"br":n+=t.br(i);break;case"del":n+=t.del(i);break;default:{const e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}}class le{options;constructor(e){this.options=e||r}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}}const ae=new class{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.#e(re.lex,oe.parse);parseInline=this.#e(re.lexInline,oe.parseInline);Parser=oe;Renderer=se;TextRenderer=ie;Lexer=re;Tokenizer=y;Hooks=le;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(const r of e)switch(n=n.concat(t.call(this,r)),r.type){case"table":{const e=r;for(const r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(const r of e.rows)for(const e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=r;n=n.concat(this.walkTokens(e.items,t));break}default:{const e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach((r=>{const s=e[r].flat(1/0);n=n.concat(this.walkTokens(s,t))})):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach((e=>{const n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){const n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let r=e.renderer.apply(this,t);return!1===r&&(r=n.apply(this,t)),r}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");const n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),n.extensions=t),e.renderer){const t=this.defaults.renderer||new se(this.defaults);for(const n in e.renderer){if(!(n in t))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;const r=n;let s=e.renderer[r];e.useNewRenderer||(s=this.#t(s,r,t));const i=t[r];t[r]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=i.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new y(this.defaults);for(const n in e.tokenizer){if(!(n in t))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const r=n,s=e.tokenizer[r],i=t[r];t[r]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new le;for(const n in e.hooks){if(!(n in t))throw new Error(`hook '${n}' does not exist`);if("options"===n)continue;const r=n,s=e.hooks[r],i=t[r];le.passThroughHooks.has(n)?t[r]=e=>{if(this.defaults.async)return Promise.resolve(s.call(t,e)).then((e=>i.call(t,e)));const n=s.call(t,e);return i.call(t,n)}:t[r]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){const t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}})),this}#t(e,t,n){switch(t){case"heading":return function(r){return r.type&&r.type===t?e.call(this,n.parser.parseInline(r.tokens),r.depth,function(e){return e.replace(h,((e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}(n.parser.parseInline(r.tokens,n.parser.textRenderer))):e.apply(this,arguments)};case"code":return function(n){return n.type&&n.type===t?e.call(this,n.text,n.lang,!!n.escaped):e.apply(this,arguments)};case"table":return function(n){if(!n.type||n.type!==t)return e.apply(this,arguments);let r="",s="";for(let e=0;e<n.header.length;e++)s+=this.tablecell({text:n.header[e].text,tokens:n.header[e].tokens,header:!0,align:n.align[e]});r+=this.tablerow({text:s});let i="";for(let e=0;e<n.rows.length;e++){const t=n.rows[e];s="";for(let e=0;e<t.length;e++)s+=this.tablecell({text:t[e].text,tokens:t[e].tokens,header:!1,align:n.align[e]});i+=this.tablerow({text:s})}return e.call(this,r,i)};case"blockquote":return function(n){if(!n.type||n.type!==t)return e.apply(this,arguments);const r=this.parser.parse(n.tokens);return e.call(this,r)};case"list":return function(n){if(!n.type||n.type!==t)return e.apply(this,arguments);const r=n.ordered,s=n.start,i=n.loose;let o="";for(let e=0;e<n.items.length;e++){const t=n.items[e],r=t.checked,s=t.task;let l="";if(t.task){const e=this.checkbox({checked:!!r});i?t.tokens.length>0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=e+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=e+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",text:e+" "}):l+=e+" "}l+=this.parser.parse(t.tokens,i),o+=this.listitem({type:"list_item",raw:l,text:l,task:s,checked:!!r,loose:i,tokens:t.tokens})}return e.call(this,o,r,s)};case"html":return function(n){return n.type&&n.type===t?e.call(this,n.text,n.block):e.apply(this,arguments)};case"paragraph":case"strong":case"em":case"del":return function(n){return n.type&&n.type===t?e.call(this,this.parser.parseInline(n.tokens)):e.apply(this,arguments)};case"escape":case"codespan":case"text":return function(n){return n.type&&n.type===t?e.call(this,n.text):e.apply(this,arguments)};case"link":return function(n){return n.type&&n.type===t?e.call(this,n.href,n.title,this.parser.parseInline(n.tokens)):e.apply(this,arguments)};case"image":return function(n){return n.type&&n.type===t?e.call(this,n.href,n.title,n.text):e.apply(this,arguments)}}return e}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return re.lex(e,t??this.defaults)}parser(e,t){return oe.parse(e,t??this.defaults)}#e(e,t){return(n,r)=>{const s={...r},i={...this.defaults,...s};!0===this.defaults.async&&!1===s.async&&(i.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),i.async=!0);const o=this.#n(!!i.silent,!!i.async);if(null==n)return o(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(i.hooks&&(i.hooks.options=i),i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(n):n).then((t=>e(t,i))).then((e=>i.hooks?i.hooks.processAllTokens(e):e)).then((e=>i.walkTokens?Promise.all(this.walkTokens(e,i.walkTokens)).then((()=>e)):e)).then((e=>t(e,i))).then((e=>i.hooks?i.hooks.postprocess(e):e)).catch(o);try{i.hooks&&(n=i.hooks.preprocess(n));let r=e(n,i);i.hooks&&(r=i.hooks.processAllTokens(r)),i.walkTokens&&this.walkTokens(r,i.walkTokens);let s=t(r,i);return i.hooks&&(s=i.hooks.postprocess(s)),s}catch(e){return o(e)}}}#n(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+u(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function ce(e,t){return ae.parse(e,t)}ce.options=ce.setOptions=function(e){return ae.setOptions(e),ce.defaults=ae.defaults,s(ce.defaults),ce},ce.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},ce.defaults=r,ce.use=function(...e){return ae.use(...e),ce.defaults=ae.defaults,s(ce.defaults),ce},ce.walkTokens=function(e,t){return ae.walkTokens(e,t)},ce.parseInline=ae.parseInline,ce.Parser=oe,ce.parser=oe.parse,ce.Renderer=se,ce.TextRenderer=ie,ce.Lexer=re,ce.lexer=re.lex,ce.Tokenizer=y,ce.Hooks=le,ce.parse=ce,ce.options,ce.setOptions,ce.use,ce.walkTokens,ce.parseInline,oe.parse,re.lex}}]);
@@ -0,0 +1 @@
1
+ /*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
@@ -0,0 +1 @@
1
+ "use strict";(this.webpackChunkVamChatbot=this.webpackChunkVamChatbot||[]).push([[161],{4161:(e,s,a)=>{a.r(s),a.d(s,{default:()=>I});var t=a(6540),l=a(5793),n=a(9956),i=a(3810),r=a(8629),o=a(5072),c=a.n(o),d=a(7825),h=a.n(d),m=a(7659),p=a.n(m),x=a(5056),b=a.n(x),u=a(540),j=a.n(u),v=a(1113),g=a.n(v),N=a(4267),f={};f.styleTagTransform=g(),f.setAttributes=b(),f.insert=p().bind(null,"head"),f.domAPI=h(),f.insertStyleElement=j(),c()(N.A,f);const y=N.A&&N.A.locals?N.A.locals:void 0;var A=a(4848);const $=function(e){let{theme:s="light"}=e;return(0,A.jsxs)("div",{className:"placeholder-glow",children:[(0,A.jsxs)("div",{className:y.placeholderContainer,children:[(0,A.jsx)("div",{className:`placeholder bg-${s} ${y.placeholder}`,style:{width:"20%"}}),(0,A.jsx)("div",{className:`placeholder bg-${s} ${y.placeholder}`,style:{width:"50%"}})]}),(0,A.jsxs)("div",{className:y.placeholderContainer,children:[(0,A.jsx)("div",{className:`placeholder bg-${s} ${y.placeholder}`,style:{width:"40%",marginLeft:"5%"}}),(0,A.jsx)("div",{className:`placeholder bg-${s} ${y.placeholder}`,style:{width:"50%"}})]}),(0,A.jsxs)("div",{className:y.placeholderContainer,children:[(0,A.jsx)("div",{className:`placeholder bg-${s} ${y.placeholder}`,style:{width:"30%",marginLeft:"5%"}}),(0,A.jsx)("div",{className:`placeholder bg-${s} ${y.placeholder}`,style:{width:"15%"}}),(0,A.jsx)("div",{className:`placeholder bg-${s} ${y.placeholder}`,style:{width:"20%"}})]}),(0,A.jsx)("div",{className:y.placeholderContainer,children:(0,A.jsx)("div",{className:`placeholder bg-${s} ${y.placeholder}`,style:{width:"15%"}})})]})};var w=a(1251),S=a(2852);const T=(0,t.lazy)((()=>a.e(76).then(a.bind(a,9076)))),z=(0,t.lazy)((()=>Promise.all([a.e(146),a.e(317)]).then(a.bind(a,9317)))),I=function(e){let{messageList:s,promptsData:a,handleSubmit:t,chatbotState:o,scrollAnchorRef:c,promptsMinimized:d,setPromptsMinimized:h,inputRef:m,inputText:p,handleInput:x,placeholderInputText:b,chatbotIcon:u}=e;return(0,A.jsx)(l.F,{features:n.l,children:(0,A.jsxs)("div",{className:r.A.body,children:[(0,A.jsxs)(i.m.div,{variants:w.DS,className:r.A.conversation,children:[s.map(((e,s)=>(0,A.jsx)(z,{chatbotIcon:u,messageText:e?.data?.text,messageReferenceLinks:e?.data?.sources,messageImageLinks:e?.data?.image_links,messageSource:e?.source,messageStatus:e?.status,promotedTopics:e?.data?.promoted_topics,typewriterEffect:e?.typewriterEffect},`message-${s}`))),a?.show&&(0,A.jsx)("div",{className:r.A.bodyPromptsContainer,children:(0,A.jsx)(S.A,{promptsData:a,handleSubmit:t,setPromptsMinimized:h})}),1===o&&(0,A.jsxs)("div",{className:r.A.message,children:[(0,A.jsx)("img",{src:u,loading:"lazy",alt:"chatbot icon",className:r.A.chatbotIcon}),(0,A.jsx)("span",{className:"w-100",children:(0,A.jsx)($,{theme:"dark"})})]}),(0,A.jsx)("div",{className:"scrollAnchor",ref:c})]}),(0,A.jsx)(T,{setPromptsMinimized:h,promptsMinimized:d,promptsData:a,handleSubmit:t,chatbotState:o,inputRef:m,inputText:p,handleInput:x,placeholderInputText:b})]})})}},2852:(e,s,a)=>{a.d(s,{A:()=>d});var t=a(5793),l=a(9956),n=a(3810),i=a(8629),r=a(4848);const o=function(e){let{option:s,chatbotState:a,handleSubmit:t=()=>{},setPromptsMinimized:l=()=>{}}=e;return(0,r.jsxs)("button",{className:i.A.option,onClick:()=>{l(!0),t(s?.query||s?.label)},disabled:1===a||2===a,children:[(0,r.jsx)("i",{className:`bi ${s?.iconClass}`}),(0,r.jsx)("span",{className:i.A.optionText,children:s?.label})]})};var c=a(1251);const d=function(e){let{promptsData:s,handleSubmit:a,setPromptsMinimized:d,chatbotState:h}=e;return(0,r.jsx)(t.F,{features:l.l,children:(0,r.jsx)("div",{className:i.A.promptsData,children:s?.prompts?.map(((e,s)=>(0,r.jsx)(n.m.span,{variants:c.N4,children:(0,r.jsx)(o,{option:e,handleSubmit:a,setPromptsMinimized:d,chatbotState:h},`option-${s}`)},s)))})})}},4267:(e,s,a)=>{a.d(s,{A:()=>r});var t=a(1601),l=a.n(t),n=a(6314),i=a.n(n)()(l());i.push([e.id,".I3r6BXln1zxH2ejvDTTd {\n margin-bottom: 1rem;\n gap: 3%;\n display: flex;\n}\n\n.rTpIHcFrLNeg6YGEnkxW {\n border-radius: 5px;\n}\n",""]),i.locals={placeholderContainer:"I3r6BXln1zxH2ejvDTTd",placeholder:"rTpIHcFrLNeg6YGEnkxW"};const r=i}}]);
@@ -0,0 +1 @@
1
+ "use strict";(this.webpackChunkVamChatbot=this.webpackChunkVamChatbot||[]).push([[187],{6314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,s,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(i[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);r&&i[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),t.push(l))}},t}},1601:e=>{e.exports=function(e){return e[1]}},4921:(e,t,n)=>{t.Ay=void 0;var r=n(1380);Object.defineProperty(t,"Ay",{enumerable:!0,get:function(){return r.useWebSocket}});n(7407),n(9800),n(9797),n(1001)},8049:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.attachListeners=void 0;var s=n(9789),o=n(7889),i=n(9800),a=n(1001);t.attachListeners=function(e,t,n,c,u,l){var d,h,p,f=t.setLastMessage,m=t.setReadyState;return n.current.fromSocketIO&&(d=(0,s.setUpSocketIOPing)(l)),function(e,t,n){var r;if(t.current.heartbeat&&e instanceof WebSocket){var s="boolean"==typeof t.current.heartbeat?void 0:t.current.heartbeat;r=(0,o.heartbeat)(e,s)}e.onmessage=function(e){var s;null==r||r(),t.current.onMessage&&t.current.onMessage(e),"function"==typeof t.current.filter&&!0!==t.current.filter(e)||t.current.heartbeat&&"boolean"!=typeof t.current.heartbeat&&(null===(s=t.current.heartbeat)||void 0===s?void 0:s.returnMessage)===e.data||n(e)}}(e,n,f),function(e,t,n,r){e.onopen=function(e){t.current.onOpen&&t.current.onOpen(e),r.current=0,n(i.ReadyState.OPEN)}}(e,n,m,u),h=function(e,t,n,r,s){return i.isEventSourceSupported&&e instanceof EventSource?function(){}:((0,a.assertIsWebSocket)(e,t.current.skipAssert),e.onclose=function(e){var a;if(t.current.onClose&&t.current.onClose(e),n(i.ReadyState.CLOSED),t.current.shouldReconnect&&t.current.shouldReconnect(e)){var c=null!==(a=t.current.reconnectAttempts)&&void 0!==a?a:i.DEFAULT_RECONNECT_LIMIT;if(s.current<c){var u="function"==typeof t.current.reconnectInterval?t.current.reconnectInterval(s.current):t.current.reconnectInterval;o=window.setTimeout((function(){s.current++,r()}),null!=u?u:i.DEFAULT_RECONNECT_INTERVAL_MS)}else t.current.onReconnectStop&&t.current.onReconnectStop(c),console.warn("Max reconnect attempts of ".concat(c," exceeded"))}},function(){return o&&window.clearTimeout(o)});var o}(e,n,m,c,u),p=function(e,t,n,s,o){var a;return e.onerror=function(c){var u;if(t.current.onError&&t.current.onError(c),i.isEventSourceSupported&&e instanceof EventSource&&(t.current.onClose&&t.current.onClose(r(r({},c),{code:1006,reason:"An error occurred with the EventSource: ".concat(c),wasClean:!1})),n(i.ReadyState.CLOSED),e.close()),t.current.retryOnError)if(o.current<(null!==(u=t.current.reconnectAttempts)&&void 0!==u?u:i.DEFAULT_RECONNECT_LIMIT)){var l="function"==typeof t.current.reconnectInterval?t.current.reconnectInterval(o.current):t.current.reconnectInterval;a=window.setTimeout((function(){o.current++,s()}),null!=l?l:i.DEFAULT_RECONNECT_INTERVAL_MS)}else t.current.onReconnectStop&&t.current.onReconnectStop(t.current.reconnectAttempts),console.warn("Max reconnect attempts of ".concat(t.current.reconnectAttempts," exceeded"))},function(){return a&&window.clearTimeout(a)}}(e,n,m,c,u),function(){m(i.ReadyState.CLOSING),h(),p(),e.close(),d&&clearInterval(d)}}},5784:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.attachSharedListeners=void 0;var s=n(8389),o=n(9800),i=n(5984),a=n(9789),c=n(7889);t.attachSharedListeners=function(e,t,n,u){var l;return n.current.fromSocketIO&&(l=(0,a.setUpSocketIOPing)(u)),function(e,t,n){var r;n&&e instanceof WebSocket&&(r=(0,c.heartbeat)(e,"boolean"==typeof n?void 0:n)),e.onmessage=function(e){null==r||r(),(0,i.getSubscribers)(t).forEach((function(t){t.optionsRef.current.onMessage&&t.optionsRef.current.onMessage(e),"function"==typeof t.optionsRef.current.filter&&!0!==t.optionsRef.current.filter(e)||n&&"boolean"!=typeof n&&(null==n?void 0:n.returnMessage)===e.data||t.setLastMessage(e)}))}}(e,t,n.current.heartbeat),function(e,t){e instanceof WebSocket&&(e.onclose=function(e){(0,i.getSubscribers)(t).forEach((function(t){t.optionsRef.current.onClose&&t.optionsRef.current.onClose(e),t.setReadyState(o.ReadyState.CLOSED)})),delete s.sharedWebSockets[t],(0,i.getSubscribers)(t).forEach((function(t){var n;if(t.optionsRef.current.shouldReconnect&&t.optionsRef.current.shouldReconnect(e)){var r=null!==(n=t.optionsRef.current.reconnectAttempts)&&void 0!==n?n:o.DEFAULT_RECONNECT_LIMIT;if(t.reconnectCount.current<r){var s="function"==typeof t.optionsRef.current.reconnectInterval?t.optionsRef.current.reconnectInterval(t.reconnectCount.current):t.optionsRef.current.reconnectInterval;setTimeout((function(){t.reconnectCount.current++,t.reconnect.current()}),null!=s?s:o.DEFAULT_RECONNECT_INTERVAL_MS)}else t.optionsRef.current.onReconnectStop&&t.optionsRef.current.onReconnectStop(t.optionsRef.current.reconnectAttempts),console.warn("Max reconnect attempts of ".concat(r," exceeded"))}}))})}(e,t),function(e,t){e.onopen=function(e){(0,i.getSubscribers)(t).forEach((function(t){t.reconnectCount.current=0,t.optionsRef.current.onOpen&&t.optionsRef.current.onOpen(e),t.setReadyState(o.ReadyState.OPEN)}))}}(e,t),function(e,t){e.onerror=function(n){(0,i.getSubscribers)(t).forEach((function(t){t.optionsRef.current.onError&&t.optionsRef.current.onError(n),o.isEventSourceSupported&&e instanceof EventSource&&(t.optionsRef.current.onClose&&t.optionsRef.current.onClose(r(r({},n),{code:1006,reason:"An error occurred with the EventSource: ".concat(n),wasClean:!1})),t.setReadyState(o.ReadyState.CLOSED))})),o.isEventSourceSupported&&e instanceof EventSource&&e.close()}}(e,t),function(){l&&clearInterval(l)}}},9800:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.isEventSourceSupported=t.isReactNative=t.ReadyState=t.DEFAULT_HEARTBEAT=t.UNPARSABLE_JSON_OBJECT=t.DEFAULT_RECONNECT_INTERVAL_MS=t.DEFAULT_RECONNECT_LIMIT=t.SOCKET_IO_PING_CODE=t.SOCKET_IO_PATH=t.SOCKET_IO_PING_INTERVAL=t.DEFAULT_EVENT_SOURCE_OPTIONS=t.EMPTY_EVENT_HANDLERS=t.DEFAULT_OPTIONS=void 0,t.DEFAULT_OPTIONS={},t.EMPTY_EVENT_HANDLERS={},t.DEFAULT_EVENT_SOURCE_OPTIONS={withCredentials:!1,events:t.EMPTY_EVENT_HANDLERS},t.SOCKET_IO_PING_INTERVAL=25e3,t.SOCKET_IO_PATH="/socket.io/?EIO=3&transport=websocket",t.SOCKET_IO_PING_CODE="2",t.DEFAULT_RECONNECT_LIMIT=20,t.DEFAULT_RECONNECT_INTERVAL_MS=5e3,t.UNPARSABLE_JSON_OBJECT={},t.DEFAULT_HEARTBEAT={message:"ping",timeout:6e4,interval:25e3},(n=t.ReadyState||(t.ReadyState={}))[n.UNINSTANTIATED=-1]="UNINSTANTIATED",n[n.CONNECTING=0]="CONNECTING",n[n.OPEN=1]="OPEN",n[n.CLOSING=2]="CLOSING",n[n.CLOSED=3]="CLOSED",t.isReactNative="undefined"!=typeof navigator&&"ReactNative"===navigator.product,t.isEventSourceSupported=!t.isReactNative&&function(){try{return"EventSource"in globalThis}catch(e){return!1}}()},2604:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createOrJoinSocket=void 0;var r=n(8389),s=n(9800),o=n(8049),i=n(5784),a=n(5984);t.createOrJoinSocket=function(e,t,n,c,u,l,d,h){if(!s.isEventSourceSupported&&c.current.eventSourceOptions)throw s.isReactNative?new Error("EventSource is not supported in ReactNative"):new Error("EventSource is not supported");if(c.current.share){var p=null;void 0===r.sharedWebSockets[t]?(r.sharedWebSockets[t]=c.current.eventSourceOptions?new EventSource(t,c.current.eventSourceOptions):new WebSocket(t,c.current.protocols),e.current=r.sharedWebSockets[t],n(s.ReadyState.CONNECTING),p=(0,i.attachSharedListeners)(r.sharedWebSockets[t],t,c,h)):(e.current=r.sharedWebSockets[t],n(r.sharedWebSockets[t].readyState));var f={setLastMessage:u,setReadyState:n,optionsRef:c,reconnectCount:d,reconnect:l};return(0,a.addSubscriber)(t,f),function(e,t,n,o,i){return function(){if((0,a.removeSubscriber)(e,t),!(0,a.hasSubscribers)(e)){try{var c=r.sharedWebSockets[e];c instanceof WebSocket&&(c.onclose=function(e){n.current.onClose&&n.current.onClose(e),o(s.ReadyState.CLOSED)}),c.close()}catch(e){}i&&i(),delete r.sharedWebSockets[e]}}}(t,f,c,n,p)}if(e.current=c.current.eventSourceOptions?new EventSource(t,c.current.eventSourceOptions):new WebSocket(t,c.current.protocols),n(s.ReadyState.CONNECTING),!e.current)throw new Error("WebSocket failed to be created");return(0,o.attachListeners)(e.current,{setLastMessage:u,setReadyState:n},c,l.current,d,h)}},6421:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(s,o){function i(e){try{c(r.next(e))}catch(e){o(e)}}function a(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}c((r=r.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var n,r,s,o,i={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(s=2&o[0]?r.return:o[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,o[1])).done)return s;switch(r=0,s&&(o=[2&o[0],s.value]),o[0]){case 0:case 1:s=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,r=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!((s=(s=i.trys).length>0&&s[s.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!s||o[1]>s[0]&&o[1]<s[3])){i.label=o[1];break}if(6===o[0]&&i.label<s[1]){i.label=s[1],s=o;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(o);break}s[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],r=0}finally{n=s=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.getUrl=void 0;var o=n(9789),i=n(9800);t.getUrl=function(e,n,a){return void 0===a&&(a=0),r(void 0,void 0,void 0,(function(){var r,c,u,l,d,h,p;return s(this,(function(s){switch(s.label){case 0:if("function"!=typeof e)return[3,10];s.label=1;case 1:return s.trys.push([1,3,,9]),[4,e()];case 2:return r=s.sent(),[3,9];case 3:return s.sent(),n.current.retryOnError?(c=null!==(d=n.current.reconnectAttempts)&&void 0!==d?d:i.DEFAULT_RECONNECT_LIMIT,a<c?(u="function"==typeof n.current.reconnectInterval?n.current.reconnectInterval(a):n.current.reconnectInterval,[4,(f=null!=u?u:i.DEFAULT_RECONNECT_INTERVAL_MS,new Promise((function(e){return window.setTimeout(e,f)})))]):[3,5]):[3,7];case 4:return s.sent(),[2,(0,t.getUrl)(e,n,a+1)];case 5:return null===(p=(h=n.current).onReconnectStop)||void 0===p||p.call(h,a),[2,null];case 6:return[3,8];case 7:return[2,null];case 8:return[3,9];case 9:return[3,11];case 10:r=e,s.label=11;case 11:return l=n.current.fromSocketIO?(0,o.parseSocketIOUrl)(r):r,[2,n.current.queryParams?(0,o.appendQueryParams)(l,n.current.queryParams):l]}var f}))}))}},8389:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.resetWebSockets=t.sharedWebSockets=void 0,t.sharedWebSockets={},t.resetWebSockets=function(e){if(e&&t.sharedWebSockets.hasOwnProperty(e))delete t.sharedWebSockets[e];else for(var n in t.sharedWebSockets)t.sharedWebSockets.hasOwnProperty(n)&&delete t.sharedWebSockets[n]}},7889:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.heartbeat=void 0;var r=n(9800);t.heartbeat=function(e,t){var n=t||{},s=n.interval,o=void 0===s?r.DEFAULT_HEARTBEAT.interval:s,i=n.timeout,a=void 0===i?r.DEFAULT_HEARTBEAT.timeout:i,c=n.message,u=void 0===c?r.DEFAULT_HEARTBEAT.message:c,l=!1,d=setInterval((function(){try{"function"==typeof u?e.send(u()):e.send(u)}catch(e){}}),o),h=setInterval((function(){l?l=!1:e.close()}),a);return e.addEventListener("close",(function(){clearInterval(d),clearInterval(h)})),function(){l=!0}}},5984:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.resetSubscribers=t.removeSubscriber=t.addSubscriber=t.hasSubscribers=t.getSubscribers=void 0;var n={},r=[];t.getSubscribers=function(e){return(0,t.hasSubscribers)(e)?Array.from(n[e]):r},t.hasSubscribers=function(e){var t;return(null===(t=n[e])||void 0===t?void 0:t.size)>0},t.addSubscriber=function(e,t){n[e]=n[e]||new Set,n[e].add(t)},t.removeSubscriber=function(e,t){n[e].delete(t)},t.resetSubscribers=function(e){if(e&&n.hasOwnProperty(e))delete n[e];else for(var t in n)n.hasOwnProperty(t)&&delete n[t]}},1881:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.websocketWrapper=void 0,t.websocketWrapper=function(e,t){return new Proxy(e,{get:function(e,n){var r=e[n];return"reconnect"===n?t:"function"==typeof r?(console.error("Calling methods directly on the websocket is not supported at this moment. You must use the methods returned by useWebSocket."),function(){}):r},set:function(e,t,n){return/^on/.test(t)?(console.warn("The websocket's event handlers should be defined through the options object passed into useWebSocket."),!1):(e[t]=n,!0)}})},t.default=t.websocketWrapper},9789:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setUpSocketIOPing=t.appendQueryParams=t.parseSocketIOUrl=void 0;var r=n(9800);t.parseSocketIOUrl=function(e){if(e){var t=/^https|wss/.test(e),n=e.replace(/^(https?|wss?)(:\/\/)?/,"").replace(/\/$/,"");return"".concat(s=t?"wss":"ws","://").concat(n).concat(r.SOCKET_IO_PATH)}if(""===e){var s=(t=/^https/.test(window.location.protocol))?"wss":"ws",o=window.location.port?":".concat(window.location.port):"";return"".concat(s,"://").concat(window.location.hostname).concat(o).concat(r.SOCKET_IO_PATH)}return e},t.appendQueryParams=function(e,t){void 0===t&&(t={});var n=/\?([\w]+=[\w]+)/.test(e),r="".concat(Object.entries(t).reduce((function(e,t){var n=t[0],r=t[1];return e+"".concat(n,"=").concat(r,"&")}),"").slice(0,-1));return"".concat(e).concat(n?"&":"?").concat(r)},t.setUpSocketIOPing=function(e,t){return void 0===t&&(t=r.SOCKET_IO_PING_INTERVAL),window.setInterval((function(){return e(r.SOCKET_IO_PING_CODE)}),t)}},9797:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},r.apply(this,arguments)},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.useEventSource=void 0;var o=n(6540),i=n(1380),a=n(9800);t.useEventSource=function(e,t,n){void 0===t&&(t=a.DEFAULT_EVENT_SOURCE_OPTIONS);var c=t.withCredentials,u=t.events,l=s(t,["withCredentials","events"]);void 0===n&&(n=!0);var d=r(r({},l),{eventSourceOptions:{withCredentials:c}}),h=(0,o.useRef)(a.EMPTY_EVENT_HANDLERS);u&&(h.current=u);var p=(0,i.useWebSocket)(e,d,n),f=p.lastMessage,m=p.readyState,v=p.getWebSocket;return(0,o.useEffect)((function(){(null==f?void 0:f.type)&&Object.entries(h.current).forEach((function(e){var t=e[0],n=e[1];t===f.type&&n(f)}))}),[f]),{lastEvent:f,readyState:m,getEventSource:v}}},7407:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.useSocketIO=void 0;var s=n(6540),o=n(1380),i=n(9800),a={type:"empty",payload:null};t.useSocketIO=function(e,t,n){void 0===t&&(t=i.DEFAULT_OPTIONS),void 0===n&&(n=!0);var c=(0,s.useMemo)((function(){return r(r({},t),{fromSocketIO:!0})}),[]),u=(0,o.useWebSocket)(e,c,n),l=u.sendMessage,d=u.sendJsonMessage,h=u.lastMessage,p=u.readyState,f=u.getWebSocket,m=(0,s.useMemo)((function(){return function(e){if(!e||!e.data)return a;var t=e.data.match(/\[.*]/);if(!t)return a;var n=JSON.parse(t);return Array.isArray(n)&&n[1]?{type:n[0],payload:n[1]}:a}(h)}),[h]);return{sendMessage:l,sendJsonMessage:d,lastMessage:m,lastJsonMessage:m,readyState:p,getWebSocket:f}}},1380:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},r.apply(this,arguments)},s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(s,o){function i(e){try{c(r.next(e))}catch(e){o(e)}}function a(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}c((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,s,o,i={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(s=2&o[0]?r.return:o[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,o[1])).done)return s;switch(r=0,s&&(o=[2&o[0],s.value]),o[0]){case 0:case 1:s=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,r=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!((s=(s=i.trys).length>0&&s[s.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!s||o[1]>s[0]&&o[1]<s[3])){i.label=o[1];break}if(6===o[0]&&i.label<s[1]){i.label=s[1],s=o;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(o);break}s[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],r=0}finally{n=s=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useWebSocket=void 0;var a=n(6540),c=n(961),u=n(9800),l=n(2604),d=n(6421),h=i(n(1881)),p=n(1001);t.useWebSocket=function(e,t,n){void 0===t&&(t=u.DEFAULT_OPTIONS),void 0===n&&(n=!0);var i=(0,a.useState)(null),f=i[0],m=i[1],v=(0,a.useState)({}),y=v[0],g=v[1],b=(0,a.useMemo)((function(){if(f)try{return JSON.parse(f.data)}catch(e){return u.UNPARSABLE_JSON_OBJECT}return null}),[f]),S=(0,a.useRef)(null),w=(0,a.useRef)(null),E=(0,a.useRef)((function(){})),T=(0,a.useRef)(0),O=(0,a.useRef)([]),A=(0,a.useRef)(null),C=(0,a.useRef)(t);C.current=t;var R=S.current&&void 0!==y[S.current]?y[S.current]:null!==e&&!0===n?u.ReadyState.CONNECTING:u.ReadyState.UNINSTANTIATED,x=t.queryParams?JSON.stringify(t.queryParams):null,P=(0,a.useCallback)((function(e,t){var n;void 0===t&&(t=!0),u.isEventSourceSupported&&w.current instanceof EventSource?console.warn("Unable to send a message from an eventSource"):(null===(n=w.current)||void 0===n?void 0:n.readyState)===u.ReadyState.OPEN?((0,p.assertIsWebSocket)(w.current,C.current.skipAssert),w.current.send(e)):t&&O.current.push(e)}),[]),k=(0,a.useCallback)((function(e,t){void 0===t&&(t=!0),P(JSON.stringify(e),t)}),[P]),N=(0,a.useCallback)((function(){return!0!==C.current.share||u.isEventSourceSupported&&w.current instanceof EventSource?w.current:(null===A.current&&w.current&&((0,p.assertIsWebSocket)(w.current,C.current.skipAssert),A.current=(0,h.default)(w.current,E)),A.current)}),[]);return(0,a.useEffect)((function(){if(null!==e&&!0===n){var t,i=!1,a=!0,h=function(){return s(void 0,void 0,void 0,(function(){var n,s,h;return o(this,(function(o){switch(o.label){case 0:return n=S,[4,(0,d.getUrl)(e,C)];case 1:return n.current=o.sent(),null===S.current?(console.error("Failed to get a valid URL. WebSocket connection aborted."),S.current="ABORTED",(0,c.flushSync)((function(){return g((function(e){return r(r({},e),{ABORTED:u.ReadyState.CLOSED})}))})),[2]):(s=function(e){i||(0,c.flushSync)((function(){return m(e)}))},h=function(e){i||(0,c.flushSync)((function(){return g((function(t){var n;return r(r({},t),S.current&&((n={})[S.current]=e,n))}))}))},a&&(t=(0,l.createOrJoinSocket)(w,S.current,h,C,s,E,T,P)),[2])}}))}))};return E.current=function(){i||(A.current&&(A.current=null),null==t||t(),h())},h(),function(){i=!0,a=!1,A.current&&(A.current=null),null==t||t(),m(null)}}null!==e&&!1!==n||(T.current=0,g((function(e){var t;return r(r({},e),S.current&&((t={})[S.current]=u.ReadyState.CLOSED,t))})))}),[e,n,x,P]),(0,a.useEffect)((function(){R===u.ReadyState.OPEN&&O.current.splice(0).forEach((function(e){P(e)}))}),[R]),{sendMessage:P,sendJsonMessage:k,lastMessage:f,lastJsonMessage:b,readyState:R,getWebSocket:N}}},1001:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.resetGlobalState=t.assertIsWebSocket=void 0;var r=n(8389),s=n(5984);t.assertIsWebSocket=function(e,t){if(!t&&e instanceof WebSocket==0)throw new Error("")},t.resetGlobalState=function(e){(0,s.resetSubscribers)(e),(0,r.resetWebSockets)(e)}},5072:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},i=[],a=0;a<e.length;a++){var c=e[a],u=r.base?c[0]+r.base:c[0],l=o[u]||0,d="".concat(u," ").concat(l);o[u]=l+1;var h=n(d),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=s(p,r);r.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}i.push(d)}return i}function s(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,s){var o=r(e=e||[],s=s||{});return function(e){e=e||[];for(var i=0;i<o.length;i++){var a=n(o[i]);t[a].references--}for(var c=r(e,s),u=0;u<o.length;u++){var l=n(o[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=c}}},7659:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},5056:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var s=void 0!==n.layer;s&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,s&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},1113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1083:(e,t,n)=>{n.d(t,{A:()=>bt});var r={};function s(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:()=>pe,hasStandardBrowserEnv:()=>me,hasStandardBrowserWebWorkerEnv:()=>ve,navigator:()=>fe,origin:()=>ye});const{toString:o}=Object.prototype,{getPrototypeOf:i}=Object,a=(c=Object.create(null),e=>{const t=o.call(e);return c[t]||(c[t]=t.slice(8,-1).toLowerCase())});var c;const u=e=>(e=e.toLowerCase(),t=>a(t)===e),l=e=>t=>typeof t===e,{isArray:d}=Array,h=l("undefined"),p=u("ArrayBuffer"),f=l("string"),m=l("function"),v=l("number"),y=e=>null!==e&&"object"==typeof e,g=e=>{if("object"!==a(e))return!1;const t=i(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},b=u("Date"),S=u("File"),w=u("Blob"),E=u("FileList"),T=u("URLSearchParams"),[O,A,C,R]=["ReadableStream","Request","Response","Headers"].map(u);function x(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,s;if("object"!=typeof e&&(e=[e]),d(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),o=s.length;let i;for(r=0;r<o;r++)i=s[r],t.call(null,e[i],i,e)}}function P(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,s=n.length;for(;s-- >0;)if(r=n[s],t===r.toLowerCase())return r;return null}const k="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,N=e=>!h(e)&&e!==k,M=(_="undefined"!=typeof Uint8Array&&i(Uint8Array),e=>_&&e instanceof _);var _;const I=u("HTMLFormElement"),F=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),L=u("RegExp"),V=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};x(n,((n,s)=>{let o;!1!==(o=t(n,s,e))&&(r[s]=o||n)})),Object.defineProperties(e,r)},j="abcdefghijklmnopqrstuvwxyz",D="0123456789",U={DIGIT:D,ALPHA:j,ALPHA_DIGIT:j+j.toUpperCase()+D},B=u("AsyncFunction"),W=(q="function"==typeof setImmediate,K=m(k.postMessage),q?setImmediate:K?(H=`axios@${Math.random()}`,G=[],k.addEventListener("message",(({source:e,data:t})=>{e===k&&t===H&&G.length&&G.shift()()}),!1),e=>{G.push(e),k.postMessage(H,"*")}):e=>setTimeout(e));var q,K,H,G;const $="undefined"!=typeof queueMicrotask?queueMicrotask.bind(k):"undefined"!=typeof process&&process.nextTick||W,z={isArray:d,isArrayBuffer:p,isBuffer:function(e){return null!==e&&!h(e)&&null!==e.constructor&&!h(e.constructor)&&m(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||m(e.append)&&("formdata"===(t=a(e))||"object"===t&&m(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&p(e.buffer),t},isString:f,isNumber:v,isBoolean:e=>!0===e||!1===e,isObject:y,isPlainObject:g,isReadableStream:O,isRequest:A,isResponse:C,isHeaders:R,isUndefined:h,isDate:b,isFile:S,isBlob:w,isRegExp:L,isFunction:m,isStream:e=>y(e)&&m(e.pipe),isURLSearchParams:T,isTypedArray:M,isFileList:E,forEach:x,merge:function e(){const{caseless:t}=N(this)&&this||{},n={},r=(r,s)=>{const o=t&&P(n,s)||s;g(n[o])&&g(r)?n[o]=e(n[o],r):g(r)?n[o]=e({},r):d(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&x(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(x(t,((t,r)=>{n&&m(t)?e[r]=s(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let s,o,a;const c={};if(t=t||{},null==e)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)a=s[o],r&&!r(a,e,t)||c[a]||(t[a]=e[a],c[a]=!0);e=!1!==n&&i(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:u,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(d(e))return e;let t=e.length;if(!v(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:I,hasOwnProperty:F,hasOwnProp:F,reduceDescriptors:V,freezeMethods:e=>{V(e,((t,n)=>{if(m(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];m(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return d(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:P,global:k,isContextDefined:N,ALPHABET:U,generateString:(e=16,t=U.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&m(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(y(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const s=d(e)?[]:{};return x(e,((e,t)=>{const o=n(e,r+1);!h(o)&&(s[t]=o)})),t[r]=void 0,s}}return e};return n(e,0)},isAsyncFn:B,isThenable:e=>e&&(y(e)||m(e))&&m(e.then)&&m(e.catch),setImmediate:W,asap:$};function Y(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}z.inherits(Y,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:z.toJSONObject(this.config),code:this.code,status:this.status}}});const J=Y.prototype,X={};["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((e=>{X[e]={value:e}})),Object.defineProperties(Y,X),Object.defineProperty(J,"isAxiosError",{value:!0}),Y.from=(e,t,n,r,s,o)=>{const i=Object.create(J);return z.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Y.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Q=Y;function Z(e){return z.isPlainObject(e)||z.isArray(e)}function ee(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function te(e,t,n){return e?e.concat(t).map((function(e,t){return e=ee(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const ne=z.toFlatObject(z,{},null,(function(e){return/^is[A-Z]/.test(e)})),re=function(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!z.isUndefined(t[e])}))).metaTokens,s=n.visitor||u,o=n.dots,i=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&z.isSpecCompliantForm(t);if(!z.isFunction(s))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(z.isDate(e))return e.toISOString();if(!a&&z.isBlob(e))throw new Q("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(e)||z.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,s){let a=e;if(e&&!s&&"object"==typeof e)if(z.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(z.isArray(e)&&function(e){return z.isArray(e)&&!e.some(Z)}(e)||(z.isFileList(e)||z.endsWith(n,"[]"))&&(a=z.toArray(e)))return n=ee(n),a.forEach((function(e,r){!z.isUndefined(e)&&null!==e&&t.append(!0===i?te([n],r,o):null===i?n:n+"[]",c(e))})),!1;return!!Z(e)||(t.append(te(s,n,o),c(e)),!1)}const l=[],d=Object.assign(ne,{defaultVisitor:u,convertValue:c,isVisitable:Z});if(!z.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!z.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),z.forEach(n,(function(n,o){!0===(!(z.isUndefined(n)||null===n)&&s.call(t,n,z.isString(o)?o.trim():o,r,d))&&e(n,r?r.concat(o):[o])})),l.pop()}}(e),t};function se(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function oe(e,t){this._pairs=[],e&&re(e,this,t)}const ie=oe.prototype;ie.append=function(e,t){this._pairs.push([e,t])},ie.toString=function(e){const t=e?function(t){return e.call(this,t,se)}:se;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ae=oe;function ce(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ue(e,t,n){if(!t)return e;const r=n&&n.encode||ce,s=n&&n.serialize;let o;if(o=s?s(t,n):z.isURLSearchParams(t)?t.toString():new ae(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}const le=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){z.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},de={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},he={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ae,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},pe="undefined"!=typeof window&&"undefined"!=typeof document,fe="object"==typeof navigator&&navigator||void 0,me=pe&&(!fe||["ReactNative","NativeScript","NS"].indexOf(fe.product)<0),ve="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ye=pe&&window.location.href||"http://localhost",ge={...r,...he},be=function(e){function t(e,n,r,s){let o=e[s++];if("__proto__"===o)return!0;const i=Number.isFinite(+o),a=s>=e.length;return o=!o&&z.isArray(r)?r.length:o,a?(z.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!i):(r[o]&&z.isObject(r[o])||(r[o]=[]),t(e,n,r[o],s)&&z.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}(r[o])),!i)}if(z.isFormData(e)&&z.isFunction(e.entries)){const n={};return z.forEachEntry(e,((e,r)=>{t(function(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null},Se={transitional:de,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,s=z.isObject(e);if(s&&z.isHTMLForm(e)&&(e=new FormData(e)),z.isFormData(e))return r?JSON.stringify(be(e)):e;if(z.isArrayBuffer(e)||z.isBuffer(e)||z.isStream(e)||z.isFile(e)||z.isBlob(e)||z.isReadableStream(e))return e;if(z.isArrayBufferView(e))return e.buffer;if(z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return re(e,new ge.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ge.isNode&&z.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=z.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return re(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return s||r?(t.setContentType("application/json",!1),function(e){if(z.isString(e))try{return(0,JSON.parse)(e),z.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Se.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(z.isResponse(e)||z.isReadableStream(e))return e;if(e&&z.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw Q.from(e,Q.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ge.classes.FormData,Blob:ge.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],(e=>{Se.headers[e]={}}));const we=Se,Ee=z.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"]),Te=Symbol("internals");function Oe(e){return e&&String(e).trim().toLowerCase()}function Ae(e){return!1===e||null==e?e:z.isArray(e)?e.map(Ae):String(e)}function Ce(e,t,n,r,s){return z.isFunction(r)?r.call(this,t,n):(s&&(t=n),z.isString(t)?z.isString(r)?-1!==t.indexOf(r):z.isRegExp(r)?r.test(t):void 0:void 0)}class Re{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function s(e,t,n){const s=Oe(t);if(!s)throw new Error("header name must be a non-empty string");const o=z.findKey(r,s);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=Ae(e))}const o=(e,t)=>z.forEach(e,((e,n)=>s(e,n,t)));if(z.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(z.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,r,s;return e&&e.split("\n").forEach((function(e){s=e.indexOf(":"),n=e.substring(0,s).trim().toLowerCase(),r=e.substring(s+1).trim(),!n||t[n]&&Ee[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(z.isHeaders(e))for(const[t,r]of e.entries())s(r,t,n);else null!=e&&s(t,e,n);return this}get(e,t){if(e=Oe(e)){const n=z.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(z.isFunction(t))return t.call(this,e,n);if(z.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Oe(e)){const n=z.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ce(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function s(e){if(e=Oe(e)){const s=z.findKey(n,e);!s||t&&!Ce(0,n[s],s,t)||(delete n[s],r=!0)}}return z.isArray(e)?e.forEach(s):s(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const s=t[n];e&&!Ce(0,this[s],s,e,!0)||(delete this[s],r=!0)}return r}normalize(e){const t=this,n={};return z.forEach(this,((r,s)=>{const o=z.findKey(n,s);if(o)return t[o]=Ae(r),void delete t[s];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(s):String(s).trim();i!==s&&delete t[s],t[i]=Ae(r),n[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return z.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&z.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Te]=this[Te]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Oe(e);t[r]||(function(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,s){return this[r].call(this,t,e,n,s)},configurable:!0})}))}(n,e),t[r]=!0)}return z.isArray(e)?e.forEach(r):r(e),this}}Re.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),z.reduceDescriptors(Re.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),z.freezeMethods(Re);const xe=Re;function Pe(e,t){const n=this||we,r=t||n,s=xe.from(r.headers);let o=r.data;return z.forEach(e,(function(e){o=e.call(n,o,s.normalize(),t?t.status:void 0)})),s.normalize(),o}function ke(e){return!(!e||!e.__CANCEL__)}function Ne(e,t,n){Q.call(this,null==e?"canceled":e,Q.ERR_CANCELED,t,n),this.name="CanceledError"}z.inherits(Ne,Q,{__CANCEL__:!0});const Me=Ne;function _e(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Q("Request failed with status code "+n.status,[Q.ERR_BAD_REQUEST,Q.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Ie=(e,t,n=3)=>{let r=0;const s=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s,o=0,i=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),u=r[i];s||(s=c),n[o]=a,r[o]=c;let l=i,d=0;for(;l!==o;)d+=n[l++],l%=e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-s<t)return;const h=u&&c-u;return h?Math.round(1e3*d/h):void 0}}(50,250);return function(e,t){let n,r,s=0,o=1e3/t;const i=(t,o=Date.now())=>{s=o,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),a=t-s;a>=o?i(e,t):(n=e,r||(r=setTimeout((()=>{r=null,i(n)}),o-a)))},()=>n&&i(n)]}((n=>{const o=n.loaded,i=n.lengthComputable?n.total:void 0,a=o-r,c=s(a);r=o,e({loaded:o,total:i,progress:i?o/i:void 0,bytes:a,rate:c||void 0,estimated:c&&i&&o<=i?(i-o)/c:void 0,event:n,lengthComputable:null!=i,[t?"download":"upload"]:!0})}),n)},Fe=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Le=e=>(...t)=>z.asap((()=>e(...t))),Ve=ge.hasStandardBrowserEnv?function(){const e=ge.navigator&&/(msie|trident)/i.test(ge.navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=z.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},je=ge.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];z.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),z.isString(r)&&i.push("path="+r),z.isString(s)&&i.push("domain="+s),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function De(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Ue=e=>e instanceof xe?{...e}:e;function Be(e,t){t=t||{};const n={};function r(e,t,n){return z.isPlainObject(e)&&z.isPlainObject(t)?z.merge.call({caseless:n},e,t):z.isPlainObject(t)?z.merge({},t):z.isArray(t)?t.slice():t}function s(e,t,n){return z.isUndefined(t)?z.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!z.isUndefined(t))return r(void 0,t)}function i(e,t){return z.isUndefined(t)?z.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,s,o){return o in t?r(n,s):o in e?r(void 0,n):void 0}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(e,t)=>s(Ue(e),Ue(t),!0)};return z.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=c[r]||s,i=o(e[r],t[r],r);z.isUndefined(i)&&o!==a||(n[r]=i)})),n}const We=e=>{const t=Be({},e);let n,{data:r,withXSRFToken:s,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:c}=t;if(t.headers=a=xe.from(a),t.url=ue(De(t.baseURL,t.url),e.params,e.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),z.isFormData(r))if(ge.hasStandardBrowserEnv||ge.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(ge.hasStandardBrowserEnv&&(s&&z.isFunction(s)&&(s=s(t)),s||!1!==s&&Ve(t.url))){const e=o&&i&&je.read(i);e&&a.set(o,e)}return t},qe="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=We(e);let s=r.data;const o=xe.from(r.headers).normalize();let i,a,c,u,l,{responseType:d,onUploadProgress:h,onDownloadProgress:p}=r;function f(){u&&u(),l&&l(),r.cancelToken&&r.cancelToken.unsubscribe(i),r.signal&&r.signal.removeEventListener("abort",i)}let m=new XMLHttpRequest;function v(){if(!m)return;const r=xe.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());_e((function(e){t(e),f()}),(function(e){n(e),f()}),{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=v:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(v)},m.onabort=function(){m&&(n(new Q("Request aborted",Q.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new Q("Network Error",Q.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const s=r.transitional||de;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Q(t,s.clarifyTimeoutError?Q.ETIMEDOUT:Q.ECONNABORTED,e,m)),m=null},void 0===s&&o.setContentType(null),"setRequestHeader"in m&&z.forEach(o.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),z.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),p&&([c,l]=Ie(p,!0),m.addEventListener("progress",c)),h&&m.upload&&([a,u]=Ie(h),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(i=t=>{m&&(n(!t||t.type?new Me(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(i),r.signal&&(r.signal.aborted?i():r.signal.addEventListener("abort",i)));const y=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);y&&-1===ge.protocols.indexOf(y)?n(new Q("Unsupported protocol "+y+":",Q.ERR_BAD_REQUEST,e)):m.send(s||null)}))},Ke=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const s=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Q?t:new Me(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{o=null,s(new Q(`timeout ${t} of ms exceeded`,Q.ETIMEDOUT))}),t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(s):e.removeEventListener("abort",s)})),e=null)};e.forEach((e=>e.addEventListener("abort",s)));const{signal:a}=r;return a.unsubscribe=()=>z.asap(i),a}},He=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,s=0;for(;s<n;)r=s+t,yield e.slice(s,r),s=r},Ge=(e,t,n,r)=>{const s=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*He(n,t)}(e,t);let o,i=0,a=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await s.next();if(t)return a(),void e.close();let o=r.byteLength;if(n){let e=i+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw a(e),e}},cancel:e=>(a(e),s.return())},{highWaterMark:2})},$e="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,ze=$e&&"function"==typeof ReadableStream,Ye=$e&&("function"==typeof TextEncoder?(Je=new TextEncoder,e=>Je.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Je;const Xe=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Qe=ze&&Xe((()=>{let e=!1;const t=new Request(ge.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Ze=ze&&Xe((()=>z.isReadableStream(new Response("").body))),et={stream:Ze&&(e=>e.body)};var tt;$e&&(tt=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!et[e]&&(et[e]=z.isFunction(tt[e])?t=>t[e]():(t,n)=>{throw new Q(`Response type '${e}' is not supported`,Q.ERR_NOT_SUPPORT,n)})})));const nt={http:null,xhr:qe,fetch:$e&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:i,onDownloadProgress:a,onUploadProgress:c,responseType:u,headers:l,withCredentials:d="same-origin",fetchOptions:h}=We(e);u=u?(u+"").toLowerCase():"text";let p,f=Ke([s,o&&o.toAbortSignal()],i);const m=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let v;try{if(c&&Qe&&"get"!==n&&"head"!==n&&0!==(v=await(async(e,t)=>{const n=z.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(z.isBlob(e))return e.size;if(z.isSpecCompliantForm(e)){const t=new Request(ge.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return z.isArrayBufferView(e)||z.isArrayBuffer(e)?e.byteLength:(z.isURLSearchParams(e)&&(e+=""),z.isString(e)?(await Ye(e)).byteLength:void 0)})(t):n})(l,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(z.isFormData(r)&&(e=n.headers.get("content-type"))&&l.setContentType(e),n.body){const[e,t]=Fe(v,Ie(Le(c)));r=Ge(n.body,65536,e,t)}}z.isString(d)||(d=d?"include":"omit");const s="credentials"in Request.prototype;p=new Request(t,{...h,signal:f,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:s?d:void 0});let o=await fetch(p);const i=Ze&&("stream"===u||"response"===u);if(Ze&&(a||i&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=o[t]}));const t=z.toFiniteNumber(o.headers.get("content-length")),[n,r]=a&&Fe(t,Ie(Le(a),!0))||[];o=new Response(Ge(o.body,65536,n,(()=>{r&&r(),m&&m()})),e)}u=u||"text";let y=await et[z.findKey(et,u)||"text"](o,e);return!i&&m&&m(),await new Promise(((t,n)=>{_e(t,n,{data:y,headers:xe.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:p})}))}catch(t){if(m&&m(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new Q("Network Error",Q.ERR_NETWORK,e,p),{cause:t.cause||t});throw Q.from(t,t&&t.code,e,p)}})};z.forEach(nt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const rt=e=>`- ${e}`,st=e=>z.isFunction(e)||null===e||!1===e,ot=e=>{e=z.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){let t;if(n=e[o],r=n,!st(n)&&(r=nt[(t=String(n)).toLowerCase()],void 0===r))throw new Q(`Unknown adapter '${t}'`);if(r)break;s[t||"#"+o]=r}if(!r){const e=Object.entries(s).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(rt).join("\n"):" "+rt(e[0]):"as no adapter specified";throw new Q("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function it(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Me(null,e)}function at(e){return it(e),e.headers=xe.from(e.headers),e.data=Pe.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ot(e.adapter||we.adapter)(e).then((function(t){return it(e),t.data=Pe.call(e,e.transformResponse,t),t.headers=xe.from(t.headers),t}),(function(t){return ke(t)||(it(e),t&&t.response&&(t.response.data=Pe.call(e,e.transformResponse,t.response),t.response.headers=xe.from(t.response.headers))),Promise.reject(t)}))}const ct={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{ct[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const ut={};ct.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,s,o)=>{if(!1===e)throw new Q(r(s," has been removed"+(t?" in "+t:"")),Q.ERR_DEPRECATED);return t&&!ut[s]&&(ut[s]=!0,console.warn(r(s," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,s,o)}};const lt={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Q("options must be an object",Q.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const t=e[o],n=void 0===t||i(t,o,e);if(!0!==n)throw new Q("option "+o+" must be "+n,Q.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Q("Unknown option "+o,Q.ERR_BAD_OPTION)}},validators:ct},dt=lt.validators;class ht{constructor(e){this.defaults=e,this.interceptors={request:new le,response:new le}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Be(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:s}=t;void 0!==n&&lt.assertOptions(n,{silentJSONParsing:dt.transitional(dt.boolean),forcedJSONParsing:dt.transitional(dt.boolean),clarifyTimeoutError:dt.transitional(dt.boolean)},!1),null!=r&&(z.isFunction(r)?t.paramsSerializer={serialize:r}:lt.assertOptions(r,{encode:dt.function,serialize:dt.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=s&&z.merge(s.common,s[t.method]);s&&z.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete s[e]})),t.headers=xe.concat(o,s);const i=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,d=0;if(!a){const e=[at.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,c),l=e.length,u=Promise.resolve(t);d<l;)u=u.then(e[d++],e[d++]);return u}l=i.length;let h=t;for(d=0;d<l;){const e=i[d++],t=i[d++];try{h=e(h)}catch(e){t.call(this,e);break}}try{u=at.call(this,h)}catch(e){return Promise.reject(e)}for(d=0,l=c.length;d<l;)u=u.then(c[d++],c[d++]);return u}getUri(e){return ue(De((e=Be(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}z.forEach(["delete","get","head","options"],(function(e){ht.prototype[e]=function(t,n){return this.request(Be(n||{},{method:e,url:t,data:(n||{}).data}))}})),z.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,s){return this.request(Be(s||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}ht.prototype[e]=t(),ht.prototype[e+"Form"]=t(!0)}));const pt=ht;class ft{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,s){n.reason||(n.reason=new Me(e,r,s),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new ft((function(t){e=t})),cancel:e}}}const mt=ft,vt={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(vt).forEach((([e,t])=>{vt[t]=e}));const yt=vt,gt=function e(t){const n=new pt(t),r=s(pt.prototype.request,n);return z.extend(r,pt.prototype,n,{allOwnKeys:!0}),z.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Be(t,n))},r}(we);gt.Axios=pt,gt.CanceledError=Me,gt.CancelToken=mt,gt.isCancel=ke,gt.VERSION="1.7.7",gt.toFormData=re,gt.AxiosError=Q,gt.Cancel=gt.CanceledError,gt.all=function(e){return Promise.all(e)},gt.spread=function(e){return function(t){return e.apply(null,t)}},gt.isAxiosError=function(e){return z.isObject(e)&&!0===e.isAxiosError},gt.mergeConfig=Be,gt.AxiosHeaders=xe,gt.formToJSON=e=>be(z.isHTMLForm(e)?new FormData(e):e),gt.getAdapter=ot,gt.HttpStatusCode=yt,gt.default=gt;const bt=gt},7395:(e,t,n)=>{n.d(t,{M:()=>r});const r=new Set(["opacity","clipPath","filter","transform"])},2392:(e,t,n)=>{n.d(t,{n:()=>r});const r="data-"+(0,n(8062).I)("framerAppearId")},5490:(e,t,n)=>{function r(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}n.d(t,{N:()=>r})},1712:(e,t,n)=>{n.d(t,{p:()=>r});const r=e=>Array.isArray(e)},5793:(e,t,n)=>{n.d(t,{F:()=>a});var r=n(4848),s=n(6540),o=n(6048),i=n(2194);function a({children:e,features:t,strict:n=!1}){const[,a]=(0,s.useState)(!c(t)),u=(0,s.useRef)(void 0);if(!c(t)){const{renderer:e,...n}=t;u.current=e,(0,i.Y)(n)}return(0,s.useEffect)((()=>{c(t)&&t().then((({renderer:e,...t})=>{(0,i.Y)(t),u.current=e,a(!0)}))}),[]),(0,r.jsx)(o.Y.Provider,{value:{renderer:u.current,strict:n},children:e})}function c(e){return"function"==typeof e}},6048:(e,t,n)=>{n.d(t,{Y:()=>r});const r=(0,n(6540).createContext)({strict:!1})},8530:(e,t,n)=>{n.d(t,{I:()=>i});var r=n(4668);const s=["read","resolveKeyframes","update","preRender","render","postRender"],o=40;function i(e,t){let n=!1,i=!0;const a={delta:0,timestamp:0,isProcessing:!1},c=()=>n=!0,u=s.reduce(((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,s=!1;const o=new WeakSet;let i={delta:0,timestamp:0,isProcessing:!1};function a(t){o.has(t)&&(c.schedule(t),e()),t(i)}const c={schedule:(e,s=!1,i=!1)=>{const a=i&&r?t:n;return s&&o.add(e),a.has(e)||a.add(e),e},cancel:e=>{n.delete(e),o.delete(e)},process:e=>{i=e,r?s=!0:(r=!0,[t,n]=[n,t],n.clear(),t.forEach(a),r=!1,s&&(s=!1,c.process(e)))}};return c}(c),e)),{}),{read:l,resolveKeyframes:d,update:h,preRender:p,render:f,postRender:m}=u,v=()=>{const s=r.W.useManualTiming?a.timestamp:performance.now();n=!1,a.delta=i?1e3/60:Math.max(Math.min(s-a.timestamp,o),1),a.timestamp=s,a.isProcessing=!0,l.process(a),d.process(a),h.process(a),p.process(a),f.process(a),m.process(a),a.isProcessing=!1,n&&t&&(i=!1,e(v))};return{schedule:s.reduce(((t,r)=>{const s=u[r];return t[r]=(t,r=!1,o=!1)=>(n||(n=!0,i=!0,a.isProcessing||e(v)),s.schedule(t,r,o)),t}),{}),cancel:e=>{for(let t=0;t<s.length;t++)u[s[t]].cancel(e)},state:a,steps:u}}},104:(e,t,n)=>{n.d(t,{Gt:()=>o,WG:()=>i,uv:()=>a});var r=n(3659),s=n(8530);const{schedule:o,cancel:i,state:a,steps:c}=(0,s.I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.l,!0)},3996:(e,t,n)=>{n.d(t,{B:()=>s});const r={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},s={};for(const e in r)s[e]={isEnabled:t=>r[e].some((e=>!!t[e]))}},2194:(e,t,n)=>{n.d(t,{Y:()=>s});var r=n(3996);function s(e){for(const t in e)r.B[t]={...r.B[t],...e[t]}}},6471:(e,t,n)=>{n.d(t,{z:()=>o});const r={};var s=n(2200);function o(e,{layout:t,layoutId:n}){return s.f.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!r[e]||"opacity"===e)}},3810:(e,t,n)=>{function r(e){if("undefined"==typeof Proxy)return e;const t=new Map;return new Proxy(((...t)=>e(...t)),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}n.d(t,{m:()=>le});var s=n(4848),o=n(6540);const i=(0,o.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),a=(0,o.createContext)({}),c=(0,o.createContext)(null);var u=n(8288);const l=u.B?o.useLayoutEffect:o.useEffect;var d=n(6048),h=n(2392),p=n(8530);const{schedule:f,cancel:m}=(0,p.I)(queueMicrotask,!1);function v(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}const y=(0,o.createContext)({});let g=!1;function b(e,t,n,r,s){var u;const{visualElement:p}=(0,o.useContext)(a),m=(0,o.useContext)(d.Y),b=(0,o.useContext)(c),E=(0,o.useContext)(i).reducedMotion,T=(0,o.useRef)();r=r||m.renderer,!T.current&&r&&(T.current=r(e,{visualState:t,parent:p,props:n,presenceContext:b,blockInitialAnimation:!!b&&!1===b.initial,reducedMotionConfig:E}));const O=T.current,A=(0,o.useContext)(y);!O||O.projection||!s||"html"!==O.type&&"svg"!==O.type||function(e,t,n,r){const{layoutId:s,layout:o,drag:i,dragConstraints:a,layoutScroll:c,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:w(e.parent)),e.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:Boolean(i)||a&&v(a),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:r,layoutScroll:c,layoutRoot:u})}(T.current,n,s,A),(0,o.useInsertionEffect)((()=>{O&&O.update(n,b)}));const C=n[h.n],R=(0,o.useRef)(Boolean(C)&&!window.MotionHandoffIsComplete&&(null===(u=window.MotionHasOptimisedAnimation)||void 0===u?void 0:u.call(window,C)));return l((()=>{O&&(O.updateFeatures(),f.render(O.render),R.current&&O.animationState&&O.animationState.animateChanges())})),(0,o.useEffect)((()=>{O&&(!R.current&&O.animationState&&O.animationState.animateChanges(),R.current=!1,g||(g=!0,queueMicrotask(S)))})),O}function S(){window.MotionHandoffIsComplete=!0}function w(e){if(e)return!1!==e.options.allowProjection?e.projection:w(e.parent)}function E(e,t,n){return(0,o.useCallback)((r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):v(n)&&(n.current=r))}),[t])}var T=n(6551),O=n(837);function A(e){return Array.isArray(e)?e.join(" "):e}var C=n(2194);const R=(0,o.createContext)({}),x=Symbol.for("motionComponentSymbol");var P=n(3996);function k({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:c}){e&&(0,C.Y)(e);const l=(0,o.forwardRef)((function(e,l){let h;const p={...(0,o.useContext)(i),...e,layoutId:N(e)},{isStatic:f}=p,m=function(e){const{initial:t,animate:n}=function(e,t){if((0,O.e)(e)){const{initial:t,animate:n}=e;return{initial:!1===t||(0,T.w)(t)?t:void 0,animate:(0,T.w)(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,o.useContext)(a));return(0,o.useMemo)((()=>({initial:t,animate:n})),[A(t),A(n)])}(e),v=r(e,f);if(!f&&u.B){(0,o.useContext)(d.Y).strict;const e=function(e){const{drag:t,layout:n}=P.B;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(p);h=e.MeasureLayout,m.visualElement=b(c,v,p,t,e.ProjectionNode)}return(0,s.jsxs)(a.Provider,{value:m,children:[h&&m.visualElement?(0,s.jsx)(h,{visualElement:m.visualElement,...p}):null,n(c,e,E(v,m.visualElement,l),v,f,m.visualElement)]})}));return l[x]=c,l}function N({layoutId:e}){const t=(0,o.useContext)(R).id;return t&&void 0!==e?t+"-"+e:e}var M=n(3385),_=n(7415),I=n(2777),F=n(5490),L=n(3141),V=n(7365),j=n(9896);function D(e){const t=(0,j.S)(e)?e.get():e;return(0,V.B)(t)?t.toValue():t}var U=n(9303),B=n(2358);const W=e=>(t,n)=>{const r=(0,o.useContext)(a),s=(0,o.useContext)(c),i=()=>function({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},s,o,i,a){const c={latestValues:H(s,o,i,!a&&e,t),renderState:n()};return r&&(c.mount=e=>r(s,e,c)),c}(e,t,r,s,n);return n?i():function(e){const t=(0,o.useRef)(null);return null===t.current&&(t.current=e()),t.current}(i)};function q(e,t){const n=(0,U.I)(t);n&&(0,B.Kq)(e,n)}function K(e,t,n){const r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){const s=(0,L.a)(e,r[t]);if(s){const{transitionEnd:e,transition:t,...r}=s;n(r,e)}}}function H(e,t,n,r,s){var o;const i={},a=[],c=r&&void 0===(null===(o=e.style)||void 0===o?void 0:o.willChange),u=s(e,{});for(const e in u)i[e]=D(u[e]);let{initial:l,animate:d}=e;const h=(0,O.e)(e),p=(0,O.O)(e);t&&p&&!h&&!1!==e.inherit&&(void 0===l&&(l=t.initial),void 0===d&&(d=t.animate));let f=!!n&&!1===n.initial;f=f||!1===l;const m=f?d:l;return m&&"boolean"!=typeof m&&!(0,F.N)(m)&&K(e,m,((e,t)=>{for(const t in e){let n=e[t];Array.isArray(n)&&(n=n[f?n.length-1:0]),null!==n&&(i[t]=n)}for(const e in t)i[e]=t[e]})),c&&(d&&!1!==l&&!(0,F.N)(d)&&K(e,d,(e=>{for(const t in e)q(a,t)})),a.length&&(i.willChange=a.join(","))),i}const G=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),$=()=>({...G(),attrs:{}});var z=n(3163),Y=n(6793),J=n(104);const X={useVisualState:W({scrapeMotionValuesFromProps:I.x,createRenderState:$,onMount:(e,t,{renderState:n,latestValues:r})=>{J.Gt.read((()=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}})),J.Gt.render((()=>{(0,z.B)(n,r,(0,Y.n)(t.tagName),e.transformTemplate),(0,_.d)(t,n)}))}})},Q={useVisualState:W({applyWillChange:!0,scrapeMotionValuesFromProps:n(4494).x,createRenderState:G})};var Z=n(6471),ee=n(9298);function te(e,t,n){for(const r in t)(0,j.S)(t[r])||(0,Z.z)(r,n)||(e[r]=t[r])}function ne(e,t){const n={},r=function(e,t){const n={};return te(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return(0,o.useMemo)((()=>{const n=G();return(0,ee.O)(n,t,e),Object.assign({},n.vars,n.style)}),[t])}(e,t)),n}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const re=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function se(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||re.has(e)}let oe=e=>!se(e);try{(ie=require("@emotion/is-prop-valid").default)&&(oe=e=>e.startsWith("on")?!se(e):ie(e))}catch(e){}var ie;function ae(e,t,n,r){const s=(0,o.useMemo)((()=>{const n=$();return(0,z.B)(n,t,(0,Y.n)(r),e.transformTemplate),{...n.attrs,style:{...n.style}}}),[t]);if(e.style){const t={};te(t,e.style,e),s.style={...t,...s.style}}return s}function ce(e=!1){return(t,n,r,{latestValues:s},i)=>{const a=((0,M.Q)(t)?ae:ne)(n,s,i,t),c=function(e,t,n){const r={};for(const s in e)"values"===s&&"object"==typeof e.values||(oe(s)||!0===n&&se(s)||!t&&!se(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}(n,"string"==typeof t,e),u=t!==o.Fragment?{...c,...a,ref:r}:{},{children:l}=n,d=(0,o.useMemo)((()=>(0,j.S)(l)?l.get():l),[l]);return(0,o.createElement)(t,{...u,children:d})}}function ue(e,t){return function(n,{forwardMotionProps:r}={forwardMotionProps:!1}){return k({...(0,M.Q)(n)?X:Q,preloadedFeatures:e,useRender:ce(r),createVisualElement:t,Component:n})}}const le=r(ue())},9956:(e,t,n)=>{n.d(t,{l:()=>Qn});var r=n(5490),s=n(1712);function o(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var i=n(6551),a=n(3141);function c(e,t,n){const r=e.getProps();return(0,a.a)(r,t,void 0!==n?n:r.custom,e)}var u=n(5092),l=n(2200);const d=e=>1e3*e,h=e=>e/1e3,p={type:"spring",stiffness:500,damping:25,restSpeed:10},f={type:"keyframes",duration:.8},m={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},v=(e,{keyframes:t})=>t.length>2?f:l.f.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:p:m;function y(e,t){return e[t]||e.default||e}var g=n(4668);const b=e=>null!==e;function S(e,{repeat:t,repeatType:n="loop"},r){const s=e.filter(b),o=t&&"loop"!==n&&t%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}var w=n(104);const E=e=>/^0[^.\s]+$/u.test(e);var T=n(3659);let O=T.l,A=T.l;const C=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var R=n(568);const x=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function P(e,t,n=1){A(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,s]=function(e){const t=x.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${null!=n?n:r}`,s]}(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const e=o.trim();return C(e)?parseFloat(e):e}return(0,R.p)(s)?P(s,t,n+1):s}var k=n(2944),N=n(5269);const M=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),_=e=>e===k.ai||e===N.px,I=(e,t)=>parseFloat(e.split(", ")[t]),F=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const s=r.match(/^matrix3d\((.+)\)$/u);if(s)return I(s[1],t);{const t=r.match(/^matrix\((.+)\)$/u);return t?I(t[1],e):0}},L=new Set(["x","y","z"]),V=l.U.filter((e=>!L.has(e))),j={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:F(4,13),y:F(5,14)};j.translateX=j.x,j.translateY=j.y;const D=e=>t=>t.test(e),U=[k.ai,N.px,N.KN,N.uj,N.vw,N.vh,{test:e=>"auto"===e,parse:e=>e}],B=e=>U.find(D(e)),W=new Set;let q=!1,K=!1;function H(){if(K){const e=Array.from(W).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),n=new Map;t.forEach((e=>{const t=function(e){const t=[];return V.forEach((n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t}(e);t.length&&(n.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const t=n.get(e);t&&t.forEach((([t,n])=>{var r;null===(r=e.getValue(t))||void 0===r||r.set(n)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}K=!1,q=!1,W.forEach((e=>e.complete())),W.clear()}function G(){W.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(K=!0)}))}class ${constructor(e,t,n,r,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(W.add(this),q||(q=!0,w.Gt.read(G),w.Gt.resolveKeyframes(H))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let s=0;s<e.length;s++)if(null===e[s])if(0===s){const s=null==r?void 0:r.get(),o=e[e.length-1];if(void 0!==s)e[0]=s;else if(n&&t){const r=n.readValue(t,o);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=o),r&&void 0===s&&r.set(e[0])}else e[s]=e[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),W.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,W.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}var z=n(7296),Y=n(2464);const J=(e,t)=>n=>Boolean((0,z.Kg)(n)&&z.Fl.test(n)&&n.startsWith(e)||t&&!(0,z.uy)(n)&&Object.prototype.hasOwnProperty.call(n,t)),X=(e,t,n)=>r=>{if(!(0,z.Kg)(r))return r;const[s,o,i,a]=r.match(z.SY);return{[e]:parseFloat(s),[t]:parseFloat(o),[n]:parseFloat(i),alpha:void 0!==a?parseFloat(a):1}},Q={...k.ai,transform:e=>Math.round((e=>(0,Y.q)(0,255,e))(e))},Z={test:J("rgb","red"),parse:X("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Q.transform(e)+", "+Q.transform(t)+", "+Q.transform(n)+", "+(0,z.aj)(k.X4.transform(r))+")"},ee={test:J("#"),parse:function(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}},transform:Z.transform},te={test:J("hsl","hue"),parse:X("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+N.KN.transform((0,z.aj)(t))+", "+N.KN.transform((0,z.aj)(n))+", "+(0,z.aj)(k.X4.transform(r))+")"},ne={test:e=>Z.test(e)||ee.test(e)||te.test(e),parse:e=>Z.test(e)?Z.parse(e):te.test(e)?te.parse(e):ee.parse(e),transform:e=>(0,z.Kg)(e)?e:e.hasOwnProperty("red")?Z.transform(e):te.transform(e)},re="number",se="color",oe="var",ie="var(",ae="${}",ce=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ue(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let o=0;const i=t.replace(ce,(e=>(ne.test(e)?(r.color.push(o),s.push(se),n.push(ne.parse(e))):e.startsWith(ie)?(r.var.push(o),s.push(oe),n.push(e)):(r.number.push(o),s.push(re),n.push(parseFloat(e))),++o,ae))).split(ae);return{values:n,split:i,indexes:r,types:s}}function le(e){return ue(e).values}function de(e){const{split:t,types:n}=ue(e),r=t.length;return e=>{let s="";for(let o=0;o<r;o++)if(s+=t[o],void 0!==e[o]){const t=n[o];s+=t===re?(0,z.aj)(e[o]):t===se?ne.transform(e[o]):e[o]}return s}}const he=e=>"number"==typeof e?0:e,pe={test:function(e){var t,n;return isNaN(e)&&(0,z.Kg)(e)&&((null===(t=e.match(z.SY))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(z.ne))||void 0===n?void 0:n.length)||0)>0},parse:le,createTransformer:de,getAnimatableNone:function(e){const t=le(e);return de(e)(t.map(he))}},fe=new Set(["brightness","contrast","saturate","opacity"]);function me(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(z.SY)||[];if(!r)return e;const s=n.replace(r,"");let o=fe.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+s+")"}const ve=/\b([a-z-]*)\(.*?\)/gu,ye={...pe,getAnimatableNone:e=>{const t=e.match(ve);return t?t.map(me).join(" "):e}},ge={...n(3776).W,color:ne,backgroundColor:ne,outlineColor:ne,fill:ne,stroke:ne,borderColor:ne,borderTopColor:ne,borderRightColor:ne,borderBottomColor:ne,borderLeftColor:ne,filter:ye,WebkitFilter:ye},be=e=>ge[e];function Se(e,t){let n=be(e);return n!==ye&&(n=pe),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const we=new Set(["auto","none","0"]);class Ee extends ${constructor(e,t,n,r,s){super(e,t,n,r,s,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),(0,R.p)(r))){const s=P(r,t.current);void 0!==s&&(e[n]=s),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!M.has(n)||2!==e.length)return;const[r,s]=e,o=B(r),i=B(s);if(o!==i)if(_(o)&&_(i))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||E(r))&&n.push(t);var r;n.length&&function(e,t,n){let r,s=0;for(;s<e.length&&!r;){const t=e[s];"string"==typeof t&&!we.has(t)&&ue(t).values.length&&(r=e[s]),s++}if(r&&n)for(const s of t)e[s]=Se(n,r)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=j[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const o=r.length-1,i=r[o];r[o]=j[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==i&&void 0===this.finalKeyframe&&(this.finalKeyframe=i),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach((([e,n])=>{t.getValue(e).set(n)})),this.resolveNoneKeyframes()}}function Te(e){let t;return()=>(void 0===t&&(t=e()),t)}let Oe;function Ae(){Oe=void 0}const Ce={now:()=>(void 0===Oe&&Ce.set(w.uv.isProcessing||g.W.useManualTiming?w.uv.timestamp:performance.now()),Oe),set:e=>{Oe=e,queueMicrotask(Ae)}},Re=(e,t)=>!("zIndex"===t||"number"!=typeof e&&!Array.isArray(e)&&("string"!=typeof e||!pe.test(e)&&"0"!==e||e.startsWith("url(")));class xe{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:o="loop",...i}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Ce.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:s,repeatType:o,...i},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(G(),H()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=Ce.now(),this.hasAttemptedResolve=!0;const{name:n,type:r,velocity:s,delay:o,onComplete:i,onUpdate:a,isGenerator:c}=this.options;if(!c&&!function(e,t,n,r){const s=e[0];if(null===s)return!1;if("display"===t||"visibility"===t)return!0;const o=e[e.length-1],i=Re(s,t),a=Re(o,t);return O(i===a,`You are trying to animate ${t} from "${s}" to "${o}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${o} via the \`style\` property.`),!(!i||!a)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||"spring"===n&&r)}(e,n,r,s)){if(!o)return null==a||a(S(e,this.options,t)),null==i||i(),void this.resolveFinishedPromise();this.options.duration=0}const u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise((e=>{this.resolveFinishedPromise=e}))}}function Pe(e,t){return t?e*(1e3/t):0}const ke=5;function Ne(e,t,n){const r=Math.max(t-ke,0);return Pe(n-e(r),t-r)}const Me=.001,_e=.01,Ie=10,Fe=.05,Le=1;const Ve=12;function je(e,t){return e*Math.sqrt(1-t*t)}const De=["duration","bounce"],Ue=["stiffness","damping","mass"];function Be(e,t){return t.some((t=>void 0!==e[t]))}function We({keyframes:e,restDelta:t,restSpeed:n,...r}){const s=e[0],o=e[e.length-1],i={done:!1,value:s},{stiffness:a,damping:c,mass:u,duration:l,velocity:p,isResolvedFromDuration:f}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Be(e,Ue)&&Be(e,De)){const n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let s,o;O(e<=d(Ie),"Spring duration must be 10 seconds or less");let i=1-t;i=(0,Y.q)(Fe,Le,i),e=(0,Y.q)(_e,Ie,h(e)),i<1?(s=t=>{const r=t*i,s=r*e,o=r-n,a=je(t,i),c=Math.exp(-s);return Me-o/a*c},o=t=>{const r=t*i*e,o=r*n+n,a=Math.pow(i,2)*Math.pow(t,2)*e,c=Math.exp(-r),u=je(Math.pow(t,2),i);return(-s(t)+Me>0?-1:1)*((o-a)*c)/u}):(s=t=>Math.exp(-t*e)*((t-n)*e+1)-Me,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let r=n;for(let n=1;n<Ve;n++)r-=e(r)/t(r);return r}(s,o,5/e);if(e=d(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*r;return{stiffness:t,damping:2*i*Math.sqrt(r*t),duration:e}}}(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}({...r,velocity:-h(r.velocity||0)}),m=p||0,v=c/(2*Math.sqrt(a*u)),y=o-s,g=h(Math.sqrt(a/u)),b=Math.abs(y)<5;let S;if(n||(n=b?.01:2),t||(t=b?.005:.5),v<1){const e=je(g,v);S=t=>{const n=Math.exp(-v*g*t);return o-n*((m+v*g*y)/e*Math.sin(e*t)+y*Math.cos(e*t))}}else if(1===v)S=e=>o-Math.exp(-g*e)*(y+(m+g*y)*e);else{const e=g*Math.sqrt(v*v-1);S=t=>{const n=Math.exp(-v*g*t),r=Math.min(e*t,300);return o-n*((m+v*g*y)*Math.sinh(r)+e*y*Math.cosh(r))/e}}return{calculatedDuration:f&&l||null,next:e=>{const r=S(e);if(f)i.done=e>=l;else{let s=0;v<1&&(s=0===e?d(m):Ne(S,e,r));const a=Math.abs(s)<=n,c=Math.abs(o-r)<=t;i.done=a&&c}return i.value=i.done?o:r,i}}}function qe({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:i,min:a,max:c,restDelta:u=.5,restSpeed:l}){const d=e[0],h={done:!1,value:d},p=e=>void 0===a?c:void 0===c||Math.abs(a-e)<Math.abs(c-e)?a:c;let f=n*t;const m=d+f,v=void 0===i?m:i(m);v!==m&&(f=v-d);const y=e=>-f*Math.exp(-e/r),g=e=>v+y(e),b=e=>{const t=y(e),n=g(e);h.done=Math.abs(t)<=u,h.value=h.done?v:n};let S,w;const E=e=>{var t;t=h.value,(void 0!==a&&t<a||void 0!==c&&t>c)&&(S=e,w=We({keyframes:[h.value,p(h.value)],velocity:Ne(g,e,h.value),damping:s,stiffness:o,restDelta:u,restSpeed:l}))};return E(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==S||(t=!0,b(e),E(e)),void 0!==S&&e>=S?w.next(e-S):(!t&&b(e),h)}}}const Ke=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function He(e,t,n,r){if(e===t&&n===r)return T.l;return s=>0===s||1===s?s:Ke(function(e,t,n,r,s){let o,i,a=0;do{i=t+(n-t)/2,o=Ke(i,r,s)-e,o>0?n=i:t=i}while(Math.abs(o)>1e-7&&++a<12);return i}(s,0,1,e,n),t,r)}const Ge=He(.42,0,1,1),$e=He(0,0,.58,1),ze=He(.42,0,.58,1),Ye=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Je=e=>t=>1-e(1-t),Xe=e=>1-Math.sin(Math.acos(e)),Qe=Je(Xe),Ze=Ye(Xe),et=He(.33,1.53,.69,.99),tt=Je(et),nt=Ye(tt),rt={linear:T.l,easeIn:Ge,easeInOut:ze,easeOut:$e,circIn:Xe,circInOut:Ze,circOut:Qe,backIn:tt,backInOut:nt,backOut:et,anticipate:e=>(e*=2)<1?.5*tt(e):.5*(2-Math.pow(2,-10*(e-1)))},st=e=>{if(Array.isArray(e)){A(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,s]=e;return He(t,n,r,s)}return"string"==typeof e?(A(void 0!==rt[e],`Invalid easing type '${e}'`),rt[e]):e},ot=(e,t)=>n=>t(e(n)),it=(...e)=>e.reduce(ot),at=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},ct=(e,t,n)=>e+(t-e)*n;function ut(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function lt(e,t){return n=>n>0?t:e}const dt=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},ht=[ee,Z,te];function pt(e){const t=(n=e,ht.find((e=>e.test(n))));var n;if(O(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let r=t.parse(e);return t===te&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let s=0,o=0,i=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;s=ut(a,r,e+1/3),o=ut(a,r,e),i=ut(a,r,e-1/3)}else s=o=i=n;return{red:Math.round(255*s),green:Math.round(255*o),blue:Math.round(255*i),alpha:r}}(r)),r}const ft=(e,t)=>{const n=pt(e),r=pt(t);if(!n||!r)return lt(e,t);const s={...n};return e=>(s.red=dt(n.red,r.red,e),s.green=dt(n.green,r.green,e),s.blue=dt(n.blue,r.blue,e),s.alpha=ct(n.alpha,r.alpha,e),Z.transform(s))},mt=new Set(["none","hidden"]);function vt(e,t){return n=>ct(e,t,n)}function yt(e){return"number"==typeof e?vt:"string"==typeof e?(0,R.p)(e)?lt:ne.test(e)?ft:St:Array.isArray(e)?gt:"object"==typeof e?ne.test(e)?ft:bt:lt}function gt(e,t){const n=[...e],r=n.length,s=e.map(((e,n)=>yt(e)(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=s[t](e);return n}}function bt(e,t){const n={...e,...t},r={};for(const s in n)void 0!==e[s]&&void 0!==t[s]&&(r[s]=yt(e[s])(e[s],t[s]));return e=>{for(const t in r)n[t]=r[t](e);return n}}const St=(e,t)=>{const n=pe.createTransformer(t),r=ue(e),s=ue(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?mt.has(e)&&!s.values.length||mt.has(t)&&!r.values.length?function(e,t){return mt.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):it(gt(function(e,t){var n;const r=[],s={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const i=t.types[o],a=e.indexes[i][s[i]],c=null!==(n=e.values[a])&&void 0!==n?n:0;r[o]=c,s[i]++}return r}(r,s),s.values),n):(O(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),lt(e,t))};function wt(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?ct(e,t,n):yt(e)(e,t)}function Et({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(st):st(r),o={done:!1,value:t[0]},i=function(e,t){return e.map((e=>e*t))}(n&&n.length===t.length?n:function(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=at(0,t,r);e.push(ct(n,1,s))}}(t,e.length-1),t}(t),e),a=function(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const o=e.length;if(A(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];if(2===o&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const i=function(e,t,n){const r=[],s=n||wt,o=e.length-1;for(let n=0;n<o;n++){let o=s(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||T.l:t;o=it(e,o)}r.push(o)}return r}(t,r,s),a=i.length,c=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=at(e[n],e[n+1],t);return i[n](r)};return n?t=>c((0,Y.q)(e[0],e[o-1],t)):c}(i,t,{ease:Array.isArray(s)?s:(c=t,u=s,c.map((()=>u||ze)).splice(0,c.length-1))});var c,u;return{calculatedDuration:e,next:t=>(o.value=a(t),o.done=t>=e,o)}}const Tt=e=>{const t=({timestamp:t})=>e(t);return{start:()=>w.Gt.update(t,!0),stop:()=>(0,w.WG)(t),now:()=>w.uv.isProcessing?w.uv.timestamp:Ce.now()}},Ot={decay:qe,inertia:qe,tween:Et,keyframes:Et,spring:We},At=e=>e/100;class Ct extends xe{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()};const{name:t,motionValue:n,element:r,keyframes:s}=this.options,o=(null==r?void 0:r.KeyframeResolver)||$;this.resolver=new o(s,((e,t)=>this.onKeyframesResolved(e,t)),t,n,r),this.resolver.scheduleResolve()}initPlayback(e){const{type:t="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s,velocity:o=0}=this.options,i=Ot[t]||Et;let a,c;i!==Et&&"number"!=typeof e[0]&&(a=it(At,wt(e[0],e[1])),e=[0,100]);const u=i({...this.options,keyframes:e});"mirror"===s&&(c=i({...this.options,keyframes:[...e].reverse(),velocity:-o})),null===u.calculatedDuration&&(u.calculatedDuration=function(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}(u));const{calculatedDuration:l}=u,d=l+r;return{generator:u,mirroredGenerator:c,mapPercentToKeyframes:a,calculatedDuration:l,resolvedDuration:d,totalDuration:d*(n+1)-r}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){const{resolved:n}=this;if(!n){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:r,generator:s,mirroredGenerator:o,mapPercentToKeyframes:i,keyframes:a,calculatedDuration:c,totalDuration:u,resolvedDuration:l}=n;if(null===this.startTime)return s.next(0);const{delay:d,repeat:h,repeatType:p,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const v=this.currentTime-d*(this.speed>=0?1:-1),y=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let g=this.currentTime,b=s;if(h){const e=Math.min(this.currentTime,u)/l;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,h+1),Boolean(t%2)&&("reverse"===p?(n=1-n,f&&(n-=f/l)):"mirror"===p&&(b=o)),g=(0,Y.q)(0,1,n)*l}const w=y?{done:!1,value:a[0]}:b.next(g);i&&(w.value=i(w.value));let{done:E}=w;y||null===c||(E=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&E);return T&&void 0!==r&&(w.value=S(a,this.options,r)),m&&m(w.value),T&&this.finish(),w}get duration(){const{resolved:e}=this;return e?h(e.calculatedDuration):0}get time(){return h(this.currentTime)}set time(e){e=d(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=h(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=Tt,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e((e=>this.tick(e)))),t&&t();const r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}var Rt=n(7395);const xt=e=>Array.isArray(e)&&"number"==typeof e[0];function Pt(e){return Boolean(!e||"string"==typeof e&&e in Nt||xt(e)||Array.isArray(e)&&e.every(Pt))}const kt=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Nt={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:kt([0,.65,.55,1]),circOut:kt([.55,0,1,.45]),backIn:kt([.31,.01,.66,-.59]),backOut:kt([.33,1.53,.69,.99])};function Mt(e){return _t(e)||Nt.easeOut}function _t(e){return e?xt(e)?kt(e):Array.isArray(e)?e.map(Mt):Nt[e]:void 0}const It=Te((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));class Ft extends xe{constructor(e){super(e);const{name:t,motionValue:n,element:r,keyframes:s}=this.options;this.resolver=new Ee(s,((e,t)=>this.onKeyframesResolved(e,t)),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n;let{duration:r=300,times:s,ease:o,type:i,motionValue:a,name:c,startTime:u}=this.options;if(!(null===(n=a.owner)||void 0===n?void 0:n.current))return!1;if("spring"===(l=this.options).type||!Pt(l.ease)){const{onComplete:t,onUpdate:n,motionValue:a,element:c,...u}=this.options,l=function(e,t){const n=new Ct({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const s=[];let o=0;for(;!r.done&&o<2e4;)r=n.sample(o),s.push(r.value),o+=10;return{times:void 0,keyframes:s,duration:o-10,ease:"linear"}}(e,u);1===(e=l.keyframes).length&&(e[1]=e[0]),r=l.duration,s=l.times,o=l.ease,i="keyframes"}var l;const d=function(e,t,n,{delay:r=0,duration:s=300,repeat:o=0,repeatType:i="loop",ease:a,times:c}={}){const u={[t]:n};c&&(u.offset=c);const l=_t(a);return Array.isArray(l)&&(u.easing=l),e.animate(u,{delay:r,duration:s,easing:Array.isArray(l)?"linear":l,fill:"both",iterations:o+1,direction:"reverse"===i?"alternate":"normal"})}(a.owner.current,c,e,{...this.options,duration:r,times:s,ease:o});return d.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?(d.timeline=this.pendingTimeline,this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:n}=this.options;a.set(S(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:r,times:s,type:i,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return h(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return h(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.currentTime=d(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return T.l;const{animation:n}=t;n.timeline=e,n.onfinish=null}else this.pendingTimeline=e;return T.l}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:n,duration:r,type:s,ease:o,times:i}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){const{motionValue:e,onUpdate:t,onComplete:a,element:c,...u}=this.options,l=new Ct({...u,keyframes:n,duration:r,type:s,ease:o,times:i,isGenerator:!0}),h=d(this.time);e.setWithVelocity(l.sample(h-10).value,l.sample(h).value,10)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:o,type:i}=e;return It()&&n&&Rt.M.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&"mirror"!==s&&0!==o&&"inertia"!==i}}const Lt=Te((()=>void 0!==window.ScrollTimeline));class Vt{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){const t=this.animations.map((t=>{if(!Lt()||!t.attachTimeline)return t.pause(),function(e,n){let r;const s=()=>{const{currentTime:e}=n,s=(null===e?0:e.value)/100;r!==s&&(e=>{t.time=t.duration*e})(s),r=s};return w.Gt.update(s,!0),()=>(0,w.WG)(s)}(0,e);t.attachTimeline(e)}));return()=>{t.forEach(((e,t)=>{e&&e(),this.animations[t].stop()}))}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach((t=>t[e]()))}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const jt=(e,t,n,r={},s,o,i)=>a=>{const c=y(r,e)||{},u=c.delay||r.delay||0;let{elapsed:l=0}=r;l-=d(u);let h={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...c,delay:-l,onUpdate:e=>{t.set(e),c.onUpdate&&c.onUpdate(e)},onComplete:()=>{a(),c.onComplete&&c.onComplete(),i&&i()},onStop:i,name:e,motionValue:t,element:o?void 0:s};(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:s,repeat:o,repeatType:i,repeatDelay:a,from:c,elapsed:u,...l}){return!!Object.keys(l).length})(c)||(h={...h,...v(e,h)}),h.duration&&(h.duration=d(h.duration)),h.repeatDelay&&(h.repeatDelay=d(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let p=!1;if((!1===h.type||0===h.duration&&!h.repeatDelay)&&(h.duration=0,0===h.delay&&(p=!0)),g.W.skipAnimations&&(p=!0,h.duration=0,h.delay=0),p&&!o&&void 0!==t.get()){const e=S(h.keyframes,c);if(void 0!==e)return w.Gt.update((()=>{h.onUpdate(e),h.onComplete()})),new Vt([])}return!o&&Ft.supports(h)?new Ft(h):new Ct(h)};var Dt=n(7365),Ut=n(2358);class Bt{constructor(){this.subscriptions=[]}add(e){return(0,Ut.Kq)(this.subscriptions,e),()=>(0,Ut.Ai)(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let s=0;s<r;s++){const r=this.subscriptions[s];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Wt={current:void 0};class qt{constructor(e,t={}){this.version="11.5.4",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{const n=Ce.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=Ce.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Bt);const n=this.events[e].add(t);return"change"===e?()=>{n(),w.Gt.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return Wt.current&&Wt.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=Ce.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return Pe(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Kt(e,t){return new qt(e,t)}function Ht(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Kt(n))}var Gt=n(2392);function $t(e){return e.props[Gt.n]}var zt=n(9303);class Yt extends qt{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(e){const t=(0,zt.I)(e);if(!t)return;const n=this.counts.get(t)||0;this.counts.set(t,n+1),0===n&&(this.output.push(t),this.update());let r=!1;return()=>{if(r)return;r=!0;const e=this.counts.get(t)-1;this.counts.set(t,e),0===e&&((0,Ut.Ai)(this.output,t),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}var Jt=n(9896);function Xt(e,t){var n;if(!e.applyWillChange)return;let r=e.getValue("willChange");return r||(null===(n=e.props.style)||void 0===n?void 0:n.willChange)||(r=new Yt("auto"),e.addValue("willChange",r)),s=r,Boolean((0,Jt.S)(s)&&s.add)?r.add(t):void 0;var s}function Qt({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Zt(e,t,{delay:n=0,transitionOverride:r,type:s}={}){var o;let{transition:i=e.getDefaultTransition(),transitionEnd:a,...u}=t;r&&(i=r);const d=[],h=s&&e.animationState&&e.animationState.getState()[s];for(const t in u){const r=e.getValue(t,null!==(o=e.latestValues[t])&&void 0!==o?o:null),s=u[t];if(void 0===s||h&&Qt(h,t))continue;const a={delay:n,...y(i||{},t)};let c=!1;if(window.MotionHandoffAnimation){const n=$t(e);if(n){const e=window.MotionHandoffAnimation(n,t,w.Gt);null!==e&&(a.startTime=e,c=!0)}}r.start(jt(t,r,s,e.shouldReduceMotion&&l.f.has(t)?{type:!1}:a,e,c,Xt(e,t)));const p=r.animation;p&&d.push(p)}return a&&Promise.all(d).then((()=>{w.Gt.update((()=>{a&&function(e,t){const n=c(e,t);let{transitionEnd:r={},transition:s={},...o}=n||{};o={...o,...r};for(const t in o)Ht(e,t,(0,Dt.K)(o[t]))}(e,a)}))})),d}function en(e,t,n={}){var r;const s=c(e,t,"exit"===n.type?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(o=n.transitionOverride);const i=s?()=>Promise.all(Zt(e,s,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:s=0,staggerChildren:i,staggerDirection:a}=o;return function(e,t,n=0,r=0,s=1,o){const i=[],a=(e.variantChildren.size-1)*r,c=1===s?(e=0)=>e*r:(e=0)=>a-e*r;return Array.from(e.variantChildren).sort(tn).forEach(((e,r)=>{e.notify("AnimationStart",t),i.push(en(e,t,{...o,delay:n+c(r)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(i)}(e,t,s+r,i,a,n)}:()=>Promise.resolve(),{when:u}=o;if(u){const[e,t]="beforeChildren"===u?[i,a]:[a,i];return e().then((()=>t()))}return Promise.all([i(),a(n.delay)])}function tn(e,t){return e.sortNodePosition(t)}const nn=[...u.U].reverse(),rn=u.U.length;function sn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function on(){return{animate:sn(!0),whileInView:sn(),whileHover:sn(),whileTap:sn(),whileDrag:sn(),whileFocus:sn(),exit:sn()}}class an{constructor(e){this.isMounted=!1,this.node=e}update(){}}let cn=0;const un={animation:{Feature:class extends an{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=function(e){return t=>Promise.all(t.map((({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const s=t.map((t=>en(e,t,n)));r=Promise.all(s)}else if("string"==typeof t)r=en(e,t,n);else{const s="function"==typeof t?c(e,t,n.custom):t;r=Promise.all(Zt(e,s,n))}return r.then((()=>{e.notify("AnimationComplete",t)}))}(e,t,n))))}(e),n=on(),a=!0;const u=t=>(n,r)=>{var s;const o=c(e,r,"exit"===t?null===(s=e.presenceContext)||void 0===s?void 0:s.custom:void 0);if(o){const{transition:e,transitionEnd:t,...r}=o;n={...n,...r,...t}}return n};function l(c){const l=e.getProps(),d=e.getVariantContext(!0)||{},h=[],p=new Set;let f={},m=1/0;for(let t=0;t<rn;t++){const g=nn[t],b=n[g],S=void 0!==l[g]?l[g]:d[g],w=(0,i.w)(S),E=g===c?b.isActive:null;!1===E&&(m=t);let T=S===d[g]&&S!==l[g]&&w;if(T&&a&&e.manuallyAnimateOnMount&&(T=!1),b.protectedKeys={...f},!b.isActive&&null===E||!S&&!b.prevProp||(0,r.N)(S)||"boolean"==typeof S)continue;let O=(v=b.prevProp,("string"==typeof(y=S)?y!==v:!!Array.isArray(y)&&!o(y,v))||g===c&&b.isActive&&!T&&w||t>m&&w),A=!1;const C=Array.isArray(S)?S:[S];let R=C.reduce(u(g),{});!1===E&&(R={});const{prevResolvedValues:x={}}=b,P={...x,...R},k=t=>{O=!0,p.has(t)&&(A=!0,p.delete(t)),b.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in P){const t=R[e],n=x[e];if(f.hasOwnProperty(e))continue;let r=!1;r=(0,s.p)(t)&&(0,s.p)(n)?!o(t,n):t!==n,r?null!=t?k(e):p.add(e):void 0!==t&&p.has(e)?k(e):b.protectedKeys[e]=!0}b.prevProp=S,b.prevResolvedValues=R,b.isActive&&(f={...f,...R}),a&&e.blockInitialAnimation&&(O=!1),!O||T&&!A||h.push(...C.map((e=>({animation:e,options:{type:g}}))))}var v,y;if(p.size){const t={};p.forEach((n=>{const r=e.getBaseTarget(n),s=e.getValue(n);s&&(s.liveStyle=!0),t[n]=null!=r?r:null})),h.push({animation:t})}let g=Boolean(h.length);return!a||!1!==l.initial&&l.initial!==l.animate||e.manuallyAnimateOnMount||(g=!1),a=!1,g?t(h):Promise.resolve()}return{animateChanges:l,setActive:function(t,r){var s;if(n[t].isActive===r)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach((e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;const o=l(t);for(const e in n)n[e].protectedKeys={};return o},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=on(),a=!0}}}(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();(0,r.N)(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}},exit:{Feature:class extends an{constructor(){super(...arguments),this.id=cn++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}};function ln(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function dn(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const hn=e=>t=>(e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary)(t)&&e(t,dn(t));function pn(e,t,n,r){return ln(e,t,hn(n),r)}function fn(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}const mn=fn("dragHorizontal"),vn=fn("dragVertical");function yn(){const e=function(){let e=!1;{const t=mn(),n=vn();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}();return!e||(e(),!1)}function gn(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd";return pn(e.current,n,((n,s)=>{if("touch"===n.pointerType||yn())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t);const i=o[r];i&&w.Gt.postRender((()=>i(n,s)))}),{passive:!e.getProps()[r]})}const bn=(e,t)=>!!t&&(e===t||bn(e,t.parentElement));function Sn(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,dn(n))}const wn=new WeakMap,En=new WeakMap,Tn=e=>{const t=wn.get(e.target);t&&t(e)},On=e=>{e.forEach(Tn)};const An={some:0,all:1},Cn={inView:{Feature:class extends an{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:s}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:An[r]};return function(e,t,n){const r=function({root:e,...t}){const n=e||document;En.has(n)||En.set(n,{});const r=En.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(On,{root:e,...t})),r[s]}(t);return wn.set(e,n),r.observe(e),()=>{wn.delete(e),r.unobserve(e)}}(this.node.current,o,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,s&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=t?n:r;o&&o(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends an{constructor(){super(...arguments),this.removeStartListeners=T.l,this.removeEndListeners=T.l,this.removeAccessibleListeners=T.l,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();const n=this.node.getProps(),r=pn(window,"pointerup",((e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r,globalTapTarget:s}=this.node.getProps(),o=s||bn(this.node.current,e.target)?n:r;o&&w.Gt.update((()=>o(e,t)))}),{passive:!(n.onTap||n.onPointerUp)}),s=pn(window,"pointercancel",((e,t)=>this.cancelPress(e,t)),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=it(r,s),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=ln(this.node.current,"keydown",(e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=ln(this.node.current,"keyup",(e=>{"Enter"===e.key&&this.checkPressEnd()&&Sn("up",((e,t)=>{const{onTap:n}=this.node.getProps();n&&w.Gt.postRender((()=>n(e,t)))}))})),Sn("down",((e,t)=>{this.startPress(e,t)})))})),t=ln(this.node.current,"blur",(()=>{this.isPressing&&Sn("cancel",((e,t)=>this.cancelPress(e,t)))}));this.removeAccessibleListeners=it(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&w.Gt.postRender((()=>n(e,t)))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!yn()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&w.Gt.postRender((()=>n(e,t)))}mount(){const e=this.node.getProps(),t=pn(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=ln(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=it(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends an{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=it(ln(this.node.current,"focus",(()=>this.onFocus())),ln(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends an{mount(){this.unmount=it(gn(this.node,!0),gn(this.node,!1))}unmount(){}}}};var Rn=n(6540),xn=n(9298),Pn=n(4494),kn=n(9836);var Nn=n(8288);const Mn={current:null},_n={current:!1};var In=n(837),Fn=n(3996);const Ln=new WeakMap,Vn=[...U,ne,pe],jn=()=>({x:{min:0,max:0},y:{min:0,max:0}}),Dn=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Un=u._.length;class Bn{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:s,visualState:o},i={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=$,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,w.Gt.render(this.render,!1,!0))};const{latestValues:a,renderState:c}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=c,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=i,this.blockInitialAnimation=Boolean(s),this.isControllingVariants=(0,In.e)(t),this.isVariantNode=(0,In.O)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:u,...l}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in l){const t=l[e];void 0!==a[e]&&(0,Jt.S)(t)&&t.set(a[e],!1)}}mount(e){this.current=e,Ln.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),_n.current||function(){if(_n.current=!0,Nn.B)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Mn.current=e.matches;e.addListener(t),t()}else Mn.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Mn.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ln.delete(this.current),this.projection&&this.projection.unmount(),(0,w.WG)(this.notifyUpdate),(0,w.WG)(this.render),this.valueSubscriptions.forEach((e=>e())),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=l.f.has(e),r=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&w.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)})),s=t.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,(()=>{r(),s(),o&&o(),t.owner&&t.stop()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in Fn.B){const t=Fn.B[e];if(!t)continue;const{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Dn.length;t++){const n=Dn[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(const r in t){const s=t[r],o=n[r];if((0,Jt.S)(s))e.addValue(r,s);else if((0,Jt.S)(o))e.addValue(r,Kt(s,{owner:e}));else if(o!==s)if(e.hasValue(r)){const t=e.getValue(r);!0===t.liveStyle?t.jump(s):t.hasAnimated||t.set(s)}else{const t=e.getStaticValue(r);e.addValue(r,Kt(void 0!==t?t:s,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<Un;e++){const n=u._[e],r=this.props[n];((0,i.w)(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Kt(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var s;return null!=r&&("string"==typeof r&&(C(r)||E(r))?r=parseFloat(r):(s=r,!Vn.find(D(s))&&pe.test(t)&&(r=Se(e,t))),this.setBaseTarget(e,(0,Jt.S)(r)?r.get():r)),(0,Jt.S)(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props;let r;if("string"==typeof n||"object"==typeof n){const s=(0,a.a)(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);s&&(r=s[e])}if(n&&void 0!==r)return r;const s=this.getBaseTargetFromProps(this.props,e);return void 0===s||(0,Jt.S)(s)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:s}on(e,t){return this.events[e]||(this.events[e]=new Bt),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Wn extends Bn{constructor(){super(...arguments),this.KeyframeResolver=Ee}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}}class qn extends Wn{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=kn.e}readValueFromInstance(e,t){if(l.f.has(t)){const e=be(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),s=((0,R.j)(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof s?s.trim():s}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return function(e,t){return function({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}(e,t)}build(e,t,n){(0,xn.O)(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return(0,Pn.x)(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;(0,Jt.S)(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}}var Kn=n(2777),Hn=n(3163),Gn=n(8062),$n=n(2311),zn=n(7415),Yn=n(6793);class Jn extends Wn{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=jn}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(l.f.has(t)){const e=be(t);return e&&e.default||0}return t=$n.e.has(t)?t:(0,Gn.I)(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return(0,Kn.x)(e,t,n)}build(e,t,n){(0,Hn.B)(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){(0,zn.d)(e,t,n,r)}mount(e){this.isSVGTag=(0,Yn.n)(e.tagName),super.mount(e)}}var Xn=n(3385);const Qn={renderer:(e,t)=>(0,Xn.Q)(e)?new Jn(t):new qn(t,{allowProjection:e!==Rn.Fragment}),...un,...Cn}},8062:(e,t,n)=>{n.d(t,{I:()=>r});const r=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},568:(e,t,n)=>{n.d(t,{j:()=>s,p:()=>i});const r=e=>t=>"string"==typeof t&&t.startsWith(e),s=r("--"),o=r("var(--"),i=e=>!!o(e)&&a.test(e.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},3385:(e,t,n)=>{n.d(t,{Q:()=>s});const r=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function s(e){return"string"==typeof e&&!e.includes("-")&&!!(r.indexOf(e)>-1||/[A-Z]/u.test(e))}},3776:(e,t,n)=>{n.d(t,{W:()=>i});var r=n(2944),s=n(5269);const o={...r.ai,transform:Math.round},i={borderWidth:s.px,borderTopWidth:s.px,borderRightWidth:s.px,borderBottomWidth:s.px,borderLeftWidth:s.px,borderRadius:s.px,radius:s.px,borderTopLeftRadius:s.px,borderTopRightRadius:s.px,borderBottomRightRadius:s.px,borderBottomLeftRadius:s.px,width:s.px,maxWidth:s.px,height:s.px,maxHeight:s.px,size:s.px,top:s.px,right:s.px,bottom:s.px,left:s.px,padding:s.px,paddingTop:s.px,paddingRight:s.px,paddingBottom:s.px,paddingLeft:s.px,margin:s.px,marginTop:s.px,marginRight:s.px,marginBottom:s.px,marginLeft:s.px,rotate:s.uj,rotateX:s.uj,rotateY:s.uj,rotateZ:s.uj,scale:r.hs,scaleX:r.hs,scaleY:r.hs,scaleZ:r.hs,skew:s.uj,skewX:s.uj,skewY:s.uj,distance:s.px,translateX:s.px,translateY:s.px,translateZ:s.px,x:s.px,y:s.px,z:s.px,perspective:s.px,transformPerspective:s.px,opacity:r.X4,originX:s.gQ,originY:s.gQ,originZ:s.px,zIndex:o,backgroundPositionX:s.px,backgroundPositionY:s.px,fillOpacity:r.X4,strokeOpacity:r.X4,numOctaves:o}},9298:(e,t,n)=>{n.d(t,{O:()=>u});var r=n(2200);const s=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var o=n(3776);const i={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},a=r.U.length;var c=n(568);function u(e,t,n){const{style:u,vars:l,transformOrigin:d}=e;let h=!1,p=!1;for(const e in t){const n=t[e];if(r.f.has(e))h=!0;else if((0,c.j)(e))l[e]=n;else{const t=s(n,o.W[e]);e.startsWith("origin")?(p=!0,d[e]=t):u[e]=t}}if(t.transform||(h||n?u.transform=function(e,t,n){let c="",u=!0;for(let l=0;l<a;l++){const a=r.U[l],d=e[a];if(void 0===d)continue;let h=!0;if(h="number"==typeof d?d===(a.startsWith("scale")?1:0):0===parseFloat(d),!h||n){const e=s(d,o.W[a]);h||(u=!1,c+=`${i[a]||a}(${e}) `),n&&(t[a]=e)}}return c=c.trim(),n?c=n(t,u?"":c):u&&(c="none"),c}(t,e.transform,n):u.transform&&(u.transform="none")),p){const{originX:e="50%",originY:t="50%",originZ:n=0}=d;u.transformOrigin=`${e} ${t} ${n}`}}},9836:(e,t,n)=>{function r(e,{style:t,vars:n},r,s){Object.assign(e.style,t,s&&s.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}n.d(t,{e:()=>r})},4494:(e,t,n)=>{n.d(t,{x:()=>o});var r=n(6471),s=n(9896);function o(e,t,n){var o;const{style:i}=e,a={};for(const c in i)((0,s.S)(i[c])||t.style&&(0,s.S)(t.style[c])||(0,r.z)(c,e)||void 0!==(null===(o=null==n?void 0:n.getValue(c))||void 0===o?void 0:o.liveStyle))&&(a[c]=i[c]);return n&&i&&"string"==typeof i.willChange&&(n.applyWillChange=!1),a}},2200:(e,t,n)=>{n.d(t,{U:()=>r,f:()=>s});const r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=new Set(r)},3163:(e,t,n)=>{n.d(t,{B:()=>c});var r=n(9298),s=n(5269);function o(e,t,n){return"string"==typeof e?e:s.px.transform(t+n*e)}const i={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function c(e,{attrX:t,attrY:n,attrScale:c,originX:u,originY:l,pathLength:d,pathSpacing:h=1,pathOffset:p=0,...f},m,v){if((0,r.O)(e,f,v),m)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:y,style:g,dimensions:b}=e;y.transform&&(b&&(g.transform=y.transform),delete y.transform),b&&(void 0!==u||void 0!==l||g.transform)&&(g.transformOrigin=function(e,t,n){return`${o(t,e.x,e.width)} ${o(n,e.y,e.height)}`}(b,void 0!==u?u:.5,void 0!==l?l:.5)),void 0!==t&&(y.x=t),void 0!==n&&(y.y=n),void 0!==c&&(y.scale=c),void 0!==d&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const c=o?i:a;e[c.offset]=s.px.transform(-r);const u=s.px.transform(t),l=s.px.transform(n);e[c.array]=`${u} ${l}`}(y,d,h,p,!1)}},2311:(e,t,n)=>{n.d(t,{e:()=>r});const r=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"])},6793:(e,t,n)=>{n.d(t,{n:()=>r});const r=e=>"string"==typeof e&&"svg"===e.toLowerCase()},7415:(e,t,n)=>{n.d(t,{d:()=>i});var r=n(8062),s=n(9836),o=n(2311);function i(e,t,n,i){(0,s.e)(e,t,void 0,i);for(const n in t.attrs)e.setAttribute(o.e.has(n)?n:(0,r.I)(n),t.attrs[n])}},2777:(e,t,n)=>{n.d(t,{x:()=>i});var r=n(9896),s=n(4494),o=n(2200);function i(e,t,n){const i=(0,s.x)(e,t,n);for(const n in e)((0,r.S)(e[n])||(0,r.S)(t[n]))&&(i[-1!==o.U.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return i}},837:(e,t,n)=>{n.d(t,{O:()=>a,e:()=>i});var r=n(5490),s=n(6551),o=n(5092);function i(e){return(0,r.N)(e.animate)||o._.some((t=>(0,s.w)(e[t])))}function a(e){return Boolean(i(e)||e.variants)}},6551:(e,t,n)=>{function r(e){return"string"==typeof e||Array.isArray(e)}n.d(t,{w:()=>r})},3141:(e,t,n)=>{function r(e){const t=[{},{}];return null==e||e.values.forEach(((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()})),t}function s(e,t,n,s){if("function"==typeof t){const[o,i]=r(s);t=t(void 0!==n?n:e.custom,o,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[o,i]=r(s);t=t(void 0!==n?n:e.custom,o,i)}return t}n.d(t,{a:()=>s})},5092:(e,t,n)=>{n.d(t,{U:()=>r,_:()=>s});const r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],s=["initial",...r]},4668:(e,t,n)=>{n.d(t,{W:()=>r});const r={skipAnimations:!1,useManualTiming:!1}},2358:(e,t,n)=>{function r(e,t){-1===e.indexOf(t)&&e.push(t)}function s(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}n.d(t,{Ai:()=>s,Kq:()=>r})},2464:(e,t,n)=>{n.d(t,{q:()=>r});const r=(e,t,n)=>n>t?t:n<e?e:n},8288:(e,t,n)=>{n.d(t,{B:()=>r});const r="undefined"!=typeof window},3659:(e,t,n)=>{n.d(t,{l:()=>r});const r=e=>e},7365:(e,t,n)=>{n.d(t,{B:()=>s,K:()=>o});var r=n(1712);const s=e=>Boolean(e&&"object"==typeof e&&e.mix&&e.toValue),o=e=>(0,r.p)(e)?e[e.length-1]||0:e},2944:(e,t,n)=>{n.d(t,{X4:()=>o,ai:()=>s,hs:()=>i});var r=n(2464);const s={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...s,transform:e=>(0,r.q)(0,1,e)},i={...s,default:1}},5269:(e,t,n)=>{n.d(t,{KN:()=>i,gQ:()=>l,px:()=>a,uj:()=>o,vh:()=>c,vw:()=>u});var r=n(7296);const s=e=>({test:t=>(0,r.Kg)(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),o=s("deg"),i=s("%"),a=s("px"),c=s("vh"),u=s("vw"),l={...i,parse:e=>i.parse(e)/100,transform:e=>i.transform(100*e)}},7296:(e,t,n)=>{n.d(t,{Fl:()=>i,Kg:()=>a,SY:()=>s,aj:()=>r,ne:()=>o,uy:()=>c});const r=e=>Math.round(1e5*e)/1e5,s=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,o=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,i=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function a(e){return"string"==typeof e}function c(e){return null==e}},9303:(e,t,n)=>{n.d(t,{I:()=>i});var r=n(7395),s=n(8062),o=n(2200);function i(e){return o.f.has(e)?"transform":r.M.has(e)?(0,s.I)(e):void 0}},9896:(e,t,n)=>{n.d(t,{S:()=>r});const r=e=>Boolean(e&&e.getVelocity)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(this.webpackChunkVamChatbot=this.webpackChunkVamChatbot||[]).push([[297],{4297:(e,a,s)=>{s.r(a),s.d(a,{default:()=>C});var n=s(5072),t=s.n(n),i=s(7825),l=s.n(i),r=s(7659),c=s.n(r),o=s(5056),d=s.n(o),m=s(540),u=s.n(m),h=s(1113),b=s.n(h),v=s(7492),I={};I.styleTagTransform=b(),I.setAttributes=d(),I.insert=c().bind(null,"head"),I.domAPI=l(),I.insertStyleElement=u(),t()(v.A,I);const p=v.A&&v.A.locals?v.A.locals:void 0;var f=s(5793),w=s(9956),x=s(3810),A=s(1251),j=s(4848);const C=function(e){let{images:a=[]}=e;return(0,j.jsx)(f.F,{features:w.l,children:(0,j.jsx)(x.m.div,{id:"carousel-container",className:"carousel slide w-100",initial:"hide",whileInView:"show",viewport:{once:!0},variants:A.PE,children:(0,j.jsx)("div",{className:`carousel-inner ${p.carousalInner}`,children:[a[0]].map(((e,a)=>(0,j.jsx)("div",{className:`carousel-item d-flex ${0===a?"active":""} ${p.carousalItem}`,children:(0,j.jsx)("img",{src:e,className:"d-block w-100 object-fit-contain",alt:"carousal item"})},`carousal-item-${a}`)))})})})}},7492:(e,a,s)=>{s.d(a,{A:()=>r});var n=s(1601),t=s.n(n),i=s(6314),l=s.n(i)()(t());l.push([e.id,".bM7UYUIV67pDU1mIqhBb {\n border-radius: 10px;\n}\n\n.FCedTtDmiTfcKbb9XOGz {\n max-height: 24rem;\n}\n",""]),l.locals={carousalInner:"bM7UYUIV67pDU1mIqhBb",carousalItem:"FCedTtDmiTfcKbb9XOGz"};const r=l}}]);