(()=>{var t={353:function(t){t.exports=function(){"use strict";var t=1e3,e=6e4,n=36e5,i="millisecond",r="second",o="minute",a="hour",s="day",c="week",l="month",u="quarter",d="year",p="date",f="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},y=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},_={s:y,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),r=n%60;return(e<=0?"+":"-")+y(i,2,"0")+":"+y(r,2,"0")},m:function t(e,n){if(e.date()=0&&(o[d]=parseInt(u,10))}var p=o[3],f=24===p?0:p,m=o[0]+"-"+o[1]+"-"+o[2]+" "+f+":"+o[4]+":"+o[5]+":000",h=+e;return(r.utc(m).valueOf()-(h-=h%1e3))/6e4},c=i.prototype;c.tz=function(t,e){void 0===t&&(t=o);var n=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:t}),s=Math.round((i-new Date(a))/1e3/60),c=r(a).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-s,!0);if(e){var l=c.utcOffset();c=c.add(n-l,"minute")}return c.$x.$timezone=t,c},c.offsetName=function(t){var e=this.$x.$timezone||r.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return n&&n.value};var l=c.startOf;c.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return l.call(this,t,e);var n=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return l.call(n,t,e).tz(this.$x.$timezone,!0)},r.tz=function(t,e,n){var i=n&&e,a=n||e||o,c=s(+r(),a);if("string"!=typeof t)return r(t).tz(a);var l=function(t,e,n){var i=t-60*e*1e3,r=s(i,n);if(e===r)return[i,e];var o=s(i-=60*(r-e)*1e3,n);return r===o?[i,r]:[t-60*Math.min(r,o)*1e3,Math.max(r,o)]}(r.utc(t,i).valueOf(),c,a),u=l[0],d=l[1],p=r(u).utcOffset(d);return p.$x.$timezone=a,p},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(t){o=t}}}()},826:function(t){t.exports=function(){"use strict";var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(i,r,o){var a=r.prototype;o.utc=function(t){return new r({date:t,utc:!0,args:arguments})},a.utc=function(e){var n=o(this.toDate(),{locale:this.$L,utc:!0});return e?n.add(this.utcOffset(),t):n},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),s.call(this,t)};var c=a.init;a.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else c.call(this)};var l=a.utcOffset;a.utcOffset=function(i,r){var o=this.$utils().u;if(o(i))return this.$u?0:o(this.$offset)?l.call(this):this.$offset;if("string"==typeof i&&null===(i=function(t){void 0===t&&(t="");var i=t.match(e);if(!i)return null;var r=(""+i[0]).match(n)||["-",0,0],o=r[0],a=60*+r[1]+ +r[2];return 0===a?0:"+"===o?a:-a}(i)))return this;var a=Math.abs(i)<=16?60*i:i,s=this;if(r)return s.$offset=a,s.$u=0===i,s;if(0!==i){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+c,t)).$offset=a,s.$x.$localOffset=c}else s=this.utc();return s};var u=a.format;a.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,e)},a.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*t},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(t){return"s"===t&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var p=a.diff;a.diff=function(t,e,n){if(t&&this.$u===t.$u)return p.call(this,t,e,n);var i=this.local(),r=o(t).local();return p.call(i,r,e,n)}}}()},838:function(t){t.exports=function(){"use strict";const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:i,getOwnPropertyDescriptor:r}=Object;let{freeze:o,seal:a,create:s}=Object,{apply:c,construct:l}="undefined"!=typeof Reflect&&Reflect;c||(c=function(t,e,n){return t.apply(e,n)}),o||(o=function(t){return t}),a||(a=function(t){return t}),l||(l=function(t,e){return new t(...e)});const u=w(Array.prototype.forEach),d=w(Array.prototype.pop),p=w(Array.prototype.push),f=w(String.prototype.toLowerCase),m=w(String.prototype.toString),h=w(String.prototype.match),g=w(String.prototype.replace),y=w(String.prototype.indexOf),_=w(String.prototype.trim),b=w(RegExp.prototype.test),v=T(TypeError);function w(t){return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r/gm),P=a(/\${[\w\W]*}/gm),U=a(/^data-[\-\w.\u00B7-\uFFFF]/),F=a(/^aria-[\-\w]+$/),Y=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),j=a(/^(?:\w+script|data):/i),W=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),B=a(/^html$/i);var G=Object.freeze({__proto__:null,MUSTACHE_EXPR:z,ERB_EXPR:H,TMPLIT_EXPR:P,DATA_ATTR:U,ARIA_ATTR:F,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:j,ATTR_WHITESPACE:W,DOCTYPE_NAME:B});const q=()=>"undefined"==typeof window?null:window,Z=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(n=e.getAttribute(i));const r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};function X(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q();const n=t=>X(t);if(n.version="3.0.5",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;const i=e.document,r=i.currentScript;let{document:a}=e;const{DocumentFragment:s,HTMLTemplateElement:c,Node:l,Element:w,NodeFilter:T,NamedNodeMap:z=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:H,DOMParser:P,trustedTypes:U}=e,F=w.prototype,j=$(F,"cloneNode"),W=$(F,"nextSibling"),V=$(F,"childNodes"),J=$(F,"parentNode");if("function"==typeof c){const t=a.createElement("template");t.content&&t.content.ownerDocument&&(a=t.content.ownerDocument)}let K,Q="";const{implementation:tt,createNodeIterator:et,createDocumentFragment:nt,getElementsByTagName:it}=a,{importNode:rt}=i;let ot={};n.isSupported="function"==typeof t&&"function"==typeof J&&tt&&void 0!==tt.createHTMLDocument;const{MUSTACHE_EXPR:at,ERB_EXPR:st,TMPLIT_EXPR:ct,DATA_ATTR:lt,ARIA_ATTR:ut,IS_SCRIPT_OR_DATA:dt,ATTR_WHITESPACE:pt}=G;let{IS_ALLOWED_URI:ft}=G,mt=null;const ht=A({},[...S,...E,...k,...N,...C]);let gt=null;const yt=A({},[...O,...L,...R,...I]);let _t=Object.seal(Object.create(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}})),bt=null,vt=null,wt=!0,Tt=!0,At=!1,xt=!0,$t=!1,St=!1,Et=!1,kt=!1,Dt=!1,Nt=!1,Mt=!1,Ct=!0,Ot=!1;const Lt="user-content-";let Rt=!0,It=!1,zt={},Ht=null;const Pt=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 Ut=null;const Ft=A({},["audio","video","img","source","image","track"]);let Yt=null;const jt=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Wt="http://www.w3.org/1998/Math/MathML",Bt="http://www.w3.org/2000/svg",Gt="http://www.w3.org/1999/xhtml";let qt=Gt,Zt=!1,Xt=null;const Vt=A({},[Wt,Bt,Gt],m);let Jt;const Kt=["application/xhtml+xml","text/html"],Qt="text/html";let te,ee=null;const ne=a.createElement("form"),ie=function(t){return t instanceof RegExp||t instanceof Function},re=function(t){if(!ee||ee!==t){if(t&&"object"==typeof t||(t={}),t=x(t),Jt=Jt=-1===Kt.indexOf(t.PARSER_MEDIA_TYPE)?Qt:t.PARSER_MEDIA_TYPE,te="application/xhtml+xml"===Jt?m:f,mt="ALLOWED_TAGS"in t?A({},t.ALLOWED_TAGS,te):ht,gt="ALLOWED_ATTR"in t?A({},t.ALLOWED_ATTR,te):yt,Xt="ALLOWED_NAMESPACES"in t?A({},t.ALLOWED_NAMESPACES,m):Vt,Yt="ADD_URI_SAFE_ATTR"in t?A(x(jt),t.ADD_URI_SAFE_ATTR,te):jt,Ut="ADD_DATA_URI_TAGS"in t?A(x(Ft),t.ADD_DATA_URI_TAGS,te):Ft,Ht="FORBID_CONTENTS"in t?A({},t.FORBID_CONTENTS,te):Pt,bt="FORBID_TAGS"in t?A({},t.FORBID_TAGS,te):{},vt="FORBID_ATTR"in t?A({},t.FORBID_ATTR,te):{},zt="USE_PROFILES"in t&&t.USE_PROFILES,wt=!1!==t.ALLOW_ARIA_ATTR,Tt=!1!==t.ALLOW_DATA_ATTR,At=t.ALLOW_UNKNOWN_PROTOCOLS||!1,xt=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,$t=t.SAFE_FOR_TEMPLATES||!1,St=t.WHOLE_DOCUMENT||!1,Dt=t.RETURN_DOM||!1,Nt=t.RETURN_DOM_FRAGMENT||!1,Mt=t.RETURN_TRUSTED_TYPE||!1,kt=t.FORCE_BODY||!1,Ct=!1!==t.SANITIZE_DOM,Ot=t.SANITIZE_NAMED_PROPS||!1,Rt=!1!==t.KEEP_CONTENT,It=t.IN_PLACE||!1,ft=t.ALLOWED_URI_REGEXP||Y,qt=t.NAMESPACE||Gt,_t=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ie(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(_t.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ie(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(_t.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(_t.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),$t&&(Tt=!1),Nt&&(Dt=!0),zt&&(mt=A({},[...C]),gt=[],!0===zt.html&&(A(mt,S),A(gt,O)),!0===zt.svg&&(A(mt,E),A(gt,L),A(gt,I)),!0===zt.svgFilters&&(A(mt,k),A(gt,L),A(gt,I)),!0===zt.mathMl&&(A(mt,N),A(gt,R),A(gt,I))),t.ADD_TAGS&&(mt===ht&&(mt=x(mt)),A(mt,t.ADD_TAGS,te)),t.ADD_ATTR&&(gt===yt&&(gt=x(gt)),A(gt,t.ADD_ATTR,te)),t.ADD_URI_SAFE_ATTR&&A(Yt,t.ADD_URI_SAFE_ATTR,te),t.FORBID_CONTENTS&&(Ht===Pt&&(Ht=x(Ht)),A(Ht,t.FORBID_CONTENTS,te)),Rt&&(mt["#text"]=!0),St&&A(mt,["html","head","body"]),mt.table&&(A(mt,["tbody"]),delete bt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');K=t.TRUSTED_TYPES_POLICY,Q=K.createHTML("")}else void 0===K&&(K=Z(U,r)),null!==K&&"string"==typeof Q&&(Q=K.createHTML(""));o&&o(t),ee=t}},oe=A({},["mi","mo","mn","ms","mtext"]),ae=A({},["foreignobject","desc","title","annotation-xml"]),se=A({},["title","style","font","a","script"]),ce=A({},E);A(ce,k),A(ce,D);const le=A({},N);A(le,M);const ue=function(t){let e=J(t);e&&e.tagName||(e={namespaceURI:qt,tagName:"template"});const n=f(t.tagName),i=f(e.tagName);return!!Xt[t.namespaceURI]&&(t.namespaceURI===Bt?e.namespaceURI===Gt?"svg"===n:e.namespaceURI===Wt?"svg"===n&&("annotation-xml"===i||oe[i]):Boolean(ce[n]):t.namespaceURI===Wt?e.namespaceURI===Gt?"math"===n:e.namespaceURI===Bt?"math"===n&&ae[i]:Boolean(le[n]):t.namespaceURI===Gt?!(e.namespaceURI===Bt&&!ae[i])&&!(e.namespaceURI===Wt&&!oe[i])&&!le[n]&&(se[n]||!ce[n]):!("application/xhtml+xml"!==Jt||!Xt[t.namespaceURI]))},de=function(t){p(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},pe=function(t,e){try{p(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){p(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!gt[t])if(Dt||Nt)try{de(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},fe=function(t){let e,n;if(kt)t=""+t;else{const e=h(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Jt&&qt===Gt&&(t=''+t+"");const i=K?K.createHTML(t):t;if(qt===Gt)try{e=(new P).parseFromString(i,Jt)}catch(t){}if(!e||!e.documentElement){e=tt.createDocument(qt,"template",null);try{e.documentElement.innerHTML=Zt?Q:i}catch(t){}}const r=e.body||e.documentElement;return t&&n&&r.insertBefore(a.createTextNode(n),r.childNodes[0]||null),qt===Gt?it.call(e,St?"html":"body")[0]:St?e.documentElement:r},me=function(t){return et.call(t.ownerDocument||t,t,T.SHOW_ELEMENT|T.SHOW_COMMENT|T.SHOW_TEXT,null,!1)},he=function(t){return t instanceof H&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof z)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ge=function(t){return"object"==typeof l?t instanceof l:t&&"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},ye=function(t,e,i){ot[t]&&u(ot[t],(t=>{t.call(n,e,i,ee)}))},_e=function(t){let e;if(ye("beforeSanitizeElements",t,null),he(t))return de(t),!0;const i=te(t.nodeName);if(ye("uponSanitizeElement",t,{tagName:i,allowedTags:mt}),t.hasChildNodes()&&!ge(t.firstElementChild)&&(!ge(t.content)||!ge(t.content.firstElementChild))&&b(/<[/\w]/g,t.innerHTML)&&b(/<[/\w]/g,t.textContent))return de(t),!0;if(!mt[i]||bt[i]){if(!bt[i]&&ve(i)){if(_t.tagNameCheck instanceof RegExp&&b(_t.tagNameCheck,i))return!1;if(_t.tagNameCheck instanceof Function&&_t.tagNameCheck(i))return!1}if(Rt&&!Ht[i]){const e=J(t)||t.parentNode,n=V(t)||t.childNodes;if(n&&e)for(let i=n.length-1;i>=0;--i)e.insertBefore(j(n[i],!0),W(t))}return de(t),!0}return t instanceof w&&!ue(t)?(de(t),!0):"noscript"!==i&&"noembed"!==i&&"noframes"!==i||!b(/<\/no(script|embed|frames)/i,t.innerHTML)?($t&&3===t.nodeType&&(e=t.textContent,e=g(e,at," "),e=g(e,st," "),e=g(e,ct," "),t.textContent!==e&&(p(n.removed,{element:t.cloneNode()}),t.textContent=e)),ye("afterSanitizeElements",t,null),!1):(de(t),!0)},be=function(t,e,n){if(Ct&&("id"===e||"name"===e)&&(n in a||n in ne))return!1;if(Tt&&!vt[e]&&b(lt,e));else if(wt&&b(ut,e));else if(!gt[e]||vt[e]){if(!(ve(t)&&(_t.tagNameCheck instanceof RegExp&&b(_t.tagNameCheck,t)||_t.tagNameCheck instanceof Function&&_t.tagNameCheck(t))&&(_t.attributeNameCheck instanceof RegExp&&b(_t.attributeNameCheck,e)||_t.attributeNameCheck instanceof Function&&_t.attributeNameCheck(e))||"is"===e&&_t.allowCustomizedBuiltInElements&&(_t.tagNameCheck instanceof RegExp&&b(_t.tagNameCheck,n)||_t.tagNameCheck instanceof Function&&_t.tagNameCheck(n))))return!1}else if(Yt[e]);else if(b(ft,g(n,pt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==y(n,"data:")||!Ut[t])if(At&&!b(dt,g(n,pt,"")));else if(n)return!1;return!0},ve=function(t){return t.indexOf("-")>0},we=function(t){let e,i,r,o;ye("beforeSanitizeAttributes",t,null);const{attributes:a}=t;if(!a)return;const s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:gt};for(o=a.length;o--;){e=a[o];const{name:c,namespaceURI:l}=e;if(i="value"===c?e.value:_(e.value),r=te(c),s.attrName=r,s.attrValue=i,s.keepAttr=!0,s.forceKeepAttr=void 0,ye("uponSanitizeAttribute",t,s),i=s.attrValue,s.forceKeepAttr)continue;if(pe(c,t),!s.keepAttr)continue;if(!xt&&b(/\/>/i,i)){pe(c,t);continue}$t&&(i=g(i,at," "),i=g(i,st," "),i=g(i,ct," "));const u=te(t.nodeName);if(be(u,r,i)){if(!Ot||"id"!==r&&"name"!==r||(pe(c,t),i=Lt+i),K&&"object"==typeof U&&"function"==typeof U.getAttributeType)if(l);else switch(U.getAttributeType(u,r)){case"TrustedHTML":i=K.createHTML(i);break;case"TrustedScriptURL":i=K.createScriptURL(i)}try{l?t.setAttributeNS(l,c,i):t.setAttribute(c,i),d(n.removed)}catch(t){}}}ye("afterSanitizeAttributes",t,null)},Te=function t(e){let n;const i=me(e);for(ye("beforeSanitizeShadowDOM",e,null);n=i.nextNode();)ye("uponSanitizeShadowNode",n,null),_e(n)||(n.content instanceof s&&t(n.content),we(n));ye("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t){let e,r,o,a,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Zt=!t,Zt&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ge(t)){if("function"!=typeof t.toString)throw v("toString is not a function");if("string"!=typeof(t=t.toString()))throw v("dirty is not a string, aborting")}if(!n.isSupported)return t;if(Et||re(c),n.removed=[],"string"==typeof t&&(It=!1),It){if(t.nodeName){const e=te(t.nodeName);if(!mt[e]||bt[e])throw v("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof l)e=fe("\x3c!----\x3e"),r=e.ownerDocument.importNode(t,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?e=r:e.appendChild(r);else{if(!Dt&&!$t&&!St&&-1===t.indexOf("<"))return K&&Mt?K.createHTML(t):t;if(e=fe(t),!e)return Dt?null:Mt?Q:""}e&&kt&&de(e.firstChild);const u=me(It?t:e);for(;o=u.nextNode();)_e(o)||(o.content instanceof s&&Te(o.content),we(o));if(It)return t;if(Dt){if(Nt)for(a=nt.call(e.ownerDocument);e.firstChild;)a.appendChild(e.firstChild);else a=e;return(gt.shadowroot||gt.shadowrootmode)&&(a=rt.call(i,a,!0)),a}let d=St?e.outerHTML:e.innerHTML;return St&&mt["!doctype"]&&e.ownerDocument&&e.ownerDocument.doctype&&e.ownerDocument.doctype.name&&b(B,e.ownerDocument.doctype.name)&&(d="\n"+d),$t&&(d=g(d,at," "),d=g(d,st," "),d=g(d,ct," ")),K&&Mt?K.createHTML(d):d},n.setConfig=function(t){re(t),Et=!0},n.clearConfig=function(){ee=null,Et=!1},n.isValidAttribute=function(t,e,n){ee||re({});const i=te(t),r=te(e);return be(i,r,n)},n.addHook=function(t,e){"function"==typeof e&&(ot[t]=ot[t]||[],p(ot[t],e))},n.removeHook=function(t){if(ot[t])return d(ot[t])},n.removeHooks=function(t){ot[t]&&(ot[t]=[])},n.removeAllHooks=function(){ot={}},n}return X()}()}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={exports:{}};return t[i].call(o.exports,o,o.exports,n),o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t=n(353),e=n.n(t),i=n(826),r=n.n(i),o=n(522),a=n.n(o),s=n(569),c=n.n(s);e().extend(r()),e().extend(a()),e().extend(c());const l=e(),u=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],d=function(t){const e=(t||"").split(":");return 2==e.length?{hour:e[0],minute:e[1]}:null},p=function(t){const e=(t||"").split(":");if(e.length>=2){return{hours:parseInt(e[0],10),minutes:parseInt(e[1],10)}}return null},f=function(t,e){const n=p(t),i=p(e),r=n.minutes+60*n.hours,o=i.minutes+60*i.hours;return r===o?0:r>o?1:-1},m=function(t,e,n){var i=new Date;i.setTime(i.getTime()+24*n*60*60*1e3);var r="expires="+i.toUTCString();document.cookie=t+"="+e+";"+r+";path=/"},h=function(t){for(var e=t+"=",n=document.cookie.split(";"),i=0;ie))});const v=(T=!1,w=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(w)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(w.substr(0,4)))&&(T=!0),T);var w,T;const A=function(t,e){let n="",i=t.predefinedText;if(i=i.njtReplaceAll(/\[njwa_page_title\]/gi,encodeURIComponent(document.title)),i=i.njtReplaceAll(/\[njwa_page_url\]/gi,window.location.href),i=i.njtReplaceAll(/\n/gi,"%0A"),-1!==t.number.indexOf("chat.whatsapp.com"))n+=t.number;else{let r=e.urlSettings[v?"onMobile":"onDesktop"];if(r||(r="api"),"protocol"===r)return"whatsapp://send?phone="+t.number.replace(/[^0-9]/gi,"");n+="https://"+r+".whatsapp.com/send?phone=",n+=t.number.replace(/[^0-9]/gi,""),n+=t.predefinedText?"&text="+i:""}return n};window.njtWhatsApp={createButton:function(t,e){const n=Object.assign({},e),i=n.info,r=g(i,n);let o="";o+="round"==n.styles.type?" wa__r_button":" wa__sq_button",o+="online"==r?" wa__stt_online":" wa__stt_offline",o+=n.avatar?" wa__btn_w_img":" wa__btn_w_icon",o+=n.name?"":" wa__button_text_only";let a=A(i,n);const s=document.createElement("div");s.setAttribute("class",n.avatar?"wa__cs_img":"wa__btn_icon"),s.appendChild((()=>{if(n.avatar){const t=document.createElement("div");return t.setAttribute("class","wa__cs_img_wrap"),t.setAttribute("style",`background: url(${n.avatar}) center center no-repeat; background-size: cover`),t}{const t=document.createElement("img");return t.setAttribute("alt","img"),t.setAttribute("src",n.defaultAvatar),t}})());const c=document.createElement("div");c.setAttribute("class","wa__btn_txt"),c.appendChild(n.name?(()=>{const t=document.createElement("div");return t.className="wa__cs_info",t.appendChild((()=>{const t=document.createElement("div");return t.setAttribute("class","wa__cs_name"),t.setAttribute("style","online"==r?`color: ${"#fff"==n.styles.textColor||"#ffffff"==n.styles.textColor?"#d5f0d9":n.styles.textColor}; opacity: ${"#fff"==n.styles.textColor||"#ffffff"==n.styles.textColor?1:.8}`:""),t.innerHTML=b().sanitize(n.name),t})()),t.appendChild((()=>{const t=document.createElement("div");return t.setAttribute("class","wa__cs_status"),t.innerHTML="online"===r?b().sanitize(n.i18n.online):b().sanitize(n.i18n.offline),t})()),t})():document.createTextNode("")),c.appendChild((()=>{const t=document.createElement("div");return t.setAttribute("class","wa__btn_title"),t.setAttribute("style","online"==r?"color: "+n.styles.textColor:""),t.innerHTML=b().sanitize(n.styles.label),t})()),c.appendChild((()=>{if("online"!=r){const t=document.createElement("div");return t.setAttribute("class","wa__btn_status"),t.innerHTML=b().sanitize(r),t}return document.createTextNode("")})());const l=document.createElement("div");l.setAttribute("class","nta-wa-gdpr"),l.appendChild((()=>{const t=document.createElement("input");t.setAttribute("id","nta-wa-gdpr"),t.setAttribute("type","checkbox"),t.setAttribute("value","accept"),t.onchange=function(t){if(t.target.checked&&(m("nta-wa-gdpr","accept",30),""!=h("nta-wa-gdpr"))){const t=document.querySelectorAll(".nta-wa-gdpr");l.style.opacity=0,setTimeout((()=>{t.forEach((t=>t.style.display="none"))}),400);document.querySelectorAll(".wa__popup_content_item").forEach((t=>t.classList.remove("pointer-disable")))}};const e=document.createElement("span");e.appendChild(t),e.appendChild((()=>{const t=document.createElement("span");return t.innerHTML=b().sanitize(n.options.styles.gdprContent.njtReplaceAll(/\r\n\r\n/gm,"
")),t})());const i=document.createElement("label");return i.setAttribute("for","nta-wa-gdpr"),i.appendChild(e),i})());const u=document.createElement("a");u.setAttribute("target","ON"==n.urlSettings.openInNewTab?"_blank":"_self"),u.setAttribute("href",a),u.setAttribute("rel","nofollow noopener noreferrer"),u.setAttribute("class","wa__button"+o),u.onclick=function(t){if(n.gdprStatus&&!h("nta-wa-gdpr"))return t.preventDefault(),l.style.background="red",void(l.style.color="#fff");y(this,{enabledFacebook:n.options.analytics.enabledFacebook,enabledGoogle:n.options.analytics.enabledGoogle,enabledGoogleGA4:n.options.analytics.enabledGoogleGA4})},"online"==r&&(u.style.backgroundColor=n.styles.backgroundColor),u.appendChild(s),u.appendChild(c),t.appendChild(u),n.gdprStatus&&"accept"!=h("nta-wa-gdpr")&&t.appendChild(l),t._isWaButton=!0},createWidget:function(t,e){const n=Object.assign({accounts:[],timezone:"",defaultAvatar:"",gdprStatus:!1,options:{display:{},styles:{},analytics:{}},urlSettings:{}},e);if("OFF"==n.options.display.showOnDesktop&&!v)return;if("OFF"==n.options.display.showOnMobile&&v)return;const i=n.options.styles;t.classList.add("wa__widget_container");const r=document.createElement("div");r.setAttribute("class","wa__btn_popup_txt"),r.appendChild((()=>{const t=document.createElement("span");return t.innerHTML=b().sanitize(i.btnLabel),t})()),r.style.display="ON"==i.isShowBtnLabel?"block":"none",r.style.left="left"==i.btnPosition?"100%":"unset",r.style.right="right"==i.btnPosition?"100%":"unset",r.style.marginRight="right"==i.btnPosition?"7px":"0px",r.style.marginLeft="left"==i.btnPosition?"7px":"0px",r.style.width=i.btnLabelWidth+"px";const o=document.createElement("div");o.setAttribute("class","wa__btn_popup_icon"),o.style.background=i.backgroundColor;const a=document.createElement("button");a.setAttribute("aria-label","WhatsApp Widget"),a.setAttribute("class","wa__btn_popup"),a.onclick=function(){let t,e;const n=document.querySelector(".wa__popup_chat_box"),i=document.querySelector(".wa__btn_popup");n.classList.contains("wa__active")?(n.classList.remove("wa__active"),i.classList.remove("wa__active"),clearTimeout(e),n.classList.contains("wa__lauch")&&(t=setTimeout((function(){n.classList.remove("wa__pending"),n.classList.remove("wa__lauch")}),400))):(n.classList.add("wa__pending"),n.classList.add("wa__active"),i.classList.add("wa__active"),clearTimeout(t),n.classList.contains("wa__lauch")||(e=setTimeout((function(){n.classList.add("wa__lauch")}),100)))},a.appendChild(r),a.appendChild(o),a.style.left="left"==i.btnPosition?parseInt(i.btnLeftDistance)+"px":"unset",a.style.right="right"==i.btnPosition?parseInt(i.btnRightDistance)+"px":"unset",a.style.bottom=parseInt(i.btnBottomDistance)+"px",t.appendChild(a);const s=document.createElement("div");s.setAttribute("class","wa__popup_heading"),s.style.background=i.backgroundColor,s.append((()=>{const t=document.createElement("div");return t.className="wa__popup_title",t.innerHTML=b().sanitize(i.title),t.style.color=i.textColor,t.style.fontSize=i.titleSize+"px",t})()),s.append((()=>{const t=document.createElement("div");return t.className="wa__popup_intro",t.innerHTML=b().sanitize(i.description.njtReplaceAll(/\r\n\r\n/gm,"
")),t.style="#fff"==i.textColor||"#ffffff"==i.textColor?"color: #D9EBC6":"color: "+i.textColor+"; opacity: 0.8",t.style.fontSize=i.descriptionTextSize+"px",t})());const c=document.createElement("div");c.className="nta-wa-gdpr",c.appendChild((()=>{const t=document.createElement("input");t.setAttribute("id","nta-wa-gdpr"),t.setAttribute("type","checkbox"),t.setAttribute("value","accept"),t.onchange=function(t){if(t.target.checked&&(m("nta-wa-gdpr","accept",30),""!=h("nta-wa-gdpr"))){const t=document.querySelectorAll(".nta-wa-gdpr");c.style.opacity=0,setTimeout((()=>{t.forEach((t=>t.style.display="none"))}),400);document.querySelectorAll(".wa__popup_content_item").forEach((t=>t.classList.remove("pointer-disable")))}};const e=document.createElement("span");e.appendChild(t),e.appendChild((()=>{const t=document.createElement("span");return t.innerHTML=b().sanitize(n.options.styles.gdprContent.njtReplaceAll(/\r\n\r\n/gm,"
")),t})());const i=document.createElement("label");return i.setAttribute("for","nta-wa-gdpr"),i.appendChild(e),i})());const l=document.createElement("div");l.className="wa__popup_content wa__popup_content_left",l.appendChild((()=>{const t=document.createElement("div");return t.className="wa__popup_notice",t.innerHTML=b().sanitize(i.responseText.njtReplaceAll(/\r\n\r\n/gm,"
")),t.style.fontSize=i.regularTextSize+"px",t})()),l.appendChild("ON"==i.isShowGDPR&&1==n.gdprStatus&&"accept"!=h("nta-wa-gdpr")?c:document.createTextNode("")),l.appendChild((()=>{const t=document.createElement("div");var e;return t.className="wa__popup_content_list",t.onclick=function(){""==h("nta-wa-gdpr")&&(c.style.background="red",c.style.color="#fff")},e=t,n.accounts.forEach((t=>{const r=g(t,n);let o=A(t,n);const a=document.createElement("div");a.className="wa__popup_avatar"+(t.avatar?"":" nta-default-avt"),a.appendChild((()=>{if(t.avatar){const e=document.createElement("div");return e.className="wa__cs_img_wrap",e.style=`background: url(${t.avatar}) center center no-repeat; background-size: cover;`,e}return document.createRange().createContextualFragment(n.defaultAvatar)})());const s=document.createElement("div");s.className="wa__popup_content_item"+(n.gdprStatus?" pointer-disable":""),s.appendChild((()=>{const e=document.createElement("a");return e.setAttribute("target","ON"==n.urlSettings.openInNewTab?"_blank":"_self"),e.setAttribute("href",o),e.setAttribute("rel","nofollow noopener noreferrer"),e.className="wa__stt"+("online"===r?" wa__stt_online":" wa__stt_offline"),e.onclick=function(){y(this,{enabledFacebook:n.options.analytics.enabledFacebook,enabledGoogle:n.options.analytics.enabledGoogle,enabledGoogleGA4:n.options.analytics.enabledGoogleGA4})},e.appendChild(a),e.appendChild((()=>{const e=document.createElement("div");e.className="wa__popup_txt";let n="";return n+=``,n+=``,n+="online"!=r?``:"",e.innerHTML=b().sanitize(n),e})()),e})()),e.appendChild(s)})),t})());var u='',d='',p='';"ON"===i.isShowPoweredBy&&l.appendChild((()=>{const t=document.createElement("div");return t.className=v?"wa__popup_powered_mb":"wa__popup_powered",t.innerHTML=v?b().sanitize(p):b().sanitize(d),t})()),"ON"===i.isShowScroll&&(l.style.maxHeight=parseInt(i.scrollHeight)+"px",l.style.overflow="auto");const f=document.createElement("div");f.className="wa__popup_chat_box",f.appendChild(s),f.style.left="left"==i.btnPosition?parseInt(i.btnLeftDistance)+"px":"unset",f.style.right="right"==i.btnPosition?parseInt(i.btnRightDistance)+"px":"unset",f.style.bottom=parseInt(i.btnBottomDistance)+72+"px",f.appendChild(l),t.appendChild(f)},ready:function(t){return(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?t():document.addEventListener("DOMContentLoaded",t)}}})()})();