window.Modernizr=function(e,t,n){function r(e){b.cssText=e}function o(e,t){return r(S.join(e+";")+(t||""))}function a(e,t){return typeof e===t}function i(e,t){return!!~(""+e).indexOf(t)}function c(e,t){for(var r in e){var o=e[r];if(!i(o,"-")&&b[o]!==n)return"pfx"==t?o:!0}return!1}function s(e,t,r){for(var o in e){var i=t[e[o]];if(i!==n)return r===!1?e[o]:a(i,"function")?i.bind(r||t):i}return!1}function u(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),o=(e+" "+k.join(r+" ")+r).split(" ");return a(t,"string")||a(t,"undefined")?c(o,t):(o=(e+" "+T.join(r+" ")+r).split(" "),s(o,t,n))}function l(){p.input=function(n){for(var r=0,o=n.length;o>r;r++)j[n[r]]=!!(n[r]in E);return j.list&&(j.list=!(!t.createElement("datalist")||!e.HTMLDataListElement)),j}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),p.inputtypes=function(e){for(var r,o,a,i=0,c=e.length;c>i;i++)E.setAttribute("type",o=e[i]),r="text"!==E.type,r&&(E.value=x,E.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(o)&&E.style.WebkitAppearance!==n?(g.appendChild(E),a=t.defaultView,r=a.getComputedStyle&&"textfield"!==a.getComputedStyle(E,null).WebkitAppearance&&0!==E.offsetHeight,g.removeChild(E)):/^(search|tel)$/.test(o)||(r=/^(url|email)$/.test(o)?E.checkValidity&&E.checkValidity()===!1:E.value!=x)),P[e[i]]=!!r;return P}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d,f,m="2.8.3",p={},h=!0,g=t.documentElement,v="modernizr",y=t.createElement(v),b=y.style,E=t.createElement("input"),x=":)",w={}.toString,S=" -webkit- -moz- -o- -ms- ".split(" "),C="Webkit Moz O ms",k=C.split(" "),T=C.toLowerCase().split(" "),N={svg:"http://www.w3.org/2000/svg"},M={},P={},j={},$=[],D=$.slice,F=function(e,n,r,o){var a,i,c,s,u=t.createElement("div"),l=t.body,d=l||t.createElement("body");if(parseInt(r,10))for(;r--;)c=t.createElement("div"),c.id=o?o[r]:v+(r+1),u.appendChild(c);return a=["&#173;",'<style id="s',v,'">',e,"</style>"].join(""),u.id=v,(l?u:d).innerHTML+=a,d.appendChild(u),l||(d.style.background="",d.style.overflow="hidden",s=g.style.overflow,g.style.overflow="hidden",g.appendChild(d)),i=n(u,e),l?u.parentNode.removeChild(u):(d.parentNode.removeChild(d),g.style.overflow=s),!!i},z=function(t){var n=e.matchMedia||e.msMatchMedia;if(n)return n(t)&&n(t).matches||!1;var r;return F("@media "+t+" { #"+v+" { position: absolute; }}",function(t){r="absolute"==(e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position}),r},A=function(){function e(e,o){o=o||t.createElement(r[e]||"div"),e="on"+e;var i=e in o;return i||(o.setAttribute||(o=t.createElement("div")),o.setAttribute&&o.removeAttribute&&(o.setAttribute(e,""),i=a(o[e],"function"),a(o[e],"undefined")||(o[e]=n),o.removeAttribute(e))),o=null,i}var r={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return e}(),L={}.hasOwnProperty;f=a(L,"undefined")||a(L.call,"undefined")?function(e,t){return t in e&&a(e.constructor.prototype[t],"undefined")}:function(e,t){return L.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=D.call(arguments,1),r=function(){if(this instanceof r){var o=function(){};o.prototype=t.prototype;var a=new o,i=t.apply(a,n.concat(D.call(arguments)));return Object(i)===i?i:a}return t.apply(e,n.concat(D.call(arguments)))};return r}),M.flexbox=function(){return u("flexWrap")},M.flexboxlegacy=function(){return u("boxDirection")},M.canvas=function(){var e=t.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},M.canvastext=function(){return!(!p.canvas||!a(t.createElement("canvas").getContext("2d").fillText,"function"))},M.webgl=function(){return!!e.WebGLRenderingContext},M.touch=function(){var n;return"ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch?n=!0:F(["@media (",S.join("touch-enabled),("),v,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(e){n=9===e.offsetTop}),n},M.geolocation=function(){return"geolocation"in navigator},M.postmessage=function(){return!!e.postMessage},M.websqldatabase=function(){return!!e.openDatabase},M.indexedDB=function(){return!!u("indexedDB",e)},M.hashchange=function(){return A("hashchange",e)&&(t.documentMode===n||t.documentMode>7)},M.history=function(){return!(!e.history||!history.pushState)},M.draganddrop=function(){var e=t.createElement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in e},M.websockets=function(){return"WebSocket"in e||"MozWebSocket"in e},M.rgba=function(){return r("background-color:rgba(150,255,150,.5)"),i(b.backgroundColor,"rgba")},M.hsla=function(){return r("background-color:hsla(120,40%,100%,.5)"),i(b.backgroundColor,"rgba")||i(b.backgroundColor,"hsla")},M.multiplebgs=function(){return r("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(b.background)},M.backgroundsize=function(){return u("backgroundSize")},M.borderimage=function(){return u("borderImage")},M.borderradius=function(){return u("borderRadius")},M.boxshadow=function(){return u("boxShadow")},M.textshadow=function(){return""===t.createElement("div").style.textShadow},M.opacity=function(){return o("opacity:.55"),/^0.55$/.test(b.opacity)},M.cssanimations=function(){return u("animationName")},M.csscolumns=function(){return u("columnCount")},M.cssgradients=function(){var e="background-image:",t="gradient(linear,left top,right bottom,from(#9f9),to(white));",n="linear-gradient(left top,#9f9, white);";return r((e+"-webkit- ".split(" ").join(t+e)+S.join(n+e)).slice(0,-e.length)),i(b.backgroundImage,"gradient")},M.cssreflections=function(){return u("boxReflect")},M.csstransforms=function(){return!!u("transform")},M.csstransforms3d=function(){var e=!!u("perspective");return e&&"webkitPerspective"in g.style&&F("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){e=9===t.offsetLeft&&3===t.offsetHeight}),e},M.csstransitions=function(){return u("transition")},M.fontface=function(){var e;return F('@font-face {font-family:"font";src:url("https://")}',function(n,r){var o=t.getElementById("smodernizr"),a=o.sheet||o.styleSheet,i=a?a.cssRules&&a.cssRules[0]?a.cssRules[0].cssText:a.cssText||"":"";e=/src/i.test(i)&&0===i.indexOf(r.split(" ")[0])}),e},M.generatedcontent=function(){var e;return F(["#",v,"{font:0/0 a}#",v,':after{content:"',x,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){e=t.offsetHeight>=3}),e},M.video=function(){var e=t.createElement("video"),n=!1;try{(n=!!e.canPlayType)&&(n=new Boolean(n),n.ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(r){}return n},M.audio=function(){var e=t.createElement("audio"),n=!1;try{(n=!!e.canPlayType)&&(n=new Boolean(n),n.ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(r){}return n},M.localstorage=function(){try{return localStorage.setItem(v,v),localStorage.removeItem(v),!0}catch(e){return!1}},M.sessionstorage=function(){try{return sessionStorage.setItem(v,v),sessionStorage.removeItem(v),!0}catch(e){return!1}},M.webworkers=function(){return!!e.Worker},M.applicationcache=function(){return!!e.applicationCache},M.svg=function(){return!!t.createElementNS&&!!t.createElementNS(N.svg,"svg").createSVGRect},M.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="<svg/>",(e.firstChild&&e.firstChild.namespaceURI)==N.svg},M.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(w.call(t.createElementNS(N.svg,"animate")))},M.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(w.call(t.createElementNS(N.svg,"clipPath")))};for(var H in M)f(M,H)&&(d=H.toLowerCase(),p[d]=M[H](),$.push((p[d]?"":"no-")+d));return p.input||l(),p.addTest=function(e,t){if("object"==typeof e)for(var r in e)f(e,r)&&p.addTest(r,e[r]);else{if(e=e.toLowerCase(),p[e]!==n)return p;t="function"==typeof t?t():t,"undefined"!=typeof h&&h&&(g.className+=" "+(t?"":"no-")+e),p[e]=t}return p},r(""),y=E=null,function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=y.elements;return"string"==typeof e?e.split(" "):e}function o(e){var t=v[e[h]];return t||(t={},g++,e[h]=g,v[g]=t),t}function a(e,n,r){if(n||(n=t),l)return n.createElement(e);r||(r=o(n));var a;return a=r.cache[e]?r.cache[e].cloneNode():p.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),!a.canHaveChildren||m.test(e)||a.tagUrn?a:r.frag.appendChild(a)}function i(e,n){if(e||(e=t),l)return e.createDocumentFragment();n=n||o(e);for(var a=n.frag.cloneNode(),i=0,c=r(),s=c.length;s>i;i++)a.createElement(c[i]);return a}function c(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return y.shivMethods?a(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/[\w\-]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(y,t.frag)}function s(e){e||(e=t);var r=o(e);return!y.shivCSS||u||r.hasCSS||(r.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||c(e,r),e}var u,l,d="3.7.0",f=e.html5||{},m=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,h="_html5shiv",g=0,v={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",u="hidden"in e,l=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){u=!0,l=!0}}();var y={elements:f.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:d,shivCSS:f.shivCSS!==!1,supportsUnknownElements:l,shivMethods:f.shivMethods!==!1,type:"default",shivDocument:s,createElement:a,createDocumentFragment:i};e.html5=y,s(t)}(this,t),p._version=m,p._prefixes=S,p._domPrefixes=T,p._cssomPrefixes=k,p.mq=z,p.hasEvent=A,p.testProp=function(e){return c([e])},p.testAllProps=u,p.testStyles=F,p.prefixed=function(e,t,n){return t?u(e,t,n):u(e,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(h?" js "+$.join(" "):""),p}(this,this.document);
!function n(o,p,a){function r(i,t){if(!p[i]){if(!o[i]){var e="function"==typeof require&&require;if(!t&&e)return e(i,!0);if(s)return s(i,!0);throw(t=new Error("Cannot find module '"+i+"'")).code="MODULE_NOT_FOUND",t}e=p[i]={exports:{}},o[i][0].call(e.exports,function(t){return r(o[i][1][t]||t)},e,e.exports,n,o,p,a)}return p[i].exports}for(var s="function"==typeof require&&require,t=0;t<a.length;t++)r(a[t]);return r}({1:[function(t,i,e){"use strict";function A(t){return!isNaN(t)&&(0|(t=parseFloat(t)))===t}jQuery(function(E){E(document).ready(function(){var e,n,o,b,C,i,p,a,r,k,T,h,f,x,_,t,m,g,w,v=new Event("dipi_popup_open"),y=new Event("dipi_popup_close");void 0===String.prototype.replaceAll&&(String.prototype.replaceAll=function(t,i){return this.replace(new RegExp(t,"g"),function(){return i})}),E("div.dipi-popup-container").length&&(e=function(t){var i=t.closest(".dipi_popup .dipi-popup-inner .dipi-popup-wrapper");return!(!i||t===i||!i.contains(t))},n=function(i){var t=[".ui-datepicker-header *"].find(function(t){return i.matches(t)});e(i)||t||k()},o=function(t){var e,i,n="#dipi_popup-"+t+".dipi_popup",o=n+".closebtn-within-popup > .dipi-popup-inner,"+n+".hide-closebtn > .dipi-popup-inner,"+n+":not(.closebtn-within-popup) > .dipi-popup-inner > .dipi-popup-wrapper .dipi_popup-close ~ div",p=E("body").find(n),a=E("body").find(o),r=p.data("preventscroll"),o=p.data("at_type"),s=p.data("periodicity"),c=p.data("hide_popup_slug"),d=p.data("close_by_back_btn"),l="dipipopup"+t,u=p.data("cookie");E(p).hasClass("open")?(p[0].dispatchEvent(y),!c&&d&&"blank"!==window.location.pathname?((i=window.location.hash.replaceAll("#dipipopup-"+t,""))&&0<=i.indexOf(_)?i=i.replaceAll(_,""):window.history.back(),""!==i?window.location.hash=i:history.pushState("",document.title,window.location.pathname)):window.location.hash&&(i=window.location.hash.replaceAll("#dipipopup-"+t,""),""!==(window.location.hash=i)?window.location.hash=i:history.pushState("",document.title,window.location.pathname)),E(p).removeClass("open"),E(p).addClass("close"),E(a).removeClass(p.attr("data-anim")),(E(n).hasClass("dipi_popup-hugeinc")||E(n).hasClass("dipi_popup-corner")||E(n).hasClass("dipi_popup-scale"))&&E(n).css("opacity",0),E(n).hasClass("dipi_popup-contentpush")&&(E(m).removeClass("dipi_popup-contentpush-open"),setTimeout(function(){E(m).removeClass("container2"),E("html,body").removeAttr("style")},1e3)),E(n).hasClass("dipi_popup-contentscale")&&(E(m).removeClass("dipi_popup-contentscale-open"),setTimeout(function(){E(m).removeClass("container3")},1e3)),"none"!==p.attr("data-close-anim")?(window.dispatchEvent(new Event("resize")),E(a).addClass(p.attr("data-close-anim")),setTimeout(function(){E(p).removeClass("close")},999)):E(n).hasClass("dipi_popup-cornershape")?(e=function(t){E(p).removeClass("close")},path.animate({path:pathConfig.from},400,mina.linear,e)):E(n).hasClass("dipi_popup-boxes")?paths.forEach(function(t,i){setTimeout(function(){++cnt,t.style.display="none",cnt===pathsTotal&&E(p).removeClass("close")},30*i)}):E(n).hasClass("dipi_popup-genie")?(i=stepsTotal-1,e=function(t){E(p).removeClass("close")},function t(i){--i<0||path1.animate({path:steps[i]},60,mina.linear,function(){0===i&&e(),t(i)})}(i)):(p=document.querySelector(n),e=function(t){if(w.transitions){if("visibility"!==t.propertyName)return;this.removeEventListener(g,e)}E(p).removeClass("close")},w.transitions?p.addEventListener(g,e):e()),r&&(E("html,body").removeClass("prevent_mainpage_scroll"),E("body").removeClass("prevent_mainpage_scroll_mobile"),E("#page-container").removeClass("prevent_content_scroll"),E("html, body").scrollTop(E(p).attr("data-scrolltop")),E(p).attr("data-scrolltop","")),E(a).find("iframe").each(function(){this.src=this.src}),E(a).find("video").each(function(){this.pause()}),setTimeout(function(){E(n).removeAttr("style"),E(n+" path").removeAttr("style"),T()||(E("#page-container").css("z-index","1"),E("#page-container .container").css("z-index","1"))},500)):E(p).hasClass("close")||""!==o&&"trigger_none"!==o&&"every_time"!==s&&f(l)&&0!=u||(p[0].dispatchEvent(v),!c&&d&&(i="#dipipopup-"+t,window.location.href.substring(1).indexOf(i)<0?document.location.href+=i:(o=document.location.href,document.location.href=o)),p.attr("data-scrolltop",b()),E("#page-container").css("z-index","0"),E("#page-container .container").css("z-index","0"),setTimeout(function(){E(p).addClass("open"),0<u&&h(l,"true",u),window.dispatchEvent(new Event("resize")),E(a).addClass("animated"),E(a).removeClass(p.attr("data-close-anim")),E(a).addClass(p.attr("data-anim")),""!=p.attr("data-bgcolor")&&E(n).css({"background-color":p.attr("data-bgcolor")}),""!=p.attr("data-fontcolor")&&E(n).css("color",p.attr("data-fontcolor")),"true"===p.attr("data-blur")&&E(n).css("backdrop-filter","blur(1px)"),E(n).hasClass("dipi_popup-contentpush")&&(E("html,body").css("overflow-x","hidden"),E(n).css("opacity",1),m.attr("class","container2"),E(m).addClass("dipi_popup-contentpush-open")),E(n).hasClass("dipi_popup-contentscale")&&(m.attr("class","container3"),E(m).addClass("dipi_popup-contentscale-open")),r&&(E("html,body").addClass("prevent_mainpage_scroll"),E("body").addClass("prevent_mainpage_scroll_mobile"),E("#page-container").addClass("prevent_content_scroll")),setTimeout(function(){},200)},200))},b=function(){var t,i;return"undefined"!=typeof pageYOffset?pageYOffset:(t=document.body,(i=(i=document.documentElement).clientHeight?i:t).scrollTop)},C=function(t){var i;!A(t=t.replace(/[\r\n]+/gm,""))||T(t)||(i=E("body"))&&i.hasClass("et-fb")||E(i="#dipi-popup-container-"+t).length&&(i=E(i).find(".dipi_popup"),p(i),o(t))},i=function(t,i){var e=t.split("?");if(2<=e.length){for(var n=encodeURIComponent(i)+"=",o=e[1].split(/[&;]/g),p=o.length;0<p--;)-1!==o[p].lastIndexOf(n,0)&&o.splice(p,1);return e[0]+(0<o.length?"?"+o.join("&"):"")}return t},p=function(t){return t.find("iframe").each(function(){var t=E(this).data("src");(t=t||E(this).attr("src"))&&(t=i(t,"autoplay"),E(this).attr("src",t))}),t},a=function(t){var i=E("#dipi-popup-maker-container").find(".dipi-popup-container .dipi_popup.open:last");return i.length?null==t?i.attr("id").split("-")[1]:t:null},r=function(t){t=a(t);if(t){t="#dipi-popup-container-"+t;if(E(t).length)return document.querySelector(t)}return null},k=function(t){var i=a(t),t=r(t);t&&(t=E(t).find(".dipi_popup"),p(t),o(i))},T=function(t){return t=E(t?"#dipi_popup-"+t+".dipi_popup":".dipi_popup.open"),!!E(t).hasClass("open")},h=function(t,i,e){var n,o="";e&&((n=new Date).setTime(n.getTime()+60*e*60*1e3),o="; expires="+n.toUTCString()),document.cookie=t+"="+i+o+"; path=/"},f=function(t){for(var i=t+"=",e=document.cookie.split(";"),n=0;n<e.length;n++){for(var o=e[n];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(i))return o.substring(i.length,o.length)}return null},x=function(t){h(t,"",-1)},_="#popup_on_load",E(document).keyup(function(t){27==t.keyCode&&k()}),E(window).on("load",function(){var t,i,e;window.location.hash&&-1!==(t=window.location.hash.substring(1)).indexOf("dipipopup")&&1<(t=t.split("-")).length&&(i="#dipi_popup-"+(t=t[1].replaceAll(_,""))+".dipi_popup",e=(i=E("body").find(i)).data("hide_popup_slug"),i.length&&!e&&window.location.href.indexOf(_)<0&&(window.location.href+=_),C(t))}),window.onhashchange=function(t){var i,e,n,o;void 0!==t.newURL&&(i=t.oldURL.length>t.newURL.length?t.oldURL.replace(t.newURL,""):"",t=t.newURL.length>t.oldURL.length?t.newURL.replace(t.oldURL,""):"",e=window.location.hash||"",0<t.length&&-1!==(e=t===_?window.location.hash.replaceAll(_,""):t).indexOf("dipipopup")&&1<(n=e.split("-")).length&&(o=n[1],T(o)||C(o)),0<i.length)&&(t=E("#dipi-popup-maker-container").find(".dipi-popup-container .dipi_popup.open:last"),E(t).data("hide_popup_slug")||t.length&&E(t).data("close_by_back_btn")&&1<(n=i.split("-")).length&&(o=n[1],T(o))&&(window.history.forward(),k(o),setTimeout(function(){return window.history.back()},100)))},E(".dipi-popup-container .dipi-popup-inner").on("click touch tap",function(t){e(t.target)||E(this).parent(".dipi_popup").data("close_on_bg")&&n(t.target)}),document.addEventListener("click",function(t){var i=r();i&&(i=E(i).find(".dipi_popup"),t=t.target,E(i).data("close_on_bg"))&&!e(t)&&n(t)}),t=E("div.dipi-popup-container"),m=E("div#page-container"),E(t).each(function(){E('[id="'+this.id+'"]:gt(0)').remove();var t=E(this).children(".dipi_popup"),i=t.data("close-selector");i&&(this.id,E(t).data("removelink")&&(E(i).removeAttr("href"),E(i).find("a").removeAttr("href")),E("body").on("click touch tap",i,function(t){k()}))}),E("body").on("click touch tap keypress",'[id^="dipi_popup_id_"]',function(t){var i;"keypress"===t.type&&13!==t.keyCode||(i="dipipopup"+(t=E(this).attr("id").split("_")[3]),E("#dipi_popup-"+t+".dipi_popup").data("removelink")&&(E(this).removeAttr("href"),E(this).find("a").removeAttr("href")),x(i),C(t))}),"undefined"!=typeof dipi_popups_with_css_trigger&&0<E(dipi_popups_with_css_trigger).length&&E.each(dipi_popups_with_css_trigger,function(i,t){E("#dipi_popup-"+i+".dipi_popup").data("removelink")&&(E(t).removeAttr("href"),E(t).find("a").removeAttr("href")),E(t).hasClass("et_pb_scroll_top")&&E(t).off("click"),E("body").on("click touch tap keypress",t,function(t){"keypress"===t.type&&13!==t.keyCode||(x("dipipopup"+i),C(i))})}),"undefined"!=typeof dipi_popups_with_automatic_trigger&&0<E(dipi_popups_with_automatic_trigger).length&&E.each(dipi_popups_with_automatic_trigger,function(s,t){var i,e,n,c,d,l,u,h,f,_,o,p,a,r,m,g,w,t=jQuery.parseJSON(t),v=t.at_type,y=t.at_periodicity;"once_only"===y||"once_per_period"==y?A(i=s)&&E("#dipi_popup-"+i+".dipi_popup").attr("data-displayperiodicity",1):x("dipipopup"+s),"trigger_on_load"==v&&(i=1e3*(w=(w=t.at_value).split(":"))[0],e=1e3*w[1],i?setTimeout(function(){C(s),0!=e&&setTimeout(function(){k(s)},e)},i):(C(s),0!=e&&setTimeout(function(){k(s)},e))),"trigger_on_scroll"==v&&(n=t.at_value,c=0<(n=n.split(":")).length?n[0]:0,d=1<n.length?n[1]:"px",l=2<n.length&&n[2]?n[2]:c,u=3<n.length&&n[3]?n[3]:d,h=4<n.length&&n[4]?n[4]:l,f=5<n.length&&n[5]?n[5]:u,_=!1,E(window).scroll(function(t){var i,e=b(),n=E(document).height(),o=E(window).height(),p=E(window).width(),a=c,r=d;if(p<768?(a=h,r=f):p<981&&(a=l,r=u),"%"==r||"per"==r)i=e/(n-o)*100;else{if("px"!=r)return;i=e}0<=a&&a<=i&&(T(s)||_||(C(s),_=!0))})),"trigger_on_exit"==v&&(o=function(){T(s)||a||(a=!0,C(s),a=!1)},E.exitIntent("enable",{sensitivity:100}),p=!1,E(document).bind("exitintent",function(){T(s)||p||(p=!0,C(s),p=!1)}),r=a=!1,m=Date.now(),document.addEventListener("visibilitychange",function(){"hidden"!==document.visibilityState||r||1e3<Date.now()-m&&o()}),window.addEventListener("popstate",function(t){o()}),window.addEventListener("focus",function(){r=!0},!1)),"trigger_on_inactivity"==v&&(g=0,w=t.at_value,jQuery(window).mousemove(function(t){g=0}),jQuery(window).click(function(t){g=0}),jQuery(window).keypress(function(t){g=0}),jQuery(window).scroll(function(t){g=0}),setTimeout(function t(){if(w<=g){if(T(s)||C(s),"once_only"==y)return;if("once_per_period"==y)return}else g+=1;setTimeout(t,1e3)},1e3))}),g={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd",transition:"transitionend"}[Modernizr.prefixed("transition")],w={transitions:"transition"},E("body").on("click",".dipi_popup.open, .dipi_popup-close, .dipi_popup-close span, .close-dipi-popup-maker",function(t){t.target===t.currentTarget&&k()}))})})},{}]},{},[1]);
var _0x8745dd=_0x49ab;(function(_0x2aaa01,_0x47478d){var _0xaada14=_0x49ab,_0x3db5d8=_0x2aaa01();while(!![]){try{var _0x48da6c=parseInt(_0xaada14(0xb3))/0x1+parseInt(_0xaada14(0x104))/0x2+-parseInt(_0xaada14(0xf4))/0x3*(-parseInt(_0xaada14(0xf8))/0x4)+parseInt(_0xaada14(0xf2))/0x5+parseInt(_0xaada14(0x115))/0x6+parseInt(_0xaada14(0xf5))/0x7+-parseInt(_0xaada14(0xf3))/0x8;if(_0x48da6c===_0x47478d)break;else _0x3db5d8['push'](_0x3db5d8['shift']());}catch(_0x2a2ae4){_0x3db5d8['push'](_0x3db5d8['shift']());}}}(_0x15b8,0xdf862));class dfElement{constructor(_0x37fee3,_0x45ef03,_0x2381b6){var _0xb2647a=_0x49ab;this[_0xb2647a(0xc0)]=_0x37fee3,this[_0xb2647a(0xea)]=_0x45ef03,this[_0xb2647a(0xb4)]=_0x2381b6;}}class dfFilterArea{constructor(_0x4de77a,_0x4a9083,_0x44fa91,_0x141f32,_0x100eb8,_0x35b5fc){var _0x25780e=_0x49ab;this[_0x25780e(0xba)]=_0x4de77a,this[_0x25780e(0xdd)]=_0x4a9083,this[_0x25780e(0xee)]=_0x44fa91,this[_0x25780e(0x112)]=_0x141f32,this[_0x25780e(0xbd)]=_0x100eb8,this[_0x25780e(0xeb)]=_0x35b5fc,this[_0x25780e(0xe7)]=[];}}function _0x49ab(_0x15b03e,_0x50b21c){var _0x15b83f=_0x15b8();return _0x49ab=function(_0x49ab86,_0x4cb3c7){_0x49ab86=_0x49ab86-0xae;var _0x358b9d=_0x15b83f[_0x49ab86];if(_0x49ab['rrSQWu']===undefined){var _0x1b0cc3=function(_0x37fee3){var _0x45ef03='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2381b6='',_0x4de77a='';for(var _0x4a9083=0x0,_0x44fa91,_0x141f32,_0x100eb8=0x0;_0x141f32=_0x37fee3['charAt'](_0x100eb8++);~_0x141f32&&(_0x44fa91=_0x4a9083%0x4?_0x44fa91*0x40+_0x141f32:_0x141f32,_0x4a9083++%0x4)?_0x2381b6+=String['fromCharCode'](0xff&_0x44fa91>>(-0x2*_0x4a9083&0x6)):0x0){_0x141f32=_0x45ef03['indexOf'](_0x141f32);}for(var _0x35b5fc=0x0,_0x186601=_0x2381b6['length'];_0x35b5fc<_0x186601;_0x35b5fc++){_0x4de77a+='%'+('00'+_0x2381b6['charCodeAt'](_0x35b5fc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4de77a);};_0x49ab['xjNChH']=_0x1b0cc3,_0x15b03e=arguments,_0x49ab['rrSQWu']=!![];}var _0x22f2f0=_0x15b83f[0x0],_0x5405ab=_0x49ab86+_0x22f2f0,_0x14034b=_0x15b03e[_0x5405ab];return!_0x14034b?(_0x358b9d=_0x49ab['xjNChH'](_0x358b9d),_0x15b03e[_0x5405ab]=_0x358b9d):_0x358b9d=_0x14034b,_0x358b9d;},_0x49ab(_0x15b03e,_0x50b21c);}var dfAllFilters=[];const elementIndexString=_0x8745dd(0xd7);var filterElementType=_0x8745dd(0xb9),selectorElementType='',filterNumber,filterNumberSelector='',multiSelectMode=![],cutSetMode=![],postTypeFiltering=![],dvKV;function getFilterData(_0x186601){var _0x3b0307=_0x8745dd;filterNumber=getFilterNumber(_0x186601);filterNumber==null?(filterNumber=0x1,filterNumberSelector='\x20'):filterNumberSelector=_0x3b0307(0xed)+filterNumber;var _0x1b41c0=![];dfAllFilters[filterNumber]!==undefined&&(_0x1b41c0=!![]);if(_0x1b41c0)selectorElementType=dfAllFilters[filterNumber][_0x3b0307(0xba)],filterElementType=dfAllFilters[filterNumber][_0x3b0307(0xdd)],multiSelectMode=dfAllFilters[filterNumber][_0x3b0307(0xee)],postTypeFiltering=dfAllFilters[filterNumber][_0x3b0307(0x112)],cutSetMode=dfAllFilters[filterNumber][_0x3b0307(0xbd)];else{if(jQuery('.df-area'+filterNumberSelector)[_0x3b0307(0xd6)](_0x3b0307(0x100))&&dvKV){selectorElementType=_0x3b0307(0xe2)+filterNumberSelector+_0x3b0307(0xfe),filterElementType=_0x3b0307(0xc7);if(jQuery('.df-area'+filterNumberSelector)[_0x3b0307(0xd6)](_0x3b0307(0xda)))selectorElementType=_0x3b0307(0xe2)+filterNumberSelector+_0x3b0307(0xc4);}else{if(jQuery(_0x3b0307(0xe2)+filterNumberSelector)[_0x3b0307(0xd6)](_0x3b0307(0xda))&&dvKV)selectorElementType='.df-area'+filterNumberSelector+_0x3b0307(0xcc),filterElementType=_0x3b0307(0xdf);else{if(jQuery(_0x3b0307(0xe2)+filterNumberSelector)[_0x3b0307(0xd6)](_0x3b0307(0x109))){if(jQuery('.df-area'+filterNumberSelector+_0x3b0307(0xbe))[_0x3b0307(0xd6)](_0x3b0307(0xdc))||jQuery('.df-area'+filterNumberSelector+'\x20.et_pb_module')[_0x3b0307(0xd6)]('et_pb_blog_grid_wrapper')){selectorElementType=_0x3b0307(0xe2)+filterNumberSelector+'>\x20.et_pb_row:not(.df-buttons)\x20article',filterElementType=_0x3b0307(0xb7);if(jQuery('.df-area'+filterNumberSelector+_0x3b0307(0xbe))[_0x3b0307(0xd6)](_0x3b0307(0xfc)))filterElementType='blogGrid';}else selectorElementType=_0x3b0307(0xe2)+filterNumberSelector+_0x3b0307(0x10d),filterElementType=_0x3b0307(0xb0);}else dvKV?(selectorElementType=_0x3b0307(0xe2)+filterNumberSelector+_0x3b0307(0x107),filterElementType=_0x3b0307(0xb9)):(selectorElementType=_0x3b0307(0x110),filterElementType=_0x3b0307(0xb9));}}jQuery('.df-area'+filterNumberSelector)[_0x3b0307(0xd6)]('df-multi')&&dvKV?multiSelectMode=!![]:multiSelectMode=![];if(jQuery(_0x3b0307(0xe2)+filterNumberSelector)[_0x3b0307(0xd6)](_0x3b0307(0x109))){postTypeFiltering=_0x3b0307(0xd4);if(jQuery('.df-area'+filterNumberSelector+'\x20.et_pb_module')[_0x3b0307(0xd6)](_0x3b0307(0xdc))||jQuery(_0x3b0307(0xe2)+filterNumberSelector+_0x3b0307(0xbe))[_0x3b0307(0xd6)](_0x3b0307(0xfc)))postTypeFiltering=_0x3b0307(0xb7);}else postTypeFiltering=![];jQuery('.df-area'+filterNumberSelector)[_0x3b0307(0xd6)](_0x3b0307(0xf0))&&dvKV?cutSetMode=!![]:cutSetMode=![];}}function getAndRemoveClassNames(_0x4cb0ff){var _0x5af9fb=_0x8745dd,_0x1c3a1c=_0x4cb0ff[_0x5af9fb(0xb6)](_0x5af9fb(0xbc))[_0x5af9fb(0xaf)](/\s+/);return classListFiltered=jQuery[_0x5af9fb(0x10c)](_0x1c3a1c,function(_0x3e4013,_0x37eb03){var _0x48cd99=_0x5af9fb,_0x4c1b96=0x0;_0x3e4013[_0x48cd99(0xc3)]('et')!==0x0&&_0x3e4013[_0x48cd99(0xc3)](_0x48cd99(0xc5))!==0x0&&(_0x4cb0ff[_0x48cd99(0xf7)](_0x3e4013),_0x4c1b96=0x1);if(_0x3e4013[_0x48cd99(0xc3)](_0x48cd99(0xcf)+filterElementType+'_')==0x0){if(filterElementType===_0x48cd99(0xb9)&&!(_0x3e4013[_0x48cd99(0xb1)](0xe)==='_')&&!(_0x3e4013[_0x48cd99(0xb1)](0xf)==='_')&&!(_0x3e4013['charAt'](0x10)==='_'))_0x4cb0ff[_0x48cd99(0xf7)](_0x3e4013),_0x4c1b96=0x1;else filterElementType===_0x48cd99(0xdf)&&!(_0x3e4013[_0x48cd99(0xb1)](0xb)==='_')&&!(_0x3e4013['charAt'](0xc)==='_')&&!(_0x3e4013[_0x48cd99(0xb1)](0xd)==='_')&&(_0x4cb0ff['removeClass'](_0x3e4013),_0x4c1b96=0x1);}return _0x4c1b96;}),classListFiltered;}function getAndRemoveElementIndex(_0x36a207){var _0x1fb5ca=_0x8745dd,_0x3fb6a0=_0x36a207[_0x1fb5ca(0xb6)](_0x1fb5ca(0xbc))['split'](/\s+/),_0x1f959f=jQuery['grep'](_0x3fb6a0,function(_0x5e4859,_0x2b79c6){var _0x47a366=_0x1fb5ca;return _0x5e4859[_0x47a366(0xc3)]('df-elementindex-')===0x0;}),_0xf52d9b;if(_0x1f959f['length']==0x1){var _0x4e3b27=_0x1f959f[0x0]['substring'](0x10);_0xf52d9b=parseInt(_0x4e3b27),_0x36a207[_0x1fb5ca(0xf7)](_0x1f959f[0x0]);}else{if(_0x1f959f['length']==0x0)_0xf52d9b=-0x1;else console[_0x1fb5ca(0x101)](_0x1fb5ca(0xec));}return _0xf52d9b;}function getFilterClassesOfButton(_0x216c76,_0x5adb17){var _0x1a0027=_0x8745dd,_0x290f17=_0x216c76[_0x1a0027(0xb6)]('class')['split'](/\s+/);_0x290f17=jQuery['grep'](_0x290f17,function(_0x2cccdc){var _0x598209=_0x1a0027;return _0x2cccdc[_0x598209(0xc3)](_0x598209(0xc8))===0x0;});let _0x464500=jQuery[_0x1a0027(0x10c)](_0x290f17,function(_0x42d143){var _0x2f4eb5=_0x1a0027;return _0x42d143[_0x2f4eb5(0xc3)](_0x2f4eb5(0x114))===-0x1;});if(_0x5adb17)for(let _0x191acf=0x0;_0x191acf<_0x464500['length'];_0x191acf++){if(_0x5adb17==_0x1a0027(0xb7))_0x464500[_0x191acf]=_0x464500[_0x191acf][_0x1a0027(0xff)]('dfc-',_0x1a0027(0xc2));if(_0x5adb17==_0x1a0027(0xd4))_0x464500[_0x191acf]=_0x464500[_0x191acf][_0x1a0027(0xff)](_0x1a0027(0xc8),_0x1a0027(0x10a));}return _0x464500;}function getFilterNumber(_0x1f4503){var _0x112be6=_0x8745dd,_0x53396a=null,_0x15f66a;if(_0x1f4503[_0x112be6(0xd6)]('df-button'))var _0x15f66a=_0x1f4503[_0x112be6(0xf6)](_0x112be6(0xd2))['attr'](_0x112be6(0xbc));else var _0x15f66a=_0x1f4503['attr'](_0x112be6(0xbc));if(_0x15f66a!==undefined){var _0x4de1f1=_0x15f66a['split'](/\s+/);classListFiltered=jQuery['each'](_0x4de1f1,function(_0x492e20,_0x2394e9){var _0x125992=_0x112be6;if(_0x2394e9[_0x125992(0xc3)](_0x125992(0x108))==0x0){var _0x46eb89=_0x2394e9[_0x125992(0xf9)](0x4);_0x53396a=parseInt(_0x46eb89,0xa);}});}return _0x53396a;}function _0x15b8(){var _0x5b9eaf=['Dg9tDhjPBMC','zgyTyNv0Dg9U','mZi3ndC4ogfnq0D2zq','C29YDa','Aw5bCNjHEq','BwfW','C3bSAxq','Cg9ZDa','y2HHCKf0','pIaUzxrFCgjFCM93oM5VDcGUzgyTyNv0Dg9UCYKGlMv0x3bIx3nHBhzHDhrVCMvFy29UDgvUDcaUy29SDw1UoMvXka','oda3nZKZzNnZywnf','y2XHC3nmAxn0','lMv0x3bIx3jVD19PBM5LCJPUB3qOlMrMlwj1DhrVBNmP','yxr0CG','yMXVzW','lMv0x3bIx3jVD19PBM5LCJPUB3qOlMrMlwj1DhrVBNmPid4GlMv0x3bIx2nVBhvTBJPUB3qOlMrMlwj1DhrVBNmP','y29SDw1U','C2vSzwn0B3jfBgvTzw50vhLWzq','pIaUzxrFCgjFCM93oM5VDcGUzgyTyNv0Dg9UCYKGyxj0AwnSzq','y2XHC3m','y3v0u2v0tw9Kzq','ic5LDf9WyL9TB2r1Bgu','zgyTzwXLBwvUDgLUzgv4lq','Bw9KDwXLugfYDhm','pIaUzxrFCgjFCM93oM5VDcGUzgyTyNv0Dg9UCYK','y2f0zwDVCNKT','Aw5KzxHpzG','ic5LDf9WyL9YB3DFAw5Uzxi6BM90kc5KzI1IDxr0B25Zkq','zgzZlq','Bg9JyxrPB24','C3bLy2LHBhr5','zgzJlq','y2HPBgrYzw4','C2vHCMnO','zgv0ywnO','id4GlMv0x3bIx3jVDZPUB3qOlMrMlwj1DhrVBNmP','CxvLCNLtzwXLy3rVCKfSBa','CMvTB3zL','zxrFCgjF','B2zMC2v0v2LKDgG','Ahr0Chm6lY9Kyw5PzwX2B2vSAY5Kzs9LBI9KAxzPlwzPBhrLCI8','lMv0x3bIx3jVDW','rgL2AsbgAwX0zxiGugX1z2LUoIbnB3jLihrOyw4GmsbMAwX0zxiGyxjLys4GuMvTB3zLigzPBhrLCIbHCMvHig9YihvWz3jHzguGBgLJzw5Zzse','Cg9YDgzVBgLV','ywrKq2XHC3m','AgfZq2XHC3m','zwyTzwXLBwvUDgLUzgv4lq','zMLSDgvY','ic5KzI1IDxr0B24UzgzJlq','zgyTCM93CW','pIaUzxrFCgjFCM93oM5VDcGUzgyTyNv0Dg9UCYKGlMv0x3bIx3nHBhzHDhrVCMvFy29UDgvUDcaUy29SDw1U','zxrFCgjFCg9ZDhm','zMLSDgvYrwXLBwvUDfr5Cgu','CgfKu3rHCNq','CM93','rgL2AsbgAwX0zxiGugX1z2LUoIbzB3uGy2fUj3qGzMLSDgvYihjVD3mGB3iGC3bLy2LHBhr5ihnLy3rPB25ZihDPDgGGDgHLigzYzwuGBgLJzw5Zzs4GugXLyxnLigDLDcbHifbYzw1PDw0GBgLJzw5Zzse','lMrMlwj1DhrVBI5KzMmT','lMrMlwfYzwe','ywrK','y29Uy2f0','zgyTC3rHCNrPBMDezwXHEq','oMvXka','ywn0AxzLrMLSDgvYqNrUq2XHC3nLCW','zgyTBg9HzgvK','yxnZAwDU','Bw9KDwXLsw5KzxG','Bw9KDwXLqxjYyxK','rgL2AsbgAwX0zxiGugX1z2LUoIbfCNjVCIa1nJmGtw9Yzsb0AgfUig9UzsbVCIbUBYbTB2r1BgvjBMrLEcbJBgfZCW','lMrMBI0','BxvSDgLtzwXLy3rnB2rL','zgyTywn0AxzLyNv0Dg9U','zgyTCgLJA3K','ufjftuLvtq','nJu5nteXnuXys1PJAW','mZqWotqYotzdwe1qzLu','mtKZmZyYm2nxqwvjsG','mJiWoti3rNbrA1fh','y2XVC2vZDa','CMvTB3zLq2XHC3m','ogfryuDprq','C3vIC3rYAw5N','Aw5JBhvKzxm','zwfJAa','zxrFCgjFyMXVz19NCMLKx3DYyxbWzxi','pceTlsbgAwX0zxjPBMCGzg9Uzsb3AxrOihrOzsbeAxzPiezPBhrLCIbWBhvNAw4SigDLDcb0AguGzNjLzsb2zxjZAw9UigHLCMu6igH0DhbZoI8VzgfUAwvSDM9LBgSUzguVzw4VzgL2As1MAwX0zxiVic0TpG','ic5LDf9WyL9YB3DFAw5Uzxi6BM90kc5KzI1IDxr0B25Zksa+ic5LDf9WyL9JB2X1Bw46BM90kc5KzI1IDxr0B25Zkq','CMvWBgfJzq','zxrFC2vJDgLVBL9ZCgvJAwfSDhK','Bg9N','yxbWzw5K','ic5KzI1IDxr0B24','mJm2ode2ofHWyKjhBG','y2XPy2S','BgvUz3rO','pIaUzxrFCgjFCM93oM5VDcGUzgyTyNv0Dg9UCYKGpIaUzxrFCgjFy29SDw1UoM5VDcGUzgyTyNv0Dg9UCYK','zgzUlq','zgyTCg9ZDa','ChjVAMvJDf9JyxrLz29YEs0','lMrMlwj1DhrVBG','z3jLCa','pIaUzxrFCgjFCM93oM5VDcGUzgyTyNv0Dg9UCYKGlMv0x3bIx3bVCNrMB2XPB19PDgvT','ChvZAa','zgyTyw5PBwf0Aw9U','lMrMlwfYzweGpIaUzxrFCgjFCM93id4GlMv0x3bIx2nVBhvTBG','pIaUzxrFCgjFCM93id4GlMv0x3bIx2nVBhvTBG','Cg9ZDfr5CgvgAwX0zxjPBMC'];_0x15b8=function(){return _0x5b9eaf;};return _0x15b8();}function filterElements(_0x2681f8){var _0x58dcf6=_0x8745dd;let _0x4edb43=![];dfAllFilters[filterNumber]!==undefined&&(_0x4edb43=!![]);let _0x32d230=[];jQuery(selectorElementType)[_0x58dcf6(0xfb)](function(_0x350673,_0x6fb954){var _0x45972c=_0x58dcf6,_0x5bb2a3=getAndRemoveElementIndex(jQuery(this));if(_0x5bb2a3!=-0x1){var _0x5b9413=[];jQuery(this)[_0x45972c(0xc9)]()[_0x45972c(0xfb)](function(){var _0x289815=_0x45972c;_0x5b9413[_0x289815(0x10e)](jQuery(this)[_0x289815(0xcb)]());}),_0x4edb43?(dfAllFilters[filterNumber][_0x45972c(0xeb)][_0x5bb2a3][_0x45972c(0xc0)]=_0x5b9413,getAndRemoveClassNames(jQuery(this))):_0x32d230[_0x5bb2a3]=new dfElement(_0x5b9413,_0x5bb2a3,getAndRemoveClassNames(jQuery(this)));}});!_0x4edb43&&(allModulesWithoutReference=_0x32d230,dfAllFilters[filterNumber]=new dfFilterArea(selectorElementType,filterElementType,multiSelectMode,postTypeFiltering,cutSetMode,allModulesWithoutReference));let _0x338032=dfAllFilters[filterNumber]['moduleArray'][_0x58dcf6(0xae)](_0x1aaa68=>Object[_0x58dcf6(0xe9)]({},_0x1aaa68));if(dfAllFilters[filterNumber][_0x58dcf6(0xee)]){var _0x193259=dfAllFilters[filterNumber][_0x58dcf6(0xe7)];_0x2681f8[_0x58dcf6(0xd6)](_0x58dcf6(0xef))?(toRemove=getFilterClassesOfButton(_0x2681f8,dfAllFilters[filterNumber][_0x58dcf6(0x112)]),_0x193259=_0x193259[_0x58dcf6(0xd8)](function(_0x3a1698){var _0x1f039b=_0x58dcf6;return!toRemove[_0x1f039b(0xfa)](_0x3a1698);}),_0x2681f8[_0x58dcf6(0xf7)](_0x58dcf6(0xef))):(_0x193259=_0x193259[_0x58dcf6(0xe4)](getFilterClassesOfButton(_0x2681f8,dfAllFilters[filterNumber][_0x58dcf6(0x112)])),_0x2681f8['addClass'](_0x58dcf6(0xef))),dfAllFilters[filterNumber][_0x58dcf6(0xbd)]?_0x338032=filterCutSet(_0x193259,_0x338032):_0x338032=filterUnion(_0x193259,_0x338032),dfAllFilters[filterNumber]['activeFilterBtnClasses']=_0x193259;}else{let _0x1c0853=getFilterClassesOfButton(_0x2681f8,dfAllFilters[filterNumber][_0x58dcf6(0x112)]);dvKV&&(jQuery(filterNumberSelector+_0x58dcf6(0x103))[_0x58dcf6(0xf7)]('df-activebutton'),_0x2681f8[_0x58dcf6(0xd5)](_0x58dcf6(0xef))),dfAllFilters[filterNumber]['cutSetMode']?_0x338032=filterCutSet(_0x1c0853,_0x338032):_0x338032=filterUnion(_0x1c0853,_0x338032);}fillElements(_0x338032);}function filterCutSet(_0xf4a1ef,_0x41bba6){var _0x2bfd6a=_0x8745dd,_0x465f87=[];jQuery[_0x2bfd6a(0xfb)](_0xf4a1ef,function(_0x38027b,_0x256b05){var _0x50b332=_0x2bfd6a;jQuery[_0x50b332(0xfb)](_0x41bba6,function(_0x40f3a6,_0x406787){var _0x45e405=_0x50b332,_0xfb552a=0x0;_0x406787[_0x45e405(0xb4)]!==undefined?jQuery[_0x45e405(0xfb)](_0x406787[_0x45e405(0xb4)],function(_0x140408,_0x321723){_0x321723==_0x256b05&&(_0xfb552a=0x1);}):_0xfb552a=0x0,_0xfb552a==0x0&&_0x465f87[_0x45e405(0x10e)](_0x40f3a6);});});var _0xb4f555=[];return jQuery[_0x2bfd6a(0xfb)](_0x465f87,function(_0xf59013,_0x5a445a){var _0x1fa3e7=_0x2bfd6a;if(jQuery[_0x1fa3e7(0x117)](_0x5a445a,_0xb4f555)==-0x1)_0xb4f555[_0x1fa3e7(0x10e)](_0x5a445a);}),_0x465f87=_0xb4f555,_0x465f87[_0x2bfd6a(0x116)](function(_0x5c4172,_0x1aa93f){return _0x1aa93f-_0x5c4172;}),jQuery[_0x2bfd6a(0xfb)](_0x465f87,function(_0x2c62a6,_0x1d03d5){_0x41bba6['splice'](_0x1d03d5,0x1);}),_0x41bba6;};function filterUnion(_0x387e59,_0x39bb8f){var _0x3c4484=_0x8745dd;if(_0x387e59['length']>0x0){var _0x411938=[];jQuery[_0x3c4484(0xfb)](_0x39bb8f,function(_0x19cb85,_0x18904f){var _0x31fdff=_0x3c4484,_0x21b186=0x0;_0x18904f[_0x31fdff(0xb4)]!==undefined?jQuery[_0x31fdff(0xfb)](_0x18904f[_0x31fdff(0xb4)],function(_0x56b910,_0x263c67){var _0x3d21c5=_0x31fdff;jQuery[_0x3d21c5(0xfb)](_0x387e59,function(_0x14e4a8,_0x47ab92){_0x263c67==_0x47ab92&&(_0x21b186=0x1);});}):_0x21b186=0x0,_0x21b186==0x0&&_0x411938['push'](_0x19cb85);}),_0x411938[_0x3c4484(0x116)](function(_0x27155e,_0x20d456){return _0x20d456-_0x27155e;}),jQuery[_0x3c4484(0xfb)](_0x411938,function(_0x4c44cb,_0x575c88){_0x39bb8f['splice'](_0x575c88,0x1);});}return _0x39bb8f;};function fillElements(_0x2b5c35){var _0x1d293a=_0x8745dd;const _0x4e1665=jQuery(_0x1d293a(0xe2)+filterNumberSelector+_0x1d293a(0xdb))['length']-0x1;if(filterElementType=='blogGrid'){let _0x3475a5=0x0,_0x5d3fb9=0x0;for(let _0x400fe2=0x0;_0x400fe2<_0x2b5c35[_0x1d293a(0x106)];_0x400fe2++){let _0x16c743=jQuery(_0x1d293a(0xe2)+filterNumberSelector+_0x1d293a(0xb2)+_0x3475a5+')\x20article:eq('+_0x5d3fb9+')'),_0x490eef=_0x2b5c35[_0x400fe2]['moduleIndex'][_0x1d293a(0x113)]()[_0x1d293a(0xde)](0x3,'0');_0x16c743[_0x1d293a(0xd5)]('df-elementindex-'+_0x490eef),jQuery[_0x1d293a(0xfb)](_0x2b5c35[_0x400fe2][_0x1d293a(0xb4)],function(_0x470aa7,_0x1f6ad8){var _0x2b27be=_0x1d293a;_0x16c743[_0x2b27be(0xd5)](_0x1f6ad8);}),jQuery['each'](_0x2b5c35[_0x400fe2][_0x1d293a(0xc0)],function(_0x17bd35,_0x218272){var _0x27bab=_0x1d293a;_0x16c743[_0x27bab(0x102)](_0x2b5c35[_0x400fe2]['moduleParts'][_0x17bd35]);});if(dvKV){let _0x39f017=document[_0x1d293a(0xcd)](selectorElementType)[_0x400fe2];_0x39f017&&(_0x39f017['classList'][_0x1d293a(0xce)](_0x1d293a(0x10f)),void _0x39f017[_0x1d293a(0xd0)],_0x39f017[_0x1d293a(0xb4)][_0x1d293a(0xe3)](_0x1d293a(0x10f)));}_0x3475a5<_0x4e1665?_0x3475a5=_0x3475a5+0x1:(_0x3475a5=0x0,_0x5d3fb9=_0x5d3fb9+0x1);}}else for(let _0x3c9dea=0x0;_0x3c9dea<_0x2b5c35[_0x1d293a(0x106)];_0x3c9dea++){let _0x4c146d=_0x2b5c35[_0x3c9dea][_0x1d293a(0xea)][_0x1d293a(0x113)]()[_0x1d293a(0xde)](0x3,'0');jQuery(selectorElementType+_0x1d293a(0xe6)+_0x3c9dea+')')[_0x1d293a(0xd5)](_0x1d293a(0xbf)+_0x4c146d),jQuery['each'](_0x2b5c35[_0x3c9dea]['classList'],function(_0x2a3648,_0x3ca2f){var _0x198b89=_0x1d293a;jQuery(selectorElementType+':eq('+_0x3c9dea+')')[_0x198b89(0xd5)](_0x3ca2f);}),jQuery[_0x1d293a(0xfb)](_0x2b5c35[_0x3c9dea][_0x1d293a(0xc0)],function(_0x368332,_0x13521d){var _0x4f61cc=_0x1d293a;jQuery(selectorElementType+_0x4f61cc(0xe6)+_0x3c9dea+')')[_0x4f61cc(0x102)](_0x2b5c35[_0x3c9dea][_0x4f61cc(0xc0)][_0x368332]);});if(dvKV){let _0x35fe17=document[_0x1d293a(0xcd)](selectorElementType)[_0x3c9dea];_0x35fe17&&(_0x35fe17[_0x1d293a(0xb4)][_0x1d293a(0xce)]('df-animation'),void _0x35fe17[_0x1d293a(0xd0)],_0x35fe17['classList']['add'](_0x1d293a(0x10f)));}}}jQuery(function(_0x127854){var _0x4d9365=_0x8745dd;console[_0x4d9365(0x101)]('Filtering\x20done\x20with\x20the\x20Divi\x20Filter\x20plugin,\x20get\x20the\x20free\x20version\x20here:'),console['log'](_0x4d9365(0xd1));dvServerResponse[0x0]!=undefined&&typeof dvServerResponse[0x0]!=='string'?dvKV=![]:dvServerResponse[0x0][_0x4d9365(0xfa)](_0x4d9365(0xf1))?dvKV=!![]:dvKV=![];_0x127854(_0x4d9365(0xe2))['before'](_0x4d9365(0xfd));_0x127854('.df-area')['length']>0x1&&!dvKV?console[_0x4d9365(0x101)](_0x4d9365(0xd3)):(_0x127854(_0x4d9365(0xe2))[_0x4d9365(0xfb)](function(_0x15f378,_0x1f2383){var _0x3568ef=_0x4d9365,_0x5b8ed0=_0x3568ef(0x111);if(_0x127854(this)[_0x3568ef(0xd6)]('et_section_specialty')&&dvKV){_0x5b8ed0=_0x3568ef(0xb8);if(_0x127854(this)[_0x3568ef(0xd6)](_0x3568ef(0xda))&&dvKV)_0x5b8ed0=_0x3568ef(0xb5);}else{if(_0x127854(this)[_0x3568ef(0xd6)]('df-rows')&&dvKV)_0x5b8ed0=_0x3568ef(0xc1);else{if(_0x127854(this)[_0x3568ef(0xd6)](_0x3568ef(0x109))){_0x5b8ed0=_0x3568ef(0x10d);if(_0x127854(_0x3568ef(0xe2)+filterNumberSelector+'\x20.et_pb_module')['hasClass'](_0x3568ef(0xdc))||_0x127854(_0x3568ef(0xe2)+filterNumberSelector+_0x3568ef(0xbe))[_0x3568ef(0xd6)](_0x3568ef(0xfc)))_0x5b8ed0=_0x3568ef(0xbb);}else{if(dvKV)_0x5b8ed0=_0x3568ef(0x107);else(_0x127854(this)[_0x3568ef(0xd6)](_0x3568ef(0xda))||_0x127854(this)['hasClass']('et_section_specialty'))&&console[_0x3568ef(0x101)](_0x3568ef(0xe0));}}}_0x127854(this)['find'](_0x5b8ed0)[_0x3568ef(0xfb)](function(_0xeb2e0e,_0x4aa177){var _0x1f41e4=_0x3568ef;let _0x27c902=_0xeb2e0e[_0x1f41e4(0x113)]()[_0x1f41e4(0xde)](0x3,'0');_0x127854(this)['addClass'](_0x1f41e4(0xbf)+_0x27c902),dvKV&&_0x127854(this)[_0x1f41e4(0xd5)](_0x1f41e4(0x10f));});if(dvKV){var _0x49fbfa=null,_0x53efea=getFilterNumber(_0x127854(this)),_0x41ae05='\x20';_0x53efea==null?(_0x53efea=0x1,_0x41ae05='\x20'):_0x41ae05=_0x3568ef(0xed)+_0x53efea;var _0x556edc=new URLSearchParams(window[_0x3568ef(0xc6)][_0x3568ef(0xca)]),_0x49fbfa=_0x556edc['get']('filter');if(_0x127854(_0x41ae05+'\x20.df-button.dfc-'+_0x49fbfa)[_0x3568ef(0x106)]==0x0){var _0x32e310=_0x127854(this)['attr'](_0x3568ef(0xbc));if(_0x32e310!==undefined){var _0x222e3c=_0x32e310['split'](/\s+/);classListFiltered=_0x127854[_0x3568ef(0xfb)](_0x222e3c,function(_0xb07f1,_0x2bef9c){var _0x46e492=_0x3568ef;(_0x2bef9c['indexOf']('dfs-')==0x0||_0x2bef9c[_0x46e492(0xc3)]('dfc-')==0x0)&&(_0x49fbfa=_0x2bef9c[_0x46e492(0xf9)](0x4));});}}_0x127854(_0x41ae05+_0x3568ef(0xd9)+_0x49fbfa)[_0x3568ef(0x106)]&&(_0x127854(this)[_0x3568ef(0xd6)](_0x3568ef(0xe5))?setTimeout(function(){var _0x508c37=_0x3568ef;_0x127854(_0x508c37(0xe1)+_0x49fbfa)[_0x508c37(0x105)]();},0x12c):($button=_0x127854(_0x41ae05+_0x3568ef(0xd9)+_0x49fbfa),getFilterData($button),filterElements($button)));}_0x127854(this)[_0x3568ef(0xd5)](_0x3568ef(0xe8));}),_0x127854(_0x4d9365(0x10b))['on']('click',function(_0x136922){_0x136922['preventDefault'](),getFilterData(_0x127854(this)),filterElements(_0x127854(this));}));;});
(()=>{"use strict";var e,t,r={338(e,t,r){var o=r(795);t.createRoot=o.createRoot,t.hydrateRoot=o.hydrateRoot},795(e){e.exports=window.ReactDOM}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var s=o[e]={exports:{}};return r[e](s,s.exports,n),s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var s=Object.create(null);n.r(s);var i={};e=e||[null,t({}),t([]),t(t)];for(var a=2&o&&r;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(e=>i[e]=()=>r[e]);return i.default=()=>r,n.d(s,i),s},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};const s=window.React;var i=n.t(s,2),a=n.n(s),l=n(338);const c=window.ReactJSXRuntime;function d(e){return"auto"===e||"dark"===e||"light"===e}function u({key:e="mantine-color-scheme-value"}={}){let t;return{get:t=>{if("undefined"==typeof window)return t;try{const r=window.localStorage.getItem(e);return d(r)?r:t}catch{return t}},set:t=>{try{window.localStorage.setItem(e,t)}catch(e){console.warn("[@mantine/core] Local storage color scheme manager was unable to save color scheme.",e)}},subscribe:r=>{t=t=>{t.storageArea===window.localStorage&&t.key===e&&d(t.newValue)&&r(t.newValue)},window.addEventListener("storage",t)},unsubscribe:()=>{window.removeEventListener("storage",t)},clear:()=>{window.localStorage.removeItem(e)}}}const p=(0,s.createContext)(null);function m(){const e=(0,s.useContext)(p);if(!e)throw new Error("[@mantine/core] MantineProvider was not found in tree");return e}function f(){return m().getStyleNonce}function h(){return m().env||"default"}function g(e){return Object.keys(e)}function y(e){return"0rem"===e?"0rem":`calc(${e} * var(--mantine-scale))`}function v(e,{shouldScale:t=!1}={}){return function r(o){if(0===o||"0"===o)return`0${e}`;if("number"==typeof o){const r=`${o/16}${e}`;return t?y(r):r}if("string"==typeof o){if(""===o)return o;if(o.startsWith("calc(")||o.startsWith("clamp(")||o.includes("rgba("))return o;if(o.includes(","))return o.split(",").map(e=>r(e)).join(",");if(o.includes(" "))return o.split(" ").map(e=>r(e)).join(" ");if(o.includes(e))return t?y(o):o;const n=o.replace("px","");if(!Number.isNaN(Number(n))){const r=`${Number(n)/16}${e}`;return t?y(r):r}}return o}}const b=v("rem",{shouldScale:!0}),w=v("em");function x(e){return/^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(e)?function(e){let t=e.replace("#","");if(3===t.length){const e=t.split("");t=[e[0],e[0],e[1],e[1],e[2],e[2]].join("")}if(8===t.length){const e=parseInt(t.slice(6,8),16)/255;return{r:parseInt(t.slice(0,2),16),g:parseInt(t.slice(2,4),16),b:parseInt(t.slice(4,6),16),a:e}}const r=parseInt(t,16);return{r:r>>16&255,g:r>>8&255,b:255&r,a:1}}(e):e.startsWith("rgb")?function(e){const[t,r,o,n]=e.replace(/[^0-9,./]/g,"").split(/[/,]/).map(Number);return{r:t,g:r,b:o,a:void 0===n?1:n}}(e):e.startsWith("hsl")?function(e){const t=e.match(/^hsla?\(\s*(\d+)\s*,\s*(\d+%)\s*,\s*(\d+%)\s*(,\s*(0?\.\d+|\d+(\.\d+)?))?\s*\)$/i);if(!t)return{r:0,g:0,b:0,a:1};const r=parseInt(t[1],10),o=parseInt(t[2],10)/100,n=parseInt(t[3],10)/100,s=t[5]?parseFloat(t[5]):void 0,i=(1-Math.abs(2*n-1))*o,a=r/60,l=i*(1-Math.abs(a%2-1)),c=n-i/2;let d,u,p;return a>=0&&a<1?(d=i,u=l,p=0):a>=1&&a<2?(d=l,u=i,p=0):a>=2&&a<3?(d=0,u=i,p=l):a>=3&&a<4?(d=0,u=l,p=i):a>=4&&a<5?(d=l,u=0,p=i):(d=i,u=0,p=l),{r:Math.round(255*(d+c)),g:Math.round(255*(u+c)),b:Math.round(255*(p+c)),a:s||1}}(e):{r:0,g:0,b:0,a:1}}function C(e,t){if(e.startsWith("var("))return`color-mix(in srgb, ${e}, black ${100*t}%)`;const{r,g:o,b:n,a:s}=x(e),i=1-t,a=e=>Math.round(e*i);return`rgba(${a(r)}, ${a(o)}, ${a(n)}, ${s})`}function S(e,t){return"number"==typeof e.primaryShade?e.primaryShade:"dark"===t?e.primaryShade.dark:e.primaryShade.light}function N(e){return e<=.03928?e/12.92:((e+.055)/1.055)**2.4}function j(e,t=.179){return!e.startsWith("var(")&&function(e){if(e.startsWith("oklch("))return(function(e){const t=e.match(/oklch\((.*?)%\s/);return t?parseFloat(t[1]):null}(e)||0)/100;const{r:t,g:r,b:o}=x(e),n=r/255,s=o/255;return.2126*N(t/255)+.7152*N(n)+.0722*N(s)}(e)>t}function P({color:e,theme:t,colorScheme:r}){if("string"!=typeof e)throw new Error("[@mantine/core] Failed to parse color. Expected color to be a string, instead got "+typeof e);if("bright"===e)return{color:e,value:"dark"===r?t.white:t.black,shade:void 0,isThemeColor:!1,isLight:j("dark"===r?t.white:t.black,t.luminanceThreshold),variable:"--mantine-color-bright"};if("dimmed"===e)return{color:e,value:"dark"===r?t.colors.dark[2]:t.colors.gray[7],shade:void 0,isThemeColor:!1,isLight:j("dark"===r?t.colors.dark[2]:t.colors.gray[6],t.luminanceThreshold),variable:"--mantine-color-dimmed"};if("white"===e||"black"===e)return{color:e,value:"white"===e?t.white:t.black,shade:void 0,isThemeColor:!1,isLight:j("white"===e?t.white:t.black,t.luminanceThreshold),variable:`--mantine-color-${e}`};const[o,n]=e.split("."),s=n?Number(n):void 0,i=o in t.colors;if(i){const e=void 0!==s?t.colors[o][s]:t.colors[o][S(t,r||"light")];return{color:o,value:e,shade:s,isThemeColor:i,isLight:j(e,t.luminanceThreshold),variable:n?`--mantine-color-${o}-${s}`:`--mantine-color-${o}-filled`}}return{color:e,value:e,isThemeColor:i,isLight:j(e,t.luminanceThreshold),shade:s,variable:void 0}}function $(e,t){const r=P({color:e||t.primaryColor,theme:t});return r.variable?`var(${r.variable})`:e}function _(e,t){const r={from:e?.from||t.defaultGradient.from,to:e?.to||t.defaultGradient.to,deg:e?.deg??t.defaultGradient.deg??0},o=$(r.from,t),n=$(r.to,t);return`linear-gradient(${r.deg}deg, ${o} 0%, ${n} 100%)`}function k(e,t){if("string"!=typeof e||t>1||t<0)return"rgba(0, 0, 0, 1)";if(e.startsWith("var("))return`color-mix(in srgb, ${e}, transparent ${100*(1-t)}%)`;if(e.startsWith("oklch"))return e.includes("/")?e.replace(/\/\s*[\d.]+\s*\)/,`/ ${t})`):e.replace(")",` / ${t})`);const{r,g:o,b:n}=x(e);return`rgba(${r}, ${o}, ${n}, ${t})`}const R=k,E="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",T={scale:1,fontSmoothing:!0,focusRing:"auto",white:"#fff",black:"#000",colors:{dark:["#C9C9C9","#b8b8b8","#828282","#696969","#424242","#3b3b3b","#2e2e2e","#242424","#1f1f1f","#141414"],gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]},primaryShade:{light:6,dark:8},primaryColor:"blue",variantColorResolver:({color:e,theme:t,variant:r,gradient:o,autoContrast:n})=>{const s=P({color:e,theme:t}),i="boolean"==typeof n?n:t.autoContrast;if("filled"===r){const t=i&&s.isLight?"var(--mantine-color-black)":"var(--mantine-color-white)";return s.isThemeColor?void 0===s.shade?{background:`var(--mantine-color-${e}-filled)`,hover:`var(--mantine-color-${e}-filled-hover)`,color:t,border:`${b(1)} solid transparent`}:{background:`var(--mantine-color-${s.color}-${s.shade})`,hover:`var(--mantine-color-${s.color}-${9===s.shade?8:s.shade+1})`,color:t,border:`${b(1)} solid transparent`}:{background:e,hover:C(e,.1),color:t,border:`${b(1)} solid transparent`}}if("light"===r){if(s.isThemeColor){if(void 0===s.shade)return{background:`var(--mantine-color-${e}-light)`,hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${b(1)} solid transparent`};const r=t.colors[s.color][s.shade];return{background:k(r,.1),hover:k(r,.12),color:`var(--mantine-color-${s.color}-${Math.min(s.shade,6)})`,border:`${b(1)} solid transparent`}}return{background:k(e,.1),hover:k(e,.12),color:e,border:`${b(1)} solid transparent`}}return"outline"===r?s.isThemeColor?void 0===s.shade?{background:"transparent",hover:`var(--mantine-color-${e}-outline-hover)`,color:`var(--mantine-color-${e}-outline)`,border:`${b(1)} solid var(--mantine-color-${e}-outline)`}:{background:"transparent",hover:k(t.colors[s.color][s.shade],.05),color:`var(--mantine-color-${s.color}-${s.shade})`,border:`${b(1)} solid var(--mantine-color-${s.color}-${s.shade})`}:{background:"transparent",hover:k(e,.05),color:e,border:`${b(1)} solid ${e}`}:"subtle"===r?s.isThemeColor?void 0===s.shade?{background:"transparent",hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${b(1)} solid transparent`}:{background:"transparent",hover:k(t.colors[s.color][s.shade],.12),color:`var(--mantine-color-${s.color}-${Math.min(s.shade,6)})`,border:`${b(1)} solid transparent`}:{background:"transparent",hover:k(e,.12),color:e,border:`${b(1)} solid transparent`}:"transparent"===r?s.isThemeColor?void 0===s.shade?{background:"transparent",hover:"transparent",color:`var(--mantine-color-${e}-light-color)`,border:`${b(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:`var(--mantine-color-${s.color}-${Math.min(s.shade,6)})`,border:`${b(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:e,border:`${b(1)} solid transparent`}:"white"===r?s.isThemeColor?void 0===s.shade?{background:"var(--mantine-color-white)",hover:C(t.white,.01),color:`var(--mantine-color-${e}-filled)`,border:`${b(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:C(t.white,.01),color:`var(--mantine-color-${s.color}-${s.shade})`,border:`${b(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:C(t.white,.01),color:e,border:`${b(1)} solid transparent`}:"gradient"===r?{background:_(o,t),hover:_(o,t),color:"var(--mantine-color-white)",border:"none"}:"default"===r?{background:"var(--mantine-color-default)",hover:"var(--mantine-color-default-hover)",color:"var(--mantine-color-default-color)",border:`${b(1)} solid var(--mantine-color-default-border)`}:{}},autoContrast:!1,luminanceThreshold:.3,fontFamily:E,fontFamilyMonospace:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",respectReducedMotion:!1,cursorType:"default",defaultGradient:{from:"blue",to:"cyan",deg:45},defaultRadius:"sm",activeClassName:"mantine-active",focusClassName:"",headings:{fontFamily:E,fontWeight:"700",textWrap:"wrap",sizes:{h1:{fontSize:b(34),lineHeight:"1.3"},h2:{fontSize:b(26),lineHeight:"1.35"},h3:{fontSize:b(22),lineHeight:"1.4"},h4:{fontSize:b(18),lineHeight:"1.45"},h5:{fontSize:b(16),lineHeight:"1.5"},h6:{fontSize:b(14),lineHeight:"1.5"}}},fontSizes:{xs:b(12),sm:b(14),md:b(16),lg:b(18),xl:b(20)},lineHeights:{xs:"1.4",sm:"1.45",md:"1.55",lg:"1.6",xl:"1.65"},radius:{xs:b(2),sm:b(4),md:b(8),lg:b(16),xl:b(32)},spacing:{xs:b(10),sm:b(12),md:b(16),lg:b(20),xl:b(32)},breakpoints:{xs:"36em",sm:"48em",md:"62em",lg:"75em",xl:"88em"},shadows:{xs:`0 ${b(1)} ${b(3)} rgba(0, 0, 0, 0.05), 0 ${b(1)} ${b(2)} rgba(0, 0, 0, 0.1)`,sm:`0 ${b(1)} ${b(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${b(10)} ${b(15)} ${b(-5)}, rgba(0, 0, 0, 0.04) 0 ${b(7)} ${b(7)} ${b(-5)}`,md:`0 ${b(1)} ${b(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${b(20)} ${b(25)} ${b(-5)}, rgba(0, 0, 0, 0.04) 0 ${b(10)} ${b(10)} ${b(-5)}`,lg:`0 ${b(1)} ${b(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${b(28)} ${b(23)} ${b(-7)}, rgba(0, 0, 0, 0.04) 0 ${b(12)} ${b(12)} ${b(-7)}`,xl:`0 ${b(1)} ${b(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${b(36)} ${b(28)} ${b(-7)}, rgba(0, 0, 0, 0.04) 0 ${b(17)} ${b(17)} ${b(-7)}`},other:{},components:{}};function A(e){return e&&"object"==typeof e&&!Array.isArray(e)}function O(e,t){const r={...e},o=t;return A(e)&&A(t)&&Object.keys(t).forEach(t=>{A(o[t])?r[t]=t in e?O(r[t],o[t]):o[t]:r[t]=o[t]}),r}const z="[@mantine/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }";function D(e){return!(e<0||e>9)&&parseInt(e.toString(),10)===e}function L(e){if(!(e.primaryColor in e.colors))throw new Error("[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color");if(!("object"!=typeof e.primaryShade||D(e.primaryShade.dark)&&D(e.primaryShade.light)))throw new Error(z);if("number"==typeof e.primaryShade&&!D(e.primaryShade))throw new Error(z)}const I=(0,s.createContext)(null);function M(){const e=(0,s.useContext)(I);if(!e)throw new Error("@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app");return e}function F({theme:e,children:t,inherit:r=!0}){const o=(0,s.useContext)(I)||T,n=(0,s.useMemo)(()=>function(e,t){if(!t)return L(e),e;const r=O(e,t);return t.fontFamily&&!t.headings?.fontFamily&&(r.headings.fontFamily=t.fontFamily),L(r),r}(r?o:T,e),[e,o,r]);return(0,c.jsx)(I.Provider,{value:n,children:t})}function W(){const e=M(),t=f(),r=g(e.breakpoints).reduce((t,r)=>{const o=e.breakpoints[r].includes("px"),n=function(e){const t=function(e){return"string"==typeof e&&e.includes("var(--mantine-scale)")?e.match(/^calc\((.*?)\)$/)?.[1].split("*")[0].trim():e}(e);return"number"==typeof t?t:"string"==typeof t?t.includes("calc")||t.includes("var")?t:t.includes("px")?Number(t.replace("px","")):t.includes("rem")?16*Number(t.replace("rem","")):t.includes("em")?16*Number(t.replace("em","")):Number(t):NaN}(e.breakpoints[r]);return`${t}@media (max-width: ${o?n-.1+"px":w(n-.1)}){.mantine-visible-from-${r} {display: none !important;}}@media (min-width: ${o?`${n}px`:w(n)}){.mantine-hidden-from-${r} {display: none !important;}}`},"");return(0,c.jsx)("style",{"data-mantine-styles":"classes",nonce:t?.(),dangerouslySetInnerHTML:{__html:r}})}function H(e){return Object.entries(e).map(([e,t])=>`${e}: ${t};`).join("")}function B(e,t){return(Array.isArray(e)?e:[e]).reduce((e,t)=>`${t}{${e}}`,t)}function V({color:e,theme:t,autoContrast:r}){return("boolean"==typeof r?r:t.autoContrast)&&P({color:e||t.primaryColor,theme:t}).isLight?"var(--mantine-color-black)":"var(--mantine-color-white)"}function q(e,t){return V({color:e.colors[e.primaryColor][S(e,t)],theme:e,autoContrast:null})}function Y({theme:e,color:t,colorScheme:r,name:o=t,withColorValues:n=!0}){if(!e.colors[t])return{};if("light"===r){const r=S(e,"light"),s={[`--mantine-color-${o}-text`]:`var(--mantine-color-${o}-filled)`,[`--mantine-color-${o}-filled`]:`var(--mantine-color-${o}-${r})`,[`--mantine-color-${o}-filled-hover`]:`var(--mantine-color-${o}-${9===r?8:r+1})`,[`--mantine-color-${o}-light`]:R(e.colors[t][r],.1),[`--mantine-color-${o}-light-hover`]:R(e.colors[t][r],.12),[`--mantine-color-${o}-light-color`]:`var(--mantine-color-${o}-${r})`,[`--mantine-color-${o}-outline`]:`var(--mantine-color-${o}-${r})`,[`--mantine-color-${o}-outline-hover`]:R(e.colors[t][r],.05)};return n?{[`--mantine-color-${o}-0`]:e.colors[t][0],[`--mantine-color-${o}-1`]:e.colors[t][1],[`--mantine-color-${o}-2`]:e.colors[t][2],[`--mantine-color-${o}-3`]:e.colors[t][3],[`--mantine-color-${o}-4`]:e.colors[t][4],[`--mantine-color-${o}-5`]:e.colors[t][5],[`--mantine-color-${o}-6`]:e.colors[t][6],[`--mantine-color-${o}-7`]:e.colors[t][7],[`--mantine-color-${o}-8`]:e.colors[t][8],[`--mantine-color-${o}-9`]:e.colors[t][9],...s}:s}const s=S(e,"dark"),i={[`--mantine-color-${o}-text`]:`var(--mantine-color-${o}-4)`,[`--mantine-color-${o}-filled`]:`var(--mantine-color-${o}-${s})`,[`--mantine-color-${o}-filled-hover`]:`var(--mantine-color-${o}-${9===s?8:s+1})`,[`--mantine-color-${o}-light`]:R(e.colors[t][Math.max(0,s-2)],.15),[`--mantine-color-${o}-light-hover`]:R(e.colors[t][Math.max(0,s-2)],.2),[`--mantine-color-${o}-light-color`]:`var(--mantine-color-${o}-${Math.max(s-5,0)})`,[`--mantine-color-${o}-outline`]:`var(--mantine-color-${o}-${Math.max(s-4,0)})`,[`--mantine-color-${o}-outline-hover`]:R(e.colors[t][Math.max(s-4,0)],.05)};return n?{[`--mantine-color-${o}-0`]:e.colors[t][0],[`--mantine-color-${o}-1`]:e.colors[t][1],[`--mantine-color-${o}-2`]:e.colors[t][2],[`--mantine-color-${o}-3`]:e.colors[t][3],[`--mantine-color-${o}-4`]:e.colors[t][4],[`--mantine-color-${o}-5`]:e.colors[t][5],[`--mantine-color-${o}-6`]:e.colors[t][6],[`--mantine-color-${o}-7`]:e.colors[t][7],[`--mantine-color-${o}-8`]:e.colors[t][8],[`--mantine-color-${o}-9`]:e.colors[t][9],...i}:i}function X(e,t,r){g(t).forEach(o=>Object.assign(e,{[`--mantine-${r}-${o}`]:t[o]}))}F.displayName="@mantine/core/MantineThemeProvider";const U=e=>{const t=S(e,"light"),r=e.defaultRadius in e.radius?e.radius[e.defaultRadius]:b(e.defaultRadius),o={variables:{"--mantine-scale":e.scale.toString(),"--mantine-cursor-type":e.cursorType,"--mantine-color-scheme":"light dark","--mantine-webkit-font-smoothing":e.fontSmoothing?"antialiased":"unset","--mantine-moz-font-smoothing":e.fontSmoothing?"grayscale":"unset","--mantine-color-white":e.white,"--mantine-color-black":e.black,"--mantine-line-height":e.lineHeights.md,"--mantine-font-family":e.fontFamily,"--mantine-font-family-monospace":e.fontFamilyMonospace,"--mantine-font-family-headings":e.headings.fontFamily,"--mantine-heading-font-weight":e.headings.fontWeight,"--mantine-heading-text-wrap":e.headings.textWrap,"--mantine-radius-default":r,"--mantine-primary-color-filled":`var(--mantine-color-${e.primaryColor}-filled)`,"--mantine-primary-color-filled-hover":`var(--mantine-color-${e.primaryColor}-filled-hover)`,"--mantine-primary-color-light":`var(--mantine-color-${e.primaryColor}-light)`,"--mantine-primary-color-light-hover":`var(--mantine-color-${e.primaryColor}-light-hover)`,"--mantine-primary-color-light-color":`var(--mantine-color-${e.primaryColor}-light-color)`},light:{"--mantine-primary-color-contrast":q(e,"light"),"--mantine-color-bright":"var(--mantine-color-black)","--mantine-color-text":e.black,"--mantine-color-body":e.white,"--mantine-color-error":"var(--mantine-color-red-6)","--mantine-color-placeholder":"var(--mantine-color-gray-5)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-${t})`,"--mantine-color-default":"var(--mantine-color-white)","--mantine-color-default-hover":"var(--mantine-color-gray-0)","--mantine-color-default-color":"var(--mantine-color-black)","--mantine-color-default-border":"var(--mantine-color-gray-4)","--mantine-color-dimmed":"var(--mantine-color-gray-6)"},dark:{"--mantine-primary-color-contrast":q(e,"dark"),"--mantine-color-bright":"var(--mantine-color-white)","--mantine-color-text":"var(--mantine-color-dark-0)","--mantine-color-body":"var(--mantine-color-dark-7)","--mantine-color-error":"var(--mantine-color-red-8)","--mantine-color-placeholder":"var(--mantine-color-dark-3)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-4)`,"--mantine-color-default":"var(--mantine-color-dark-6)","--mantine-color-default-hover":"var(--mantine-color-dark-5)","--mantine-color-default-color":"var(--mantine-color-white)","--mantine-color-default-border":"var(--mantine-color-dark-4)","--mantine-color-dimmed":"var(--mantine-color-dark-2)"}};X(o.variables,e.breakpoints,"breakpoint"),X(o.variables,e.spacing,"spacing"),X(o.variables,e.fontSizes,"font-size"),X(o.variables,e.lineHeights,"line-height"),X(o.variables,e.shadows,"shadow"),X(o.variables,e.radius,"radius"),e.colors[e.primaryColor].forEach((t,r)=>{o.variables[`--mantine-primary-color-${r}`]=`var(--mantine-color-${e.primaryColor}-${r})`}),g(e.colors).forEach(t=>{const r=e.colors[t];if(function(e){return!!e&&"object"==typeof e&&"mantine-virtual-color"in e}(r))return Object.assign(o.light,Y({theme:e,name:r.name,color:r.light,colorScheme:"light",withColorValues:!0})),void Object.assign(o.dark,Y({theme:e,name:r.name,color:r.dark,colorScheme:"dark",withColorValues:!0}));r.forEach((e,r)=>{o.variables[`--mantine-color-${t}-${r}`]=e}),Object.assign(o.light,Y({theme:e,color:t,colorScheme:"light",withColorValues:!1})),Object.assign(o.dark,Y({theme:e,color:t,colorScheme:"dark",withColorValues:!1}))});const n=e.headings.sizes;return g(n).forEach(t=>{o.variables[`--mantine-${t}-font-size`]=n[t].fontSize,o.variables[`--mantine-${t}-line-height`]=n[t].lineHeight,o.variables[`--mantine-${t}-font-weight`]=n[t].fontWeight||e.headings.fontWeight}),o},K=U(T);function G({cssVariablesSelector:e,deduplicateCssVariables:t}){const r=M(),o=f(),n=function({theme:e,generator:t}){const r=U(e),o=t?.(e);return o?O(r,o):r}({theme:r,generator:m().cssVariablesResolver}),s=":root"===e&&t,i=function(e,t){const r=H(e.variables),o=r?B(t,r):"",n=H(e.dark),s=H(e.light);return`${o}${n?B(":host"===t?`${t}([data-mantine-color-scheme="dark"])`:`${t}[data-mantine-color-scheme="dark"]`,n):""}${s?B(":host"===t?`${t}([data-mantine-color-scheme="light"])`:`${t}[data-mantine-color-scheme="light"]`,s):""}`}(s?function(e){const t={variables:{},light:{},dark:{}};return g(e.variables).forEach(r=>{K.variables[r]!==e.variables[r]&&(t.variables[r]=e.variables[r])}),g(e.light).forEach(r=>{K.light[r]!==e.light[r]&&(t.light[r]=e.light[r])}),g(e.dark).forEach(r=>{K.dark[r]!==e.dark[r]&&(t.dark[r]=e.dark[r])}),t}(n):n,e);return i?(0,c.jsx)("style",{"data-mantine-styles":!0,nonce:o?.(),dangerouslySetInnerHTML:{__html:`${i}${s?"":(a=e,`\n  ${a}[data-mantine-color-scheme="dark"] { --mantine-color-scheme: dark; }\n  ${a}[data-mantine-color-scheme="light"] { --mantine-color-scheme: light; }\n`)}`}}):null;var a}G.displayName="@mantine/CssVariables";const Z="undefined"!=typeof document?s.useLayoutEffect:s.useEffect;function J(e,t){const r="undefined"!=typeof window&&"matchMedia"in window&&window.matchMedia("(prefers-color-scheme: dark)")?.matches,o="auto"!==e?e:r?"dark":"light";t()?.setAttribute("data-mantine-color-scheme",o)}function Q({theme:e,children:t,getStyleNonce:r,withStaticClasses:o=!0,withGlobalClasses:n=!0,deduplicateCssVariables:i=!0,withCssVariables:a=!0,cssVariablesSelector:l=":root",classNamesPrefix:d="mantine",colorSchemeManager:m=u(),defaultColorScheme:f="light",getRootElement:h=()=>document.documentElement,cssVariablesResolver:g,forceColorScheme:y,stylesTransform:v,env:b}){const{colorScheme:w,setColorScheme:x,clearColorScheme:C}=function({manager:e,defaultColorScheme:t,getRootElement:r,forceColorScheme:o}){const n=(0,s.useRef)(null),[i,a]=(0,s.useState)(()=>e.get(t)),l=o||i,c=(0,s.useCallback)(t=>{o||(J(t,r),a(t),e.set(t))},[e.set,l,o]),d=(0,s.useCallback)(()=>{a(t),J(t,r),e.clear()},[e.clear,t]);return(0,s.useEffect)(()=>(e.subscribe(c),e.unsubscribe),[e.subscribe,e.unsubscribe]),Z(()=>{J(e.get(t),r)},[]),(0,s.useEffect)(()=>{if(o)return J(o,r),()=>{};void 0===o&&J(i,r),"undefined"!=typeof window&&"matchMedia"in window&&(n.current=window.matchMedia("(prefers-color-scheme: dark)"));const e=e=>{"auto"===i&&J(e.matches?"dark":"light",r)};return n.current?.addEventListener("change",e),()=>n.current?.removeEventListener("change",e)},[i,o]),{colorScheme:l,setColorScheme:c,clearColorScheme:d}}({defaultColorScheme:f,forceColorScheme:y,manager:m,getRootElement:h});return function({respectReducedMotion:e,getRootElement:t}){Z(()=>{e&&t()?.setAttribute("data-respect-reduced-motion","true")},[e])}({respectReducedMotion:e?.respectReducedMotion||!1,getRootElement:h}),(0,c.jsx)(p.Provider,{value:{colorScheme:w,setColorScheme:x,clearColorScheme:C,getRootElement:h,classNamesPrefix:d,getStyleNonce:r,cssVariablesResolver:g,cssVariablesSelector:l,withStaticClasses:o,stylesTransform:v,env:b},children:(0,c.jsxs)(F,{theme:e,children:[a&&(0,c.jsx)(G,{cssVariablesSelector:l,deduplicateCssVariables:i}),n&&(0,c.jsx)(W,{}),t]})})}function ee(e){return Object.keys(e).reduce((t,r)=>(void 0!==e[r]&&(t[r]=e[r]),t),{})}function te(e,t,r){const o=M(),n=o.components[e]?.defaultProps;return{...t,..."function"==typeof n?n(o):n,...ee(r)}}function re(e){return e}function oe(e){const t=(0,s.forwardRef)(e);return t.extend=re,t.withProps=e=>{const r=(0,s.forwardRef)((r,o)=>(0,c.jsx)(t,{...e,...r,ref:o}));return r.extend=t.extend,r.displayName=`WithProps(${t.displayName})`,r},t}function ne(e){if("number"==typeof e)return!0;if("string"==typeof e){if(e.startsWith("calc(")||e.startsWith("var(")||e.includes(" ")&&""!==e.trim())return!0;const t=/^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;return e.trim().split(/\s+/).every(e=>t.test(e))}return!1}function se(e,t="size",r=!0){if(void 0!==e)return ne(e)?r?b(e):e:`var(--${t}-${e})`}function ie(e){return se(e,"mantine-spacing")}function ae(e){return void 0===e?"var(--mantine-radius-default)":se(e,"mantine-radius")}function le(e){return se(e,"mantine-font-size")}function ce(e){if(e)return se(e,"mantine-shadow",!1)}function de(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=de(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}!function(){const e=console.error;console.error=(...t)=>{t.length>1&&"string"==typeof t[0]&&t[0].toLowerCase().includes("extra attributes from the server")&&"string"==typeof t[1]&&t[1].toLowerCase().includes("data-mantine-color-scheme")||e(...t)}}(),Q.displayName="@mantine/core/MantineProvider";const ue=function(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=de(e))&&(o&&(o+=" "),o+=t);return o},pe={always:"mantine-focus-always",auto:"mantine-focus-auto",never:"mantine-focus-never"},me={};function fe({theme:e,classNames:t,props:r,stylesCtx:o}){return function(e){const t={};return e.forEach(e=>{Object.entries(e).forEach(([e,r])=>{t[e]?t[e]=ue(t[e],r):t[e]=r})}),t}((Array.isArray(t)?t:[t]).map(t=>"function"==typeof t?t(e,r,o):t||me))}function he({selector:e,stylesCtx:t,theme:r,classNames:o,props:n}){return fe({theme:r,classNames:o,props:n,stylesCtx:t})[e]}function ge({theme:e,options:t,themeName:r,selector:o,classNamesPrefix:n,classNames:s,classes:i,unstyled:a,className:l,rootSelector:c,props:d,stylesCtx:u,withStaticClasses:p,headless:m,transformedStyles:f}){return ue(function({theme:e,options:t,unstyled:r}){return ue(t?.focusable&&!r&&(e.focusClassName||pe[e.focusRing]),t?.active&&!r&&e.activeClassName)}({theme:e,options:t,unstyled:a||m}),function({themeName:e,theme:t,selector:r,props:o,stylesCtx:n}){return e.map(e=>fe({theme:t,classNames:t.components[e]?.classNames,props:o,stylesCtx:n})?.[r])}({theme:e,themeName:r,selector:o,props:d,stylesCtx:u}),function({options:e,classes:t,selector:r,unstyled:o}){return e?.variant&&!o?t[`${r}--${e.variant}`]:void 0}({options:t,classes:i,selector:o,unstyled:a}),he({selector:o,stylesCtx:u,theme:e,classNames:s,props:d}),he({selector:o,stylesCtx:u,theme:e,classNames:f,props:d}),function({selector:e,stylesCtx:t,options:r,props:o,theme:n}){return fe({theme:n,classNames:r?.classNames,props:r?.props||o,stylesCtx:t})[e]}({selector:o,stylesCtx:u,options:t,props:d,theme:e}),function({rootSelector:e,selector:t,className:r}){return e===t?r:void 0}({rootSelector:c,selector:o,className:l}),function({selector:e,classes:t,unstyled:r}){return r?void 0:t[e]}({selector:o,classes:i,unstyled:a||m}),p&&!m&&function({themeName:e,classNamesPrefix:t,selector:r,withStaticClass:o}){return!1===o?[]:e.map(e=>`${t}-${e}-${r}`)}({themeName:r,classNamesPrefix:n,selector:o,withStaticClass:t?.withStaticClass}),t?.className)}function ye({theme:e,styles:t,props:r,stylesCtx:o}){return(Array.isArray(t)?t:[t]).reduce((t,n)=>"function"==typeof n?{...t,...n(e,r,o)}:{...t,...n},{})}function ve({theme:e,themeName:t,props:r,stylesCtx:o,selector:n}){return t.map(t=>ye({theme:e,styles:e.components[t]?.styles,props:r,stylesCtx:o})[n]).reduce((e,t)=>({...e,...t}),{})}function be({style:e,theme:t}){return Array.isArray(e)?[...e].reduce((e,r)=>({...e,...be({style:r,theme:t})}),{}):"function"==typeof e?e(t):null==e?{}:e}function we({vars:e,varsResolver:t,theme:r,props:o,stylesCtx:n,selector:s,themeName:i,headless:a}){return function(e){return e.reduce((e,t)=>(t&&Object.keys(t).forEach(r=>{e[r]={...e[r],...ee(t[r])}}),e),{})}([a?{}:t?.(r,o,n),...i.map(e=>r.components?.[e]?.vars?.(r,o,n)),e?.(r,o,n)])?.[s]}function xe({theme:e,themeName:t,selector:r,options:o,props:n,stylesCtx:s,rootSelector:i,styles:a,style:l,vars:c,varsResolver:d,headless:u,withStylesTransform:p}){return{...!p&&ve({theme:e,themeName:t,props:n,stylesCtx:s,selector:r}),...!p&&ye({theme:e,styles:a,props:n,stylesCtx:s})[r],...!p&&ye({theme:e,styles:o?.styles,props:o?.props||n,stylesCtx:s})[r],...we({theme:e,props:n,stylesCtx:s,vars:c,varsResolver:d,selector:r,themeName:t,headless:u}),...i===r?be({style:l,theme:e}):null,...be({style:o?.style,theme:e})}}function Ce({name:e,classes:t,props:r,stylesCtx:o,className:n,style:s,rootSelector:i="root",unstyled:a,classNames:l,styles:c,vars:d,varsResolver:u}){const p=M(),f=m().classNamesPrefix,h=m().withStaticClasses,g=m().headless,y=(Array.isArray(e)?e:[e]).filter(e=>e),{withStylesTransform:v,getTransformedStyles:b}=function({props:e,stylesCtx:t,themeName:r}){const o=M(),n=(m().stylesTransform?.styles)?.();return{getTransformedStyles:s=>n?[...s.map(r=>n(r,{props:e,theme:o,ctx:t})),...r.map(r=>n(o.components[r]?.styles,{props:e,theme:o,ctx:t}))].filter(Boolean):[],withStylesTransform:!!n}}({props:r,stylesCtx:o,themeName:y});return(e,m)=>({className:ge({theme:p,options:m,themeName:y,selector:e,classNamesPrefix:f,classNames:l,classes:t,unstyled:a,className:n,rootSelector:i,props:r,stylesCtx:o,withStaticClasses:h,headless:g,transformedStyles:b([m?.styles,c])}),style:xe({theme:p,themeName:y,selector:e,options:m,props:r,stylesCtx:o,rootSelector:i,styles:c,style:s,vars:d,varsResolver:u,headless:g,withStylesTransform:v})})}function Se(e){return g(e).reduce((t,r)=>{return void 0!==e[r]?`${t}${o=r,o.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}:${e[r]};`:t;var o},"").trim()}function Ne({selector:e,styles:t,media:r,container:o}){const n=t?Se(t):"",s=Array.isArray(r)?r.map(t=>`@media${t.query}{${e}{${Se(t.styles)}}}`):[],i=Array.isArray(o)?o.map(t=>`@container ${t.query}{${e}{${Se(t.styles)}}}`):[];return`${n?`${e}{${n}}`:""}${s.join("")}${i.join("")}`.trim()}function je(e){const t=f();return(0,c.jsx)("style",{"data-mantine-styles":"inline",nonce:t?.(),dangerouslySetInnerHTML:{__html:Ne(e)}})}function Pe(e){return e.startsWith("data-")?e:`data-${e}`}function $e(e){return e?"string"==typeof e?{[Pe(e)]:!0}:Array.isArray(e)?[...e].reduce((e,t)=>({...e,...$e(t)}),{}):(t=e,Object.keys(t).reduce((e,r)=>{const o=t[r];return void 0===o||""===o||!1===o||null===o||(e[Pe(r)]=t[r]),e},{})):null;var t}function _e(e,t){return Array.isArray(e)?[...e].reduce((e,r)=>({...e,..._e(r,t)}),{}):"function"==typeof e?e(t):null==e?{}:e}function ke({theme:e,style:t,vars:r,styleProps:o}){return{..._e(t,e),..._e(r,e),...o}}function Re(e){const{m:t,mx:r,my:o,mt:n,mb:s,ml:i,mr:a,me:l,ms:c,p:d,px:u,py:p,pt:m,pb:f,pl:h,pr:g,pe:y,ps:v,bd:b,bg:w,c:x,opacity:C,ff:S,fz:N,fw:j,lts:P,ta:$,lh:_,fs:k,tt:R,td:E,w:T,miw:A,maw:O,h:z,mih:D,mah:L,bgsz:I,bgp:M,bgr:F,bga:W,pos:H,top:B,left:V,bottom:q,right:Y,inset:X,display:U,flex:K,hiddenFrom:G,visibleFrom:Z,lightHidden:J,darkHidden:Q,sx:te,...re}=e;return{styleProps:ee({m:t,mx:r,my:o,mt:n,mb:s,ml:i,mr:a,me:l,ms:c,p:d,px:u,py:p,pt:m,pb:f,pl:h,pr:g,pe:y,ps:v,bd:b,bg:w,c:x,opacity:C,ff:S,fz:N,fw:j,lts:P,ta:$,lh:_,fs:k,tt:R,td:E,w:T,miw:A,maw:O,h:z,mih:D,mah:L,bgsz:I,bgp:M,bgr:F,bga:W,pos:H,top:B,left:V,bottom:q,right:Y,inset:X,display:U,flex:K,hiddenFrom:G,visibleFrom:Z,lightHidden:J,darkHidden:Q,sx:te}),rest:re}}const Ee={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},ms:{type:"spacing",property:"marginInlineStart"},me:{type:"spacing",property:"marginInlineEnd"},mx:{type:"spacing",property:"marginInline"},my:{type:"spacing",property:"marginBlock"},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},ps:{type:"spacing",property:"paddingInlineStart"},pe:{type:"spacing",property:"paddingInlineEnd"},px:{type:"spacing",property:"paddingInline"},py:{type:"spacing",property:"paddingBlock"},bd:{type:"border",property:"border"},bg:{type:"color",property:"background"},c:{type:"textColor",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"fontFamily",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"lineHeight",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"size",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"},flex:{type:"identity",property:"flex"}};function Te(e,t){const r=P({color:e,theme:t});return"dimmed"===r.color?"var(--mantine-color-dimmed)":"bright"===r.color?"var(--mantine-color-bright)":r.variable?`var(${r.variable})`:r.color}const Ae={text:"var(--mantine-font-family)",mono:"var(--mantine-font-family-monospace)",monospace:"var(--mantine-font-family-monospace)",heading:"var(--mantine-font-family-headings)",headings:"var(--mantine-font-family-headings)"},Oe=["h1","h2","h3","h4","h5","h6"],ze=["h1","h2","h3","h4","h5","h6"],De={color:Te,textColor:function(e,t){const r=P({color:e,theme:t});return r.isThemeColor&&void 0===r.shade?`var(--mantine-color-${r.color}-text)`:Te(e,t)},fontSize:function(e,t){return"string"==typeof e&&e in t.fontSizes?`var(--mantine-font-size-${e})`:"string"==typeof e&&Oe.includes(e)?`var(--mantine-${e}-font-size)`:"number"==typeof e||"string"==typeof e?b(e):e},spacing:function(e,t){if("number"==typeof e)return b(e);if("string"==typeof e){const r=e.replace("-","");if(!(r in t.spacing))return b(e);const o=`--mantine-spacing-${r}`;return e.startsWith("-")?`calc(var(${o}) * -1)`:`var(${o})`}return e},identity:function(e){return e},size:function(e){return"number"==typeof e?b(e):e},lineHeight:function(e,t){return"string"==typeof e&&e in t.lineHeights?`var(--mantine-line-height-${e})`:"string"==typeof e&&ze.includes(e)?`var(--mantine-${e}-line-height)`:e},fontFamily:function(e){return"string"==typeof e&&e in Ae?Ae[e]:e},border:function(e,t){if("number"==typeof e)return b(e);if("string"==typeof e){const[r,o,...n]=e.split(" ").filter(e=>""!==e.trim());let s=`${b(r)}`;return o&&(s+=` ${o}`),n.length>0&&(s+=` ${Te(n.join(" "),t)}`),s.trim()}return e}};function Le(e){return e.replace("(min-width: ","").replace("em)","")}function Ie(e,t){return"object"==typeof e&&null!==e&&t in e?e[t]:e}const Me=(0,s.forwardRef)(({component:e,style:t,__vars:r,className:o,variant:n,mod:i,size:a,hiddenFrom:l,visibleFrom:d,lightHidden:u,darkHidden:p,renderRoot:f,__size:h,...y},v)=>{const b=M(),w=e||"div",{styleProps:x,rest:C}=Re(y),S=m().stylesTransform?.sx,N=S?.()?.(x.sx),j=`__m__-${(0,s.useId)().replace(/:/g,"")}`,P=function({styleProps:e,data:t,theme:r}){return function({media:e,...t}){return{...t,media:Object.keys(e).sort((e,t)=>Number(Le(e))-Number(Le(t))).map(t=>({query:t,styles:e[t]}))}}(g(e).reduce((o,n)=>{if("hiddenFrom"===n||"visibleFrom"===n||"sx"===n)return o;const s=t[n],i=Array.isArray(s.property)?s.property:[s.property],a="object"==typeof(l=e[n])&&null!==l?"base"in l?l.base:void 0:l;var l;if(!function(e){if("object"!=typeof e||null===e)return!1;const t=Object.keys(e);return 1!==t.length||"base"!==t[0]}(e[n]))return i.forEach(e=>{o.inlineStyles[e]=De[s.type](a,r)}),o;o.hasResponsiveStyles=!0;const c=function(e){return"object"==typeof e&&null!==e?g(e).filter(e=>"base"!==e):[]}(e[n]);return i.forEach(t=>{a&&(o.styles[t]=De[s.type](a,r)),c.forEach(i=>{const a=`(min-width: ${r.breakpoints[i]})`;o.media[a]={...o.media[a],[t]:De[s.type](Ie(e[n],i),r)}})}),o},{hasResponsiveStyles:!1,styles:{},inlineStyles:{},media:{}}))}({styleProps:x,theme:b,data:Ee}),$={ref:v,style:ke({theme:b,style:t,vars:r,styleProps:P.inlineStyles}),className:ue(o,N,{[j]:P.hasResponsiveStyles,"mantine-light-hidden":u,"mantine-dark-hidden":p,[`mantine-hidden-from-${l}`]:l,[`mantine-visible-from-${d}`]:d}),"data-variant":n,"data-size":ne(a)?void 0:a||void 0,size:h,...$e(i),...C};return(0,c.jsxs)(c.Fragment,{children:[P.hasResponsiveStyles&&(0,c.jsx)(je,{selector:`.${j}`,styles:P.styles,media:P.media}),"function"==typeof f?f($):(0,c.jsx)(w,{...$})]})});Me.displayName="@mantine/core/Box";const Fe=Me;var We={root:"m_4081bf90"};const He={preventGrowOverflow:!0,gap:"md",align:"center",justify:"flex-start",wrap:"wrap"},Be=(e,{grow:t,preventGrowOverflow:r,gap:o,align:n,justify:s,wrap:i},{childWidth:a})=>({root:{"--group-child-width":t&&r?a:void 0,"--group-gap":ie(o),"--group-align":n,"--group-justify":s,"--group-wrap":i}}),Ve=oe((e,t)=>{const r=te("Group",He,e),{classNames:o,className:n,style:i,styles:a,unstyled:l,children:d,gap:u,align:p,justify:m,wrap:f,grow:h,preventGrowOverflow:g,vars:y,variant:v,__size:b,mod:w,...x}=r,C=function(e){return s.Children.toArray(e).filter(Boolean)}(d),S=C.length,N=ie(u??"md"),j=Ce({name:"Group",props:r,stylesCtx:{childWidth:`calc(${100/S}% - (${N} - ${N} / ${S}))`},className:n,style:i,classes:We,classNames:o,styles:a,unstyled:l,vars:y,varsResolver:Be});return(0,c.jsx)(Fe,{...j("root"),ref:t,variant:v,mod:[{grow:h},w],size:b,...x,children:C})});function qe(e){const t=(0,s.forwardRef)(e);return t.withProps=e=>{const r=(0,s.forwardRef)((r,o)=>(0,c.jsx)(t,{...e,...r,ref:o}));return r.extend=t.extend,r.displayName=`WithProps(${t.displayName})`,r},t.extend=re,t}Ve.classes=We,Ve.displayName="@mantine/core/Group";var Ye={root:"m_87cf2631"};const Xe={__staticSelector:"UnstyledButton"},Ue=qe((e,t)=>{const r=te("UnstyledButton",Xe,e),{className:o,component:n="button",__staticSelector:s,unstyled:i,classNames:a,styles:l,style:d,...u}=r,p=Ce({name:s,props:r,classes:Ye,className:o,style:d,classNames:a,styles:l,unstyled:i});return(0,c.jsx)(Fe,{...p("root",{focusable:!0}),component:n,ref:t,type:"button"===n?"button":void 0,...u})});function Ke(e){const t=(0,s.createContext)(null);return[({children:e,value:r})=>(0,c.jsx)(t.Provider,{value:r,children:e}),()=>{const r=(0,s.useContext)(t);if(null===r)throw new Error(e);return r}]}Ue.classes=Ye,Ue.displayName="@mantine/core/UnstyledButton";const[Ge,Ze]=Ke("Pagination.Root component was not found in tree");var Je={root:"m_4addd315",control:"m_326d024a",dots:"m_4ad7767d"};const Qe={withPadding:!0},et=oe((e,t)=>{const r=te("PaginationControl",Qe,e),{classNames:o,className:n,style:s,styles:i,vars:a,active:l,disabled:d,withPadding:u,mod:p,...m}=r,f=Ze(),h=d||f.disabled;return(0,c.jsx)(Ue,{ref:t,disabled:h,mod:[{active:l,disabled:h,"with-padding":u},p],...f.getStyles("control",{className:n,style:s,classNames:o,styles:i,active:!h}),...m})});function tt({style:e,children:t,path:r,...o}){return(0,c.jsx)("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",style:{width:"calc(var(--pagination-control-size) / 1.8)",height:"calc(var(--pagination-control-size) / 1.8)",...e},...o,children:(0,c.jsx)("path",{d:r,fill:"currentColor"})})}et.classes=Je,et.displayName="@mantine/core/PaginationControl";const rt={icon:e=>(0,c.jsx)(tt,{...e,path:"M2 8c0-.733.6-1.333 1.333-1.333.734 0 1.334.6 1.334 1.333s-.6 1.333-1.334 1.333C2.6 9.333 2 8.733 2 8zm9.333 0c0-.733.6-1.333 1.334-1.333C13.4 6.667 14 7.267 14 8s-.6 1.333-1.333 1.333c-.734 0-1.334-.6-1.334-1.333zM6.667 8c0-.733.6-1.333 1.333-1.333s1.333.6 1.333 1.333S8.733 9.333 8 9.333 6.667 8.733 6.667 8z"})},ot=oe((e,t)=>{const r=te("PaginationDots",rt,e),{classNames:o,className:n,style:s,styles:i,vars:a,icon:l,...d}=r,u=Ze(),p=l;return(0,c.jsx)(Fe,{ref:t,...u.getStyles("dots",{className:n,style:s,styles:i,classNames:o}),...d,children:(0,c.jsx)(p,{style:{width:"calc(var(--pagination-control-size) / 1.8)",height:"calc(var(--pagination-control-size) / 1.8)"}})})});function nt({icon:e,name:t,action:r,type:o}){const n={icon:e},i=(0,s.forwardRef)((e,s)=>{const{icon:i,...a}=te(t,n,e),l=i,d=Ze(),u="next"===o?d.active===d.total:1===d.active;return(0,c.jsx)(et,{disabled:d.disabled||u,ref:s,onClick:d[r],withPadding:!1,...a,children:(0,c.jsx)(l,{className:"mantine-rotate-rtl",style:{width:"calc(var(--pagination-control-size) / 1.8)",height:"calc(var(--pagination-control-size) / 1.8)"}})})});return i.displayName=`@mantine/core/${t}`,i}ot.classes=Je,ot.displayName="@mantine/core/PaginationDots";const st=nt({icon:e=>(0,c.jsx)(tt,{...e,path:"M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z"}),name:"PaginationNext",action:"onNext",type:"next"}),it=nt({icon:e=>(0,c.jsx)(tt,{...e,path:"M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z"}),name:"PaginationPrevious",action:"onPrevious",type:"previous"}),at=nt({icon:e=>(0,c.jsx)(tt,{...e,path:"M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z"}),name:"PaginationFirst",action:"onFirst",type:"previous"}),lt=nt({icon:e=>(0,c.jsx)(tt,{...e,path:"M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z"}),name:"PaginationLast",action:"onLast",type:"next"});function ct({dotsIcon:e}){const t=Ze(),r=t.range.map((r,o)=>"dots"===r?(0,c.jsx)(ot,{icon:e},o):(0,c.jsx)(et,{active:r===t.active,"aria-current":r===t.active?"page":void 0,onClick:()=>t.onChange(r),disabled:t.disabled,...t.getItemProps?.(r),children:t.getItemProps?.(r)?.children??r},o));return(0,c.jsx)(c.Fragment,{children:r})}function dt({value:e,defaultValue:t,finalValue:r,onChange:o=()=>{}}){const[n,i]=(0,s.useState)(void 0!==t?t:r);return void 0!==e?[e,o,!0]:[n,(e,...t)=>{i(e),o?.(e,...t)},!1]}function ut(e,t){const r=t-e+1;return Array.from({length:r},(t,r)=>r+e)}ct.displayName="@mantine/core/PaginationItems";const pt="dots";function mt({total:e,siblings:t=1,boundaries:r=1,page:o,initialPage:n=1,onChange:i}){const a=Math.max(Math.trunc(e),0),[l,c]=dt({value:o,onChange:i,defaultValue:n,finalValue:n}),d=e=>{c(e<=0?1:e>a?a:e)};return{range:(0,s.useMemo)(()=>{if(2*t+3+2*r>=a)return ut(1,a);const e=Math.max(l-t,r),o=Math.min(l+t,a-r),n=e>r+2,s=o<a-(r+1);if(!n&&s)return[...ut(1,2*t+r+2),pt,...ut(a-(r-1),a)];if(n&&!s){const e=r+1+2*t;return[...ut(1,r),pt,...ut(a-e,a)]}return[...ut(1,r),pt,...ut(e,o),pt,...ut(a-r+1,a)]},[a,t,l]),active:l,setPage:d,next:()=>d(l+1),previous:()=>d(l-1),first:()=>d(1),last:()=>d(a)}}function ft(e,t){return r=>{e?.(r),t?.(r)}}function ht(e,t){return"boolean"==typeof e?e:t.autoContrast}const gt={siblings:1,boundaries:1},yt=(e,{size:t,radius:r,color:o,autoContrast:n})=>({root:{"--pagination-control-radius":void 0===r?void 0:ae(r),"--pagination-control-size":se(t,"pagination-control-size"),"--pagination-control-fz":le(t),"--pagination-active-bg":o?$(o,e):void 0,"--pagination-active-color":ht(n,e)?V({color:o,theme:e,autoContrast:n}):void 0}}),vt=oe((e,t)=>{const r=te("PaginationRoot",gt,e),{classNames:o,className:n,style:s,styles:i,unstyled:a,vars:l,total:d,value:u,defaultValue:p,onChange:m,disabled:f,siblings:h,boundaries:g,color:y,radius:v,onNextPage:b,onPreviousPage:w,onFirstPage:x,onLastPage:C,getItemProps:S,autoContrast:N,...j}=r,P=Ce({name:"Pagination",classes:Je,props:r,className:n,style:s,classNames:o,styles:i,unstyled:a,vars:l,varsResolver:yt}),{range:$,setPage:_,next:k,previous:R,active:E,first:T,last:A}=mt({page:u,initialPage:p,onChange:m,total:d,siblings:h,boundaries:g}),O=ft(b,k),z=ft(w,R),D=ft(x,T),L=ft(C,A);return(0,c.jsx)(Ge,{value:{total:d,range:$,active:E,disabled:f,getItemProps:S,onChange:_,onNext:O,onPrevious:z,onFirst:D,onLast:L,getStyles:P},children:(0,c.jsx)(Fe,{ref:t,...P("root"),...j})})});vt.classes=Je,vt.displayName="@mantine/core/PaginationRoot";const bt={withControls:!0,withPages:!0,siblings:1,boundaries:1,gap:8},wt=oe((e,t)=>{const r=te("Pagination",bt,e),{withEdges:o,withControls:n,getControlProps:s,nextIcon:i,previousIcon:a,lastIcon:l,firstIcon:d,dotsIcon:u,total:p,gap:m,hideWithOnePage:f,withPages:h,...g}=r;return p<=0||f&&1===p?null:(0,c.jsx)(vt,{ref:t,total:p,...g,children:(0,c.jsxs)(Ve,{gap:m,children:[o&&(0,c.jsx)(at,{icon:d,...s?.("first")}),n&&(0,c.jsx)(it,{icon:a,...s?.("previous")}),h&&(0,c.jsx)(ct,{dotsIcon:u}),n&&(0,c.jsx)(st,{icon:i,...s?.("next")}),o&&(0,c.jsx)(lt,{icon:l,...s?.("last")})]})})});wt.classes=Je,wt.displayName="@mantine/core/Pagination",wt.Root=vt,wt.Control=et,wt.Dots=ot,wt.First=at,wt.Last=lt,wt.Next=st,wt.Previous=it,wt.Items=ct;var xt={root:"m_18320242","skeleton-fade":"m_299c329c"};const Ct={visible:!0,animate:!0},St=(e,{width:t,height:r,radius:o,circle:n})=>({root:{"--skeleton-height":b(r),"--skeleton-width":b(n?r:t),"--skeleton-radius":n?"1000px":void 0===o?void 0:ae(o)}}),Nt=oe((e,t)=>{const r=te("Skeleton",Ct,e),{classNames:o,className:n,style:s,styles:i,unstyled:a,vars:l,width:d,height:u,circle:p,visible:m,radius:f,animate:h,mod:g,...y}=r,v=Ce({name:"Skeleton",classes:xt,props:r,className:n,style:s,classNames:o,styles:i,unstyled:a,vars:l,varsResolver:St});return(0,c.jsx)(Fe,{ref:t,...v("root"),mod:[{visible:m,animate:h},g],...y})});Nt.classes=xt,Nt.displayName="@mantine/core/Skeleton";const jt=window.wp.i18n,Pt=()=>(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-layout-grid",children:[(0,c.jsx)("rect",{width:"7",height:"7",x:"3",y:"3",rx:"1"}),(0,c.jsx)("rect",{width:"7",height:"7",x:"14",y:"3",rx:"1"}),(0,c.jsx)("rect",{width:"7",height:"7",x:"14",y:"14",rx:"1"}),(0,c.jsx)("rect",{width:"7",height:"7",x:"3",y:"14",rx:"1"})]}),$t=()=>(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-chevron-down-icon lucide-chevron-down",children:(0,c.jsx)("path",{d:"m6 9 6 6 6-6"})}),_t=()=>(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-chevron-right-icon lucide-chevron-right",children:(0,c.jsx)("path",{d:"m9 18 6-6-6-6"})}),kt=()=>(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-arrow-up-down-icon lucide-arrow-up-down",children:[(0,c.jsx)("path",{d:"m21 16-4 4-4-4"}),(0,c.jsx)("path",{d:"M17 20V4"}),(0,c.jsx)("path",{d:"m3 8 4-4 4 4"}),(0,c.jsx)("path",{d:"M7 4v16"})]}),Rt=()=>(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-search-icon lucide-search",children:[(0,c.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,c.jsx)("path",{d:"m21 21-4.3-4.3"})]}),Et=()=>(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-circle-check-icon lucide-circle-check",children:[(0,c.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,c.jsx)("path",{d:"m9 12 2 2 4-4"})]}),Tt=()=>(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-circle-alert-icon lucide-circle-alert",children:[(0,c.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,c.jsx)("line",{x1:"12",x2:"12",y1:"8",y2:"12"}),(0,c.jsx)("line",{x1:"12",x2:"12.01",y1:"16",y2:"16"})]}),At=e=>{const t=document.createElement("textarea");return t.innerHTML=e,t.value},Ot=function({course:e,showCourseProgress:t}){return(0,c.jsx)("a",{href:e.progress.course_url,target:"_blank",className:"eb-my-courses__course-anchor",children:(0,c.jsxs)("div",{className:"eb-my-courses__course-card",children:[(0,c.jsxs)("div",{className:"course-thumbnail-container",children:[(0,c.jsx)("img",{src:e.thumbnail,alt:e.title,className:"course-thumbnail"}),e.categories.length>0&&(0,c.jsxs)("div",{className:"course-category",children:[(0,c.jsx)(Pt,{}),(0,c.jsx)("span",{children:e.categories.map((t,r)=>(0,c.jsxs)(a().Fragment,{children:[(0,jt.__)(At(t?.name),"edwiser-bridge"),r<e.categories.length-1?", ":""]},t?.id))})]})]}),(0,c.jsxs)("div",{className:"course-meta",children:[(0,c.jsxs)("div",{className:"course-content",children:[(0,c.jsx)("h3",{className:"course-title",children:(0,jt.__)(e.title,"edwiser-bridge")}),t&&(0,c.jsxs)("div",{className:"course__progress",children:[(0,c.jsx)("div",{className:"progress-container",children:(0,c.jsx)("div",{className:"progress-bar",children:(0,c.jsx)("div",{className:"progress-fill",style:{width:`${e.progress.percentage}%`}})})}),(0,c.jsxs)("div",{className:"course-completion",children:[(0,c.jsxs)("span",{className:"completion-text",children:[(0,jt.__)("Course completed","edwiser-bridge")," :"]}),(0,c.jsxs)("span",{className:"completion-value",children:[e.progress.percentage,"%"]})]})]})]}),t&&(0,c.jsx)("div",{className:"course-details",children:(()=>{const t=e.progress.percentage;return e?.suspended?(0,c.jsxs)("div",{className:"course-suspended",children:[(0,c.jsx)("span",{children:(0,jt.__)("Suspended","edwiser-bridge")}),(0,c.jsx)(Tt,{})]}):t>=100?(0,c.jsxs)("div",{className:"course-completed",children:[(0,c.jsx)("span",{children:(0,jt.__)("Completed","edwiser-bridge")}),(0,c.jsx)(Et,{})]}):t>0?(0,c.jsxs)("a",{href:e.progress.course_url,className:"btn btn-resume",children:[(0,jt.__)("Resume","edwiser-bridge")," ",(0,c.jsx)(_t,{})]}):(0,c.jsxs)("a",{href:e.progress.course_url,className:"btn btn-start",children:[(0,jt.__)("Start","edwiser-bridge")," ",(0,c.jsx)(_t,{})]})})()})]})]})})};function zt(){return(0,c.jsxs)("div",{className:"eb-my-courses__course-card",children:[(0,c.jsx)("div",{className:"course-thumbnail-container",children:(0,c.jsx)(Nt,{height:140,style:{borderRadius:0}})}),(0,c.jsxs)("div",{className:"course-meta",children:[(0,c.jsxs)("div",{className:"course-content",children:[(0,c.jsx)(Nt,{height:20,width:"90%"}),(0,c.jsxs)("div",{className:"course__progress",children:[(0,c.jsx)(Nt,{height:8,width:"100%",mt:8,style:{borderRadius:"12px"}}),(0,c.jsxs)("div",{className:"course-completion",style:{marginTop:8},children:[(0,c.jsx)(Nt,{height:18,width:120}),(0,c.jsx)(Nt,{height:28,width:28})]})]})]}),(0,c.jsx)("div",{className:"course-details",children:(0,c.jsx)(Nt,{height:24,width:100})})]})]})}const Dt=function({courses:e,searchTerm:t="",showCourseProgress:r}){return(0,c.jsx)("div",{className:"eb-my-courses__grid",children:e.length>0?e.map(e=>(0,c.jsx)(Ot,{course:e,showCourseProgress:r},e.id)):(0,c.jsx)("div",{className:"eb-my-courses__no-results",children:t?(0,c.jsxs)("p",{children:[(0,jt.__)("No courses found matching","edwiser-bridge")," ",(0,c.jsxs)("strong",{children:['"',t,'"']})]}):(0,c.jsx)("p",{children:(0,jt.__)("No courses found","edwiser-bridge")})})})};function Lt(){return(0,c.jsx)("div",{className:"eb-my-courses__grid",children:Array.from({length:9}).map((e,t)=>(0,c.jsx)(zt,{},t))})}const It=s["useId".toString()]||(()=>{});function Mt(e){const t=function(){const e=It();return e?`mantine-${e.replace(/:/g,"")}`:""}(),[r,o]=(0,s.useState)(t);return Z(()=>{o(function(e="mantine-"){return`${e}${Math.random().toString(36).slice(2,11)}`}())},[]),"string"==typeof e?e:"undefined"==typeof window?t:r}function Ft({classNames:e,styles:t,props:r,stylesCtx:o}){const n=M();return{resolvedClassNames:fe({theme:n,classNames:e,props:r,stylesCtx:o||void 0}),resolvedStyles:ye({theme:n,styles:t,props:r,stylesCtx:o||void 0})}}function Wt(e){return"string"==typeof e?{value:e,label:e}:"value"in e&&!("label"in e)?{value:e.value,label:e.value,disabled:e.disabled}:"number"==typeof e?{value:e.toString(),label:e.toString()}:"group"in e?{group:e.group,items:e.items.map(e=>Wt(e))}:e}function Ht(e){return e?e.map(e=>Wt(e)):[]}function Bt(e){return e.reduce((e,t)=>"group"in t?{...e,...Bt(t.items)}:(e[t.value]=t,e),{})}const Vt=["mousedown","touchstart"],qt={app:100,modal:200,popover:300,overlay:400,max:9999};function Yt(e){return qt[e]}const Xt=(0,s.createContext)({dir:"ltr",toggleDirection:()=>{},setDirection:()=>{}});function Ut(){return(0,s.useContext)(Xt)}function Kt(e,t){if("rtl"===e&&(t.includes("right")||t.includes("left"))){const[e,r]=t.split("-"),o="right"===e?"left":"right";return void 0===r?o:`${o}-${r}`}return t}var Gt={root:"m_9814e45f"};const Zt={zIndex:Yt("modal")},Jt=(e,{gradient:t,color:r,backgroundOpacity:o,blur:n,radius:s,zIndex:i})=>({root:{"--overlay-bg":t||(void 0!==r||void 0!==o)&&k(r||"#000",o??.6)||void 0,"--overlay-filter":n?`blur(${b(n)})`:void 0,"--overlay-radius":void 0===s?void 0:ae(s),"--overlay-z-index":i?.toString()}}),Qt=qe((e,t)=>{const r=te("Overlay",Zt,e),{classNames:o,className:n,style:s,styles:i,unstyled:a,vars:l,fixed:d,center:u,children:p,radius:m,zIndex:f,gradient:h,blur:g,color:y,backgroundOpacity:v,mod:b,...w}=r,x=Ce({name:"Overlay",props:r,classes:Gt,className:n,style:s,classNames:o,styles:i,unstyled:a,vars:l,varsResolver:Jt});return(0,c.jsx)(Fe,{ref:t,...x("root"),mod:[{center:u,fixed:d},b],...w,children:p})});Qt.classes=Gt,Qt.displayName="@mantine/core/Overlay";var er=n(795);function tr(e,t){if("function"==typeof e)return e(t);"object"==typeof e&&null!==e&&"current"in e&&(e.current=t)}function rr(...e){return(0,s.useCallback)(function(...e){const t=new Map;return r=>{if(e.forEach(e=>{const o=tr(e,r);o&&t.set(e,o)}),t.size>0)return()=>{e.forEach(e=>{const r=t.get(e);r?r():tr(e,null)}),t.clear()}}}(...e),e)}function or(e){const t=document.createElement("div");return t.setAttribute("data-portal","true"),"string"==typeof e.className&&t.classList.add(...e.className.split(" ").filter(Boolean)),"object"==typeof e.style&&Object.assign(t.style,e.style),"string"==typeof e.id&&t.setAttribute("id",e.id),t}const nr={},sr=oe((e,t)=>{const{children:r,target:o,reuseTargetNode:n,...i}=te("Portal",nr,e),[a,l]=(0,s.useState)(!1),d=(0,s.useRef)(null);return Z(()=>(l(!0),d.current=function({target:e,reuseTargetNode:t,...r}){if(e)return"string"==typeof e?document.querySelector(e)||or(r):e;if(t){const e=document.querySelector("[data-mantine-shared-portal-node]");if(e)return e;const t=or(r);return t.setAttribute("data-mantine-shared-portal-node","true"),document.body.appendChild(t),t}return or(r)}({target:o,reuseTargetNode:n,...i}),tr(t,d.current),o||n||!d.current||document.body.appendChild(d.current),()=>{o||n||!d.current||document.body.removeChild(d.current)}),[o]),a&&d.current?(0,er.createPortal)((0,c.jsx)(c.Fragment,{children:r}),d.current):null});sr.displayName="@mantine/core/Portal";const ir=oe(({withinPortal:e=!0,children:t,...r},o)=>"test"!==h()&&e?(0,c.jsx)(sr,{ref:o,...r,children:t}):(0,c.jsx)(c.Fragment,{children:t}));ir.displayName="@mantine/core/OptionalPortal";const ar=e=>({in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${"bottom"===e?10:-10}px)`},transitionProperty:"transform, opacity"}),lr={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},"fade-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(30px)"},transitionProperty:"opacity, transform"},"fade-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-30px)"},transitionProperty:"opacity, transform"},"fade-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(30px)"},transitionProperty:"opacity, transform"},"fade-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-30px)"},transitionProperty:"opacity, transform"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(-20px) skew(-10deg, -5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(20px) skew(-10deg, -5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(-5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:{...ar("bottom"),common:{transformOrigin:"center center"}},"pop-bottom-left":{...ar("bottom"),common:{transformOrigin:"bottom left"}},"pop-bottom-right":{...ar("bottom"),common:{transformOrigin:"bottom right"}},"pop-top-left":{...ar("top"),common:{transformOrigin:"top left"}},"pop-top-right":{...ar("top"),common:{transformOrigin:"top right"}}},cr={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};function dr({transition:e,state:t,duration:r,timingFunction:o}){const n={WebkitBackfaceVisibility:"hidden",willChange:"transform, opacity",transitionDuration:`${r}ms`,transitionTimingFunction:o};return"string"==typeof e?e in lr?{transitionProperty:lr[e].transitionProperty,...n,...lr[e].common,...lr[e][cr[t]]}:{}:{transitionProperty:e.transitionProperty,...n,...e.common,...e[cr[t]]}}function ur(e,t){const r=(0,s.useRef)(!1);(0,s.useEffect)(()=>()=>{r.current=!1},[]),(0,s.useEffect)(()=>{if(r.current)return e();r.current=!0},t)}function pr({duration:e,exitDuration:t,timingFunction:r,mounted:o,onEnter:n,onExit:i,onEntered:a,onExited:l,enterDelay:c,exitDelay:d}){const u=M(),p=function(e,t,{getInitialValueInEffect:r}={getInitialValueInEffect:!0}){const[o,n]=(0,s.useState)(r?t:function(e){return"undefined"!=typeof window&&"matchMedia"in window&&window.matchMedia(e).matches}(e)),i=(0,s.useRef)(null);return(0,s.useEffect)(()=>{if("matchMedia"in window)return i.current=window.matchMedia(e),n(i.current.matches),function(e,t){try{return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}catch(r){return e.addListener(t),()=>e.removeListener(t)}}(i.current,e=>n(e.matches))},[e]),o}("(prefers-reduced-motion: reduce)",undefined,undefined);const m=!!u.respectReducedMotion&&p,[f,h]=(0,s.useState)(m?0:e),[g,y]=(0,s.useState)(o?"entered":"exited"),v=(0,s.useRef)(-1),b=(0,s.useRef)(-1),w=(0,s.useRef)(-1);function x(){window.clearTimeout(v.current),window.clearTimeout(b.current),cancelAnimationFrame(w.current)}const C=r=>{x();const o=r?n:i,s=r?a:l,c=m?0:r?e:t;h(c),0===c?("function"==typeof o&&o(),"function"==typeof s&&s(),y(r?"entered":"exited")):w.current=requestAnimationFrame(()=>{er.flushSync(()=>{y(r?"pre-entering":"pre-exiting")}),w.current=requestAnimationFrame(()=>{"function"==typeof o&&o(),y(r?"entering":"exiting"),v.current=window.setTimeout(()=>{"function"==typeof s&&s(),y(r?"entered":"exited")},c)})})};return ur(()=>{var e;e=o,x(),"number"==typeof(e?c:d)?b.current=window.setTimeout(()=>{C(e)},e?c:d):C(e)},[o]),(0,s.useEffect)(()=>()=>{x()},[]),{transitionDuration:f,transitionStatus:g,transitionTimingFunction:r||"ease"}}function mr({keepMounted:e,transition:t="fade",duration:r=250,exitDuration:o=r,mounted:n,children:s,timingFunction:i="ease",onExit:a,onEntered:l,onEnter:d,onExited:u,enterDelay:p,exitDelay:m}){const f=h(),{transitionDuration:g,transitionStatus:y,transitionTimingFunction:v}=pr({mounted:n,exitDuration:o,duration:r,timingFunction:i,onExit:a,onEntered:l,onEnter:d,onExited:u,enterDelay:p,exitDelay:m});return 0===g||"test"===f?n?(0,c.jsx)(c.Fragment,{children:s({})}):e?s({display:"none"}):null:"exited"===y?e?s({display:"none"}):null:(0,c.jsx)(c.Fragment,{children:s(dr({transition:t,duration:g,state:y,timingFunction:v}))})}mr.displayName="@mantine/core/Transition";const[fr,hr]=Ke("Popover component was not found in the tree"),gr=()=>{};function yr(e,t={active:!0}){return"function"==typeof e&&t.active?r=>{"Escape"===r.key&&(e(r),t.onTrigger?.())}:t.onKeyDown||gr}function vr(e,t,r,o){return"center"===e||"center"===o?{top:t}:"end"===e?{bottom:r}:"start"===e?{top:r}:{}}function br(e,t,r,o,n){return"center"===e||"center"===o?{left:t}:"end"===e?{["ltr"===n?"right":"left"]:r}:"start"===e?{["ltr"===n?"left":"right"]:r}:{}}const wr={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"};function xr({position:e,arrowSize:t,arrowOffset:r,arrowRadius:o,arrowPosition:n,arrowX:s,arrowY:i,dir:a}){const[l,c="center"]=e.split("-"),d={width:t,height:t,transform:"rotate(45deg)",position:"absolute",[wr[l]]:o},u=-t/2;return"left"===l?{...d,...vr(c,i,r,n),right:u,borderLeftColor:"transparent",borderBottomColor:"transparent",clipPath:"polygon(100% 0, 0 0, 100% 100%)"}:"right"===l?{...d,...vr(c,i,r,n),left:u,borderRightColor:"transparent",borderTopColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 100%)"}:"top"===l?{...d,...br(c,s,r,n,a),bottom:u,borderTopColor:"transparent",borderLeftColor:"transparent",clipPath:"polygon(0 100%, 100% 100%, 100% 0)"}:"bottom"===l?{...d,...br(c,s,r,n,a),top:u,borderBottomColor:"transparent",borderRightColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 0)"}:{}}const Cr=(0,s.forwardRef)(({position:e,arrowSize:t,arrowOffset:r,arrowRadius:o,arrowPosition:n,visible:s,arrowX:i,arrowY:a,style:l,...d},u)=>{const{dir:p}=Ut();return s?(0,c.jsx)("div",{...d,ref:u,style:{...l,...xr({position:e,arrowSize:t,arrowOffset:r,arrowRadius:o,arrowPosition:n,dir:p,arrowX:i,arrowY:a})}}):null});Cr.displayName="@mantine/core/FloatingArrow";const Sr=/input|select|textarea|button|object/,Nr="a, input, select, textarea, button, object, [tabindex]";function jr(e){return"none"===e.style.display}function Pr(e){let t=e.getAttribute("tabindex");return null===t&&(t=void 0),parseInt(t,10)}function $r(e){const t=e.nodeName.toLowerCase(),r=!Number.isNaN(Pr(e));return(Sr.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||r)&&function(e){if(e.getAttribute("aria-hidden")||e.getAttribute("hidden")||"hidden"===e.getAttribute("type"))return!1;let t=e;for(;t&&t!==document.body&&11!==t.nodeType;){if(jr(t))return!1;t=t.parentNode}return!0}(e)}function _r(e){const t=Pr(e);return(Number.isNaN(t)||t>=0)&&$r(e)}function kr(e){return!Array.isArray(e)&&null!==e&&"object"==typeof e&&e.type!==s.Fragment}var Rr={root:"m_515a97f8"};const Er={},Tr=oe((e,t)=>{const r=te("VisuallyHidden",Er,e),{classNames:o,className:n,style:s,styles:i,unstyled:a,vars:l,...d}=r,u=Ce({name:"VisuallyHidden",classes:Rr,props:r,className:n,style:s,classNames:o,styles:i,unstyled:a});return(0,c.jsx)(Fe,{component:"span",ref:t,...u("root"),...d})});function Ar({children:e,active:t=!0,refProp:r="ref",innerRef:o}){const n=function(e=!0){const t=(0,s.useRef)(null),r=e=>{let t=e.querySelector("[data-autofocus]");if(!t){const r=Array.from(e.querySelectorAll(Nr));t=r.find(_r)||r.find($r)||null,!t&&$r(e)&&(t=e)}t&&t.focus({preventScroll:!0})},o=(0,s.useCallback)(o=>{e&&null!==o&&t.current!==o&&(o?(setTimeout(()=>{o.getRootNode()&&r(o)}),t.current=o):t.current=null)},[e]);return(0,s.useEffect)(()=>{if(!e)return;t.current&&setTimeout(()=>r(t.current));const o=e=>{"Tab"===e.key&&t.current&&function(e,t){const r=(o=e,Array.from(o.querySelectorAll(Nr)).filter(_r));var o;if(!r.length)return void t.preventDefault();const n=r[t.shiftKey?0:r.length-1],s=e.getRootNode();let i=n===s.activeElement||e===s.activeElement;const a=s.activeElement;if("INPUT"===a.tagName&&"radio"===a.getAttribute("type")){const e=r.filter(e=>"radio"===e.getAttribute("type")&&e.getAttribute("name")===a.getAttribute("name"));i=e.includes(n)}if(!i)return;t.preventDefault();const l=r[t.shiftKey?r.length-1:0];l&&l.focus()}(t.current,e)};return document.addEventListener("keydown",o),()=>document.removeEventListener("keydown",o)},[e]),o}(t),i=rr(n,o);return kr(e)?(0,s.cloneElement)(e,{[r]:i}):e}function Or(e){return(0,c.jsx)(Tr,{tabIndex:-1,"data-autofocus":!0,...e})}Tr.classes=Rr,Tr.displayName="@mantine/core/VisuallyHidden",Ar.displayName="@mantine/core/FocusTrap",Or.displayName="@mantine/core/FocusTrapInitialFocus",Ar.InitialFocus=Or;var zr={dropdown:"m_38a85659",arrow:"m_a31dc6c1",overlay:"m_3d7bc908"};const Dr={},Lr=oe((e,t)=>{const r=te("PopoverDropdown",Dr,e),{className:o,style:n,vars:i,children:a,onKeyDownCapture:l,variant:d,classNames:u,styles:p,...m}=r,f=hr(),h=function({opened:e,shouldReturnFocus:t=!0}){const r=(0,s.useRef)(null),o=()=>{r.current&&"focus"in r.current&&"function"==typeof r.current.focus&&r.current?.focus({preventScroll:!0})};return ur(()=>{let n=-1;const s=e=>{"Tab"===e.key&&window.clearTimeout(n)};return document.addEventListener("keydown",s),e?r.current=document.activeElement:t&&(n=window.setTimeout(o,10)),()=>{window.clearTimeout(n),document.removeEventListener("keydown",s)}},[e,t]),o}({opened:f.opened,shouldReturnFocus:f.returnFocus}),g=f.withRoles?{"aria-labelledby":f.getTargetId(),id:f.getDropdownId(),role:"dialog",tabIndex:-1}:{},y=rr(t,f.floating);return f.disabled?null:(0,c.jsx)(ir,{...f.portalProps,withinPortal:f.withinPortal,children:(0,c.jsx)(mr,{mounted:f.opened,...f.transitionProps,transition:f.transitionProps?.transition||"fade",duration:f.transitionProps?.duration??150,keepMounted:f.keepMounted,exitDuration:"number"==typeof f.transitionProps?.exitDuration?f.transitionProps.exitDuration:f.transitionProps?.duration,children:e=>(0,c.jsx)(Ar,{active:f.trapFocus&&f.opened,innerRef:y,children:(0,c.jsxs)(Fe,{...g,...m,variant:d,onKeyDownCapture:yr(()=>{f.onClose?.(),f.onDismiss?.()},{active:f.closeOnEscape,onTrigger:h,onKeyDown:l}),"data-position":f.placement,"data-fixed":"fixed"===f.floatingStrategy||void 0,...f.getStyles("dropdown",{className:o,props:r,classNames:u,styles:p,style:[{...e,zIndex:f.zIndex,top:f.y??0,left:f.x??0,width:"target"===f.width?void 0:b(f.width)},f.resolvedStyles.dropdown,p?.dropdown,n]}),children:[a,(0,c.jsx)(Cr,{ref:f.arrowRef,arrowX:f.arrowX,arrowY:f.arrowY,visible:f.withArrow,position:f.placement,arrowSize:f.arrowSize,arrowRadius:f.arrowRadius,arrowOffset:f.arrowOffset,arrowPosition:f.arrowPosition,...f.getStyles("arrow",{props:r,classNames:u,styles:p})})]})})})})});function Ir(e){const t=s.version;return"string"!=typeof s.version||t.startsWith("18.")?e?.ref:e?.props?.ref}Lr.classes=zr,Lr.displayName="@mantine/core/PopoverDropdown";const Mr={refProp:"ref",popupType:"dialog"},Fr=oe((e,t)=>{const{children:r,refProp:o,popupType:n,...i}=te("PopoverTarget",Mr,e);if(!kr(r))throw new Error("Popover.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const a=i,l=hr(),c=rr(l.reference,Ir(r),t),d=l.withRoles?{"aria-haspopup":n,"aria-expanded":l.opened,"aria-controls":l.getDropdownId(),id:l.getTargetId()}:{};return(0,s.cloneElement)(r,{...a,...d,...l.targetProps,className:ue(l.targetProps.className,a.className,r.props.className),[o]:c,...l.controlled?null:{onClick:l.onToggle}})});Fr.displayName="@mantine/core/PopoverTarget";const Wr=Math.min,Hr=Math.max,Br=Math.round,Vr=Math.floor,qr=e=>({x:e,y:e}),Yr={left:"right",right:"left",bottom:"top",top:"bottom"},Xr={start:"end",end:"start"};function Ur(e,t,r){return Hr(e,Wr(t,r))}function Kr(e,t){return"function"==typeof e?e(t):e}function Gr(e){return e.split("-")[0]}function Zr(e){return e.split("-")[1]}function Jr(e){return"x"===e?"y":"x"}function Qr(e){return"y"===e?"height":"width"}const eo=new Set(["top","bottom"]);function to(e){return eo.has(Gr(e))?"y":"x"}function ro(e){return Jr(to(e))}function oo(e){return e.replace(/start|end/g,e=>Xr[e])}const no=["left","right"],so=["right","left"],io=["top","bottom"],ao=["bottom","top"];function lo(e){return e.replace(/left|right|bottom|top/g,e=>Yr[e])}function co(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function uo(e){const{x:t,y:r,width:o,height:n}=e;return{width:o,height:n,top:r,left:t,right:t+o,bottom:r+n,x:t,y:r}}function po(e,t,r){let{reference:o,floating:n}=e;const s=to(t),i=ro(t),a=Qr(i),l=Gr(t),c="y"===s,d=o.x+o.width/2-n.width/2,u=o.y+o.height/2-n.height/2,p=o[a]/2-n[a]/2;let m;switch(l){case"top":m={x:d,y:o.y-n.height};break;case"bottom":m={x:d,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-n.width,y:u};break;default:m={x:o.x,y:o.y}}switch(Zr(t)){case"start":m[i]-=p*(r&&c?-1:1);break;case"end":m[i]+=p*(r&&c?-1:1)}return m}async function mo(e,t){var r;void 0===t&&(t={});const{x:o,y:n,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:p=!1,padding:m=0}=Kr(t,e),f=co(m),h=a[p?"floating"===u?"reference":"floating":u],g=uo(await s.getClippingRect({element:null==(r=await(null==s.isElement?void 0:s.isElement(h)))||r?h:h.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),y="floating"===u?{x:o,y:n,width:i.floating.width,height:i.floating.height}:i.reference,v=await(null==s.getOffsetParent?void 0:s.getOffsetParent(a.floating)),b=await(null==s.isElement?void 0:s.isElement(v))&&await(null==s.getScale?void 0:s.getScale(v))||{x:1,y:1},w=uo(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:v,strategy:l}):y);return{top:(g.top-w.top+f.top)/b.y,bottom:(w.bottom-g.bottom+f.bottom)/b.y,left:(g.left-w.left+f.left)/b.x,right:(w.right-g.right+f.right)/b.x}}function fo(e){const t=Wr(...e.map(e=>e.left)),r=Wr(...e.map(e=>e.top));return{x:t,y:r,width:Hr(...e.map(e=>e.right))-t,height:Hr(...e.map(e=>e.bottom))-r}}const ho=new Set(["left","top"]);function go(){return"undefined"!=typeof window}function yo(e){return wo(e)?(e.nodeName||"").toLowerCase():"#document"}function vo(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function bo(e){var t;return null==(t=(wo(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function wo(e){return!!go()&&(e instanceof Node||e instanceof vo(e).Node)}function xo(e){return!!go()&&(e instanceof Element||e instanceof vo(e).Element)}function Co(e){return!!go()&&(e instanceof HTMLElement||e instanceof vo(e).HTMLElement)}function So(e){return!(!go()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof vo(e).ShadowRoot)}const No=new Set(["inline","contents"]);function jo(e){const{overflow:t,overflowX:r,overflowY:o,display:n}=Lo(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!No.has(n)}const Po=new Set(["table","td","th"]);function $o(e){return Po.has(yo(e))}const _o=[":popover-open",":modal"];function ko(e){return _o.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const Ro=["transform","translate","scale","rotate","perspective"],Eo=["transform","translate","scale","rotate","perspective","filter"],To=["paint","layout","strict","content"];function Ao(e){const t=Oo(),r=xo(e)?Lo(e):e;return Ro.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||Eo.some(e=>(r.willChange||"").includes(e))||To.some(e=>(r.contain||"").includes(e))}function Oo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const zo=new Set(["html","body","#document"]);function Do(e){return zo.has(yo(e))}function Lo(e){return vo(e).getComputedStyle(e)}function Io(e){return xo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Mo(e){if("html"===yo(e))return e;const t=e.assignedSlot||e.parentNode||So(e)&&e.host||bo(e);return So(t)?t.host:t}function Fo(e){const t=Mo(e);return Do(t)?e.ownerDocument?e.ownerDocument.body:e.body:Co(t)&&jo(t)?t:Fo(t)}function Wo(e,t,r){var o;void 0===t&&(t=[]),void 0===r&&(r=!0);const n=Fo(e),s=n===(null==(o=e.ownerDocument)?void 0:o.body),i=vo(n);if(s){const e=Ho(i);return t.concat(i,i.visualViewport||[],jo(n)?n:[],e&&r?Wo(e):[])}return t.concat(n,Wo(n,[],r))}function Ho(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Bo(e){const t=Lo(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const n=Co(e),s=n?e.offsetWidth:r,i=n?e.offsetHeight:o,a=Br(r)!==s||Br(o)!==i;return a&&(r=s,o=i),{width:r,height:o,$:a}}function Vo(e){return xo(e)?e:e.contextElement}function qo(e){const t=Vo(e);if(!Co(t))return qr(1);const r=t.getBoundingClientRect(),{width:o,height:n,$:s}=Bo(t);let i=(s?Br(r.width):r.width)/o,a=(s?Br(r.height):r.height)/n;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}const Yo=qr(0);function Xo(e){const t=vo(e);return Oo()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Yo}function Uo(e,t,r,o){void 0===t&&(t=!1),void 0===r&&(r=!1);const n=e.getBoundingClientRect(),s=Vo(e);let i=qr(1);t&&(o?xo(o)&&(i=qo(o)):i=qo(e));const a=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==vo(e))&&t}(s,r,o)?Xo(s):qr(0);let l=(n.left+a.x)/i.x,c=(n.top+a.y)/i.y,d=n.width/i.x,u=n.height/i.y;if(s){const e=vo(s),t=o&&xo(o)?vo(o):o;let r=e,n=Ho(r);for(;n&&o&&t!==r;){const e=qo(n),t=n.getBoundingClientRect(),o=Lo(n),s=t.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,d*=e.x,u*=e.y,l+=s,c+=i,r=vo(n),n=Ho(r)}}return uo({width:d,height:u,x:l,y:c})}function Ko(e,t){const r=Io(e).scrollLeft;return t?t.left+r:Uo(bo(e)).left+r}function Go(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-Ko(e,r),y:r.top+t.scrollTop}}const Zo=new Set(["absolute","fixed"]);function Jo(e,t,r){let o;if("viewport"===t)o=function(e,t){const r=vo(e),o=bo(e),n=r.visualViewport;let s=o.clientWidth,i=o.clientHeight,a=0,l=0;if(n){s=n.width,i=n.height;const e=Oo();(!e||e&&"fixed"===t)&&(a=n.offsetLeft,l=n.offsetTop)}const c=Ko(o);if(c<=0){const e=o.ownerDocument,t=e.body,r=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-n);i<=25&&(s-=i)}else c<=25&&(s+=c);return{width:s,height:i,x:a,y:l}}(e,r);else if("document"===t)o=function(e){const t=bo(e),r=Io(e),o=e.ownerDocument.body,n=Hr(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=Hr(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let i=-r.scrollLeft+Ko(e);const a=-r.scrollTop;return"rtl"===Lo(o).direction&&(i+=Hr(t.clientWidth,o.clientWidth)-n),{width:n,height:s,x:i,y:a}}(bo(e));else if(xo(t))o=function(e,t){const r=Uo(e,!0,"fixed"===t),o=r.top+e.clientTop,n=r.left+e.clientLeft,s=Co(e)?qo(e):qr(1);return{width:e.clientWidth*s.x,height:e.clientHeight*s.y,x:n*s.x,y:o*s.y}}(t,r);else{const r=Xo(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return uo(o)}function Qo(e,t){const r=Mo(e);return!(r===t||!xo(r)||Do(r))&&("fixed"===Lo(r).position||Qo(r,t))}function en(e,t,r){const o=Co(t),n=bo(t),s="fixed"===r,i=Uo(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=qr(0);function c(){l.x=Ko(n)}if(o||!o&&!s)if(("body"!==yo(t)||jo(n))&&(a=Io(t)),o){const e=Uo(t,!0,s,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else n&&c();s&&!o&&n&&c();const d=!n||o||s?qr(0):Go(n,a);return{x:i.left+a.scrollLeft-l.x-d.x,y:i.top+a.scrollTop-l.y-d.y,width:i.width,height:i.height}}function tn(e){return"static"===Lo(e).position}function rn(e,t){if(!Co(e)||"fixed"===Lo(e).position)return null;if(t)return t(e);let r=e.offsetParent;return bo(e)===r&&(r=r.ownerDocument.body),r}function on(e,t){const r=vo(e);if(ko(e))return r;if(!Co(e)){let t=Mo(e);for(;t&&!Do(t);){if(xo(t)&&!tn(t))return t;t=Mo(t)}return r}let o=rn(e,t);for(;o&&$o(o)&&tn(o);)o=rn(o,t);return o&&Do(o)&&tn(o)&&!Ao(o)?r:o||function(e){let t=Mo(e);for(;Co(t)&&!Do(t);){if(Ao(t))return t;if(ko(t))return null;t=Mo(t)}return null}(e)||r}const nn={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:n}=e;const s="fixed"===n,i=bo(o),a=!!t&&ko(t.floating);if(o===i||a&&s)return r;let l={scrollLeft:0,scrollTop:0},c=qr(1);const d=qr(0),u=Co(o);if((u||!u&&!s)&&(("body"!==yo(o)||jo(i))&&(l=Io(o)),Co(o))){const e=Uo(o);c=qo(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}const p=!i||u||s?qr(0):Go(i,l);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+d.x+p.x,y:r.y*c.y-l.scrollTop*c.y+d.y+p.y}},getDocumentElement:bo,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:n}=e;const s=[..."clippingAncestors"===r?ko(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let o=Wo(e,[],!1).filter(e=>xo(e)&&"body"!==yo(e)),n=null;const s="fixed"===Lo(e).position;let i=s?Mo(e):e;for(;xo(i)&&!Do(i);){const t=Lo(i),r=Ao(i);r||"fixed"!==t.position||(n=null),(s?!r&&!n:!r&&"static"===t.position&&n&&Zo.has(n.position)||jo(i)&&!r&&Qo(e,i))?o=o.filter(e=>e!==i):n=t,i=Mo(i)}return t.set(e,o),o}(t,this._c):[].concat(r),o],i=s[0],a=s.reduce((e,r)=>{const o=Jo(t,r,n);return e.top=Hr(o.top,e.top),e.right=Wr(o.right,e.right),e.bottom=Wr(o.bottom,e.bottom),e.left=Hr(o.left,e.left),e},Jo(t,i,n));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:on,getElementRects:async function(e){const t=this.getOffsetParent||on,r=this.getDimensions,o=await r(e.floating);return{reference:en(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=Bo(e);return{width:t,height:r}},getScale:qo,isElement:xo,isRTL:function(e){return"rtl"===Lo(e).direction}};function sn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}const an=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:n,y:s,placement:i,middlewareData:a}=t,l=await async function(e,t){const{placement:r,platform:o,elements:n}=e,s=await(null==o.isRTL?void 0:o.isRTL(n.floating)),i=Gr(r),a=Zr(r),l="y"===to(r),c=ho.has(i)?-1:1,d=s&&l?-1:1,u=Kr(t,e);let{mainAxis:p,crossAxis:m,alignmentAxis:f}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&"number"==typeof f&&(m="end"===a?-1*f:f),l?{x:m*d,y:p*c}:{x:p*c,y:m*d}}(t,e);return i===(null==(r=a.offset)?void 0:r.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:n+l.x,y:s+l.y,data:{...l,placement:i}}}}},ln=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:n}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=Kr(e,t),c={x:r,y:o},d=await mo(t,l),u=to(Gr(n)),p=Jr(u);let m=c[p],f=c[u];if(s){const e="y"===p?"bottom":"right";m=Ur(m+d["y"===p?"top":"left"],m,m-d[e])}if(i){const e="y"===u?"bottom":"right";f=Ur(f+d["y"===u?"top":"left"],f,f-d[e])}const h=a.fn({...t,[p]:m,[u]:f});return{...h,data:{x:h.x-r,y:h.y-o,enabled:{[p]:s,[u]:i}}}}}},cn=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:n,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:h=!0,...g}=Kr(e,t);if(null!=(r=s.arrow)&&r.alignmentOffset)return{};const y=Gr(n),v=to(a),b=Gr(a)===a,w=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=p||(b||!h?[lo(a)]:function(e){const t=lo(e);return[oo(e),t,oo(t)]}(a)),C="none"!==f;!p&&C&&x.push(...function(e,t,r,o){const n=Zr(e);let s=function(e,t,r){switch(e){case"top":case"bottom":return r?t?so:no:t?no:so;case"left":case"right":return t?io:ao;default:return[]}}(Gr(e),"start"===r,o);return n&&(s=s.map(e=>e+"-"+n),t&&(s=s.concat(s.map(oo)))),s}(a,h,f,w));const S=[a,...x],N=await mo(t,g),j=[];let P=(null==(o=s.flip)?void 0:o.overflows)||[];if(d&&j.push(N[y]),u){const e=function(e,t,r){void 0===r&&(r=!1);const o=Zr(e),n=ro(e),s=Qr(n);let i="x"===n?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=lo(i)),[i,lo(i)]}(n,i,w);j.push(N[e[0]],N[e[1]])}if(P=[...P,{placement:n,overflows:j}],!j.every(e=>e<=0)){var $,_;const e=((null==($=s.flip)?void 0:$.index)||0)+1,t=S[e];if(t&&("alignment"!==u||v===to(t)||P.every(e=>to(e.placement)!==v||e.overflows[0]>0)))return{data:{index:e,overflows:P},reset:{placement:t}};let r=null==(_=P.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:_.placement;if(!r)switch(m){case"bestFit":{var k;const e=null==(k=P.filter(e=>{if(C){const t=to(e.placement);return t===v||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:k[0];e&&(r=e);break}case"initialPlacement":r=a}if(n!==r)return{reset:{placement:r}}}return{}}}},dn=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:n,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...c}=Kr(e,t),d=await mo(t,c),u=Gr(n),p=Zr(n),m="y"===to(n),{width:f,height:h}=s.floating;let g,y;"top"===u||"bottom"===u?(g=u,y=p===(await(null==i.isRTL?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=u,g="end"===p?"top":"bottom");const v=h-d.top-d.bottom,b=f-d.left-d.right,w=Wr(h-d[g],v),x=Wr(f-d[y],b),C=!t.middlewareData.shift;let S=w,N=x;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(N=b),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(S=v),C&&!p){const e=Hr(d.left,0),t=Hr(d.right,0),r=Hr(d.top,0),o=Hr(d.bottom,0);m?N=f-2*(0!==e||0!==t?e+t:Hr(d.left,d.right)):S=h-2*(0!==r||0!==o?r+o:Hr(d.top,d.bottom))}await l({...t,availableWidth:N,availableHeight:S});const j=await i.getDimensions(a.floating);return f!==j.width||h!==j.height?{reset:{rects:!0}}:{}}}},un=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:n,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:d=0}=Kr(e,t)||{};if(null==c)return{};const u=co(d),p={x:r,y:o},m=ro(n),f=Qr(m),h=await i.getDimensions(c),g="y"===m,y=g?"top":"left",v=g?"bottom":"right",b=g?"clientHeight":"clientWidth",w=s.reference[f]+s.reference[m]-p[m]-s.floating[f],x=p[m]-s.reference[m],C=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let S=C?C[b]:0;S&&await(null==i.isElement?void 0:i.isElement(C))||(S=a.floating[b]||s.floating[f]);const N=w/2-x/2,j=S/2-h[f]/2-1,P=Wr(u[y],j),$=Wr(u[v],j),_=P,k=S-h[f]-$,R=S/2-h[f]/2+N,E=Ur(_,R,k),T=!l.arrow&&null!=Zr(n)&&R!==E&&s.reference[f]/2-(R<_?P:$)-h[f]/2<0,A=T?R<_?R-_:R-k:0;return{[m]:p[m]+A,data:{[m]:E,centerOffset:R-E-A,...T&&{alignmentOffset:A}},reset:T}}}),pn=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:r,elements:o,rects:n,platform:s,strategy:i}=t,{padding:a=2,x:l,y:c}=Kr(e,t),d=Array.from(await(null==s.getClientRects?void 0:s.getClientRects(o.reference))||[]),u=function(e){const t=e.slice().sort((e,t)=>e.y-t.y),r=[];let o=null;for(let e=0;e<t.length;e++){const n=t[e];!o||n.y-o.y>o.height/2?r.push([n]):r[r.length-1].push(n),o=n}return r.map(e=>uo(fo(e)))}(d),p=uo(fo(d)),m=co(a),f=await s.getElementRects({reference:{getBoundingClientRect:function(){if(2===u.length&&u[0].left>u[1].right&&null!=l&&null!=c)return u.find(e=>l>e.left-m.left&&l<e.right+m.right&&c>e.top-m.top&&c<e.bottom+m.bottom)||p;if(u.length>=2){if("y"===to(r)){const e=u[0],t=u[u.length-1],o="top"===Gr(r),n=e.top,s=t.bottom,i=o?e.left:t.left,a=o?e.right:t.right;return{top:n,bottom:s,left:i,right:a,width:a-i,height:s-n,x:i,y:n}}const e="left"===Gr(r),t=Hr(...u.map(e=>e.right)),o=Wr(...u.map(e=>e.left)),n=u.filter(r=>e?r.left===o:r.right===t),s=n[0].top,i=n[n.length-1].bottom;return{top:s,bottom:i,left:o,right:t,width:t-o,height:i-s,x:o,y:s}}return p}},floating:o.floating,strategy:i});return n.reference.x!==f.reference.x||n.reference.y!==f.reference.y||n.reference.width!==f.reference.width||n.reference.height!==f.reference.height?{reset:{rects:f}}:{}}}},mn=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:n,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=Kr(e,t),d={x:r,y:o},u=to(n),p=Jr(u);let m=d[p],f=d[u];const h=Kr(a,t),g="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const e="y"===p?"height":"width",t=s.reference[p]-s.floating[e]+g.mainAxis,r=s.reference[p]+s.reference[e]-g.mainAxis;m<t?m=t:m>r&&(m=r)}if(c){var y,v;const e="y"===p?"width":"height",t=ho.has(Gr(n)),r=s.reference[u]-s.floating[e]+(t&&(null==(y=i.offset)?void 0:y[u])||0)+(t?0:g.crossAxis),o=s.reference[u]+s.reference[e]+(t?0:(null==(v=i.offset)?void 0:v[u])||0)-(t?g.crossAxis:0);f<r?f=r:f>o&&(f=o)}return{[p]:m,[u]:f}}}},fn=(e,t,r)=>{const o=new Map,n={platform:nn,...r},s={...n.platform,_c:o};return(async(e,t,r)=>{const{placement:o="bottom",strategy:n="absolute",middleware:s=[],platform:i}=r,a=s.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:n}),{x:d,y:u}=po(c,o,l),p=o,m={},f=0;for(let r=0;r<a.length;r++){const{name:s,fn:h}=a[r],{x:g,y,data:v,reset:b}=await h({x:d,y:u,initialPlacement:o,placement:p,strategy:n,middlewareData:m,rects:c,platform:i,elements:{reference:e,floating:t}});d=null!=g?g:d,u=null!=y?y:u,m={...m,[s]:{...m[s],...v}},b&&f<=50&&(f++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(c=!0===b.rects?await i.getElementRects({reference:e,floating:t,strategy:n}):b.rects),({x:d,y:u}=po(c,p,l))),r=-1)}return{x:d,y:u,placement:p,strategy:n,middlewareData:m}})(e,t,{...n,platform:s})};var hn="undefined"!=typeof document?s.useLayoutEffect:function(){};function gn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let r,o,n;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(o=r;0!==o--;)if(!gn(e[o],t[o]))return!1;return!0}if(n=Object.keys(e),r=n.length,r!==Object.keys(t).length)return!1;for(o=r;0!==o--;)if(!{}.hasOwnProperty.call(t,n[o]))return!1;for(o=r;0!==o--;){const r=n[o];if(!("_owner"===r&&e.$$typeof||gn(e[r],t[r])))return!1}return!0}return e!=e&&t!=t}function yn(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vn(e,t){const r=yn(e);return Math.round(t*r)/r}function bn(e){const t=s.useRef(e);return hn(()=>{t.current=e}),t}const wn=e=>({name:"arrow",options:e,fn(t){const{element:r,padding:o}="function"==typeof e?e(t):e;return r&&(n=r,{}.hasOwnProperty.call(n,"current"))?null!=r.current?un({element:r.current,padding:o}).fn(t):{}:r?un({element:r,padding:o}).fn(t):{};var n}}),xn=(e,t)=>({...an(e),options:[e,t]}),Cn=(e,t)=>({...mn(e),options:[e,t]}),Sn=(e,t)=>({...cn(e),options:[e,t]}),Nn=(e,t)=>({...pn(e),options:[e,t]});const jn={...i},Pn=jn.useInsertionEffect||(e=>e());var $n="undefined"!=typeof document?s.useLayoutEffect:s.useEffect;let kn=!1,Rn=0;const En=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Rn++,Tn=jn.useId||function(){const[e,t]=s.useState(()=>kn?En():void 0);return $n(()=>{null==e&&t(En())},[]),s.useEffect(()=>{kn=!0},[]),e};const An=s.createContext(null),On=s.createContext(null);function zn(e){void 0===e&&(e={});const{nodeId:t}=e,r=function(e){const{open:t=!1,onOpenChange:r,elements:o}=e,n=Tn(),i=s.useRef({}),[a]=s.useState(()=>function(){const e=new Map;return{emit(t,r){var o;null==(o=e.get(t))||o.forEach(e=>e(r))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){var o;e.set(t,(null==(o=e.get(t))?void 0:o.filter(e=>e!==r))||[])}}}()),l=null!=((null==(f=s.useContext(An))?void 0:f.id)||null),[c,d]=s.useState(o.reference),u=function(e){const t=s.useRef(()=>{});return Pn(()=>{t.current=e}),s.useCallback(function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return null==t.current?void 0:t.current(...r)},[])}((e,t,o)=>{i.current.openEvent=e?t:void 0,a.emit("openchange",{open:e,event:t,reason:o,nested:l}),null==r||r(e,t,o)}),p=s.useMemo(()=>({setPositionReference:d}),[]),m=s.useMemo(()=>({reference:c||o.reference||null,floating:o.floating||null,domReference:o.reference}),[c,o.reference,o.floating]);var f;return s.useMemo(()=>({dataRef:i,open:t,onOpenChange:u,elements:m,events:a,floatingId:n,refs:p}),[t,u,m,a,n,p])}({...e,elements:{reference:null,floating:null,...e.elements}}),o=e.rootContext||r,n=o.elements,[i,a]=s.useState(null),[l,c]=s.useState(null),d=(null==n?void 0:n.domReference)||i,u=s.useRef(null),p=s.useContext(On);$n(()=>{d&&(u.current=d)},[d]);const m=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:n,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:c,open:d}=e,[u,p]=s.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[m,f]=s.useState(o);gn(m,o)||f(o);const[h,g]=s.useState(null),[y,v]=s.useState(null),b=s.useCallback(e=>{e!==S.current&&(S.current=e,g(e))},[]),w=s.useCallback(e=>{e!==N.current&&(N.current=e,v(e))},[]),x=i||h,C=a||y,S=s.useRef(null),N=s.useRef(null),j=s.useRef(u),P=null!=c,$=bn(c),_=bn(n),k=bn(d),R=s.useCallback(()=>{if(!S.current||!N.current)return;const e={placement:t,strategy:r,middleware:m};_.current&&(e.platform=_.current),fn(S.current,N.current,e).then(e=>{const t={...e,isPositioned:!1!==k.current};E.current&&!gn(j.current,t)&&(j.current=t,er.flushSync(()=>{p(t)}))})},[m,t,r,_,k]);hn(()=>{!1===d&&j.current.isPositioned&&(j.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[d]);const E=s.useRef(!1);hn(()=>(E.current=!0,()=>{E.current=!1}),[]),hn(()=>{if(x&&(S.current=x),C&&(N.current=C),x&&C){if($.current)return $.current(x,C,R);R()}},[x,C,R,$,P]);const T=s.useMemo(()=>({reference:S,floating:N,setReference:b,setFloating:w}),[b,w]),A=s.useMemo(()=>({reference:x,floating:C}),[x,C]),O=s.useMemo(()=>{const e={position:r,left:0,top:0};if(!A.floating)return e;const t=vn(A.floating,u.x),o=vn(A.floating,u.y);return l?{...e,transform:"translate("+t+"px, "+o+"px)",...yn(A.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:o}},[r,l,A.floating,u.x,u.y]);return s.useMemo(()=>({...u,update:R,refs:T,elements:A,floatingStyles:O}),[u,R,T,A,O])}({...e,elements:{...n,...l&&{reference:l}}}),f=s.useCallback(e=>{const t=xo(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;c(t),m.refs.setReference(t)},[m.refs]),h=s.useCallback(e=>{(xo(e)||null===e)&&(u.current=e,a(e)),(xo(m.refs.reference.current)||null===m.refs.reference.current||null!==e&&!xo(e))&&m.refs.setReference(e)},[m.refs]),g=s.useMemo(()=>({...m.refs,setReference:h,setPositionReference:f,domReference:u}),[m.refs,h,f]),y=s.useMemo(()=>({...m.elements,domReference:d}),[m.elements,d]),v=s.useMemo(()=>({...m,...o,refs:g,elements:y,nodeId:t}),[m,g,y,t,o]);return $n(()=>{o.dataRef.current.floatingContext=v;const e=null==p?void 0:p.nodesRef.current.find(e=>e.id===t);e&&(e.context=v)}),s.useMemo(()=>({...m,context:v,refs:g,elements:y}),[m,g,y,v])}function Dn(e,t){const r=function(e){if(void 0===e)return{shift:!0,flip:!0};const t={...e};return void 0===e.shift&&(t.shift=!0),void 0===e.flip&&(t.flip=!0),t}(e.middlewares),o=[xn(e.offset)];return r.shift&&o.push((e=>({...ln(e),options:[e,void 0]}))("boolean"==typeof r.shift?{limiter:Cn(),padding:5}:{limiter:Cn(),padding:5,...r.shift})),r.flip&&o.push("boolean"==typeof r.flip?Sn():Sn(r.flip)),r.inline&&o.push("boolean"==typeof r.inline?Nn():Nn(r.inline)),o.push((e=>({...wn(e),options:[e,void 0]}))({element:e.arrowRef,padding:e.arrowOffset})),(r.size||"target"===e.width)&&o.push((e=>({...dn(e),options:[e,void 0]}))({..."boolean"==typeof r.size?{}:r.size,apply({rects:o,availableWidth:n,availableHeight:s,...i}){const a=t(),l=a.refs.floating.current?.style??{};r.size&&("object"==typeof r.size&&r.size.apply?r.size.apply({rects:o,availableWidth:n,availableHeight:s,...i}):Object.assign(l,{maxWidth:`${n}px`,maxHeight:`${s}px`})),"target"===e.width&&Object.assign(l,{width:`${o.reference.width}px`})}})),o}function Ln(e){const[t,r]=dt({value:e.opened,defaultValue:e.defaultOpened,finalValue:!1,onChange:e.onChange}),o=(0,s.useRef)(t),n=zn({strategy:e.strategy,placement:e.position,middleware:Dn(e,()=>n)});return function({opened:e,floating:t,position:r,positionDependencies:o}){const[n,i]=(0,s.useState)(0);(0,s.useEffect)(()=>{if(t.refs.reference.current&&t.refs.floating.current&&e)return function(e,t,r,o){void 0===o&&(o={});const{ancestorScroll:n=!0,ancestorResize:s=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=Vo(e),d=n||s?[...c?Wo(c):[],...Wo(t)]:[];d.forEach(e=>{n&&e.addEventListener("scroll",r,{passive:!0}),s&&e.addEventListener("resize",r)});const u=c&&a?function(e,t){let r,o=null;const n=bo(e);function s(){var e;clearTimeout(r),null==(e=o)||e.disconnect(),o=null}return function i(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),s();const c=e.getBoundingClientRect(),{left:d,top:u,width:p,height:m}=c;if(a||t(),!p||!m)return;const f={rootMargin:-Vr(u)+"px "+-Vr(n.clientWidth-(d+p))+"px "+-Vr(n.clientHeight-(u+m))+"px "+-Vr(d)+"px",threshold:Hr(0,Wr(1,l))||1};let h=!0;function g(t){const o=t[0].intersectionRatio;if(o!==l){if(!h)return i();o?i(!1,o):r=setTimeout(()=>{i(!1,1e-7)},1e3)}1!==o||sn(c,e.getBoundingClientRect())||i(),h=!1}try{o=new IntersectionObserver(g,{...f,root:n.ownerDocument})}catch(e){o=new IntersectionObserver(g,f)}o.observe(e)}(!0),s}(c,r):null;let p,m=-1,f=null;i&&(f=new ResizeObserver(e=>{let[o]=e;o&&o.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),r()}),c&&!l&&f.observe(c),f.observe(t));let h=l?Uo(e):null;return l&&function t(){const o=Uo(e);h&&!sn(h,o)&&r(),h=o,p=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach(e=>{n&&e.removeEventListener("scroll",r),s&&e.removeEventListener("resize",r)}),null==u||u(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(p)}}(t.refs.reference.current,t.refs.floating.current,t.update)},[t.refs.reference.current,t.refs.floating.current,e,n,r]),ur(()=>{t.update()},o),ur(()=>{i(e=>e+1)},[e])}({opened:t,position:e.position,positionDependencies:e.positionDependencies||[],floating:n}),ur(()=>{e.onPositionChange?.(n.placement)},[n.placement]),ur(()=>{t!==o.current&&(t?e.onOpen?.():e.onClose?.()),o.current=t},[t,e.onClose,e.onOpen]),{floating:n,controlled:"boolean"==typeof e.opened,opened:t,onClose:()=>{t&&!e.disabled&&r(!1)},onToggle:()=>!e.disabled&&r(!t)}}const In={position:"bottom",offset:8,positionDependencies:[],transitionProps:{transition:"fade",duration:150},middlewares:{flip:!0,shift:!0,inline:!1},arrowSize:7,arrowOffset:5,arrowRadius:0,arrowPosition:"side",closeOnClickOutside:!0,withinPortal:!0,closeOnEscape:!0,trapFocus:!1,withRoles:!0,returnFocus:!1,withOverlay:!1,clickOutsideEvents:["mousedown","touchstart"],zIndex:Yt("popover"),__staticSelector:"Popover",width:"max-content"},Mn=(e,{radius:t,shadow:r})=>({dropdown:{"--popover-radius":void 0===t?void 0:ae(t),"--popover-shadow":ce(r)}});function Fn(e){const t=te("Popover",In,e),{children:r,position:o,offset:n,onPositionChange:i,positionDependencies:a,opened:l,transitionProps:d,onExitTransitionEnd:u,onEnterTransitionEnd:p,width:m,middlewares:f,withArrow:h,arrowSize:g,arrowOffset:y,arrowRadius:v,arrowPosition:b,unstyled:w,classNames:x,styles:C,closeOnClickOutside:S,withinPortal:N,portalProps:j,closeOnEscape:P,clickOutsideEvents:$,trapFocus:_,onClose:k,onDismiss:R,onOpen:E,onChange:T,zIndex:A,radius:O,shadow:z,id:D,defaultOpened:L,__staticSelector:I,withRoles:M,disabled:F,returnFocus:W,variant:H,keepMounted:B,vars:V,floatingStrategy:q,withOverlay:Y,overlayProps:X,...U}=t,K=Ce({name:I,props:t,classes:zr,classNames:x,styles:C,unstyled:w,rootSelector:"dropdown",vars:V,varsResolver:Mn}),{resolvedStyles:G}=Ft({classNames:x,styles:C,props:t}),Z=(0,s.useRef)(null),[J,Q]=(0,s.useState)(null),[ee,re]=(0,s.useState)(null),{dir:oe}=Ut(),ne=Mt(D),se=Ln({middlewares:f,width:m,position:Kt(oe,o),offset:"number"==typeof n?n+(h?g/2:0):n,arrowRef:Z,arrowOffset:y,onPositionChange:i,positionDependencies:a,opened:l,defaultOpened:L,onChange:T,onOpen:E,onClose:k,onDismiss:R,strategy:q,disabled:F});!function(e,t,r){const o=(0,s.useRef)(null);(0,s.useEffect)(()=>{const n=t=>{const{target:n}=t??{};if(Array.isArray(r)){const o=n?.hasAttribute("data-ignore-outside-clicks")||!document.body.contains(n)&&"HTML"!==n.tagName;r.every(e=>!!e&&!t.composedPath().includes(e))&&!o&&e()}else o.current&&!o.current.contains(n)&&e()};return(t||Vt).forEach(e=>document.addEventListener(e,n)),()=>{(t||Vt).forEach(e=>document.removeEventListener(e,n))}},[o,e,r])}(()=>{S&&(se.onClose(),R?.())},$,[J,ee]);const ie=(0,s.useCallback)(e=>{Q(e),se.floating.refs.setReference(e)},[se.floating.refs.setReference]),ae=(0,s.useCallback)(e=>{re(e),se.floating.refs.setFloating(e)},[se.floating.refs.setFloating]),le=(0,s.useCallback)(()=>{d?.onExited?.(),u?.()},[d?.onExited,u]),ce=(0,s.useCallback)(()=>{d?.onEntered?.(),p?.()},[d?.onEntered,p]);return(0,c.jsxs)(fr,{value:{returnFocus:W,disabled:F,controlled:se.controlled,reference:ie,floating:ae,x:se.floating.x,y:se.floating.y,arrowX:se.floating?.middlewareData?.arrow?.x,arrowY:se.floating?.middlewareData?.arrow?.y,opened:se.opened,arrowRef:Z,transitionProps:{...d,onExited:le,onEntered:ce},width:m,withArrow:h,arrowSize:g,arrowOffset:y,arrowRadius:v,arrowPosition:b,placement:se.floating.placement,trapFocus:_,withinPortal:N,portalProps:j,zIndex:A,radius:O,shadow:z,closeOnEscape:P,onDismiss:R,onClose:se.onClose,onToggle:se.onToggle,getTargetId:()=>`${ne}-target`,getDropdownId:()=>`${ne}-dropdown`,withRoles:M,targetProps:U,__staticSelector:I,classNames:x,styles:C,unstyled:w,variant:H,keepMounted:B,getStyles:K,resolvedStyles:G,floatingStrategy:q},children:[r,Y&&(0,c.jsx)(mr,{transition:"fade",mounted:se.opened,duration:d?.duration||250,exitDuration:d?.exitDuration||250,children:e=>(0,c.jsx)(ir,{withinPortal:N,children:(0,c.jsx)(Qt,{...X,...K("overlay",{className:X?.className,style:[e,X?.style]})})})})]})}Fn.Target=Fr,Fn.Dropdown=Lr,Fn.displayName="@mantine/core/Popover",Fn.extend=e=>e;const[Wn,Hn]=Ke("Combobox component was not found in tree");var Bn={dropdown:"m_88b62a41",search:"m_985517d8",options:"m_b2821a6e",option:"m_92253aa5",empty:"m_2530cd1d",header:"m_858f94bd",footer:"m_82b967cb",group:"m_254f3e4f",groupLabel:"m_2bb2e9e5",chevron:"m_2943220b",optionsDropdownOption:"m_390b5f4",optionsDropdownCheckIcon:"m_8ee53fc2"};const Vn={error:null},qn=(e,{size:t,color:r})=>({chevron:{"--combobox-chevron-size":se(t,"combobox-chevron-size"),"--combobox-chevron-color":r?$(r,e):void 0}}),Yn=oe((e,t)=>{const r=te("ComboboxChevron",Vn,e),{size:o,error:n,style:s,className:i,classNames:a,styles:l,unstyled:d,vars:u,mod:p,...m}=r,f=Ce({name:"ComboboxChevron",classes:Bn,props:r,style:s,className:i,classNames:a,styles:l,unstyled:d,vars:u,varsResolver:qn,rootSelector:"chevron"});return(0,c.jsx)(Fe,{component:"svg",...m,...f("chevron"),size:o,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",mod:["combobox-chevron",{error:n},p],ref:t,children:(0,c.jsx)("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})});function Xn(e=null){const t=(0,s.createContext)(e);return[({children:e,value:r})=>(0,c.jsx)(t.Provider,{value:r,children:e}),()=>(0,s.useContext)(t)]}Yn.classes=Bn,Yn.displayName="@mantine/core/ComboboxChevron";const[Un,Kn]=Xn({size:"sm"}),Gn=(0,s.forwardRef)(({size:e="var(--cb-icon-size, 70%)",style:t,...r},o)=>(0,c.jsx)("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...t,width:e,height:e},ref:o,...r,children:(0,c.jsx)("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}));Gn.displayName="@mantine/core/CloseIcon";var Zn={root:"m_86a44da5","root--subtle":"m_220c80f2"};const Jn={variant:"subtle"},Qn=(e,{size:t,radius:r,iconSize:o})=>({root:{"--cb-size":se(t,"cb-size"),"--cb-radius":void 0===r?void 0:ae(r),"--cb-icon-size":b(o)}}),es=qe((e,t)=>{const r=te("CloseButton",Jn,e),{iconSize:o,children:n,vars:s,radius:i,className:a,classNames:l,style:d,styles:u,unstyled:p,"data-disabled":m,disabled:f,variant:h,icon:g,mod:y,__staticSelector:v,...b}=r,w=Ce({name:v||"CloseButton",props:r,className:a,style:d,classes:Zn,classNames:l,styles:u,unstyled:p,vars:s,varsResolver:Qn});return(0,c.jsxs)(Ue,{ref:t,...b,unstyled:p,variant:h,disabled:f,mod:[{disabled:f||m},y],...w("root",{variant:h,active:!f&&!m}),children:[g||(0,c.jsx)(Gn,{}),n]})});es.classes=Zn,es.displayName="@mantine/core/CloseButton";const ts={},rs=oe((e,t)=>{const r=te("InputClearButton",ts,e),{size:o,variant:n,vars:s,classNames:i,styles:a,...l}=r,d=Kn(),{resolvedClassNames:u,resolvedStyles:p}=Ft({classNames:i,styles:a,props:r});return(0,c.jsx)(es,{variant:n||"transparent",ref:t,size:o||d?.size||"sm",classNames:u,styles:p,__staticSelector:"InputClearButton",...l})});rs.displayName="@mantine/core/InputClearButton";const[os,ns]=Xn({offsetBottom:!1,offsetTop:!1,describedBy:void 0,getStyles:null,inputId:void 0,labelId:void 0});var ss={wrapper:"m_6c018570",input:"m_8fb7ebe7",section:"m_82577fc2",placeholder:"m_88bacfd0",root:"m_46b77525",label:"m_8fdc1311",required:"m_78a94662",error:"m_8f816625",description:"m_fe47ce59"};const is={},as=(e,{size:t})=>({description:{"--input-description-size":void 0===t?void 0:`calc(${le(t)} - ${b(2)})`}}),ls=oe((e,t)=>{const r=te("InputDescription",is,e),{classNames:o,className:n,style:s,styles:i,unstyled:a,vars:l,size:d,__staticSelector:u,__inheritStyles:p=!0,variant:m,...f}=te("InputDescription",is,r),h=ns(),g=Ce({name:["InputWrapper",u],props:r,classes:ss,className:n,style:s,classNames:o,styles:i,unstyled:a,rootSelector:"description",vars:l,varsResolver:as}),y=p&&h?.getStyles||g;return(0,c.jsx)(Fe,{component:"p",ref:t,variant:m,size:d,...y("description",h?.getStyles?{className:n,style:s}:void 0),...f})});ls.classes=ss,ls.displayName="@mantine/core/InputDescription";const cs={},ds=(e,{size:t})=>({error:{"--input-error-size":void 0===t?void 0:`calc(${le(t)} - ${b(2)})`}}),us=oe((e,t)=>{const r=te("InputError",cs,e),{classNames:o,className:n,style:s,styles:i,unstyled:a,vars:l,size:d,__staticSelector:u,__inheritStyles:p=!0,variant:m,...f}=r,h=Ce({name:["InputWrapper",u],props:r,classes:ss,className:n,style:s,classNames:o,styles:i,unstyled:a,rootSelector:"error",vars:l,varsResolver:ds}),g=ns(),y=p&&g?.getStyles||h;return(0,c.jsx)(Fe,{component:"p",ref:t,variant:m,size:d,...y("error",g?.getStyles?{className:n,style:s}:void 0),...f})});us.classes=ss,us.displayName="@mantine/core/InputError";const ps={labelElement:"label"},ms=(e,{size:t})=>({label:{"--input-label-size":le(t),"--input-asterisk-color":void 0}}),fs=oe((e,t)=>{const r=te("InputLabel",ps,e),{classNames:o,className:n,style:s,styles:i,unstyled:a,vars:l,labelElement:d,size:u,required:p,htmlFor:m,onMouseDown:f,children:h,__staticSelector:g,variant:y,mod:v,...b}=te("InputLabel",ps,r),w=Ce({name:["InputWrapper",g],props:r,classes:ss,className:n,style:s,classNames:o,styles:i,unstyled:a,rootSelector:"label",vars:l,varsResolver:ms}),x=ns(),C=x?.getStyles||w;return(0,c.jsxs)(Fe,{...C("label",x?.getStyles?{className:n,style:s}:void 0),component:d,variant:y,size:u,ref:t,htmlFor:"label"===d?m:void 0,mod:[{required:p},v],onMouseDown:e=>{f?.(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault()},...b,children:[h,p&&(0,c.jsx)("span",{...C("required"),"aria-hidden":!0,children:" *"})]})});fs.classes=ss,fs.displayName="@mantine/core/InputLabel";const hs={},gs=oe((e,t)=>{const r=te("InputPlaceholder",hs,e),{classNames:o,className:n,style:s,styles:i,unstyled:a,vars:l,__staticSelector:d,variant:u,error:p,mod:m,...f}=te("InputPlaceholder",hs,r),h=Ce({name:["InputPlaceholder",d],props:r,classes:ss,className:n,style:s,classNames:o,styles:i,unstyled:a,rootSelector:"placeholder"});return(0,c.jsx)(Fe,{...h("placeholder"),mod:[{error:!!p},m],component:"span",variant:u,ref:t,...f})});function ys(e,{hasDescription:t,hasError:r}){const o=e.findIndex(e=>"input"===e),n=e.slice(0,o),s=e.slice(o+1),i=t&&n.includes("description")||r&&n.includes("error");return{offsetBottom:t&&s.includes("description")||r&&s.includes("error"),offsetTop:i}}gs.classes=ss,gs.displayName="@mantine/core/InputPlaceholder";const vs={labelElement:"label",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},bs=(e,{size:t})=>({label:{"--input-label-size":le(t),"--input-asterisk-color":void 0},error:{"--input-error-size":void 0===t?void 0:`calc(${le(t)} - ${b(2)})`},description:{"--input-description-size":void 0===t?void 0:`calc(${le(t)} - ${b(2)})`}}),ws=oe((e,t)=>{const r=te("InputWrapper",vs,e),{classNames:o,className:n,style:i,styles:a,unstyled:l,vars:d,size:u,variant:p,__staticSelector:m,inputContainer:f,inputWrapperOrder:h,label:g,error:y,description:v,labelProps:b,descriptionProps:w,errorProps:x,labelElement:C,children:S,withAsterisk:N,id:j,required:P,__stylesApiProps:$,mod:_,...k}=r,R=Ce({name:["InputWrapper",m],props:$||r,classes:ss,className:n,style:i,classNames:o,styles:a,unstyled:l,vars:d,varsResolver:bs}),E={size:u,variant:p,__staticSelector:m},T=Mt(j),A="boolean"==typeof N?N:P,O=x?.id||`${T}-error`,z=w?.id||`${T}-description`,D=T,L=!!y&&"boolean"!=typeof y,I=!!v,M=`${L?O:""} ${I?z:""}`,F=M.trim().length>0?M.trim():void 0,W=b?.id||`${T}-label`,H=g&&(0,c.jsx)(fs,{labelElement:C,id:W,htmlFor:D,required:A,...E,...b,children:g},"label"),B=I&&(0,c.jsx)(ls,{...w,...E,size:w?.size||E.size,id:w?.id||z,children:v},"description"),V=(0,c.jsx)(s.Fragment,{children:f(S)},"input"),q=L&&(0,s.createElement)(us,{...x,...E,size:x?.size||E.size,key:"error",id:x?.id||O},y),Y=h.map(e=>{switch(e){case"label":return H;case"input":return V;case"description":return B;case"error":return q;default:return null}});return(0,c.jsx)(os,{value:{getStyles:R,describedBy:F,inputId:D,labelId:W,...ys(h,{hasDescription:I,hasError:L})},children:(0,c.jsx)(Fe,{ref:t,variant:p,size:u,mod:[{error:!!y},_],...R("root"),...k,children:Y})})});ws.classes=ss,ws.displayName="@mantine/core/InputWrapper";const xs={variant:"default",leftSectionPointerEvents:"none",rightSectionPointerEvents:"none",withAria:!0,withErrorStyles:!0},Cs=(e,t,r)=>({wrapper:{"--input-margin-top":r.offsetTop?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-margin-bottom":r.offsetBottom?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-height":se(t.size,"input-height"),"--input-fz":le(t.size),"--input-radius":void 0===t.radius?void 0:ae(t.radius),"--input-left-section-width":void 0!==t.leftSectionWidth?b(t.leftSectionWidth):void 0,"--input-right-section-width":void 0!==t.rightSectionWidth?b(t.rightSectionWidth):void 0,"--input-padding-y":t.multiline?se(t.size,"input-padding-y"):void 0,"--input-left-section-pointer-events":t.leftSectionPointerEvents,"--input-right-section-pointer-events":t.rightSectionPointerEvents}}),Ss=qe((e,t)=>{const r=te("Input",xs,e),{classNames:o,className:n,style:s,styles:i,unstyled:a,required:l,__staticSelector:d,__stylesApiProps:u,size:p,wrapperProps:m,error:f,disabled:h,leftSection:g,leftSectionProps:y,leftSectionWidth:v,rightSection:b,rightSectionProps:w,rightSectionWidth:x,rightSectionPointerEvents:C,leftSectionPointerEvents:S,variant:N,vars:j,pointer:P,multiline:$,radius:_,id:k,withAria:R,withErrorStyles:E,mod:T,inputSize:A,__clearSection:O,__clearable:z,__defaultRightSection:D,...L}=r,{styleProps:I,rest:M}=Re(L),F=ns(),W=Ce({name:["Input",d],props:u||r,classes:ss,className:n,style:s,classNames:o,styles:i,unstyled:a,stylesCtx:{offsetBottom:F?.offsetBottom,offsetTop:F?.offsetTop},rootSelector:"wrapper",vars:j,varsResolver:Cs}),H=R?{required:l,disabled:h,"aria-invalid":!!f,"aria-describedby":F?.describedBy,id:F?.inputId||k}:{},B=b||z&&O||D;return(0,c.jsx)(Un,{value:{size:p||"sm"},children:(0,c.jsxs)(Fe,{...W("wrapper"),...I,...m,mod:[{error:!!f&&E,pointer:P,disabled:h,multiline:$,"data-with-right-section":!!B,"data-with-left-section":!!g},T],variant:N,size:p,children:[g&&(0,c.jsx)("div",{...y,"data-position":"left",...W("section",{className:y?.className,style:y?.style}),children:g}),(0,c.jsx)(Fe,{component:"input",...M,...H,ref:t,required:l,mod:{disabled:h,error:!!f&&E},variant:N,__size:A,...W("input")}),B&&(0,c.jsx)("div",{...w,"data-position":"right",...W("section",{className:w?.className,style:w?.style}),children:B})]})})});Ss.classes=ss,Ss.Wrapper=ws,Ss.Label=fs,Ss.Error=us,Ss.Description=ls,Ss.Placeholder=gs,Ss.ClearButton=rs,Ss.displayName="@mantine/core/Input";const Ns=(0,s.forwardRef)(({size:e,onMouseDown:t,onClick:r,onClear:o,...n},s)=>(0,c.jsx)(Ss.ClearButton,{ref:s,tabIndex:-1,"aria-hidden":!0,...n,onMouseDown:e=>{e.preventDefault(),t?.(e)},onClick:e=>{o(),r?.(e)}}));Ns.displayName="@mantine/core/ComboboxClearButton";const js={},Ps=oe((e,t)=>{const{classNames:r,styles:o,className:n,style:s,hidden:i,...a}=te("ComboboxDropdown",js,e),l=Hn();return(0,c.jsx)(Fn.Dropdown,{...a,ref:t,role:"presentation","data-hidden":i||void 0,...l.getStyles("dropdown",{className:n,style:s,classNames:r,styles:o})})});Ps.classes=Bn,Ps.displayName="@mantine/core/ComboboxDropdown";const $s={refProp:"ref"},_s=oe((e,t)=>{const{children:r,refProp:o}=te("ComboboxDropdownTarget",$s,e);if(Hn(),!kr(r))throw new Error("Combobox.DropdownTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");return(0,c.jsx)(Fn.Target,{ref:t,refProp:o,children:r})});_s.displayName="@mantine/core/ComboboxDropdownTarget";const ks={},Rs=oe((e,t)=>{const{classNames:r,className:o,style:n,styles:s,vars:i,...a}=te("ComboboxEmpty",ks,e),l=Hn();return(0,c.jsx)(Fe,{ref:t,...l.getStyles("empty",{className:o,classNames:r,styles:s,style:n}),...a})});function Es({onKeyDown:e,withKeyboardNavigation:t,withAriaAttributes:r,withExpandedAttribute:o,targetType:n,autoComplete:i}){const a=Hn(),[l,c]=(0,s.useState)(null);return{...r?{"aria-haspopup":"listbox","aria-expanded":o&&!(!a.store.listId||!a.store.dropdownOpened)||void 0,"aria-controls":a.store.dropdownOpened?a.store.listId:void 0,"aria-activedescendant":a.store.dropdownOpened&&l||void 0,autoComplete:i,"data-expanded":a.store.dropdownOpened||void 0,"data-mantine-stop-propagation":a.store.dropdownOpened||void 0}:{},onKeyDown:r=>{if(e?.(r),!a.readOnly&&t){if(r.nativeEvent.isComposing)return;if("ArrowDown"===r.nativeEvent.code&&(r.preventDefault(),a.store.dropdownOpened?c(a.store.selectNextOption()):(a.store.openDropdown("keyboard"),c(a.store.selectActiveOption()),a.store.updateSelectedOptionIndex("selected",{scrollIntoView:!0}))),"ArrowUp"===r.nativeEvent.code&&(r.preventDefault(),a.store.dropdownOpened?c(a.store.selectPreviousOption()):(a.store.openDropdown("keyboard"),c(a.store.selectActiveOption()),a.store.updateSelectedOptionIndex("selected",{scrollIntoView:!0}))),"Enter"===r.nativeEvent.code||"NumpadEnter"===r.nativeEvent.code){if(229===r.nativeEvent.keyCode)return;const e=a.store.getSelectedOptionIndex();a.store.dropdownOpened&&-1!==e?(r.preventDefault(),a.store.clickSelectedOption()):"button"===n&&(r.preventDefault(),a.store.openDropdown("keyboard"))}"Escape"===r.key&&a.store.closeDropdown("keyboard"),"Space"===r.nativeEvent.code&&"button"===n&&(r.preventDefault(),a.store.toggleDropdown("keyboard"))}}}}Rs.classes=Bn,Rs.displayName="@mantine/core/ComboboxEmpty";const Ts={refProp:"ref",targetType:"input",withKeyboardNavigation:!0,withAriaAttributes:!0,withExpandedAttribute:!1,autoComplete:"off"},As=oe((e,t)=>{const{children:r,refProp:o,withKeyboardNavigation:n,withAriaAttributes:i,withExpandedAttribute:a,targetType:l,autoComplete:c,...d}=te("ComboboxEventsTarget",Ts,e);if(!kr(r))throw new Error("Combobox.EventsTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const u=Hn(),p=Es({targetType:l,withAriaAttributes:i,withKeyboardNavigation:n,withExpandedAttribute:a,onKeyDown:r.props.onKeyDown,autoComplete:c});return(0,s.cloneElement)(r,{...p,...d,[o]:rr(t,u.store.targetRef,Ir(r))})});As.displayName="@mantine/core/ComboboxEventsTarget";const Os={},zs=oe((e,t)=>{const{classNames:r,className:o,style:n,styles:s,vars:i,...a}=te("ComboboxFooter",Os,e),l=Hn();return(0,c.jsx)(Fe,{ref:t,...l.getStyles("footer",{className:o,classNames:r,style:n,styles:s}),...a,onMouseDown:e=>{e.preventDefault()}})});zs.classes=Bn,zs.displayName="@mantine/core/ComboboxFooter";const Ds={},Ls=oe((e,t)=>{const{classNames:r,className:o,style:n,styles:s,vars:i,children:a,label:l,...d}=te("ComboboxGroup",Ds,e),u=Hn();return(0,c.jsxs)(Fe,{ref:t,...u.getStyles("group",{className:o,classNames:r,style:n,styles:s}),...d,children:[l&&(0,c.jsx)("div",{...u.getStyles("groupLabel",{classNames:r,styles:s}),children:l}),a]})});Ls.classes=Bn,Ls.displayName="@mantine/core/ComboboxGroup";const Is={},Ms=oe((e,t)=>{const{classNames:r,className:o,style:n,styles:s,vars:i,...a}=te("ComboboxHeader",Is,e),l=Hn();return(0,c.jsx)(Fe,{ref:t,...l.getStyles("header",{className:o,classNames:r,style:n,styles:s}),...a,onMouseDown:e=>{e.preventDefault()}})});function Fs({value:e,valuesDivider:t=",",...r}){return(0,c.jsx)("input",{type:"hidden",value:Array.isArray(e)?e.join(t):e||"",...r})}Ms.classes=Bn,Ms.displayName="@mantine/core/ComboboxHeader",Fs.displayName="@mantine/core/ComboboxHiddenInput";const Ws={},Hs=oe((e,t)=>{const r=te("ComboboxOption",Ws,e),{classNames:o,className:n,style:i,styles:a,vars:l,onClick:d,id:u,active:p,onMouseDown:m,onMouseOver:f,disabled:h,selected:g,mod:y,...v}=r,b=Hn(),w=(0,s.useId)(),x=u||w;return(0,c.jsx)(Fe,{...b.getStyles("option",{className:n,classNames:o,styles:a,style:i}),...v,ref:t,id:x,mod:["combobox-option",{"combobox-active":p,"combobox-disabled":h,"combobox-selected":g},y],role:"option",onClick:e=>{h?e.preventDefault():(b.onOptionSubmit?.(r.value,r),d?.(e))},onMouseDown:e=>{e.preventDefault(),m?.(e)},onMouseOver:e=>{b.resetSelectionOnOptionHover&&b.store.resetSelectedOption(),f?.(e)}})});Hs.classes=Bn,Hs.displayName="@mantine/core/ComboboxOption";const Bs={},Vs=oe((e,t)=>{const r=te("ComboboxOptions",Bs,e),{classNames:o,className:n,style:i,styles:a,id:l,onMouseDown:d,labelledBy:u,...p}=r,m=Hn(),f=Mt(l);return(0,s.useEffect)(()=>{m.store.setListId(f)},[f]),(0,c.jsx)(Fe,{ref:t,...m.getStyles("options",{className:n,style:i,classNames:o,styles:a}),...p,id:f,role:"listbox","aria-labelledby":u,onMouseDown:e=>{e.preventDefault(),d?.(e)}})});Vs.classes=Bn,Vs.displayName="@mantine/core/ComboboxOptions";const qs={withAriaAttributes:!0,withKeyboardNavigation:!0},Ys=oe((e,t)=>{const r=te("ComboboxSearch",qs,e),{classNames:o,styles:n,unstyled:s,vars:i,withAriaAttributes:a,onKeyDown:l,withKeyboardNavigation:d,size:u,...p}=r,m=Hn(),f=m.getStyles("search"),h=Es({targetType:"input",withAriaAttributes:a,withKeyboardNavigation:d,withExpandedAttribute:!1,onKeyDown:l,autoComplete:"off"});return(0,c.jsx)(Ss,{ref:rr(t,m.store.searchRef),classNames:[{input:f.className},o],styles:[{input:f.style},n],size:u||m.size,...h,...p,__staticSelector:"Combobox"})});Ys.classes=Bn,Ys.displayName="@mantine/core/ComboboxSearch";const Xs={refProp:"ref",targetType:"input",withKeyboardNavigation:!0,withAriaAttributes:!0,withExpandedAttribute:!1,autoComplete:"off"},Us=oe((e,t)=>{const{children:r,refProp:o,withKeyboardNavigation:n,withAriaAttributes:i,withExpandedAttribute:a,targetType:l,autoComplete:d,...u}=te("ComboboxTarget",Xs,e);if(!kr(r))throw new Error("Combobox.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");const p=Hn(),m=Es({targetType:l,withAriaAttributes:i,withKeyboardNavigation:n,withExpandedAttribute:a,onKeyDown:r.props.onKeyDown,autoComplete:d}),f=(0,s.cloneElement)(r,{...m,...u});return(0,c.jsx)(Fn.Target,{ref:rr(t,p.store.targetRef),children:f})});function Ks({defaultOpened:e,opened:t,onOpenedChange:r,onDropdownClose:o,onDropdownOpen:n,loop:i=!0,scrollBehavior:a="instant"}={}){const[l,c]=dt({value:t,defaultValue:e,finalValue:!1,onChange:r}),d=(0,s.useRef)(null),u=(0,s.useRef)(-1),p=(0,s.useRef)(null),m=(0,s.useRef)(null),f=(0,s.useRef)(-1),h=(0,s.useRef)(-1),g=(0,s.useRef)(-1),y=(0,s.useCallback)((e="unknown")=>{l||(c(!0),n?.(e))},[c,n,l]),v=(0,s.useCallback)((e="unknown")=>{l&&(c(!1),o?.(e))},[c,o,l]),b=(0,s.useCallback)((e="unknown")=>{l?v(e):y(e)},[v,y,l]),w=(0,s.useCallback)(()=>{const e=document.querySelector(`#${d.current} [data-combobox-selected]`);e?.removeAttribute("data-combobox-selected"),e?.removeAttribute("aria-selected")},[]),x=(0,s.useCallback)(e=>{const t=document.getElementById(d.current),r=t?.querySelectorAll("[data-combobox-option]");if(!r)return null;const o=e>=r.length?0:e<0?r.length-1:e;return u.current=o,r?.[o]&&!r[o].hasAttribute("data-combobox-disabled")?(w(),r[o].setAttribute("data-combobox-selected","true"),r[o].setAttribute("aria-selected","true"),r[o].scrollIntoView({block:"nearest",behavior:a}),r[o].id):null},[a,w]),C=(0,s.useCallback)(()=>{const e=document.querySelector(`#${d.current} [data-combobox-active]`);if(e){const t=document.querySelectorAll(`#${d.current} [data-combobox-option]`),r=Array.from(t).findIndex(t=>t===e);return x(r)}return x(0)},[x]),S=(0,s.useCallback)(()=>x(function(e,t,r){for(let r=e+1;r<t.length;r+=1)if(!t[r].hasAttribute("data-combobox-disabled"))return r;if(r)for(let e=0;e<t.length;e+=1)if(!t[e].hasAttribute("data-combobox-disabled"))return e;return e}(u.current,document.querySelectorAll(`#${d.current} [data-combobox-option]`),i)),[x,i]),N=(0,s.useCallback)(()=>x(function(e,t,r){for(let r=e-1;r>=0;r-=1)if(!t[r].hasAttribute("data-combobox-disabled"))return r;if(r)for(let e=t.length-1;e>-1;e-=1)if(!t[e].hasAttribute("data-combobox-disabled"))return e;return e}(u.current,document.querySelectorAll(`#${d.current} [data-combobox-option]`),i)),[x,i]),j=(0,s.useCallback)(()=>x(function(e){for(let t=0;t<e.length;t+=1)if(!e[t].hasAttribute("data-combobox-disabled"))return t;return-1}(document.querySelectorAll(`#${d.current} [data-combobox-option]`))),[x]),P=(0,s.useCallback)((e="selected",t)=>{g.current=window.setTimeout(()=>{const r=document.querySelectorAll(`#${d.current} [data-combobox-option]`),o=Array.from(r).findIndex(t=>t.hasAttribute(`data-combobox-${e}`));u.current=o,t?.scrollIntoView&&r[o]?.scrollIntoView({block:"nearest",behavior:a})},0)},[]),$=(0,s.useCallback)(()=>{u.current=-1,w()},[w]),_=(0,s.useCallback)(()=>{const e=document.querySelectorAll(`#${d.current} [data-combobox-option]`),t=e?.[u.current];t?.click()},[]),k=(0,s.useCallback)(e=>{d.current=e},[]),R=(0,s.useCallback)(()=>{f.current=window.setTimeout(()=>p.current.focus(),0)},[]),E=(0,s.useCallback)(()=>{h.current=window.setTimeout(()=>m.current.focus(),0)},[]),T=(0,s.useCallback)(()=>u.current,[]);return(0,s.useEffect)(()=>()=>{window.clearTimeout(f.current),window.clearTimeout(h.current),window.clearTimeout(g.current)},[]),{dropdownOpened:l,openDropdown:y,closeDropdown:v,toggleDropdown:b,selectedOptionIndex:u.current,getSelectedOptionIndex:T,selectOption:x,selectFirstOption:j,selectActiveOption:C,selectNextOption:S,selectPreviousOption:N,resetSelectedOption:$,updateSelectedOptionIndex:P,listId:d.current,setListId:k,clickSelectedOption:_,searchRef:p,focusSearchInput:R,targetRef:m,focusTarget:E}}Us.displayName="@mantine/core/ComboboxTarget";const Gs={keepMounted:!0,withinPortal:!0,resetSelectionOnOptionHover:!1,width:"target",transitionProps:{transition:"fade",duration:0}},Zs=(e,{size:t,dropdownPadding:r})=>({options:{"--combobox-option-fz":le(t),"--combobox-option-padding":se(t,"combobox-option-padding")},dropdown:{"--combobox-padding":void 0===r?void 0:b(r),"--combobox-option-fz":le(t),"--combobox-option-padding":se(t,"combobox-option-padding")}});function Js(e){const t=te("Combobox",Gs,e),{classNames:r,styles:o,unstyled:n,children:s,store:i,vars:a,onOptionSubmit:l,onClose:d,size:u,dropdownPadding:p,resetSelectionOnOptionHover:m,__staticSelector:f,readOnly:h,...g}=t,y=Ks(),v=i||y,b=Ce({name:f||"Combobox",classes:Bn,props:t,classNames:r,styles:o,unstyled:n,vars:a,varsResolver:Zs});return(0,c.jsx)(Wn,{value:{getStyles:b,store:v,onOptionSubmit:l,size:u,resetSelectionOnOptionHover:m,readOnly:h},children:(0,c.jsx)(Fn,{opened:v.dropdownOpened,...g,onChange:e=>!e&&(d?.(),void v.closeDropdown()),withRoles:!1,unstyled:n,children:s})})}function Qs({size:e,style:t,...r}){const o=void 0!==e?{width:b(e),height:b(e),...t}:t;return(0,c.jsx)("svg",{viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:o,"aria-hidden":!0,...r,children:(0,c.jsx)("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}Js.extend=e=>e,Js.classes=Bn,Js.displayName="@mantine/core/Combobox",Js.Target=Us,Js.Dropdown=Ps,Js.Options=Vs,Js.Option=Hs,Js.Search=Ys,Js.Empty=Rs,Js.Chevron=Yn,Js.Footer=zs,Js.Header=Ms,Js.EventsTarget=As,Js.DropdownTarget=_s,Js.Group=Ls,Js.ClearButton=Ns,Js.HiddenInput=Fs;const[ei,ti]=Ke("ScrollArea.Root component was not found in tree");function ri(e){const t=(0,s.useRef)(e);return(0,s.useEffect)(()=>{t.current=e}),(0,s.useMemo)(()=>(...e)=>t.current?.(...e),[])}function oi(e,t){const r=ri(t);Z(()=>{let t=0;if(e){const o=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return o.observe(e),()=>{window.cancelAnimationFrame(t),o.unobserve(e)}}},[e,r])}const ni=(0,s.forwardRef)((e,t)=>{const{style:r,...o}=e,n=ti(),[i,a]=(0,s.useState)(0),[l,d]=(0,s.useState)(0),u=Boolean(i&&l);return oi(n.scrollbarX,()=>{const e=n.scrollbarX?.offsetHeight||0;n.onCornerHeightChange(e),d(e)}),oi(n.scrollbarY,()=>{const e=n.scrollbarY?.offsetWidth||0;n.onCornerWidthChange(e),a(e)}),u?(0,c.jsx)("div",{...o,ref:t,style:{...r,width:i,height:l}}):null}),si=(0,s.forwardRef)((e,t)=>{const r=ti(),o=Boolean(r.scrollbarX&&r.scrollbarY);return"scroll"!==r.type&&o?(0,c.jsx)(ni,{...e,ref:t}):null}),ii={scrollHideDelay:1e3,type:"hover"},ai=(0,s.forwardRef)((e,t)=>{const r=te("ScrollAreaRoot",ii,e),{type:o,scrollHideDelay:n,scrollbars:i,...a}=r,[l,d]=(0,s.useState)(null),[u,p]=(0,s.useState)(null),[m,f]=(0,s.useState)(null),[h,g]=(0,s.useState)(null),[y,v]=(0,s.useState)(null),[b,w]=(0,s.useState)(0),[x,C]=(0,s.useState)(0),[S,N]=(0,s.useState)(!1),[j,P]=(0,s.useState)(!1),$=rr(t,e=>d(e));return(0,c.jsx)(ei,{value:{type:o,scrollHideDelay:n,scrollArea:l,viewport:u,onViewportChange:p,content:m,onContentChange:f,scrollbarX:h,onScrollbarXChange:g,scrollbarXEnabled:S,onScrollbarXEnabledChange:N,scrollbarY:y,onScrollbarYChange:v,scrollbarYEnabled:j,onScrollbarYEnabledChange:P,onCornerWidthChange:w,onCornerHeightChange:C},children:(0,c.jsx)(Fe,{...a,ref:$,__vars:{"--sa-corner-width":"xy"!==i?"0px":`${b}px`,"--sa-corner-height":"xy"!==i?"0px":`${x}px`}})})});function li(e,t){const r="number"==typeof t?t:t.delay,o="number"!=typeof t&&t.flushOnUnmount,n=ri(e),i=(0,s.useRef)(0),a=(0,s.useRef)(()=>{}),l=Object.assign((0,s.useCallback)((...e)=>{window.clearTimeout(i.current);const t=()=>{0!==i.current&&(i.current=0,n(...e))};a.current=t,l.flush=t,i.current=window.setTimeout(t,r)},[n,r]),{flush:a.current});return(0,s.useEffect)(()=>()=>{window.clearTimeout(i.current),o&&l.flush()},[l,o]),l}function ci(e,t){const r=e/t;return Number.isNaN(r)?0:r}function di(e){const t=ci(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,o=(e.scrollbar.size-r)*t;return Math.max(o,18)}function ui(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const o=(t[1]-t[0])/(e[1]-e[0]);return t[0]+o*(r-e[0])}}function pi(e,t,r="ltr"){const o=di(t),n=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,s=t.scrollbar.size-n,i=t.content-t.viewport,a=s-o,l=function(e,[t,r]){return Math.min(r,Math.max(t,e))}(e,"ltr"===r?[0,i]:[-1*i,0]);return ui([0,i],[0,a])(l)}function mi(e,t){return e>0&&e<t}function fi(e){return e?parseInt(e,10):0}function hi(e,t,{checkForDefaultPrevented:r=!0}={}){return o=>{e?.(o),!1!==r&&o.defaultPrevented||t?.(o)}}ai.displayName="@mantine/core/ScrollAreaRoot";const[gi,yi]=Ke("ScrollAreaScrollbar was not found in tree"),vi=(0,s.forwardRef)((e,t)=>{const{sizes:r,hasThumb:o,onThumbChange:n,onThumbPointerUp:i,onThumbPointerDown:a,onThumbPositionChange:l,onDragScroll:d,onWheelScroll:u,onResize:p,...m}=e,f=ti(),[h,g]=(0,s.useState)(null),y=rr(t,e=>g(e)),v=(0,s.useRef)(null),b=(0,s.useRef)(""),{viewport:w}=f,x=r.content-r.viewport,C=ri(u),S=ri(l),N=li(p,10),j=e=>{if(v.current){const t=e.clientX-v.current.left,r=e.clientY-v.current.top;d({x:t,y:r})}};return(0,s.useEffect)(()=>{const e=e=>{const t=e.target,r=h?.contains(t);r&&C(e,x)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[w,h,x,C]),(0,s.useEffect)(S,[r,S]),oi(h,N),oi(f.content,N),(0,c.jsx)(gi,{value:{scrollbar:h,hasThumb:o,onThumbChange:ri(n),onThumbPointerUp:ri(i),onThumbPositionChange:S,onThumbPointerDown:ri(a)},children:(0,c.jsx)("div",{...m,ref:y,"data-mantine-scrollbar":!0,style:{position:"absolute",...m.style},onPointerDown:hi(e.onPointerDown,e=>{e.preventDefault(),0===e.button&&(e.target.setPointerCapture(e.pointerId),v.current=h.getBoundingClientRect(),b.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",j(e))}),onPointerMove:hi(e.onPointerMove,j),onPointerUp:hi(e.onPointerUp,e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&(e.preventDefault(),t.releasePointerCapture(e.pointerId))}),onLostPointerCapture:()=>{document.body.style.webkitUserSelect=b.current,v.current=null}})})}),bi=(0,s.forwardRef)((e,t)=>{const{sizes:r,onSizesChange:o,style:n,...i}=e,a=ti(),[l,d]=(0,s.useState)(),u=(0,s.useRef)(null),p=rr(t,u,a.onScrollbarXChange);return(0,s.useEffect)(()=>{u.current&&d(getComputedStyle(u.current))},[u]),(0,c.jsx)(vi,{"data-orientation":"horizontal",...i,ref:p,sizes:r,style:{...n,"--sa-thumb-width":`${di(r)}px`},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(a.viewport){const o=a.viewport.scrollLeft+t.deltaX;e.onWheelScroll(o),mi(o,r)&&t.preventDefault()}},onResize:()=>{u.current&&a.viewport&&l&&o({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:fi(l.paddingLeft),paddingEnd:fi(l.paddingRight)}})}})});bi.displayName="@mantine/core/ScrollAreaScrollbarX";const wi=(0,s.forwardRef)((e,t)=>{const{sizes:r,onSizesChange:o,style:n,...i}=e,a=ti(),[l,d]=(0,s.useState)(),u=(0,s.useRef)(null),p=rr(t,u,a.onScrollbarYChange);return(0,s.useEffect)(()=>{u.current&&d(window.getComputedStyle(u.current))},[]),(0,c.jsx)(vi,{...i,"data-orientation":"vertical",ref:p,sizes:r,style:{"--sa-thumb-height":`${di(r)}px`,...n},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(a.viewport){const o=a.viewport.scrollTop+t.deltaY;e.onWheelScroll(o),mi(o,r)&&t.preventDefault()}},onResize:()=>{u.current&&a.viewport&&l&&o({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:fi(l.paddingTop),paddingEnd:fi(l.paddingBottom)}})}})});wi.displayName="@mantine/core/ScrollAreaScrollbarY";const xi=(0,s.forwardRef)((e,t)=>{const{orientation:r="vertical",...o}=e,{dir:n}=Ut(),i=ti(),a=(0,s.useRef)(null),l=(0,s.useRef)(0),[d,u]=(0,s.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),p=ci(d.viewport,d.content),m={...o,sizes:d,onSizesChange:u,hasThumb:Boolean(p>0&&p<1),onThumbChange:e=>{a.current=e},onThumbPointerUp:()=>{l.current=0},onThumbPointerDown:e=>{l.current=e}},f=(e,t)=>function(e,t,r,o="ltr"){const n=di(r),s=t||n/2,i=n-s,a=r.scrollbar.paddingStart+s,l=r.scrollbar.size-r.scrollbar.paddingEnd-i,c=r.content-r.viewport;return ui([a,l],"ltr"===o?[0,c]:[-1*c,0])(e)}(e,l.current,d,t);return"horizontal"===r?(0,c.jsx)(bi,{...m,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){const e=pi(i.viewport.scrollLeft,d,n);a.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=f(e,n))}}):"vertical"===r?(0,c.jsx)(wi,{...m,ref:t,onThumbPositionChange:()=>{if(i.viewport&&a.current){const e=pi(i.viewport.scrollTop,d);0===d.scrollbar.size?a.current.style.setProperty("--thumb-opacity","0"):a.current.style.setProperty("--thumb-opacity","1"),a.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=f(e))}}):null});xi.displayName="@mantine/core/ScrollAreaScrollbarVisible";const Ci=(0,s.forwardRef)((e,t)=>{const r=ti(),{forceMount:o,...n}=e,[i,a]=(0,s.useState)(!1),l="horizontal"===e.orientation,d=li(()=>{if(r.viewport){const e=r.viewport.offsetWidth<r.viewport.scrollWidth,t=r.viewport.offsetHeight<r.viewport.scrollHeight;a(l?e:t)}},10);return oi(r.viewport,d),oi(r.content,d),o||i?(0,c.jsx)(xi,{"data-state":i?"visible":"hidden",...n,ref:t}):null});Ci.displayName="@mantine/core/ScrollAreaScrollbarAuto";const Si=(0,s.forwardRef)((e,t)=>{const{forceMount:r,...o}=e,n=ti(),[i,a]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{const{scrollArea:e}=n;let t=0;if(e){const r=()=>{window.clearTimeout(t),a(!0)},o=()=>{t=window.setTimeout(()=>a(!1),n.scrollHideDelay)};return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",o),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",o)}}},[n.scrollArea,n.scrollHideDelay]),r||i?(0,c.jsx)(Ci,{"data-state":i?"visible":"hidden",...o,ref:t}):null});Si.displayName="@mantine/core/ScrollAreaScrollbarHover";const Ni=(0,s.forwardRef)((e,t)=>{const{forceMount:r,...o}=e,n=ti(),i="horizontal"===e.orientation,[a,l]=(0,s.useState)("hidden"),d=li(()=>l("idle"),100);return(0,s.useEffect)(()=>{if("idle"===a){const e=window.setTimeout(()=>l("hidden"),n.scrollHideDelay);return()=>window.clearTimeout(e)}},[a,n.scrollHideDelay]),(0,s.useEffect)(()=>{const{viewport:e}=n,t=i?"scrollLeft":"scrollTop";if(e){let r=e[t];const o=()=>{const o=e[t];r!==o&&(l("scrolling"),d()),r=o};return e.addEventListener("scroll",o),()=>e.removeEventListener("scroll",o)}},[n.viewport,i,d]),r||"hidden"!==a?(0,c.jsx)(xi,{"data-state":"hidden"===a?"hidden":"visible",...o,ref:t,onPointerEnter:hi(e.onPointerEnter,()=>l("interacting")),onPointerLeave:hi(e.onPointerLeave,()=>l("idle"))}):null}),ji=(0,s.forwardRef)((e,t)=>{const{forceMount:r,...o}=e,n=ti(),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:a}=n,l="horizontal"===e.orientation;return(0,s.useEffect)(()=>(l?i(!0):a(!0),()=>{l?i(!1):a(!1)}),[l,i,a]),"hover"===n.type?(0,c.jsx)(Si,{...o,ref:t,forceMount:r}):"scroll"===n.type?(0,c.jsx)(Ni,{...o,ref:t,forceMount:r}):"auto"===n.type?(0,c.jsx)(Ci,{...o,ref:t,forceMount:r}):"always"===n.type?(0,c.jsx)(xi,{...o,ref:t}):null});ji.displayName="@mantine/core/ScrollAreaScrollbar";const Pi=(0,s.forwardRef)((e,t)=>{const{style:r,...o}=e,n=ti(),i=yi(),{onThumbPositionChange:a}=i,l=rr(t,e=>i.onThumbChange(e)),d=(0,s.useRef)(void 0),u=li(()=>{d.current&&(d.current(),d.current=void 0)},100);return(0,s.useEffect)(()=>{const{viewport:e}=n;if(e){const t=()=>{if(u(),!d.current){const t=function(e,t=()=>{}){let r={left:e.scrollLeft,top:e.scrollTop},o=0;return function n(){const s={left:e.scrollLeft,top:e.scrollTop},i=r.left!==s.left,a=r.top!==s.top;(i||a)&&t(),r=s,o=window.requestAnimationFrame(n)}(),()=>window.cancelAnimationFrame(o)}(e,a);d.current=t,a()}};return a(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[n.viewport,u,a]),(0,c.jsx)("div",{"data-state":i.hasThumb?"visible":"hidden",...o,ref:l,style:{width:"var(--sa-thumb-width)",height:"var(--sa-thumb-height)",...r},onPointerDownCapture:hi(e.onPointerDownCapture,e=>{const t=e.target.getBoundingClientRect(),r=e.clientX-t.left,o=e.clientY-t.top;i.onThumbPointerDown({x:r,y:o})}),onPointerUp:hi(e.onPointerUp,i.onThumbPointerUp)})});Pi.displayName="@mantine/core/ScrollAreaThumb";const $i=(0,s.forwardRef)((e,t)=>{const{forceMount:r,...o}=e,n=yi();return r||n.hasThumb?(0,c.jsx)(Pi,{ref:t,...o}):null});$i.displayName="@mantine/core/ScrollAreaThumb";const _i=(0,s.forwardRef)(({children:e,style:t,...r},o)=>{const n=ti(),s=rr(o,n.onViewportChange);return(0,c.jsx)(Fe,{...r,ref:s,style:{overflowX:n.scrollbarXEnabled?"scroll":"hidden",overflowY:n.scrollbarYEnabled?"scroll":"hidden",...t},children:(0,c.jsx)("div",{style:{minWidth:"100%"},ref:n.onContentChange,children:e})})});_i.displayName="@mantine/core/ScrollAreaViewport";var ki={root:"m_d57069b5",viewport:"m_c0783ff9",viewportInner:"m_f8f631dd",scrollbar:"m_c44ba933",thumb:"m_d8b5e363",corner:"m_21657268"};const Ri={scrollHideDelay:1e3,type:"hover",scrollbars:"xy"},Ei=(e,{scrollbarSize:t,overscrollBehavior:r})=>({root:{"--scrollarea-scrollbar-size":b(t),"--scrollarea-over-scroll-behavior":r}}),Ti=oe((e,t)=>{const r=te("ScrollArea",Ri,e),{classNames:o,className:n,style:i,styles:a,unstyled:l,scrollbarSize:d,vars:u,type:p,scrollHideDelay:m,viewportProps:f,viewportRef:h,onScrollPositionChange:g,children:y,offsetScrollbars:v,scrollbars:b,onBottomReached:w,onTopReached:x,overscrollBehavior:C,...S}=r,[N,j]=(0,s.useState)(!1),[P,$]=(0,s.useState)(!1),[_,k]=(0,s.useState)(!1),R=Ce({name:"ScrollArea",props:r,classes:ki,className:n,style:i,classNames:o,styles:a,unstyled:l,vars:u,varsResolver:Ei}),E=(0,s.useRef)(null),T=(A=[h,E],s.useMemo(()=>A.every(e=>null==e)?null:e=>{A.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})},A));var A;return(0,s.useEffect)(()=>{if(!E.current)return;if("present"!==v)return;const e=E.current,t=new ResizeObserver(()=>{const{scrollHeight:t,clientHeight:r,scrollWidth:o,clientWidth:n}=e;$(t>r),k(o>n)});return t.observe(e),()=>t.disconnect()},[E,v]),(0,c.jsxs)(ai,{type:"never"===p?"always":p,scrollHideDelay:m,ref:t,scrollbars:b,...R("root"),...S,children:[(0,c.jsx)(_i,{...f,...R("viewport",{style:f?.style}),ref:T,"data-offset-scrollbars":!0===v?"xy":v||void 0,"data-scrollbars":b||void 0,"data-horizontal-hidden":"present"!==v||_?void 0:"true","data-vertical-hidden":"present"!==v||P?void 0:"true",onScroll:e=>{f?.onScroll?.(e),g?.({x:e.currentTarget.scrollLeft,y:e.currentTarget.scrollTop});const{scrollTop:t,scrollHeight:r,clientHeight:o}=e.currentTarget;t-(r-o)>=-.6&&w?.(),0===t&&x?.()},children:y}),("xy"===b||"x"===b)&&(0,c.jsx)(ji,{...R("scrollbar"),orientation:"horizontal","data-hidden":"never"===p||"present"===v&&!_||void 0,forceMount:!0,onMouseEnter:()=>j(!0),onMouseLeave:()=>j(!1),children:(0,c.jsx)($i,{...R("thumb")})}),("xy"===b||"y"===b)&&(0,c.jsx)(ji,{...R("scrollbar"),orientation:"vertical","data-hidden":"never"===p||"present"===v&&!P||void 0,forceMount:!0,onMouseEnter:()=>j(!0),onMouseLeave:()=>j(!1),children:(0,c.jsx)($i,{...R("thumb")})}),(0,c.jsx)(si,{...R("corner"),"data-hovered":N||void 0,"data-hidden":"never"===p||void 0})]})});Ti.displayName="@mantine/core/ScrollArea";const Ai=oe((e,t)=>{const{children:r,classNames:o,styles:n,scrollbarSize:s,scrollHideDelay:i,type:a,dir:l,offsetScrollbars:d,viewportRef:u,onScrollPositionChange:p,unstyled:m,variant:f,viewportProps:h,scrollbars:g,style:y,vars:v,onBottomReached:b,onTopReached:w,...x}=te("ScrollAreaAutosize",Ri,e);return(0,c.jsx)(Fe,{...x,ref:t,style:[{display:"flex",overflow:"auto"},y],children:(0,c.jsx)(Fe,{style:{display:"flex",flexDirection:"column",flex:1},children:(0,c.jsx)(Ti,{classNames:o,styles:n,scrollHideDelay:i,scrollbarSize:s,type:a,dir:l,offsetScrollbars:d,viewportRef:u,onScrollPositionChange:p,unstyled:m,variant:f,viewportProps:h,vars:v,scrollbars:g,onBottomReached:b,onTopReached:w,children:r})})})});function Oi(e){return"group"in e}function zi({options:e,search:t,limit:r}){const o=t.trim().toLowerCase(),n=[];for(let s=0;s<e.length;s+=1){const i=e[s];if(n.length===r)return n;Oi(i)&&n.push({group:i.group,items:zi({options:i.items,search:t,limit:r-n.length})}),Oi(i)||i.label.toLowerCase().includes(o)&&n.push(i)}return n}function Di(e,t=new Set){if(Array.isArray(e))for(const r of e)if(Oi(r))Di(r.items,t);else{if(void 0===r.value)throw new Error("[@mantine/core] Each option must have value property");if("string"!=typeof r.value)throw new Error("[@mantine/core] Option value must be a string, other data formats are not supported, got "+typeof r.value);if(t.has(r.value))throw new Error(`[@mantine/core] Duplicate options are not supported. Option with value "${r.value}" was provided more than once`);t.add(r.value)}}function Li({data:e,withCheckIcon:t,value:r,checkIconPosition:o,unstyled:n,renderOption:s}){if(!Oi(e)){const i=function(e,t){return Array.isArray(e)?e.includes(t):e===t}(r,e.value),a=t&&i&&(0,c.jsx)(Qs,{className:Bn.optionsDropdownCheckIcon}),l=(0,c.jsxs)(c.Fragment,{children:["left"===o&&a,(0,c.jsx)("span",{children:e.label}),"right"===o&&a]});return(0,c.jsx)(Js.Option,{value:e.value,disabled:e.disabled,className:ue({[Bn.optionsDropdownOption]:!n}),"data-reverse":"right"===o||void 0,"data-checked":i||void 0,"aria-selected":i,active:i,children:"function"==typeof s?s({option:e,checked:i}):l})}const i=e.items.map(e=>(0,c.jsx)(Li,{data:e,value:r,unstyled:n,withCheckIcon:t,checkIconPosition:o,renderOption:s},e.value));return(0,c.jsx)(Js.Group,{label:e.group,children:i})}function Ii({data:e,hidden:t,hiddenWhenEmpty:r,filter:o,search:n,limit:s,maxDropdownHeight:i,withScrollArea:a=!0,filterOptions:l=!0,withCheckIcon:d=!1,value:u,checkIconPosition:p,nothingFoundMessage:m,unstyled:f,labelId:h,renderOption:g,scrollAreaProps:y,"aria-label":v}){Di(e);const b="string"==typeof n?(o||zi)({options:e,search:l?n:"",limit:s??1/0}):e,w=function(e){if(0===e.length)return!0;for(const t of e){if(!("group"in t))return!1;if(t.items.length>0)return!1}return!0}(b),x=b.map(e=>(0,c.jsx)(Li,{data:e,withCheckIcon:d,value:u,checkIconPosition:p,unstyled:f,renderOption:g},Oi(e)?e.group:e.value));return(0,c.jsx)(Js.Dropdown,{hidden:t||r&&w,"data-composed":!0,children:(0,c.jsxs)(Js.Options,{labelledBy:h,"aria-label":v,children:[a?(0,c.jsx)(Ti.Autosize,{mah:i??220,type:"scroll",scrollbarSize:"var(--combobox-padding)",offsetScrollbars:"y",...y,children:x}):x,w&&m&&(0,c.jsx)(Js.Empty,{children:m})]})})}Ti.classes=ki,Ai.displayName="@mantine/core/ScrollAreaAutosize",Ai.classes=ki,Ti.Autosize=Ai;const Mi={__staticSelector:"InputBase",withAria:!0},Fi=qe((e,t)=>{const{inputProps:r,wrapperProps:o,...n}=function(e,t,r){const o=te("InputBase",t,r),{label:n,description:s,error:i,required:a,classNames:l,styles:c,className:d,unstyled:u,__staticSelector:p,__stylesApiProps:m,errorProps:f,labelProps:h,descriptionProps:g,wrapperProps:y,id:v,size:b,style:w,inputContainer:x,inputWrapperOrder:C,withAsterisk:S,variant:N,vars:j,mod:P,...$}=o,{styleProps:_,rest:k}=Re($);return{...k,classNames:l,styles:c,unstyled:u,wrapperProps:{...{label:n,description:s,error:i,required:a,classNames:l,className:d,__staticSelector:p,__stylesApiProps:m||o,errorProps:f,labelProps:h,descriptionProps:g,unstyled:u,styles:c,size:b,style:w,inputContainer:x,inputWrapperOrder:C,withAsterisk:S,variant:N,id:v,mod:P,...y},..._},inputProps:{required:a,classNames:l,styles:c,unstyled:u,size:b,__staticSelector:p,__stylesApiProps:m||o,error:i,variant:N,id:v}}}(0,Mi,e);return(0,c.jsx)(Ss.Wrapper,{...o,children:(0,c.jsx)(Ss,{...r,...n,ref:t})})});Fi.classes={...Ss.classes,...Ss.Wrapper.classes},Fi.displayName="@mantine/core/InputBase";const Wi={searchable:!1,withCheckIcon:!0,allowDeselect:!0,checkIconPosition:"left"},Hi=oe((e,t)=>{const r=te("Select",Wi,e),{classNames:o,styles:n,unstyled:i,vars:a,dropdownOpened:l,defaultDropdownOpened:d,onDropdownClose:u,onDropdownOpen:p,onFocus:m,onBlur:f,onClick:h,onChange:g,data:y,value:v,defaultValue:b,selectFirstOptionOnChange:w,onOptionSubmit:x,comboboxProps:C,readOnly:S,disabled:N,filter:j,limit:P,withScrollArea:$,maxDropdownHeight:_,size:k,searchable:R,rightSection:E,checkIconPosition:T,withCheckIcon:A,nothingFoundMessage:O,name:z,form:D,searchValue:L,defaultSearchValue:I,onSearchChange:M,allowDeselect:F,error:W,rightSectionPointerEvents:H,id:B,clearable:V,clearButtonProps:q,hiddenInputProps:Y,renderOption:X,onClear:U,autoComplete:K,scrollAreaProps:G,__defaultRightSection:Z,__clearSection:J,__clearable:Q,chevronColor:ee,...re}=r,oe=(0,s.useMemo)(()=>Ht(y),[y]),ne=(0,s.useMemo)(()=>Bt(oe),[oe]),se=Mt(B),[ie,ae,le]=dt({value:v,defaultValue:b,finalValue:null,onChange:g}),ce="string"==typeof ie?ne[ie]:void 0,de=function(e){const t=(0,s.useRef)(void 0);return(0,s.useEffect)(()=>{t.current=e},[e]),t.current}(ce),[ue,pe,me]=dt({value:L,defaultValue:I,finalValue:ce?ce.label:"",onChange:M}),fe=Ks({opened:l,defaultOpened:d,onDropdownOpen:()=>{p?.(),fe.updateSelectedOptionIndex("active",{scrollIntoView:!0})},onDropdownClose:()=>{u?.(),fe.resetSelectedOption()}}),he=e=>{pe(e),fe.resetSelectedOption()},{resolvedClassNames:ge,resolvedStyles:ye}=Ft({props:r,styles:n,classNames:o});(0,s.useEffect)(()=>{w&&fe.selectFirstOption()},[w,ue]),(0,s.useEffect)(()=>{null===v&&he(""),"string"!=typeof v||!ce||de?.value===ce.value&&de?.label===ce.label||he(ce.label)},[v,ce]),(0,s.useEffect)(()=>{le||me||he("string"==typeof ie&&ne[ie]?.label||"")},[y,ie]);const ve=(0,c.jsx)(Js.ClearButton,{...q,onClear:()=>{ae(null,null),he(""),U?.()}}),be=V&&!!ie&&!N&&!S;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)(Js,{store:fe,__staticSelector:"Select",classNames:ge,styles:ye,unstyled:i,readOnly:S,onOptionSubmit:e=>{x?.(e);const t=F&&ne[e].value===ie?null:ne[e],r=t?t.value:null;r!==ie&&ae(r,t),!le&&he("string"==typeof r&&t?.label||""),fe.closeDropdown()},size:k,...C,children:[(0,c.jsx)(Js.Target,{targetType:R?"input":"button",autoComplete:K,children:(0,c.jsx)(Fi,{id:se,ref:t,__defaultRightSection:(0,c.jsx)(Js.Chevron,{size:k,error:W,unstyled:i,color:ee}),__clearSection:ve,__clearable:be,rightSection:E,rightSectionPointerEvents:H||(be?"all":"none"),...re,size:k,__staticSelector:"Select",disabled:N,readOnly:S||!R,value:ue,onChange:e=>{he(e.currentTarget.value),fe.openDropdown(),w&&fe.selectFirstOption()},onFocus:e=>{R&&fe.openDropdown(),m?.(e)},onBlur:e=>{R&&fe.closeDropdown(),he(null!=ie&&ne[ie]?.label||""),f?.(e)},onClick:e=>{R?fe.openDropdown():fe.toggleDropdown(),h?.(e)},classNames:ge,styles:ye,unstyled:i,pointer:!R,error:W})}),(0,c.jsx)(Ii,{data:oe,hidden:S||N,filter:j,search:ue,limit:P,hiddenWhenEmpty:!O,withScrollArea:$,maxDropdownHeight:_,filterOptions:R&&ce?.label!==ue,value:ie,checkIconPosition:T,withCheckIcon:A,nothingFoundMessage:O,unstyled:i,labelId:re.label?`${se}-label`:void 0,"aria-label":re.label?void 0:re["aria-label"],renderOption:X,scrollAreaProps:G})]}),(0,c.jsx)(Js.HiddenInput,{value:ie,name:z,form:D,disabled:N,...Y})]})});Hi.classes={...Fi.classes,...Js.classes},Hi.displayName="@mantine/core/Select";const Bi={},Vi=oe((e,t)=>{const r=te("TextInput",Bi,e);return(0,c.jsx)(Fi,{component:"input",ref:t,...r,__staticSelector:"TextInput"})});Vi.classes=Fi.classes,Vi.displayName="@mantine/core/TextInput";const qi=function({sortOrder:e,setSortOrder:t,searchTerm:r,setSearchTerm:o}){return(0,c.jsxs)("div",{className:"eb-my-courses__controls",children:[(0,c.jsx)(Hi,{value:e,onChange:t,defaultValue:"a-z",data:[{value:"a-z",label:(0,jt.__)("A-Z","edwiser-bridge")},{value:"z-a",label:(0,jt.__)("Z-A","edwiser-bridge")},{value:"progress-high",label:(0,jt.__)("Progress: High to Low","edwiser-bridge")},{value:"progress-low",label:(0,jt.__)("Progress: Low to High","edwiser-bridge")}],allowDeselect:!1,checkIconPosition:"right",comboboxProps:{withinPortal:!1},leftSection:(0,c.jsx)(kt,{}),rightSection:(0,c.jsx)($t,{})}),(0,c.jsx)(Vi,{value:r,onChange:e=>o(e.currentTarget.value),leftSectionPointerEvents:"none",leftSection:(0,c.jsx)(Rt,{}),placeholder:(0,jt.__)("Search courses","edwiser-bridge")})]})},Yi=()=>(0,c.jsxs)("div",{className:"eb-my-courses__controls",children:[(0,c.jsx)(Nt,{width:300,height:36}),(0,c.jsx)(Nt,{width:300,height:36})]}),Xi=function({courses:e,title:t,coursesPageUrl:r}){return e&&0!==e.length?(0,c.jsxs)("div",{className:"eb-my-courses__recommended-courses",children:[(0,c.jsx)("h3",{className:"eb-my-courses__recommended-courses-title",children:t}),(0,c.jsx)("div",{className:"eb-my-courses__recommended-courses-grid",children:e.map(e=>(0,c.jsx)("a",{href:e.link,target:"_blank",className:"eb-courses__course-anchor",children:(0,c.jsxs)("div",{className:"eb-courses__course-card",children:[(0,c.jsxs)("div",{className:"course-thumbnail-container",children:[(0,c.jsx)("img",{src:e.thumbnail,alt:e.title,className:"course-thumbnail"}),e.categories.length>0&&(0,c.jsxs)("div",{className:"course-category",children:[(0,c.jsx)(Pt,{}),(0,c.jsx)("span",{children:e.categories.map((t,r)=>(0,c.jsxs)(a().Fragment,{children:[(0,jt.__)(At(t?.name),"edwiser-bridge"),r<e.categories.length-1?", ":""]},t?.id))})]})]}),(0,c.jsxs)("div",{className:"course-meta",children:[(0,c.jsxs)("div",{className:"course-content",children:[(0,c.jsx)("h3",{className:"course-title",children:(0,jt.__)(e.title,"edwiser-bridge")}),(0,c.jsx)("p",{className:"course-excerpt",children:(0,jt.__)(e.excerpt,"edwiser-bridge")})]}),(0,c.jsxs)("div",{className:"course-details",children:[(0,c.jsx)("div",{className:"course-price",children:e?.suspended?(0,c.jsx)("span",{className:"suspended",children:(0,jt.__)("Suspended","edwiser-bridge")}):(0,c.jsx)(Ui,{price:e.price})}),(0,c.jsx)("a",{href:e.link,className:"btn",children:(0,jt.__)("View Details","edwiser-bridge")})]})]})]})},e.ID))}),(0,c.jsx)("div",{className:"eb-my-courses__recommended-courses-view-more",children:(0,c.jsxs)("a",{href:r,className:"eb-btn__view-more",children:[(0,jt.__)("View more courses","edwiser-bridge"),(0,c.jsx)(_t,{})]})})]}):null};function Ui({price:e}){return e.enrolled?(0,c.jsx)("span",{className:"enrolled",children:(0,jt.__)("Enrolled","edwiser-bridge")}):"subscription"===e.type?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("span",{className:"price",children:(0,jt.__)("₹"+e.amount,"edwiser-bridge")}),(0,c.jsx)("span",{className:"recurring",children:(0,jt.__)("/month","edwiser-bridge")})]}):"closed"===e.type?(0,c.jsx)(c.Fragment,{children:(0,c.jsx)("span",{})}):0===e.amount?(0,c.jsx)("span",{className:"price",children:(0,jt.__)("Free","edwiser-bridge")}):null!==e.originalAmount?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("span",{className:"price",children:(0,jt.__)(e.currency+e.amount,"edwiser-bridge")}),(0,c.jsx)("span",{className:"original-price",children:(0,jt.__)(e.currency+e.originalAmount,"edwiser-bridge")})]}):(0,c.jsx)("span",{className:"price",children:(0,jt.__)(e.currency+e.amount,"edwiser-bridge")})}const Ki=()=>(0,c.jsxs)("div",{className:"eb-my-courses__recommended-courses",children:[(0,c.jsx)("h3",{className:"eb-my-courses__recommended-courses-title",children:(0,jt.__)("Recommended Courses","edwiser-bridge")}),(0,c.jsx)("div",{className:"eb-my-courses__recommended-courses-grid",children:Array.from({length:3}).map((e,t)=>(0,c.jsxs)("div",{className:"eb-courses__course-card",children:[(0,c.jsx)("div",{className:"course-thumbnail-container",children:(0,c.jsx)(Nt,{height:140,style:{borderRadius:0}})}),(0,c.jsxs)("div",{className:"course-meta",children:[(0,c.jsxs)("div",{className:"course-content",children:[(0,c.jsx)(Nt,{height:20,width:"90%"}),(0,c.jsxs)("div",{children:[(0,c.jsx)(Nt,{height:12}),(0,c.jsx)(Nt,{height:12,mt:6,width:"70%"})]})]}),(0,c.jsxs)("div",{className:"course-details",children:[(0,c.jsx)("div",{className:"course-price",children:(0,c.jsx)(Nt,{height:28,width:80})}),(0,c.jsx)(Nt,{height:18,width:80})]})]})]},t))}),(0,c.jsx)("div",{className:"eb-my-courses__recommended-courses-view-more",children:(0,c.jsx)(Nt,{width:130,height:20})})]}),Gi=window.wp.element,Zi=window.wp.apiFetch;var Ji=n.n(Zi);function Qi({pageTitle:e,hidePageTitle:t,showCourseProgress:r,showRecommendedCourses:o,recommendedCoursesTitle:n,recommendedCoursesCount:i}){const{enrolledCourses:l,recommendedCourses:d,coursesPageUrl:u,isLoading:p,authRequired:m,signInUrl:f}=function(e){const[t,r]=(0,Gi.useState)([]),[o,n]=(0,Gi.useState)([]),[s,i]=(0,Gi.useState)(""),[a,l]=(0,Gi.useState)(!0),[c,d]=(0,Gi.useState)(!1),[u,p]=(0,Gi.useState)("");return(0,Gi.useEffect)(()=>{(async()=>{try{const t=await Ji()({path:`/eb/api/v1/my-courses?number_of_recommended_courses=${e}`});r(t.enrolled_courses),n(t.recommended_courses),i(t.courses_page_url),d(t.auth_required||!1),p(t.sign_in_url||"")}catch(e){console.error("Error fetching courses:",e)}finally{l(!1)}})()},[]),{enrolledCourses:t,recommendedCourses:o,coursesPageUrl:s,isLoading:a,authRequired:c,signInUrl:u}}(i),[h,g]=(0,s.useState)(1),[y,v]=(0,s.useState)("a-z"),[b,w]=(0,s.useState)(""),x=(0,s.useMemo)(()=>{let e=l;if(b.trim()){const t=b.toLowerCase();e=l.filter(e=>(e.title||"").toLowerCase().includes(t)||(e.categories||[]).some(e=>(e.name||"").toLowerCase().includes(t)))}return[...e].sort((e,t)=>{switch(y){case"a-z":return e.title.localeCompare(t.title);case"z-a":return t.title.localeCompare(e.title);case"progress-high":return t.progress.percentage-e.progress.percentage;case"progress-low":return e.progress.percentage-t.progress.percentage;default:return new Date(t.createdAt)-new Date(e.createdAt)}})},[l,b,y]),C=Math.ceil(x.length/9);a().useEffect(()=>{g(1)},[b,y]);const S=9*(h-1),N=S+9,j=x.slice(S,N),P=l&&l.length>0,$=d&&d.length>0;return p?(0,c.jsx)(Q,{children:(0,c.jsx)(ea,{showRecommendedCourses:o})}):(0,c.jsx)(Q,{children:(0,c.jsxs)("div",{className:"eb-my-courses__wrapper",children:[!t&&(0,c.jsx)("h2",{className:"eb-my-courses__title",children:e}),P?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(qi,{sortOrder:y,setSortOrder:v,searchTerm:b,setSearchTerm:w}),(0,c.jsx)(Dt,{courses:j,searchTerm:b,showCourseProgress:r}),x.length>0&&(0,c.jsxs)("div",{className:"eb-my-courses__pagination",children:[(0,c.jsx)("span",{className:"eb-my-courses__pagination-text",children:(0,c.jsxs)(c.Fragment,{children:[(0,jt.__)("Showing","edwiser-bridge")," ",S+1," ",(0,jt.__)("to","edwiser-bridge")," ",Math.min(N,x.length)," ",(0,jt.__)("of","edwiser-bridge")," ",x.length," ",(0,jt.__)("entries","edwiser-bridge")]})}),(0,c.jsx)(wt,{total:C,value:h,onChange:g})]})]}):(0,c.jsx)("div",{className:"eb-my-courses__empty",children:m?(0,c.jsx)(c.Fragment,{children:(0,c.jsxs)("p",{children:[(0,jt.__)("You are not logged in.","edwiser-bridge")," ",(0,c.jsx)("a",{href:f,className:"eb-my-courses__login-link",children:(0,jt.__)("Click here to login.","edwiser-bridge")})]})}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("h4",{children:(0,jt.__)("No courses found.","edwiser-bridge")}),(0,c.jsx)("p",{children:(0,jt.__)("You are not enrolled in any courses yet.","edwiser-bridge")})]})}),o&&$&&(0,c.jsx)(Xi,{courses:d,title:n,coursesPageUrl:u})]})})}const ea=({showRecommendedCourses:e})=>(0,c.jsxs)("div",{className:"eb-my-courses__wrapper",children:[(0,c.jsx)("h2",{className:"eb-my-courses__title",children:(0,jt.__)("My Courses","edwiser-bridge")}),(0,c.jsx)(Yi,{}),(0,c.jsx)(Lt,{}),(0,c.jsxs)("div",{className:"eb-my-courses__pagination",children:[(0,c.jsx)(Nt,{width:160,height:20}),(0,c.jsx)(Nt,{width:240,height:32})]}),e&&(0,c.jsx)(Ki,{})]});document.addEventListener("DOMContentLoaded",function(){const e=document.getElementById("eb-my-courses");if(e){const t={pageTitle:e.dataset.pageTitle||"",recommendedCoursesTitle:e.dataset.recommendedCoursesTitle||"",recommendedCoursesCount:parseInt(e.dataset.recommendedCoursesCount,10)||3,showCourseProgress:"true"===e.dataset.showCourseProgress,showRecommendedCourses:"true"===e.dataset.showRecommendedCourses,hidePageTitle:"true"===e.dataset.hidePageTitle};l.createRoot(e).render((0,c.jsx)(Qi,{...t}))}})})();
(function(Wt,mt){typeof exports=="object"&&typeof module<"u"?mt(exports):typeof define=="function"&&define.amd?define(["exports"],mt):(Wt=typeof globalThis<"u"?globalThis:Wt||self,mt(Wt.callus={}))})(this,function(Wt){"use strict";var uT=Object.defineProperty;var dT=(Wt,mt,Sn)=>mt in Wt?uT(Wt,mt,{enumerable:!0,configurable:!0,writable:!0,value:Sn}):Wt[mt]=Sn;var _=(Wt,mt,Sn)=>dT(Wt,typeof mt!="symbol"?mt+"":mt,Sn);var mt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ja={exports:{}},Om=Ja.exports,ou;function Ct(){return ou||(ou=1,function(e,n){(function(t,i){e.exports=i()})(Om,function(){var t=1e3,i=6e4,o=36e5,a="millisecond",r="second",s="minute",l="hour",c="day",u="week",f="month",d="quarter",p="year",h="date",b="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|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,C={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("_"),ordinal:function(se){var Q=["th","st","nd","rd"],q=se%100;return"["+se+(Q[(q-20)%10]||Q[q]||Q[0])+"]"}},E=function(se,Q,q){var z=String(se);return!z||z.length>=Q?se:""+Array(Q+1-z.length).join(q)+se},x={s:E,z:function(se){var Q=-se.utcOffset(),q=Math.abs(Q),z=Math.floor(q/60),D=q%60;return(Q<=0?"+":"-")+E(z,2,"0")+":"+E(D,2,"0")},m:function se(Q,q){if(Q.date()<q.date())return-se(q,Q);var z=12*(q.year()-Q.year())+(q.month()-Q.month()),D=Q.clone().add(z,f),te=q-D<0,X=Q.clone().add(z+(te?-1:1),f);return+(-(z+(q-D)/(te?D-X:X-D))||0)},a:function(se){return se<0?Math.ceil(se)||0:Math.floor(se)},p:function(se){return{M:f,y:p,w:u,d:c,D:h,h:l,m:s,s:r,ms:a,Q:d}[se]||String(se||"").toLowerCase().replace(/s$/,"")},u:function(se){return se===void 0}},M="en",U={};U[M]=C;var N="$isDayjsObject",K=function(se){return se instanceof he||!(!se||!se[N])},re=function se(Q,q,z){var D;if(!Q)return M;if(typeof Q=="string"){var te=Q.toLowerCase();U[te]&&(D=te),q&&(U[te]=q,D=te);var X=Q.split("-");if(!D&&X.length>1)return se(X[0])}else{var me=Q.name;U[me]=Q,D=me}return!z&&D&&(M=D),D||!z&&M},W=function(se,Q){if(K(se))return se.clone();var q=typeof Q=="object"?Q:{};return q.date=se,q.args=arguments,new he(q)},ee=x;ee.l=re,ee.i=K,ee.w=function(se,Q){return W(se,{locale:Q.$L,utc:Q.$u,x:Q.$x,$offset:Q.$offset})};var he=function(){function se(q){this.$L=re(q.locale,null,!0),this.parse(q),this.$x=this.$x||q.x||{},this[N]=!0}var Q=se.prototype;return Q.parse=function(q){this.$d=function(z){var D=z.date,te=z.utc;if(D===null)return new Date(NaN);if(ee.u(D))return new Date;if(D instanceof Date)return new Date(D);if(typeof D=="string"&&!/Z$/i.test(D)){var X=D.match(y);if(X){var me=X[2]-1||0,ge=(X[7]||"0").substring(0,3);return te?new Date(Date.UTC(X[1],me,X[3]||1,X[4]||0,X[5]||0,X[6]||0,ge)):new Date(X[1],me,X[3]||1,X[4]||0,X[5]||0,X[6]||0,ge)}}return new Date(D)}(q),this.init()},Q.init=function(){var q=this.$d;this.$y=q.getFullYear(),this.$M=q.getMonth(),this.$D=q.getDate(),this.$W=q.getDay(),this.$H=q.getHours(),this.$m=q.getMinutes(),this.$s=q.getSeconds(),this.$ms=q.getMilliseconds()},Q.$utils=function(){return ee},Q.isValid=function(){return this.$d.toString()!==b},Q.isSame=function(q,z){var D=W(q);return this.startOf(z)<=D&&D<=this.endOf(z)},Q.isAfter=function(q,z){return W(q)<this.startOf(z)},Q.isBefore=function(q,z){return this.endOf(z)<W(q)},Q.$g=function(q,z,D){return ee.u(q)?this[z]:this.set(D,q)},Q.unix=function(){return Math.floor(this.valueOf()/1e3)},Q.valueOf=function(){return this.$d.getTime()},Q.startOf=function(q,z){var D=this,te=!!ee.u(z)||z,X=ee.p(q),me=function(_t,et){var ut=ee.w(D.$u?Date.UTC(D.$y,et,_t):new Date(D.$y,et,_t),D);return te?ut:ut.endOf(c)},ge=function(_t,et){return ee.w(D.toDate()[_t].apply(D.toDate("s"),(te?[0,0,0,0]:[23,59,59,999]).slice(et)),D)},Ee=this.$W,De=this.$M,Xe=this.$D,Rt="set"+(this.$u?"UTC":"");switch(X){case p:return te?me(1,0):me(31,11);case f:return te?me(1,De):me(0,De+1);case u:var at=this.$locale().weekStart||0,ft=(Ee<at?Ee+7:Ee)-at;return me(te?Xe-ft:Xe+(6-ft),De);case c:case h:return ge(Rt+"Hours",0);case l:return ge(Rt+"Minutes",1);case s:return ge(Rt+"Seconds",2);case r:return ge(Rt+"Milliseconds",3);default:return this.clone()}},Q.endOf=function(q){return this.startOf(q,!1)},Q.$set=function(q,z){var D,te=ee.p(q),X="set"+(this.$u?"UTC":""),me=(D={},D[c]=X+"Date",D[h]=X+"Date",D[f]=X+"Month",D[p]=X+"FullYear",D[l]=X+"Hours",D[s]=X+"Minutes",D[r]=X+"Seconds",D[a]=X+"Milliseconds",D)[te],ge=te===c?this.$D+(z-this.$W):z;if(te===f||te===p){var Ee=this.clone().set(h,1);Ee.$d[me](ge),Ee.init(),this.$d=Ee.set(h,Math.min(this.$D,Ee.daysInMonth())).$d}else me&&this.$d[me](ge);return this.init(),this},Q.set=function(q,z){return this.clone().$set(q,z)},Q.get=function(q){return this[ee.p(q)]()},Q.add=function(q,z){var D,te=this;q=Number(q);var X=ee.p(z),me=function(De){var Xe=W(te);return ee.w(Xe.date(Xe.date()+Math.round(De*q)),te)};if(X===f)return this.set(f,this.$M+q);if(X===p)return this.set(p,this.$y+q);if(X===c)return me(1);if(X===u)return me(7);var ge=(D={},D[s]=i,D[l]=o,D[r]=t,D)[X]||1,Ee=this.$d.getTime()+q*ge;return ee.w(Ee,this)},Q.subtract=function(q,z){return this.add(-1*q,z)},Q.format=function(q){var z=this,D=this.$locale();if(!this.isValid())return D.invalidDate||b;var te=q||"YYYY-MM-DDTHH:mm:ssZ",X=ee.z(this),me=this.$H,ge=this.$m,Ee=this.$M,De=D.weekdays,Xe=D.months,Rt=D.meridiem,at=function(et,ut,bn,m){return et&&(et[ut]||et(z,te))||bn[ut].slice(0,m)},ft=function(et){return ee.s(me%12||12,et,"0")},_t=Rt||function(et,ut,bn){var m=et<12?"AM":"PM";return bn?m.toLowerCase():m};return te.replace(g,function(et,ut){return ut||function(bn){switch(bn){case"YY":return String(z.$y).slice(-2);case"YYYY":return ee.s(z.$y,4,"0");case"M":return Ee+1;case"MM":return ee.s(Ee+1,2,"0");case"MMM":return at(D.monthsShort,Ee,Xe,3);case"MMMM":return at(Xe,Ee);case"D":return z.$D;case"DD":return ee.s(z.$D,2,"0");case"d":return String(z.$W);case"dd":return at(D.weekdaysMin,z.$W,De,2);case"ddd":return at(D.weekdaysShort,z.$W,De,3);case"dddd":return De[z.$W];case"H":return String(me);case"HH":return ee.s(me,2,"0");case"h":return ft(1);case"hh":return ft(2);case"a":return _t(me,ge,!0);case"A":return _t(me,ge,!1);case"m":return String(ge);case"mm":return ee.s(ge,2,"0");case"s":return String(z.$s);case"ss":return ee.s(z.$s,2,"0");case"SSS":return ee.s(z.$ms,3,"0");case"Z":return X}return null}(et)||X.replace(":","")})},Q.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Q.diff=function(q,z,D){var te,X=this,me=ee.p(z),ge=W(q),Ee=(ge.utcOffset()-this.utcOffset())*i,De=this-ge,Xe=function(){return ee.m(X,ge)};switch(me){case p:te=Xe()/12;break;case f:te=Xe();break;case d:te=Xe()/3;break;case u:te=(De-Ee)/6048e5;break;case c:te=(De-Ee)/864e5;break;case l:te=De/o;break;case s:te=De/i;break;case r:te=De/t;break;default:te=De}return D?te:ee.a(te)},Q.daysInMonth=function(){return this.endOf(f).$D},Q.$locale=function(){return U[this.$L]},Q.locale=function(q,z){if(!q)return this.$L;var D=this.clone(),te=re(q,z,!0);return te&&(D.$L=te),D},Q.clone=function(){return ee.w(this.$d,this)},Q.toDate=function(){return new Date(this.valueOf())},Q.toJSON=function(){return this.isValid()?this.toISOString():null},Q.toISOString=function(){return this.$d.toISOString()},Q.toString=function(){return this.$d.toUTCString()},se}(),Be=he.prototype;return W.prototype=Be,[["$ms",a],["$s",r],["$m",s],["$H",l],["$W",c],["$M",f],["$y",p],["$D",h]].forEach(function(se){Be[se[1]]=function(Q){return this.$g(Q,se[0],se[1])}}),W.extend=function(se,Q){return se.$i||(se(Q,he,W),se.$i=!0),W},W.locale=re,W.isDayjs=K,W.unix=function(se){return W(1e3*se)},W.en=U[M],W.Ls=U,W.p={},W})}(Ja)),Ja.exports}var km=Ct();const Fi=Sn(km);var Xa={exports:{}},xm=Xa.exports,au;function Rm(){return au||(au=1,function(e,n){(function(t,i){e.exports=i()})(xm,function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(i,o,a){var r=o.prototype,s=r.format;a.en.formats=t,r.format=function(l){l===void 0&&(l="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,u=function(f,d){return f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(p,h,b){var y=b&&b.toUpperCase();return h||d[b]||t[b]||d[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(g,C,E){return C||E.slice(1)})})}(l,c===void 0?{}:c);return s.call(this,u)}}})}(Xa)),Xa.exports}var Nm=Rm();const Lm=Sn(Nm);var er={exports:{}},Pm=er.exports,ru;function Dm(){return ru||(ru=1,function(e,n){(function(t,i){e.exports=i()})(Pm,function(){return function(t,i,o){o.updateLocale=function(a,r){var s=o.Ls[a];if(s)return(r?Object.keys(r):[]).forEach(function(l){s[l]=r[l]}),s}}})}(er)),er.exports}var Fm=Dm();const Bm=Sn(Fm);var tr={exports:{}},qm=tr.exports,su;function Um(){return su||(su=1,function(e,n){(function(t,i){e.exports=i(Ct())})(qm,function(t){function i(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var o=i(t);function a(l){return l>1&&l<5&&~~(l/10)!=1}function r(l,c,u,f){var d=l+" ";switch(u){case"s":return c||f?"pár sekund":"pár sekundami";case"m":return c?"minuta":f?"minutu":"minutou";case"mm":return c||f?d+(a(l)?"minuty":"minut"):d+"minutami";case"h":return c?"hodina":f?"hodinu":"hodinou";case"hh":return c||f?d+(a(l)?"hodiny":"hodin"):d+"hodinami";case"d":return c||f?"den":"dnem";case"dd":return c||f?d+(a(l)?"dny":"dní"):d+"dny";case"M":return c||f?"měsíc":"měsícem";case"MM":return c||f?d+(a(l)?"měsíce":"měsíců"):d+"měsíci";case"y":return c||f?"rok":"rokem";case"yy":return c||f?d+(a(l)?"roky":"let"):d+"lety"}}var s={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(l){return l+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return o.default.locale(s,null,!0),s})}(tr)),tr.exports}Um();var nr={exports:{}},$m=nr.exports,lu;function jm(){return lu||(lu=1,function(e,n){(function(t,i){e.exports=i(Ct())})($m,function(t){function i(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var o=i(t),a={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function r(l,c,u){var f=a[u];return Array.isArray(f)&&(f=f[c?0:1]),f.replace("%d",l)}var s={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(l){return l+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return o.default.locale(s,null,!0),s})}(nr)),nr.exports}jm();var ir={exports:{}},zm=ir.exports,cu;function Vm(){return cu||(cu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(zm,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(r){var s=["th","st","nd","rd"],l=r%100;return"["+r+(s[(l-20)%10]||s[l]||s[0])+"]"}};return o.default.locale(a,null,!0),a})}(ir)),ir.exports}Vm();var or={exports:{}},Hm=or.exports,fu;function Wm(){return fu||(fu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(Hm,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(r){return r},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return o.default.locale(a,null,!0),a})}(or)),or.exports}Wm();var ar={exports:{}},Ym=ar.exports,uu;function Gm(){return uu||(uu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(Ym,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(r){return r+"º"}};return o.default.locale(a,null,!0),a})}(ar)),ar.exports}Gm();var rr={exports:{}},Qm=rr.exports,du;function Km(){return du||(du=1,function(e,n){(function(t,i){e.exports=i(Ct())})(Qm,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(r){return""+r+(r===1?"er":"")}};return o.default.locale(a,null,!0),a})}(rr)),rr.exports}Km();var sr={exports:{}},Zm=sr.exports,hu;function Jm(){return hu||(hu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(Zm,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(r){return r+"º"}};return o.default.locale(a,null,!0),a})}(sr)),sr.exports}Jm();var lr={exports:{}},Xm=lr.exports,pu;function eg(){return pu||(pu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(Xm,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(r){return r+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(r){return r<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return o.default.locale(a,null,!0),a})}(lr)),lr.exports}eg();var cr={exports:{}},tg=cr.exports,mu;function ng(){return mu||(mu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(tg,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(r){return"["+r+(r===1||r===8||r>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return o.default.locale(a,null,!0),a})}(cr)),cr.exports}ng();var fr={exports:{}},ig=fr.exports,gu;function og(){return gu||(gu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(ig,function(t){function i(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var o=i(t);function a(d){return d%10<5&&d%10>1&&~~(d/10)%10!=1}function r(d,p,h){var b=d+" ";switch(h){case"m":return p?"minuta":"minutę";case"mm":return b+(a(d)?"minuty":"minut");case"h":return p?"godzina":"godzinę";case"hh":return b+(a(d)?"godziny":"godzin");case"MM":return b+(a(d)?"miesiące":"miesięcy");case"yy":return b+(a(d)?"lata":"lat")}}var s="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),l="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),c=/D MMMM/,u=function(d,p){return c.test(p)?s[d.month()]:l[d.month()]};u.s=l,u.f=s;var f={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:u,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(d){return d+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:r,y:"rok",yy:r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return o.default.locale(f,null,!0),f})}(fr)),fr.exports}og();var ur={exports:{}},ag=ur.exports,bu;function rg(){return bu||(bu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(ag,function(t){function i(h){return h&&typeof h=="object"&&"default"in h?h:{default:h}}var o=i(t),a="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),r="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),s="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),l="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),c=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function u(h,b,y){var g,C;return y==="m"?b?"минута":"минуту":h+" "+(g=+h,C={mm:b?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[y].split("_"),g%10==1&&g%100!=11?C[0]:g%10>=2&&g%10<=4&&(g%100<10||g%100>=20)?C[1]:C[2])}var f=function(h,b){return c.test(b)?a[h.month()]:r[h.month()]};f.s=r,f.f=a;var d=function(h,b){return c.test(b)?s[h.month()]:l[h.month()]};d.s=l,d.f=s;var p={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:f,monthsShort:d,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:u,mm:u,h:"час",hh:u,d:"день",dd:u,M:"месяц",MM:u,y:"год",yy:u},ordinal:function(h){return h},meridiem:function(h){return h<4?"ночи":h<12?"утра":h<17?"дня":"вечера"}};return o.default.locale(p,null,!0),p})}(ur)),ur.exports}rg();var dr={exports:{}},sg=dr.exports,vu;function lg(){return vu||(vu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(sg,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(r){return r+"."}};return o.default.locale(a,null,!0),a})}(dr)),dr.exports}lg();var hr={exports:{}},cg=hr.exports,yu;function fg(){return yu||(yu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(cg,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(r,s){return s==="W"?r+"周":r+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(r,s){var l=100*r+s;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return o.default.locale(a,null,!0),a})}(hr)),hr.exports}fg();var pr={exports:{}},ug=pr.exports,Au;function dg(){return Au||(Au=1,function(e,n){(function(t,i){e.exports=i(Ct())})(ug,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(r){return r+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return o.default.locale(a,null,!0),a})}(pr)),pr.exports}dg();var mr={exports:{}},hg=mr.exports,wu;function pg(){return wu||(wu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(hg,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(r){return r+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return o.default.locale(a,null,!0),a})}(mr)),mr.exports}pg();var gr={exports:{}},mg=gr.exports,Cu;function gg(){return Cu||(Cu=1,function(e,n){(function(t,i){e.exports=i(Ct())})(mg,function(t){function i(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var o=i(t),a={name:"nn",weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),ordinal:function(r){return r+"."},weekStart:1,relativeTime:{future:"om %s",past:"for %s sidan",s:"nokre sekund",m:"eitt minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månadar",y:"eitt år",yy:"%d år"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"}};return o.default.locale(a,null,!0),a})}(gr)),gr.exports}gg(),Fi.extend(Lm),Fi.extend(Bm);function Wn(e){const n=Object.create(null);for(const t of e.split(","))n[t]=1;return t=>t in n}const qe=Object.freeze({}),fo=Object.freeze([]),Et=()=>{},bg=()=>!1,Ko=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),br=e=>e.startsWith("onUpdate:"),nt=Object.assign,cl=(e,n)=>{const t=e.indexOf(n);t>-1&&e.splice(t,1)},vg=Object.prototype.hasOwnProperty,Oe=(e,n)=>vg.call(e,n),fe=Array.isArray,Bi=e=>Zo(e)==="[object Map]",vr=e=>Zo(e)==="[object Set]",_u=e=>Zo(e)==="[object Date]",be=e=>typeof e=="function",Ye=e=>typeof e=="string",yn=e=>typeof e=="symbol",Ue=e=>e!==null&&typeof e=="object",fl=e=>(Ue(e)||be(e))&&be(e.then)&&be(e.catch),Eu=Object.prototype.toString,Zo=e=>Eu.call(e),ul=e=>Zo(e).slice(8,-1),yr=e=>Zo(e)==="[object Object]",dl=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Jo=Wn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yg=Wn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Ar=e=>{const n=Object.create(null);return t=>n[t]||(n[t]=e(t))},Ag=/-(\w)/g,gt=Ar(e=>e.replace(Ag,(n,t)=>t?t.toUpperCase():"")),wg=/\B([A-Z])/g,Ut=Ar(e=>e.replace(wg,"-$1").toLowerCase()),qi=Ar(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ui=Ar(e=>e?`on${qi(e)}`:""),pi=(e,n)=>!Object.is(e,n),uo=(e,...n)=>{for(let t=0;t<e.length;t++)e[t](...n)},wr=(e,n,t,i=!1)=>{Object.defineProperty(e,n,{configurable:!0,enumerable:!1,writable:i,value:t})},hl=e=>{const n=parseFloat(e);return isNaN(n)?e:n},Su=e=>{const n=Ye(e)?Number(e):NaN;return isNaN(n)?e:n};let Mu;const Xo=()=>Mu||(Mu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Cr(e){if(fe(e)){const n={};for(let t=0;t<e.length;t++){const i=e[t],o=Ye(i)?Sg(i):Cr(i);if(o)for(const a in o)n[a]=o[a]}return n}else if(Ye(e)||Ue(e))return e}const Cg=/;(?![^(]*\))/g,_g=/:([^]+)/,Eg=/\/\*[^]*?\*\//g;function Sg(e){const n={};return e.replace(Eg,"").split(Cg).forEach(t=>{if(t){const i=t.split(_g);i.length>1&&(n[i[0].trim()]=i[1].trim())}}),n}function R(e){let n="";if(Ye(e))n=e;else if(fe(e))for(let t=0;t<e.length;t++){const i=R(e[t]);i&&(n+=i+" ")}else if(Ue(e))for(const t in e)e[t]&&(n+=t+" ");return n.trim()}const Mg="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Ig="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,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,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Tg="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",Og=Wn(Mg),kg=Wn(Ig),xg=Wn(Tg),Rg=Wn("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Iu(e){return!!e||e===""}function Ng(e,n){if(e.length!==n.length)return!1;let t=!0;for(let i=0;t&&i<e.length;i++)t=_r(e[i],n[i]);return t}function _r(e,n){if(e===n)return!0;let t=_u(e),i=_u(n);if(t||i)return t&&i?e.getTime()===n.getTime():!1;if(t=yn(e),i=yn(n),t||i)return e===n;if(t=fe(e),i=fe(n),t||i)return t&&i?Ng(e,n):!1;if(t=Ue(e),i=Ue(n),t||i){if(!t||!i)return!1;const o=Object.keys(e).length,a=Object.keys(n).length;if(o!==a)return!1;for(const r in e){const s=e.hasOwnProperty(r),l=n.hasOwnProperty(r);if(s&&!l||!s&&l||!_r(e[r],n[r]))return!1}}return String(e)===String(n)}function Tu(e,n){return e.findIndex(t=>_r(t,n))}const Ou=e=>!!(e&&e.__v_isRef===!0),Ae=e=>Ye(e)?e:e==null?"":fe(e)||Ue(e)&&(e.toString===Eu||!be(e.toString))?Ou(e)?Ae(e.value):JSON.stringify(e,ku,2):String(e),ku=(e,n)=>Ou(n)?ku(e,n.value):Bi(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((t,[i,o],a)=>(t[pl(i,a)+"=>"]=o,t),{})}:vr(n)?{[`Set(${n.size})`]:[...n.values()].map(t=>pl(t))}:yn(n)?pl(n):Ue(n)&&!fe(n)&&!yr(n)?String(n):n,pl=(e,n="")=>{var t;return yn(e)?`Symbol(${(t=e.description)!=null?t:n})`:e};var Lg={NODE_ENV:'"production"',VERSION:'"6.0.39"',BUILD_DATE:'"2025-08-19T09:30:12.270Z"',BUILD_NUMBER:'"39"',DEV:!1};function Mn(e,...n){console.warn(`[Vue warn] ${e}`,...n)}let Yt;class xu{constructor(n=!1){this.detached=n,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Yt,!n&&Yt&&(this.index=(Yt.scopes||(Yt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let n,t;if(this.scopes)for(n=0,t=this.scopes.length;n<t;n++)this.scopes[n].pause();for(n=0,t=this.effects.length;n<t;n++)this.effects[n].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let n,t;if(this.scopes)for(n=0,t=this.scopes.length;n<t;n++)this.scopes[n].resume();for(n=0,t=this.effects.length;n<t;n++)this.effects[n].resume()}}run(n){if(this._active){const t=Yt;try{return Yt=this,n()}finally{Yt=t}}else Mn("cannot run an inactive effect scope.")}on(){Yt=this}off(){Yt=this.parent}stop(n){if(this._active){this._active=!1;let t,i;for(t=0,i=this.effects.length;t<i;t++)this.effects[t].stop();for(this.effects.length=0,t=0,i=this.cleanups.length;t<i;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,i=this.scopes.length;t<i;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!n){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Pg(e){return new xu(e)}function Dg(){return Yt}let Fe;const ml=new WeakSet;class Ru{constructor(n){this.fn=n,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Yt&&Yt.active&&Yt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ml.has(this)&&(ml.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Lu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,qu(this),Pu(this);const n=Fe,t=An;Fe=this,An=!0;try{return this.fn()}finally{Fe!==this&&Mn("Active effect was not restored correctly - this is likely a Vue internal bug."),Du(this),Fe=n,An=t,this.flags&=-3}}stop(){if(this.flags&1){for(let n=this.deps;n;n=n.nextDep)yl(n);this.deps=this.depsTail=void 0,qu(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ml.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){vl(this)&&this.run()}get dirty(){return vl(this)}}let Nu=0,ea,ta;function Lu(e,n=!1){if(e.flags|=8,n){e.next=ta,ta=e;return}e.next=ea,ea=e}function gl(){Nu++}function bl(){if(--Nu>0)return;if(ta){let n=ta;for(ta=void 0;n;){const t=n.next;n.next=void 0,n.flags&=-9,n=t}}let e;for(;ea;){let n=ea;for(ea=void 0;n;){const t=n.next;if(n.next=void 0,n.flags&=-9,n.flags&1)try{n.trigger()}catch(i){e||(e=i)}n=t}}if(e)throw e}function Pu(e){for(let n=e.deps;n;n=n.nextDep)n.version=-1,n.prevActiveLink=n.dep.activeLink,n.dep.activeLink=n}function Du(e){let n,t=e.depsTail,i=t;for(;i;){const o=i.prevDep;i.version===-1?(i===t&&(t=o),yl(i),Fg(i)):n=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=o}e.deps=n,e.depsTail=t}function vl(e){for(let n=e.deps;n;n=n.nextDep)if(n.dep.version!==n.version||n.dep.computed&&(Fu(n.dep.computed)||n.dep.version!==n.version))return!0;return!!e._dirty}function Fu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===na))return;e.globalVersion=na;const n=e.dep;if(e.flags|=2,n.version>0&&!e.isSSR&&e.deps&&!vl(e)){e.flags&=-3;return}const t=Fe,i=An;Fe=e,An=!0;try{Pu(e);const o=e.fn(e._value);(n.version===0||pi(o,e._value))&&(e._value=o,n.version++)}catch(o){throw n.version++,o}finally{Fe=t,An=i,Du(e),e.flags&=-3}}function yl(e,n=!1){const{dep:t,prevSub:i,nextSub:o}=e;if(i&&(i.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=i,e.nextSub=void 0),t.subsHead===e&&(t.subsHead=o),t.subs===e&&(t.subs=i,!i&&t.computed)){t.computed.flags&=-5;for(let a=t.computed.deps;a;a=a.nextDep)yl(a,!0)}!n&&!--t.sc&&t.map&&t.map.delete(t.key)}function Fg(e){const{prevDep:n,nextDep:t}=e;n&&(n.nextDep=t,e.prevDep=void 0),t&&(t.prevDep=n,e.nextDep=void 0)}let An=!0;const Bu=[];function Yn(){Bu.push(An),An=!1}function Gn(){const e=Bu.pop();An=e===void 0?!0:e}function qu(e){const{cleanup:n}=e;if(e.cleanup=void 0,n){const t=Fe;Fe=void 0;try{n()}finally{Fe=t}}}let na=0;class Bg{constructor(n,t){this.sub=n,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Al{constructor(n){this.computed=n,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.subsHead=void 0}track(n){if(!Fe||!An||Fe===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==Fe)t=this.activeLink=new Bg(Fe,this),Fe.deps?(t.prevDep=Fe.depsTail,Fe.depsTail.nextDep=t,Fe.depsTail=t):Fe.deps=Fe.depsTail=t,Uu(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){const i=t.nextDep;i.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=i),t.prevDep=Fe.depsTail,t.nextDep=void 0,Fe.depsTail.nextDep=t,Fe.depsTail=t,Fe.deps===t&&(Fe.deps=i)}return Fe.onTrack&&Fe.onTrack(nt({effect:Fe},n)),t}trigger(n){this.version++,na++,this.notify(n)}notify(n){gl();try{if(Lg.NODE_ENV!=="production")for(let t=this.subsHead;t;t=t.nextSub)t.sub.onTrigger&&!(t.sub.flags&8)&&t.sub.onTrigger(nt({effect:t.sub},n));for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{bl()}}}function Uu(e){if(e.dep.sc++,e.sub.flags&4){const n=e.dep.computed;if(n&&!e.dep.subs){n.flags|=20;for(let i=n.deps;i;i=i.nextDep)Uu(i)}const t=e.dep.subs;t!==e&&(e.prevSub=t,t&&(t.nextSub=e)),e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const wl=new WeakMap,$i=Symbol("Object iterate"),Cl=Symbol("Map keys iterate"),ia=Symbol("Array iterate");function bt(e,n,t){if(An&&Fe){let i=wl.get(e);i||wl.set(e,i=new Map);let o=i.get(t);o||(i.set(t,o=new Al),o.map=i,o.key=t),o.track({target:e,type:n,key:t})}}function In(e,n,t,i,o,a){const r=wl.get(e);if(!r){na++;return}const s=l=>{l&&l.trigger({target:e,type:n,key:t,newValue:i,oldValue:o,oldTarget:a})};if(gl(),n==="clear")r.forEach(s);else{const l=fe(e),c=l&&dl(t);if(l&&t==="length"){const u=Number(i);r.forEach((f,d)=>{(d==="length"||d===ia||!yn(d)&&d>=u)&&s(f)})}else switch((t!==void 0||r.has(void 0))&&s(r.get(t)),c&&s(r.get(ia)),n){case"add":l?c&&s(r.get("length")):(s(r.get($i)),Bi(e)&&s(r.get(Cl)));break;case"delete":l||(s(r.get($i)),Bi(e)&&s(r.get(Cl)));break;case"set":Bi(e)&&s(r.get($i));break}}bl()}function ho(e){const n=Ie(e);return n===e?n:(bt(n,"iterate",ia),sn(e)?n:n.map(St))}function Er(e){return bt(e=Ie(e),"iterate",ia),e}const qg={__proto__:null,[Symbol.iterator](){return _l(this,Symbol.iterator,St)},concat(...e){return ho(this).concat(...e.map(n=>fe(n)?ho(n):n))},entries(){return _l(this,"entries",e=>(e[1]=St(e[1]),e))},every(e,n){return Qn(this,"every",e,n,void 0,arguments)},filter(e,n){return Qn(this,"filter",e,n,t=>t.map(St),arguments)},find(e,n){return Qn(this,"find",e,n,St,arguments)},findIndex(e,n){return Qn(this,"findIndex",e,n,void 0,arguments)},findLast(e,n){return Qn(this,"findLast",e,n,St,arguments)},findLastIndex(e,n){return Qn(this,"findLastIndex",e,n,void 0,arguments)},forEach(e,n){return Qn(this,"forEach",e,n,void 0,arguments)},includes(...e){return El(this,"includes",e)},indexOf(...e){return El(this,"indexOf",e)},join(e){return ho(this).join(e)},lastIndexOf(...e){return El(this,"lastIndexOf",e)},map(e,n){return Qn(this,"map",e,n,void 0,arguments)},pop(){return oa(this,"pop")},push(...e){return oa(this,"push",e)},reduce(e,...n){return $u(this,"reduce",e,n)},reduceRight(e,...n){return $u(this,"reduceRight",e,n)},shift(){return oa(this,"shift")},some(e,n){return Qn(this,"some",e,n,void 0,arguments)},splice(...e){return oa(this,"splice",e)},toReversed(){return ho(this).toReversed()},toSorted(e){return ho(this).toSorted(e)},toSpliced(...e){return ho(this).toSpliced(...e)},unshift(...e){return oa(this,"unshift",e)},values(){return _l(this,"values",St)}};function _l(e,n,t){const i=Er(e),o=i[n]();return i!==e&&!sn(e)&&(o._next=o.next,o.next=()=>{const a=o._next();return a.value&&(a.value=t(a.value)),a}),o}const Ug=Array.prototype;function Qn(e,n,t,i,o,a){const r=Er(e),s=r!==e&&!sn(e),l=r[n];if(l!==Ug[n]){const f=l.apply(e,a);return s?St(f):f}let c=t;r!==e&&(s?c=function(f,d){return t.call(this,St(f),d,e)}:t.length>2&&(c=function(f,d){return t.call(this,f,d,e)}));const u=l.call(r,c,i);return s&&o?o(u):u}function $u(e,n,t,i){const o=Er(e);let a=t;return o!==e&&(sn(e)?t.length>3&&(a=function(r,s,l){return t.call(this,r,s,l,e)}):a=function(r,s,l){return t.call(this,r,St(s),l,e)}),o[n](a,...i)}function El(e,n,t){const i=Ie(e);bt(i,"iterate",ia);const o=i[n](...t);return(o===-1||o===!1)&&Or(t[0])?(t[0]=Ie(t[0]),i[n](...t)):o}function oa(e,n,t=[]){Yn(),gl();const i=Ie(e)[n].apply(e,t);return bl(),Gn(),i}const $g=Wn("__proto__,__v_isRef,__isVue"),ju=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(yn));function jg(e){yn(e)||(e=String(e));const n=Ie(this);return bt(n,"has",e),n.hasOwnProperty(e)}class zu{constructor(n=!1,t=!1){this._isReadonly=n,this._isShallow=t}get(n,t,i){if(t==="__v_skip")return n.__v_skip;const o=this._isReadonly,a=this._isShallow;if(t==="__v_isReactive")return!o;if(t==="__v_isReadonly")return o;if(t==="__v_isShallow")return a;if(t==="__v_raw")return i===(o?a?Ku:Qu:a?Gu:Yu).get(n)||Object.getPrototypeOf(n)===Object.getPrototypeOf(i)?n:void 0;const r=fe(n);if(!o){let l;if(r&&(l=qg[t]))return l;if(t==="hasOwnProperty")return jg}const s=Reflect.get(n,t,Ge(n)?n:i);return(yn(t)?ju.has(t):$g(t))||(o||bt(n,"get",t),a)?s:Ge(s)?r&&dl(t)?s:s.value:Ue(s)?o?Zu(s):Nt(s):s}}class Vu extends zu{constructor(n=!1){super(!1,n)}set(n,t,i,o){let a=n[t];if(!this._isShallow){const l=mi(a);if(!sn(i)&&!mi(i)&&(a=Ie(a),i=Ie(i)),!fe(n)&&Ge(a)&&!Ge(i))return l?!1:(a.value=i,!0)}const r=fe(n)&&dl(t)?Number(t)<n.length:Oe(n,t),s=Reflect.set(n,t,i,Ge(n)?n:o);return n===Ie(o)&&(r?pi(i,a)&&In(n,"set",t,i,a):In(n,"add",t,i)),s}deleteProperty(n,t){const i=Oe(n,t),o=n[t],a=Reflect.deleteProperty(n,t);return a&&i&&In(n,"delete",t,void 0,o),a}has(n,t){const i=Reflect.has(n,t);return(!yn(t)||!ju.has(t))&&bt(n,"has",t),i}ownKeys(n){return bt(n,"iterate",fe(n)?"length":$i),Reflect.ownKeys(n)}}class Hu extends zu{constructor(n=!1){super(!0,n)}set(n,t){return Mn(`Set operation on key "${String(t)}" failed: target is readonly.`,n),!0}deleteProperty(n,t){return Mn(`Delete operation on key "${String(t)}" failed: target is readonly.`,n),!0}}const zg=new Vu,Vg=new Hu,Hg=new Vu(!0),Wg=new Hu(!0),Sl=e=>e,Sr=e=>Reflect.getPrototypeOf(e);function Yg(e,n,t){return function(...i){const o=this.__v_raw,a=Ie(o),r=Bi(a),s=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,c=o[e](...i),u=t?Sl:n?Ml:St;return!n&&bt(a,"iterate",l?Cl:$i),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:s?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Mr(e){return function(...n){{const t=n[0]?`on key "${n[0]}" `:"";Mn(`${qi(e)} operation ${t}failed: target is readonly.`,Ie(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Gg(e,n){const t={get(o){const a=this.__v_raw,r=Ie(a),s=Ie(o);e||(pi(o,s)&&bt(r,"get",o),bt(r,"get",s));const{has:l}=Sr(r),c=n?Sl:e?Ml:St;if(l.call(r,o))return c(a.get(o));if(l.call(r,s))return c(a.get(s));a!==r&&a.get(o)},get size(){const o=this.__v_raw;return!e&&bt(Ie(o),"iterate",$i),Reflect.get(o,"size",o)},has(o){const a=this.__v_raw,r=Ie(a),s=Ie(o);return e||(pi(o,s)&&bt(r,"has",o),bt(r,"has",s)),o===s?a.has(o):a.has(o)||a.has(s)},forEach(o,a){const r=this,s=r.__v_raw,l=Ie(s),c=n?Sl:e?Ml:St;return!e&&bt(l,"iterate",$i),s.forEach((u,f)=>o.call(a,c(u),c(f),r))}};return nt(t,e?{add:Mr("add"),set:Mr("set"),delete:Mr("delete"),clear:Mr("clear")}:{add(o){!n&&!sn(o)&&!mi(o)&&(o=Ie(o));const a=Ie(this);return Sr(a).has.call(a,o)||(a.add(o),In(a,"add",o,o)),this},set(o,a){!n&&!sn(a)&&!mi(a)&&(a=Ie(a));const r=Ie(this),{has:s,get:l}=Sr(r);let c=s.call(r,o);c?Wu(r,s,o):(o=Ie(o),c=s.call(r,o));const u=l.call(r,o);return r.set(o,a),c?pi(a,u)&&In(r,"set",o,a,u):In(r,"add",o,a),this},delete(o){const a=Ie(this),{has:r,get:s}=Sr(a);let l=r.call(a,o);l?Wu(a,r,o):(o=Ie(o),l=r.call(a,o));const c=s?s.call(a,o):void 0,u=a.delete(o);return l&&In(a,"delete",o,void 0,c),u},clear(){const o=Ie(this),a=o.size!==0,r=Bi(o)?new Map(o):new Set(o),s=o.clear();return a&&In(o,"clear",void 0,void 0,r),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=Yg(o,e,n)}),t}function Ir(e,n){const t=Gg(e,n);return(i,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?i:Reflect.get(Oe(t,o)&&o in i?t:i,o,a)}const Qg={get:Ir(!1,!1)},Kg={get:Ir(!1,!0)},Zg={get:Ir(!0,!1)},Jg={get:Ir(!0,!0)};function Wu(e,n,t){const i=Ie(t);if(i!==t&&n.call(e,i)){const o=ul(e);Mn(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Yu=new WeakMap,Gu=new WeakMap,Qu=new WeakMap,Ku=new WeakMap;function Xg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function eb(e){return e.__v_skip||!Object.isExtensible(e)?0:Xg(ul(e))}function Nt(e){return mi(e)?e:Tr(e,!1,zg,Qg,Yu)}function tb(e){return Tr(e,!1,Hg,Kg,Gu)}function Zu(e){return Tr(e,!0,Vg,Zg,Qu)}function Tn(e){return Tr(e,!0,Wg,Jg,Ku)}function Tr(e,n,t,i,o){if(!Ue(e))return Mn(`value cannot be made ${n?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(n&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const r=eb(e);if(r===0)return e;const s=new Proxy(e,r===2?i:t);return o.set(e,s),s}function ji(e){return mi(e)?ji(e.__v_raw):!!(e&&e.__v_isReactive)}function mi(e){return!!(e&&e.__v_isReadonly)}function sn(e){return!!(e&&e.__v_isShallow)}function Or(e){return e?!!e.__v_raw:!1}function Ie(e){const n=e&&e.__v_raw;return n?Ie(n):e}function nb(e){return!Oe(e,"__v_skip")&&Object.isExtensible(e)&&wr(e,"__v_skip",!0),e}const St=e=>Ue(e)?Nt(e):e,Ml=e=>Ue(e)?Zu(e):e;function Ge(e){return e?e.__v_isRef===!0:!1}function Z(e){return Ju(e,!1)}function ib(e){return Ju(e,!0)}function Ju(e,n){return Ge(e)?e:new ob(e,n)}class ob{constructor(n,t){this.dep=new Al,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?n:Ie(n),this._value=t?n:St(n),this.__v_isShallow=t}get value(){return this.dep.track({target:this,type:"get",key:"value"}),this._value}set value(n){const t=this._rawValue,i=this.__v_isShallow||sn(n)||mi(n);n=i?n:Ie(n),pi(n,t)&&(this._rawValue=n,this._value=i?n:St(n),this.dep.trigger({target:this,type:"set",key:"value",newValue:n,oldValue:t}))}}function Ne(e){return Ge(e)?e.value:e}const ab={get:(e,n,t)=>n==="__v_raw"?e:Ne(Reflect.get(e,n,t)),set:(e,n,t,i)=>{const o=e[n];return Ge(o)&&!Ge(t)?(o.value=t,!0):Reflect.set(e,n,t,i)}};function Xu(e){return ji(e)?e:new Proxy(e,ab)}class rb{constructor(n,t,i){this.fn=n,this.setter=t,this._value=void 0,this.dep=new Al(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=na-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&Fe!==this)return Lu(this,!0),!0}get value(){const n=this.dep.track({target:this,type:"get",key:"value"});return Fu(this),n&&(n.version=this.dep.version),this._value}set value(n){this.setter?this.setter(n):Mn("Write operation failed: computed value is readonly")}}function sb(e,n,t=!1){let i,o;return be(e)?i=e:(i=e.get,o=e.set),new rb(i,o,t)}const kr={},xr=new WeakMap;let zi;function lb(e,n=!1,t=zi){if(t){let i=xr.get(t);i||xr.set(t,i=[]),i.push(e)}else n||Mn("onWatcherCleanup() was called when there was no active watcher to associate with.")}function cb(e,n,t=qe){const{immediate:i,deep:o,once:a,scheduler:r,augmentJob:s,call:l}=t,c=M=>{(t.onWarn||Mn)("Invalid watch source: ",M,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=M=>o?M:sn(M)||o===!1||o===0?Kn(M,1):Kn(M);let f,d,p,h,b=!1,y=!1;if(Ge(e)?(d=()=>e.value,b=sn(e)):ji(e)?(d=()=>u(e),b=!0):fe(e)?(y=!0,b=e.some(M=>ji(M)||sn(M)),d=()=>e.map(M=>{if(Ge(M))return M.value;if(ji(M))return u(M);if(be(M))return l?l(M,2):M();c(M)})):be(e)?n?d=l?()=>l(e,2):e:d=()=>{if(p){Yn();try{p()}finally{Gn()}}const M=zi;zi=f;try{return l?l(e,3,[h]):e(h)}finally{zi=M}}:(d=Et,c(e)),n&&o){const M=d,U=o===!0?1/0:o;d=()=>Kn(M(),U)}const g=Dg(),C=()=>{f.stop(),g&&g.active&&cl(g.effects,f)};if(a&&n){const M=n;n=(...U)=>{M(...U),C()}}let E=y?new Array(e.length).fill(kr):kr;const x=M=>{if(!(!(f.flags&1)||!f.dirty&&!M))if(n){const U=f.run();if(o||b||(y?U.some((N,K)=>pi(N,E[K])):pi(U,E))){p&&p();const N=zi;zi=f;try{const K=[U,E===kr?void 0:y&&E[0]===kr?[]:E,h];l?l(n,3,K):n(...K),E=U}finally{zi=N}}}else f.run()};return s&&s(x),f=new Ru(d),f.scheduler=r?()=>r(x,!1):x,h=M=>lb(M,!1,f),p=f.onStop=()=>{const M=xr.get(f);if(M){if(l)l(M,4);else for(const U of M)U();xr.delete(f)}},f.onTrack=t.onTrack,f.onTrigger=t.onTrigger,n?i?x(!0):E=f.run():r?r(x.bind(null,!0),!0):f.run(),C.pause=f.pause.bind(f),C.resume=f.resume.bind(f),C.stop=C,C}function Kn(e,n=1/0,t){if(n<=0||!Ue(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),n--,Ge(e))Kn(e.value,n,t);else if(fe(e))for(let i=0;i<e.length;i++)Kn(e[i],n,t);else if(vr(e)||Bi(e))e.forEach(i=>{Kn(i,n,t)});else if(yr(e)){for(const i in e)Kn(e[i],n,t);for(const i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&Kn(e[i],n,t)}return e}var gi={NODE_ENV:'"production"',VERSION:'"6.0.39"',BUILD_DATE:'"2025-08-19T09:30:12.270Z"',BUILD_NUMBER:'"39"',DEV:!1};const Vi=[];function Rr(e){Vi.push(e)}function Nr(){Vi.pop()}let Il=!1;function J(e,...n){if(Il)return;Il=!0,Yn();const t=Vi.length?Vi[Vi.length-1].component:null,i=t&&t.appContext.config.warnHandler,o=fb();if(i)po(i,t,11,[e+n.map(a=>{var r,s;return(s=(r=a.toString)==null?void 0:r.call(a))!=null?s:JSON.stringify(a)}).join(""),t&&t.proxy,o.map(({vnode:a})=>`at <${Kr(t,a.type)}>`).join(`
`),o]);else{const a=[`[Vue warn]: ${e}`,...n];o.length&&a.push(`
`,...ub(o)),console.warn(...a)}Gn(),Il=!1}function fb(){let e=Vi[Vi.length-1];if(!e)return[];const n=[];for(;e;){const t=n[0];t&&t.vnode===e?t.recurseCount++:n.push({vnode:e,recurseCount:0});const i=e.component&&e.component.parent;e=i&&i.vnode}return n}function ub(e){const n=[];return e.forEach((t,i)=>{n.push(...i===0?[]:[`
`],...db(t))}),n}function db({vnode:e,recurseCount:n}){const t=n>0?`... (${n} recursive calls)`:"",i=e.component?e.component.parent==null:!1,o=` at <${Kr(e.component,e.type,i)}`,a=">"+t;return e.props?[o,...hb(e.props),a]:[o+a]}function hb(e){const n=[],t=Object.keys(e);return t.slice(0,3).forEach(i=>{n.push(...ed(i,e[i]))}),t.length>3&&n.push(" ..."),n}function ed(e,n,t){return Ye(n)?(n=JSON.stringify(n),t?n:[`${e}=${n}`]):typeof n=="number"||typeof n=="boolean"||n==null?t?n:[`${e}=${n}`]:Ge(n)?(n=ed(e,Ie(n.value),!0),t?n:[`${e}=Ref<`,n,">"]):be(n)?[`${e}=fn${n.name?`<${n.name}>`:""}`]:(n=Ie(n),t?n:[`${e}=`,n])}const Tl={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function po(e,n,t,i){try{return i?e(...i):e()}catch(o){aa(o,n,t)}}function On(e,n,t,i){if(be(e)){const o=po(e,n,t,i);return o&&fl(o)&&o.catch(a=>{aa(a,n,t)}),o}if(fe(e)){const o=[];for(let a=0;a<e.length;a++)o.push(On(e[a],n,t,i));return o}else J(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function aa(e,n,t,i=!0){const o=n?n.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:r}=n&&n.appContext.config||qe;if(n){let s=n.parent;const l=n.proxy,c=Tl[t];for(;s;){const u=s.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}s=s.parent}if(a){Yn(),po(a,null,10,[e,l,c]),Gn();return}}pb(e,t,o,i,r)}function pb(e,n,t,i=!0,o=!1){{const a=Tl[n];if(t&&Rr(t),J(`Unhandled error${a?` during execution of ${a}`:""}`),t&&Nr(),i)throw e;console.error(e)}}const Lt=[];let kn=-1;const mo=[];let bi=null,go=0;const td=Promise.resolve();let Lr=null;const mb=100;function Pr(e){const n=Lr||td;return e?n.then(this?e.bind(this):e):n}function gb(e){let n=kn+1,t=Lt.length;for(;n<t;){const i=n+t>>>1,o=Lt[i],a=ra(o);a<e||a===e&&o.flags&2?n=i+1:t=i}return n}function Dr(e){if(!(e.flags&1)){const n=ra(e),t=Lt[Lt.length-1];!t||!(e.flags&2)&&n>=ra(t)?Lt.push(e):Lt.splice(gb(n),0,e),e.flags|=1,nd()}}function nd(){Lr||(Lr=td.then(rd))}function id(e){fe(e)?mo.push(...e):bi&&e.id===-1?bi.splice(go+1,0,e):e.flags&1||(mo.push(e),e.flags|=1),nd()}function od(e,n,t=kn+1){for(n=n||new Map;t<Lt.length;t++){const i=Lt[t];if(i&&i.flags&2){if(e&&i.id!==e.uid||Ol(n,i))continue;Lt.splice(t,1),t--,i.flags&4&&(i.flags&=-2),i(),i.flags&4||(i.flags&=-2)}}}function ad(e){if(mo.length){const n=[...new Set(mo)].sort((t,i)=>ra(t)-ra(i));if(mo.length=0,bi){bi.push(...n);return}for(bi=n,e=e||new Map,go=0;go<bi.length;go++){const t=bi[go];Ol(e,t)||(t.flags&4&&(t.flags&=-2),t.flags&8||t(),t.flags&=-2)}bi=null,go=0}}const ra=e=>e.id==null?e.flags&2?-1:1/0:e.id;function rd(e){e=e||new Map;const n=t=>Ol(e,t);try{for(kn=0;kn<Lt.length;kn++){const t=Lt[kn];if(t&&!(t.flags&8)){if(gi.NODE_ENV!=="production"&&n(t))continue;t.flags&4&&(t.flags&=-2),po(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2)}}}finally{for(;kn<Lt.length;kn++){const t=Lt[kn];t&&(t.flags&=-2)}kn=-1,Lt.length=0,ad(e),Lr=null,(Lt.length||mo.length)&&rd(e)}}function Ol(e,n){const t=e.get(n)||0;if(t>mb){const i=n.i,o=i&&Jl(i.type);return aa(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(n,t+1),!1}let xn=!1;const Fr=new Map;Xo().__VUE_HMR_RUNTIME__={createRecord:kl(sd),rerender:kl(yb),reload:kl(Ab)};const Hi=new Map;function bb(e){const n=e.type.__hmrId;let t=Hi.get(n);t||(sd(n,e.type),t=Hi.get(n)),t.instances.add(e)}function vb(e){Hi.get(e.type.__hmrId).instances.delete(e)}function sd(e,n){return Hi.has(e)?!1:(Hi.set(e,{initialDef:Br(n),instances:new Set}),!0)}function Br(e){return r0(e)?e.__vccOpts:e}function yb(e,n){const t=Hi.get(e);t&&(t.initialDef.render=n,[...t.instances].forEach(i=>{n&&(i.render=n,Br(i.type).render=n),i.renderCache=[],xn=!0,i.update(),xn=!1}))}function Ab(e,n){const t=Hi.get(e);if(!t)return;n=Br(n),ld(t.initialDef,n);const i=[...t.instances];for(let o=0;o<i.length;o++){const a=i[o],r=Br(a.type);let s=Fr.get(r);s||(r!==t.initialDef&&ld(r,n),Fr.set(r,s=new Set)),s.add(a),a.appContext.propsCache.delete(a.type),a.appContext.emitsCache.delete(a.type),a.appContext.optionsCache.delete(a.type),a.ceReload?(s.add(a),a.ceReload(n.styles),s.delete(a)):a.parent?Dr(()=>{xn=!0,a.parent.update(),xn=!1,s.delete(a)}):a.appContext.reload?a.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),a.root.ce&&a!==a.root&&a.root.ce._removeChildStyle(r)}id(()=>{Fr.clear()})}function ld(e,n){nt(e,n);for(const t in e)t!=="__file"&&!(t in n)&&delete e[t]}function kl(e){return(n,t)=>{try{return e(n,t)}catch(i){console.error(i),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Rn,sa=[],xl=!1;function la(e,...n){Rn?Rn.emit(e,...n):xl||sa.push({event:e,args:n})}function cd(e,n){var t,i;Rn=e,Rn?(Rn.enabled=!0,sa.forEach(({event:o,args:a})=>Rn.emit(o,...a)),sa=[]):typeof window<"u"&&window.HTMLElement&&!((i=(t=window.navigator)==null?void 0:t.userAgent)!=null&&i.includes("jsdom"))?((n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{cd(a,n)}),setTimeout(()=>{Rn||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,xl=!0,sa=[])},3e3)):(xl=!0,sa=[])}function wb(e,n){la("app:init",e,n,{Fragment:rt,Text:Co,Comment:jt,Static:ha})}function Cb(e){la("app:unmount",e)}const _b=Rl("component:added"),fd=Rl("component:updated"),Eb=Rl("component:removed"),Sb=e=>{Rn&&typeof Rn.cleanupBuffer=="function"&&!Rn.cleanupBuffer(e)&&Eb(e)};function Rl(e){return n=>{la(e,n.appContext.app,n.uid,n.parent?n.parent.uid:void 0,n)}}const Mb=ud("perf:start"),Ib=ud("perf:end");function ud(e){return(n,t,i)=>{la(e,n.appContext.app,n.uid,n,t,i)}}function Tb(e,n,t){la("component:emit",e.appContext.app,e,n,t)}let lt=null,dd=null;function qr(e){const n=lt;return lt=e,dd=e&&e.type.__scopeId||null,n}function Gt(e,n=lt,t){if(!n||e._n)return e;const i=(...o)=>{i._d&&Zd(-1);const a=qr(n);let r;try{r=e(...o)}finally{qr(a),i._d&&Zd(1)}return fd(n),r};return i._n=!0,i._c=!0,i._d=!0,i}function hd(e){yg(e)&&J("Do not use built-in directive ids as custom directive id: "+e)}function Zn(e,n){if(lt===null)return J("withDirectives can only be used inside render functions."),e;const t=Qr(lt),i=e.dirs||(e.dirs=[]);for(let o=0;o<n.length;o++){let[a,r,s,l=qe]=n[o];a&&(be(a)&&(a={mounted:a,updated:a}),a.deep&&Kn(r),i.push({dir:a,instance:t,value:r,oldValue:void 0,arg:s,modifiers:l}))}return e}function Wi(e,n,t,i){const o=e.dirs,a=n&&n.dirs;for(let r=0;r<o.length;r++){const s=o[r];a&&(s.oldValue=a[r].value);let l=s.dir[i];l&&(Yn(),On(l,t,8,[e.el,s,e,n]),Gn())}}const Ob=Symbol("_vte"),kb=e=>e.__isTeleport;function Nl(e,n){e.shapeFlag&6&&e.component?(e.transition=n,Nl(e.component.subTree,n)):e.shapeFlag&128?(e.ssContent.transition=n.clone(e.ssContent),e.ssFallback.transition=n.clone(e.ssFallback)):e.transition=n}function Ve(e,n){return be(e)?nt({name:e.name},n,{setup:e}):e}function pd(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const xb=new WeakSet;function Ur(e,n,t,i,o=!1){if(fe(e)){e.forEach((h,b)=>Ur(h,n&&(fe(n)?n[b]:n),t,i,o));return}if(bo(i)&&!o){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&Ur(e,n,t,i.component.subTree);return}const a=i.shapeFlag&4?Qr(i.component):i.el,r=o?null:a,{i:s,r:l}=e;if(!s){J("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const c=n&&n.r,u=s.refs===qe?s.refs={}:s.refs,f=s.setupState,d=Ie(f),p=f===qe?()=>!1:h=>(Oe(d,h)&&!Ge(d[h])&&J(`Template ref "${h}" used on a non-ref value. It will not work in the production build.`),xb.has(d[h])?!1:Oe(d,h));if(c!=null&&c!==l&&(Ye(c)?(u[c]=null,p(c)&&(f[c]=null)):Ge(c)&&(c.value=null)),be(l))po(l,s,12,[r,u]);else{const h=Ye(l),b=Ge(l);if(h||b){const y=()=>{if(e.f){const g=h?p(l)?f[l]:u[l]:l.value;o?fe(g)&&cl(g,a):fe(g)?g.includes(a)||g.push(a):h?(u[l]=[a],p(l)&&(f[l]=u[l])):(l.value=[a],e.k&&(u[e.k]=l.value))}else h?(u[l]=r,p(l)&&(f[l]=r)):b?(l.value=r,e.k&&(u[e.k]=r)):J("Invalid template ref type:",l,`(${typeof l})`)};r?(y.id=-1,Qt(y,t)):y()}else J("Invalid template ref type:",l,`(${typeof l})`)}}Xo().requestIdleCallback,Xo().cancelIdleCallback;const bo=e=>!!e.type.__asyncLoader,Ll=e=>e.type.__isKeepAlive;function md(e,n){gd(e,"a",n)}function Pl(e,n){gd(e,"da",n)}function gd(e,n,t=dt){const i=e.__wdc||(e.__wdc=()=>{let o=t;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if($r(n,i,t),t){let o=t.parent;for(;o&&o.parent;)Ll(o.parent.vnode)&&Rb(i,n,t,o),o=o.parent}}function Rb(e,n,t,i){const o=$r(n,e,i,!0);vo(()=>{cl(i[n],o)},t)}function $r(e,n,t=dt,i=!1){if(t){const o=t[e]||(t[e]=[]),a=n.__weh||(n.__weh=(...r)=>{Yn();const s=ba(t),l=On(n,t,e,r);return s(),Gn(),l});return i?o.unshift(a):o.push(a),a}else{const o=Ui(Tl[e].replace(/ hook$/,""));J(`${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Jn=e=>(n,t=dt)=>{(!va||e==="sp")&&$r(e,(...i)=>n(...i),t)},Mt=Jn("bm"),Xn=Jn("m"),Nb=Jn("bu"),Lb=Jn("u"),bd=Jn("bum"),vo=Jn("um"),Pb=Jn("sp"),Db=Jn("rtg"),Fb=Jn("rtc");function Bb(e,n=dt){$r("ec",e,n)}const jr="components",qb="directives";function le(e,n){return Dl(jr,e,!0,n)||e}const vd=Symbol.for("v-ndc");function Ub(e){return Ye(e)?Dl(jr,e,!1)||e:e||vd}function ca(e){return Dl(qb,e)}function Dl(e,n,t=!0,i=!1){const o=lt||dt;if(o){const a=o.type;if(e===jr){const s=Jl(a,!1);if(s&&(s===n||s===gt(n)||s===qi(gt(n))))return a}const r=yd(o[e]||a[e],n)||yd(o.appContext[e],n);if(!r&&i)return a;if(t&&!r){const s=e===jr?`
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";J(`Failed to resolve ${e.slice(0,-1)}: ${n}${s}`)}return r}else J(`resolve${qi(e.slice(0,-1))} can only be used in render() or setup().`)}function yd(e,n){return e&&(e[n]||e[gt(n)]||e[qi(gt(n))])}function $b(e,n,t,i){let o;const a=t,r=fe(e);if(r||Ye(e)){const s=r&&ji(e);let l=!1;s&&(l=!sn(e),e=Er(e)),o=new Array(e.length);for(let c=0,u=e.length;c<u;c++)o[c]=n(l?St(e[c]):e[c],c,void 0,a)}else if(typeof e=="number"){Number.isInteger(e)||J(`The v-for range expect an integer value but got ${e}.`),o=new Array(e);for(let s=0;s<e;s++)o[s]=n(s+1,s,void 0,a)}else if(Ue(e))if(e[Symbol.iterator])o=Array.from(e,(s,l)=>n(s,l,void 0,a));else{const s=Object.keys(e);o=new Array(s.length);for(let l=0,c=s.length;l<c;l++){const u=s[l];o[l]=n(e[u],u,l,a)}}else o=[];return o}function fa(e,n,t={},i,o){if(lt.ce||lt.parent&&bo(lt.parent)&&lt.parent.ce)return n!=="default"&&(t.name=n),k(),Se(rt,null,[de("slot",t,i)],64);let a=e[n];a&&a.length>1&&(J("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),a=()=>[]),a&&a._c&&(a._d=!1),k();const r=a&&Ad(a(t)),s=t.key||r&&r.key,l=Se(rt,{key:(s&&!yn(s)?s:`_${n}`)+""},r||[],r&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),a&&a._c&&(a._d=!0),l}function Ad(e){return e.some(n=>Qi(n)?!(n.type===jt||n.type===rt&&!Ad(n.children)):!0)?e:null}const Fl=e=>e?i0(e)?Qr(e):Fl(e.parent):null,Yi=nt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>Tn(e.props),$attrs:e=>Tn(e.attrs),$slots:e=>Tn(e.slots),$refs:e=>Tn(e.refs),$parent:e=>Fl(e.parent),$root:e=>Fl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Sd(e),$forceUpdate:e=>e.f||(e.f=()=>{Dr(e.update)}),$nextTick:e=>e.n||(e.n=Pr.bind(e.proxy)),$watch:e=>yv.bind(e)}),Bl=e=>e==="_"||e==="$",ql=(e,n)=>e!==qe&&!e.__isScriptSetup&&Oe(e,n),wd={get({_:e},n){if(n==="__v_skip")return!0;const{ctx:t,setupState:i,data:o,props:a,accessCache:r,type:s,appContext:l}=e;if(n==="__isVue")return!0;let c;if(n[0]!=="$"){const p=r[n];if(p!==void 0)switch(p){case 1:return i[n];case 2:return o[n];case 4:return t[n];case 3:return a[n]}else{if(ql(i,n))return r[n]=1,i[n];if(o!==qe&&Oe(o,n))return r[n]=2,o[n];if((c=e.propsOptions[0])&&Oe(c,n))return r[n]=3,a[n];if(t!==qe&&Oe(t,n))return r[n]=4,t[n];Ul&&(r[n]=0)}}const u=Yi[n];let f,d;if(u)return n==="$attrs"?(bt(e.attrs,"get",""),Wr()):n==="$slots"&&bt(e,"get",n),u(e);if((f=s.__cssModules)&&(f=f[n]))return f;if(t!==qe&&Oe(t,n))return r[n]=4,t[n];if(d=l.config.globalProperties,Oe(d,n))return d[n];lt&&(!Ye(n)||n.indexOf("__v")!==0)&&(o!==qe&&Bl(n[0])&&Oe(o,n)?J(`Property ${JSON.stringify(n)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===lt&&J(`Property ${JSON.stringify(n)} was accessed during render but is not defined on instance.`))},set({_:e},n,t){const{data:i,setupState:o,ctx:a}=e;return ql(o,n)?(o[n]=t,!0):o.__isScriptSetup&&Oe(o,n)?(J(`Cannot mutate <script setup>binding "${n}" from Options API.`),!1):i!==qe&&Oe(i,n)?(i[n]=t,!0):Oe(e.props,n)?(J(`Attempting to mutate prop "${n}". Props are readonly.`),!1):n[0]==="$"&&n.slice(1)in e?(J(`Attempting to mutate public property "${n}". Properties starting with $ are reserved and readonly.`),!1):(n in e.appContext.config.globalProperties?Object.defineProperty(a,n,{enumerable:!0,configurable:!0,value:t}):a[n]=t,!0)},has({_:{data:e,setupState:n,accessCache:t,ctx:i,appContext:o,propsOptions:a}},r){let s;return!!t[r]||e!==qe&&Oe(e,r)||ql(n,r)||(s=a[0])&&Oe(s,r)||Oe(i,r)||Oe(Yi,r)||Oe(o.config.globalProperties,r)},defineProperty(e,n,t){return t.get!=null?e._.accessCache[n]=0:Oe(t,"value")&&this.set(e,n,t.value,null),Reflect.defineProperty(e,n,t)}};wd.ownKeys=e=>(J("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e));function jb(e){const n={};return Object.defineProperty(n,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(Yi).forEach(t=>{Object.defineProperty(n,t,{configurable:!0,enumerable:!1,get:()=>Yi[t](e),set:Et})}),n}function zb(e){const{ctx:n,propsOptions:[t]}=e;t&&Object.keys(t).forEach(i=>{Object.defineProperty(n,i,{enumerable:!0,configurable:!0,get:()=>e.props[i],set:Et})})}function Vb(e){const{ctx:n,setupState:t}=e;Object.keys(Ie(t)).forEach(i=>{if(!t.__isScriptSetup){if(Bl(i[0])){J(`setup() return property ${JSON.stringify(i)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(n,i,{enumerable:!0,configurable:!0,get:()=>t[i],set:Et})}})}function Cd(e){return fe(e)?e.reduce((n,t)=>(n[t]=null,n),{}):e}function Hb(){const e=Object.create(null);return(n,t)=>{e[t]?J(`${n} property "${t}" is already defined in ${e[t]}.`):e[t]=n}}let Ul=!0;function Wb(e){const n=Sd(e),t=e.proxy,i=e.ctx;Ul=!1,n.beforeCreate&&_d(n.beforeCreate,e,"bc");const{data:o,computed:a,methods:r,watch:s,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:b,deactivated:y,beforeDestroy:g,beforeUnmount:C,destroyed:E,unmounted:x,render:M,renderTracked:U,renderTriggered:N,errorCaptured:K,serverPrefetch:re,expose:W,inheritAttrs:ee,components:he,directives:Be,filters:se}=n,Q=Hb();{const[z]=e.propsOptions;if(z)for(const D in z)Q("Props",D)}if(c&&Yb(c,i,Q),r)for(const z in r){const D=r[z];be(D)?(Object.defineProperty(i,z,{value:D.bind(t),configurable:!0,enumerable:!0,writable:!0}),Q("Methods",z)):J(`Method "${z}" has type "${typeof D}" in the component definition. Did you reference the function correctly?`)}if(o){be(o)||J("The data option must be a function. Plain object usage is no longer supported.");const z=o.call(t,t);if(fl(z)&&J("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Ue(z))J("data() should return an object.");else{e.data=Nt(z);for(const D in z)Q("Data",D),Bl(D[0])||Object.defineProperty(i,D,{configurable:!0,enumerable:!0,get:()=>z[D],set:Et})}}if(Ul=!0,a)for(const z in a){const D=a[z],te=be(D)?D.bind(t,t):be(D.get)?D.get.bind(t,t):Et;te===Et&&J(`Computed property "${z}" has no getter.`);const X=!be(D)&&be(D.set)?D.set.bind(t):()=>{J(`Write operation failed: computed property "${z}" is readonly.`)},me=Y({get:te,set:X});Object.defineProperty(i,z,{enumerable:!0,configurable:!0,get:()=>me.value,set:ge=>me.value=ge}),Q("Computed",z)}if(s)for(const z in s)Ed(s[z],i,t,z);if(l){const z=be(l)?l.call(t):l;Reflect.ownKeys(z).forEach(D=>{$t(D,z[D])})}u&&_d(u,e,"c");function q(z,D){fe(D)?D.forEach(te=>z(te.bind(t))):D&&z(D.bind(t))}if(q(Mt,f),q(Xn,d),q(Nb,p),q(Lb,h),q(md,b),q(Pl,y),q(Bb,K),q(Fb,U),q(Db,N),q(bd,C),q(vo,x),q(Pb,re),fe(W))if(W.length){const z=e.exposed||(e.exposed={});W.forEach(D=>{Object.defineProperty(z,D,{get:()=>t[D],set:te=>t[D]=te})})}else e.exposed||(e.exposed={});M&&e.render===Et&&(e.render=M),ee!=null&&(e.inheritAttrs=ee),he&&(e.components=he),Be&&(e.directives=Be),re&&pd(e)}function Yb(e,n,t=Et){fe(e)&&(e=$l(e));for(const i in e){const o=e[i];let a;Ue(o)?"default"in o?a=ue(o.from||i,o.default,!0):a=ue(o.from||i):a=ue(o),Ge(a)?Object.defineProperty(n,i,{enumerable:!0,configurable:!0,get:()=>a.value,set:r=>a.value=r}):n[i]=a,t("Inject",i)}}function _d(e,n,t){On(fe(e)?e.map(i=>i.bind(n.proxy)):e.bind(n.proxy),n,t)}function Ed(e,n,t,i){let o=i.includes(".")?Vd(t,i):()=>t[i];if(Ye(e)){const a=n[e];be(a)?Kt(o,a):J(`Invalid watch handler specified by key "${e}"`,a)}else if(be(e))Kt(o,e.bind(t));else if(Ue(e))if(fe(e))e.forEach(a=>Ed(a,n,t,i));else{const a=be(e.handler)?e.handler.bind(t):n[e.handler];be(a)?Kt(o,a,e):J(`Invalid watch handler specified by key "${e.handler}"`,a)}else J(`Invalid watch option: "${i}"`,e)}function Sd(e){const n=e.type,{mixins:t,extends:i}=n,{mixins:o,optionsCache:a,config:{optionMergeStrategies:r}}=e.appContext,s=a.get(n);let l;return s?l=s:!o.length&&!t&&!i?l=n:(l={},o.length&&o.forEach(c=>zr(l,c,r,!0)),zr(l,n,r)),Ue(n)&&a.set(n,l),l}function zr(e,n,t,i=!1){const{mixins:o,extends:a}=n;a&&zr(e,a,t,!0),o&&o.forEach(r=>zr(e,r,t,!0));for(const r in n)if(i&&r==="expose")J('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const s=Gb[r]||t&&t[r];e[r]=s?s(e[r],n[r]):n[r]}return e}const Gb={data:Md,props:Id,emits:Id,methods:ua,computed:ua,beforeCreate:Pt,created:Pt,beforeMount:Pt,mounted:Pt,beforeUpdate:Pt,updated:Pt,beforeDestroy:Pt,beforeUnmount:Pt,destroyed:Pt,unmounted:Pt,activated:Pt,deactivated:Pt,errorCaptured:Pt,serverPrefetch:Pt,components:ua,directives:ua,watch:Kb,provide:Md,inject:Qb};function Md(e,n){return n?e?function(){return nt(be(e)?e.call(this,this):e,be(n)?n.call(this,this):n)}:n:e}function Qb(e,n){return ua($l(e),$l(n))}function $l(e){if(fe(e)){const n={};for(let t=0;t<e.length;t++)n[e[t]]=e[t];return n}return e}function Pt(e,n){return e?[...new Set([].concat(e,n))]:n}function ua(e,n){return e?nt(Object.create(null),e,n):n}function Id(e,n){return e?fe(e)&&fe(n)?[...new Set([...e,...n])]:nt(Object.create(null),Cd(e),Cd(n??{})):n}function Kb(e,n){if(!e)return n;if(!n)return e;const t=nt(Object.create(null),e);for(const i in n)t[i]=Pt(e[i],n[i]);return t}function Td(){return{app:null,config:{isNativeTag:bg,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Zb=0;function Jb(e,n){return function(i,o=null){be(i)||(i=nt({},i)),o!=null&&!Ue(o)&&(J("root props passed to app.mount() must be an object."),o=null);const a=Td(),r=new WeakSet,s=[];let l=!1;const c=a.app={_uid:Zb++,_component:i,_props:o,_container:null,_context:a,_instance:null,version:l0,get config(){return a.config},set config(u){J("app.config cannot be replaced. Modify individual options instead.")},use(u,...f){return r.has(u)?J("Plugin has already been applied to target app."):u&&be(u.install)?(r.add(u),u.install(c,...f)):be(u)?(r.add(u),u(c,...f)):J('A plugin must either be a function or an object with an "install" function.'),c},mixin(u){return a.mixins.includes(u)?J("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):a.mixins.push(u),c},component(u,f){return Zl(u,a.config),f?(a.components[u]&&J(`Component "${u}" has already been registered in target app.`),a.components[u]=f,c):a.components[u]},directive(u,f){return hd(u),f?(a.directives[u]&&J(`Directive "${u}" has already been registered in target app.`),a.directives[u]=f,c):a.directives[u]},mount(u,f,d){if(l)J("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp=()=> createApp(App)`");else{u.__vue_app__&&J("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const p=c._ceVNode||de(i,o);return p.appContext=a,d===!0?d="svg":d===!1&&(d=void 0),a.reload=()=>{e(yi(p),u,d)},e(p,u,d),l=!0,c._container=u,u.__vue_app__=c,c._instance=p.component,wb(c,l0),Qr(p.component)}},onUnmount(u){typeof u!="function"&&J(`Expected function as first argument to app.onUnmount(), but got ${typeof u}`),s.push(u)},unmount(){l?(On(s,c._instance,16),e(null,c._container),c._instance=null,Cb(c),delete c._container.__vue_app__):J("Cannot unmount an app that is not mounted.")},provide(u,f){return u in a.provides&&J(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`),a.provides[u]=f,c},runWithContext(u){const f=yo;yo=c;try{return u()}finally{yo=f}}};return c}}let yo=null;function $t(e,n){if(!dt)J("provide() can only be used inside setup().");else{let t=dt.provides;const i=dt.parent&&dt.parent.provides;i===t&&(t=dt.provides=Object.create(i)),t[e]=n}}function ue(e,n,t=!1){const i=dt||lt;if(i||yo){const o=yo?yo._context.provides:i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return t&&be(n)?n.call(i&&i.proxy):n;J(`injection "${String(e)}" not found.`)}else J("inject() can only be used inside setup() or functional components.")}const Od={},kd=()=>Object.create(Od),xd=e=>Object.getPrototypeOf(e)===Od;function Xb(e,n,t,i=!1){const o={},a=kd();e.propsDefaults=Object.create(null),Rd(e,n,o,a);for(const r in e.propsOptions[0])r in o||(o[r]=void 0);Pd(n||{},o,e),t?e.props=i?o:tb(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function ev(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function tv(e,n,t,i){const{props:o,attrs:a,vnode:{patchFlag:r}}=e,s=Ie(o),[l]=e.propsOptions;let c=!1;if(!ev(e)&&(i||r>0)&&!(r&16)){if(r&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Hr(e.emitsOptions,d))continue;const p=n[d];if(l)if(Oe(a,d))p!==a[d]&&(a[d]=p,c=!0);else{const h=gt(d);o[h]=jl(l,s,h,p,e,!1)}else p!==a[d]&&(a[d]=p,c=!0)}}}else{Rd(e,n,o,a)&&(c=!0);let u;for(const f in s)(!n||!Oe(n,f)&&((u=Ut(f))===f||!Oe(n,u)))&&(l?t&&(t[f]!==void 0||t[u]!==void 0)&&(o[f]=jl(l,s,f,void 0,e,!0)):delete o[f]);if(a!==s)for(const f in a)(!n||!Oe(n,f))&&(delete a[f],c=!0)}c&&In(e.attrs,"set",""),Pd(n||{},o,e)}function Rd(e,n,t,i){const[o,a]=e.propsOptions;let r=!1,s;if(n)for(let l in n){if(Jo(l))continue;const c=n[l];let u;o&&Oe(o,u=gt(l))?!a||!a.includes(u)?t[u]=c:(s||(s={}))[u]=c:Hr(e.emitsOptions,l)||(!(l in i)||c!==i[l])&&(i[l]=c,r=!0)}if(a){const l=Ie(t),c=s||qe;for(let u=0;u<a.length;u++){const f=a[u];t[f]=jl(o,l,f,c[f],e,!Oe(c,f))}}return r}function jl(e,n,t,i,o,a){const r=e[t];if(r!=null){const s=Oe(r,"default");if(s&&i===void 0){const l=r.default;if(r.type!==Function&&!r.skipFactory&&be(l)){const{propsDefaults:c}=o;if(t in c)i=c[t];else{const u=ba(o);i=c[t]=l.call(null,n),u()}}else i=l;o.ce&&o.ce._setProp(t,i)}r[0]&&(a&&!s?i=!1:r[1]&&(i===""||i===Ut(t))&&(i=!0))}return i}const nv=new WeakMap;function Nd(e,n,t=!1){const i=t?nv:n.propsCache,o=i.get(e);if(o)return o;const a=e.props,r={},s=[];let l=!1;if(!be(e)){const u=f=>{l=!0;const[d,p]=Nd(f,n,!0);nt(r,d),p&&s.push(...p)};!t&&n.mixins.length&&n.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!l)return Ue(e)&&i.set(e,fo),fo;if(fe(a))for(let u=0;u<a.length;u++){Ye(a[u])||J("props must be strings when using array syntax.",a[u]);const f=gt(a[u]);Ld(f)&&(r[f]=qe)}else if(a){Ue(a)||J("invalid props options",a);for(const u in a){const f=gt(u);if(Ld(f)){const d=a[u],p=r[f]=fe(d)||be(d)?{type:d}:nt({},d),h=p.type;let b=!1,y=!0;if(fe(h))for(let g=0;g<h.length;++g){const C=h[g],E=be(C)&&C.name;if(E==="Boolean"){b=!0;break}else E==="String"&&(y=!1)}else b=be(h)&&h.name==="Boolean";p[0]=b,p[1]=y,(b||Oe(p,"default"))&&s.push(f)}}}const c=[r,s];return Ue(e)&&i.set(e,c),c}function Ld(e){return e[0]!=="$"&&!Jo(e)?!0:(J(`Invalid prop name: "${e}" is a reserved property.`),!1)}function iv(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Pd(e,n,t){const i=Ie(n),o=t.propsOptions[0],a=Object.keys(e).map(r=>gt(r));for(const r in o){let s=o[r];s!=null&&ov(r,i[r],s,Tn(i),!a.includes(r))}}function ov(e,n,t,i,o){const{type:a,required:r,validator:s,skipCheck:l}=t;if(r&&o){J('Missing required prop: "'+e+'"');return}if(!(n==null&&!r)){if(a!=null&&a!==!0&&!l){let c=!1;const u=fe(a)?a:[a],f=[];for(let d=0;d<u.length&&!c;d++){const{valid:p,expectedType:h}=rv(n,u[d]);f.push(h||""),c=p}if(!c){J(sv(e,n,f));return}}s&&!s(n,i)&&J('Invalid prop: custom validator check failed for prop "'+e+'".')}}const av=Wn("String,Number,Boolean,Function,Symbol,BigInt");function rv(e,n){let t;const i=iv(n);if(i==="null")t=e===null;else if(av(i)){const o=typeof e;t=o===i.toLowerCase(),!t&&o==="object"&&(t=e instanceof n)}else i==="Object"?t=Ue(e):i==="Array"?t=fe(e):t=e instanceof n;return{valid:t,expectedType:i}}function sv(e,n,t){if(t.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let i=`Invalid prop: type check failed for prop "${e}". Expected ${t.map(qi).join(" | ")}`;const o=t[0],a=ul(n),r=Dd(n,o),s=Dd(n,a);return t.length===1&&Fd(o)&&!lv(o,a)&&(i+=` with value ${r}`),i+=`, got ${a} `,Fd(a)&&(i+=`with value ${s}.`),i}function Dd(e,n){return n==="String"?`"${e}"`:n==="Number"?`${Number(e)}`:`${e}`}function Fd(e){return["string","number","boolean"].some(t=>e.toLowerCase()===t)}function lv(...e){return e.some(n=>n.toLowerCase()==="boolean")}const Bd=e=>e[0]==="_"||e==="$stable",zl=e=>fe(e)?e.map(wn):[wn(e)],cv=(e,n,t)=>{if(n._n)return n;const i=Gt((...o)=>(gi.NODE_ENV!=="production"&&dt&&(!t||t.root===dt.root)&&J(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),zl(n(...o))),t);return i._c=!1,i},qd=(e,n,t)=>{const i=e._ctx;for(const o in e){if(Bd(o))continue;const a=e[o];if(be(a))n[o]=cv(o,a,i);else if(a!=null){J(`Non-function value encountered for slot "${o}". Prefer function slots for better performance.`);const r=zl(a);n[o]=()=>r}}},Ud=(e,n)=>{Ll(e.vnode)||J("Non-function value encountered for default slot. Prefer function slots for better performance.");const t=zl(n);e.slots.default=()=>t},Vl=(e,n,t)=>{for(const i in n)(t||i!=="_")&&(e[i]=n[i])},fv=(e,n,t)=>{const i=e.slots=kd();if(e.vnode.shapeFlag&32){const o=n._;o?(Vl(i,n,t),t&&wr(i,"_",o,!0)):qd(n,i)}else n&&Ud(e,n)},uv=(e,n,t)=>{const{vnode:i,slots:o}=e;let a=!0,r=qe;if(i.shapeFlag&32){const s=n._;s?xn?(Vl(o,n,t),In(e,"set","$slots")):t&&s===1?a=!1:Vl(o,n,t):(a=!n.$stable,qd(n,o)),r=n}else n&&(Ud(e,n),r={default:1});if(a)for(const s in o)!Bd(s)&&r[s]==null&&delete o[s]};let da,vi;function Ao(e,n){e.appContext.config.performance&&Vr()&&vi.mark(`vue-${n}-${e.uid}`),Mb(e,n,Vr()?vi.now():Date.now())}function wo(e,n){if(e.appContext.config.performance&&Vr()){const t=`vue-${n}-${e.uid}`,i=t+":end";vi.mark(i),vi.measure(`<${Kr(e,e.type)}> ${n}`,t,i),vi.clearMarks(t),vi.clearMarks(i)}Ib(e,n,Vr()?vi.now():Date.now())}function Vr(){return da!==void 0||(typeof window<"u"&&window.performance?(da=!0,vi=window.performance):da=!1),da}function dv(){const e=[];if(e.length){const n=e.length>1;console.warn(`Feature flag${n?"s":""} ${e.join(", ")} ${n?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
For more details, see https://link.vuejs.org/feature-flags.`)}}const Qt=Mv;function hv(e){return pv(e)}function pv(e,n){dv();const t=Xo();t.__VUE__=!0,cd(t.__VUE_DEVTOOLS_GLOBAL_HOOK__,t);const{insert:i,remove:o,patchProp:a,createElement:r,createText:s,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=Et,insertStaticContent:h}=e,b=(m,A,O,F=null,V=null,v=null,w=void 0,S=null,P=xn?!1:!!A.dynamicChildren)=>{if(m===A)return;m&&!ga(m,A)&&(F=ft(m),Ee(m,V,v,!0),m=null),A.patchFlag===-2&&(P=!1,A.dynamicChildren=null);const{type:j,ref:ie,shapeFlag:$}=A;switch(j){case Co:y(m,A,O,F);break;case jt:g(m,A,O,F);break;case ha:m==null?C(A,O,F,w):E(m,A,O,w);break;case rt:Be(m,A,O,F,V,v,w,S,P);break;default:$&1?U(m,A,O,F,V,v,w,S,P):$&6?se(m,A,O,F,V,v,w,S,P):$&64||$&128?j.process(m,A,O,F,V,v,w,S,P,ut):J("Invalid VNode type:",j,`(${typeof j})`)}ie!=null&&V&&Ur(ie,m&&m.ref,v,A||m,!A)},y=(m,A,O,F)=>{if(m==null)i(A.el=s(A.children),O,F);else{const V=A.el=m.el;A.children!==m.children&&c(V,A.children)}},g=(m,A,O,F)=>{m==null?i(A.el=l(A.children||""),O,F):A.el=m.el},C=(m,A,O,F)=>{[m.el,m.anchor]=h(m.children,A,O,F,m.el,m.anchor)},E=(m,A,O,F)=>{if(A.children!==m.children){const V=d(m.anchor);M(m),[A.el,A.anchor]=h(A.children,O,V,F)}else A.el=m.el,A.anchor=m.anchor},x=({el:m,anchor:A},O,F)=>{let V;for(;m&&m!==A;)V=d(m),i(m,O,F),m=V;i(A,O,F)},M=({el:m,anchor:A})=>{let O;for(;m&&m!==A;)O=d(m),o(m),m=O;o(A)},U=(m,A,O,F,V,v,w,S,P)=>{A.type==="svg"?w="svg":A.type==="math"&&(w="mathml"),m==null?N(A,O,F,V,v,w,S,P):W(m,A,V,v,w,S,P)},N=(m,A,O,F,V,v,w,S)=>{let P,j;const{props:ie,shapeFlag:$,transition:I,dirs:L}=m;if(P=m.el=r(m.type,v,ie&&ie.is,ie),$&8?u(P,m.children):$&16&&re(m.children,P,null,F,V,Hl(m,v),w,S),L&&Wi(m,null,F,"created"),K(P,m,m.scopeId,w,F),ie){for(const pe in ie)pe!=="value"&&!Jo(pe)&&a(P,pe,null,ie[pe],v,F);"value"in ie&&a(P,"value",null,ie.value,v),(j=ie.onVnodeBeforeMount)&&Nn(j,F,m)}wr(P,"__vnode",m,!0),wr(P,"__vueParentComponent",F,!0),L&&Wi(m,null,F,"beforeMount");const oe=mv(V,I);oe&&I.beforeEnter(P),i(P,A,O),((j=ie&&ie.onVnodeMounted)||oe||L)&&Qt(()=>{j&&Nn(j,F,m),oe&&I.enter(P),L&&Wi(m,null,F,"mounted")},V)},K=(m,A,O,F,V)=>{if(O&&p(m,O),F)for(let v=0;v<F.length;v++)p(m,F[v]);if(V){let v=V.subTree;if(v.patchFlag>0&&v.patchFlag&2048&&(v=Gl(v.children)||v),A===v||Kd(v.type)&&(v.ssContent===A||v.ssFallback===A)){const w=V.vnode;K(m,w,w.scopeId,w.slotScopeIds,V.parent)}}},re=(m,A,O,F,V,v,w,S,P=0)=>{for(let j=P;j<m.length;j++){const ie=m[j]=S?Ai(m[j]):wn(m[j]);b(null,ie,A,O,F,V,v,w,S)}},W=(m,A,O,F,V,v,w)=>{const S=A.el=m.el;S.__vnode=A;let{patchFlag:P,dynamicChildren:j,dirs:ie}=A;P|=m.patchFlag&16;const $=m.props||qe,I=A.props||qe;let L;if(O&&Gi(O,!1),(L=I.onVnodeBeforeUpdate)&&Nn(L,O,A,m),ie&&Wi(A,m,O,"beforeUpdate"),O&&Gi(O,!0),xn&&(P=0,w=!1,j=null),($.innerHTML&&I.innerHTML==null||$.textContent&&I.textContent==null)&&u(S,""),j?(ee(m.dynamicChildren,j,S,O,F,Hl(A,V),v),Wl(m,A)):w||te(m,A,S,null,O,F,Hl(A,V),v,!1),P>0){if(P&16)he(S,$,I,O,V);else if(P&2&&$.class!==I.class&&a(S,"class",null,I.class,V),P&4&&a(S,"style",$.style,I.style,V),P&8){const oe=A.dynamicProps;for(let pe=0;pe<oe.length;pe++){const Ce=oe[pe],tt=$[Ce],Re=I[Ce];(Re!==tt||Ce==="value")&&a(S,Ce,tt,Re,V,O)}}P&1&&m.children!==A.children&&u(S,A.children)}else!w&&j==null&&he(S,$,I,O,V);((L=I.onVnodeUpdated)||ie)&&Qt(()=>{L&&Nn(L,O,A,m),ie&&Wi(A,m,O,"updated")},F)},ee=(m,A,O,F,V,v,w)=>{for(let S=0;S<A.length;S++){const P=m[S],j=A[S],ie=P.el&&(P.type===rt||!ga(P,j)||P.shapeFlag&70)?f(P.el):O;b(P,j,ie,null,F,V,v,w,!0)}},he=(m,A,O,F,V)=>{if(A!==O){if(A!==qe)for(const v in A)!Jo(v)&&!(v in O)&&a(m,v,A[v],null,V,F);for(const v in O){if(Jo(v))continue;const w=O[v],S=A[v];w!==S&&v!=="value"&&a(m,v,S,w,V,F)}"value"in O&&a(m,"value",A.value,O.value,V)}},Be=(m,A,O,F,V,v,w,S,P)=>{const j=A.el=m?m.el:s(""),ie=A.anchor=m?m.anchor:s("");let{patchFlag:$,dynamicChildren:I,slotScopeIds:L}=A;(xn||$&2048)&&($=0,P=!1,I=null),L&&(S=S?S.concat(L):L),m==null?(i(j,O,F),i(ie,O,F),re(A.children||[],O,ie,V,v,w,S,P)):$>0&&$&64&&I&&m.dynamicChildren?(ee(m.dynamicChildren,I,O,V,v,w,S),Wl(m,A)):te(m,A,O,ie,V,v,w,S,P)},se=(m,A,O,F,V,v,w,S,P)=>{A.slotScopeIds=S,m==null?A.shapeFlag&512?V.ctx.activate(A,O,F,w,P):Q(A,O,F,V,v,w,P):q(m,A,P)},Q=(m,A,O,F,V,v,w)=>{const S=m.component=Lv(m,F,V);if(S.type.__hmrId&&bb(S),Rr(m),Ao(S,"mount"),Ll(m)&&(S.ctx.renderer=ut),Ao(S,"init"),Dv(S,!1,w),wo(S,"init"),S.asyncDep){if(xn&&(m.el=null),V&&V.registerDep(S,z,w),!m.el){const P=S.subTree=de(jt);g(null,P,A,O)}}else z(S,m,A,O,V,v,w);Nr(),wo(S,"mount")},q=(m,A,O)=>{const F=A.component=m.component;if(Ev(m,A,O))if(F.asyncDep&&!F.asyncResolved){Rr(A),D(F,A,O),Nr();return}else F.next=A,F.update();else A.el=m.el,F.vnode=A},z=(m,A,O,F,V,v,w)=>{const S=()=>{if(m.isMounted){let{next:$,bu:I,u:L,parent:oe,vnode:pe}=m;{const vn=$d(m);if(vn){$&&($.el=pe.el,D(m,$,w)),vn.asyncDep.then(()=>{m.isUnmounted||S()});return}}let Ce=$,tt;Rr($||m.vnode),Gi(m,!1),$?($.el=pe.el,D(m,$,w)):$=pe,I&&uo(I),(tt=$.props&&$.props.onVnodeBeforeUpdate)&&Nn(tt,oe,$,pe),Gi(m,!0),Ao(m,"render");const Re=Wd(m);wo(m,"render");const wt=m.subTree;m.subTree=Re,Ao(m,"patch"),b(wt,Re,f(wt.el),ft(wt),m,V,v),wo(m,"patch"),$.el=Re.el,Ce===null&&Sv(m,Re.el),L&&Qt(L,V),(tt=$.props&&$.props.onVnodeUpdated)&&Qt(()=>Nn(tt,oe,$,pe),V),fd(m),Nr()}else{let $;const{el:I,props:L}=A,{bm:oe,m:pe,parent:Ce,root:tt,type:Re}=m,wt=bo(A);Gi(m,!1),oe&&uo(oe),!wt&&($=L&&L.onVnodeBeforeMount)&&Nn($,Ce,A),Gi(m,!0);{tt.ce&&tt.ce._injectChildStyle(Re),Ao(m,"render");const vn=m.subTree=Wd(m);wo(m,"render"),Ao(m,"patch"),b(null,vn,O,F,m,V,v),wo(m,"patch"),A.el=vn.el}if(pe&&Qt(pe,V),!wt&&($=L&&L.onVnodeMounted)){const vn=A;Qt(()=>Nn($,Ce,vn),V)}(A.shapeFlag&256||Ce&&bo(Ce.vnode)&&Ce.vnode.shapeFlag&256)&&m.a&&Qt(m.a,V),m.isMounted=!0,_b(m),A=O=F=null}};m.scope.on();const P=m.effect=new Ru(S);m.scope.off();const j=m.update=P.run.bind(P),ie=m.job=P.runIfDirty.bind(P);ie.i=m,ie.id=m.uid,P.scheduler=()=>Dr(ie),Gi(m,!0),P.onTrack=m.rtc?$=>uo(m.rtc,$):void 0,P.onTrigger=m.rtg?$=>uo(m.rtg,$):void 0,j()},D=(m,A,O)=>{A.component=m;const F=m.vnode.props;m.vnode=A,m.next=null,tv(m,A.props,F,O),uv(m,A.children,O),Yn(),od(m),Gn()},te=(m,A,O,F,V,v,w,S,P=!1)=>{const j=m&&m.children,ie=m?m.shapeFlag:0,$=A.children,{patchFlag:I,shapeFlag:L}=A;if(I>0){if(I&128){me(j,$,O,F,V,v,w,S,P);return}else if(I&256){X(j,$,O,F,V,v,w,S,P);return}}L&8?(ie&16&&at(j,V,v),$!==j&&u(O,$)):ie&16?L&16?me(j,$,O,F,V,v,w,S,P):at(j,V,v,!0):(ie&8&&u(O,""),L&16&&re($,O,F,V,v,w,S,P))},X=(m,A,O,F,V,v,w,S,P)=>{m=m||fo,A=A||fo;const j=m.length,ie=A.length,$=Math.min(j,ie);let I;for(I=0;I<$;I++){const L=A[I]=P?Ai(A[I]):wn(A[I]);b(m[I],L,O,null,V,v,w,S,P)}j>ie?at(m,V,v,!0,!1,$):re(A,O,F,V,v,w,S,P,$)},me=(m,A,O,F,V,v,w,S,P)=>{let j=0;const ie=A.length;let $=m.length-1,I=ie-1;for(;j<=$&&j<=I;){const L=m[j],oe=A[j]=P?Ai(A[j]):wn(A[j]);if(ga(L,oe))b(L,oe,O,null,V,v,w,S,P);else break;j++}for(;j<=$&&j<=I;){const L=m[$],oe=A[I]=P?Ai(A[I]):wn(A[I]);if(ga(L,oe))b(L,oe,O,null,V,v,w,S,P);else break;$--,I--}if(j>$){if(j<=I){const L=I+1,oe=L<ie?A[L].el:F;for(;j<=I;)b(null,A[j]=P?Ai(A[j]):wn(A[j]),O,oe,V,v,w,S,P),j++}}else if(j>I)for(;j<=$;)Ee(m[j],V,v,!0),j++;else{const L=j,oe=j,pe=new Map;for(j=oe;j<=I;j++){const qt=A[j]=P?Ai(A[j]):wn(A[j]);qt.key!=null&&(pe.has(qt.key)&&J("Duplicate keys found during update:",JSON.stringify(qt.key),"Make sure keys are unique."),pe.set(qt.key,j))}let Ce,tt=0;const Re=I-oe+1;let wt=!1,vn=0;const Di=new Array(Re);for(j=0;j<Re;j++)Di[j]=0;for(j=L;j<=$;j++){const qt=m[j];if(tt>=Re){Ee(qt,V,v,!0);continue}let Hn;if(qt.key!=null)Hn=pe.get(qt.key);else for(Ce=oe;Ce<=I;Ce++)if(Di[Ce-oe]===0&&ga(qt,A[Ce])){Hn=Ce;break}Hn===void 0?Ee(qt,V,v,!0):(Di[Hn-oe]=j+1,Hn>=vn?vn=Hn:wt=!0,b(qt,A[Hn],O,null,V,v,w,S,P),tt++)}const Im=wt?gv(Di):fo;for(Ce=Im.length-1,j=Re-1;j>=0;j--){const qt=oe+j,Hn=A[qt],Tm=qt+1<ie?A[qt+1].el:F;Di[j]===0?b(null,Hn,O,Tm,V,v,w,S,P):wt&&(Ce<0||j!==Im[Ce]?ge(Hn,O,Tm,2):Ce--)}}},ge=(m,A,O,F,V=null)=>{const{el:v,type:w,transition:S,children:P,shapeFlag:j}=m;if(j&6){ge(m.component.subTree,A,O,F);return}if(j&128){m.suspense.move(A,O,F);return}if(j&64){w.move(m,A,O,ut);return}if(w===rt){i(v,A,O);for(let $=0;$<P.length;$++)ge(P[$],A,O,F);i(m.anchor,A,O);return}if(w===ha){x(m,A,O);return}if(F!==2&&j&1&&S)if(F===0)S.beforeEnter(v),i(v,A,O),Qt(()=>S.enter(v),V);else{const{leave:$,delayLeave:I,afterLeave:L}=S,oe=()=>i(v,A,O),pe=()=>{$(v,()=>{oe(),L&&L()})};I?I(v,oe,pe):pe()}else i(v,A,O)},Ee=(m,A,O,F=!1,V=!1)=>{const{type:v,props:w,ref:S,children:P,dynamicChildren:j,shapeFlag:ie,patchFlag:$,dirs:I,cacheIndex:L}=m;if($===-2&&(V=!1),S!=null&&Ur(S,null,O,m,!0),L!=null&&(A.renderCache[L]=void 0),ie&256){A.ctx.deactivate(m);return}const oe=ie&1&&I,pe=!bo(m);let Ce;if(pe&&(Ce=w&&w.onVnodeBeforeUnmount)&&Nn(Ce,A,m),ie&6)Rt(m.component,O,F);else{if(ie&128){m.suspense.unmount(O,F);return}oe&&Wi(m,null,A,"beforeUnmount"),ie&64?m.type.remove(m,A,O,ut,F):j&&!j.hasOnce&&(v!==rt||$>0&&$&64)?at(j,A,O,!1,!0):(v===rt&&$&384||!V&&ie&16)&&at(P,A,O),F&&De(m)}(pe&&(Ce=w&&w.onVnodeUnmounted)||oe)&&Qt(()=>{Ce&&Nn(Ce,A,m),oe&&Wi(m,null,A,"unmounted")},O)},De=m=>{const{type:A,el:O,anchor:F,transition:V}=m;if(A===rt){m.patchFlag>0&&m.patchFlag&2048&&V&&!V.persisted?m.children.forEach(w=>{w.type===jt?o(w.el):De(w)}):Xe(O,F);return}if(A===ha){M(m);return}const v=()=>{o(O),V&&!V.persisted&&V.afterLeave&&V.afterLeave()};if(m.shapeFlag&1&&V&&!V.persisted){const{leave:w,delayLeave:S}=V,P=()=>w(O,v);S?S(m.el,v,P):P()}else v()},Xe=(m,A)=>{let O;for(;m!==A;)O=d(m),o(m),m=O;o(A)},Rt=(m,A,O)=>{m.type.__hmrId&&vb(m);const{bum:F,scope:V,job:v,subTree:w,um:S,m:P,a:j}=m;jd(P),jd(j),F&&uo(F),V.stop(),v&&(v.flags|=8,Ee(w,m,A,O)),S&&Qt(S,A),Qt(()=>{m.isUnmounted=!0},A),A&&A.pendingBranch&&!A.isUnmounted&&m.asyncDep&&!m.asyncResolved&&m.suspenseId===A.pendingId&&(A.deps--,A.deps===0&&A.resolve()),Sb(m)},at=(m,A,O,F=!1,V=!1,v=0)=>{for(let w=v;w<m.length;w++)Ee(m[w],A,O,F,V)},ft=m=>{if(m.shapeFlag&6)return ft(m.component.subTree);if(m.shapeFlag&128)return m.suspense.next();const A=d(m.anchor||m.el),O=A&&A[Ob];return O?d(O):A};let _t=!1;const et=(m,A,O)=>{m==null?A._vnode&&Ee(A._vnode,null,null,!0):b(A._vnode||null,m,A,null,null,null,O),A._vnode=m,_t||(_t=!0,od(),ad(),_t=!1)},ut={p:b,um:Ee,m:ge,r:De,mt:Q,mc:re,pc:te,pbc:ee,n:ft,o:e};return{render:et,hydrate:void 0,createApp:Jb(et)}}function Hl({type:e,props:n},t){return t==="svg"&&e==="foreignObject"||t==="mathml"&&e==="annotation-xml"&&n&&n.encoding&&n.encoding.includes("html")?void 0:t}function Gi({effect:e,job:n},t){t?(e.flags|=32,n.flags|=4):(e.flags&=-33,n.flags&=-5)}function mv(e,n){return(!e||e&&!e.pendingBranch)&&n&&!n.persisted}function Wl(e,n,t=!1){const i=e.children,o=n.children;if(fe(i)&&fe(o))for(let a=0;a<i.length;a++){const r=i[a];let s=o[a];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=o[a]=Ai(o[a]),s.el=r.el),!t&&s.patchFlag!==-2&&Wl(r,s)),s.type===Co&&(s.el=r.el),s.type===jt&&!s.el&&(s.el=r.el)}}function gv(e){const n=e.slice(),t=[0];let i,o,a,r,s;const l=e.length;for(i=0;i<l;i++){const c=e[i];if(c!==0){if(o=t[t.length-1],e[o]<c){n[i]=o,t.push(i);continue}for(a=0,r=t.length-1;a<r;)s=a+r>>1,e[t[s]]<c?a=s+1:r=s;c<e[t[a]]&&(a>0&&(n[i]=t[a-1]),t[a]=i)}}for(a=t.length,r=t[a-1];a-- >0;)t[a]=r,r=n[r];return t}function $d(e){const n=e.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:$d(n)}function jd(e){if(e)for(let n=0;n<e.length;n++)e[n].flags|=8}const bv=Symbol.for("v-scx"),vv=()=>{{const e=ue(bv);return e||J("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Kt(e,n,t){return be(n)||J("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),zd(e,n,t)}function zd(e,n,t=qe){const{immediate:i,deep:o,flush:a,once:r}=t;n||(i!==void 0&&J('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&J('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&J('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const s=nt({},t);s.onWarn=J;const l=n&&i||!n&&a!=="post";let c;if(va){if(a==="sync"){const p=vv();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Et,p.resume=Et,p.pause=Et,p}}const u=dt;s.call=(p,h,b)=>On(p,u,h,b);let f=!1;a==="post"?s.scheduler=p=>{Qt(p,u&&u.suspense)}:a!=="sync"&&(f=!0,s.scheduler=(p,h)=>{h?p():Dr(p)}),s.augmentJob=p=>{n&&(p.flags|=4),f&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const d=cb(e,n,s);return va&&(c?c.push(d):l&&d()),d}function yv(e,n,t){const i=this.proxy,o=Ye(e)?e.includes(".")?Vd(i,e):()=>i[e]:e.bind(i,i);let a;be(n)?a=n:(a=n.handler,t=n);const r=ba(this),s=zd(o,a.bind(i),t);return r(),s}function Vd(e,n){const t=n.split(".");return()=>{let i=e;for(let o=0;o<t.length&&i;o++)i=i[t[o]];return i}}const Av=(e,n)=>n==="modelValue"||n==="model-value"?e.modelModifiers:e[`${n}Modifiers`]||e[`${gt(n)}Modifiers`]||e[`${Ut(n)}Modifiers`];function wv(e,n,...t){if(e.isUnmounted)return;const i=e.vnode.props||qe;{const{emitsOptions:u,propsOptions:[f]}=e;if(u)if(!(n in u))(!f||!(Ui(gt(n))in f))&&J(`Component emitted event "${n}" but it is neither declared in the emits option nor as an "${Ui(gt(n))}" prop.`);else{const d=u[n];be(d)&&(d(...t)||J(`Invalid event arguments: event validation failed for event "${n}".`))}}let o=t;const a=n.startsWith("update:"),r=a&&Av(i,n.slice(7));r&&(r.trim&&(o=t.map(u=>Ye(u)?u.trim():u)),r.number&&(o=t.map(hl))),Tb(e,n,o);{const u=n.toLowerCase();u!==n&&i[Ui(u)]&&J(`Event "${u}" is emitted in component ${Kr(e,e.type)} but the handler is registered for "${n}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Ut(n)}" instead of "${n}".`)}let s,l=i[s=Ui(n)]||i[s=Ui(gt(n))];!l&&a&&(l=i[s=Ui(Ut(n))]),l&&On(l,e,6,o);const c=i[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,On(c,e,6,o)}}function Hd(e,n,t=!1){const i=n.emitsCache,o=i.get(e);if(o!==void 0)return o;const a=e.emits;let r={},s=!1;if(!be(e)){const l=c=>{const u=Hd(c,n,!0);u&&(s=!0,nt(r,u))};!t&&n.mixins.length&&n.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(Ue(e)&&i.set(e,null),null):(fe(a)?a.forEach(l=>r[l]=null):nt(r,a),Ue(e)&&i.set(e,r),r)}function Hr(e,n){return!e||!Ko(n)?!1:(n=n.slice(2).replace(/Once$/,""),Oe(e,n[0].toLowerCase()+n.slice(1))||Oe(e,Ut(n))||Oe(e,n))}let Yl=!1;function Wr(){Yl=!0}function Wd(e){const{type:n,vnode:t,proxy:i,withProxy:o,propsOptions:[a],slots:r,attrs:s,emit:l,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:h,inheritAttrs:b}=e,y=qr(e);let g,C;Yl=!1;try{if(t.shapeFlag&4){const M=o||i,U=gi.NODE_ENV!=="production"&&p.__isScriptSetup?new Proxy(M,{get(N,K,re){return J(`Property '${String(K)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(N,K,re)}}):M;g=wn(c.call(U,M,u,gi.NODE_ENV!=="production"?Tn(f):f,p,d,h)),C=s}else{const M=n;gi.NODE_ENV!=="production"&&s===f&&Wr(),g=wn(M.length>1?M(gi.NODE_ENV!=="production"?Tn(f):f,gi.NODE_ENV!=="production"?{get attrs(){return Wr(),Tn(s)},slots:r,emit:l}:{attrs:s,slots:r,emit:l}):M(gi.NODE_ENV!=="production"?Tn(f):f,null)),C=n.props?s:Cv(s)}}catch(M){pa.length=0,aa(M,e,1),g=de(jt)}let E=g,x;if(g.patchFlag>0&&g.patchFlag&2048&&([E,x]=Yd(g)),C&&b!==!1){const M=Object.keys(C),{shapeFlag:U}=E;if(M.length){if(U&7)a&&M.some(br)&&(C=_v(C,a)),E=yi(E,C,!1,!0);else if(!Yl&&E.type!==jt){const N=Object.keys(s),K=[],re=[];for(let W=0,ee=N.length;W<ee;W++){const he=N[W];Ko(he)?br(he)||K.push(he[2].toLowerCase()+he.slice(3)):re.push(he)}re.length&&J(`Extraneous non-props attributes (${re.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),K.length&&J(`Extraneous non-emits event listeners (${K.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return t.dirs&&(Gd(E)||J("Runtime directive used on component with non-element root node. The directives will not function as intended."),E=yi(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(t.dirs):t.dirs),t.transition&&(Gd(E)||J("Component inside <Transition> renders non-element root node that cannot be animated."),Nl(E,t.transition)),x?x(E):g=E,qr(y),g}const Yd=e=>{const n=e.children,t=e.dynamicChildren,i=Gl(n,!1);if(i){if(i.patchFlag>0&&i.patchFlag&2048)return Yd(i)}else return[e,void 0];const o=n.indexOf(i),a=t?t.indexOf(i):-1,r=s=>{n[o]=s,t&&(a>-1?t[a]=s:s.patchFlag>0&&(e.dynamicChildren=[...t,s]))};return[wn(i),r]};function Gl(e,n=!0){let t;for(let i=0;i<e.length;i++){const o=e[i];if(Qi(o)){if(o.type!==jt||o.children==="v-if"){if(t)return;if(t=o,n&&t.patchFlag>0&&t.patchFlag&2048)return Gl(t.children)}}else return}return t}const Cv=e=>{let n;for(const t in e)(t==="class"||t==="style"||Ko(t))&&((n||(n={}))[t]=e[t]);return n},_v=(e,n)=>{const t={};for(const i in e)(!br(i)||!(i.slice(9)in n))&&(t[i]=e[i]);return t},Gd=e=>e.shapeFlag&7||e.type===jt;function Ev(e,n,t){const{props:i,children:o,component:a}=e,{props:r,children:s,patchFlag:l}=n,c=a.emitsOptions;if((o||s)&&xn||n.dirs||n.transition)return!0;if(t&&l>=0){if(l&1024)return!0;if(l&16)return i?Qd(i,r,c):!!r;if(l&8){const u=n.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(r[d]!==i[d]&&!Hr(c,d))return!0}}}else return(o||s)&&(!s||!s.$stable)?!0:i===r?!1:i?r?Qd(i,r,c):!0:!!r;return!1}function Qd(e,n,t){const i=Object.keys(n);if(i.length!==Object.keys(e).length)return!0;for(let o=0;o<i.length;o++){const a=i[o];if(n[a]!==e[a]&&!Hr(t,a))return!0}return!1}function Sv({vnode:e,parent:n},t){for(;n;){const i=n.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.el=e.el),i===e)(e=n.vnode).el=t,n=n.parent;else break}}const Kd=e=>e.__isSuspense;function Mv(e,n){n&&n.pendingBranch?fe(e)?n.effects.push(...e):n.effects.push(e):id(e)}const rt=Symbol.for("v-fgt"),Co=Symbol.for("v-txt"),jt=Symbol.for("v-cmt"),ha=Symbol.for("v-stc"),pa=[];let Zt=null;function k(e=!1){pa.push(Zt=e?null:[])}function Iv(){pa.pop(),Zt=pa[pa.length-1]||null}let ma=1;function Zd(e,n=!1){ma+=e,e<0&&Zt&&n&&(Zt.hasOnce=!0)}function Jd(e){return e.dynamicChildren=ma>0?Zt||fo:null,Iv(),ma>0&&Zt&&Zt.push(e),e}function B(e,n,t,i,o,a){return Jd(H(e,n,t,i,o,a,!0))}function Se(e,n,t,i,o){return Jd(de(e,n,t,i,o,!0))}function Qi(e){return e?e.__v_isVNode===!0:!1}function ga(e,n){if(n.shapeFlag&6&&e.component){const t=Fr.get(n.type);if(t&&t.has(e.component))return e.shapeFlag&=-257,n.shapeFlag&=-513,!1}return e.type===n.type&&e.key===n.key}const Tv=(...e)=>Ov(...e),Xd=({key:e})=>e??null,Yr=({ref:e,ref_key:n,ref_for:t})=>(typeof e=="number"&&(e=""+e),e!=null?Ye(e)||Ge(e)||be(e)?{i:lt,r:e,k:n,f:!!t}:e:null);function H(e,n=null,t=null,i=0,o=null,a=e===rt?0:1,r=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:n,key:n&&Xd(n),ref:n&&Yr(n),scopeId:dd,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:i,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:lt};return s?(Ql(l,t),a&128&&e.normalize(l)):t&&(l.shapeFlag|=Ye(t)?8:16),l.key!==l.key&&J("VNode created with invalid key (NaN). VNode type:",l.type),ma>0&&!r&&Zt&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Zt.push(l),l}const de=Tv;function Ov(e,n=null,t=null,i=0,o=null,a=!1){if((!e||e===vd)&&(e||J(`Invalid vnode type when creating vnode: ${e}.`),e=jt),Qi(e)){const s=yi(e,n,!0);return t&&Ql(s,t),ma>0&&!a&&Zt&&(s.shapeFlag&6?Zt[Zt.indexOf(e)]=s:Zt.push(s)),s.patchFlag=-2,s}if(r0(e)&&(e=e.__vccOpts),n){n=kv(n);let{class:s,style:l}=n;s&&!Ye(s)&&(n.class=R(s)),Ue(l)&&(Or(l)&&!fe(l)&&(l=nt({},l)),n.style=Cr(l))}const r=Ye(e)?1:Kd(e)?128:kb(e)?64:Ue(e)?4:be(e)?2:0;return r&4&&Or(e)&&(e=Ie(e),J("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
Component that was made reactive: `,e)),H(e,n,t,i,o,r,a,!0)}function kv(e){return e?Or(e)||xd(e)?nt({},e):e:null}function yi(e,n,t=!1,i=!1){const{props:o,ref:a,patchFlag:r,children:s,transition:l}=e,c=n?xv(o||{},n):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Xd(c),ref:n&&n.ref?t&&a?fe(a)?a.concat(Yr(n)):[a,Yr(n)]:Yr(n):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r===-1&&fe(s)?s.map(e0):s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:n&&e.type!==rt?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yi(e.ssContent),ssFallback:e.ssFallback&&yi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&i&&Nl(u,l.clone(u)),u}function e0(e){const n=yi(e);return fe(e.children)&&(n.children=e.children.map(e0)),n}function ei(e=" ",n=0){return de(Co,null,e,n)}function t0(e,n){const t=de(ha,null,e);return t.staticCount=n,t}function ae(e="",n=!1){return n?(k(),Se(jt,null,e)):de(jt,null,e)}function wn(e){return e==null||typeof e=="boolean"?de(jt):fe(e)?de(rt,null,e.slice()):Qi(e)?Ai(e):de(Co,null,String(e))}function Ai(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yi(e)}function Ql(e,n){let t=0;const{shapeFlag:i}=e;if(n==null)n=null;else if(fe(n))t=16;else if(typeof n=="object")if(i&65){const o=n.default;o&&(o._c&&(o._d=!1),Ql(e,o()),o._c&&(o._d=!0));return}else{t=32;const o=n._;!o&&!xd(n)?n._ctx=lt:o===3&&lt&&(lt.slots._===1?n._=1:(n._=2,e.patchFlag|=1024))}else be(n)?(n={default:n,_ctx:lt},t=32):(n=String(n),i&64?(t=16,n=[ei(n)]):t=8);e.children=n,e.shapeFlag|=t}function xv(...e){const n={};for(let t=0;t<e.length;t++){const i=e[t];for(const o in i)if(o==="class")n.class!==i.class&&(n.class=R([n.class,i.class]));else if(o==="style")n.style=Cr([n.style,i.style]);else if(Ko(o)){const a=n[o],r=i[o];r&&a!==r&&!(fe(a)&&a.includes(r))&&(n[o]=a?[].concat(a,r):r)}else o!==""&&(n[o]=i[o])}return n}function Nn(e,n,t,i=null){On(e,n,7,[t,i])}const Rv=Td();let Nv=0;function Lv(e,n,t){const i=e.type,o=(n?n.appContext:e.appContext)||Rv,a={uid:Nv++,vnode:e,type:i,parent:n,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new xu(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(o.provides),ids:n?n.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Nd(i,o),emitsOptions:Hd(i,o),emit:null,emitted:null,propsDefaults:qe,inheritAttrs:i.inheritAttrs,ctx:qe,data:qe,props:qe,attrs:qe,slots:qe,refs:qe,setupState:qe,setupContext:null,suspense:t,suspenseId:t?t.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx=jb(a),a.root=n?n.root:a,a.emit=wv.bind(null,a),e.ce&&e.ce(a),a}let dt=null;const Ki=()=>dt||lt;let Gr,Kl;{const e=Xo(),n=(t,i)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(i),a=>{o.length>1?o.forEach(r=>r(a)):o[0](a)}};Gr=n("__VUE_INSTANCE_SETTERS__",t=>dt=t),Kl=n("__VUE_SSR_SETTERS__",t=>va=t)}const ba=e=>{const n=dt;return Gr(e),e.scope.on(),()=>{e.scope.off(),Gr(n)}},n0=()=>{dt&&dt.scope.off(),Gr(null)},Pv=Wn("slot,component");function Zl(e,{isNativeTag:n}){(Pv(e)||n(e))&&J("Do not use built-in or reserved HTML elements as component id: "+e)}function i0(e){return e.vnode.shapeFlag&4}let va=!1;function Dv(e,n=!1,t=!1){n&&Kl(n);const{props:i,children:o}=e.vnode,a=i0(e);Xb(e,i,a,n),fv(e,o,t);const r=a?Fv(e,n):void 0;return n&&Kl(!1),r}function Fv(e,n){var t;const i=e.type;{if(i.name&&Zl(i.name,e.appContext.config),i.components){const a=Object.keys(i.components);for(let r=0;r<a.length;r++)Zl(a[r],e.appContext.config)}if(i.directives){const a=Object.keys(i.directives);for(let r=0;r<a.length;r++)hd(a[r])}i.compilerOptions&&Bv()&&J('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,wd),zb(e);const{setup:o}=i;if(o){Yn();const a=e.setupContext=o.length>1?$v(e):null,r=ba(e),s=po(o,e,0,[Tn(e.props),a]),l=fl(s);if(Gn(),r(),(l||e.sp)&&!bo(e)&&pd(e),l){if(s.then(n0,n0),n)return s.then(c=>{o0(e,c,n)}).catch(c=>{aa(c,e,0)});if(e.asyncDep=s,!e.suspense){const c=(t=i.name)!=null?t:"Anonymous";J(`Component <${c}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else o0(e,s,n)}else a0(e,n)}function o0(e,n,t){be(n)?e.type.__ssrInlineRender?e.ssrRender=n:e.render=n:Ue(n)?(Qi(n)&&J("setup() should not return VNodes directly - return a render function instead."),e.devtoolsRawSetupState=n,e.setupState=Xu(n),Vb(e)):n!==void 0&&J(`setup() should return an object. Received: ${n===null?"null":typeof n}`),a0(e,t)}const Bv=()=>!0;function a0(e,n,t){const i=e.type;e.render||(e.render=i.render||Et);{const o=ba(e);Yn();try{Wb(e)}finally{Gn(),o()}}!i.render&&e.render===Et&&!n&&(i.template?J('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):J("Component is missing template or render function: ",i))}const qv={get(e,n){return Wr(),bt(e,"get",""),e[n]},set(){return J("setupContext.attrs is readonly."),!1},deleteProperty(){return J("setupContext.attrs is readonly."),!1}};function Uv(e){return new Proxy(e.slots,{get(n,t){return bt(e,"get","$slots"),n[t]}})}function $v(e){const n=t=>{if(e.exposed&&J("expose() should be called only once per setup()."),t!=null){let i=typeof t;i==="object"&&(fe(t)?i="array":Ge(t)&&(i="ref")),i!=="object"&&J(`expose() should be passed a plain object, received ${i}.`)}e.exposed=t||{}};{let t,i;return Object.freeze({get attrs(){return t||(t=new Proxy(e.attrs,qv))},get slots(){return i||(i=Uv(e))},get emit(){return(o,...a)=>e.emit(o,...a)},expose:n})}}function Qr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Xu(nb(e.exposed)),{get(n,t){if(t in n)return n[t];if(t in Yi)return Yi[t](e)},has(n,t){return t in n||t in Yi}})):e.proxy}const jv=/(?:^|[-_])(\w)/g,zv=e=>e.replace(jv,n=>n.toUpperCase()).replace(/[-_]/g,"");function Jl(e,n=!0){return be(e)?e.displayName||e.name:e.name||n&&e.__name}function Kr(e,n,t=!1){let i=Jl(n);if(!i&&n.__file){const o=n.__file.match(/([^/\\]+)\.\w+$/);o&&(i=o[1])}if(!i&&e&&e.parent){const o=a=>{for(const r in a)if(a[r]===n)return r};i=o(e.components||e.parent.type.components)||o(e.appContext.components)}return i?zv(i):t?"App":"Anonymous"}function r0(e){return be(e)&&"__vccOpts"in e}const Y=(e,n)=>{const t=sb(e,n,va);{const i=Ki();i&&i.appContext.config.warnRecursiveComputed&&(t._warnRecursive=!0)}return t};function s0(e,n,t){const i=arguments.length;return i===2?Ue(n)&&!fe(n)?Qi(n)?de(e,null,[n]):de(e,n):de(e,null,n):(i>3?t=Array.prototype.slice.call(arguments,2):i===3&&Qi(t)&&(t=[t]),de(e,n,t))}const l0="3.5.13",ln=J;let Xl;const c0=typeof window<"u"&&window.trustedTypes;if(c0)try{Xl=c0.createPolicy("vue",{createHTML:e=>e})}catch(e){ln(`Error creating trusted types policy: ${e}`)}const f0=Xl?e=>Xl.createHTML(e):e=>e,Vv="http://www.w3.org/2000/svg",Hv="http://www.w3.org/1998/Math/MathML",ti=typeof document<"u"?document:null,u0=ti&&ti.createElement("template"),Wv={insert:(e,n,t)=>{n.insertBefore(e,t||null)},remove:e=>{const n=e.parentNode;n&&n.removeChild(e)},createElement:(e,n,t,i)=>{const o=n==="svg"?ti.createElementNS(Vv,e):n==="mathml"?ti.createElementNS(Hv,e):t?ti.createElement(e,{is:t}):ti.createElement(e);return e==="select"&&i&&i.multiple!=null&&o.setAttribute("multiple",i.multiple),o},createText:e=>ti.createTextNode(e),createComment:e=>ti.createComment(e),setText:(e,n)=>{e.nodeValue=n},setElementText:(e,n)=>{e.textContent=n},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ti.querySelector(e),setScopeId(e,n){e.setAttribute(n,"")},insertStaticContent(e,n,t,i,o,a){const r=t?t.previousSibling:n.lastChild;if(o&&(o===a||o.nextSibling))for(;n.insertBefore(o.cloneNode(!0),t),!(o===a||!(o=o.nextSibling)););else{u0.innerHTML=f0(i==="svg"?`<svg>${e}</svg>`:i==="mathml"?`<math>${e}</math>`:e);const s=u0.content;if(i==="svg"||i==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}n.insertBefore(s,t)}return[r?r.nextSibling:n.firstChild,t?t.previousSibling:n.lastChild]}},Yv=Symbol("_vtc");function Gv(e,n,t){const i=e[Yv];i&&(n=(n?[n,...i]:[...i]).join(" ")),n==null?e.removeAttribute("class"):t?e.setAttribute("class",n):e.className=n}const Zr=Symbol("_vod"),d0=Symbol("_vsh"),h0={beforeMount(e,{value:n},{transition:t}){e[Zr]=e.style.display==="none"?"":e.style.display,t&&n?t.beforeEnter(e):ya(e,n)},mounted(e,{value:n},{transition:t}){t&&n&&t.enter(e)},updated(e,{value:n,oldValue:t},{transition:i}){!n!=!t&&(i?n?(i.beforeEnter(e),ya(e,!0),i.enter(e)):i.leave(e,()=>{ya(e,!1)}):ya(e,n))},beforeUnmount(e,{value:n}){ya(e,n)}};h0.name="show";function ya(e,n){e.style.display=n?e[Zr]:"none",e[d0]=!n}const Qv=Symbol("CSS_VAR_TEXT"),Kv=/(^|;)\s*display\s*:/;function Zv(e,n,t){const i=e.style,o=Ye(t);let a=!1;if(t&&!o){if(n)if(Ye(n))for(const r of n.split(";")){const s=r.slice(0,r.indexOf(":")).trim();t[s]==null&&Jr(i,s,"")}else for(const r in n)t[r]==null&&Jr(i,r,"");for(const r in t)r==="display"&&(a=!0),Jr(i,r,t[r])}else if(o){if(n!==t){const r=i[Qv];r&&(t+=";"+r),i.cssText=t,a=Kv.test(t)}}else n&&e.removeAttribute("style");Zr in e&&(e[Zr]=a?i.display:"",e[d0]&&(i.display="none"))}const Jv=/[^\\];\s*$/,p0=/\s*!important$/;function Jr(e,n,t){if(fe(t))t.forEach(i=>Jr(e,n,i));else if(t==null&&(t=""),Jv.test(t)&&ln(`Unexpected semicolon at the end of '${n}' style value: '${t}'`),n.startsWith("--"))e.setProperty(n,t);else{const i=Xv(e,n);p0.test(t)?e.setProperty(Ut(i),t.replace(p0,""),"important"):e[i]=t}}const m0=["Webkit","Moz","ms"],ec={};function Xv(e,n){const t=ec[n];if(t)return t;let i=gt(n);if(i!=="filter"&&i in e)return ec[n]=i;i=qi(i);for(let o=0;o<m0.length;o++){const a=m0[o]+i;if(a in e)return ec[n]=a}return n}const g0="http://www.w3.org/1999/xlink";function b0(e,n,t,i,o,a=Rg(n)){i&&n.startsWith("xlink:")?t==null?e.removeAttributeNS(g0,n.slice(6,n.length)):e.setAttributeNS(g0,n,t):t==null||a&&!Iu(t)?e.removeAttribute(n):e.setAttribute(n,a?"":yn(t)?String(t):t)}function v0(e,n,t,i,o){if(n==="innerHTML"||n==="textContent"){t!=null&&(e[n]=n==="innerHTML"?f0(t):t);return}const a=e.tagName;if(n==="value"&&a!=="PROGRESS"&&!a.includes("-")){const s=a==="OPTION"?e.getAttribute("value")||"":e.value,l=t==null?e.type==="checkbox"?"on":"":String(t);(s!==l||!("_value"in e))&&(e.value=l),t==null&&e.removeAttribute(n),e._value=t;return}let r=!1;if(t===""||t==null){const s=typeof e[n];s==="boolean"?t=Iu(t):t==null&&s==="string"?(t="",r=!0):s==="number"&&(t=0,r=!0)}try{e[n]=t}catch(s){r||ln(`Failed setting prop "${n}" on <${a.toLowerCase()}>: value ${t} is invalid.`,s)}r&&e.removeAttribute(o||n)}function Zi(e,n,t,i){e.addEventListener(n,t,i)}function e2(e,n,t,i){e.removeEventListener(n,t,i)}const y0=Symbol("_vei");function t2(e,n,t,i,o=null){const a=e[y0]||(e[y0]={}),r=a[n];if(i&&r)r.value=w0(i,n);else{const[s,l]=n2(n);if(i){const c=a[n]=a2(w0(i,n),o);Zi(e,s,c,l)}else r&&(e2(e,s,r,l),a[n]=void 0)}}const A0=/(?:Once|Passive|Capture)$/;function n2(e){let n;if(A0.test(e)){n={};let i;for(;i=e.match(A0);)e=e.slice(0,e.length-i[0].length),n[i[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ut(e.slice(2)),n]}let tc=0;const i2=Promise.resolve(),o2=()=>tc||(i2.then(()=>tc=0),tc=Date.now());function a2(e,n){const t=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=t.attached)return;On(r2(i,t.value),n,5,[i])};return t.value=e,t.attached=o2(),t}function w0(e,n){return be(e)||fe(e)?e:(ln(`Wrong type passed as event handler to ${n} - did you forget @ or:in front of your prop?
Expected function or array of functions, received type ${typeof e}.`),Et)}function r2(e,n){if(fe(n)){const t=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{t.call(e),e._stopped=!0},n.map(i=>o=>!o._stopped&&i&&i(o))}else return n}const C0=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,s2=(e,n,t,i,o,a)=>{const r=o==="svg";n==="class"?Gv(e,i,r):n==="style"?Zv(e,t,i):Ko(n)?br(n)||t2(e,n,t,i,a):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):l2(e,n,i,r))?(v0(e,n,i),!e.tagName.includes("-")&&(n==="value"||n==="checked"||n==="selected")&&b0(e,n,i,r,a,n!=="value")):e._isVueCE&&(/[A-Z]/.test(n)||!Ye(i))?v0(e,gt(n),i,a,n):(n==="true-value"?e._trueValue=i:n==="false-value"&&(e._falseValue=i),b0(e,n,i,r))};function l2(e,n,t,i){if(i)return!!(n==="innerHTML"||n==="textContent"||n in e&&C0(n)&&be(t));if(n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&e.tagName==="INPUT"||n==="type"&&e.tagName==="TEXTAREA")return!1;if(n==="width"||n==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return C0(n)&&Ye(t)?!1:n in e}const _0={};function E0(e,n,t){const i=Ve(e,n);yr(i)&&nt(i,n);class o extends nc{constructor(r){super(i,r,t)}}return o.def=i,o}const c2=typeof HTMLElement<"u"?HTMLElement:class{};class nc extends c2{constructor(n,t={},i=x0){super(),this._def=n,this._props=t,this._createApp=i,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&i!==x0?this._root=this.shadowRoot:(this.shadowRoot&&ln("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),n.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this),this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let n=this;for(;n=n&&(n.parentNode||n.host);)if(n instanceof nc){this._parent=n;break}this._instance||(this._resolved?(this._setParent(),this._update()):n&&n._pendingResolve?this._pendingResolve=n._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(n=this._parent){n&&(this._instance.parent=n._instance,this._instance.provides=n._instance.provides)}disconnectedCallback(){this._connected=!1,Pr(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i<this.attributes.length;i++)this._setAttr(this.attributes[i].name);this._ob=new MutationObserver(i=>{for(const o of i)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const n=(i,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:a,styles:r}=i;let s;if(a&&!fe(a))for(const l in a){const c=a[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=Su(this._props[l])),(s||(s=Object.create(null)))[gt(l)]=!0)}this._numberProps=s,o&&this._resolveProps(i),this.shadowRoot?this._applyStyles(r):r&&ln("Custom element style injection is not supported when using shadowRoot: false"),this._mount(i)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then(i=>n(this._def=i,!0)):n(this._def)}_mount(n){n.name||(n.name="VueElement"),this._app=this._createApp(n),n.configureApp&&n.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const t=this._instance&&this._instance.exposed;if(t)for(const i in t)Oe(this,i)?ln(`Exposed property "${i}" already exists on custom element.`):Object.defineProperty(this,i,{get:()=>Ne(t[i])})}_resolveProps(n){const{props:t}=n,i=fe(t)?t:Object.keys(t||{});for(const o of Object.keys(this))o[0]!=="_"&&i.includes(o)&&this._setProp(o,this[o]);for(const o of i.map(gt))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(a){this._setProp(o,a,!0,!0)}})}_setAttr(n){if(n.startsWith("data-v-"))return;const t=this.hasAttribute(n);let i=t?this.getAttribute(n):_0;const o=gt(n);t&&this._numberProps&&this._numberProps[o]&&(i=Su(i)),this._setProp(o,i,!1,!0)}_getProp(n){return this._props[n]}_setProp(n,t,i=!0,o=!1){if(t!==this._props[n]&&(t===_0?delete this._props[n]:(this._props[n]=t,n==="key"&&this._app&&(this._app._ceVNode.key=t)),o&&this._instance&&this._update(),i)){const a=this._ob;a&&a.disconnect(),t===!0?this.setAttribute(Ut(n),""):typeof t=="string"||typeof t=="number"?this.setAttribute(Ut(n),t+""):t||this.removeAttribute(Ut(n)),a&&a.observe(this,{attributes:!0})}}_update(){v2(this._createVNode(),this._root)}_createVNode(){const n={};this.shadowRoot||(n.onVnodeMounted=n.onVnodeUpdated=this._renderSlots.bind(this));const t=de(this._def,nt(n,this._props));return this._instance||(t.ce=i=>{this._instance=i,i.ce=this,i.isCE=!0,i.ceReload=a=>{this._styles&&(this._styles.forEach(r=>this._root.removeChild(r)),this._styles.length=0),this._applyStyles(a),this._instance=null,this._update()};const o=(a,r)=>{this.dispatchEvent(new CustomEvent(a,yr(r[0])?nt({detail:r},r[0]):{detail:r}))};i.emit=(a,...r)=>{o(a,r),Ut(a)!==a&&o(Ut(a),r)},this._setParent()}),t}_applyStyles(n,t){if(!n)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}const i=this._nonce;for(let o=n.length-1;o>=0;o--){const a=document.createElement("style");if(i&&a.setAttribute("nonce",i),a.textContent=n[o],this.shadowRoot.prepend(a),t){if(t.__hmrId){this._childStyles||(this._childStyles=new Map);let r=this._childStyles.get(t.__hmrId);r||this._childStyles.set(t.__hmrId,r=[]),r.push(a)}}else(this._styles||(this._styles=[])).push(a)}}_parseSlots(){const n=this._slots={};let t;for(;t=this.firstChild;){const i=t.nodeType===1&&t.getAttribute("slot")||"default";(n[i]||(n[i]=[])).push(t),this.removeChild(t)}}_renderSlots(){const n=(this._teleportTarget||this).querySelectorAll("slot"),t=this._instance.type.__scopeId;for(let i=0;i<n.length;i++){const o=n[i],a=o.getAttribute("name")||"default",r=this._slots[a],s=o.parentNode;if(r)for(const l of r){if(t&&l.nodeType===1){const c=t+"-s",u=document.createTreeWalker(l,1);l.setAttribute(c,"");let f;for(;f=u.nextNode();)f.setAttribute(c,"")}s.insertBefore(l,o)}else for(;o.firstChild;)s.insertBefore(o.firstChild,o);s.removeChild(o)}}_injectChildStyle(n){this._applyStyles(n.styles,n)}_removeChildStyle(n){if(this._styleChildren.delete(n),this._childStyles&&n.__hmrId){const t=this._childStyles.get(n.__hmrId);t&&(t.forEach(i=>this._root.removeChild(i)),t.length=0)}}}const Xr=e=>{const n=e.props["onUpdate:modelValue"]||!1;return fe(n)?t=>uo(n,t):n};function f2(e){e.target.composing=!0}function S0(e){const n=e.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const _o=Symbol("_assign"),u2={created(e,{modifiers:{lazy:n,trim:t,number:i}},o){e[_o]=Xr(o);const a=i||o.props&&o.props.type==="number";Zi(e,n?"change":"input",r=>{if(r.target.composing)return;let s=e.value;t&&(s=s.trim()),a&&(s=hl(s)),e[_o](s)}),t&&Zi(e,"change",()=>{e.value=e.value.trim()}),n||(Zi(e,"compositionstart",f2),Zi(e,"compositionend",S0),Zi(e,"change",S0))},mounted(e,{value:n}){e.value=n??""},beforeUpdate(e,{value:n,oldValue:t,modifiers:{lazy:i,trim:o,number:a}},r){if(e[_o]=Xr(r),e.composing)return;const s=(a||e.type==="number")&&!/^0\d/.test(e.value)?hl(e.value):e.value,l=n??"";s!==l&&(document.activeElement===e&&e.type!=="range"&&(i&&n===t||o&&e.value.trim()===l)||(e.value=l))}},d2={deep:!0,created(e,n,t){e[_o]=Xr(t),Zi(e,"change",()=>{const i=e._modelValue,o=h2(e),a=e.checked,r=e[_o];if(fe(i)){const s=Tu(i,o),l=s!==-1;if(a&&!l)r(i.concat(o));else if(!a&&l){const c=[...i];c.splice(s,1),r(c)}}else if(vr(i)){const s=new Set(i);a?s.add(o):s.delete(o),r(s)}else r(I0(e,a))})},mounted:M0,beforeUpdate(e,n,t){e[_o]=Xr(t),M0(e,n,t)}};function M0(e,{value:n,oldValue:t},i){e._modelValue=n;let o;if(fe(n))o=Tu(n,i.props.value)>-1;else if(vr(n))o=n.has(i.props.value);else{if(n===t)return;o=_r(n,I0(e,!0))}e.checked!==o&&(e.checked=o)}function h2(e){return"_value"in e?e._value:e.value}function I0(e,n){const t=n?"_trueValue":"_falseValue";return t in e?e[t]:n}const p2=["ctrl","shift","alt","meta"],m2={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,n)=>p2.some(t=>e[`${t}Key`]&&!n.includes(t))},cn=(e,n)=>{const t=e._withMods||(e._withMods={}),i=n.join(".");return t[i]||(t[i]=(o,...a)=>{for(let r=0;r<n.length;r++){const s=m2[n[r]];if(s&&s(o,n))return}return e(o,...a)})},g2={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},T0=(e,n)=>{const t=e._withKeys||(e._withKeys={}),i=n.join(".");return t[i]||(t[i]=o=>{if(!("key"in o))return;const a=Ut(o.key);if(n.some(r=>r===a||g2[r]===a))return e(o)})},b2=nt({patchProp:s2},Wv);let O0;function k0(){return O0||(O0=hv(b2))}const v2=(...e)=>{k0().render(...e)},x0=(...e)=>{const n=k0().createApp(...e);A2(n),w2(n);const{mount:t}=n;return n.mount=i=>{const o=C2(i);if(!o)return;const a=n._component;!be(a)&&!a.render&&!a.template&&(a.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const r=t(o,!1,y2(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},n};function y2(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function A2(e){Object.defineProperty(e.config,"isNativeTag",{value:n=>Og(n)||kg(n)||xg(n),writable:!1})}function w2(e){{const n=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return n},set(){ln("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const t=e.config.compilerOptions,i='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return ln(i),t},set(){ln(i)}})}}function C2(e){if(Ye(e)){const n=document.querySelector(e);return n||ln(`Failed to mount app: mount target selector "${e}" returned null.`),n}return window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&ln('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}var vt=(e=>(e[e.Name=0]="Name",e[e.Email=1]="Email",e[e.Both=2]="Both",e[e.None=3]="None",e))(vt||{}),ni=(e=>(e[e.BubbleLeft=0]="BubbleLeft",e[e.BubbleRight=1]="BubbleRight",e))(ni||{}),Jt=(e=>(e[e.None=0]="None",e[e.FadeIn=1]="FadeIn",e[e.SlideLeft=2]="SlideLeft",e[e.SlideRight=3]="SlideRight",e[e.SlideUp=4]="SlideUp",e))(Jt||{}),Xt=(e=>(e[e.None=0]="None",e[e.Desktop=1]="Desktop",e[e.Mobile=2]="Mobile",e[e.Both=3]="Both",e))(Xt||{});const Ln=Symbol("myChatService"),en=Symbol("myWebRTCService"),Aa=Symbol("gaService"),Eo=Symbol("loadingService"),R0=Symbol("chatFlowControlService"),wi=Symbol("fullscreenService"),zt=Symbol("eventBus"),ic=Symbol("myPhoneChannel");var wa={},N0;function _2(){if(N0)return wa;N0=1,Object.defineProperty(wa,"__esModule",{value:!0}),wa.default=void 0;function e(a,r,s){var l=a.length;return s=s??0,s<0?s=0:s>l&&(s=l),r="".concat(r),a.slice(s,s+r.length)==r}function n(){if(typeof window>"u")return null;var a=window.navigator.languages&&window.navigator.languages[0]||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage||window.navigator.systemLanguage||null;return a}function t(a){return a.toLowerCase().replace(/-/,"_")}function i(a){if(!a)return n();var r=a.languages,s=a.fallback;if(!a.languages)return s;var l=t(n());if(!l)return s;var c=r.filter(function(f){return t(f)===l});if(c.length>0)return c[0]||s;var u=r.filter(function(f){return e(l,f)});return u[0]||s}var o=i;return wa.default=o,wa}var E2=_2();const S2=Sn(E2);var oc=function(e,n){return oc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])},oc(e,n)};function Pn(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");oc(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}var es=function(){return es=Object.assign||function(n){for(var t,i=1,o=arguments.length;i<o;i++){t=arguments[i];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(n[a]=t[a])}return n},es.apply(this,arguments)};function M2(e,n){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(t[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)n.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(t[i[o]]=e[i[o]]);return t}function I2(e,n,t,i){function o(a){return a instanceof t?a:new t(function(r){r(a)})}return new(t||(t=Promise))(function(a,r){function s(u){try{c(i.next(u))}catch(f){r(f)}}function l(u){try{c(i.throw(u))}catch(f){r(f)}}function c(u){u.done?a(u.value):o(u.value).then(s,l)}c((i=i.apply(e,n||[])).next())})}function L0(e,n){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return r.next=s(0),r.throw=s(1),r.return=s(2),typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(c){return function(u){return l([c,u])}}function l(c){if(i)throw new TypeError("Generator is already executing.");for(;r&&(r=0,c[0]&&(t=0)),t;)try{if(i=1,o&&(a=c[0]&2?o.return:c[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,c[1])).done)return a;switch(o=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,o=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){t.label=c[1];break}if(c[0]===6&&t.label<a[1]){t.label=a[1],a=c;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(c);break}a[2]&&t.ops.pop(),t.trys.pop();continue}c=n.call(e,t)}catch(u){c=[6,u],o=0}finally{i=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function So(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Dn(e,n){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var i=t.call(e),o,a=[],r;try{for(;(n===void 0||n-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(s){r={error:s}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(r)throw r.error}}return a}function ii(e,n,t){if(t||arguments.length===2)for(var i=0,o=n.length,a;i<o;i++)(a||!(i in n))&&(a||(a=Array.prototype.slice.call(n,0,i)),a[i]=n[i]);return e.concat(a||Array.prototype.slice.call(n))}function Mo(e){return this instanceof Mo?(this.v=e,this):new Mo(e)}function T2(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=t.apply(e,n||[]),o,a=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",r),o[Symbol.asyncIterator]=function(){return this},o;function r(p){return function(h){return Promise.resolve(h).then(p,f)}}function s(p,h){i[p]&&(o[p]=function(b){return new Promise(function(y,g){a.push([p,b,y,g])>1||l(p,b)})},h&&(o[p]=h(o[p])))}function l(p,h){try{c(i[p](h))}catch(b){d(a[0][3],b)}}function c(p){p.value instanceof Mo?Promise.resolve(p.value.v).then(u,f):d(a[0][2],p)}function u(p){l("next",p)}function f(p){l("throw",p)}function d(p,h){p(h),a.shift(),a.length&&l(a[0][0],a[0][1])}}function O2(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof So=="function"?So(e):e[Symbol.iterator](),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(a){t[a]=e[a]&&function(r){return new Promise(function(s,l){r=e[a](r),o(s,l,r.done,r.value)})}}function o(a,r,s,l){Promise.resolve(l).then(function(c){a({value:c,done:s})},r)}}typeof SuppressedError=="function"&&SuppressedError;function Le(e){return typeof e=="function"}function ac(e){var n=function(i){Error.call(i),i.stack=new Error().stack},t=e(n);return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var rc=ac(function(e){return function(t){e(this),this.message=t?t.length+` errors occurred during unsubscription:
`+t.map(function(i,o){return o+1+") "+i.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=t}});function ts(e,n){if(e){var t=e.indexOf(n);0<=t&&e.splice(t,1)}}var Io=function(){function e(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var n,t,i,o,a;if(!this.closed){this.closed=!0;var r=this._parentage;if(r)if(this._parentage=null,Array.isArray(r))try{for(var s=So(r),l=s.next();!l.done;l=s.next()){var c=l.value;c.remove(this)}}catch(b){n={error:b}}finally{try{l&&!l.done&&(t=s.return)&&t.call(s)}finally{if(n)throw n.error}}else r.remove(this);var u=this.initialTeardown;if(Le(u))try{u()}catch(b){a=b instanceof rc?b.errors:[b]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var d=So(f),p=d.next();!p.done;p=d.next()){var h=p.value;try{F0(h)}catch(b){a=a??[],b instanceof rc?a=ii(ii([],Dn(a)),Dn(b.errors)):a.push(b)}}}catch(b){i={error:b}}finally{try{p&&!p.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}if(a)throw new rc(a)}},e.prototype.add=function(n){var t;if(n&&n!==this)if(this.closed)F0(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}},e.prototype._hasParent=function(n){var t=this._parentage;return t===n||Array.isArray(t)&&t.includes(n)},e.prototype._addParent=function(n){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n},e.prototype._removeParent=function(n){var t=this._parentage;t===n?this._parentage=null:Array.isArray(t)&&ts(t,n)},e.prototype.remove=function(n){var t=this._finalizers;t&&ts(t,n),n instanceof e&&n._removeParent(this)},e.EMPTY=function(){var n=new e;return n.closed=!0,n}(),e}(),P0=Io.EMPTY;function D0(e){return e instanceof Io||e&&"closed"in e&&Le(e.remove)&&Le(e.add)&&Le(e.unsubscribe)}function F0(e){Le(e)?e():e.unsubscribe()}var k2={Promise:void 0},x2={setTimeout:function(e,n){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];return setTimeout.apply(void 0,ii([e,n],Dn(t)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function B0(e){x2.setTimeout(function(){throw e})}function Ca(){}function ns(e){e()}var sc=function(e){Pn(n,e);function n(t){var i=e.call(this)||this;return i.isStopped=!1,t?(i.destination=t,D0(t)&&t.add(i)):i.destination=L2,i}return n.create=function(t,i,o){return new _a(t,i,o)},n.prototype.next=function(t){this.isStopped||this._next(t)},n.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(t){this.destination.next(t)},n.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},n}(Io),R2=function(){function e(n){this.partialObserver=n}return e.prototype.next=function(n){var t=this.partialObserver;if(t.next)try{t.next(n)}catch(i){is(i)}},e.prototype.error=function(n){var t=this.partialObserver;if(t.error)try{t.error(n)}catch(i){is(i)}else is(n)},e.prototype.complete=function(){var n=this.partialObserver;if(n.complete)try{n.complete()}catch(t){is(t)}},e}(),_a=function(e){Pn(n,e);function n(t,i,o){var a=e.call(this)||this,r;return Le(t)||!t?r={next:t??void 0,error:i??void 0,complete:o??void 0}:r=t,a.destination=new R2(r),a}return n}(sc);function is(e){B0(e)}function N2(e){throw e}var L2={closed:!0,next:Ca,error:N2,complete:Ca},lc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Ji(e){return e}function P2(e){return e.length===0?Ji:e.length===1?e[0]:function(t){return e.reduce(function(i,o){return o(i)},t)}}var Qe=function(){function e(n){n&&(this._subscribe=n)}return e.prototype.lift=function(n){var t=new e;return t.source=this,t.operator=n,t},e.prototype.subscribe=function(n,t,i){var o=this,a=F2(n)?n:new _a(n,t,i);return ns(function(){var r=o,s=r.operator,l=r.source;a.add(s?s.call(a,l):l?o._subscribe(a):o._trySubscribe(a))}),a},e.prototype._trySubscribe=function(n){try{return this._subscribe(n)}catch(t){n.error(t)}},e.prototype.forEach=function(n,t){var i=this;return t=q0(t),new t(function(o,a){var r=new _a({next:function(s){try{n(s)}catch(l){a(l),r.unsubscribe()}},error:a,complete:o});i.subscribe(r)})},e.prototype._subscribe=function(n){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(n)},e.prototype[lc]=function(){return this},e.prototype.pipe=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return P2(n)(this)},e.prototype.toPromise=function(n){var t=this;return n=q0(n),new n(function(i,o){var a;t.subscribe(function(r){return a=r},function(r){return o(r)},function(){return i(a)})})},e.create=function(n){return new e(n)},e}();function q0(e){var n;return(n=e??k2.Promise)!==null&&n!==void 0?n:Promise}function D2(e){return e&&Le(e.next)&&Le(e.error)&&Le(e.complete)}function F2(e){return e&&e instanceof sc||D2(e)&&D0(e)}function B2(e){return Le(e==null?void 0:e.lift)}function it(e){return function(n){if(B2(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function He(e,n,t,i,o){return new q2(e,n,t,i,o)}var q2=function(e){Pn(n,e);function n(t,i,o,a,r,s){var l=e.call(this,t)||this;return l.onFinalize=r,l.shouldUnsubscribe=s,l._next=i?function(c){try{i(c)}catch(u){t.error(u)}}:e.prototype._next,l._error=a?function(c){try{a(c)}catch(u){t.error(u)}finally{this.unsubscribe()}}:e.prototype._error,l._complete=o?function(){try{o()}catch(c){t.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,l}return n.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var i=this.closed;e.prototype.unsubscribe.call(this),!i&&((t=this.onFinalize)===null||t===void 0||t.call(this))}},n}(sc),U2=ac(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Te=function(e){Pn(n,e);function n(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return n.prototype.lift=function(t){var i=new U0(this,this);return i.operator=t,i},n.prototype._throwIfClosed=function(){if(this.closed)throw new U2},n.prototype.next=function(t){var i=this;ns(function(){var o,a;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var r=So(i.currentObservers),s=r.next();!s.done;s=r.next()){var l=s.value;l.next(t)}}catch(c){o={error:c}}finally{try{s&&!s.done&&(a=r.return)&&a.call(r)}finally{if(o)throw o.error}}}})},n.prototype.error=function(t){var i=this;ns(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=t;for(var o=i.observers;o.length;)o.shift().error(t)}})},n.prototype.complete=function(){var t=this;ns(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var i=t.observers;i.length;)i.shift().complete()}})},n.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(n.prototype,"observed",{get:function(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0},enumerable:!1,configurable:!0}),n.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},n.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},n.prototype._innerSubscribe=function(t){var i=this,o=this,a=o.hasError,r=o.isStopped,s=o.observers;return a||r?P0:(this.currentObservers=null,s.push(t),new Io(function(){i.currentObservers=null,ts(s,t)}))},n.prototype._checkFinalizedStatuses=function(t){var i=this,o=i.hasError,a=i.thrownError,r=i.isStopped;o?t.error(a):r&&t.complete()},n.prototype.asObservable=function(){var t=new Qe;return t.source=this,t},n.create=function(t,i){return new U0(t,i)},n}(Qe),U0=function(e){Pn(n,e);function n(t,i){var o=e.call(this)||this;return o.destination=t,o.source=i,o}return n.prototype.next=function(t){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.next)===null||o===void 0||o.call(i,t)},n.prototype.error=function(t){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.error)===null||o===void 0||o.call(i,t)},n.prototype.complete=function(){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||i===void 0||i.call(t)},n.prototype._subscribe=function(t){var i,o;return(o=(i=this.source)===null||i===void 0?void 0:i.subscribe(t))!==null&&o!==void 0?o:P0},n}(Te),To=function(e){Pn(n,e);function n(t){var i=e.call(this)||this;return i._value=t,i}return Object.defineProperty(n.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),n.prototype._subscribe=function(t){var i=e.prototype._subscribe.call(this,t);return!i.closed&&t.next(this._value),i},n.prototype.getValue=function(){var t=this,i=t.hasError,o=t.thrownError,a=t._value;if(i)throw o;return this._throwIfClosed(),a},n.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},n}(Te),cc={now:function(){return(cc.delegate||Date).now()},delegate:void 0},oi=function(e){Pn(n,e);function n(t,i,o){t===void 0&&(t=1/0),i===void 0&&(i=1/0),o===void 0&&(o=cc);var a=e.call(this)||this;return a._bufferSize=t,a._windowTime=i,a._timestampProvider=o,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=i===1/0,a._bufferSize=Math.max(1,t),a._windowTime=Math.max(1,i),a}return n.prototype.next=function(t){var i=this,o=i.isStopped,a=i._buffer,r=i._infiniteTimeWindow,s=i._timestampProvider,l=i._windowTime;o||(a.push(t),!r&&a.push(s.now()+l)),this._trimBuffer(),e.prototype.next.call(this,t)},n.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(t),o=this,a=o._infiniteTimeWindow,r=o._buffer,s=r.slice(),l=0;l<s.length&&!t.closed;l+=a?1:2)t.next(s[l]);return this._checkFinalizedStatuses(t),i},n.prototype._trimBuffer=function(){var t=this,i=t._bufferSize,o=t._timestampProvider,a=t._buffer,r=t._infiniteTimeWindow,s=(r?1:2)*i;if(i<1/0&&s<a.length&&a.splice(0,a.length-s),!r){for(var l=o.now(),c=0,u=1;u<a.length&&a[u]<=l;u+=2)c=u;c&&a.splice(0,c+1)}},n}(Te),$2=function(e){Pn(n,e);function n(t,i){return e.call(this)||this}return n.prototype.schedule=function(t,i){return this},n}(Io),$0={setInterval:function(e,n){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];return setInterval.apply(void 0,ii([e,n],Dn(t)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},j2=function(e){Pn(n,e);function n(t,i){var o=e.call(this,t,i)||this;return o.scheduler=t,o.work=i,o.pending=!1,o}return n.prototype.schedule=function(t,i){var o;if(i===void 0&&(i=0),this.closed)return this;this.state=t;var a=this.id,r=this.scheduler;return a!=null&&(this.id=this.recycleAsyncId(r,a,i)),this.pending=!0,this.delay=i,this.id=(o=this.id)!==null&&o!==void 0?o:this.requestAsyncId(r,this.id,i),this},n.prototype.requestAsyncId=function(t,i,o){return o===void 0&&(o=0),$0.setInterval(t.flush.bind(t,this),o)},n.prototype.recycleAsyncId=function(t,i,o){if(o===void 0&&(o=0),o!=null&&this.delay===o&&this.pending===!1)return i;i!=null&&$0.clearInterval(i)},n.prototype.execute=function(t,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(t,i);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},n.prototype._execute=function(t,i){var o=!1,a;try{this.work(t)}catch(r){o=!0,a=r||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),a},n.prototype.unsubscribe=function(){if(!this.closed){var t=this,i=t.id,o=t.scheduler,a=o.actions;this.work=this.state=this.scheduler=null,this.pending=!1,ts(a,this),i!=null&&(this.id=this.recycleAsyncId(o,i,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},n}($2),j0=function(){function e(n,t){t===void 0&&(t=e.now),this.schedulerActionCtor=n,this.now=t}return e.prototype.schedule=function(n,t,i){return t===void 0&&(t=0),new this.schedulerActionCtor(this,n).schedule(i,t)},e.now=cc.now,e}(),z2=function(e){Pn(n,e);function n(t,i){i===void 0&&(i=j0.now);var o=e.call(this,t,i)||this;return o.actions=[],o._active=!1,o}return n.prototype.flush=function(t){var i=this.actions;if(this._active){i.push(t);return}var o;this._active=!0;do if(o=t.execute(t.state,t.delay))break;while(t=i.shift());if(this._active=!1,o){for(;t=i.shift();)t.unsubscribe();throw o}},n}(j0),Oo=new z2(j2),V2=Oo,tn=new Qe(function(e){return e.complete()});function z0(e){return e&&Le(e.schedule)}function fc(e){return e[e.length-1]}function uc(e){return Le(fc(e))?e.pop():void 0}function Ea(e){return z0(fc(e))?e.pop():void 0}function H2(e,n){return typeof fc(e)=="number"?e.pop():n}var dc=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function V0(e){return Le(e==null?void 0:e.then)}function H0(e){return Le(e[lc])}function W0(e){return Symbol.asyncIterator&&Le(e==null?void 0:e[Symbol.asyncIterator])}function Y0(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function W2(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var G0=W2();function Q0(e){return Le(e==null?void 0:e[G0])}function K0(e){return T2(this,arguments,function(){var t,i,o,a;return L0(this,function(r){switch(r.label){case 0:t=e.getReader(),r.label=1;case 1:r.trys.push([1,,9,10]),r.label=2;case 2:return[4,Mo(t.read())];case 3:return i=r.sent(),o=i.value,a=i.done,a?[4,Mo(void 0)]:[3,5];case 4:return[2,r.sent()];case 5:return[4,Mo(o)];case 6:return[4,r.sent()];case 7:return r.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function Z0(e){return Le(e==null?void 0:e.getReader)}function ht(e){if(e instanceof Qe)return e;if(e!=null){if(H0(e))return Y2(e);if(dc(e))return G2(e);if(V0(e))return Q2(e);if(W0(e))return J0(e);if(Q0(e))return K2(e);if(Z0(e))return Z2(e)}throw Y0(e)}function Y2(e){return new Qe(function(n){var t=e[lc]();if(Le(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function G2(e){return new Qe(function(n){for(var t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function Q2(e){return new Qe(function(n){e.then(function(t){n.closed||(n.next(t),n.complete())},function(t){return n.error(t)}).then(null,B0)})}function K2(e){return new Qe(function(n){var t,i;try{for(var o=So(e),a=o.next();!a.done;a=o.next()){var r=a.value;if(n.next(r),n.closed)return}}catch(s){t={error:s}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(t)throw t.error}}n.complete()})}function J0(e){return new Qe(function(n){J2(e,n).catch(function(t){return n.error(t)})})}function Z2(e){return J0(K0(e))}function J2(e,n){var t,i,o,a;return I2(this,void 0,void 0,function(){var r,s;return L0(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),t=O2(e),l.label=1;case 1:return[4,t.next()];case 2:if(i=l.sent(),!!i.done)return[3,4];if(r=i.value,n.next(r),n.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=l.sent(),o={error:s},[3,11];case 6:return l.trys.push([6,,9,10]),i&&!i.done&&(a=t.return)?[4,a.call(t)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return n.complete(),[2]}})})}function ai(e,n,t,i,o){i===void 0&&(i=0),o===void 0&&(o=!1);var a=n.schedule(function(){t(),o?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(a),!o)return a}function X0(e,n){return n===void 0&&(n=0),it(function(t,i){t.subscribe(He(i,function(o){return ai(i,e,function(){return i.next(o)},n)},function(){return ai(i,e,function(){return i.complete()},n)},function(o){return ai(i,e,function(){return i.error(o)},n)}))})}function eh(e,n){return n===void 0&&(n=0),it(function(t,i){i.add(e.schedule(function(){return t.subscribe(i)},n))})}function X2(e,n){return ht(e).pipe(eh(n),X0(n))}function ey(e,n){return ht(e).pipe(eh(n),X0(n))}function ty(e,n){return new Qe(function(t){var i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}function ny(e,n){return new Qe(function(t){var i;return ai(t,n,function(){i=e[G0](),ai(t,n,function(){var o,a,r;try{o=i.next(),a=o.value,r=o.done}catch(s){t.error(s);return}r?t.complete():t.next(a)},0,!0)}),function(){return Le(i==null?void 0:i.return)&&i.return()}})}function th(e,n){if(!e)throw new Error("Iterable cannot be null");return new Qe(function(t){ai(t,n,function(){var i=e[Symbol.asyncIterator]();ai(t,n,function(){i.next().then(function(o){o.done?t.complete():t.next(o.value)})},0,!0)})})}function iy(e,n){return th(K0(e),n)}function oy(e,n){if(e!=null){if(H0(e))return X2(e,n);if(dc(e))return ty(e,n);if(V0(e))return ey(e,n);if(W0(e))return th(e,n);if(Q0(e))return ny(e,n);if(Z0(e))return iy(e,n)}throw Y0(e)}function Dt(e,n){return n?oy(e,n):ht(e)}function Ke(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=Ea(e);return Dt(e,t)}function Ze(e,n){var t=Le(e)?e:function(){return e},i=function(o){return o.error(t())};return new Qe(i)}function ay(e){return!!e&&(e instanceof Qe||Le(e.lift)&&Le(e.subscribe))}function nh(e){return e instanceof Date&&!isNaN(e)}var ry=ac(function(e){return function(t){t===void 0&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}});function sy(e,n){var t=nh(e)?{first:e}:typeof e=="number"?{each:e}:e,i=t.first,o=t.each,a=t.with,r=a===void 0?ly:a,s=t.scheduler,l=s===void 0?Oo:s,c=t.meta,u=c===void 0?null:c;if(i==null&&o==null)throw new TypeError("No timeout provided.");return it(function(f,d){var p,h,b=null,y=0,g=function(C){h=ai(d,l,function(){try{p.unsubscribe(),ht(r({meta:u,lastValue:b,seen:y})).subscribe(d)}catch(E){d.error(E)}},C)};p=f.subscribe(He(d,function(C){h==null||h.unsubscribe(),y++,d.next(b=C),o>0&&g(o)},void 0,void 0,function(){h!=null&&h.closed||h==null||h.unsubscribe(),b=null})),!y&&g(i!=null?typeof i=="number"?i:+i-l.now():o)})}function ly(e){throw new ry(e)}function yt(e,n){return it(function(t,i){var o=0;t.subscribe(He(i,function(a){i.next(e.call(n,a,o++))}))})}var cy=Array.isArray;function fy(e,n){return cy(n)?e.apply(void 0,ii([],Dn(n))):e(n)}function ih(e){return yt(function(n){return fy(e,n)})}var uy=Array.isArray,dy=Object.getPrototypeOf,hy=Object.prototype,py=Object.keys;function my(e){if(e.length===1){var n=e[0];if(uy(n))return{args:n,keys:null};if(gy(n)){var t=py(n);return{args:t.map(function(i){return n[i]}),keys:t}}}return{args:e,keys:null}}function gy(e){return e&&typeof e=="object"&&dy(e)===hy}function by(e,n){return e.reduce(function(t,i,o){return t[i]=n[o],t},{})}function vy(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=Ea(e),i=uc(e),o=my(e),a=o.args,r=o.keys;if(a.length===0)return Dt([],t);var s=new Qe(yy(a,t,r?function(l){return by(r,l)}:Ji));return i?s.pipe(ih(i)):s}function yy(e,n,t){return t===void 0&&(t=Ji),function(i){oh(n,function(){for(var o=e.length,a=new Array(o),r=o,s=o,l=function(u){oh(n,function(){var f=Dt(e[u],n),d=!1;f.subscribe(He(i,function(p){a[u]=p,d||(d=!0,s--),s||i.next(t(a.slice()))},function(){--r||i.complete()}))},i)},c=0;c<o;c++)l(c)},i)}}function oh(e,n,t){e?ai(t,e,n):n()}function Ay(e,n,t,i,o,a,r,s){var l=[],c=0,u=0,f=!1,d=function(){f&&!l.length&&!c&&n.complete()},p=function(b){return c<i?h(b):l.push(b)},h=function(b){c++;var y=!1;ht(t(b,u++)).subscribe(He(n,function(g){n.next(g)},function(){y=!0},void 0,function(){if(y)try{c--;for(var g=function(){var C=l.shift();r||h(C)};l.length&&c<i;)g();d()}catch(C){n.error(C)}}))};return e.subscribe(He(n,p,function(){f=!0,d()})),function(){}}function ko(e,n,t){return t===void 0&&(t=1/0),Le(n)?ko(function(i,o){return yt(function(a,r){return n(i,a,o,r)})(ht(e(i,o)))},t):(typeof n=="number"&&(t=n),it(function(i,o){return Ay(i,o,e,t)}))}function ah(e){return e===void 0&&(e=1/0),ko(Ji,e)}function wy(){return ah(1)}function os(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return wy()(Dt(e,Ea(e)))}var Cy=["addListener","removeListener"],_y=["addEventListener","removeEventListener"],Ey=["on","off"];function xo(e,n,t,i){if(Le(t)&&(i=t,t=void 0),i)return xo(e,n,t).pipe(ih(i));var o=Dn(Iy(e)?_y.map(function(s){return function(l){return e[s](n,l,t)}}):Sy(e)?Cy.map(rh(e,n)):My(e)?Ey.map(rh(e,n)):[],2),a=o[0],r=o[1];if(!a&&dc(e))return ko(function(s){return xo(s,n,t)})(ht(e));if(!a)throw new TypeError("Invalid event target");return new Qe(function(s){var l=function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];return s.next(1<c.length?c:c[0])};return a(l),function(){return r(l)}})}function rh(e,n){return function(t){return function(i){return e[t](n,i)}}}function Sy(e){return Le(e.addListener)&&Le(e.removeListener)}function My(e){return Le(e.on)&&Le(e.off)}function Iy(e){return Le(e.addEventListener)&&Le(e.removeEventListener)}function hc(e,n,t){e===void 0&&(e=0),t===void 0&&(t=V2);var i=-1;return n!=null&&(z0(n)?t=n:i=n),new Qe(function(o){var a=nh(e)?+e-t.now():e;a<0&&(a=0);var r=0;return t.schedule(function(){o.closed||(o.next(r++),0<=i?this.schedule(void 0,i):o.complete())},a)})}function Ty(e,n){return n===void 0&&(n=Oo),hc(e,e,n)}function pc(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=Ea(e),i=H2(e,1/0),o=e;return o.length?o.length===1?ht(o[0]):ah(i)(Dt(o,t)):tn}var Oy=Array.isArray;function ky(e){return e.length===1&&Oy(e[0])?e[0]:e}function Cn(e,n){return it(function(t,i){var o=0;t.subscribe(He(i,function(a){return e.call(n,a,o++)&&i.next(a)}))})}function xy(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=uc(e),i=ky(e);return i.length?new Qe(function(o){var a=i.map(function(){return[]}),r=i.map(function(){return!1});o.add(function(){a=r=null});for(var s=function(c){ht(i[c]).subscribe(He(o,function(u){if(a[c].push(u),a.every(function(d){return d.length})){var f=a.map(function(d){return d.shift()});o.next(t?t.apply(void 0,ii([],Dn(f))):f),a.some(function(d,p){return!d.length&&r[p]})&&o.complete()}},function(){r[c]=!0,!a[c].length&&o.complete()}))},l=0;!o.closed&&l<i.length;l++)s(l);return function(){a=r=null}}):tn}function Ry(e){return it(function(n,t){var i=[];return n.subscribe(He(t,function(o){return i.push(o)},function(){t.next(i),t.complete()})),ht(e).subscribe(He(t,function(){var o=i;i=[],t.next(o)},Ca)),function(){i=null}})}function fn(e){return it(function(n,t){var i=null,o=!1,a;i=n.subscribe(He(t,void 0,void 0,function(r){a=ht(e(r,fn(e)(n))),i?(i.unsubscribe(),i=null,a.subscribe(t)):o=!0})),o&&(i.unsubscribe(),i=null,a.subscribe(t))})}function Ny(e,n,t,i,o){return function(a,r){var s=t,l=n,c=0;a.subscribe(He(r,function(u){var f=c++;l=s?e(l,u,f):(s=!0,u),r.next(l)},o))}}function sh(e,n){return Le(n)?ko(e,n,1):ko(e,1)}function Ly(e,n){return n===void 0&&(n=Oo),it(function(t,i){var o=null,a=null,r=null,s=function(){if(o){o.unsubscribe(),o=null;var c=a;a=null,i.next(c)}};function l(){var c=r+e,u=n.now();if(u<c){o=this.schedule(void 0,c-u),i.add(o);return}s()}t.subscribe(He(i,function(c){a=c,r=n.now(),o||(o=n.schedule(l,e),i.add(o))},function(){s(),i.complete()},void 0,function(){a=o=null}))})}function Fn(e){return e<=0?function(){return tn}:it(function(n,t){var i=0;n.subscribe(He(t,function(o){++i<=e&&(t.next(o),e<=i&&t.complete())}))})}function Py(e){return yt(function(){return e})}function Dy(e,n){return ko(function(t,i){return ht(e(t,i)).pipe(Fn(1),Py(t))})}function Sa(e,n){n===void 0&&(n=Oo);var t=hc(e,n);return Dy(function(){return t})}function Ma(e,n){return n===void 0&&(n=Ji),e=e??Fy,it(function(t,i){var o,a=!0;t.subscribe(He(i,function(r){var s=n(r);(a||!e(o,s))&&(a=!1,o=s,i.next(r))}))})}function Fy(e,n){return e===n}function By(e){return it(function(n,t){try{n.subscribe(t)}finally{t.add(e)}})}function qy(){return it(function(e,n){var t,i=!1;e.subscribe(He(n,function(o){var a=t;t=o,i&&n.next([a,o]),i=!0}))})}function mc(e,n){return it(Ny(e,n,arguments.length>=2,!0))}function gc(e){e===void 0&&(e={});var n=e.connector,t=n===void 0?function(){return new Te}:n,i=e.resetOnError,o=i===void 0?!0:i,a=e.resetOnComplete,r=a===void 0?!0:a,s=e.resetOnRefCountZero,l=s===void 0?!0:s;return function(c){var u,f,d,p=0,h=!1,b=!1,y=function(){f==null||f.unsubscribe(),f=void 0},g=function(){y(),u=d=void 0,h=b=!1},C=function(){var E=u;g(),E==null||E.unsubscribe()};return it(function(E,x){p++,!b&&!h&&y();var M=d=d??t();x.add(function(){p--,p===0&&!b&&!h&&(f=bc(C,l))}),M.subscribe(x),!u&&p>0&&(u=new _a({next:function(U){return M.next(U)},error:function(U){b=!0,y(),f=bc(g,o,U),M.error(U)},complete:function(){h=!0,y(),f=bc(g,r),M.complete()}}),ht(E).subscribe(u))})(c)}}function bc(e,n){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];if(n===!0){e();return}if(n!==!1){var o=new _a({next:function(){o.unsubscribe(),e()}});return ht(n.apply(void 0,ii([],Dn(t)))).subscribe(o)}}function Uy(e,n,t){var i,o=!1;return i=e,gc({connector:function(){return new oi(i,n,t)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function $y(e){return it(function(n,t){var i=!1,o=0;n.subscribe(He(t,function(a){return(i||(i=!e(a,o++)))&&t.next(a)}))})}function vc(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=Ea(e);return it(function(i,o){(t?os(e,i,t):os(e,i)).subscribe(o)})}function we(e,n){return it(function(t,i){var o=null,a=0,r=!1,s=function(){return r&&!o&&i.complete()};t.subscribe(He(i,function(l){o==null||o.unsubscribe();var c=0,u=a++;ht(e(l,u)).subscribe(o=He(i,function(f){return i.next(n?n(l,f,u,c++):f)},function(){o=null,s()}))},function(){r=!0,s()}))})}function as(e){return it(function(n,t){ht(e).subscribe(He(t,function(){return t.complete()},Ca)),!t.closed&&n.subscribe(t)})}function Ci(e,n,t){var i=Le(e)||n||t?{next:e,error:n,complete:t}:e;return i?it(function(o,a){var r;(r=i.subscribe)===null||r===void 0||r.call(i);var s=!0;o.subscribe(He(a,function(l){var c;(c=i.next)===null||c===void 0||c.call(i,l),a.next(l)},function(){var l;s=!1,(l=i.complete)===null||l===void 0||l.call(i),a.complete()},function(l){var c;s=!1,(c=i.error)===null||c===void 0||c.call(i,l),a.error(l)},function(){var l,c;s&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):Ji}function jy(e,n){return it(function(t,i){var o=n??{},a=o.leading,r=a===void 0?!0:a,s=o.trailing,l=s===void 0?!1:s,c=!1,u=null,f=null,d=!1,p=function(){f==null||f.unsubscribe(),f=null,l&&(y(),d&&i.complete())},h=function(){f=null,d&&i.complete()},b=function(g){return f=ht(e(g)).subscribe(He(i,p,h))},y=function(){if(c){c=!1;var g=u;u=null,i.next(g),!d&&b(g)}};t.subscribe(He(i,function(g){c=!0,u=g,!(f&&!f.closed)&&(r?y():b(g))},function(){d=!0,!(l&&c&&f&&!f.closed)&&i.complete()}))})}function lh(e,n,t){n===void 0&&(n=Oo);var i=hc(e,n);return jy(function(){return i},t)}function ch(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=uc(e);return it(function(i,o){for(var a=e.length,r=new Array(a),s=e.map(function(){return!1}),l=!1,c=function(f){ht(e[f]).subscribe(He(o,function(d){r[f]=d,!l&&!s[f]&&(s[f]=!0,(l=s.every(Ji))&&(s=null))},Ca))},u=0;u<a;u++)c(u);i.subscribe(He(o,function(f){if(l){var d=ii([f],Dn(r));o.next(t?t.apply(void 0,ii([],Dn(d))):d)}}))})}var Bn=(e=>(e[e.Idle=0]="Idle",e[e.Error=1]="Error",e[e.Connected=2]="Connected",e))(Bn||{}),ye=(e=>(e[e.None=0]="None",e[e.Chat=1]="Chat",e[e.Authenticate=2]="Authenticate",e[e.Intro=3]="Intro",e[e.Disabled=4]="Disabled",e[e.Call=5]="Call",e))(ye||{}),nn=(e=>(e[e.NoError=0]="NoError",e[e.CanRetry=1]="CanRetry",e[e.NoRetry=2]="NoRetry",e[e.UnsupportedFile=3]="UnsupportedFile",e[e.FileError=4]="FileError",e))(nn||{}),At=(e=>(e[e.MISSED=0]="MISSED",e[e.OLD_ENDED=1]="OLD_ENDED",e[e.PENDING_AGENT=2]="PENDING_AGENT",e[e.ACTIVE=3]="ACTIVE",e[e.BROWSE=5]="BROWSE",e[e.NOT_STARTED=17]="NOT_STARTED",e[e.ENDED_BY_AGENT=16]="ENDED_BY_AGENT",e[e.ENDED_BY_CLIENT=15]="ENDED_BY_CLIENT",e[e.ENDED_DUE_AGENT_INACTIVITY=14]="ENDED_DUE_AGENT_INACTIVITY",e[e.ENDED_DUE_CLIENT_INACTIVITY=13]="ENDED_DUE_CLIENT_INACTIVITY",e[e.ENDED_DUE_BLOCK=18]="ENDED_DUE_BLOCK",e))(At||{}),ri=(e=>(e[e.Chat=0]="Chat",e[e.OfflineForm=1]="OfflineForm",e[e.Rate=2]="Rate",e[e.Auth=3]="Auth",e))(ri||{}),Ft=(e=>(e[e.Text=0]="Text",e[e.SingleChoice=1]="SingleChoice",e[e.MultipleChoice=2]="MultipleChoice",e))(Ft||{}),_i=(e=>(e[e.Text=0]="Text",e[e.File=1]="File",e[e.Options=2]="Options",e))(_i||{}),un=(e=>(e[e.Normal=0]="Normal",e[e.Completed=1]="Completed",e))(un||{}),yc={},rs={},Ac,fh;function zy(){if(fh)return Ac;fh=1,Ac=e;function e(n,t){for(var i=new Array(arguments.length-1),o=0,a=2,r=!0;a<arguments.length;)i[o++]=arguments[a++];return new Promise(function(l,c){i[o]=function(f){if(r)if(r=!1,f)c(f);else{for(var d=new Array(arguments.length-1),p=0;p<d.length;)d[p++]=arguments[p];l.apply(null,d)}};try{n.apply(t||null,i)}catch(u){r&&(r=!1,c(u))}})}return Ac}var wc={},uh;function Vy(){return uh||(uh=1,function(e){var n=e;n.length=function(s){var l=s.length;if(!l)return 0;for(var c=0;--l%4>1&&s.charAt(l)==="=";)++c;return Math.ceil(s.length*3)/4-c};for(var t=new Array(64),i=new Array(123),o=0;o<64;)i[t[o]=o<26?o+65:o<52?o+71:o<62?o-4:o-59|43]=o++;n.encode=function(s,l,c){for(var u=null,f=[],d=0,p=0,h;l<c;){var b=s[l++];switch(p){case 0:f[d++]=t[b>>2],h=(b&3)<<4,p=1;break;case 1:f[d++]=t[h|b>>4],h=(b&15)<<2,p=2;break;case 2:f[d++]=t[h|b>>6],f[d++]=t[b&63],p=0;break}d>8191&&((u||(u=[])).push(String.fromCharCode.apply(String,f)),d=0)}return p&&(f[d++]=t[h],f[d++]=61,p===1&&(f[d++]=61)),u?(d&&u.push(String.fromCharCode.apply(String,f.slice(0,d))),u.join("")):String.fromCharCode.apply(String,f.slice(0,d))};var a="invalid encoding";n.decode=function(s,l,c){for(var u=c,f=0,d,p=0;p<s.length;){var h=s.charCodeAt(p++);if(h===61&&f>1)break;if((h=i[h])===void 0)throw Error(a);switch(f){case 0:d=h,f=1;break;case 1:l[c++]=d<<2|(h&48)>>4,d=h,f=2;break;case 2:l[c++]=(d&15)<<4|(h&60)>>2,d=h,f=3;break;case 3:l[c++]=(d&3)<<6|h,f=0;break}}if(f===1)throw Error(a);return c-u},n.test=function(s){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(s)}}(wc)),wc}var Cc,dh;function Hy(){if(dh)return Cc;dh=1,Cc=e;function e(){this._listeners={}}return e.prototype.on=function(t,i,o){return(this._listeners[t]||(this._listeners[t]=[])).push({fn:i,ctx:o||this}),this},e.prototype.off=function(t,i){if(t===void 0)this._listeners={};else if(i===void 0)this._listeners[t]=[];else for(var o=this._listeners[t],a=0;a<o.length;)o[a].fn===i?o.splice(a,1):++a;return this},e.prototype.emit=function(t){var i=this._listeners[t];if(i){for(var o=[],a=1;a<arguments.length;)o.push(arguments[a++]);for(a=0;a<i.length;)i[a].fn.apply(i[a++].ctx,o)}return this},Cc}var _c,hh;function Wy(){if(hh)return _c;hh=1,_c=e(e);function e(a){return typeof Float32Array<"u"?function(){var r=new Float32Array([-0]),s=new Uint8Array(r.buffer),l=s[3]===128;function c(p,h,b){r[0]=p,h[b]=s[0],h[b+1]=s[1],h[b+2]=s[2],h[b+3]=s[3]}function u(p,h,b){r[0]=p,h[b]=s[3],h[b+1]=s[2],h[b+2]=s[1],h[b+3]=s[0]}a.writeFloatLE=l?c:u,a.writeFloatBE=l?u:c;function f(p,h){return s[0]=p[h],s[1]=p[h+1],s[2]=p[h+2],s[3]=p[h+3],r[0]}function d(p,h){return s[3]=p[h],s[2]=p[h+1],s[1]=p[h+2],s[0]=p[h+3],r[0]}a.readFloatLE=l?f:d,a.readFloatBE=l?d:f}():function(){function r(l,c,u,f){var d=c<0?1:0;if(d&&(c=-c),c===0)l(1/c>0?0:2147483648,u,f);else if(isNaN(c))l(2143289344,u,f);else if(c>34028234663852886e22)l((d<<31|2139095040)>>>0,u,f);else if(c<11754943508222875e-54)l((d<<31|Math.round(c/1401298464324817e-60))>>>0,u,f);else{var p=Math.floor(Math.log(c)/Math.LN2),h=Math.round(c*Math.pow(2,-p)*8388608)&8388607;l((d<<31|p+127<<23|h)>>>0,u,f)}}a.writeFloatLE=r.bind(null,n),a.writeFloatBE=r.bind(null,t);function s(l,c,u){var f=l(c,u),d=(f>>31)*2+1,p=f>>>23&255,h=f&8388607;return p===255?h?NaN:d*(1/0):p===0?d*1401298464324817e-60*h:d*Math.pow(2,p-150)*(h+8388608)}a.readFloatLE=s.bind(null,i),a.readFloatBE=s.bind(null,o)}(),typeof Float64Array<"u"?function(){var r=new Float64Array([-0]),s=new Uint8Array(r.buffer),l=s[7]===128;function c(p,h,b){r[0]=p,h[b]=s[0],h[b+1]=s[1],h[b+2]=s[2],h[b+3]=s[3],h[b+4]=s[4],h[b+5]=s[5],h[b+6]=s[6],h[b+7]=s[7]}function u(p,h,b){r[0]=p,h[b]=s[7],h[b+1]=s[6],h[b+2]=s[5],h[b+3]=s[4],h[b+4]=s[3],h[b+5]=s[2],h[b+6]=s[1],h[b+7]=s[0]}a.writeDoubleLE=l?c:u,a.writeDoubleBE=l?u:c;function f(p,h){return s[0]=p[h],s[1]=p[h+1],s[2]=p[h+2],s[3]=p[h+3],s[4]=p[h+4],s[5]=p[h+5],s[6]=p[h+6],s[7]=p[h+7],r[0]}function d(p,h){return s[7]=p[h],s[6]=p[h+1],s[5]=p[h+2],s[4]=p[h+3],s[3]=p[h+4],s[2]=p[h+5],s[1]=p[h+6],s[0]=p[h+7],r[0]}a.readDoubleLE=l?f:d,a.readDoubleBE=l?d:f}():function(){function r(l,c,u,f,d,p){var h=f<0?1:0;if(h&&(f=-f),f===0)l(0,d,p+c),l(1/f>0?0:2147483648,d,p+u);else if(isNaN(f))l(0,d,p+c),l(2146959360,d,p+u);else if(f>17976931348623157e292)l(0,d,p+c),l((h<<31|2146435072)>>>0,d,p+u);else{var b;if(f<22250738585072014e-324)b=f/5e-324,l(b>>>0,d,p+c),l((h<<31|b/4294967296)>>>0,d,p+u);else{var y=Math.floor(Math.log(f)/Math.LN2);y===1024&&(y=1023),b=f*Math.pow(2,-y),l(b*4503599627370496>>>0,d,p+c),l((h<<31|y+1023<<20|b*1048576&1048575)>>>0,d,p+u)}}}a.writeDoubleLE=r.bind(null,n,0,4),a.writeDoubleBE=r.bind(null,t,4,0);function s(l,c,u,f,d){var p=l(f,d+c),h=l(f,d+u),b=(h>>31)*2+1,y=h>>>20&2047,g=4294967296*(h&1048575)+p;return y===2047?g?NaN:b*(1/0):y===0?b*5e-324*g:b*Math.pow(2,y-1075)*(g+4503599627370496)}a.readDoubleLE=s.bind(null,i,0,4),a.readDoubleBE=s.bind(null,o,4,0)}(),a}function n(a,r,s){r[s]=a&255,r[s+1]=a>>>8&255,r[s+2]=a>>>16&255,r[s+3]=a>>>24}function t(a,r,s){r[s]=a>>>24,r[s+1]=a>>>16&255,r[s+2]=a>>>8&255,r[s+3]=a&255}function i(a,r){return(a[r]|a[r+1]<<8|a[r+2]<<16|a[r+3]<<24)>>>0}function o(a,r){return(a[r]<<24|a[r+1]<<16|a[r+2]<<8|a[r+3])>>>0}return _c}var Ec,ph;function Yy(){if(ph)return Ec;ph=1,Ec=e;function e(n){return null}return Ec}var Sc={},mh;function Gy(){return mh||(mh=1,function(e){var n=e;n.length=function(i){for(var o=0,a=0,r=0;r<i.length;++r)a=i.charCodeAt(r),a<128?o+=1:a<2048?o+=2:(a&64512)===55296&&(i.charCodeAt(r+1)&64512)===56320?(++r,o+=4):o+=3;return o},n.read=function(i,o,a){var r=a-o;if(r<1)return"";for(var s=null,l=[],c=0,u;o<a;)u=i[o++],u<128?l[c++]=u:u>191&&u<224?l[c++]=(u&31)<<6|i[o++]&63:u>239&&u<365?(u=((u&7)<<18|(i[o++]&63)<<12|(i[o++]&63)<<6|i[o++]&63)-65536,l[c++]=55296+(u>>10),l[c++]=56320+(u&1023)):l[c++]=(u&15)<<12|(i[o++]&63)<<6|i[o++]&63,c>8191&&((s||(s=[])).push(String.fromCharCode.apply(String,l)),c=0);return s?(c&&s.push(String.fromCharCode.apply(String,l.slice(0,c))),s.join("")):String.fromCharCode.apply(String,l.slice(0,c))},n.write=function(i,o,a){for(var r=a,s,l,c=0;c<i.length;++c)s=i.charCodeAt(c),s<128?o[a++]=s:s<2048?(o[a++]=s>>6|192,o[a++]=s&63|128):(s&64512)===55296&&((l=i.charCodeAt(c+1))&64512)===56320?(s=65536+((s&1023)<<10)+(l&1023),++c,o[a++]=s>>18|240,o[a++]=s>>12&63|128,o[a++]=s>>6&63|128,o[a++]=s&63|128):(o[a++]=s>>12|224,o[a++]=s>>6&63|128,o[a++]=s&63|128);return a-r}}(Sc)),Sc}var Mc,gh;function Qy(){if(gh)return Mc;gh=1,Mc=e;function e(n,t,i){var o=i||8192,a=o>>>1,r=null,s=o;return function(c){if(c<1||c>a)return n(c);s+c>o&&(r=n(o),s=0);var u=t.call(r,s,s+=c);return s&7&&(s=(s|7)+1),u}}return Mc}var Ic,bh;function Ky(){if(bh)return Ic;bh=1,Ic=n;var e=Xi();function n(a,r){this.lo=a>>>0,this.hi=r>>>0}var t=n.zero=new n(0,0);t.toNumber=function(){return 0},t.zzEncode=t.zzDecode=function(){return this},t.length=function(){return 1};var i=n.zeroHash="\0\0\0\0\0\0\0\0";n.fromNumber=function(r){if(r===0)return t;var s=r<0;s&&(r=-r);var l=r>>>0,c=(r-l)/4294967296>>>0;return s&&(c=~c>>>0,l=~l>>>0,++l>4294967295&&(l=0,++c>4294967295&&(c=0))),new n(l,c)},n.from=function(r){if(typeof r=="number")return n.fromNumber(r);if(e.isString(r))if(e.Long)r=e.Long.fromString(r);else return n.fromNumber(parseInt(r,10));return r.low||r.high?new n(r.low>>>0,r.high>>>0):t},n.prototype.toNumber=function(r){if(!r&&this.hi>>>31){var s=~this.lo+1>>>0,l=~this.hi>>>0;return s||(l=l+1>>>0),-(s+l*4294967296)}return this.lo+this.hi*4294967296},n.prototype.toLong=function(r){return e.Long?new e.Long(this.lo|0,this.hi|0,!!r):{low:this.lo|0,high:this.hi|0,unsigned:!!r}};var o=String.prototype.charCodeAt;return n.fromHash=function(r){return r===i?t:new n((o.call(r,0)|o.call(r,1)<<8|o.call(r,2)<<16|o.call(r,3)<<24)>>>0,(o.call(r,4)|o.call(r,5)<<8|o.call(r,6)<<16|o.call(r,7)<<24)>>>0)},n.prototype.toHash=function(){return String.fromCharCode(this.lo&255,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,this.hi&255,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},n.prototype.zzEncode=function(){var r=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^r)>>>0,this.lo=(this.lo<<1^r)>>>0,this},n.prototype.zzDecode=function(){var r=-(this.lo&1);return this.lo=((this.lo>>>1|this.hi<<31)^r)>>>0,this.hi=(this.hi>>>1^r)>>>0,this},n.prototype.length=function(){var r=this.lo,s=(this.lo>>>28|this.hi<<4)>>>0,l=this.hi>>>24;return l===0?s===0?r<16384?r<128?1:2:r<2097152?3:4:s<16384?s<128?5:6:s<2097152?7:8:l<128?9:10},Ic}var vh;function Xi(){return vh||(vh=1,function(e){var n=e;n.asPromise=zy(),n.base64=Vy(),n.EventEmitter=Hy(),n.float=Wy(),n.inquire=Yy(),n.utf8=Gy(),n.pool=Qy(),n.LongBits=Ky(),n.isNode=!!(typeof mt<"u"&&mt&&mt.process&&mt.process.versions&&mt.process.versions.node),n.global=n.isNode&&mt||typeof window<"u"&&window||typeof self<"u"&&self||rs,n.emptyArray=Object.freeze?Object.freeze([]):[],n.emptyObject=Object.freeze?Object.freeze({}):{},n.isInteger=Number.isInteger||function(a){return typeof a=="number"&&isFinite(a)&&Math.floor(a)===a},n.isString=function(a){return typeof a=="string"||a instanceof String},n.isObject=function(a){return a&&typeof a=="object"},n.isset=n.isSet=function(a,r){var s=a[r];return s!=null&&a.hasOwnProperty(r)?typeof s!="object"||(Array.isArray(s)?s.length:Object.keys(s).length)>0:!1},n.Buffer=function(){try{var o=n.inquire("buffer").Buffer;return o.prototype.utf8Write?o:null}catch{return null}}(),n._Buffer_from=null,n._Buffer_allocUnsafe=null,n.newBuffer=function(a){return typeof a=="number"?n.Buffer?n._Buffer_allocUnsafe(a):new n.Array(a):n.Buffer?n._Buffer_from(a):typeof Uint8Array>"u"?a:new Uint8Array(a)},n.Array=typeof Uint8Array<"u"?Uint8Array:Array,n.Long=n.global.dcodeIO&&n.global.dcodeIO.Long||n.global.Long||n.inquire("long"),n.key2Re=/^true|false|0|1$/,n.key32Re=/^-?(?:0|[1-9][0-9]*)$/,n.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,n.longToHash=function(a){return a?n.LongBits.from(a).toHash():n.LongBits.zeroHash},n.longFromHash=function(a,r){var s=n.LongBits.fromHash(a);return n.Long?n.Long.fromBits(s.lo,s.hi,r):s.toNumber(!!r)};function t(o,a,r){for(var s=Object.keys(a),l=0;l<s.length;++l)(o[s[l]]===void 0||!r)&&(o[s[l]]=a[s[l]]);return o}n.merge=t,n.lcFirst=function(a){return a.charAt(0).toLowerCase()+a.substring(1)};function i(o){function a(r,s){if(!(this instanceof a))return new a(r,s);Object.defineProperty(this,"message",{get:function(){return r}}),Error.captureStackTrace?Error.captureStackTrace(this,a):Object.defineProperty(this,"stack",{value:new Error().stack||""}),s&&t(this,s)}return a.prototype=Object.create(Error.prototype,{constructor:{value:a,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return o},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),a}n.newError=i,n.ProtocolError=i("ProtocolError"),n.oneOfGetter=function(a){for(var r={},s=0;s<a.length;++s)r[a[s]]=1;return function(){for(var l=Object.keys(this),c=l.length-1;c>-1;--c)if(r[l[c]]===1&&this[l[c]]!==void 0&&this[l[c]]!==null)return l[c]}},n.oneOfSetter=function(a){return function(r){for(var s=0;s<a.length;++s)a[s]!==r&&delete this[a[s]]}},n.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},n._configure=function(){var o=n.Buffer;if(!o){n._Buffer_from=n._Buffer_allocUnsafe=null;return}n._Buffer_from=o.from!==Uint8Array.from&&o.from||function(r,s){return new o(r,s)},n._Buffer_allocUnsafe=o.allocUnsafe||function(r){return new o(r)}}}(rs)),rs}var Tc,yh;function Ah(){if(yh)return Tc;yh=1,Tc=l;var e=Xi(),n,t=e.LongBits,i=e.base64,o=e.utf8;function a(y,g,C){this.fn=y,this.len=g,this.next=void 0,this.val=C}function r(){}function s(y){this.head=y.head,this.tail=y.tail,this.len=y.len,this.next=y.states}function l(){this.len=0,this.head=new a(r,0,0),this.tail=this.head,this.states=null}var c=function(){return e.Buffer?function(){return(l.create=function(){return new n})()}:function(){return new l}};l.create=c(),l.alloc=function(g){return new e.Array(g)},e.Array!==Array&&(l.alloc=e.pool(l.alloc,e.Array.prototype.subarray)),l.prototype._push=function(g,C,E){return this.tail=this.tail.next=new a(g,C,E),this.len+=C,this};function u(y,g,C){g[C]=y&255}function f(y,g,C){for(;y>127;)g[C++]=y&127|128,y>>>=7;g[C]=y}function d(y,g){this.len=y,this.next=void 0,this.val=g}d.prototype=Object.create(a.prototype),d.prototype.fn=f,l.prototype.uint32=function(g){return this.len+=(this.tail=this.tail.next=new d((g=g>>>0)<128?1:g<16384?2:g<2097152?3:g<268435456?4:5,g)).len,this},l.prototype.int32=function(g){return g<0?this._push(p,10,t.fromNumber(g)):this.uint32(g)},l.prototype.sint32=function(g){return this.uint32((g<<1^g>>31)>>>0)};function p(y,g,C){for(;y.hi;)g[C++]=y.lo&127|128,y.lo=(y.lo>>>7|y.hi<<25)>>>0,y.hi>>>=7;for(;y.lo>127;)g[C++]=y.lo&127|128,y.lo=y.lo>>>7;g[C++]=y.lo}l.prototype.uint64=function(g){var C=t.from(g);return this._push(p,C.length(),C)},l.prototype.int64=l.prototype.uint64,l.prototype.sint64=function(g){var C=t.from(g).zzEncode();return this._push(p,C.length(),C)},l.prototype.bool=function(g){return this._push(u,1,g?1:0)};function h(y,g,C){g[C]=y&255,g[C+1]=y>>>8&255,g[C+2]=y>>>16&255,g[C+3]=y>>>24}l.prototype.fixed32=function(g){return this._push(h,4,g>>>0)},l.prototype.sfixed32=l.prototype.fixed32,l.prototype.fixed64=function(g){var C=t.from(g);return this._push(h,4,C.lo)._push(h,4,C.hi)},l.prototype.sfixed64=l.prototype.fixed64,l.prototype.float=function(g){return this._push(e.float.writeFloatLE,4,g)},l.prototype.double=function(g){return this._push(e.float.writeDoubleLE,8,g)};var b=e.Array.prototype.set?function(g,C,E){C.set(g,E)}:function(g,C,E){for(var x=0;x<g.length;++x)C[E+x]=g[x]};return l.prototype.bytes=function(g){var C=g.length>>>0;if(!C)return this._push(u,1,0);if(e.isString(g)){var E=l.alloc(C=i.length(g));i.decode(g,E,0),g=E}return this.uint32(C)._push(b,C,g)},l.prototype.string=function(g){var C=o.length(g);return C?this.uint32(C)._push(o.write,C,g):this._push(u,1,0)},l.prototype.fork=function(){return this.states=new s(this),this.head=this.tail=new a(r,0,0),this.len=0,this},l.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new a(r,0,0),this.len=0),this},l.prototype.ldelim=function(){var g=this.head,C=this.tail,E=this.len;return this.reset().uint32(E),E&&(this.tail.next=g.next,this.tail=C,this.len+=E),this},l.prototype.finish=function(){for(var g=this.head.next,C=this.constructor.alloc(this.len),E=0;g;)g.fn(g.val,C,E),E+=g.len,g=g.next;return C},l._configure=function(y){n=y,l.create=c(),n._configure()},Tc}var Oc,wh;function Zy(){if(wh)return Oc;wh=1,Oc=t;var e=Ah();(t.prototype=Object.create(e.prototype)).constructor=t;var n=Xi();function t(){e.call(this)}t._configure=function(){t.alloc=n._Buffer_allocUnsafe,t.writeBytesBuffer=n.Buffer&&n.Buffer.prototype instanceof Uint8Array&&n.Buffer.prototype.set.name==="set"?function(a,r,s){r.set(a,s)}:function(a,r,s){if(a.copy)a.copy(r,s,0,a.length);else for(var l=0;l<a.length;)r[s++]=a[l++]}},t.prototype.bytes=function(a){n.isString(a)&&(a=n._Buffer_from(a,"base64"));var r=a.length>>>0;return this.uint32(r),r&&this._push(t.writeBytesBuffer,r,a),this};function i(o,a,r){o.length<40?n.utf8.write(o,a,r):a.utf8Write?a.utf8Write(o,r):a.write(o,r)}return t.prototype.string=function(a){var r=n.Buffer.byteLength(a);return this.uint32(r),r&&this._push(i,r,a),this},t._configure(),Oc}var kc,Ch;function _h(){if(Ch)return kc;Ch=1,kc=a;var e=Xi(),n,t=e.LongBits,i=e.utf8;function o(f,d){return RangeError("index out of range: "+f.pos+" + "+(d||1)+" > "+f.len)}function a(f){this.buf=f,this.pos=0,this.len=f.length}var r=typeof Uint8Array<"u"?function(d){if(d instanceof Uint8Array||Array.isArray(d))return new a(d);throw Error("illegal buffer")}:function(d){if(Array.isArray(d))return new a(d);throw Error("illegal buffer")},s=function(){return e.Buffer?function(p){return(a.create=function(b){return e.Buffer.isBuffer(b)?new n(b):r(b)})(p)}:r};a.create=s(),a.prototype._slice=e.Array.prototype.subarray||e.Array.prototype.slice,a.prototype.uint32=function(){var d=4294967295;return function(){if(d=(this.buf[this.pos]&127)>>>0,this.buf[this.pos++]<128||(d=(d|(this.buf[this.pos]&127)<<7)>>>0,this.buf[this.pos++]<128)||(d=(d|(this.buf[this.pos]&127)<<14)>>>0,this.buf[this.pos++]<128)||(d=(d|(this.buf[this.pos]&127)<<21)>>>0,this.buf[this.pos++]<128)||(d=(d|(this.buf[this.pos]&15)<<28)>>>0,this.buf[this.pos++]<128))return d;if((this.pos+=5)>this.len)throw this.pos=this.len,o(this,10);return d}}(),a.prototype.int32=function(){return this.uint32()|0},a.prototype.sint32=function(){var d=this.uint32();return d>>>1^-(d&1)|0};function l(){var f=new t(0,0),d=0;if(this.len-this.pos>4){for(;d<4;++d)if(f.lo=(f.lo|(this.buf[this.pos]&127)<<d*7)>>>0,this.buf[this.pos++]<128)return f;if(f.lo=(f.lo|(this.buf[this.pos]&127)<<28)>>>0,f.hi=(f.hi|(this.buf[this.pos]&127)>>4)>>>0,this.buf[this.pos++]<128)return f;d=0}else{for(;d<3;++d){if(this.pos>=this.len)throw o(this);if(f.lo=(f.lo|(this.buf[this.pos]&127)<<d*7)>>>0,this.buf[this.pos++]<128)return f}return f.lo=(f.lo|(this.buf[this.pos++]&127)<<d*7)>>>0,f}if(this.len-this.pos>4){for(;d<5;++d)if(f.hi=(f.hi|(this.buf[this.pos]&127)<<d*7+3)>>>0,this.buf[this.pos++]<128)return f}else for(;d<5;++d){if(this.pos>=this.len)throw o(this);if(f.hi=(f.hi|(this.buf[this.pos]&127)<<d*7+3)>>>0,this.buf[this.pos++]<128)return f}throw Error("invalid varint encoding")}a.prototype.bool=function(){return this.uint32()!==0};function c(f,d){return(f[d-4]|f[d-3]<<8|f[d-2]<<16|f[d-1]<<24)>>>0}a.prototype.fixed32=function(){if(this.pos+4>this.len)throw o(this,4);return c(this.buf,this.pos+=4)},a.prototype.sfixed32=function(){if(this.pos+4>this.len)throw o(this,4);return c(this.buf,this.pos+=4)|0};function u(){if(this.pos+8>this.len)throw o(this,8);return new t(c(this.buf,this.pos+=4),c(this.buf,this.pos+=4))}return a.prototype.float=function(){if(this.pos+4>this.len)throw o(this,4);var d=e.float.readFloatLE(this.buf,this.pos);return this.pos+=4,d},a.prototype.double=function(){if(this.pos+8>this.len)throw o(this,4);var d=e.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,d},a.prototype.bytes=function(){var d=this.uint32(),p=this.pos,h=this.pos+d;if(h>this.len)throw o(this,d);if(this.pos+=d,Array.isArray(this.buf))return this.buf.slice(p,h);if(p===h){var b=e.Buffer;return b?b.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,p,h)},a.prototype.string=function(){var d=this.bytes();return i.read(d,0,d.length)},a.prototype.skip=function(d){if(typeof d=="number"){if(this.pos+d>this.len)throw o(this,d);this.pos+=d}else do if(this.pos>=this.len)throw o(this);while(this.buf[this.pos++]&128);return this},a.prototype.skipType=function(f){switch(f){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;(f=this.uint32()&7)!==4;)this.skipType(f);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+f+" at offset "+this.pos)}return this},a._configure=function(f){n=f,a.create=s(),n._configure();var d=e.Long?"toLong":"toNumber";e.merge(a.prototype,{int64:function(){return l.call(this)[d](!1)},uint64:function(){return l.call(this)[d](!0)},sint64:function(){return l.call(this).zzDecode()[d](!1)},fixed64:function(){return u.call(this)[d](!0)},sfixed64:function(){return u.call(this)[d](!1)}})},kc}var xc,Eh;function Jy(){if(Eh)return xc;Eh=1,xc=t;var e=_h();(t.prototype=Object.create(e.prototype)).constructor=t;var n=Xi();function t(i){e.call(this,i)}return t._configure=function(){n.Buffer&&(t.prototype._slice=n.Buffer.prototype.slice)},t.prototype.string=function(){var o=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+o,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+o,this.len))},t._configure(),xc}var Rc={},Nc,Sh;function Xy(){if(Sh)return Nc;Sh=1,Nc=n;var e=Xi();(n.prototype=Object.create(e.EventEmitter.prototype)).constructor=n;function n(t,i,o){if(typeof t!="function")throw TypeError("rpcImpl must be a function");e.EventEmitter.call(this),this.rpcImpl=t,this.requestDelimited=!!i,this.responseDelimited=!!o}return n.prototype.rpcCall=function t(i,o,a,r,s){if(!r)throw TypeError("request must be specified");var l=this;if(!s)return e.asPromise(t,l,i,o,a,r);if(!l.rpcImpl){setTimeout(function(){s(Error("already ended"))},0);return}try{return l.rpcImpl(i,o[l.requestDelimited?"encodeDelimited":"encode"](r).finish(),function(u,f){if(u)return l.emit("error",u,i),s(u);if(f===null){l.end(!0);return}if(!(f instanceof a))try{f=a[l.responseDelimited?"decodeDelimited":"decode"](f)}catch(d){return l.emit("error",d,i),s(d)}return l.emit("data",f,i),s(null,f)})}catch(c){l.emit("error",c,i),setTimeout(function(){s(c)},0);return}},n.prototype.end=function(i){return this.rpcImpl&&(i||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this},Nc}var Mh;function e3(){return Mh||(Mh=1,function(e){var n=e;n.Service=Xy()}(Rc)),Rc}var Lc,Ih;function t3(){return Ih||(Ih=1,Lc={}),Lc}var Th;function n3(){return Th||(Th=1,function(e){var n=e;n.build="minimal",n.Writer=Ah(),n.BufferWriter=Zy(),n.Reader=_h(),n.BufferReader=Jy(),n.util=Xi(),n.rpc=e3(),n.roots=t3(),n.configure=t;function t(){n.util._configure(),n.Writer._configure(n.BufferWriter),n.Reader._configure(n.BufferReader)}t()}(yc)),yc}var Pc,Oh;function i3(){return Oh||(Oh=1,Pc=n3()),Pc}var Ia=i3();const ce=Ia.Reader,Pe=Ia.Writer,Ro=Ia.util,T=Ia.roots.default||(Ia.roots.default={});T.ErrorCodes=(()=>{const e={},n=Object.create(e);return n[e[-1]="ConferenceWithPinDoesNotExist"]=-1,n[e[-2]="ConferenceWithPinAlreadyExists"]=-2,n[e[-3]="ConferencePinAndIdDoesNotMatch"]=-3,n[e[-4]="ConferenceAccessDenied"]=-4,n[e[-5]="ConferenceIsCancelled"]=-5,n[e[-6]="ConferencePinIsReadOnly"]=-6,n[e[-7]="ConferenceInvalidPin"]=-7,n[e[-8]="CannotGeneratePin"]=-8,n[e[-9]="FwdProfileDoesNotExist"]=-9,n[e[-10]="FwdProfileOverrideExpirationRequired"]=-10,n[e[0]="Success"]=0,n[e[1]="NoSuchRequest"]=1,n[e[2]="ExceptionOccured"]=2,n[e[3]="RequestIsNotSupported"]=3,n[e[4]="ServerIsBusy"]=4,n[e[5]="BridgeNotFound"]=5,n[e[6]="CannotCleanOwnExtension"]=6,n[e[7]="SetWakeupCallResult"]=7,n[e[8]="ExtensionNotFound"]=8,n[e[9]="NoPermission"]=9,n[e[12]="WebMeetingNoEmail"]=12,n[e[13]="WebMeetingNoAccess"]=13,n[e[16]="WebMeetingInvalidOrganizer"]=16,n[e[17]="WebMeetingInvalidParameters"]=17,n[e[18]="WebMeetingInvalidParticipant"]=18,n[e[19]="WebMeetingInvalidPin"]=19,n[e[20]="WebMeetingAccessDenied"]=20,n[e[21]="WebMeetingNotFound"]=21,n[e[22]="WebMeetingCannotDeleteQM"]=22,n[e[23]="WebMeetingPinIsReadonly"]=23,n[e[24]="WebMeetingNumberToCallIsReadonly"]=24,n[e[25]="WebMeetingInvalidWmUser"]=25,n[e[30]="ExtensionEmailRequired"]=30,n[e[31]="QueueNumberRequired"]=31,n[e[32]="ChatIsDisabled"]=32,n[e[33]="PersonalContactRequired"]=33,n[e[34]="RequiredFieldIsEmpty"]=34,n[e[35]="ContactNotFound"]=35,n[e[36]="ContactIsReadonly"]=36,n[e[37]="ActionIsNotAllowed"]=37,n[e[38]="FileNotFound"]=38,n[e[39]="OwnRecordingsDenied"]=39,n[e[40]="InvalidValue"]=40,n[e[41]="InvalidMedia"]=41,n[e[42]="InvalidOperation"]=42,n[e[43]="OperationFailed"]=43,n})();const No=T.ActionType=(()=>{const e={},n=Object.create(e);return n[e[0]="NoUpdates"]=0,n[e[1]="FullUpdate"]=1,n[e[2]="Inserted"]=2,n[e[3]="Updated"]=3,n[e[4]="Deleted"]=4,n})();T.DnType=(()=>{const e={},n=Object.create(e);return n[e[0]="None"]=0,n[e[1]="Extension"]=1,n[e[2]="Queue"]=2,n[e[4]="RingGroup"]=4,n[e[8]="IVR"]=8,n[e[16]="Fax"]=16,n[e[32]="Conference"]=32,n[e[64]="Parking"]=64,n[e[128]="ExternalLine"]=128,n[e[256]="SpecialMenu"]=256,n[e[512]="Service"]=512,n})(),T.ContactType=(()=>{const e={},n=Object.create(e);return n[e[0]="LocalUser"]=0,n[e[1]="CompanyPhonebook"]=1,n[e[2]="PersonalPhonebook"]=2,n[e[3]="BridgeExtension"]=3,n[e[4]="ExternalContact"]=4,n})();const Ei=T.ChatFileState=(()=>{const e={},n=Object.create(e);return n[e[0]="CF_Uploading"]=0,n[e[1]="CF_Available"]=1,n[e[2]="CF_Deleted"]=2,n})();T.ContactAddedByEnum=(()=>{const e={},n=Object.create(e);return n[e[0]="AB_Tcx"]=0,n[e[1]="AB_Crm"]=1,n[e[2]="AB_Office365"]=2,n})();const Dc=T.ChatMessageType=(()=>{const e={},n=Object.create(e);return n[e[0]="CMT_Normal"]=0,n[e[1]="CMT_Closed"]=1,n[e[2]="CMT_Dealt"]=2,n[e[3]="CMT_Reserved"]=3,n[e[4]="CMT_Taken"]=4,n[e[5]="CMT_Transferred"]=5,n[e[6]="CMT_Whisper"]=6,n[e[7]="CMT_Emergency"]=7,n[e[8]="CMT_License"]=8,n[e[9]="CMT_WebMeeting"]=9,n[e[10]="CMT_Blocked"]=10,n[e[11]="CMT_AutoReply"]=11,n[e[12]="CMT_ClosedByProvider"]=12,n[e[13]="CMT_PersonInDnd"]=13,n[e[14]="CMT_MessageTooLong"]=14,n[e[15]="CMT_GenericError"]=15,n[e[16]="CMT_AutoClosed"]=16,n[e[17]="CMT_ParticipantAdded"]=17,n[e[18]="CMT_ParticipantRemoved"]=18,n[e[19]="CMT_Muted"]=19,n})(),Lo=T.ChatRecipientType=(()=>{const e={},n=Object.create(e);return n[e[0]="CRT_Local"]=0,n[e[1]="CRT_3cxBridge"]=1,n[e[2]="CRT_Anonymous"]=2,n[e[3]="CRT_External"]=3,n[e[5]="CRT_System"]=5,n})();T.ChatRecipientStatus=(()=>{const e={},n=Object.create(e);return n[e[0]="CRS_Available"]=0,n[e[1]="CRS_Offline"]=1,n[e[2]="CRS_Busy"]=2,n})();const o3=T.ExternalChatCloseReason=(()=>{const e={},n=Object.create(e);return n[e[0]="ECCR_LogoutByAnonymous"]=0,n[e[1]="ECCR_LogoutByExtension"]=1,n[e[2]="ECCR_BlockedByExtension"]=2,n[e[3]="ECCR_IsHandled"]=3,n[e[4]="ECCR_NoAgentsAvailable"]=4,n[e[5]="ECCR_NotAvailable"]=5,n[e[6]="ECCR_AutoClose"]=6,n})();T.ChatDeliveryStatus=(()=>{const e={},n=Object.create(e);return n[e[0]="CDS_NotDelivered"]=0,n[e[1]="CDS_Delivered"]=1,n[e[2]="CDS_Failed"]=2,n})();const a3=T.Login=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(10).string(t.User),t.Password!=null&&Object.hasOwnProperty.call(t,"Password")&&i.uint32(18).string(t.Password),t.ClientVersion!=null&&Object.hasOwnProperty.call(t,"ClientVersion")&&i.uint32(26).string(t.ClientVersion),t.ClientInfo!=null&&Object.hasOwnProperty.call(t,"ClientInfo")&&i.uint32(34).string(t.ClientInfo),t.ProtocolVersion!=null&&Object.hasOwnProperty.call(t,"ProtocolVersion")&&i.uint32(42).string(t.ProtocolVersion),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.Login;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.User=t.string();break}case 2:{a.Password=t.string();break}case 3:{a.ClientVersion=t.string();break}case 4:{a.ClientInfo=t.string();break}case 5:{a.ProtocolVersion=t.string();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:100,LoginRequest:this})},e.prototype.typeId=100,e.prototype.typeName="LoginRequest",e})(),r3=T.LoginInfo=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.ExtensionId!=null&&Object.hasOwnProperty.call(t,"ExtensionId")&&i.uint32(8).int32(t.ExtensionId),t.IsAuthenticated!=null&&Object.hasOwnProperty.call(t,"IsAuthenticated")&&i.uint32(16).bool(t.IsAuthenticated),t.ValidationMessage!=null&&Object.hasOwnProperty.call(t,"ValidationMessage")&&i.uint32(26).string(t.ValidationMessage),t.Nonce!=null&&Object.hasOwnProperty.call(t,"Nonce")&&i.uint32(34).string(t.Nonce),t.SessionId!=null&&Object.hasOwnProperty.call(t,"SessionId")&&i.uint32(42).string(t.SessionId),t.AddpTimeout!=null&&Object.hasOwnProperty.call(t,"AddpTimeout")&&i.uint32(48).int32(t.AddpTimeout),t.ServerVersion!=null&&Object.hasOwnProperty.call(t,"ServerVersion")&&i.uint32(58).string(t.ServerVersion),t.UpdateAvailable!=null&&Object.hasOwnProperty.call(t,"UpdateAvailable")&&i.uint32(64).bool(t.UpdateAvailable),t.LicenseType!=null&&Object.hasOwnProperty.call(t,"LicenseType")&&i.uint32(72).int32(t.LicenseType),t.LicenseProduct!=null&&Object.hasOwnProperty.call(t,"LicenseProduct")&&i.uint32(82).string(t.LicenseProduct),t.PbxVersion!=null&&Object.hasOwnProperty.call(t,"PbxVersion")&&i.uint32(90).string(t.PbxVersion),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.LoginInfo;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.ExtensionId=t.int32();break}case 2:{a.IsAuthenticated=t.bool();break}case 3:{a.ValidationMessage=t.string();break}case 4:{a.Nonce=t.string();break}case 5:{a.SessionId=t.string();break}case 6:{a.AddpTimeout=t.int32();break}case 7:{a.ServerVersion=t.string();break}case 8:{a.UpdateAvailable=t.bool();break}case 9:{a.LicenseType=t.int32();break}case 10:{a.LicenseProduct=t.string();break}case 11:{a.PbxVersion=t.string();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:200,LoginResponse:this})},e.prototype.typeId=200,e.prototype.typeName="LoginResponse",e})(),s3=T.Logout=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.Logout;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:101,LogoutRequest:this})},e.prototype.typeId=101,e.prototype.typeName="LogoutRequest",e})(),l3=T.DateTime=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.Year!=null&&Object.hasOwnProperty.call(t,"Year")&&i.uint32(8).int32(t.Year),t.Month!=null&&Object.hasOwnProperty.call(t,"Month")&&i.uint32(16).int32(t.Month),t.Day!=null&&Object.hasOwnProperty.call(t,"Day")&&i.uint32(24).int32(t.Day),t.Hour!=null&&Object.hasOwnProperty.call(t,"Hour")&&i.uint32(32).int32(t.Hour),t.Minute!=null&&Object.hasOwnProperty.call(t,"Minute")&&i.uint32(40).int32(t.Minute),t.Second!=null&&Object.hasOwnProperty.call(t,"Second")&&i.uint32(48).int32(t.Second),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.DateTime;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Year=t.int32();break}case 2:{a.Month=t.int32();break}case 3:{a.Day=t.int32();break}case 4:{a.Hour=t.int32();break}case 5:{a.Minute=t.int32();break}case 6:{a.Second=t.int32();break}default:t.skipType(r&7);break}}return a},e})(),kh=T.RequestMyInfo=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestMyInfo;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:102,GetMyInfo:this})},e.prototype.typeId=102,e.prototype.typeName="GetMyInfo",e})();T.Contact=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).int32(t.Id),t.FirstName!=null&&Object.hasOwnProperty.call(t,"FirstName")&&i.uint32(18).string(t.FirstName),t.LastName!=null&&Object.hasOwnProperty.call(t,"LastName")&&i.uint32(26).string(t.LastName),t.Number!=null&&Object.hasOwnProperty.call(t,"Number")&&i.uint32(34).string(t.Number),t.ExtensionNumber!=null&&Object.hasOwnProperty.call(t,"ExtensionNumber")&&i.uint32(42).string(t.ExtensionNumber),t.ContactType!=null&&Object.hasOwnProperty.call(t,"ContactType")&&i.uint32(48).int32(t.ContactType),t.Company!=null&&Object.hasOwnProperty.call(t,"Company")&&i.uint32(58).string(t.Company),t.AddressNumberOrData0!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData0")&&i.uint32(66).string(t.AddressNumberOrData0),t.AddressNumberOrData1!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData1")&&i.uint32(74).string(t.AddressNumberOrData1),t.AddressNumberOrData2!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData2")&&i.uint32(82).string(t.AddressNumberOrData2),t.AddressNumberOrData3!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData3")&&i.uint32(90).string(t.AddressNumberOrData3),t.AddressNumberOrData4!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData4")&&i.uint32(98).string(t.AddressNumberOrData4),t.AddressNumberOrData5!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData5")&&i.uint32(106).string(t.AddressNumberOrData5),t.AddressNumberOrData6!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData6")&&i.uint32(114).string(t.AddressNumberOrData6),t.AddressNumberOrData7!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData7")&&i.uint32(122).string(t.AddressNumberOrData7),t.AddressNumberOrData8!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData8")&&i.uint32(130).string(t.AddressNumberOrData8),t.AddressNumberOrData9!=null&&Object.hasOwnProperty.call(t,"AddressNumberOrData9")&&i.uint32(138).string(t.AddressNumberOrData9),i.uint32(144).int32(t.Action),t.ContactImage!=null&&Object.hasOwnProperty.call(t,"ContactImage")&&i.uint32(154).string(t.ContactImage),t.IsEditable!=null&&Object.hasOwnProperty.call(t,"IsEditable")&&i.uint32(160).bool(t.IsEditable),t.CrmContactData!=null&&Object.hasOwnProperty.call(t,"CrmContactData")&&i.uint32(178).string(t.CrmContactData),t.AddedBy!=null&&Object.hasOwnProperty.call(t,"AddedBy")&&i.uint32(184).int32(t.AddedBy),t.DnType!=null&&Object.hasOwnProperty.call(t,"DnType")&&i.uint32(192).int32(t.DnType),t.OpenLink!=null&&Object.hasOwnProperty.call(t,"OpenLink")&&i.uint32(202).string(t.OpenLink),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.Contact;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Id=t.int32();break}case 2:{a.FirstName=t.string();break}case 3:{a.LastName=t.string();break}case 4:{a.Number=t.string();break}case 5:{a.ExtensionNumber=t.string();break}case 6:{a.ContactType=t.int32();break}case 7:{a.Company=t.string();break}case 8:{a.AddressNumberOrData0=t.string();break}case 9:{a.AddressNumberOrData1=t.string();break}case 10:{a.AddressNumberOrData2=t.string();break}case 11:{a.AddressNumberOrData3=t.string();break}case 12:{a.AddressNumberOrData4=t.string();break}case 13:{a.AddressNumberOrData5=t.string();break}case 14:{a.AddressNumberOrData6=t.string();break}case 15:{a.AddressNumberOrData7=t.string();break}case 16:{a.AddressNumberOrData8=t.string();break}case 17:{a.AddressNumberOrData9=t.string();break}case 18:{a.Action=t.int32();break}case 19:{a.ContactImage=t.string();break}case 20:{a.IsEditable=t.bool();break}case 22:{a.CrmContactData=t.string();break}case 23:{a.AddedBy=t.int32();break}case 24:{a.DnType=t.int32();break}case 25:{a.OpenLink=t.string();break}default:t.skipType(r&7);break}}return a},e})();const ss=T.ResponseAcknowledge=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).bool(t.Success),t.ErrorCode!=null&&Object.hasOwnProperty.call(t,"ErrorCode")&&i.uint32(16).int32(t.ErrorCode),t.Message!=null&&Object.hasOwnProperty.call(t,"Message")&&i.uint32(26).string(t.Message),t.ExceptionType!=null&&Object.hasOwnProperty.call(t,"ExceptionType")&&i.uint32(34).string(t.ExceptionType),t.ExceptionMessage!=null&&Object.hasOwnProperty.call(t,"ExceptionMessage")&&i.uint32(42).string(t.ExceptionMessage),t.ErrorType!=null&&Object.hasOwnProperty.call(t,"ErrorType")&&i.uint32(48).int32(t.ErrorType),t.Parameter!=null&&Object.hasOwnProperty.call(t,"Parameter")&&i.uint32(58).string(t.Parameter),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ResponseAcknowledge;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Success=t.bool();break}case 2:{a.ErrorCode=t.int32();break}case 3:{a.Message=t.string();break}case 4:{a.ExceptionType=t.string();break}case 5:{a.ExceptionMessage=t.string();break}case 6:{a.ErrorType=t.int32();break}case 7:{a.Parameter=t.string();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:207,Acknowledge:this})},e.prototype.typeId=207,e.prototype.typeName="Acknowledge",e})(),xh=T.ChatRecipient=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.ExtNumber!=null&&Object.hasOwnProperty.call(t,"ExtNumber")&&i.uint32(10).string(t.ExtNumber),t.Name!=null&&Object.hasOwnProperty.call(t,"Name")&&i.uint32(18).string(t.Name),t.BridgeNumber!=null&&Object.hasOwnProperty.call(t,"BridgeNumber")&&i.uint32(26).string(t.BridgeNumber),t.Email!=null&&Object.hasOwnProperty.call(t,"Email")&&i.uint32(34).string(t.Email),t.Contact!=null&&Object.hasOwnProperty.call(t,"Contact")&&T.Contact.encode(t.Contact,i.uint32(42).fork()).ldelim(),t.IdRecipient!=null&&Object.hasOwnProperty.call(t,"IdRecipient")&&i.uint32(48).int32(t.IdRecipient),t.RecipientType!=null&&Object.hasOwnProperty.call(t,"RecipientType")&&i.uint32(56).int32(t.RecipientType),t.PhoneNumber!=null&&Object.hasOwnProperty.call(t,"PhoneNumber")&&i.uint32(66).string(t.PhoneNumber),t.IpAddress!=null&&Object.hasOwnProperty.call(t,"IpAddress")&&i.uint32(74).string(t.IpAddress),t.IsModerator!=null&&Object.hasOwnProperty.call(t,"IsModerator")&&i.uint32(80).bool(t.IsModerator),t.MemberGid!=null&&Object.hasOwnProperty.call(t,"MemberGid")&&i.uint32(90).string(t.MemberGid),t.UserData!=null&&Object.hasOwnProperty.call(t,"UserData")&&i.uint32(98).string(t.UserData),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ChatRecipient;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.ExtNumber=t.string();break}case 2:{a.Name=t.string();break}case 3:{a.BridgeNumber=t.string();break}case 4:{a.Email=t.string();break}case 5:{a.Contact=T.Contact.decode(t,t.uint32());break}case 6:{a.IdRecipient=t.int32();break}case 7:{a.RecipientType=t.int32();break}case 8:{a.PhoneNumber=t.string();break}case 9:{a.IpAddress=t.string();break}case 10:{a.IsModerator=t.bool();break}case 11:{a.MemberGid=t.string();break}case 12:{a.UserData=t.string();break}default:t.skipType(r&7);break}}return a},e})(),Rh=T.ChatRecipientEx=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.Recipient!=null&&Object.hasOwnProperty.call(t,"Recipient")&&T.ChatRecipient.encode(t.Recipient,i.uint32(10).fork()).ldelim(),t.IsAnonymousActive!=null&&Object.hasOwnProperty.call(t,"IsAnonymousActive")&&i.uint32(16).bool(t.IsAnonymousActive),t.IsRemoved!=null&&Object.hasOwnProperty.call(t,"IsRemoved")&&i.uint32(24).bool(t.IsRemoved),t.IsWhisperer!=null&&Object.hasOwnProperty.call(t,"IsWhisperer")&&i.uint32(32).bool(t.IsWhisperer),t.CanAddUsers!=null&&Object.hasOwnProperty.call(t,"CanAddUsers")&&i.uint32(40).bool(t.CanAddUsers),t.CanBeDeleted!=null&&Object.hasOwnProperty.call(t,"CanBeDeleted")&&i.uint32(48).bool(t.CanBeDeleted),t.Staus!=null&&Object.hasOwnProperty.call(t,"Staus")&&i.uint32(56).int32(t.Staus),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ChatRecipientEx;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Recipient=T.ChatRecipient.decode(t,t.uint32());break}case 2:{a.IsAnonymousActive=t.bool();break}case 3:{a.IsRemoved=t.bool();break}case 4:{a.IsWhisperer=t.bool();break}case 5:{a.CanAddUsers=t.bool();break}case 6:{a.CanBeDeleted=t.bool();break}case 7:{a.Staus=t.int32();break}default:t.skipType(r&7);break}}return a},e})(),c3=T.ChatRecipientRef=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).int32(t.IdRecipient),t.Delivery!=null&&Object.hasOwnProperty.call(t,"Delivery")&&i.uint32(16).int32(t.Delivery),t.IsRead!=null&&Object.hasOwnProperty.call(t,"IsRead")&&i.uint32(24).bool(t.IsRead),t.IsSender!=null&&Object.hasOwnProperty.call(t,"IsSender")&&i.uint32(32).bool(t.IsSender),t.MemberGid!=null&&Object.hasOwnProperty.call(t,"MemberGid")&&i.uint32(42).string(t.MemberGid),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ChatRecipientRef;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.IdRecipient=t.int32();break}case 2:{a.Delivery=t.int32();break}case 3:{a.IsRead=t.bool();break}case 4:{a.IsSender=t.bool();break}case 5:{a.MemberGid=t.string();break}default:t.skipType(r&7);break}}return a},e})(),f3=T.ChatMessage=(()=>{function e(n){if(this.Recipients=[],n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.prototype.Recipients=Ro.emptyArray,e.encode=function(t,i){if(i||(i=Pe.create()),i.uint32(8).int32(t.Id),t.SenderNumber!=null&&Object.hasOwnProperty.call(t,"SenderNumber")&&i.uint32(18).string(t.SenderNumber),t.SenderName!=null&&Object.hasOwnProperty.call(t,"SenderName")&&i.uint32(26).string(t.SenderName),t.SenderBridgeNumber!=null&&Object.hasOwnProperty.call(t,"SenderBridgeNumber")&&i.uint32(34).string(t.SenderBridgeNumber),t.Recipient!=null&&Object.hasOwnProperty.call(t,"Recipient")&&T.ChatRecipient.encode(t.Recipient,i.uint32(42).fork()).ldelim(),t.Message!=null&&Object.hasOwnProperty.call(t,"Message")&&i.uint32(50).string(t.Message),t.Time!=null&&Object.hasOwnProperty.call(t,"Time")&&T.DateTime.encode(t.Time,i.uint32(58).fork()).ldelim(),t.IsNew!=null&&Object.hasOwnProperty.call(t,"IsNew")&&i.uint32(64).bool(t.IsNew),t.Party!=null&&Object.hasOwnProperty.call(t,"Party")&&i.uint32(74).string(t.Party),t.PartyNew!=null&&Object.hasOwnProperty.call(t,"PartyNew")&&i.uint32(82).string(t.PartyNew),t.File!=null&&Object.hasOwnProperty.call(t,"File")&&T.ChatFile.encode(t.File,i.uint32(90).fork()).ldelim(),t.IsAnonymousActive!=null&&Object.hasOwnProperty.call(t,"IsAnonymousActive")&&i.uint32(96).bool(t.IsAnonymousActive),t.IdConversation!=null&&Object.hasOwnProperty.call(t,"IdConversation")&&i.uint32(104).int32(t.IdConversation),t.Recipients!=null&&t.Recipients.length)for(let o=0;o<t.Recipients.length;++o)T.ChatRecipientRef.encode(t.Recipients[o],i.uint32(114).fork()).ldelim();return t.MessageType!=null&&Object.hasOwnProperty.call(t,"MessageType")&&i.uint32(120).int32(t.MessageType),t.MsgGid!=null&&Object.hasOwnProperty.call(t,"MsgGid")&&i.uint32(130).string(t.MsgGid),t.CnvGid!=null&&Object.hasOwnProperty.call(t,"CnvGid")&&i.uint32(138).string(t.CnvGid),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ChatMessage;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Id=t.int32();break}case 2:{a.SenderNumber=t.string();break}case 3:{a.SenderName=t.string();break}case 4:{a.SenderBridgeNumber=t.string();break}case 5:{a.Recipient=T.ChatRecipient.decode(t,t.uint32());break}case 6:{a.Message=t.string();break}case 7:{a.Time=T.DateTime.decode(t,t.uint32());break}case 8:{a.IsNew=t.bool();break}case 9:{a.Party=t.string();break}case 10:{a.PartyNew=t.string();break}case 11:{a.File=T.ChatFile.decode(t,t.uint32());break}case 12:{a.IsAnonymousActive=t.bool();break}case 13:{a.IdConversation=t.int32();break}case 14:{a.Recipients&&a.Recipients.length||(a.Recipients=[]),a.Recipients.push(T.ChatRecipientRef.decode(t,t.uint32()));break}case 15:{a.MessageType=t.int32();break}case 16:{a.MsgGid=t.string();break}case 17:{a.CnvGid=t.string();break}default:t.skipType(r&7);break}}return a},e})(),ls=T.ChatFile=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.FileName!=null&&Object.hasOwnProperty.call(t,"FileName")&&i.uint32(10).string(t.FileName),t.FileLink!=null&&Object.hasOwnProperty.call(t,"FileLink")&&i.uint32(18).string(t.FileLink),t.FileState!=null&&Object.hasOwnProperty.call(t,"FileState")&&i.uint32(24).int32(t.FileState),t.Progress!=null&&Object.hasOwnProperty.call(t,"Progress")&&i.uint32(37).float(t.Progress),t.HasPreview!=null&&Object.hasOwnProperty.call(t,"HasPreview")&&i.uint32(40).bool(t.HasPreview),t.FileSize!=null&&Object.hasOwnProperty.call(t,"FileSize")&&i.uint32(48).uint64(t.FileSize),t.Width!=null&&Object.hasOwnProperty.call(t,"Width")&&i.uint32(56).int32(t.Width),t.Height!=null&&Object.hasOwnProperty.call(t,"Height")&&i.uint32(64).int32(t.Height),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ChatFile;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.FileName=t.string();break}case 2:{a.FileLink=t.string();break}case 3:{a.FileState=t.int32();break}case 4:{a.Progress=t.float();break}case 5:{a.HasPreview=t.bool();break}case 6:{a.FileSize=t.uint64();break}case 7:{a.Width=t.int32();break}case 8:{a.Height=t.int32();break}default:t.skipType(r&7);break}}return a},e})(),Nh=T.NotificationChatFileProgress=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).int32(t.Id),t.Party!=null&&Object.hasOwnProperty.call(t,"Party")&&i.uint32(18).string(t.Party),t.File!=null&&Object.hasOwnProperty.call(t,"File")&&T.ChatFile.encode(t.File,i.uint32(26).fork()).ldelim(),t.IdConversation!=null&&Object.hasOwnProperty.call(t,"IdConversation")&&i.uint32(32).int32(t.IdConversation),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.NotificationChatFileProgress;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Id=t.int32();break}case 2:{a.Party=t.string();break}case 3:{a.File=T.ChatFile.decode(t,t.uint32());break}case 4:{a.IdConversation=t.int32();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:232,ChatFileProgress:this})},e.prototype.typeId=232,e.prototype.typeName="ChatFileProgress",e})(),u3=T.RequestSendChatMessage=(()=>{function e(n){if(this.Recipients=[],n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.prototype.Recipients=Ro.emptyArray,e.encode=function(t,i){if(i||(i=Pe.create()),t.Message!=null&&Object.hasOwnProperty.call(t,"Message")&&i.uint32(10).string(t.Message),t.Recipients!=null&&t.Recipients.length)for(let o=0;o<t.Recipients.length;++o)T.ChatRecipient.encode(t.Recipients[o],i.uint32(18).fork()).ldelim();return t.SipFrom!=null&&Object.hasOwnProperty.call(t,"SipFrom")&&i.uint32(26).string(t.SipFrom),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestSendChatMessage;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Message=t.string();break}case 2:{a.Recipients&&a.Recipients.length||(a.Recipients=[]),a.Recipients.push(T.ChatRecipient.decode(t,t.uint32()));break}case 3:{a.SipFrom=t.string();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:110,SendChatMessage:this})},e.prototype.typeId=110,e.prototype.typeName="SendChatMessage",e})(),Lh=T.RequestSendChatMessageToConversation=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).int32(t.IdConversation),t.Message!=null&&Object.hasOwnProperty.call(t,"Message")&&i.uint32(18).string(t.Message),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestSendChatMessageToConversation;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.IdConversation=t.int32();break}case 2:{a.Message=t.string();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:190,SendMessageToConversation:this})},e.prototype.typeId=190,e.prototype.typeName="SendMessageToConversation",e})(),Ph=T.RequestSendChatFile=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(10).string(t.Name),t.Party!=null&&Object.hasOwnProperty.call(t,"Party")&&i.uint32(18).string(t.Party),t.IdConversation!=null&&Object.hasOwnProperty.call(t,"IdConversation")&&i.uint32(24).int32(t.IdConversation),t.IdSender!=null&&Object.hasOwnProperty.call(t,"IdSender")&&i.uint32(32).int32(t.IdSender),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestSendChatFile;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Name=t.string();break}case 2:{a.Party=t.string();break}case 3:{a.IdConversation=t.int32();break}case 4:{a.IdSender=t.int32();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:179,SendChatFile:this})},e.prototype.typeId=179,e.prototype.typeName="SendChatFile",e})(),Dh=T.RequestGetMyLastMessages=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.Party!=null&&Object.hasOwnProperty.call(t,"Party")&&i.uint32(10).string(t.Party),t.Count!=null&&Object.hasOwnProperty.call(t,"Count")&&i.uint32(16).int32(t.Count),t.StartFromId!=null&&Object.hasOwnProperty.call(t,"StartFromId")&&i.uint32(24).int32(t.StartFromId),t.IdConversation!=null&&Object.hasOwnProperty.call(t,"IdConversation")&&i.uint32(32).int32(t.IdConversation),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestGetMyLastMessages;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Party=t.string();break}case 2:{a.Count=t.int32();break}case 3:{a.StartFromId=t.int32();break}case 4:{a.IdConversation=t.int32();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:162,GetMyLastMessages:this})},e.prototype.typeId=162,e.prototype.typeName="GetMyLastMessages",e})(),Po=T.ResponseMyMessages=(()=>{function e(n){if(this.Messages=[],n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.prototype.Messages=Ro.emptyArray,e.encode=function(t,i){if(i||(i=Pe.create()),t.Messages!=null&&t.Messages.length)for(let o=0;o<t.Messages.length;++o)T.ChatMessage.encode(t.Messages[o],i.uint32(10).fork()).ldelim();return i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ResponseMyMessages;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Messages&&a.Messages.length||(a.Messages=[]),a.Messages.push(T.ChatMessage.decode(t,t.uint32()));break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:209,MyChatMessages:this})},e.prototype.typeId=209,e.prototype.typeName="MyChatMessages",e})(),Fh=T.RequestSetChatReceived=(()=>{function e(n){if(this.Items=[],n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.prototype.Items=Ro.emptyArray,e.encode=function(t,i){if(i||(i=Pe.create()),t.Items!=null&&t.Items.length)for(let o=0;o<t.Items.length;++o)i.uint32(8).int32(t.Items[o]);return i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestSetChatReceived;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{if(a.Items&&a.Items.length||(a.Items=[]),(r&7)===2){let s=t.uint32()+t.pos;for(;t.pos<s;)a.Items.push(t.int32())}else a.Items.push(t.int32());break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:112,MessagesReceived:this})},e.prototype.typeId=112,e.prototype.typeName="MessagesReceived",e})(),Fc=T.ChatPartyInfo=(()=>{function e(n){if(this.Recipients=[],n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.prototype.Recipients=Ro.emptyArray,e.encode=function(t,i){if(i||(i=Pe.create()),t.Party!=null&&Object.hasOwnProperty.call(t,"Party")&&i.uint32(10).string(t.Party),t.Recipients!=null&&t.Recipients.length)for(let o=0;o<t.Recipients.length;++o)T.ChatRecipientEx.encode(t.Recipients[o],i.uint32(18).fork()).ldelim();return t.IsExternal!=null&&Object.hasOwnProperty.call(t,"IsExternal")&&i.uint32(24).bool(t.IsExternal),t.IdConversation!=null&&Object.hasOwnProperty.call(t,"IdConversation")&&i.uint32(32).int32(t.IdConversation),t.IsArchived!=null&&Object.hasOwnProperty.call(t,"IsArchived")&&i.uint32(40).bool(t.IsArchived),t.PrivateName!=null&&Object.hasOwnProperty.call(t,"PrivateName")&&i.uint32(50).string(t.PrivateName),t.QueueNo!=null&&Object.hasOwnProperty.call(t,"QueueNo")&&i.uint32(58).string(t.QueueNo),t.QueueName!=null&&Object.hasOwnProperty.call(t,"QueueName")&&i.uint32(66).string(t.QueueName),t.PublicName!=null&&Object.hasOwnProperty.call(t,"PublicName")&&i.uint32(74).string(t.PublicName),t.TakenBy!=null&&Object.hasOwnProperty.call(t,"TakenBy")&&T.ChatRecipient.encode(t.TakenBy,i.uint32(82).fork()).ldelim(),t.NumberOfMessages!=null&&Object.hasOwnProperty.call(t,"NumberOfMessages")&&i.uint32(88).int32(t.NumberOfMessages),t.CloseReason!=null&&Object.hasOwnProperty.call(t,"CloseReason")&&i.uint32(96).int32(t.CloseReason),t.CnvGid!=null&&Object.hasOwnProperty.call(t,"CnvGid")&&i.uint32(106).string(t.CnvGid),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ChatPartyInfo;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Party=t.string();break}case 2:{a.Recipients&&a.Recipients.length||(a.Recipients=[]),a.Recipients.push(T.ChatRecipientEx.decode(t,t.uint32()));break}case 3:{a.IsExternal=t.bool();break}case 4:{a.IdConversation=t.int32();break}case 5:{a.IsArchived=t.bool();break}case 6:{a.PrivateName=t.string();break}case 7:{a.QueueNo=t.string();break}case 8:{a.QueueName=t.string();break}case 9:{a.PublicName=t.string();break}case 10:{a.TakenBy=T.ChatRecipient.decode(t,t.uint32());break}case 11:{a.NumberOfMessages=t.int32();break}case 12:{a.CloseReason=t.int32();break}case 13:{a.CnvGid=t.string();break}default:t.skipType(r&7);break}}return a},e})(),Bh=T.ResponseConversationInfo=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.Conversation!=null&&Object.hasOwnProperty.call(t,"Conversation")&&T.ChatPartyInfo.encode(t.Conversation,i.uint32(10).fork()).ldelim(),t.IsNew!=null&&Object.hasOwnProperty.call(t,"IsNew")&&i.uint32(16).bool(t.IsNew),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ResponseConversationInfo;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Conversation=T.ChatPartyInfo.decode(t,t.uint32());break}case 2:{a.IsNew=t.bool();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:236,ConversationInfo:this})},e.prototype.typeId=236,e.prototype.typeName="ConversationInfo",e})(),qh=T.NotificationChatTransferred=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),T.ChatPartyInfo.encode(t.PartyInfo,i.uint32(10).fork()).ldelim(),t.TransferredBy!=null&&Object.hasOwnProperty.call(t,"TransferredBy")&&T.ChatRecipient.encode(t.TransferredBy,i.uint32(18).fork()).ldelim(),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.NotificationChatTransferred;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.PartyInfo=T.ChatPartyInfo.decode(t,t.uint32());break}case 2:{a.TransferredBy=T.ChatRecipient.decode(t,t.uint32());break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:237,ChatTransferred:this})},e.prototype.typeId=237,e.prototype.typeName="ChatTransferred",e})(),d3=T.NotificationConversationRemoved=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).int32(t.IdConversation),t.TakenBy!=null&&Object.hasOwnProperty.call(t,"TakenBy")&&T.ChatRecipient.encode(t.TakenBy,i.uint32(18).fork()).ldelim(),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.NotificationConversationRemoved;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.IdConversation=t.int32();break}case 2:{a.TakenBy=T.ChatRecipient.decode(t,t.uint32());break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:235,ConversationRemoved:this})},e.prototype.typeId=235,e.prototype.typeName="ConversationRemoved",e})(),Bc=T.RequestCloseConversation=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.IdConversation!=null&&Object.hasOwnProperty.call(t,"IdConversation")&&i.uint32(8).int32(t.IdConversation),t.IsHandled!=null&&Object.hasOwnProperty.call(t,"IsHandled")&&i.uint32(16).bool(t.IsHandled),t.CloseReason!=null&&Object.hasOwnProperty.call(t,"CloseReason")&&i.uint32(24).int32(t.CloseReason),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestCloseConversation;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.IdConversation=t.int32();break}case 2:{a.IsHandled=t.bool();break}case 3:{a.CloseReason=t.int32();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:198,CloseConversation:this})},e.prototype.typeId=198,e.prototype.typeName="CloseConversation",e})(),Si=T.MyWebRTCEndpoint=(()=>{function e(n){if(this.Items=[],n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.prototype.Items=Ro.emptyArray,e.encode=function(t,i){if(i||(i=Pe.create()),i.uint32(8).int32(t.Action),t.Items!=null&&t.Items.length)for(let o=0;o<t.Items.length;++o)T.WebRTCCall.encode(t.Items[o],i.uint32(18).fork()).ldelim();return t.isWebRTCEnpointRegistered!=null&&Object.hasOwnProperty.call(t,"isWebRTCEnpointRegistered")&&i.uint32(24).bool(t.isWebRTCEnpointRegistered),t.DeviceContact!=null&&Object.hasOwnProperty.call(t,"DeviceContact")&&i.uint32(34).string(t.DeviceContact),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.MyWebRTCEndpoint;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Action=t.int32();break}case 2:{a.Items&&a.Items.length||(a.Items=[]),a.Items.push(T.WebRTCCall.decode(t,t.uint32()));break}case 3:{a.isWebRTCEnpointRegistered=t.bool();break}case 4:{a.DeviceContact=t.string();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:227,webRTCEndpoint:this})},e.prototype.typeId=227,e.prototype.typeName="webRTCEndpoint",e})(),st=T.WebRTCEndpointSDPState=(()=>{const e={},n=Object.create(e);return n[e[0]="WRTCTerminate"]=0,n[e[1]="WRTCOffer"]=1,n[e[2]="WRTCAnswer"]=2,n[e[3]="WRTCConfirm"]=3,n[e[4]="WRTCRequestForOffer"]=4,n[e[5]="WRTCReject"]=5,n[e[6]="WRTCProcessingOffer"]=6,n[e[7]="WRTCPreparingOffer"]=7,n[e[8]="WRTCAnswerProvided"]=8,n[e[9]="WRTCConfirmed"]=9,n[e[10]="WRTCInitial"]=10,n})(),Do=T.WebRTCHoldState=(()=>{const e={},n=Object.create(e);return n[e[0]="WebRTCHoldState_NOHOLD"]=0,n[e[1]="WebRTCHoldState_HELD"]=1,n[e[2]="WebRTCHoldState_HOLD"]=2,n[e[3]="WebRTCHoldState_BOTH"]=3,n})(),qc=T.WebRTCCall=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).int32(t.Action),i.uint32(16).int32(t.Id),i.uint32(24).int32(t.sdpType),t.otherPartyDisplayname!=null&&Object.hasOwnProperty.call(t,"otherPartyDisplayname")&&i.uint32(34).string(t.otherPartyDisplayname),t.otherPartyNumber!=null&&Object.hasOwnProperty.call(t,"otherPartyNumber")&&i.uint32(42).string(t.otherPartyNumber),t.transactionId!=null&&Object.hasOwnProperty.call(t,"transactionId")&&i.uint32(48).int32(t.transactionId),t.sdp!=null&&Object.hasOwnProperty.call(t,"sdp")&&i.uint32(58).string(t.sdp),t.SIPDialogID!=null&&Object.hasOwnProperty.call(t,"SIPDialogID")&&i.uint32(66).string(t.SIPDialogID),t.holdState!=null&&Object.hasOwnProperty.call(t,"holdState")&&i.uint32(72).int32(t.holdState),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.WebRTCCall;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Action=t.int32();break}case 2:{a.Id=t.int32();break}case 3:{a.sdpType=t.int32();break}case 4:{a.otherPartyDisplayname=t.string();break}case 5:{a.otherPartyNumber=t.string();break}case 6:{a.transactionId=t.int32();break}case 7:{a.sdp=t.string();break}case 8:{a.SIPDialogID=t.string();break}case 9:{a.holdState=t.int32();break}default:t.skipType(r&7);break}}return a},e})(),Uc=T.RequestWebRTCChangeSDPState=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).int32(t.Id),i.uint32(16).int32(t.sdpType),t.transactionId!=null&&Object.hasOwnProperty.call(t,"transactionId")&&i.uint32(24).int32(t.transactionId),t.sdp!=null&&Object.hasOwnProperty.call(t,"sdp")&&i.uint32(34).string(t.sdp),t.destinationNumber!=null&&Object.hasOwnProperty.call(t,"destinationNumber")&&i.uint32(42).string(t.destinationNumber),t.CallerDisplayName!=null&&Object.hasOwnProperty.call(t,"CallerDisplayName")&&i.uint32(50).string(t.CallerDisplayName),t.CallerID!=null&&Object.hasOwnProperty.call(t,"CallerID")&&i.uint32(58).string(t.CallerID),t.replaceConnectionId!=null&&Object.hasOwnProperty.call(t,"replaceConnectionId")&&i.uint32(64).int32(t.replaceConnectionId),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestWebRTCChangeSDPState;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Id=t.int32();break}case 2:{a.sdpType=t.int32();break}case 3:{a.transactionId=t.int32();break}case 4:{a.sdp=t.string();break}case 5:{a.destinationNumber=t.string();break}case 6:{a.CallerDisplayName=t.string();break}case 7:{a.CallerID=t.string();break}case 8:{a.replaceConnectionId=t.int32();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:164,ChangeSDPState:this})},e.prototype.typeId=164,e.prototype.typeName="ChangeSDPState",e})(),h3=T.ResponseWebRTCChangeSDPState=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).bool(t.Success),t.Message!=null&&Object.hasOwnProperty.call(t,"Message")&&i.uint32(18).string(t.Message),t.CallId!=null&&Object.hasOwnProperty.call(t,"CallId")&&i.uint32(24).int32(t.CallId),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ResponseWebRTCChangeSDPState;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Success=t.bool();break}case 2:{a.Message=t.string();break}case 3:{a.CallId=t.int32();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:228,ChangeSDPStateResponse:this})},e.prototype.typeId=228,e.prototype.typeName="ChangeSDPStateResponse",e})(),Uh=T.RequestRegisterWebRTCEndpoint=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).bool(t.register),t.NeedsRegistration!=null&&Object.hasOwnProperty.call(t,"NeedsRegistration")&&i.uint32(16).bool(t.NeedsRegistration),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.RequestRegisterWebRTCEndpoint;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.register=t.bool();break}case 2:{a.NeedsRegistration=t.bool();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:163,registerWebRTC:this})},e.prototype.typeId=163,e.prototype.typeName="registerWebRTC",e})(),Ta=T.ChatTyping=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.Party!=null&&Object.hasOwnProperty.call(t,"Party")&&i.uint32(10).string(t.Party),t.User!=null&&Object.hasOwnProperty.call(t,"User")&&i.uint32(18).string(t.User),t.IdConversation!=null&&Object.hasOwnProperty.call(t,"IdConversation")&&i.uint32(24).int32(t.IdConversation),t.IdRecipient!=null&&Object.hasOwnProperty.call(t,"IdRecipient")&&i.uint32(32).int32(t.IdRecipient),t.CnvGid!=null&&Object.hasOwnProperty.call(t,"CnvGid")&&i.uint32(42).string(t.CnvGid),t.MemberGid!=null&&Object.hasOwnProperty.call(t,"MemberGid")&&i.uint32(50).string(t.MemberGid),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.ChatTyping;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Party=t.string();break}case 2:{a.User=t.string();break}case 3:{a.IdConversation=t.int32();break}case 4:{a.IdRecipient=t.int32();break}case 5:{a.CnvGid=t.string();break}case 6:{a.MemberGid=t.string();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:180,UserTypingChat:this})},e.prototype.typeId=180,e.prototype.typeName="UserTypingChat",e})(),$c=T.NotificationC2CState=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),t.Connected!=null&&Object.hasOwnProperty.call(t,"Connected")&&i.uint32(8).bool(t.Connected),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.NotificationC2CState;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.Connected=t.bool();break}default:t.skipType(r&7);break}}return a},e.prototype.toGenericMessage=function(){return new T.GenericMessage({MessageId:233,C2cState:this})},e.prototype.typeId=233,e.prototype.typeName="C2cState",e})(),$h=T.GenericMessage=(()=>{function e(n){if(n)for(let t=Object.keys(n),i=0;i<t.length;++i)n[t[i]]!=null&&(this[t[i]]=n[t[i]])}return e.encode=function(t,i){return i||(i=Pe.create()),i.uint32(8).int32(t.MessageId),t.LoginRequest!=null&&Object.hasOwnProperty.call(t,"LoginRequest")&&T.Login.encode(t.LoginRequest,i.uint32(802).fork()).ldelim(),t.LogoutRequest!=null&&Object.hasOwnProperty.call(t,"LogoutRequest")&&T.Logout.encode(t.LogoutRequest,i.uint32(810).fork()).ldelim(),t.GetMyInfo!=null&&Object.hasOwnProperty.call(t,"GetMyInfo")&&T.RequestMyInfo.encode(t.GetMyInfo,i.uint32(818).fork()).ldelim(),t.SendChatMessage!=null&&Object.hasOwnProperty.call(t,"SendChatMessage")&&T.RequestSendChatMessage.encode(t.SendChatMessage,i.uint32(882).fork()).ldelim(),t.MessagesReceived!=null&&Object.hasOwnProperty.call(t,"MessagesReceived")&&T.RequestSetChatReceived.encode(t.MessagesReceived,i.uint32(898).fork()).ldelim(),t.GetMyLastMessages!=null&&Object.hasOwnProperty.call(t,"GetMyLastMessages")&&T.RequestGetMyLastMessages.encode(t.GetMyLastMessages,i.uint32(1298).fork()).ldelim(),t.registerWebRTC!=null&&Object.hasOwnProperty.call(t,"registerWebRTC")&&T.RequestRegisterWebRTCEndpoint.encode(t.registerWebRTC,i.uint32(1306).fork()).ldelim(),t.ChangeSDPState!=null&&Object.hasOwnProperty.call(t,"ChangeSDPState")&&T.RequestWebRTCChangeSDPState.encode(t.ChangeSDPState,i.uint32(1314).fork()).ldelim(),t.SendChatFile!=null&&Object.hasOwnProperty.call(t,"SendChatFile")&&T.RequestSendChatFile.encode(t.SendChatFile,i.uint32(1434).fork()).ldelim(),t.UserTypingChat!=null&&Object.hasOwnProperty.call(t,"UserTypingChat")&&T.ChatTyping.encode(t.UserTypingChat,i.uint32(1442).fork()).ldelim(),t.SendMessageToConversation!=null&&Object.hasOwnProperty.call(t,"SendMessageToConversation")&&T.RequestSendChatMessageToConversation.encode(t.SendMessageToConversation,i.uint32(1522).fork()).ldelim(),t.CloseConversation!=null&&Object.hasOwnProperty.call(t,"CloseConversation")&&T.RequestCloseConversation.encode(t.CloseConversation,i.uint32(1586).fork()).ldelim(),t.LoginResponse!=null&&Object.hasOwnProperty.call(t,"LoginResponse")&&T.LoginInfo.encode(t.LoginResponse,i.uint32(1602).fork()).ldelim(),t.Acknowledge!=null&&Object.hasOwnProperty.call(t,"Acknowledge")&&T.ResponseAcknowledge.encode(t.Acknowledge,i.uint32(1658).fork()).ldelim(),t.MyChatMessages!=null&&Object.hasOwnProperty.call(t,"MyChatMessages")&&T.ResponseMyMessages.encode(t.MyChatMessages,i.uint32(1674).fork()).ldelim(),t.webRTCEndpoint!=null&&Object.hasOwnProperty.call(t,"webRTCEndpoint")&&T.MyWebRTCEndpoint.encode(t.webRTCEndpoint,i.uint32(1818).fork()).ldelim(),t.ChangeSDPStateResponse!=null&&Object.hasOwnProperty.call(t,"ChangeSDPStateResponse")&&T.ResponseWebRTCChangeSDPState.encode(t.ChangeSDPStateResponse,i.uint32(1826).fork()).ldelim(),t.ChatFileProgress!=null&&Object.hasOwnProperty.call(t,"ChatFileProgress")&&T.NotificationChatFileProgress.encode(t.ChatFileProgress,i.uint32(1858).fork()).ldelim(),t.C2cState!=null&&Object.hasOwnProperty.call(t,"C2cState")&&T.NotificationC2CState.encode(t.C2cState,i.uint32(1866).fork()).ldelim(),t.ConversationRemoved!=null&&Object.hasOwnProperty.call(t,"ConversationRemoved")&&T.NotificationConversationRemoved.encode(t.ConversationRemoved,i.uint32(1882).fork()).ldelim(),t.ConversationInfo!=null&&Object.hasOwnProperty.call(t,"ConversationInfo")&&T.ResponseConversationInfo.encode(t.ConversationInfo,i.uint32(1890).fork()).ldelim(),t.ChatTransferred!=null&&Object.hasOwnProperty.call(t,"ChatTransferred")&&T.NotificationChatTransferred.encode(t.ChatTransferred,i.uint32(1898).fork()).ldelim(),i},e.decode=function(t,i){t instanceof ce||(t=ce.create(t));let o=i===void 0?t.len:t.pos+i,a=new T.GenericMessage;for(;t.pos<o;){let r=t.uint32();switch(r>>>3){case 1:{a.MessageId=t.int32();break}case 100:{a.LoginRequest=T.Login.decode(t,t.uint32());break}case 101:{a.LogoutRequest=T.Logout.decode(t,t.uint32());break}case 102:{a.GetMyInfo=T.RequestMyInfo.decode(t,t.uint32());break}case 110:{a.SendChatMessage=T.RequestSendChatMessage.decode(t,t.uint32());break}case 112:{a.MessagesReceived=T.RequestSetChatReceived.decode(t,t.uint32());break}case 162:{a.GetMyLastMessages=T.RequestGetMyLastMessages.decode(t,t.uint32());break}case 163:{a.registerWebRTC=T.RequestRegisterWebRTCEndpoint.decode(t,t.uint32());break}case 164:{a.ChangeSDPState=T.RequestWebRTCChangeSDPState.decode(t,t.uint32());break}case 179:{a.SendChatFile=T.RequestSendChatFile.decode(t,t.uint32());break}case 180:{a.UserTypingChat=T.ChatTyping.decode(t,t.uint32());break}case 190:{a.SendMessageToConversation=T.RequestSendChatMessageToConversation.decode(t,t.uint32());break}case 198:{a.CloseConversation=T.RequestCloseConversation.decode(t,t.uint32());break}case 200:{a.LoginResponse=T.LoginInfo.decode(t,t.uint32());break}case 207:{a.Acknowledge=T.ResponseAcknowledge.decode(t,t.uint32());break}case 209:{a.MyChatMessages=T.ResponseMyMessages.decode(t,t.uint32());break}case 227:{a.webRTCEndpoint=T.MyWebRTCEndpoint.decode(t,t.uint32());break}case 228:{a.ChangeSDPStateResponse=T.ResponseWebRTCChangeSDPState.decode(t,t.uint32());break}case 232:{a.ChatFileProgress=T.NotificationChatFileProgress.decode(t,t.uint32());break}case 233:{a.C2cState=T.NotificationC2CState.decode(t,t.uint32());break}case 235:{a.ConversationRemoved=T.NotificationConversationRemoved.decode(t,t.uint32());break}case 236:{a.ConversationInfo=T.ResponseConversationInfo.decode(t,t.uint32());break}case 237:{a.ChatTransferred=T.NotificationChatTransferred.decode(t,t.uint32());break}default:t.skipType(r&7);break}}return a},e.typeMap={100:a3,101:s3,102:kh,110:u3,112:Fh,162:Dh,163:Uh,164:Uc,179:Ph,180:Ta,190:Lh,198:Bc,200:r3,207:ss,209:Po,227:Si,228:h3,232:Nh,233:$c,235:d3,236:Bh,237:qh},e})();class jh{constructor(n,t){_(this,"chatConversationId",-1);_(this,"isOnline",new To(!1));_(this,"endpoint","");_(this,"fileEndpoint","");_(this,"messagesSubject$",new Te);_(this,"messages$",this.messagesSubject$.asObservable());_(this,"notificationChannelEndpoint","");_(this,"pbxEndpoint","");_(this,"serverProvideSystemMessages",!1);_(this,"supportsWebRTC",!1);_(this,"webRTCEndpoint",new Si);_(this,"conversation$",new oi(1));_(this,"webRTCEndpoint$",new oi(1));_(this,"sessionId","");this.sessionState=n,this.error=t}notify(n){this.messagesSubject$.next(n)}emojiEndpoint(){return""}fileEndPoint(n){return""}get(n){return Ze(()=>{const t=new Error(this.error);return t.name="Empty Session",t})}getSessionUniqueCode(){return-1}onWebRtcEndpoint(n){}}const zh=()=>new jh(Bn.Idle,"Can't send request to idle session"),p3=e=>new jh(Bn.Error,e);function qn(e,n){typeof console<"u"&&(console.warn("[intlify] "+e),n&&console.warn(n.stack))}const Vh={};function jc(e){Vh[e]||(Vh[e]=!0,qn(e))}const _n=typeof window<"u";let on,eo;{const e=_n&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(on=n=>{e.mark(n)},eo=(n,t,i)=>{e.measure(n,t,i),e.clearMarks(t),e.clearMarks(i)})}const m3=/\{([0-9a-zA-Z]+)\}/g;function cs(e,...n){return n.length===1&&ke(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),e.replace(m3,(t,i)=>n.hasOwnProperty(i)?n[i]:"")}const Un=(e,n=!1)=>n?Symbol.for(e):Symbol(e),g3=(e,n,t)=>b3({l:e,k:n,s:t}),b3=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ct=e=>typeof e=="number"&&isFinite(e),v3=e=>zc(e)==="[object Date]",Fo=e=>zc(e)==="[object RegExp]",fs=e=>Me(e)&&Object.keys(e).length===0,pt=Object.assign,y3=Object.create,$e=(e=null)=>y3(e);let Hh;const to=()=>Hh||(Hh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:$e());function Wh(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function Yh(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function A3(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(i,o,a)=>`${o}="${Yh(a)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(i,o,a)=>`${o}='${Yh(a)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(qn("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(i=>{e=e.replace(i,"$1javascript&#58;")}),e}const w3=Object.prototype.hasOwnProperty;function En(e,n){return w3.call(e,n)}const Je=Array.isArray,ze=e=>typeof e=="function",ne=e=>typeof e=="string",xe=e=>typeof e=="boolean",ke=e=>e!==null&&typeof e=="object",C3=e=>ke(e)&&ze(e.then)&&ze(e.catch),Gh=Object.prototype.toString,zc=e=>Gh.call(e),Me=e=>zc(e)==="[object Object]",_3=e=>e==null?"":Je(e)||Me(e)&&e.toString===Gh?JSON.stringify(e,null,2):String(e);function Vc(e,n=""){return e.reduce((t,i,o)=>o===0?t+i:t+n+i,"")}const Qh=2;function E3(e,n=0,t=e.length){const i=e.split(/\r?\n/);let o=0;const a=[];for(let r=0;r<i.length;r++)if(o+=i[r].length+1,o>=n){for(let s=r-Qh;s<=r+Qh||t>o;s++){if(s<0||s>=i.length)continue;const l=s+1;a.push(`${l}${" ".repeat(3-String(l).length)}|  ${i[s]}`);const c=i[s].length;if(s===r){const u=n-(o-c)+1,f=Math.max(1,t>o?c-u:t-n);a.push("   |  "+" ".repeat(u)+"^".repeat(f))}else if(s>r){if(t>o){const u=Math.max(Math.min(t-o,c),1);a.push("   |  "+"^".repeat(u))}o+=c+1}}break}return a.join(`
`)}function Hc(){const e=new Map;return{events:e,on(t,i){const o=e.get(t);o&&o.push(i)||e.set(t,[i])},off(t,i){const o=e.get(t);o&&o.splice(o.indexOf(i)>>>0,1)},emit(t,i){(e.get(t)||[]).slice().map(o=>o(i)),(e.get("*")||[]).slice().map(o=>o(t,i))}}}const us=e=>!ke(e)||Je(e);function ds(e,n){if(us(e)||us(n))throw new Error("Invalid value");const t=[{src:e,des:n}];for(;t.length;){const{src:i,des:o}=t.pop();Object.keys(i).forEach(a=>{a!=="__proto__"&&(ke(i[a])&&!ke(o[a])&&(o[a]=Array.isArray(i[a])?[]:$e()),us(o[a])||us(i[a])?o[a]=i[a]:t.push({src:i[a],des:o[a]}))})}}function S3(e,n,t){return{line:e,column:n,offset:t}}function Wc(e,n,t){return{start:e,end:n}}const ve={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},M3=17,I3={[ve.EXPECTED_TOKEN]:"Expected token: '{0}'",[ve.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ve.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ve.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ve.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ve.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ve.EMPTY_PLACEHOLDER]:"Empty placeholder",[ve.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ve.INVALID_LINKED_FORMAT]:"Invalid linked format",[ve.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ve.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ve.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ve.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ve.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ve.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Bo(e,n,t={}){const{domain:i,messages:o,args:a}=t,r=cs((o||I3)[e]||"",...a||[]),s=new SyntaxError(String(r));return s.code=e,n&&(s.location=n),s.domain=i,s}function T3(e){throw e}const O3=/<\/?[\w\s="/.':;#-\/]+>/,k3=e=>O3.test(e),si=" ",x3="\r",Bt=`
`,R3="\u2028",N3="\u2029";function L3(e){const n=e;let t=0,i=1,o=1,a=0;const r=N=>n[N]===x3&&n[N+1]===Bt,s=N=>n[N]===Bt,l=N=>n[N]===N3,c=N=>n[N]===R3,u=N=>r(N)||s(N)||l(N)||c(N),f=()=>t,d=()=>i,p=()=>o,h=()=>a,b=N=>r(N)||l(N)||c(N)?Bt:n[N],y=()=>b(t),g=()=>b(t+a);function C(){return a=0,u(t)&&(i++,o=0),r(t)&&t++,t++,o++,n[t]}function E(){return r(t+a)&&a++,a++,n[t+a]}function x(){t=0,i=1,o=1,a=0}function M(N=0){a=N}function U(){const N=t+a;for(;N!==t;)C();a=0}return{index:f,line:d,column:p,peekOffset:h,charAt:b,currentChar:y,currentPeek:g,next:C,peek:E,reset:x,resetPeek:M,skipToPeek:U}}const Mi=void 0,P3=".",Kh="'",D3="tokenizer";function F3(e,n={}){const t=n.location!==!1,i=L3(e),o=()=>i.index(),a=()=>S3(i.line(),i.column(),i.index()),r=a(),s=o(),l={currentType:13,offset:s,startLoc:r,endLoc:r,lastType:13,lastOffset:s,lastStartLoc:r,lastEndLoc:r,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=n;function f(v,w,S,...P){const j=c();if(w.column+=S,w.offset+=S,u){const ie=t?Wc(j.startLoc,w):null,$=Bo(v,ie,{domain:D3,args:P});u($)}}function d(v,w,S){v.endLoc=a(),v.currentType=w;const P={type:w};return t&&(P.loc=Wc(v.startLoc,v.endLoc)),S!=null&&(P.value=S),P}const p=v=>d(v,13);function h(v,w){return v.currentChar()===w?(v.next(),w):(f(ve.EXPECTED_TOKEN,a(),0,w),"")}function b(v){let w="";for(;v.currentPeek()===si||v.currentPeek()===Bt;)w+=v.currentPeek(),v.peek();return w}function y(v){const w=b(v);return v.skipToPeek(),w}function g(v){if(v===Mi)return!1;const w=v.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w===95}function C(v){if(v===Mi)return!1;const w=v.charCodeAt(0);return w>=48&&w<=57}function E(v,w){const{currentType:S}=w;if(S!==2)return!1;b(v);const P=g(v.currentPeek());return v.resetPeek(),P}function x(v,w){const{currentType:S}=w;if(S!==2)return!1;b(v);const P=v.currentPeek()==="-"?v.peek():v.currentPeek(),j=C(P);return v.resetPeek(),j}function M(v,w){const{currentType:S}=w;if(S!==2)return!1;b(v);const P=v.currentPeek()===Kh;return v.resetPeek(),P}function U(v,w){const{currentType:S}=w;if(S!==7)return!1;b(v);const P=v.currentPeek()===".";return v.resetPeek(),P}function N(v,w){const{currentType:S}=w;if(S!==8)return!1;b(v);const P=g(v.currentPeek());return v.resetPeek(),P}function K(v,w){const{currentType:S}=w;if(!(S===7||S===11))return!1;b(v);const P=v.currentPeek()===":";return v.resetPeek(),P}function re(v,w){const{currentType:S}=w;if(S!==9)return!1;const P=()=>{const ie=v.currentPeek();return ie==="{"?g(v.peek()):ie==="@"||ie==="|"||ie===":"||ie==="."||ie===si||!ie?!1:ie===Bt?(v.peek(),P()):ee(v,!1)},j=P();return v.resetPeek(),j}function W(v){b(v);const w=v.currentPeek()==="|";return v.resetPeek(),w}function ee(v,w=!0){const S=(j=!1,ie="")=>{const $=v.currentPeek();return $==="{"||$==="@"||!$?j:$==="|"?!(ie===si||ie===Bt):$===si?(v.peek(),S(!0,si)):$===Bt?(v.peek(),S(!0,Bt)):!0},P=S();return w&&v.resetPeek(),P}function he(v,w){const S=v.currentChar();return S===Mi?Mi:w(S)?(v.next(),S):null}function Be(v){const w=v.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===95||w===36}function se(v){return he(v,Be)}function Q(v){const w=v.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===95||w===36||w===45}function q(v){return he(v,Q)}function z(v){const w=v.charCodeAt(0);return w>=48&&w<=57}function D(v){return he(v,z)}function te(v){const w=v.charCodeAt(0);return w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102}function X(v){return he(v,te)}function me(v){let w="",S="";for(;w=D(v);)S+=w;return S}function ge(v){let w="";for(;;){const S=v.currentChar();if(S==="{"||S==="}"||S==="@"||S==="|"||!S)break;if(S===si||S===Bt)if(ee(v))w+=S,v.next();else{if(W(v))break;w+=S,v.next()}else w+=S,v.next()}return w}function Ee(v){y(v);let w="",S="";for(;w=q(v);)S+=w;return v.currentChar()===Mi&&f(ve.UNTERMINATED_CLOSING_BRACE,a(),0),S}function De(v){y(v);let w="";return v.currentChar()==="-"?(v.next(),w+=`-${me(v)}`):w+=me(v),v.currentChar()===Mi&&f(ve.UNTERMINATED_CLOSING_BRACE,a(),0),w}function Xe(v){return v!==Kh&&v!==Bt}function Rt(v){y(v),h(v,"'");let w="",S="";for(;w=he(v,Xe);)w==="\\"?S+=at(v):S+=w;const P=v.currentChar();return P===Bt||P===Mi?(f(ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),P===Bt&&(v.next(),h(v,"'")),S):(h(v,"'"),S)}function at(v){const w=v.currentChar();switch(w){case"\\":case"'":return v.next(),`\\${w}`;case"u":return ft(v,w,4);case"U":return ft(v,w,6);default:return f(ve.UNKNOWN_ESCAPE_SEQUENCE,a(),0,w),""}}function ft(v,w,S){h(v,w);let P="";for(let j=0;j<S;j++){const ie=X(v);if(!ie){f(ve.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${w}${P}${v.currentChar()}`);break}P+=ie}return`\\${w}${P}`}function _t(v){return v!=="{"&&v!=="}"&&v!==si&&v!==Bt}function et(v){y(v);let w="",S="";for(;w=he(v,_t);)S+=w;return S}function ut(v){let w="",S="";for(;w=se(v);)S+=w;return S}function bn(v){const w=S=>{const P=v.currentChar();return P==="{"||P==="@"||P==="|"||P==="("||P===")"||!P||P===si?S:(S+=P,v.next(),w(S))};return w("")}function m(v){y(v);const w=h(v,"|");return y(v),w}function A(v,w){let S=null;switch(v.currentChar()){case"{":return w.braceNest>=1&&f(ve.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),v.next(),S=d(w,2,"{"),y(v),w.braceNest++,S;case"}":return w.braceNest>0&&w.currentType===2&&f(ve.EMPTY_PLACEHOLDER,a(),0),v.next(),S=d(w,3,"}"),w.braceNest--,w.braceNest>0&&y(v),w.inLinked&&w.braceNest===0&&(w.inLinked=!1),S;case"@":return w.braceNest>0&&f(ve.UNTERMINATED_CLOSING_BRACE,a(),0),S=O(v,w)||p(w),w.braceNest=0,S;default:{let j=!0,ie=!0,$=!0;if(W(v))return w.braceNest>0&&f(ve.UNTERMINATED_CLOSING_BRACE,a(),0),S=d(w,1,m(v)),w.braceNest=0,w.inLinked=!1,S;if(w.braceNest>0&&(w.currentType===4||w.currentType===5||w.currentType===6))return f(ve.UNTERMINATED_CLOSING_BRACE,a(),0),w.braceNest=0,F(v,w);if(j=E(v,w))return S=d(w,4,Ee(v)),y(v),S;if(ie=x(v,w))return S=d(w,5,De(v)),y(v),S;if($=M(v,w))return S=d(w,6,Rt(v)),y(v),S;if(!j&&!ie&&!$)return S=d(w,12,et(v)),f(ve.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,S.value),y(v),S;break}}return S}function O(v,w){const{currentType:S}=w;let P=null;const j=v.currentChar();switch((S===7||S===8||S===11||S===9)&&(j===Bt||j===si)&&f(ve.INVALID_LINKED_FORMAT,a(),0),j){case"@":return v.next(),P=d(w,7,"@"),w.inLinked=!0,P;case".":return y(v),v.next(),d(w,8,".");case":":return y(v),v.next(),d(w,9,":");default:return W(v)?(P=d(w,1,m(v)),w.braceNest=0,w.inLinked=!1,P):U(v,w)||K(v,w)?(y(v),O(v,w)):N(v,w)?(y(v),d(w,11,ut(v))):re(v,w)?(y(v),j==="{"?A(v,w)||P:d(w,10,bn(v))):(S===7&&f(ve.INVALID_LINKED_FORMAT,a(),0),w.braceNest=0,w.inLinked=!1,F(v,w))}}function F(v,w){let S={type:13};if(w.braceNest>0)return A(v,w)||p(w);if(w.inLinked)return O(v,w)||p(w);switch(v.currentChar()){case"{":return A(v,w)||p(w);case"}":return f(ve.UNBALANCED_CLOSING_BRACE,a(),0),v.next(),d(w,3,"}");case"@":return O(v,w)||p(w);default:{if(W(v))return S=d(w,1,m(v)),w.braceNest=0,w.inLinked=!1,S;if(ee(v))return d(w,0,ge(v));break}}return S}function V(){const{currentType:v,offset:w,startLoc:S,endLoc:P}=l;return l.lastType=v,l.lastOffset=w,l.lastStartLoc=S,l.lastEndLoc=P,l.offset=o(),l.startLoc=a(),i.currentChar()===Mi?d(l,13):F(i,l)}return{nextToken:V,currentOffset:o,currentPosition:a,context:c}}const B3="parser",q3=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function U3(e,n,t){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(n||t,16);return i<=55295||i>=57344?String.fromCodePoint(i):"�"}}}function $3(e={}){const n=e.location!==!1,{onError:t}=e;function i(g,C,E,x,...M){const U=g.currentPosition();if(U.offset+=x,U.column+=x,t){const N=n?Wc(E,U):null,K=Bo(C,N,{domain:B3,args:M});t(K)}}function o(g,C,E){const x={type:g};return n&&(x.start=C,x.end=C,x.loc={start:E,end:E}),x}function a(g,C,E,x){n&&(g.end=C,g.loc&&(g.loc.end=E))}function r(g,C){const E=g.context(),x=o(3,E.offset,E.startLoc);return x.value=C,a(x,g.currentOffset(),g.currentPosition()),x}function s(g,C){const E=g.context(),{lastOffset:x,lastStartLoc:M}=E,U=o(5,x,M);return U.index=parseInt(C,10),g.nextToken(),a(U,g.currentOffset(),g.currentPosition()),U}function l(g,C){const E=g.context(),{lastOffset:x,lastStartLoc:M}=E,U=o(4,x,M);return U.key=C,g.nextToken(),a(U,g.currentOffset(),g.currentPosition()),U}function c(g,C){const E=g.context(),{lastOffset:x,lastStartLoc:M}=E,U=o(9,x,M);return U.value=C.replace(q3,U3),g.nextToken(),a(U,g.currentOffset(),g.currentPosition()),U}function u(g){const C=g.nextToken(),E=g.context(),{lastOffset:x,lastStartLoc:M}=E,U=o(8,x,M);return C.type!==11?(i(g,ve.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),U.value="",a(U,x,M),{nextConsumeToken:C,node:U}):(C.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,$n(C)),U.value=C.value||"",a(U,g.currentOffset(),g.currentPosition()),{node:U})}function f(g,C){const E=g.context(),x=o(7,E.offset,E.startLoc);return x.value=C,a(x,g.currentOffset(),g.currentPosition()),x}function d(g){const C=g.context(),E=o(6,C.offset,C.startLoc);let x=g.nextToken();if(x.type===8){const M=u(g);E.modifier=M.node,x=M.nextConsumeToken||g.nextToken()}switch(x.type!==9&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(x)),x=g.nextToken(),x.type===2&&(x=g.nextToken()),x.type){case 10:x.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(x)),E.key=f(g,x.value||"");break;case 4:x.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(x)),E.key=l(g,x.value||"");break;case 5:x.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(x)),E.key=s(g,x.value||"");break;case 6:x.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(x)),E.key=c(g,x.value||"");break;default:{i(g,ve.UNEXPECTED_EMPTY_LINKED_KEY,C.lastStartLoc,0);const M=g.context(),U=o(7,M.offset,M.startLoc);return U.value="",a(U,M.offset,M.startLoc),E.key=U,a(E,M.offset,M.startLoc),{nextConsumeToken:x,node:E}}}return a(E,g.currentOffset(),g.currentPosition()),{node:E}}function p(g){const C=g.context(),E=C.currentType===1?g.currentOffset():C.offset,x=C.currentType===1?C.endLoc:C.startLoc,M=o(2,E,x);M.items=[];let U=null;do{const re=U||g.nextToken();switch(U=null,re.type){case 0:re.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(re)),M.items.push(r(g,re.value||""));break;case 5:re.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(re)),M.items.push(s(g,re.value||""));break;case 4:re.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(re)),M.items.push(l(g,re.value||""));break;case 6:re.value==null&&i(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,$n(re)),M.items.push(c(g,re.value||""));break;case 7:{const W=d(g);M.items.push(W.node),U=W.nextConsumeToken||null;break}}}while(C.currentType!==13&&C.currentType!==1);const N=C.currentType===1?C.lastOffset:g.currentOffset(),K=C.currentType===1?C.lastEndLoc:g.currentPosition();return a(M,N,K),M}function h(g,C,E,x){const M=g.context();let U=x.items.length===0;const N=o(1,C,E);N.cases=[],N.cases.push(x);do{const K=p(g);U||(U=K.items.length===0),N.cases.push(K)}while(M.currentType!==13);return U&&i(g,ve.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),a(N,g.currentOffset(),g.currentPosition()),N}function b(g){const C=g.context(),{offset:E,startLoc:x}=C,M=p(g);return C.currentType===13?M:h(g,E,x,M)}function y(g){const C=F3(g,pt({},e)),E=C.context(),x=o(0,E.offset,E.startLoc);return n&&x.loc&&(x.loc.source=g),x.body=b(C),e.onCacheKey&&(x.cacheKey=e.onCacheKey(g)),E.currentType!==13&&i(C,ve.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,g[E.offset]||""),a(x,C.currentOffset(),C.currentPosition()),x}return{parse:y}}function $n(e){if(e.type===13)return"EOF";const n=(e.value||"").replace(/\r?\n/gu,"\\n");return n.length>10?n.slice(0,9)+"…":n}function j3(e,n={}){const t={ast:e,helpers:new Set};return{context:()=>t,helper:a=>(t.helpers.add(a),a)}}function Zh(e,n){for(let t=0;t<e.length;t++)Yc(e[t],n)}function Yc(e,n){switch(e.type){case 1:Zh(e.cases,n),n.helper("plural");break;case 2:Zh(e.items,n);break;case 6:{Yc(e.key,n),n.helper("linked"),n.helper("type");break}case 5:n.helper("interpolate"),n.helper("list");break;case 4:n.helper("interpolate"),n.helper("named");break}}function z3(e,n={}){const t=j3(e);t.helper("normalize"),e.body&&Yc(e.body,t);const i=t.context();e.helpers=Array.from(i.helpers)}function V3(e){const n=e.body;return n.type===2?Jh(n):n.cases.forEach(t=>Jh(t)),e}function Jh(e){if(e.items.length===1){const n=e.items[0];(n.type===3||n.type===9)&&(e.static=n.value,delete n.value)}else{const n=[];for(let t=0;t<e.items.length;t++){const i=e.items[t];if(!(i.type===3||i.type===9)||i.value==null)break;n.push(i.value)}if(n.length===e.items.length){e.static=Vc(n);for(let t=0;t<e.items.length;t++){const i=e.items[t];(i.type===3||i.type===9)&&delete i.value}}}}const H3="minifier";function qo(e){switch(e.t=e.type,e.type){case 0:{const n=e;qo(n.body),n.b=n.body,delete n.body;break}case 1:{const n=e,t=n.cases;for(let i=0;i<t.length;i++)qo(t[i]);n.c=t,delete n.cases;break}case 2:{const n=e,t=n.items;for(let i=0;i<t.length;i++)qo(t[i]);n.i=t,delete n.items,n.static&&(n.s=n.static,delete n.static);break}case 3:case 9:case 8:case 7:{const n=e;n.value&&(n.v=n.value,delete n.value);break}case 6:{const n=e;qo(n.key),n.k=n.key,delete n.key,n.modifier&&(qo(n.modifier),n.m=n.modifier,delete n.modifier);break}case 5:{const n=e;n.i=n.index,delete n.index;break}case 4:{const n=e;n.k=n.key,delete n.key;break}default:throw Bo(ve.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:H3,args:[e.type]})}delete e.type}const W3="parser";function Y3(e,n){const{filename:t,breakLineCode:i,needIndent:o}=n,a=n.location!==!1,r={filename:t,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:o,indentLevel:0};a&&e.loc&&(r.source=e.loc.source);const s=()=>r;function l(b,y){r.code+=b}function c(b,y=!0){const g=y?i:"";l(o?g+"  ".repeat(b):g)}function u(b=!0){const y=++r.indentLevel;b&&c(y)}function f(b=!0){const y=--r.indentLevel;b&&c(y)}function d(){c(r.indentLevel)}return{context:s,push:l,indent:u,deindent:f,newline:d,helper:b=>`_${b}`,needIndent:()=>r.needIndent}}function G3(e,n){const{helper:t}=e;e.push(`${t("linked")}(`),Uo(e,n.key),n.modifier?(e.push(", "),Uo(e,n.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Q3(e,n){const{helper:t,needIndent:i}=e;e.push(`${t("normalize")}([`),e.indent(i());const o=n.items.length;for(let a=0;a<o&&(Uo(e,n.items[a]),a!==o-1);a++)e.push(", ");e.deindent(i()),e.push("])")}function K3(e,n){const{helper:t,needIndent:i}=e;if(n.cases.length>1){e.push(`${t("plural")}([`),e.indent(i());const o=n.cases.length;for(let a=0;a<o&&(Uo(e,n.cases[a]),a!==o-1);a++)e.push(", ");e.deindent(i()),e.push("])")}}function Z3(e,n){n.body?Uo(e,n.body):e.push("null")}function Uo(e,n){const{helper:t}=e;switch(n.type){case 0:Z3(e,n);break;case 1:K3(e,n);break;case 2:Q3(e,n);break;case 6:G3(e,n);break;case 8:e.push(JSON.stringify(n.value),n);break;case 7:e.push(JSON.stringify(n.value),n);break;case 5:e.push(`${t("interpolate")}(${t("list")}(${n.index}))`,n);break;case 4:e.push(`${t("interpolate")}(${t("named")}(${JSON.stringify(n.key)}))`,n);break;case 9:e.push(JSON.stringify(n.value),n);break;case 3:e.push(JSON.stringify(n.value),n);break;default:throw Bo(ve.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:W3,args:[n.type]})}}const J3=(e,n={})=>{const t=ne(n.mode)?n.mode:"normal",i=ne(n.filename)?n.filename:"message.intl";n.sourceMap;const o=n.breakLineCode!=null?n.breakLineCode:t==="arrow"?";":`
`,a=n.needIndent?n.needIndent:t!=="arrow",r=e.helpers||[],s=Y3(e,{filename:i,breakLineCode:o,needIndent:a});s.push(t==="normal"?"function __msg__ (ctx){":"(ctx)=> {"),s.indent(a),r.length>0&&(s.push(`const { ${Vc(r.map(u=>`${u}: _${u}`),", ")}}=ctx`),s.newline()),s.push("return "),Uo(s,e),s.deindent(a),s.push("}"),delete e.helpers;const{code:l,map:c}=s.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function X3(e,n={}){const t=pt({},n),i=!!t.jit,o=!!t.minify,a=t.optimize==null?!0:t.optimize,s=$3(t).parse(e);return i?(a&&V3(s),o&&qo(s),{ast:s,code:""}):(z3(s,t),J3(s,t))}var eA={NODE_ENV:'"production"'};function tA(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(to().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(to().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function dn(e){return ke(e)&&Gc(e)===0&&(En(e,"b")||En(e,"body"))}const Xh=["b","body"];function nA(e){return Ii(e,Xh)}const ep=["c","cases"];function iA(e){return Ii(e,ep,[])}const tp=["s","static"];function oA(e){return Ii(e,tp)}const np=["i","items"];function aA(e){return Ii(e,np,[])}const ip=["t","type"];function Gc(e){return Ii(e,ip)}const op=["v","value"];function hs(e,n){const t=Ii(e,op);if(t!=null)return t;throw Oa(n)}const ap=["m","modifier"];function rA(e){return Ii(e,ap)}const rp=["k","key"];function sA(e){const n=Ii(e,rp);if(n)return n;throw Oa(6)}function Ii(e,n,t){for(let i=0;i<n.length;i++){const o=n[i];if(En(e,o)&&e[o]!=null)return e[o]}return t}const sp=[...Xh,...ep,...tp,...np,...rp,...ap,...op,...ip];function Oa(e){return new Error(`unhandled node type: ${e}`)}function Qc(e){return t=>lA(t,e)}function lA(e,n){const t=nA(n);if(t==null)throw Oa(0);if(Gc(t)===1){const a=iA(t);return e.plural(a.reduce((r,s)=>[...r,lp(e,s)],[]))}else return lp(e,t)}function lp(e,n){const t=oA(n);if(t!=null)return e.type==="text"?t:e.normalize([t]);{const i=aA(n).reduce((o,a)=>[...o,Kc(e,a)],[]);return e.normalize(i)}}function Kc(e,n){const t=Gc(n);switch(t){case 3:return hs(n,t);case 9:return hs(n,t);case 4:{const i=n;if(En(i,"k")&&i.k)return e.interpolate(e.named(i.k));if(En(i,"key")&&i.key)return e.interpolate(e.named(i.key));throw Oa(t)}case 5:{const i=n;if(En(i,"i")&&ct(i.i))return e.interpolate(e.list(i.i));if(En(i,"index")&&ct(i.index))return e.interpolate(e.list(i.index));throw Oa(t)}case 6:{const i=n,o=rA(i),a=sA(i);return e.linked(Kc(e,a),o?Kc(e,o):void 0,e.type)}case 7:return hs(n,t);case 8:return hs(n,t);default:throw new Error(`unhandled node on format message part: ${t}`)}}const cA="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function fA(e,n){n&&k3(e)&&qn(cs(cA,{source:e}))}const uA=e=>e;let ps=$e();function dA(e,n={}){let t=!1;const i=n.onError||T3;return n.onError=o=>{t=!0,i(o)},{...X3(e,n),detectError:t}}function hA(e,n){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ne(e)){const t=xe(n.warnHtmlMessage)?n.warnHtmlMessage:!0;fA(e,t);const o=(n.onCacheKey||uA)(e),a=ps[o];if(a)return a;const{ast:r,detectError:s}=dA(e,{...n,location:eA.NODE_ENV!=="production",jit:!0}),l=Qc(r);return s?l:ps[o]=l}else{if(!dn(e))return qn(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),()=>e;const t=e.cacheKey;if(t){const i=ps[t];return i||(ps[t]=Qc(e))}else return Qc(e)}}let ka=null;function pA(e){ka=e}function mA(e,n,t){ka&&ka.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:n,meta:t})}const gA=bA("function:translate");function bA(e){return n=>ka&&ka.emit(e,n)}const It={INVALID_ARGUMENT:M3,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},vA=24;function li(e){return Bo(e,null,{messages:yA})}const yA={[It.INVALID_ARGUMENT]:"Invalid arguments",[It.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[It.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[It.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[It.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[It.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[It.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Zc(e,n){return n.locale!=null?cp(n.locale):cp(e.locale)}let Jc;function cp(e){if(ne(e))return e;if(ze(e)){if(e.resolvedOnce&&Jc!=null)return Jc;if(e.constructor.name==="Function"){const n=e();if(C3(n))throw li(It.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Jc=n}else throw li(It.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw li(It.NOT_SUPPORT_LOCALE_TYPE)}function AA(e,n,t){return[...new Set([t,...Je(n)?n:ke(n)?Object.keys(n):ne(n)?[n]:[t]])]}function fp(e,n,t){const i=ne(t)?t:xa,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(i);if(!a){a=[];let r=[t];for(;Je(r);)r=up(a,r,n);const s=Je(n)||!Me(n)?n:n.default?n.default:null;r=ne(s)?[s]:s,Je(r)&&up(a,r,!1),o.__localeChainCache.set(i,a)}return a}function up(e,n,t){let i=!0;for(let o=0;o<n.length&&xe(i);o++){const a=n[o];ne(a)&&(i=wA(e,n[o],t))}return i}function wA(e,n,t){let i;const o=n.split("-");do{const a=o.join("-");i=CA(e,a,t),o.splice(-1,1)}while(o.length&&i===!0);return i}function CA(e,n,t){let i=!1;if(!e.includes(n)&&(i=!0,n)){i=n[n.length-1]!=="!";const o=n.replace(/!/g,"");e.push(o),(Je(t)||Me(t))&&t[o]&&(i=t[o])}return i}const Ti=[];Ti[0]={w:[0],i:[3,0],"[":[4],o:[7]},Ti[1]={w:[1],".":[2],"[":[4],o:[7]},Ti[2]={w:[2],i:[3,0],0:[3,0]},Ti[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Ti[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Ti[5]={"'":[4,0],o:8,l:[5,0]},Ti[6]={'"':[4,0],o:8,l:[6,0]};const _A=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function EA(e){return _A.test(e)}function SA(e){const n=e.charCodeAt(0),t=e.charCodeAt(e.length-1);return n===t&&(n===34||n===39)?e.slice(1,-1):e}function MA(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function IA(e){const n=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:EA(n)?SA(n):"*"+n}function TA(e){const n=[];let t=-1,i=0,o=0,a,r,s,l,c,u,f;const d=[];d[0]=()=>{r===void 0?r=s:r+=s},d[1]=()=>{r!==void 0&&(n.push(r),r=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,i=4,d[0]();else{if(o=0,r===void 0||(r=IA(r),r===!1))return!1;d[1]()}};function p(){const h=e[t+1];if(i===5&&h==="'"||i===6&&h==='"')return t++,s="\\"+h,d[0](),!0}for(;i!==null;)if(t++,a=e[t],!(a==="\\"&&p())){if(l=MA(a),f=Ti[i],c=f[l]||f.l||8,c===8||(i=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(s=a,u()===!1))))return;if(i===7)return n}}const dp=new Map;function OA(e,n){return ke(e)?e[n]:null}function kA(e,n){if(!ke(e))return null;let t=dp.get(n);if(t||(t=TA(n),t&&dp.set(n,t)),!t)return null;const i=t.length;let o=e,a=0;for(;a<i;){const r=t[a];if(sp.includes(r)&&dn(o))return null;const s=o[r];if(s===void 0||ze(o))return null;o=s,a++}return o}const Vt={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},xA=8,RA={[Vt.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Vt.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Vt.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Vt.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Vt.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Vt.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Vt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function no(e,...n){return cs(RA[e],...n)}const NA="11.1.11",ms=-1,xa="en-US",gs="",hp=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function LA(){return{upper:(e,n)=>n==="text"&&ne(e)?e.toUpperCase():n==="vnode"&&ke(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,n)=>n==="text"&&ne(e)?e.toLowerCase():n==="vnode"&&ke(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,n)=>n==="text"&&ne(e)?hp(e):n==="vnode"&&ke(e)&&"__v_isVNode"in e?hp(e.children):e}}let pp;function PA(e){pp=e}let mp;function DA(e){mp=e}let gp;function FA(e){gp=e}let bp=null;const BA=e=>{bp=e},qA=()=>bp;let vp=null;const yp=e=>{vp=e},UA=()=>vp;let Ap=0;function $A(e={}){const n=ze(e.onWarn)?e.onWarn:qn,t=ne(e.version)?e.version:NA,i=ne(e.locale)||ze(e.locale)?e.locale:xa,o=ze(i)?xa:i,a=Je(e.fallbackLocale)||Me(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,r=Me(e.messages)?e.messages:Xc(o),s=Me(e.datetimeFormats)?e.datetimeFormats:Xc(o),l=Me(e.numberFormats)?e.numberFormats:Xc(o),c=pt($e(),e.modifiers,LA()),u=e.pluralRules||$e(),f=ze(e.missing)?e.missing:null,d=xe(e.missingWarn)||Fo(e.missingWarn)?e.missingWarn:!0,p=xe(e.fallbackWarn)||Fo(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,b=!!e.unresolving,y=ze(e.postTranslation)?e.postTranslation:null,g=Me(e.processor)?e.processor:null,C=xe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,x=ze(e.messageCompiler)?e.messageCompiler:pp;ze(e.messageCompiler)&&jc(no(Vt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const M=ze(e.messageResolver)?e.messageResolver:mp||OA,U=ze(e.localeFallbacker)?e.localeFallbacker:gp||AA,N=ke(e.fallbackContext)?e.fallbackContext:void 0,K=e,re=ke(K.__datetimeFormatters)?K.__datetimeFormatters:new Map,W=ke(K.__numberFormatters)?K.__numberFormatters:new Map,ee=ke(K.__meta)?K.__meta:{};Ap++;const he={version:t,cid:Ap,locale:i,fallbackLocale:a,messages:r,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:b,postTranslation:y,processor:g,warnHtmlMessage:C,escapeParameter:E,messageCompiler:x,messageResolver:M,localeFallbacker:U,fallbackContext:N,onWarn:n,__meta:ee};return he.datetimeFormats=s,he.numberFormats=l,he.__datetimeFormatters=re,he.__numberFormatters=W,he.__v_emitter=K.__v_emitter!=null?K.__v_emitter:void 0,mA(he,t,ee),he}const Xc=e=>({[e]:$e()});function bs(e,n){return e instanceof RegExp?e.test(n):e}function wp(e,n){return e instanceof RegExp?e.test(n):e}function ef(e,n,t,i,o){const{missing:a,onWarn:r}=e;{const s=e.__v_emitter;s&&s.emit("missing",{locale:t,key:n,type:o,groupId:`${o}:${n}`})}if(a!==null){const s=a(e,t,n,o);return ne(s)?s:n}else return wp(i,n)&&r(no(Vt.NOT_FOUND_KEY,{key:n,locale:t})),n}function Ra(e,n,t){const i=e;i.__localeChainCache=new Map,e.localeFallbacker(e,t,n)}function Cp(e,n){return e===n?!1:e.split("-")[0]===n.split("-")[0]}function jA(e,n){const t=n.indexOf(e);if(t===-1)return!1;for(let i=t+1;i<n.length;i++)if(Cp(e,n[i]))return!0;return!1}const _p=typeof Intl<"u",Ep={dateTimeFormat:_p&&typeof Intl.DateTimeFormat<"u",numberFormat:_p&&typeof Intl.NumberFormat<"u"};function Sp(e,...n){const{datetimeFormats:t,unresolving:i,fallbackLocale:o,onWarn:a,localeFallbacker:r}=e,{__datetimeFormatters:s}=e;if(!Ep.dateTimeFormat)return a(no(Vt.CANNOT_FORMAT_DATE)),gs;const[l,c,u,f]=tf(...n),d=xe(u.missingWarn)?u.missingWarn:e.missingWarn,p=xe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,h=!!u.part,b=Zc(e,u),y=r(e,o,b);if(!ne(l)||l==="")return new Intl.DateTimeFormat(b,f).format(c);let g={},C,E=null,x=b,M=null;const U="datetime format";for(let re=0;re<y.length;re++){if(C=M=y[re],b!==C&&bs(p,l)&&a(no(Vt.FALLBACK_TO_DATE_FORMAT,{key:l,target:C})),b!==C){const W=e.__v_emitter;W&&W.emit("fallback",{type:U,key:l,from:x,to:M,groupId:`${U}:${l}`})}if(g=t[C]||{},E=g[l],Me(E))break;ef(e,l,C,d,U),x=M}if(!Me(E)||!ne(C))return i?ms:l;let N=`${C}__${l}`;fs(f)||(N=`${N}__${JSON.stringify(f)}`);let K=s.get(N);return K||(K=new Intl.DateTimeFormat(C,pt({},E,f)),s.set(N,K)),h?K.formatToParts(c):K.format(c)}const Mp=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function tf(...e){const[n,t,i,o]=e,a=$e();let r=$e(),s;if(ne(n)){const l=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw li(It.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();s=new Date(c);try{s.toISOString()}catch{throw li(It.INVALID_ISO_DATE_ARGUMENT)}}else if(v3(n)){if(isNaN(n.getTime()))throw li(It.INVALID_DATE_ARGUMENT);s=n}else if(ct(n))s=n;else throw li(It.INVALID_ARGUMENT);return ne(t)?a.key=t:Me(t)&&Object.keys(t).forEach(l=>{Mp.includes(l)?r[l]=t[l]:a[l]=t[l]}),ne(i)?a.locale=i:Me(i)&&(r=i),Me(o)&&(r=o),[a.key||"",s,a,r]}function Ip(e,n,t){const i=e;for(const o in t){const a=`${n}__${o}`;i.__datetimeFormatters.has(a)&&i.__datetimeFormatters.delete(a)}}function Tp(e,...n){const{numberFormats:t,unresolving:i,fallbackLocale:o,onWarn:a,localeFallbacker:r}=e,{__numberFormatters:s}=e;if(!Ep.numberFormat)return a(no(Vt.CANNOT_FORMAT_NUMBER)),gs;const[l,c,u,f]=nf(...n),d=xe(u.missingWarn)?u.missingWarn:e.missingWarn,p=xe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,h=!!u.part,b=Zc(e,u),y=r(e,o,b);if(!ne(l)||l==="")return new Intl.NumberFormat(b,f).format(c);let g={},C,E=null,x=b,M=null;const U="number format";for(let re=0;re<y.length;re++){if(C=M=y[re],b!==C&&bs(p,l)&&a(no(Vt.FALLBACK_TO_NUMBER_FORMAT,{key:l,target:C})),b!==C){const W=e.__v_emitter;W&&W.emit("fallback",{type:U,key:l,from:x,to:M,groupId:`${U}:${l}`})}if(g=t[C]||{},E=g[l],Me(E))break;ef(e,l,C,d,U),x=M}if(!Me(E)||!ne(C))return i?ms:l;let N=`${C}__${l}`;fs(f)||(N=`${N}__${JSON.stringify(f)}`);let K=s.get(N);return K||(K=new Intl.NumberFormat(C,pt({},E,f)),s.set(N,K)),h?K.formatToParts(c):K.format(c)}const Op=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function nf(...e){const[n,t,i,o]=e,a=$e();let r=$e();if(!ct(n))throw li(It.INVALID_ARGUMENT);const s=n;return ne(t)?a.key=t:Me(t)&&Object.keys(t).forEach(l=>{Op.includes(l)?r[l]=t[l]:a[l]=t[l]}),ne(i)?a.locale=i:Me(i)&&(r=i),Me(o)&&(r=o),[a.key||"",s,a,r]}function kp(e,n,t){const i=e;for(const o in t){const a=`${n}__${o}`;i.__numberFormatters.has(a)&&i.__numberFormatters.delete(a)}}const zA=e=>e,VA=e=>"",HA="text",WA=e=>e.length===0?"":Vc(e),YA=_3;function xp(e,n){return e=Math.abs(e),n===2?e?e>1?1:0:1:e?Math.min(e,2):0}function GA(e){const n=ct(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ct(e.named.count)||ct(e.named.n))?ct(e.named.count)?e.named.count:ct(e.named.n)?e.named.n:n:n}function QA(e,n){n.count||(n.count=e),n.n||(n.n=e)}function KA(e={}){const n=e.locale,t=GA(e),i=ke(e.pluralRules)&&ne(n)&&ze(e.pluralRules[n])?e.pluralRules[n]:xp,o=ke(e.pluralRules)&&ne(n)&&ze(e.pluralRules[n])?xp:void 0,a=g=>g[i(t,g.length,o)],r=e.list||[],s=g=>r[g],l=e.named||$e();ct(e.pluralIndex)&&QA(t,l);const c=g=>l[g];function u(g,C){const E=ze(e.messages)?e.messages(g,!!C):ke(e.messages)?e.messages[g]:!1;return E||(e.parent?e.parent.message(g):VA)}const f=g=>e.modifiers?e.modifiers[g]:zA,d=Me(e.processor)&&ze(e.processor.normalize)?e.processor.normalize:WA,p=Me(e.processor)&&ze(e.processor.interpolate)?e.processor.interpolate:YA,h=Me(e.processor)&&ne(e.processor.type)?e.processor.type:HA,y={list:s,named:c,plural:a,linked:(g,...C)=>{const[E,x]=C;let M="text",U="";C.length===1?ke(E)?(U=E.modifier||U,M=E.type||M):ne(E)&&(U=E||U):C.length===2&&(ne(E)&&(U=E||U),ne(x)&&(M=x||M));const N=u(g,!0)(y),K=M==="vnode"&&Je(N)&&U?N[0]:N;return U?f(U)(K,M):K},message:u,type:h,interpolate:p,normalize:d,values:pt($e(),r,l)};return y}const Rp=()=>"",hn=e=>ze(e);function Np(e,...n){const{fallbackFormat:t,postTranslation:i,unresolving:o,messageCompiler:a,fallbackLocale:r,messages:s}=e,[l,c]=of(...n),u=xe(c.missingWarn)?c.missingWarn:e.missingWarn,f=xe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=xe(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=ne(c.default)||xe(c.default)?xe(c.default)?a?l:()=>l:c.default:t?a?l:()=>l:null,b=t||h!=null&&(ne(h)||ze(h)),y=Zc(e,c);d&&ZA(c);let[g,C,E]=p?[l,y,s[y]||$e()]:Lp(e,l,y,r,f,u),x=g,M=l;if(!p&&!(ne(x)||dn(x)||hn(x))&&b&&(x=h,M=x),!p&&(!(ne(x)||dn(x)||hn(x))||!ne(C)))return o?ms:l;if(ne(x)&&e.messageCompiler==null)return qn(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${l}'.`),l;let U=!1;const N=()=>{U=!0},K=hn(x)?x:Pp(e,l,C,x,M,N);if(U)return x;const re=tw(e,C,E,c),W=KA(re),ee=JA(e,K,W);let he=i?i(ee,l):ee;d&&ne(he)&&(he=A3(he));{const Be={timestamp:Date.now(),key:ne(l)?l:hn(x)?x.key:"",locale:C||(hn(x)?x.locale:""),format:ne(x)?x:hn(x)?x.source:"",message:he};Be.meta=pt({},e.__meta,qA()||{}),gA(Be)}return he}function ZA(e){Je(e.list)?e.list=e.list.map(n=>ne(n)?Wh(n):n):ke(e.named)&&Object.keys(e.named).forEach(n=>{ne(e.named[n])&&(e.named[n]=Wh(e.named[n]))})}function Lp(e,n,t,i,o,a){const{messages:r,onWarn:s,messageResolver:l,localeFallbacker:c}=e,u=c(e,i,t);let f=$e(),d,p=null,h=t,b=null;const y="translate";for(let g=0;g<u.length;g++){if(d=b=u[g],t!==d&&!Cp(t,d)&&bs(o,n)&&s(no(Vt.FALLBACK_TO_TRANSLATE,{key:n,target:d})),t!==d){const M=e.__v_emitter;M&&M.emit("fallback",{type:y,key:n,from:h,to:b,groupId:`${y}:${n}`})}f=r[d]||$e();let C=null,E,x;if(_n&&(C=window.performance.now(),E="intlify-message-resolve-start",x="intlify-message-resolve-end",on&&on(E)),(p=l(f,n))===null&&(p=f[n]),_n){const M=window.performance.now(),U=e.__v_emitter;U&&C&&p&&U.emit("message-resolve",{type:"message-resolve",key:n,message:p,time:M-C,groupId:`${y}:${n}`}),E&&x&&on&&eo&&(on(x),eo("intlify message resolve",E,x))}if(ne(p)||dn(p)||hn(p))break;if(!jA(d,u)){const M=ef(e,n,d,a,y);M!==n&&(p=M)}h=b}return[p,d,f]}function Pp(e,n,t,i,o,a){const{messageCompiler:r,warnHtmlMessage:s}=e;if(hn(i)){const d=i;return d.locale=d.locale||t,d.key=d.key||n,d}if(r==null){const d=()=>i;return d.locale=t,d.key=n,d}let l=null,c,u;_n&&(l=window.performance.now(),c="intlify-message-compilation-start",u="intlify-message-compilation-end",on&&on(c));const f=r(i,XA(e,t,o,i,s,a));if(_n){const d=window.performance.now(),p=e.__v_emitter;p&&l&&p.emit("message-compilation",{type:"message-compilation",message:i,time:d-l,groupId:`translate:${n}`}),c&&u&&on&&eo&&(on(u),eo("intlify message compilation",c,u))}return f.locale=t,f.key=n,f.source=i,f}function JA(e,n,t){let i=null,o,a;_n&&(i=window.performance.now(),o="intlify-message-evaluation-start",a="intlify-message-evaluation-end",on&&on(o));const r=n(t);if(_n){const s=window.performance.now(),l=e.__v_emitter;l&&i&&l.emit("message-evaluation",{type:"message-evaluation",value:r,time:s-i,groupId:`translate:${n.key}`}),o&&a&&on&&eo&&(on(a),eo("intlify message evaluation",o,a))}return r}function of(...e){const[n,t,i]=e,o=$e();if(!ne(n)&&!ct(n)&&!hn(n)&&!dn(n))throw li(It.INVALID_ARGUMENT);const a=ct(n)?String(n):(hn(n),n);return ct(t)?o.plural=t:ne(t)?o.default=t:Me(t)&&!fs(t)?o.named=t:Je(t)&&(o.list=t),ct(i)?o.plural=i:ne(i)?o.default=i:Me(i)&&pt(o,i),[a,o]}function XA(e,n,t,i,o,a){return{locale:n,key:t,warnHtmlMessage:o,onError:r=>{a&&a(r);{const s=ew(i),l=`Message compilation error: ${r.message}`,c=r.location&&s&&E3(s,r.location.start.offset,r.location.end.offset),u=e.__v_emitter;u&&s&&u.emit("compile-error",{message:s,error:r.message,start:r.location&&r.location.start.offset,end:r.location&&r.location.end.offset,groupId:`translate:${t}`}),console.error(c?`${l}
${c}`:l)}},onCacheKey:r=>g3(n,t,r)}}function ew(e){if(ne(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function tw(e,n,t,i){const{modifiers:o,pluralRules:a,messageResolver:r,fallbackLocale:s,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:n,modifiers:o,pluralRules:a,messages:(p,h)=>{let b=r(t,p);if(b==null&&(u||h)){const[,,y]=Lp(u||e,p,n,s,l,c);b=r(y,p)}if(ne(b)||dn(b)){let y=!1;const C=Pp(e,p,n,b,p,()=>{y=!0});return y?Rp:C}else return hn(b)?b:Rp}};return e.processor&&(d.processor=e.processor),i.list&&(d.list=i.list),i.named&&(d.named=i.named),ct(i.plural)&&(d.pluralIndex=i.plural),d}tA();function nw(){return Dp().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Dp(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const iw=typeof Proxy=="function",ow="devtools-plugin:setup",aw="plugin:settings:set";let $o,af;function rw(){var e;return $o!==void 0||(typeof window<"u"&&window.performance?($o=!0,af=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?($o=!0,af=globalThis.perf_hooks.performance):$o=!1),$o}function sw(){return rw()?af.now():Date.now()}class lw{constructor(n,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=n,this.hook=t;const i={};if(n.settings)for(const r in n.settings){const s=n.settings[r];i[r]=s.defaultValue}const o=`__vue-devtools-plugin-settings__${n.id}`;let a=Object.assign({},i);try{const r=localStorage.getItem(o),s=JSON.parse(r);Object.assign(a,s)}catch{}this.fallbacks={getSettings(){return a},setSettings(r){try{localStorage.setItem(o,JSON.stringify(r))}catch{}a=r},now(){return sw()}},t&&t.on(aw,(r,s)=>{r===this.plugin.id&&this.fallbacks.setSettings(s)}),this.proxiedOn=new Proxy({},{get:(r,s)=>this.target?this.target.on[s]:(...l)=>{this.onQueue.push({method:s,args:l})}}),this.proxiedTarget=new Proxy({},{get:(r,s)=>this.target?this.target[s]:s==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(s)?(...l)=>(this.targetQueue.push({method:s,args:l,resolve:()=>{}}),this.fallbacks[s](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:s,args:l,resolve:c})})})}async setRealTarget(n){this.target=n;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function cw(e,n){const t=e,i=Dp(),o=nw(),a=iw&&t.enableEarlyProxy;if(o&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))o.emit(ow,e,n);else{const r=a?new lw(t,o):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:t,setupFn:n,proxy:r}),r&&n(r.proxiedTarget)}}var fw={NODE_ENV:'"production"',VERSION:'"6.0.39"',BUILD_DATE:'"2025-08-19T09:30:12.270Z"',BUILD_NUMBER:'"39"',DEV:!1};const uw="11.1.11";function dw(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(to().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(to().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(to().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(to().__INTLIFY_PROD_DEVTOOLS__=!1)}const We={UNEXPECTED_RETURN_TYPE:vA,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Ht(e,...n){return Bo(e,null,{messages:hw,args:n})}const hw={[We.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[We.INVALID_ARGUMENT]:"Invalid argument",[We.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[We.NOT_INSTALLED]:"Need to install with `app.use` function",[We.UNEXPECTED_ERROR]:"Unexpected error",[We.REQUIRED_VALUE]:"Required in value: {0}",[We.INVALID_VALUE]:"Invalid value",[We.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[We.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[We.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[We.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},rf=Un("__translateVNode"),sf=Un("__datetimeParts"),lf=Un("__numberParts"),io=Un("__enableEmitter"),Na=Un("__disableEmitter"),Fp=Un("__setPluralRules"),Bp=Un("__injectWithOption"),cf=Un("__dispose"),pn={FALLBACK_TO_ROOT:xA,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13},pw={[pn.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[pn.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[pn.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[pn.DEPRECATE_LEGACY_MODE]:`Legacy API mode has been deprecated in v11. Use Composition API mode instead.
About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[pn.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[pn.DUPLICATE_USE_I18N_CALLING]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function jo(e,...n){return cs(pw[e],...n)}function La(e){if(!ke(e)||dn(e))return e;for(const n in e)if(En(e,n))if(!n.includes("."))ke(e[n])&&La(e[n]);else{const t=n.split("."),i=t.length-1;let o=e,a=!1;for(let r=0;r<i;r++){if(t[r]==="__proto__")throw new Error(`unsafe key: ${t[r]}`);if(t[r]in o||(o[t[r]]=$e()),!ke(o[t[r]])){qn(jo(pn.IGNORE_OBJ_FLATTEN,{key:t[r]})),a=!0;break}o=o[t[r]]}if(a||(dn(o)?sp.includes(t[i])||delete e[n]:(o[t[i]]=e[n],delete e[n])),!dn(o)){const r=o[t[i]];ke(r)&&La(r)}}return e}function ff(e,n){const{messages:t,__i18n:i,messageResolver:o,flatJson:a}=n,r=Me(t)?t:Je(i)?$e():{[e]:$e()};if(Je(i)&&i.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:l,resource:c}=s;l?(r[l]=r[l]||$e(),ds(c,r[l])):ds(c,r)}else ne(s)&&ds(JSON.parse(s),r)}),o==null&&a)for(const s in r)En(r,s)&&La(r[s]);return r}function qp(e){return e.type}function Up(e,n,t){let i=ke(n.messages)?n.messages:$e();"__i18nGlobal"in t&&(i=ff(e.locale.value,{messages:i,__i18n:t.__i18nGlobal}));const o=Object.keys(i);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,i[a])});{if(ke(n.datetimeFormats)){const a=Object.keys(n.datetimeFormats);a.length&&a.forEach(r=>{e.mergeDateTimeFormat(r,n.datetimeFormats[r])})}if(ke(n.numberFormats)){const a=Object.keys(n.numberFormats);a.length&&a.forEach(r=>{e.mergeNumberFormat(r,n.numberFormats[r])})}}}function $p(e){return de(Co,null,e,0)}const jp="__INTLIFY_META__",zp=()=>[],mw=()=>!1;let Vp=0;function Hp(e){return(n,t,i,o)=>e(t,i,Ki()||void 0,o)}const gw=()=>{const e=Ki();let n=null;return e&&(n=qp(e)[jp])?{[jp]:n}:null};function uf(e={}){const{__root:n,__injectWithOption:t}=e,i=n===void 0,o=e.flatJson,a=_n?Z:ib;let r=xe(e.inheritLocale)?e.inheritLocale:!0;const s=a(n&&r?n.locale.value:ne(e.locale)?e.locale:xa),l=a(n&&r?n.fallbackLocale.value:ne(e.fallbackLocale)||Je(e.fallbackLocale)||Me(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),c=a(ff(s.value,e)),u=a(Me(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),f=a(Me(e.numberFormats)?e.numberFormats:{[s.value]:{}});let d=n?n.missingWarn:xe(e.missingWarn)||Fo(e.missingWarn)?e.missingWarn:!0,p=n?n.fallbackWarn:xe(e.fallbackWarn)||Fo(e.fallbackWarn)?e.fallbackWarn:!0,h=n?n.fallbackRoot:xe(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,y=ze(e.missing)?e.missing:null,g=ze(e.missing)?Hp(e.missing):null,C=ze(e.postTranslation)?e.postTranslation:null,E=n?n.warnHtmlMessage:xe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const M=n?n.modifiers:Me(e.modifiers)?e.modifiers:{};let U=e.pluralRules||n&&n.pluralRules,N;N=(()=>{i&&yp(null);const I={version:uw,locale:s.value,fallbackLocale:l.value,messages:c.value,modifiers:M,pluralRules:U,missing:g===null?void 0:g,missingWarn:d,fallbackWarn:p,fallbackFormat:b,unresolving:!0,postTranslation:C===null?void 0:C,warnHtmlMessage:E,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};I.datetimeFormats=u.value,I.numberFormats=f.value,I.__datetimeFormatters=Me(N)?N.__datetimeFormatters:void 0,I.__numberFormatters=Me(N)?N.__numberFormatters:void 0,I.__v_emitter=Me(N)?N.__v_emitter:void 0;const L=$A(I);return i&&yp(L),L})(),Ra(N,s.value,l.value);function re(){return[s.value,l.value,c.value,u.value,f.value]}const W=Y({get:()=>s.value,set:I=>{N.locale=I,s.value=I}}),ee=Y({get:()=>l.value,set:I=>{N.fallbackLocale=I,l.value=I,Ra(N,s.value,I)}}),he=Y(()=>c.value),Be=Y(()=>u.value),se=Y(()=>f.value);function Q(){return ze(C)?C:null}function q(I){C=I,N.postTranslation=I}function z(){return y}function D(I){I!==null&&(g=Hp(I)),y=I,N.missing=g}function te(I,L){return I!=="translate"||!L.resolvedMessage}const X=(I,L,oe,pe,Ce,tt)=>{re();let Re;try{fw.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,i||(N.fallbackContext=n?UA():void 0),Re=I(N)}finally{i||(N.fallbackContext=void 0)}if(oe!=="translate exists"&&ct(Re)&&Re===ms||oe==="translate exists"&&!Re){const[wt,vn]=L();if(n&&ne(wt)&&te(oe,vn)){h&&(bs(p,wt)||wp(d,wt))&&qn(jo(pn.FALLBACK_TO_ROOT,{key:wt,type:oe}));{const{__v_emitter:Di}=N;Di&&h&&Di.emit("fallback",{type:oe,key:wt,to:"global",groupId:`${oe}:${wt}`})}}return n&&h?pe(n):Ce(wt)}else{if(tt(Re))return Re;throw Ht(We.UNEXPECTED_RETURN_TYPE)}};function me(...I){return X(L=>Reflect.apply(Np,null,[L,...I]),()=>of(...I),"translate",L=>Reflect.apply(L.t,L,[...I]),L=>L,L=>ne(L))}function ge(...I){const[L,oe,pe]=I;if(pe&&!ke(pe))throw Ht(We.INVALID_ARGUMENT);return me(L,oe,pt({resolvedMessage:!0},pe||{}))}function Ee(...I){return X(L=>Reflect.apply(Sp,null,[L,...I]),()=>tf(...I),"datetime format",L=>Reflect.apply(L.d,L,[...I]),()=>gs,L=>ne(L)||Je(L))}function De(...I){return X(L=>Reflect.apply(Tp,null,[L,...I]),()=>nf(...I),"number format",L=>Reflect.apply(L.n,L,[...I]),()=>gs,L=>ne(L)||Je(L))}function Xe(I){return I.map(L=>ne(L)||ct(L)||xe(L)?$p(String(L)):L)}const at={normalize:Xe,interpolate:I=>I,type:"vnode"};function ft(...I){return X(L=>{let oe;const pe=L;try{pe.processor=at,oe=Reflect.apply(Np,null,[pe,...I])}finally{pe.processor=null}return oe},()=>of(...I),"translate",L=>L[rf](...I),L=>[$p(L)],L=>Je(L))}function _t(...I){return X(L=>Reflect.apply(Tp,null,[L,...I]),()=>nf(...I),"number format",L=>L[lf](...I),zp,L=>ne(L)||Je(L))}function et(...I){return X(L=>Reflect.apply(Sp,null,[L,...I]),()=>tf(...I),"datetime format",L=>L[sf](...I),zp,L=>ne(L)||Je(L))}function ut(I){U=I,N.pluralRules=U}function bn(I,L){return X(()=>{if(!I)return!1;const oe=ne(L)?L:s.value,pe=O(oe),Ce=N.messageResolver(pe,I);return dn(Ce)||hn(Ce)||ne(Ce)},()=>[I],"translate exists",oe=>Reflect.apply(oe.te,oe,[I,L]),mw,oe=>xe(oe))}function m(I){let L=null;const oe=fp(N,l.value,s.value);for(let pe=0;pe<oe.length;pe++){const Ce=c.value[oe[pe]]||{},tt=N.messageResolver(Ce,I);if(tt!=null){L=tt;break}}return L}function A(I){const L=m(I);return L??(n?n.tm(I)||{}:{})}function O(I){return c.value[I]||{}}function F(I,L){if(o){const oe={[I]:L};for(const pe in oe)En(oe,pe)&&La(oe[pe]);L=oe[I]}c.value[I]=L,N.messages=c.value}function V(I,L){c.value[I]=c.value[I]||{};const oe={[I]:L};if(o)for(const pe in oe)En(oe,pe)&&La(oe[pe]);L=oe[I],ds(L,c.value[I]),N.messages=c.value}function v(I){return u.value[I]||{}}function w(I,L){u.value[I]=L,N.datetimeFormats=u.value,Ip(N,I,L)}function S(I,L){u.value[I]=pt(u.value[I]||{},L),N.datetimeFormats=u.value,Ip(N,I,L)}function P(I){return f.value[I]||{}}function j(I,L){f.value[I]=L,N.numberFormats=f.value,kp(N,I,L)}function ie(I,L){f.value[I]=pt(f.value[I]||{},L),N.numberFormats=f.value,kp(N,I,L)}Vp++,n&&_n&&(Kt(n.locale,I=>{r&&(s.value=I,N.locale=I,Ra(N,s.value,l.value))}),Kt(n.fallbackLocale,I=>{r&&(l.value=I,N.fallbackLocale=I,Ra(N,s.value,l.value))}));const $={id:Vp,locale:W,fallbackLocale:ee,get inheritLocale(){return r},set inheritLocale(I){r=I,I&&n&&(s.value=n.locale.value,l.value=n.fallbackLocale.value,Ra(N,s.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:he,get modifiers(){return M},get pluralRules(){return U||{}},get isGlobal(){return i},get missingWarn(){return d},set missingWarn(I){d=I,N.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(I){p=I,N.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(I){h=I},get fallbackFormat(){return b},set fallbackFormat(I){b=I,N.fallbackFormat=b},get warnHtmlMessage(){return E},set warnHtmlMessage(I){E=I,N.warnHtmlMessage=I},get escapeParameter(){return x},set escapeParameter(I){x=I,N.escapeParameter=I},t:me,getLocaleMessage:O,setLocaleMessage:F,mergeLocaleMessage:V,getPostTranslationHandler:Q,setPostTranslationHandler:q,getMissingHandler:z,setMissingHandler:D,[Fp]:ut};return $.datetimeFormats=Be,$.numberFormats=se,$.rt=ge,$.te=bn,$.tm=A,$.d=Ee,$.n=De,$.getDateTimeFormat=v,$.setDateTimeFormat=w,$.mergeDateTimeFormat=S,$.getNumberFormat=P,$.setNumberFormat=j,$.mergeNumberFormat=ie,$[Bp]=t,$[rf]=ft,$[sf]=et,$[lf]=_t,$[io]=I=>{N.__v_emitter=I},$[Na]=()=>{N.__v_emitter=void 0},$}const Wp="vue-i18n: composer properties",df={"vue-devtools-plugin-vue-i18n":"Vue I18n DevTools","vue-i18n-resource-inspector":"Vue I18n DevTools","vue-i18n-timeline":"Vue I18n"},bw={"vue-i18n-resource-inspector":"Search for scopes ..."},vw={"vue-i18n-timeline":16764185};let hf;async function yw(e,n){return new Promise((t,i)=>{try{cw({id:"vue-devtools-plugin-vue-i18n",label:df["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Wp],app:e},o=>{hf=o,o.on.visitComponentTree(({componentInstance:r,treeNode:s})=>{Aw(r,s,n)}),o.on.inspectComponent(({componentInstance:r,instanceData:s})=>{r.vnode.el&&r.vnode.el.__VUE_I18N__&&s&&(n.mode==="legacy"?r.vnode.el.__VUE_I18N__!==n.global.__composer&&Gp(s,r.vnode.el.__VUE_I18N__):Gp(s,r.vnode.el.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:df["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:bw["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(r=>{r.app===e&&r.inspectorId==="vue-i18n-resource-inspector"&&Sw(r,n)});const a=new Map;o.on.getInspectorState(async r=>{if(r.app===e&&r.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),Iw(r,n),r.nodeId==="global"){if(!a.has(r.app)){const[s]=await o.getComponentInstances(r.app);a.set(r.app,s)}o.highlightElement(a.get(r.app))}else{const s=Mw(r.nodeId,n);s&&o.highlightElement(s)}}),o.on.editInspectorState(r=>{r.app===e&&r.inspectorId==="vue-i18n-resource-inspector"&&Ow(r,n)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:df["vue-i18n-timeline"],color:vw["vue-i18n-timeline"]}),t(!0)})}catch(o){console.error(o),i(!1)}})}function Yp(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function Aw(e,n,t){const i=t.mode==="composition"?t.global:t.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==i){const o={label:`i18n (${Yp(e)} Scope)`,textColor:0,backgroundColor:16764185};n.tags.push(o)}}function Gp(e,n){const t=Wp;e.state.push({type:t,key:"locale",editable:!0,value:n.locale.value}),e.state.push({type:t,key:"availableLocales",editable:!1,value:n.availableLocales}),e.state.push({type:t,key:"fallbackLocale",editable:!0,value:n.fallbackLocale.value}),e.state.push({type:t,key:"inheritLocale",editable:!0,value:n.inheritLocale}),e.state.push({type:t,key:"messages",editable:!1,value:pf(n.messages.value)}),e.state.push({type:t,key:"datetimeFormats",editable:!1,value:n.datetimeFormats.value}),e.state.push({type:t,key:"numberFormats",editable:!1,value:n.numberFormats.value})}function pf(e){const n={};return Object.keys(e).forEach(t=>{const i=e[t];ze(i)&&"source"in i?n[t]=Ew(i):dn(i)&&i.loc&&i.loc.source?n[t]=i.loc.source:ke(i)?n[t]=pf(i):n[t]=i}),n}const ww={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function Cw(e){return e.replace(/[<>"&]/g,_w)}function _w(e){return ww[e]||e}function Ew(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${Cw(e.source)}")`:"(?)"}`}}}function Sw(e,n){e.rootNodes.push({id:"global",label:"Global Scope"});const t=n.mode==="composition"?n.global:n.global.__composer;for(const[i,o]of n.__instances){const a=n.mode==="composition"?o:o.__composer;t!==a&&e.rootNodes.push({id:a.id.toString(),label:`${Yp(i)} Scope`})}}function Mw(e,n){let t=null;if(e!=="global"){for(const[i,o]of n.__instances.entries())if(o.id.toString()===e){t=i;break}}return t}function Qp(e,n){if(e==="global")return n.mode==="composition"?n.global:n.global.__composer;{const t=Array.from(n.__instances.values()).find(i=>i.id.toString()===e);return t?n.mode==="composition"?t:t.__composer:null}}function Iw(e,n){const t=Qp(e.nodeId,n);return t&&(e.state=Tw(t)),null}function Tw(e){const n={},t="Locale related info",i=[{type:t,key:"locale",editable:!0,value:e.locale.value},{type:t,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:t,key:"availableLocales",editable:!1,value:e.availableLocales},{type:t,key:"inheritLocale",editable:!0,value:e.inheritLocale}];n[t]=i;const o="Locale messages info",a=[{type:o,key:"messages",editable:!1,value:pf(e.messages.value)}];n[o]=a;{const r="Datetime formats info",s=[{type:r,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];n[r]=s;const l="Datetime formats info",c=[{type:l,key:"numberFormats",editable:!1,value:e.numberFormats.value}];n[l]=c}return n}function Pa(e,n){if(hf){let t;n&&"groupId"in n&&(t=n.groupId,delete n.groupId),hf.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:t,time:Date.now(),meta:{},data:n||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function Ow(e,n){const t=Qp(e.nodeId,n);if(t){const[i]=e.path;i==="locale"&&ne(e.state.value)?t.locale.value=e.state.value:i==="fallbackLocale"&&(ne(e.state.value)||Je(e.state.value)||ke(e.state.value))?t.fallbackLocale.value=e.state.value:i==="inheritLocale"&&xe(e.state.value)&&(t.inheritLocale=e.state.value)}}function kw(e){const n=ne(e.locale)?e.locale:xa,t=ne(e.fallbackLocale)||Je(e.fallbackLocale)||Me(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=ze(e.missing)?e.missing:void 0,o=xe(e.silentTranslationWarn)||Fo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=xe(e.silentFallbackWarn)||Fo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,r=xe(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=Me(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=ze(e.postTranslation)?e.postTranslation:void 0,f=ne(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=xe(e.sync)?e.sync:!0;let h=e.messages;if(Me(e.sharedMessages)){const M=e.sharedMessages;h=Object.keys(M).reduce((N,K)=>{const re=N[K]||(N[K]={});return pt(re,M[K]),N},h||{})}const{__i18n:b,__root:y,__injectWithOption:g}=e,C=e.datetimeFormats,E=e.numberFormats,x=e.flatJson;return{locale:n,fallbackLocale:t,messages:h,flatJson:x,datetimeFormats:C,numberFormats:E,missing:i,missingWarn:o,fallbackWarn:a,fallbackRoot:r,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:p,__i18n:b,__root:y,__injectWithOption:g}}function mf(e={}){const n=uf(kw(e)),{__extender:t}=e,i={id:n.id,get locale(){return n.locale.value},set locale(o){n.locale.value=o},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(o){n.fallbackLocale.value=o},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get missing(){return n.getMissingHandler()},set missing(o){n.setMissingHandler(o)},get silentTranslationWarn(){return xe(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(o){n.missingWarn=xe(o)?!o:o},get silentFallbackWarn(){return xe(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(o){n.fallbackWarn=xe(o)?!o:o},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(o){n.fallbackFormat=o},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(o){n.setPostTranslationHandler(o)},get sync(){return n.inheritLocale},set sync(o){n.inheritLocale=o},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){n.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(o){n.escapeParameter=o},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...o){return Reflect.apply(n.t,n,[...o])},rt(...o){return Reflect.apply(n.rt,n,[...o])},te(o,a){return n.te(o,a)},tm(o){return n.tm(o)},getLocaleMessage(o){return n.getLocaleMessage(o)},setLocaleMessage(o,a){n.setLocaleMessage(o,a)},mergeLocaleMessage(o,a){n.mergeLocaleMessage(o,a)},d(...o){return Reflect.apply(n.d,n,[...o])},getDateTimeFormat(o){return n.getDateTimeFormat(o)},setDateTimeFormat(o,a){n.setDateTimeFormat(o,a)},mergeDateTimeFormat(o,a){n.mergeDateTimeFormat(o,a)},n(...o){return Reflect.apply(n.n,n,[...o])},getNumberFormat(o){return n.getNumberFormat(o)},setNumberFormat(o,a){n.setNumberFormat(o,a)},mergeNumberFormat(o,a){n.mergeNumberFormat(o,a)}};return i.__extender=t,i.__enableEmitter=o=>{const a=n;a[io]&&a[io](o)},i.__disableEmitter=()=>{const o=n;o[Na]&&o[Na]()},i}function xw(e,n,t){return{beforeCreate(){const i=Ki();if(!i)throw Ht(We.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const a=o.i18n;if(o.__i18n&&(a.__i18n=o.__i18n),a.__root=n,this===this.$root)this.$i18n=Kp(e,a);else{a.__injectWithOption=!0,a.__extender=t.__vueI18nExtend,this.$i18n=mf(a);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Kp(e,o);else{this.$i18n=mf({__i18n:o.__i18n,__injectWithOption:!0,__extender:t.__vueI18nExtend,__root:n});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Up(n,o,o),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$te=(a,r)=>this.$i18n.te(a,r),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),t.__setInstance(i,this.$i18n)},mounted(){if(this.$el&&this.$i18n){const i=this.$i18n;this.$el.__VUE_I18N__=i.__composer;const o=this.__v_emitter=Hc();i.__enableEmitter&&i.__enableEmitter(o),o.on("*",Pa)}},unmounted(){const i=Ki();if(!i)throw Ht(We.UNEXPECTED_ERROR);const o=this.$i18n;this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Pa),delete this.__v_emitter),this.$i18n&&(o.__disableEmitter&&o.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),t.__deleteInstance(i),delete this.$i18n}}}function Kp(e,n){e.locale=n.locale||e.locale,e.fallbackLocale=n.fallbackLocale||e.fallbackLocale,e.missing=n.missing||e.missing,e.silentTranslationWarn=n.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=n.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=n.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=n.postTranslation||e.postTranslation,e.warnHtmlInMessage=n.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=n.escapeParameterHtml||e.escapeParameterHtml,e.sync=n.sync||e.sync,e.__composer[Fp](n.pluralizationRules||e.pluralizationRules);const t=ff(e.locale,{messages:n.messages,__i18n:n.__i18n});return Object.keys(t).forEach(i=>e.mergeLocaleMessage(i,t[i])),n.datetimeFormats&&Object.keys(n.datetimeFormats).forEach(i=>e.mergeDateTimeFormat(i,n.datetimeFormats[i])),n.numberFormats&&Object.keys(n.numberFormats).forEach(i=>e.mergeNumberFormat(i,n.numberFormats[i])),e}const gf={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Rw({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((i,o)=>[...i,...o.type===rt?o.children:[o]],[]):n.reduce((t,i)=>{const o=e[i];return o&&(t[i]=o()),t},$e())}function Zp(){return rt}const Jp=Ve({name:"i18n-t",props:pt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ct(e)||!isNaN(e)}},gf),setup(e,n){const{slots:t,attrs:i}=n,o=e.i18n||Tt({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(t).filter(f=>f[0]!=="_"),r=$e();e.locale&&(r.locale=e.locale),e.plural!==void 0&&(r.plural=ne(e.plural)?+e.plural:e.plural);const s=Rw(n,a),l=o[rf](e.keypath,s,r),c=pt($e(),i),u=ne(e.tag)||ke(e.tag)?e.tag:Zp();return s0(u,c,l)}}});function Nw(e){return Je(e)&&!ne(e[0])}function Xp(e,n,t,i){const{slots:o,attrs:a}=n;return()=>{const r={part:!0};let s=$e();e.locale&&(r.locale=e.locale),ne(e.format)?r.key=e.format:ke(e.format)&&(ne(e.format.key)&&(r.key=e.format.key),s=Object.keys(e.format).reduce((d,p)=>t.includes(p)?pt($e(),d,{[p]:e.format[p]}):d,$e()));const l=i(e.value,r,s);let c=[r.key];Je(l)?c=l.map((d,p)=>{const h=o[d.type],b=h?h({[d.type]:d.value,index:p,parts:l}):[d.value];return Nw(b)&&(b[0].key=`${d.type}-${p}`),b}):ne(l)&&(c=[l]);const u=pt($e(),a),f=ne(e.tag)||ke(e.tag)?e.tag:Zp();return s0(f,u,c)}}const e1=Ve({name:"i18n-n",props:pt({value:{type:Number,required:!0},format:{type:[String,Object]}},gf),setup(e,n){const t=e.i18n||Tt({useScope:e.scope,__useComponent:!0});return Xp(e,n,Op,(...i)=>t[lf](...i))}});function Lw(e,n){const t=e;if(e.mode==="composition")return t.__getInstance(n)||e.global;{const i=t.__getInstance(n);return i!=null?i.__composer:e.global.__composer}}function Pw(e){const n=r=>{jc(jo(pn.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));const{instance:s,value:l}=r;if(!s||!s.$)throw Ht(We.UNEXPECTED_ERROR);const c=Lw(e,s.$),u=t1(l);return[Reflect.apply(c.t,c,[...n1(u)]),c]};return{created:(r,s)=>{const[l,c]=n(s);_n&&e.global===c&&(r.__i18nWatcher=Kt(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),r.__composer=c,r.textContent=l},unmounted:r=>{_n&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:s})=>{if(r.__composer){const l=r.__composer,c=t1(s);r.textContent=Reflect.apply(l.t,l,[...n1(c)])}},getSSRProps:r=>{const[s]=n(r);return{textContent:s}}}}function t1(e){if(ne(e))return{path:e};if(Me(e)){if(!("path"in e))throw Ht(We.REQUIRED_VALUE,"path");return e}else throw Ht(We.INVALID_VALUE)}function n1(e){const{path:n,locale:t,args:i,choice:o,plural:a}=e,r={},s=i||{};return ne(t)&&(r.locale=t),ct(o)&&(r.plural=o),ct(a)&&(r.plural=a),[n,s,r]}function Dw(e,n,...t){const i=Me(t[0])?t[0]:{};(xe(i.globalInstall)?i.globalInstall:!0)&&([Jp.name,"I18nT"].forEach(a=>e.component(a,Jp)),[e1.name,"I18nN"].forEach(a=>e.component(a,e1)),[o1.name,"I18nD"].forEach(a=>e.component(a,o1))),e.directive("t",Pw(n))}const Fw=Un("global-vue-i18n");function Bw(e={}){const n=__VUE_I18N_LEGACY_API__&&xe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__;n&&jc(jo(pn.DEPRECATE_LEGACY_MODE));const t=xe(e.globalInjection)?e.globalInjection:!0,i=new Map,[o,a]=qw(e,n),r=Un("vue-i18n");function s(f){return i.get(f)||null}function l(f,d){i.set(f,d)}function c(f){i.delete(f)}const u={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},async install(f,...d){if(f.__VUE_I18N__=u,f.__VUE_I18N_SYMBOL__=r,f.provide(f.__VUE_I18N_SYMBOL__,u),Me(d[0])){const b=d[0];u.__composerExtend=b.__composerExtend,u.__vueI18nExtend=b.__vueI18nExtend}let p=null;!n&&t&&(p=Yw(f,u.global)),__VUE_I18N_FULL_INSTALL__&&Dw(f,u,...d),__VUE_I18N_LEGACY_API__&&n&&f.mixin(xw(a,a.__composer,u));const h=f.unmount;f.unmount=()=>{p&&p(),u.dispose(),h()};{if(!await yw(f,u))throw Ht(We.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const y=Hc();if(n){const g=a;g.__enableEmitter&&g.__enableEmitter(y)}else{const g=a;g[io]&&g[io](y)}y.on("*",Pa)}},get global(){return a},dispose(){o.stop()},__instances:i,__getInstance:s,__setInstance:l,__deleteInstance:c};return u}function Tt(e={}){const n=Ki();if(n==null)throw Ht(We.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw Ht(We.NOT_INSTALLED);const t=Uw(n),i=jw(t),o=qp(n),a=$w(e,o);if(a==="global")return Up(i,e,o),i;if(a==="parent"){let l=zw(t,n,e.__useComponent);return l==null&&(qn(jo(pn.NOT_FOUND_PARENT_SCOPE)),l=i),l}const r=t;let s=r.__getInstance(n);if(s==null){const l=pt({},e);"__i18n"in o&&(l.__i18n=o.__i18n),i&&(l.__root=i),s=uf(l),r.__composerExtend&&(s[cf]=r.__composerExtend(s)),Hw(r,n,s),r.__setInstance(n,s)}else a==="local"&&qn(jo(pn.DUPLICATE_USE_I18N_CALLING));return s}function qw(e,n){const t=Pg(),i=__VUE_I18N_LEGACY_API__&&n?t.run(()=>mf(e)):t.run(()=>uf(e));if(i==null)throw Ht(We.UNEXPECTED_ERROR);return[t,i]}function Uw(e){const n=ue(e.isCE?Fw:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Ht(e.isCE?We.NOT_INSTALLED_WITH_PROVIDE:We.UNEXPECTED_ERROR);return n}function $w(e,n){return fs(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function jw(e){return e.mode==="composition"?e.global:e.global.__composer}function zw(e,n,t=!1){let i=null;const o=n.root;let a=Vw(n,t);for(;a!=null;){const r=e;if(e.mode==="composition")i=r.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const s=r.__getInstance(a);s!=null&&(i=s.__composer,t&&i&&!i[Bp]&&(i=null))}if(i!=null||o===a)break;a=a.parent}return i}function Vw(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function Hw(e,n,t){let i=null;Xn(()=>{if(n.vnode.el){n.vnode.el.__VUE_I18N__=t,i=Hc();const o=t;o[io]&&o[io](i),i.on("*",Pa)}},n),vo(()=>{const o=t;n.vnode.el&&n.vnode.el.__VUE_I18N__&&(i&&i.off("*",Pa),o[Na]&&o[Na](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const a=o[cf];a&&(a(),delete o[cf])},n)}const Ww=["locale","fallbackLocale","availableLocales"],i1=["t","rt","d","n","tm","te"];function Yw(e,n){const t=Object.create(null);return Ww.forEach(o=>{const a=Object.getOwnPropertyDescriptor(n,o);if(!a)throw Ht(We.UNEXPECTED_ERROR);const r=Ge(a.value)?{get(){return a.value.value},set(s){a.value.value=s}}:{get(){return a.get&&a.get()}};Object.defineProperty(t,o,r)}),e.config.globalProperties.$i18n=t,i1.forEach(o=>{const a=Object.getOwnPropertyDescriptor(n,o);if(!a||!a.value)throw Ht(We.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,a)}),()=>{delete e.config.globalProperties.$i18n,i1.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const o1=Ve({name:"i18n-d",props:pt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},gf),setup(e,n){const t=e.i18n||Tt({useScope:e.scope,__useComponent:!0});return Xp(e,n,Mp,(...i)=>t[sf](...i))}});dw(),PA(hA),DA(kA),FA(fp);{const e=to();e.__INTLIFY__=!0,pA(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Gw={Auth:{Submit:"Chat",Name:"Name",Email:"Email",OfflineEnterValidEmail:"I'm sorry, that doesn't look like an email address. Can you try again?",FieldValidation:"Required field",OfflineSubmit:"Send",FieldsReplacement:"Please click Chat to initiate a chat with an agent",ChatIntro:"Could we have your contact info ?",CloseButton:"Close",PhoneText:"Phone",EnterValidPhone:"Invalid phone number",EnterValidName:"Invalid name",EnterValidEmail:"Invalid email",MaxCharactersReached:"Maximum characters reached",AuthEmailMessage:"Could we have your email?",AuthNameMessage:"Could we have your name?",GdprDefaultMessage:"I agree that my personal data to be processed and for the use of cookies in order to engage in a chat processed by COMPANY, for the purpose of Chat/Support for the time of  30 day(s) as per the GDPR.",DepartmentMessage:"Please select department"},Chat:{TypeYourMessage:"Type your message...",MessageNotDeliveredError:"A network related error occurred. Message not delivered.",TryAgain:" Click here to try again. ",FileError:"Unable to upload selected file.",RateComment:"Tell us your feedback",RateFeedbackRequest:"Do you want to give us more detailed feedback?",RateRequest:"Rate your conversation",UnsupportedFileError:"Selected file isn't supported.",OperatorJoined:"Agent %%OPERATOR%% joined the chat",NetworkError:"A network related error occurred."},Offline:{OfflineNameMessage:"Could we have your name?",OfflineEmailMessage:"Could we have your email?",CharactersLimit:"Length cannot exceed 50 characters",OfflineFormInvalidEmail:"I'm sorry, that doesn't look like an email address. Can you try again?",OfflineFormInvalidName:"I'm sorry, the provided name is not valid."},MessageBox:{Ok:"OK",TryAgain:"Try again"},Inputs:{InviteMessage:"Hello! How can we help you today?",EndingMessage:"Your session is over. Please feel free to contact us again!",NotAllowedError:"Allow microphone access from your browser",NotFoundError:"Microphone not found",ServiceUnavailable:"Service unavailable",UnavailableMessage:"We are away, leave us a message!",OperatorName:"Support",WindowTitle:"Live Chat & Talk",CallTitle:"Call Us",EndCallTitle:"End Call",PoweredBy:"Powered by 3CX",OfflineMessagePlaceholder:"Message",OfflineMessageSent:"We'll contact you soon.",InvalidIdErrorMessage:"Invalid ID. Contact the website admin. ID must match the Click2Talk friendly name",IsTyping:"is typing...",NewMessageTitleNotification:"New Message",ChatIsDisabled:"Chat is not available at the moment.",GreetingMessage:"Hey, we're here to help!",BlockMessage:"Your session is over because your ip banned by the agent",Dialing:"Dialing",Connected:"Connected",ChatWithUs:"Chat with us",CallingStatusTitle:"Calling...",MuteMic:"Mute",UnmuteMic:"Unmute",FullScreen:"Full screen",messageQueueTillAssigned:"Your messages are queued until an agent is assigned to you. Please bear with us a little while longer",NotRespondingStatusTitle:"Not responding",DisconnectStatusTitle:"Attempting to reconnect,",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Start new"},Rate:{Bad:"Bad",Good:"Good",Neutral:"Neutral",VeryBad:"Very bad",VeryGood:"Very good",GiveFeedback:"Yes",NoFeedback:"No"}},Qw={Auth:{Submit:"Chat",Name:"Nombre",Email:"Correo electrónico",OfflineEnterValidEmail:"Lo sentimos, eso no parece una dirección de correo. ¿Puede intentarlo de nuevo?",FieldValidation:"Campo requerido",OfflineSubmit:"Enviar",FieldsReplacement:"Por favor, haga clic en 'chat' para inciciar un chat con un agente",ChatIntro:"¿Podríamos tener su información de contacto?",CloseButton:"Cerrar",PhoneText:"Teléfono",EnterValidPhone:"Número de teléfono inválido",EnterValidName:"Nombre inválido",EnterValidEmail:"Correo electrónico inválido",MaxCharactersReached:"Número máximo de caracteres alcanzado",AuthEmailMessage:"¿Podría decirnos su correo electrónico?",AuthNameMessage:"¿Podría decirnos su nombre?",GdprDefaultMessage:"Estoy de acuerdo con que mis datos personales sean procesados y para el uso de cookies con el fin de participar en el chat gestionado por la EMPRESA, con el proposito de Chatear/Soporte por un tiempo de 30 días de acuerdo con GDPR.",DepartmentMessage:"Por favor, seleccione el departamento"},Chat:{TypeYourMessage:"Escriba su mensaje...",MessageNotDeliveredError:"Se detectó un error relacionado con la red. Mensaje no entregado.",TryAgain:" Haga clic aquí para intentarlo de nuevo. ",FileError:"No es posible subir el archivo seleccionado.",RateComment:"Denos su opinión",RateFeedbackRequest:"¿Quiere darnos un feedback más detallado?",RateRequest:"Califique su conversación",UnsupportedFileError:"El archivo seleccionado no está soportado.",OperatorJoined:"El agente %%OPERATOR%% se unió al chat",NetworkError:"Se ha producido un error relacionado con la red."},Offline:{OfflineNameMessage:"¿Podemos tener su nombre?",OfflineEmailMessage:"¿Podemos tener su correo electrónico?",CharactersLimit:"La extensión no puede ser mayor de 50 caracteres",OfflineFormInvalidEmail:"Lo sentimos, eso no parece una dirección de correo. ¿Puede intentarlo de nuevo?",OfflineFormInvalidName:"Lo sentimos, el nombre proporcionado no es válido."},MessageBox:{Ok:"Aceptar",TryAgain:"Inténtelo de nuevo"},Inputs:{InviteMessage:"¡Hola! ¿Cómo puedo ayudarle el día de hoy?",EndingMessage:"Su sesión ha terminado. ¡Por favor, no dude en contactarnos de nuevo!",NotAllowedError:"Permitir el acceso a su micrófono por parte del navegador",NotFoundError:"No se encontró un micrófono",ServiceUnavailable:"Servicio no disponible",UnavailableMessage:"Ahora estamos ausentes, ¡Déjenos un mensaje!",OperatorName:"Soporte",WindowTitle:"Live Chat & Talk",CallTitle:"Llámanos",EndCallTitle:"Finalizar llamada",PoweredBy:"Powered By 3CX",OfflineMessagePlaceholder:"Mensaje",OfflineMessageSent:"Nos pondremos en contacto pronto.",InvalidIdErrorMessage:"ID inválido. Contacte al administrador del sitio web. El ID debe ser igual al nombre amistoso de Click2Talk",IsTyping:"está escribiendo...",NewMessageTitleNotification:"Nuevo mensaje",ChatIsDisabled:"El chat no está disponible en este momento.",GreetingMessage:"Hola, ¡Estamos aquí para ayudar!",BlockMessage:"Su sesión ha terminado porque su IP ha sido bloqueada por el agente",Dialing:"Llamando",Connected:"Conectado",ChatWithUs:"Chatea con nosotros",CallingStatusTitle:"Llamando...",MuteMic:"Silenciar",UnmuteMic:"Activar Sonido",FullScreen:"Pantalla completa",messageQueueTillAssigned:"Sus mensajes se ponen en cola hasta que se le asigna un agente. Por favor, tenga un poco más de paciencia",NotRespondingStatusTitle:"Sin respuesta",DisconnectStatusTitle:"Intentando reconectar",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Empezar un nuevo chat"},Rate:{Bad:"Malo",Good:"Bueno",Neutral:"Neutral",VeryBad:"Muy malo",VeryGood:"Muy bueno",GiveFeedback:"Sí",NoFeedback:"No"}},Kw={Auth:{Submit:"Chat",Name:"Name",Email:"E-Mail-Adresse",OfflineEnterValidEmail:"Dies sieht leider nicht nach einer E-Mail-Adresse aus. Bitte überprüfen Sie die Angabe.",FieldValidation:"Pflichtfeld",OfflineSubmit:"Senden",FieldsReplacement:'Bitte klicken Sie auf "Chat", um einen Chat mit einem Agenten zu starten',ChatIntro:"Könnten Sie uns bitte Ihre Kontaktinformationen mitteilen?",CloseButton:"Schließen",PhoneText:"Telefonnummer",EnterValidPhone:"Ungültige Telefonnummer",EnterValidName:"Ungültiger Name",EnterValidEmail:"Ungültige E-Mail-Adresse",MaxCharactersReached:"Maximale Anzahl an Zeichen erreicht",AuthEmailMessage:"Könnten Sie uns bitte Ihre E-Mail-Adresse mitteilen?",AuthNameMessage:"Könnten Sie uns bitte Ihren Namen mitteilen?",GdprDefaultMessage:"Ich stimme der Verarbeitung meiner personenbezogenen Daten und der Verwendung von Cookies gemäß der DSGVO für die Dauer von 30 Tagen zu, um an einem von UNTERNEHMEN durchgeführten Chat zum Zwecke des Chats/Supports teilzunehmen.",DepartmentMessage:"Bitte eine Abteilung wählen"},Chat:{TypeYourMessage:"Geben Sie Ihre Nachricht ein ...",MessageNotDeliveredError:"Ein Netzwerkfehler ist aufgetreten. Nachricht nicht zugestellt.",TryAgain:" Klicken Sie hier, um es erneut zu versuchen.",FileError:"Ausgewählte Datei kann nicht hochgeladen werden.",RateComment:"Teilen Sie uns bitte Ihr Feedback mit",RateFeedbackRequest:"Möchten Sie uns detaillierteres Feedback geben?",RateRequest:"Bitte bewerten Sie Ihr Gespräch",UnsupportedFileError:"Die ausgewählte Datei wird nicht unterstützt.",OperatorJoined:"Agent %%OPERATOR%% ist dem Chat beigetreten",NetworkError:"Ein Netzwerkfehler ist aufgetreten."},Offline:{OfflineNameMessage:"Könnten Sie uns bitte Ihren Namen mitteilen?",OfflineEmailMessage:"Könnten Sie uns bitte Ihre E-Mail-Adresse mitteilen?",CharactersLimit:"Die maximale Länge beträgt 50 Zeichen",OfflineFormInvalidEmail:"Dies sieht leider nicht nach einer E-Mail-Adresse aus. Bitte überprüfen Sie die Angabe.",OfflineFormInvalidName:"Es tut mir leid, der angegebene Name ist ungültig."},MessageBox:{Ok:"OK",TryAgain:"Versuchen Sie es noch einmal"},Inputs:{InviteMessage:"Hallo! Wie können wir Ihnen weiterhelfen?",EndingMessage:"Ihre Sitzung ist beendet. Sie können uns gerne jederzeit erneut kontaktieren.",NotAllowedError:"Ermöglichen Sie den Mikrofonzugriff über Ihren Browser",NotFoundError:"Mikrofon nicht gefunden",ServiceUnavailable:"Dienst nicht verfügbar",UnavailableMessage:"Aktuell ist leider kein Agent verfügbar. Bitte hinterlassen Sie uns eine Nachricht.",OperatorName:"Support",WindowTitle:"3CX Live Chat & Talk",CallTitle:"Rufen Sie uns an",EndCallTitle:"Anruf beenden",PoweredBy:"Powered by 3CX",OfflineMessagePlaceholder:"Nachricht",OfflineMessageSent:"Wir werden uns schnellstmöglich bei Ihnen melden.",InvalidIdErrorMessage:"Ungültige ID. Wenden Sie sich an den Website-Administrator. Die ID muss mit dem Click2Talk-Anzeigenamen übereinstimmen",IsTyping:"tippt ...",NewMessageTitleNotification:"Neue Nachricht",ChatIsDisabled:"Der Chat ist momentan nicht verfügbar.",GreetingMessage:"Hallo, wie können wir Ihnen weiterhelfen?",BlockMessage:"Ihre Sitzung ist beendet, da Ihre IP-Adresse vom Agenten gesperrt wurde",Dialing:"Wählt",Connected:"Verbunden",ChatWithUs:"Chatten Sie mit uns",CallingStatusTitle:"Anruf erfolgt ...",MuteMic:"Stumm",UnmuteMic:"Stumm aufh.",FullScreen:"Vollbild",messageQueueTillAssigned:"Ihre Nachrichten befinden sich in der Warteschlange, bis Ihnen ein Agent zugewiesen wird. Vielen Dank für Ihre Geduld!",NotRespondingStatusTitle:"keine Antwort",DisconnectStatusTitle:"Versuch zur Wiederverbindung",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Neu anfangen"},Rate:{Bad:"Schlecht",Good:"Gut",Neutral:"Neutral",VeryBad:"Sehr schlecht",VeryGood:"Sehr gut",GiveFeedback:"Ja",NoFeedback:"Nein"}},Zw={Auth:{Submit:"Chat",Name:"Nom",Email:"Courriel",OfflineEnterValidEmail:"Désolé, cela ne ressemble pas à une adresse électronique. Pouvez-vous réessayer ?",FieldValidation:"Champ obligatoire",OfflineSubmit:"Envoyer",FieldsReplacement:"Cliquez sur 'Chat' pour commencer une discussion avec un agent",ChatIntro:"Pouvons-nous avoir vos coordonnées ?",CloseButton:"Fermer",PhoneText:"Téléphone",EnterValidPhone:"Numéro de téléphone invalide",EnterValidName:"Nom invalide",EnterValidEmail:"Courriel invalide",MaxCharactersReached:"Nombre maximum de caractères atteint",AuthEmailMessage:"Pourriez-vous nous communiquer votre adresse électronique ?",AuthNameMessage:"Pourriez-vous nous communiquer votre nom ?",GdprDefaultMessage:"Je suis d'accord que mes données personnelles soient traitées et accepte l'utilisation de cookies afin de commencer un chat traité par SOCIÉTÉ, dans le but du chat/d'assistance pendant la durée de 30 jour(s) selon le RGPD.",DepartmentMessage:"Veuillez sélectionner un département"},Chat:{TypeYourMessage:"Écrivez votre message...",MessageNotDeliveredError:"Une erreur liée au réseau est survenue. Le message n'a pas pu être délivré.",TryAgain:" Cliquez ici pour réessayer. ",FileError:"Impossible d'uploader le fichier sélectionné.",RateComment:"Merci de nous donner votre avis",RateFeedbackRequest:"Souhaitez-vous nous faire part de commentaires plus détaillés ?",RateRequest:"Notez votre conversation",UnsupportedFileError:"Le fichier sélectionné n'est pas supporté.",OperatorJoined:"L'agent %%OPERATOR%% a rejoint le chat",NetworkError:"Une erreur liée au réseau s'est produite."},Offline:{OfflineNameMessage:"Pourriez-vous nous communiquer votre nom ?",OfflineEmailMessage:"Merci de nous donner votre courriel. ",CharactersLimit:"La longueur ne peut pas excéder 50 caractères",OfflineFormInvalidEmail:"Désolé, cela ne ressemble pas à une adresse électronique. Pouvez-vous réessayer ?",OfflineFormInvalidName:"Désolé, le nom fourni n'est pas valide."},MessageBox:{Ok:"OK",TryAgain:"Merci de réessayer"},Inputs:{InviteMessage:"Bonjour, comment pouvons-nous vous aider ?",EndingMessage:"Votre session est terminée. N'hésitez pas à nous recontacter !",NotAllowedError:"Permettre l'accès au microphone depuis votre navigateur",NotFoundError:"Microphone introuvable",ServiceUnavailable:"Service indisponible",UnavailableMessage:"Nous sommes absents, laissez-nous un message !",OperatorName:"Support",WindowTitle:"Live Chat & Talk",CallTitle:"Appelez-nous",EndCallTitle:"Terminer l'appel",PoweredBy:"Powered By 3CX",OfflineMessagePlaceholder:"Message",OfflineMessageSent:"Nous vous contacterons bientôt.",InvalidIdErrorMessage:"ID invalide. Contactez l'administrateur de votre site web. L'ID doit correspondre au pseudonyme Click2Talk",IsTyping:"Est en train d'écrire...",NewMessageTitleNotification:"Nouveau message",ChatIsDisabled:"Le chat n'est pas disponible pour le moment.",GreetingMessage:"Bonjour, nous sommes là pour vous aider !",BlockMessage:"Votre chat est terminé car votre IP a été bannie par l'agent",Dialing:"Appel en cours\r",Connected:"Connecté",ChatWithUs:"Discutez avec nous",CallingStatusTitle:"En cours d'appel...",MuteMic:"Couper le son",UnmuteMic:"Rétablir le son",FullScreen:"Plein écran",messageQueueTillAssigned:"Vos messages sont mis en attente jusqu'à ce qu'un agent vous soit attribué. Veuillez patienter encore un peu.",NotRespondingStatusTitle:"Pas de réponse",DisconnectStatusTitle:"Tentative de reconnexion",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Commencer un nouveau chat"},Rate:{Bad:"Mauvais",Good:"Bon",Neutral:"Neutre",VeryBad:"Très mauvais",VeryGood:"Très bon",GiveFeedback:"Oui",NoFeedback:"Non"}},Jw={Auth:{Submit:"Chat",Name:"Nome",Email:"Email",OfflineEnterValidEmail:"Mi spiace ma questo non sembra un indirizzo mail. Puoi riprovare?",FieldValidation:"Campo obbligatorio",OfflineSubmit:"Invia",FieldsReplacement:"Clicca su 'Chat' per avviare una chat con un agente",ChatIntro:"Possiamo avere i tuoi dati di contatto?",CloseButton:"Chiuso",PhoneText:"Telefono",EnterValidPhone:"Numero di telefono non valido",EnterValidName:"Nome non valida",EnterValidEmail:"Email non valida",MaxCharactersReached:"Numero massimo di caratteri raggiunto",AuthEmailMessage:"Possiamo avere la tua email?",AuthNameMessage:"Possiamo avere il tuo nome?",GdprDefaultMessage:"Acconsento al trattamento dei miei dati personali e all'uso dei cookie per partecipare ad una chat elaborata dalla SOCIETÀ, ai fini della chat/assistenza per un periodo di 30 giorni come previsto dal GDPR.",DepartmentMessage:"Si prega di selezione il dipartimento"},Chat:{TypeYourMessage:"Scrivi il tuo messaggio ...",MessageNotDeliveredError:"Si è verificato un errore di rete. Messaggio non consegnato.",TryAgain:" Clicca qui per riprovare. ",FileError:"Impossibile caricare il file selezionato.",RateComment:"Dacci il tuo parere",RateFeedbackRequest:"Vuoi darci un parere più dettagliato?",RateRequest:"Valuta la tua conversazione",UnsupportedFileError:"Il file selezionato non è supportato.",OperatorJoined:"Agente %%OPERATOR%% collegato alla chat",NetworkError:"Si è verificato un errore di rete."},Offline:{OfflineNameMessage:"Possiamo avere il tuo nome?",OfflineEmailMessage:"Possiamo avere la tua email?",CharactersLimit:"Massimo 50 caratteri consentiti",OfflineFormInvalidEmail:"Mi spiace ma questo non sembra un indirizzo mail. Puoi riprovare?",OfflineFormInvalidName:"Il nome fornito non è valido."},MessageBox:{Ok:"OK",TryAgain:"Riprova"},Inputs:{InviteMessage:"Ciao! Come possiamo aiutarti oggi?",EndingMessage:"La sessione è terminata. Non esitare a contattarci di nuovo!",NotAllowedError:"Consenti l'accesso al microfono dal tuo browser",NotFoundError:"Microfono non trovato",ServiceUnavailable:"Servizio non disponibile",UnavailableMessage:"Siamo assenti, lasciaci un messaggio!",OperatorName:"Supporto",WindowTitle:"Live Chat & Talk",CallTitle:"Chiamaci",EndCallTitle:"Termina chiamata",PoweredBy:"Powered By 3CX",OfflineMessagePlaceholder:"Messaggio",OfflineMessageSent:"TI contatteremo al più presto.",InvalidIdErrorMessage:"ID non valido. Contatta l'amministratore del sito web. L'ID deve corrispondere al nome Click2Talk",IsTyping:"Sta scrivendo...",NewMessageTitleNotification:"Nuovo Messaggio",ChatIsDisabled:"La Chat non è al momento disponibile.",GreetingMessage:"Ciao, siamo qui per aiutare!",BlockMessage:"La tua sessione è terminata perché il tuo ip è stato bannato dall'agente",Dialing:"In chiamata",Connected:"Connesso",ChatWithUs:"Chatta con noi",CallingStatusTitle:"In chiamata...",MuteMic:"Disattiva audio",UnmuteMic:"Attiva audio",FullScreen:"Schermo intero",messageQueueTillAssigned:"I tuoi messaggi sono stati messi in coda finché non ti verrà assegnato un agente. Ti preghiamo di pazientare ancora un pò",NotRespondingStatusTitle:"Nessuna risposta",DisconnectStatusTitle:"Tentativo di riconnessione",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Inizia un nuova chat"},Rate:{Bad:"Male",Good:"Bene",Neutral:"Neutrale",VeryBad:"Molto male",VeryGood:"Molto bene",GiveFeedback:"Si",NoFeedback:"No"}},Xw={Auth:{Submit:"Czat",Name:"Przedstaw się",Email:"Email",OfflineEnterValidEmail:"Przykro mi, to nie wygląda jak adres email. Czy możesz spróbować ponownie?",FieldValidation:"Pole wymagane",OfflineSubmit:"Wyślij",FieldsReplacement:'Kliknij "Czat", aby rozpocząć rozmowę z agentem',ChatIntro:"Czy możemy prosić o Twoje imię i adres e-mail?",CloseButton:"Zamknij",PhoneText:"Telefon",EnterValidPhone:"Nieprawidłowy numer telefonu",EnterValidName:"Nieprawidłowa nazwa",EnterValidEmail:"Nieprawidłowy email",MaxCharactersReached:"Osiągnięto maksymalną ilość znaków",AuthEmailMessage:"Czy możesz podać swój email?",AuthNameMessage:"Czy możesz podać swoje imię?",GdprDefaultMessage:"Wyrażam zgodę na przetwarzanie moich danych osobowych i na użycie ciasteczek w celu przeprowadzenia czatu procesowanego przez FIRMĘ, w celu rozmowy/obsługi, przez 30 dni, zgodnie z polityką prywatności.",DepartmentMessage:"Wybierz dział"},Chat:{TypeYourMessage:"Wpisz swoją wiadomość….",MessageNotDeliveredError:"Błąd sieci. Wiadomość nie dostarczona.",TryAgain:" Kliknij tutaj, aby spróbować ponownie. ",FileError:"Nie można załadować wybranego pliku.",RateComment:"Podziel się swoją opinią",RateFeedbackRequest:"Czy chesz podać nam więcej szczegółów?",RateRequest:"Oceń swoją rozmowę",UnsupportedFileError:"Wybrany plik nie jest wspierany.",OperatorJoined:"Agent %%OPERATOR%% dołączył do czatu",NetworkError:"Wystąpił błąd związany z siecią."},Offline:{OfflineNameMessage:"Czy możesz się przedstawić?",OfflineEmailMessage:"Czy możesz podać swój email?",CharactersLimit:"Długość nie może przekraczać 50 znaków",OfflineFormInvalidEmail:"Przykro mi, to nie wygląda jak adres email. Czy możesz spróbować ponownie?",OfflineFormInvalidName:"Przykro mi, podana nazwa jest nieprawidłowa."},MessageBox:{Ok:"OK",TryAgain:"Spróbuj ponownie"},Inputs:{InviteMessage:"Witaj! Jak możemy Ci dziś pomóc?",EndingMessage:"Twoja sesja się zakończyła. Zapraszamy do ponownego kontaktu!",NotAllowedError:"Zezwól na dostęp do mikrofonu swojej przeglądarce",NotFoundError:"Nie znaleziono mikrofonu",ServiceUnavailable:"Usługa niedostępna",UnavailableMessage:"Nie ma nas, zostaw wiadomość!",OperatorName:"Wsparcie",WindowTitle:"Chat i rozmowa na żywo",CallTitle:"Zadzwoń do nas",EndCallTitle:"Zakończ rozmowę",PoweredBy:"Wspierane przez 3CX",OfflineMessagePlaceholder:"Wiadomość",OfflineMessageSent:"Wkrótce się z Tobą skontaktujemy.",InvalidIdErrorMessage:"Nieprawidłowe ID. Skontaktuj się z administratorem strony. ID musi odpowiadać Przyjaznej nazwie Click2Talk",IsTyping:"Pisze…",NewMessageTitleNotification:"Nowa wiadomość",ChatIsDisabled:"Czat jest w tym momencie niedostępny.",GreetingMessage:"Cześć, jesteśmy tu żeby pomóc!",BlockMessage:"Sesja zakończyła się gdyż agent zablokował Twój adres IP",Dialing:"Wybieranie",Connected:"Połączony",ChatWithUs:"Czat z nami",CallingStatusTitle:"Dzwonię...",MuteMic:"Wycisz",UnmuteMic:"Wł. dźwięk",FullScreen:"Pełny ekran",messageQueueTillAssigned:"Twoje wiadomości czekają w kolejce na przypisanie agenta. Prosimy o wyrozumiałość",NotRespondingStatusTitle:"Brak odpowiedzi",DisconnectStatusTitle:"Próba ponownego połączenia",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Zacznij nowy"},Rate:{Bad:"Źle",Good:"Dobrze",Neutral:"Neutralnie",VeryBad:"Bardzo źle",VeryGood:"Bardzo dobrze",GiveFeedback:"Tak",NoFeedback:"Nie"}},eC={Auth:{Submit:"Начать чат",Name:"Имя",Email:"E-mail",OfflineEnterValidEmail:"Это не похоже на адрес электронной почты. Можете попробовать еще раз?",FieldValidation:"Необходимое поле",OfflineSubmit:"Отправить",FieldsReplacement:"Нажмите 'Начать чат', чтобы связаться с оператором",ChatIntro:"Можно узнать ваши контакты?",CloseButton:"Закрыть",PhoneText:"Телефон",EnterValidPhone:"Неверный номер",EnterValidName:"Неверный имя",EnterValidEmail:"Неверный e-mail",MaxCharactersReached:"Достигнуто предельное количество символов",AuthEmailMessage:"Могли бы вы указать ваш e-mail?",AuthNameMessage:"Могли бы вы указать ваше имя?",GdprDefaultMessage:"Я согласен, что мои персональные данные будут обработаны, а также на использование cookies. Данные используются для чата с КОМПАНИЕЙ. Чат используется для поддержки и консультаций. Данные хранятся 30 дней в соответсвии с GDPR.",DepartmentMessage:"Выберите отдел"},Chat:{TypeYourMessage:"Введите сообщение...",MessageNotDeliveredError:"Ошибка сети. Сообщение не доставлено.",TryAgain:" Нажмите, чтобы попробовать снова. ",FileError:"Невозможно загрузить выбранный файл.",RateComment:"Оставьте свой отзыв",RateFeedbackRequest:"Хотите оставить подробный отзыв?",RateRequest:"Оцените диалог с оператором",UnsupportedFileError:"Выбранный файл не поддерживается.",OperatorJoined:"Оператор %%OPERATOR%% подключился к чату",NetworkError:"Произошла сетевая ошибка."},Offline:{OfflineNameMessage:"Могли бы вы указать ваше имя?",OfflineEmailMessage:"Могли бы вы указать ваш e-mail?",CharactersLimit:"Длина не должна превышать 50 символов",OfflineFormInvalidEmail:"Это не похоже на адрес электронной почты. Можете попробовать еще раз?",OfflineFormInvalidName:"Вы указали некорректное имя."},MessageBox:{Ok:"OK",TryAgain:"Попробуйте снова"},Inputs:{InviteMessage:"Здравствуйте! Мы можем вам помочь?",EndingMessage:"Сессия завершена. Свяжитесь с нами, когда будет удобно!",NotAllowedError:"Разрешите доступ браузера к микрофону",NotFoundError:"Микрофон не найден",ServiceUnavailable:"Сервис недоступен",UnavailableMessage:"Сейчас мы не на связи. Пожалуйста, оставьте сообщение!",OperatorName:"Поддержка",WindowTitle:"Live Chat & Talk",CallTitle:"Позвонить",EndCallTitle:"Завершить вызов",PoweredBy:"Заряжено 3CX",OfflineMessagePlaceholder:"Сообщение",OfflineMessageSent:"Мы свяжемся с вами в ближайшее время.",InvalidIdErrorMessage:"Неверный ID. Свяжитесь с администратором сайта. ID должен соответствовать короткому имени в параметрах Click2Talk",IsTyping:"набирает...",NewMessageTitleNotification:"Новое сообщение",ChatIsDisabled:"Чат сейчас недоступен.",GreetingMessage:"Добрый день! Готовы вам помочь!",BlockMessage:"Сессия завершена, поскольку ваш IP-адрес заблокирован оператором",Dialing:"Набор",Connected:"Соединено",ChatWithUs:"Написать",CallingStatusTitle:"Вызов...",MuteMic:"Откл. звук",UnmuteMic:"Вкл. звук",FullScreen:"На весь экран",messageQueueTillAssigned:"Ваши сообщения находятся в очереди, пока мы подбираем свободного оператора. Подождите еще немного, пожалуйста",NotRespondingStatusTitle:"Не отвечает",DisconnectStatusTitle:"Попытка повторного подключения",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Начать новый чат"},Rate:{Bad:"Плохо",Good:"Хорошо",Neutral:"Нейтрально",VeryBad:"Очень плохо",VeryGood:"Очень хорошо",GiveFeedback:"Да",NoFeedback:"Нет"}},bf={Auth:{Submit:"Bate-papo",Name:"Nome",Email:"E-mail",OfflineEnterValidEmail:"Desculpe, isso não parece ser um endereço de e-mail. Você pode tentar novamente?",FieldValidation:"Campo obrigatório",OfflineSubmit:"Enviar",FieldsReplacement:"Clique em 'Chat' para iniciar um bate-papo com um agente",ChatIntro:"Você poderia informar suas informações para contato?",CloseButton:"Fechar",PhoneText:"Telefone",EnterValidPhone:"Número de telefone inválido",EnterValidName:"Nome Inválido",EnterValidEmail:"E-mail Inválido",MaxCharactersReached:"Número máximo de caracteres atingido",AuthEmailMessage:"Você pode nos informar seu e-mail?",AuthNameMessage:"Você pode nos informar seu nome?",GdprDefaultMessage:"Concordo que meus dados pessoais sejam processados ​​para uso de cookies para participar de um chat realizado pela EMPRESA, para fins de bate-papo/suporte pelo período de 30 dia(s) conforme o GDPR.",DepartmentMessage:"Por favor, selecione o departamento"},Chat:{TypeYourMessage:"Escreva sua mensagem...",MessageNotDeliveredError:"Ocorreu um erro relacionado à rede. Mensagem não enviada.",TryAgain:" Clique aqui para tentar novamente ",FileError:"Não foi possível carregar o arquivo selecionado.",RateComment:"Dê sua opinião",RateFeedbackRequest:"Você deseja nos dar um feedback mais detalhado?",RateRequest:"Avalie sua conversa",UnsupportedFileError:"O arquivo selecionado não é suportado.",OperatorJoined:"Agente %%OPERATOR%% entrou no chat",NetworkError:"Ocorreu um erro relacionado com a rede."},Offline:{OfflineNameMessage:"Podemos saber o seu nome?",OfflineEmailMessage:"Podemos saber o seu e-mail?",CharactersLimit:"O comprimento não pode exceder 50 caracteres",OfflineFormInvalidEmail:"Desculpe, isso não parece ser um endereço de e-mail. Você pode tentar novamente?",OfflineFormInvalidName:"Desculpe, o nome fornecido não é válido."},MessageBox:{Ok:"Ok",TryAgain:"Tente novamente"},Inputs:{InviteMessage:"Olá! Como podemos te ajudar hoje?",EndingMessage:"Sua sessão terminou. Por favor, sinta-se à vontade para nos contatar novamente!",NotAllowedError:"Permitir acesso ao microfone pelo seu navegador",NotFoundError:"Microfone não encontrado",ServiceUnavailable:"Serviço indisponível",UnavailableMessage:"Estamos fora, deixe-nos uma mensagem!",OperatorName:"Suporte",WindowTitle:"Chat ao vivo",CallTitle:"Entre em contato",EndCallTitle:"Terminar a chamada",PoweredBy:"Desenvolvido pela 3CX",OfflineMessagePlaceholder:"Mensagem",OfflineMessageSent:"Entraremos em contato em breve.",InvalidIdErrorMessage:"ID inválido. Entre em contato com o administrador do site. O ID deve corresponder ao utilizado no Click2Talk",IsTyping:"Digitando...",NewMessageTitleNotification:"Nova mensagem",ChatIsDisabled:"O chat não está disponível no momento.",GreetingMessage:"Ei, estamos aqui para ajudar!",BlockMessage:"Sua sessão acabou porque seu IP foi banido pelo agente",Dialing:"Discando",Connected:"Conectado",ChatWithUs:"Converse conosco",CallingStatusTitle:"Ligando...",MuteMic:"Mudo",UnmuteMic:"Desativar Mudo",FullScreen:"Tela Cheia",messageQueueTillAssigned:"As suas mensagens são enfileiradas até que um agente lhe seja designado. Por favor, aguarde mais um pouco",NotRespondingStatusTitle:"Não está respondendo",DisconnectStatusTitle:"Tentando reconectar",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"Começe um novo"},Rate:{Bad:"Ruim",Good:"Bom",Neutral:"Neutro",VeryBad:"Muito ruim",VeryGood:"Muito bom",GiveFeedback:"Sim",NoFeedback:"Não"}},a1={Auth:{Submit:"聊天",Name:"姓名",Email:"邮箱",OfflineEnterValidEmail:"很抱歉，该地址看起来不像电子邮箱地址。您可以重试吗？",FieldValidation:"必填字段",OfflineSubmit:"发送",FieldsReplacement:'请点击 "聊天"，开始与坐席交谈',ChatIntro:"能给我们您的联系方式吗？",CloseButton:"关闭",PhoneText:"电话",EnterValidPhone:"无效的电话号码",EnterValidName:"名称无效",EnterValidEmail:"无效的邮箱",MaxCharactersReached:"已达到最大字符限制",AuthEmailMessage:"能告诉我们您的邮箱吗？",AuthNameMessage:"能告诉我们您的姓名吗？",GdprDefaultMessage:"我同意根据 GDPR 处理我的个人数据并使用 cookie 进行公司处理的聊天，以提供聊天/支持的目的，期限为 30 天。",DepartmentMessage:"请选择部门"},Chat:{TypeYourMessage:"输入您的消息...",MessageNotDeliveredError:"发生网络相关错误。信息未送达。",TryAgain:" 点击此处再试一次 ",FileError:"无法上传所选文件。",RateComment:"告诉我们您的反馈",RateFeedbackRequest:"您是否想给我们更详细的反馈？",RateRequest:"为您的对话评分",UnsupportedFileError:"不支持所选文件。",OperatorJoined:"坐席%%OPERATOR%% 加入聊天",NetworkError:"发生网络相关错误。"},Offline:{OfflineNameMessage:"能告诉我们您的名字吗？",OfflineEmailMessage:"能告诉我们您的电子邮箱吗？",CharactersLimit:"长度不能超过50个字符",OfflineFormInvalidEmail:"很抱歉，该地址看起来不像电子邮箱地址。您可以重试吗？",OfflineFormInvalidName:"抱歉，您提供的名字无效。"},MessageBox:{Ok:"OK",TryAgain:"再次尝试"},Inputs:{InviteMessage:"您好！请问有什么可以帮到您的？",EndingMessage:"您的会话结束了。请随时与我们联系！",NotAllowedError:"允许通过浏览器访问麦克风",NotFoundError:"未发现麦克风",ServiceUnavailable:"服务不可用",UnavailableMessage:"我们不在线，给我们留言吧!",OperatorName:"支持",WindowTitle:"实时聊天和通话",CallTitle:"致电我们",EndCallTitle:"结束通话",PoweredBy:"由3CX提供支持",OfflineMessagePlaceholder:"留言信息",OfflineMessageSent:"我们会尽快与您联系。",InvalidIdErrorMessage:"无效的ID。联系网站管理员。ID必须与Click2Talk友好名称匹配",IsTyping:"正在输入...",NewMessageTitleNotification:"新消息",ChatIsDisabled:"实时聊天暂不可用。",GreetingMessage:"嘿，很高兴为您服务！",BlockMessage:"你的会话已经结束，因为你的IP被坐席禁止了",Dialing:"拨号",Connected:"已连接",ChatWithUs:"与我们聊天",CallingStatusTitle:"呼叫...",MuteMic:"静音",UnmuteMic:"取消静音",FullScreen:"全屏",messageQueueTillAssigned:"您的信息会被排在队列中，直到为您分配坐席。请再忍耐一段时间",NotRespondingStatusTitle:"未响应",DisconnectStatusTitle:"尝试重新连接",Minimize:"Minimize",MuteNotifications:"Mute chat notifications",UnmuteNotifications:"Unmute chat notifications",AddFile:"Add File"},ChatCompleted:{StartNew:"开始新的聊天"},Rate:{Bad:"差",Good:"好",Neutral:"一般",VeryBad:"非常差",VeryGood:"非常好",GiveFeedback:"是",NoFeedback:"否"}},r1={en:Gw,es:Qw,de:Kw,fr:Zw,it:Jw,pl:Xw,ru:eC,pt_BR:bf,pt_PT:bf,pt:bf,zh:a1,zh_CN:a1},an=Bw({legacy:!1,locale:"en",messages:r1}),vf=e=>n=>n.pipe(Cn(t=>t instanceof e),yt(t=>t)),s1=e=>{const n=new Uint8Array(e),t=$h.decode(n,n.length);return delete t.MessageId,Object.values(t)[0]};function zo(e,n){return e?n?`${e.replace(/\/+$/,"")}/${n.replace(/^\/+/,"")}`:e:n}const yf=e=>{const{t:n}=an.global;return typeof e=="string"?e:e instanceof Error?e.name==="NotAllowedError"?n("Inputs.NotAllowedError").toString():e.name==="NotFoundError"||e.name==="OverconstrainedError"?n("Inputs.NotFoundError").toString():e.name==="NetworkError"?n("Chat.NetworkError").toString():e.name==="messageQueue"?n("Inputs.messageQueueTillAssigned").toString():e.message:n("Inputs.ServiceUnavailable").toString()},l1=(()=>{const{t:e}=an.global,n=window.document.title,t=e("Inputs.NewMessageTitleNotification").toString();let i;const o=()=>{window.document.title=window.document.title===t?n:t},a=()=>{clearInterval(i),window.document.title=n,window.document.onmousemove=null,i=null};return{startBlinkWithStopOnMouseMove(){i||(i=setInterval(o,1e3),window.document.onmousemove=a)},startBlink(){i||(i=setInterval(o,1e3))},stopBlink(){i&&a()}}})(),Vo=window.location.protocol==="https:"||window.location.host.startsWith("localhost")||window.location.origin==="voipc://electron";function vs(e,n){n===void 0&&(n={});var t=n.selector,i=M2(n,["selector"]);return new Qe(function(o){var a=new AbortController,r=a.signal,s=!0,l=i.signal;if(l)if(l.aborted)a.abort();else{var c=function(){r.aborted||a.abort()};l.addEventListener("abort",c),o.add(function(){return l.removeEventListener("abort",c)})}var u=es(es({},i),{signal:r}),f=function(d){s=!1,o.error(d)};return fetch(e,u).then(function(d){t?ht(t(d)).subscribe(He(o,void 0,function(){s=!1,o.complete()},f)):(s=!1,o.next(d),o.complete())}).catch(f),function(){s&&a.abort()}})}class ci{constructor(n){_(this,"name","");_(this,"image","");Object.assign(this,n)}}const Oi=new ci;class Da{constructor(n){_(this,"isNew",!1);_(this,"chatState");_(this,"startingConv",new Fc);_(this,"idConversation",-1);_(this,"status",At.BROWSE);Object.assign(this,n)}}function c1(){try{return localStorage.getItem("callus.loggerenabled")==="true"}catch{return!1}}function tC(e){c1()&&console.log("Response",e)}function nC(e){c1()&&console.log(e)}function Fa(e){console.error("call-us:",e)}const Af=()=>e=>e.pipe(gc({connector:()=>new oi(1),resetOnError:!1,resetOnComplete:!1}));class oo{static Merge(n,t){return t.Action===No.FullUpdate||t.Action===No.Updated?oo.MergePlainObject(n,t):t.Action||Object.assign(n,t),n}static notify(n,t){const i=Reflect.get(n,`${t.toString()}$`);i!==void 0&&i.next(Reflect.get(n,t))}static MergePlainObject(n,t){n!==void 0&&Reflect.ownKeys(t).filter(i=>i!=="Action"&&i!=="Id").forEach(i=>{const o=Reflect.get(t,i),a=Reflect.get(n,i);if(o!==void 0){if(o instanceof Array){const r=o;if(r.length===0)return;if(r[0]instanceof Object){const s=a||[],l={};s.forEach(c=>{l[c.Id]=c}),r.forEach(c=>{const u=c.Id,f=l[u];switch(c.Action){case No.Deleted:delete l[u];break;case No.FullUpdate:l[u]=c;break;case No.Inserted:case No.Updated:l[u]=f===void 0?c:oo.Merge(f,c);break}}),Reflect.set(n,i,Object.values(l))}else Reflect.set(n,i,o)}else o instanceof Object?Reflect.set(n,i,a===void 0?o:oo.Merge(a,o)):Reflect.set(n,i,o);oo.notify(n,i)}})}}class iC{constructor(n,t){_(this,"chatConversationId");_(this,"error","");_(this,"isOnline",new To(!0));_(this,"notificationChannelEndpoint");_(this,"pbxEndpoint");_(this,"endpoint");_(this,"fileEndpoint");_(this,"messagesSubject$",new Te);_(this,"messages$",this.messagesSubject$.asObservable());_(this,"webRTCEndpoint",new Si);_(this,"conversation$",new oi(1));_(this,"webRTCEndpoint$",new oi(1));_(this,"sessionState",Bn.Connected);_(this,"supportsWebRTC");_(this,"serverProvideSystemMessages");this.sessionId=t,this.pbxEndpoint=n,this.endpoint=zo(n,"/MyPhone/MPWebService.asmx"),this.fileEndpoint=zo(n,"/MyPhone/downloadChatFile/"),this.supportsWebRTC=!0,this.webRTCEndpoint$.next(this.webRTCEndpoint),this.serverProvideSystemMessages=!0,this.chatConversationId=0}notify(n){this.messagesSubject$.next(n)}getSessionUniqueCode(){return this.chatConversationId}onWebRtcEndpoint(n){this.webRTCEndpoint=oo.Merge(this.webRTCEndpoint,n),this.webRTCEndpoint$.next(this.webRTCEndpoint)}fileEndPoint(n){return`${this.fileEndpoint}${n}?sessionId=${this.sessionId}`}emojiEndpoint(){return`${this.pbxEndpoint}/webclient/assets/emojione/32/`}get(n){const t=n,i=new Error("network error");return i.name="NetworkError",vs(this.endpoint,{headers:{"Content-Type":"application/octet-stream",MyPhoneSession:this.sessionId},method:"POST",body:$h.encode(t.toGenericMessage()).finish()}).pipe(fn(()=>Ze(()=>i)),we(o=>o.ok?o.arrayBuffer():Ze(()=>i)),yt(o=>{const a=s1(o);if(tC(a),a instanceof ss&&!a.Success){const r=new Error(a.Message||`Received unsuccessful ack for ${t.constructor.name}`);if(a.ErrorType===9&&(r.name="messageQueue"),console.error(a.Message),r.state=a.ErrorType,!(n instanceof Bc&&a.ErrorType===32))throw r}return a}))}}function f1(e){return e.MessageType===Dc.CMT_Normal}function oC(e,n){return new Po({Messages:e.Messages.filter(t=>{var a;const i=(a=t.Recipients.find(r=>r.IsSender))==null?void 0:a.IdRecipient,o=n.Recipients.find(r=>r.Recipient.IdRecipient===i);return(o==null?void 0:o.Recipient.RecipientType)!==Lo.CRT_Anonymous})})}function aC(e,n){const t=new iC(e,n.sessionId),i=new URL(e);return t.notificationChannelEndpoint=zo(`${i.protocol==="https:"?"wss:":"ws:"}${e.replace("http:","").replace("https:","")}`,`/ws/webclient?sessionId=${encodeURIComponent(n.sessionId)}&pass=${encodeURIComponent(n.pass)}`),t}class rC{constructor(n,t){_(this,"AddpTimeoutMs",2e4);this.pbxUrl=n,this.party=t}tokenStorageKey(){return`call-us-token-${encodeURIComponent(this.pbxUrl)}`}activeStorageKey(){return`call-us-chat-active-${encodeURIComponent(this.pbxUrl)+encodeURIComponent(this.party)}`}isChatActive(){return!!localStorage.getItem(this.activeStorageKey())}setChatActive(){localStorage.setItem(this.activeStorageKey(),"true")}dropChatActive(){localStorage.removeItem(this.activeStorageKey())}createClick2CallSession(n){const t=localStorage.getItem(this.tokenStorageKey());let i=zo(this.pbxUrl,`/MyPhone/c2clogin?login=true&c2cid=${encodeURIComponent(this.party)}`);n.email&&(i+=`&email=${encodeURIComponent(n.email)}`),n.name&&(i+=`&displayname=${encodeURIComponent(n.name)}`),n.phone&&(i+=`&phone=${encodeURIComponent(n.phone)}`);const o=vs(i).pipe(we(r=>r.ok?r.json():Ze(()=>an.global.t("Inputs.ServiceUnavailable"))));return(t?vs(zo(this.pbxUrl,`/MyPhone/c2clogin?login=true&c2cid=${encodeURIComponent(this.party)}&token=${encodeURIComponent(t)}`)).pipe(we(r=>r.ok?r.json():Ze(()=>an.global.t("Inputs.ServiceUnavailable"))),fn(()=>o)):o).pipe(Ci(r=>{r.token&&localStorage.setItem(this.tokenStorageKey(),r.token)}),fn(r=>r instanceof Response&&r.status===404?Ze(()=>an.global.t("Inputs.InvalidIdErrorMessage")):Ze(()=>r)),yt(r=>aC(this.pbxUrl,r)))}createNotificationChannel(n){return new Qe(t=>{const i=new WebSocket(n.notificationChannelEndpoint);return i.binaryType="arraybuffer",i.onmessage=o=>t.next(o.data),i.onerror=o=>t.error(o),()=>i.close()}).pipe(sy(this.AddpTimeoutMs),Cn(t=>t!=="ADDP"),$y(t=>t!=="START"),sh(t=>{if(t==="START"){this.setChatActive();const o=new kh,a=new Uh({register:!0});return pc(n.get(o),n.get(a)).pipe(Cn(r=>!(r instanceof ss)))}if(t==="NOT AUTH"||t==="STOP"){n.onWebRtcEndpoint(new Si);const o=new Da({idConversation:n.getSessionUniqueCode(),status:At.ENDED_BY_AGENT});return n.notify(o),Ze(()=>an.global.t("Inputs.ServiceUnavailable"))}const i=s1(t);return nC(i),Ke(i)}),gc())}processMyPhoneMessages(n,t,i){return new Qe(o=>{let a=!1,r=!1,s,l,c=new Fc;return i.subscribe({next:u=>{if(u instanceof $c?(t.isOnline.next(u.Connected),s=u):u instanceof Si?(t.onWebRtcEndpoint(u),r=!0):u instanceof qh?(c=u.PartyInfo,t.conversation$.next(u.PartyInfo)):u instanceof Bh&&(c=u.Conversation,t.conversation$.next(u.Conversation),l||(t.chatConversationId=u.Conversation.IdConversation,l=u)),(n||l)&&r&&!a){if(o.next(t),l){const f=l.Conversation;l.IsNew||t.get(new Dh({Count:10,IdConversation:f.IdConversation})).subscribe({next:d=>{d.Messages=d.Messages.reverse().filter(f1),t.notify(d)},error:()=>{}}),t.notify(new Da({startingConv:f,idConversation:f.IdConversation,isNew:l.IsNew,chatState:s,status:At.ACTIVE}))}a=!0}u instanceof Po&&(u=oC(u,c),u.Messages.length>0&&t.isOnline.next(!0),u.Messages=u.Messages.filter(f1)),t.notify(u)},error:u=>o.error(u),complete:()=>o.complete()})})}createMySession(n,t=!1){return this.createClick2CallSession(n).pipe(we(i=>this.processMyPhoneMessages(t,i,this.createNotificationChannel(i))),fn(i=>Ke(p3(yf(i)))))}dropSession(){return this.dropChatActive(),Ke(!0)}getInfo(n){return vs(n).pipe(we(t=>t.ok?t.json():Ze(()=>new Error(`Info endpoint returned error: ${t.status}`))),yt(t=>{const i=t.profilePicture||"";return{isAvailable:t.isAvailable,isChatEnabled:t.isChatEnabled,isQueue:t.isQueue,operator:new ci({name:t.name,image:i?new URL(i,n).href:""}),webRtcCodecs:t.webRtcCodecs}}),Af())}}function sC(){const e=new Date,n=new l3;return n.Year=e.getUTCFullYear(),n.Month=e.getUTCMonth()+1,n.Day=e.getUTCDate(),n.Hour=e.getUTCHours(),n.Minute=e.getUTCMinutes(),n.Second=e.getUTCSeconds(),n}const lC=["So what does this thing run on...gasoline?","No! It requires something with a little more kick...plutonium!","Wait, Doc, are you telling me...that this car is nuclear?","No, no, no! The plutonium is required to generate the 1.21 jigawatts needed to power the car!"];class cC{constructor(n,t){_(this,"chatConversationId",-1);_(this,"isOnline",new To(!0));_(this,"endpoint","");_(this,"fileEndpoint","");_(this,"messagesSubject$",new Te);_(this,"messages$");_(this,"notificationChannelEndpoint","");_(this,"pbxEndpoint","");_(this,"serverProvideSystemMessages",!1);_(this,"supportsWebRTC",!1);_(this,"webRTCEndpoint",new Si);_(this,"conversation$",new oi);_(this,"webRTCEndpoint$",new oi(1));_(this,"sessionId","");this.sessionState=n,this.error=t,this.conversation$.next(new Fc({IdConversation:10,Recipients:[new Rh({Recipient:new xh({RecipientType:Lo.CRT_Anonymous,IdRecipient:1,Name:"Marty"})}),new Rh({Recipient:new xh({RecipientType:Lo.CRT_Local,IdRecipient:2,Name:"Doc"})})]})),this.webRTCEndpoint$.next(new Si);const i=lC.map((a,r)=>({id:r+1,isVisitor:r%2===0,message:a})),o=Dt(i).pipe(sh(a=>os(Ke(new Ta({IdConversation:10,IdRecipient:a.isVisitor?1:2})).pipe(Cn(r=>r.IdRecipient===2),Sa(3e3)),Ke(new Po({Messages:[new f3({Id:a.id,IdConversation:10,Recipients:[new c3({IsSender:!0,IdRecipient:a.isVisitor?1:2})],Time:sC(),Message:a.message})]})).pipe(Sa(1500)))));this.messages$=os(Ke(new Da({idConversation:1,chatState:new $c({Connected:!0}),status:At.ACTIVE})).pipe(Sa(100)),o)}notify(){}emojiEndpoint(){return""}fileEndPoint(n){return""}get(n){return Ke(new ss({Success:!0}))}getSessionUniqueCode(){return-1}onWebRtcEndpoint(n){}}const fC=()=>new cC(Bn.Connected,"Can' send request to idle session"),wf="Webvisitor";function uC(e){const n=localStorage.getItem(e);if(n)try{return JSON.parse(n)}catch{}}function dC(e){return e.QueueNo&&!e.TakenBy}function u1(e,n){var i;if(dC(e))return new ci({name:n.operatorName,image:n.operatorIcon});const t=e.Recipients.find(o=>(o.Recipient.RecipientType===Lo.CRT_Local||o.Recipient.RecipientType===Lo.CRT_3cxBridge)&&!o.IsRemoved&&!o.IsWhisperer);if(t){const o=(i=t.Recipient.Contact)==null?void 0:i.ContactImage;return new ci({name:t.Recipient.Name,image:o?new URL(o,n.channelUrl).href:n.operatorIcon})}}function hC(e,n){return e.conversation$.pipe(yt(t=>u1(t,n)))}function pC(e,n){return e.mySession$.pipe(we(t=>hC(t,n)))}function mC(e,n){n.add(e.mySession$.subscribe(t=>{e.hasSession=t.sessionState===Bn.Connected}))}class gC{constructor(n,t,i=!1,o=!1){_(this,"mySession$");_(this,"connect$",new Te);_(this,"auth");_(this,"hasSession");_(this,"isAvaliable");_(this,"chatMessages",[]);_(this,"channel");this.channelURL=n,this.party=t,this.demo=i,this.callsOnly=o,this.channel=new rC(n,t),this.auth=uC(this.authStorageKey()),this.hasSession=!1,this.isAvaliable=!1,this.mySession$=this.connect$.pipe(we(a=>(a&&!this.auth&&this.setAuthentication({name:wf}),a&&this.auth?i?Ke(fC()):this.channel.createMySession(this.auth,o):Ke(zh()))),vc(zh()),Af())}authStorageKey(){return`call-us-auth-${encodeURIComponent(this.channelURL)}`}closeSession(){this.connect$.next(!1)}reconnect(){this.connect$.next(!0)}setAuthentication(n){this.auth=n,!this.demo&&(n?localStorage.setItem(this.authStorageKey(),JSON.stringify(n)):localStorage.removeItem(this.authStorageKey()))}injectAuthenticationName(n){var i;const t=((i=this.auth)==null?void 0:i.name)??"";return n.replace("%NAME%",t)}lastMessage(){return this.chatMessages[this.chatMessages.length-1]}clearMessages(){this.chatMessages=[]}notificationsOfType$(n){return this.mySession$.pipe(we(t=>t.messages$),vf(n))}get(n){return this.mySession$.pipe(Fn(1),we(t=>t.sessionState!==Bn.Connected?(this.reconnect(),this.mySession$.pipe(Cn(i=>i!==t))):Ke(t)),we(t=>t.get(n)),Fn(1))}}class bC{constructor(){_(this,"onError",new Te);_(this,"onRestored",new Te);_(this,"onMinimized",new Te);_(this,"onToggleCollapsed",new Te);_(this,"onRestart",new Te);_(this,"onLoaded",new Te);_(this,"onAnimationActivatedChange",new To(!0));_(this,"onChatInitiated",new To(!1));_(this,"onChatCompleted",new Te);_(this,"onClosed",new Te);_(this,"onClosed$",this.onClosed.asObservable().pipe(as(this.onChatCompleted)));_(this,"onFileUpload",new Te);_(this,"onClientChatTyping",new Te);_(this,"onEnableNotification",new Te);_(this,"onToggleSoundNotification",new Te);_(this,"onSoundNotification",new Te);_(this,"onUnattendedMessage",new Te);_(this,"onAttendChat",new Te);_(this,"onTriggerFocusInput",new Te);_(this,"onShowMessage",new Te);_(this,"onScrollToBottom",new Te)}}class vC{constructor(){_(this,"activeLoaders");_(this,"key");this.activeLoaders={},this.key=0}show(n="default"){this.activeLoaders[n]=!0,this.key+=1}hide(n="default"){delete this.activeLoaders[n],this.key+=1}loading(n="default"){return this.activeLoaders[n]}}const d1="browser",h1=S2({languages:Object.keys(r1),fallback:"en"}),p1={inviteMessage:{type:String,default:void 0},endingMessage:{type:String,default:void 0},firstResponseMessage:{type:String,default:""},unavailableMessage:{type:String,default:void 0},allowCall:{type:String,default:"true"},demo:{type:String,default:"false"},enableOnmobile:{type:String,default:"true"},enable:{type:String,default:"true"},allowMinimize:{type:String,default:"true"},minimized:{type:String,default:"false"},popupWhenOnline:{type:String,default:"false"},allowSoundnotifications:{type:String,default:"true"},enableMute:{type:String,default:"false"},soundnotificationUrl:{type:String,default:""},facebookIntegrationUrl:{type:String,default:""},twitterIntegrationUrl:{type:String,default:""},emailIntegrationUrl:{type:String,default:""},minimizedStyle:{type:String,default:"bubbleright"},bubblePosition:{type:String,default:"right"},animationStyle:{type:String,default:"none"},allowVideo:{type:String,default:"true"},authentication:{type:String,default:"none"},phonesystemUrl:{type:String,default:void 0},party:{type:String,default:""},operatorIcon:{type:String,default:""},windowIcon:{type:String,default:""},buttonIcon:{type:String,default:""},buttonIconType:{type:String,default:"default"},operatorName:{type:String,default:void 0},windowTitle:{type:String,default:void 0},enablePoweredby:{type:String,default:"true"},userIcon:{type:String,default:""},callTitle:{type:String,default:void 0},forceToOpen:{type:String,default:"false"},ignoreQueueownership:{type:String,default:"false"},showOperatorActualName:{type:String,default:"false"},aknowledgeReceived:{type:String,default:"true"},gdprEnabled:{type:String,default:"false"},filesEnabled:{type:String,default:"false"},offlineEnabled:{type:String,default:"true"},gdprMessage:{type:String,default:""},messageDateformat:{type:String,default:"both"},messageUserinfoFormat:{type:String,default:"both"},chatIcon:{type:String,default:""},chatLogo:{type:String,default:""},visitorName:{type:String,default:""},visitorEmail:{type:String,default:""},authenticationMessage:{type:String,default:""},startChatButtonText:{type:String,default:void 0},offlineFinishMessage:{type:String,default:void 0},greetingVisibility:{type:String,default:"none"},greetingMessage:{type:String,default:void 0},greetingOfflineVisibility:{type:String,default:"none"},chatDelay:{type:Number,default:0},greetingOfflineMessage:{type:String,default:void 0},offlineNameMessage:{type:String,default:void 0},offlineEmailMessage:{type:String,default:void 0},offlineFormInvalidEmail:{type:String,default:void 0},offlineFormMaximumCharactersReached:{type:String,default:void 0},offlineFormInvalidName:{type:String,default:void 0},enableDirectCall:{type:String,default:"false"},enableGa:{type:String,default:"false"},assetsGuid:{type:String,default:""},lang:{type:String,default:()=>h1}},m1=(e,n=!1)=>{an.global.locale.value=e.lang===d1?h1:e.lang,e.lang===d1?Fi.locale(navigator.language):Fi.locale(e.lang);const t=e.demo==="true",i=new bC,o=new vC,a=new gC(e.phonesystemUrl,e.party,t,n),r=a.channel;let s;return t?s=Ke({webRtcCodecs:[],isAvailable:!0,isChatEnabled:!0,isQueue:!1,operator:new ci({name:"Support"})}):s=r.getInfo(zo(e.phonesystemUrl,`/MyPhone/c2cinfo?c2cid=${encodeURIComponent(e.party)}`)),{preloadOperations$:new Te().asObservable(),eventBus:i,loadingService:o,myChatService:a,currentChannel:r,info$:s,i18n:an}};function Ot(){const e=new Io;return vo(()=>{e.unsubscribe()}),e}class yC{constructor(n){_(this,"callUsElement");_(this,"enableFullScreen",!1);_(this,"isFullScreen",!1);_(this,"componentTop");_(this,"componentBottom");_(this,"componentLeft");_(this,"componentRight");Object.assign(this,n)}goFullScreen(){if(!this.enableFullScreen||this.isFullScreen)return;this.isFullScreen=!0;const n=window.document.getElementsByTagName("body");n.length>0&&n[0].style.setProperty("overflow","hidden !important");const t=window.innerHeight*.01,i=document.documentElement.clientWidth*.01;window.document.documentElement.style.setProperty("--vh",`${t}px`),window.document.documentElement.style.setProperty("--vw",`${i}px`),window.addEventListener("resize",()=>{const o=window.innerHeight*.01,a=document.documentElement.clientWidth*.01;window.document.documentElement.style.setProperty("--vh",`${o}px`),window.document.documentElement.style.setProperty("--vw",`${a}px`)})}closeFullScreen(){if(!this.enableFullScreen||!this.isFullScreen)return;this.isFullScreen=!1;const n=window.document.getElementsByTagName("body");n.length>0&&n[0].style.setProperty("overflow","auto !important"),this.callUsElement&&(this.callUsElement.style.setProperty("top",this.componentTop??""),this.callUsElement.style.setProperty("bottom",this.componentBottom??""),this.callUsElement.style.setProperty("left",this.componentLeft??""),this.callUsElement.style.setProperty("right",this.componentRight??""))}getSavedPosition(){return{componentTop:this.componentTop,componentBottom:this.componentBottom,componentLeft:this.componentLeft,componentRight:this.componentRight}}}class AC{constructor(n){_(this,"enableGA",!1);_(this,"mode","gtag");this.enableGA=n}isActive(){let n=!1;return this.enableGA&&(typeof window.gtag=="function"&&(n=!0),typeof window.ga=="function"&&(this.mode="ga",n=!0)),n}dispatchEvent(n,t,i="3CX Live Chat"){this.isActive()&&(this.mode==="gtag"?window.gtag("event",n,{event_label:t,event_category:i}):this.mode==="ga"&&window.ga("send",{hitType:"event",eventAction:n,eventLabel:t,eventCategory:i}))}chatInitiatedEvent(n){const t=localStorage.getItem("wplc-ga-initiated");(!t||n===void 0||t&&n&&parseInt(t,10)!==n.getSessionUniqueCode())&&(this.dispatchEvent("chat_init","ChatInitiated"),n!==void 0&&localStorage.setItem("wplc-ga-initiated",n.getSessionUniqueCode().toString(10)))}chatInteractionEvent(){sessionStorage.getItem("wplc-ga-interacted")||(this.dispatchEvent("chat_interaction","InteractionWithChat"),sessionStorage.setItem("wplc-ga-interacted","1"))}}const g1=0,ys=1,Cf=2;class wC{constructor(){this.atomCharacters="!#$%&'*+-/=?^_`{|}~",this.index=0,this.type=0}isControl(n){return n.charCodeAt(0)<=31||n.charCodeAt(0)===127}isDigit(n){return n>="0"&&n<="9"}isLetter(n){return n>="A"&&n<="Z"||n>="a"&&n<="z"}isLetterOrDigit(n){return this.isLetter(n)||this.isDigit(n)}isAtom(n,t){return this.isControl(n)?!1:n.charCodeAt(0)<128?this.isLetterOrDigit(n)||this.atomCharacters.indexOf(n)!==-1:t}isDomain(n,t){return n.charCodeAt(0)<128?this.isLetter(n)||n==="-"?(this.type|=ys,!0):this.isDigit(n)?(this.type|=Cf,!0):!1:t?(this.type|=ys,!0):!1}isDomainStart(n,t){return n.charCodeAt(0)<128?this.isLetter(n)?(this.type=ys,!0):this.isDigit(n)?(this.type=Cf,!0):(this.type=g1,!1):t?(this.type=ys,!0):(this.type=g1,!1)}skipAtom(n,t){const i=this,o=i.index;for(;i.index<n.length&&i.isAtom(n[i.index],t);)i.index++;return i.index>o}skipSubDomain(n,t){const i=this,o=i.index;if(!this.isDomainStart(n[i.index],t))return!1;for(i.index++;i.index<n.length&&i.isDomain(n[i.index],t);)i.index++;return i.index===n.length&&i.index-o===1?!1:i.index-o<64&&n[i.index-1]!=="-"}skipDomain(n,t,i){const o=this;if(!o.skipSubDomain(n,i))return!1;if(o.index<n.length&&n[o.index]===".")do if(o.index++,o.index===n.length||!o.skipSubDomain(n,i))return!1;while(o.index<n.length&&n[o.index]===".");else if(!t)return!1;return o.type!==Cf}skipQuoted(n,t){const i=this;let o=!1;for(i.index++;i.index<n.length;){if(this.isControl(n[i.index])||n.charCodeAt(this.index)>=128&&!t)return!1;if(n[i.index]==="\\")o=!o;else if(o)o=!1;else if(n[i.index]==='"')break;i.index++}return i.index>=n.length||n[i.index]!=='"'?!1:(i.index++,!0)}skipIPv4Literal(n){const t=this;let i=0;for(;t.index<n.length&&i<4;){const o=t.index;let a=0;for(;t.index<n.length&&this.isDigit(n[t.index]);)a=a*10+(n[t.index]-"0"),t.index++;if(t.index===o||t.index-o>3||a>255)return!1;i++,i<4&&t.index<n.length&&n[t.index]==="."&&t.index++}return i===4}isHexDigit(n){return n>="A"&&n<="F"||n>="a"&&n<="f"||n>="0"&&n<="9"}skipIPv6Literal(n){const t=this;let i=!1,o=!1,a=0;for(;t.index<n.length;){let r=t.index;for(;t.index<n.length&&t.isHexDigit(n[t.index]);)t.index++;if(t.index>=n.length)break;if(t.index>r&&n[t.index]==="."&&(o||a===6))return t.index=r,t.skipIPv4Literal(n)?o?a<=4:a===6:!1;let s=t.index-r;if(s>4)return!1;if(s>0&&(i=!1,a++),n[t.index]!==":")break;for(r=t.index;t.index<n.length&&n[t.index]===":";)t.index++;if(s=t.index-r,s>2)return!1;if(s===2){if(o)return!1;o=!0}else i=!0}return!i&&(o?a<=6:a===8)}validate(n,t=!1,i=!1){const o=this;if(!n||!n.length||n.length>254)return!1;if(n[o.index]==='"'){if(!this.skipQuoted(n,i)||o.index>=n.length)return!1}else{if(!this.skipAtom(n,i)||o.index>=n.length)return!1;for(;n[o.index]===".";)if(o.index++,o.index>=n.length||!o.skipAtom(n,i)||o.index>=n.length)return!1}if(o.index+1>=n.length||o.index>64||n[o.index++]!=="@")return!1;if(n[o.index]!=="[")return o.skipDomain(n,t,i)?o.index===n.length:!1;if(o.index++,o.index+7>=n.length)return!1;if(n.substr(o.index,5).toLowerCase()==="ipv6:"){if(o.index+=5,!o.skipIPv6Literal(n))return!1}else if(!o.skipIPv4Literal(n,this.index))return!1;return o.index>=n.length||n[o.index++]!=="]"?!1:o.index===n.length}}function CC(e,n=!1,t=!1){return new wC().validate(e,t,n)}const _C=e=>!!e&&/^(https?:\/\/)?((w{3}\.)?)facebook.com\/.*/i.test(e),EC=e=>!!e&&/^(https?:\/\/)?((w{3}\.)?)twitter.com\/.*/i.test(e),SC=e=>!!e&&/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/|\/\/)?[a-z0-9.-]+([-.]{1})[a-z0-9]{1,5}(:[0-9]{1,5})?(\/[a-zA-Z0-9-._~:/?#@!$&*=;+%()']*)?$/i.test(e),As=e=>CC(e,!0,!0),_f=e=>/^([^\u0000-\u007F]|[\w\d-_\s])+$/i.test(e),ws=e=>!e||!!e&&e.length<=200,ao=(e,n=50)=>!e||!!e&&e.length<=n,Ef=e=>ao(e,254),MC=(e,n)=>SC(e)&&ws(e)?e:n,ki=(e,n)=>e?n?ao(e,n)?e:e.substring(0,n):ao(e,50)?e:e.substring(0,50):"",IC=(e,n)=>As(e)&&ws(e)?e:n,TC=(e,n)=>_C(e)&&ws(e)?e:n,OC=(e,n)=>EC(e)&&ws(e)?e:n;class Sf{constructor(n){_(this,"lastWebRTCState");_(this,"peerConnection");_(this,"remoteStream$",new oi(1));_(this,"localStream");_(this,"isActive",!1);_(this,"isMuted",!1);_(this,"isVideoCall",!1);_(this,"audio");_(this,"isVideoReceived",!1);_(this,"video");_(this,"toneSend$",tn);_(this,"isNegotiationInProgress",!1);Object.assign(this,n)}get isVideoSend(){return!!this.video}}const ro=new Sf({lastWebRTCState:new qc({sdpType:st.WRTCInitial,holdState:Do.WebRTCHoldState_NOHOLD})}),b1="data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAAWGluZwAAAA8AAABeAAAreQACBwsOERQYGx0gIyYqLTAzMzY5Oz5AQ0VISk1PUlZYXF9fYmVpbG5xc3Z5e36BhIeJjIyOkZSXmpyfoaSmqautsLKytbe6vL/BxMbJy87Q09XY2trd3+Lk5+ns7vHz9vj7/f8AAAAbTEFNRTMuOTlyA5UAAAAAAAAAABQgJAJAQQABrgAAK3nRrtihAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//sQxAAAAkwDAgAAQAC9ACG2giAA///////9v6L+76OXf//5POCdFboVskk0IAIC63rQ50nMPvqutN0Lr1dH6/zmp0/c3j3UijGYq0y3/u2403A7QWEihDAEFoDHw4HoQBAJBA1/9Er/+1DECIAKaJMfubaAAXyPZWc80ABUzsV/n4GJBhxil/88wALDBe7LEnAo/vLQM8aK9tQlAjBAN36/kAe5uPNS/b6zQECjdnSH0kNaPnLX7fs9n11//uoAAQAgggAAAAAMJcFoxqBBDCzEaNGjnwwKhSDPL+sMUES0wRAfzFED8FQDzikHeC4F5gAgQkgCA0F3LA4J6nA9Q7JPgYwEGBSvwdJLBURMOrwqIwgthxEt/50KgF31KVUAADiDPWqjAcBXMHYLkwjAQDFBFmMrm0g6//swxAyCCigjI13ggADkA6X1r2RMVjfD9gQDMtwjUxBAKjASCUMN0K4wiQ8DArAsCAMnGm5aCx4q7Vrs0T3nvT0lt/n/+39SP6//1fpBdia3zbiXwiDhUkZauYQZtxugsampwAaYG4AYGIR4TLLHCTUvFdtSq/vt+r/V/Q19e3+3///p/1qVAAAIACQDAAsY2emsWBi2ognk7UuZ//sgxAqDBpAfKQ37InDOg+XNv2RMpQ3ZgUBBHT6baIPMOlIMVY5aM/b///////////+nXpQFAbDAAOCRoQHoFpDBSRrNHpi8ylRTzAYBaM2MBNiVhunlZDUL7v+r/7f////b/0f///SqADoQEKgo6IqA7UTMK2C8jb0DdEzmME3MB//7IMQMggc8Hx5N/2JBEIRkHc9sSCAQDEwEt2AAgxHJZ1GJeCZSqrqV01////f/1f2////7HhAErchMXjwxUWzG6wM6ZcxCbKDN6HWPiciwxJAozNyAwYZM5MjQMsz0RGgqM1saMWuZbosV83/t1f9n+qWc13//3/0KAAAopStJExv/+yDEBALHzCEnTftCYMAEJSG/YEwYMoHzUzA6Z1Mh0jQ+ldHDZLGwMNgFUrhjhcx6A01EAjWTTN8mmnda6z6Pf/u/3fR//d//p/0AapSVAYZKTDpAwb1zTWz8qM1oO4wEQDWkQIwczYJkXsrYQVXs/////0f/////9v2VAE0AYMoE//swxAMCBzQfIm3/YkD3g+V1v2hMzPxg3gdPzZDCzBKU0JYzSMzkA7DBdwEU5RKMuUDA08wzAABA6dwkP/+7/Z/X/2//////cAnGlBEo1+GDgZkxQazLmKEl4bKjhZvoAVGGOBicxYZJIYc2DMhhQj94C11Sy24uvlf3///f1ff/t/9PqNalBEsbSMVDjHh801MOUxTCVyI41Ytp//sgxAqCiFgfHm3/QkDCA6Z1r2BMBMi2B7QCAnGDNgUSPMTW6ghnang3FhfS5KrMVjPo/31Ktt9mrfT65/+r/v/2LAsHFwaOFgRhy5qrRhfk+mtasOY+4eJghAgHnZnOBqGtKVsID11H////5/0f/kP/+tVwV9IekMBgUsJwQfZtqP/7EMQHAgM4HT4M9eKg3oOk6a/oSIZgQAyQ7Ex+AM6BmBsQAAANmBZcyyY7OEwXoMsNAuDBjJBQMAwFQA7GASLAGBGA5otRYYplyWK9rpv///////////1qAEAJYG0YxIRiwzmN2QZe//sgxAeCSEglIO57YkCwhCSVv+RI3piM27GdvsYcypoRhhB2ki4TLBrY8bRCgKPIg6Mz17NulH9K/7/6+zr//3eM3//0/QjFxkMZFDJBk0MoOScTCMQUA0c1CAMG2CBDAaAIEwwkMTdCD8AqGv6xfM9G30UVAEMACgAABwV5IyisQv/7EMQGgMREHTtM9wJgpAPk1b9sTCdM1x4Y4+AQmCJUEGPSVENpZT//9oAzHBczUcNiIzu2gyQDFz0uHNOrAJEDEpGyDxhRsOnYJmAILNZmBZvHKgAg0IBIEGKQuZQMhsGSmEkFTxmO//sgxAoDB7AfHm5/YkD0hCPJv+hIzQqZhwDFiwVcbwgGRIgVQzG7Ay0aXfLgWU/xarZ3s9//1f6v//9Pb/6kA+wyESM6DzczI/SNML3HYDVjW/ExT8JvMDiAlD41zawzULjkxzGlYAhdgHF6qNzLFqQj///0f70a////TQCEzHhQM//7MMQDAgaAIR4Of2JBFYPkHc/sSOqU4RlDDHyh00eMyRM8tC/zB0gRo9W7NtfzZmY2HrM4KQ4Ih+kBwM2iJVimq5oYIfcjRg4OmBx8YGPZi2hGCfEp5oshOEZw+B0mB3AORr6CZOQmRFRieSEKqfFOERmUXRGkWXu2e39Sev/+huzOPZ//+7KqAEQJmXCOhIwaPTISGNf0EwrAd//7MMQJgghwIx7uf2JA6ARjid/sSoNmKRZjKvwv4Ggc5mjcaESEU2a5Eg5WRalkOUhMhvXeqqmr83+u1/9/9XZt7f/+rqAJADD0XjDImzDtCjGCZTBWTr4y8tWgMFwEoB0F3NIpjZiYXIw88A2ORE7QZdRDzFDrEr2dRn/+1n6KAAQgA4GAAAD/OKroWiYL4E5ovmAH2B8X/ZhCIf/7EMQOAASQHzuse4IhDAPkHc9sSGIgBAc/z9X+oAwAAjYRigZmJSwY4VJmPFGGZXmaz8FB9lC0mJaDYaMFmBjhkR6ZHrGcByEMqCSWovcu2l7O7//1/b/s0t////r+LroAAACUMACw//sgxAOARvgdMa17ImCMA6f0zuQMCAICYsAZ4adFcYjQppulLEmi4FiYPICgloOCAw0w7kbIqes2e3////9f37v/////qBADDlwoAOAvW8xAwiTo1A6k6hWQprum159nz0s+TrD5oQeiAW9EzHR014zNHZDG9Iyq0fjUROmNt3c4sf/7IMQMgwgILyRt+4IAxINijJwEIAjTYmMBEEGC4EicDEl1mUyB/oex5rdKdwVdE37/b/p/7//2f+//+0h+ElCI0/yRxnQHCbKXJbx/XJsM7qErnSszU0rO/win+U/lrF3RX9rDvRSq2Vcv//N1CAgHX//3///+n+roa45VmtCFf///+xDECgBDOAMQoARAAK+AYbQQiAD61IBU+IIABAwJJ4C+6z6nt1df9V3/Y5q+GOxYGSfc02ppIotcSnTL6Kf8ypaqhQ8NSpRGAg232gAAeed/7+R65f6//r/6/1P95TOa31IHZqRzGf/7EMQQgEcBeQughHfAWIBi/ACIAJEEwMqqOLQ3Nhzatfn/89ZFOVmOme49BwAAAIABwAr/T/t///////1////s9NXD6z2i+4MAADYQepbrKt9AwO3+//+Q/6H2f2MDh8DcUiu7//RZ//sQxBKABNgBEaCEQAB2gGK8AIgAWBQhWAFVgXABkACQu1P3btP//9b6v9n+3////1Y24sofjceADAAAAUDLFbHf/t///+n/c30oU78y///6bY/WW0CWTeJzzRdPqKa9vRGo/uXogFf/+xDEGYBDwAEToIRNwMKAYbQAiAD7dhqlSiRURsQoQFDh1iiKtu2qy3psGPiMdB1d/////////9+7////8XQ7NCODsi3fIgIMW5aVVKfbv3MbXGfqUijZ2al/v/pez7t5N3R/1rUxxv/7EMQbgAHEAxQAAEAAq4AiPBCJuIkT9troEdupAAB3end/+vR6kK4v1//yqf/n/84sd++B75tuI/7qRZnmXff//8z6syv7gy2m6GAQhABTLattTruc//////6v6933I//05oyqgAQA//sQxCiABmlxDaCEV8hngGKugCAAAAAFgbaCSAI5ruwExMaa5/OHQUHgca/fjQxxItIXcvktX85DmIp9Hv2e7lOb2W/0Xe5b+z/T/aAAA1SAgAAYOh0ZwKEIxKMTbuMIANNcWjNDBcT/+xDEKwAHTFcfWaGAAL4E59M6EABdOgBUQInjACIuttE414QGl5HaUwAAKgAwDACxGCSYbgjpiEDRmZIQ6fDVTZwkFQmK4MKYqAbphChjGEmCQYJ4ORgIAQLljMVER3IVxe70gBxAwP/7EMQfggdkISUd4QAg3wPlNb9wRNJpughATDhwy2DML5ZA2xvfTMcBMQhpOhMhnJQFxYJRe+7X1zDO6N+//6v9X/9Vv+3/1dgxsOMyBTVyQ8JrMk9Lw+Aejzn3EnMSAD43E7MlQTCD//sQxA+CRXgfJA37YmDdhCTpv2xM4w+PMBFYKpwTIf6PvAIgCoLmMCho6Sc9fGOivGcwqqR1LhdmI4C8binmXnpjB4YXKmICLEK9QSfbr///0/////////VVAABIgWGo9Agsz/DCALn/+xDEBwDFtB0xDPuiMFMDq9DNMEzNjR1o+fGASClv5K6QgB1blh59Pt/9v/////9f////VWBbgAIDs4AWKBDgOlyU4IGBbLB96gBEBVBBGJSEYYO5gFmGNvKYeePR8L6QHjUbcYbokP/7IMQPAwh0Ix7ue2JA1wQjyb/sSJvEsaokG4lJt1MDpYeF4Et4B+ZErkqu9C/2f5t1X///q////7iQABahcYsEGYj52SsYVaHQm35iCRnzgCKBgRow4BLbBYNAu0ha7uVViPvq1b//////+///+r0VAAAIkQABEwsIzCZAMKIMxXL/+zDECIIHmB8nTntCYQaEJCm/6EgjCMe1MZttk3+h7TCNCQACkWRGqHm30AaIpGXAt9BetnFv6P////////u/pAkATROEzIrNFNjbl09/EML+DUTWclQ8w+QLHMDNAojaFzAmDbJTptjFFFIyK8aZGck5mT2fX/o/RZ/q/1/u/9H9SgAAAZW3MLZWuZDiMkiSmYDhuRnQP0nyIpj/+xDEDIJHPB0xrXuiIKOD5aWvaEywmJBt3WQIQfTPnj7xXY3cvqz3l//2f0svAn+z/0f6/9QXwAYsEZYGbEcfJ6YuZPxxCmTm56AgEC+HBImFNjhwgwhcLGsWTWYsqgCkhgMQlYOY4P/7MMQEgge0HyLt/2JA/IPk6a/kTJGpp52HEYQ+PpmWMopRlvYGQYJsAZG3n5jqCDEQRUpjwq0iZFb9FC1Po1fu///6P////7NYVEihApgISZEAaw+efEYL8J4mYdIahgdoKwYCKAinA4YxRlhkWIOAr3jTVbloZ4ur+n//7f//s/rR/urfrdSiAAAcIABLyGKkJni0crymO8sId//7EMQJgMcAHyct+0JgWYOrEJ0wJMFDxvJD4GHWFGe68bR4bNebTQZUUpOWA4f7Lf+7/////////+qICzgAIhmSMZIUwDLi4SLs4fyNswFz9QAA/RVzQaW2BBRlUp2PBivmInvu6KbZ//swxAuCB9gfKU17QmENhGQdz+hIgmJgLgqGFNg4ePITLzkLXttOU2zFcu3s/R/WebT8z/s//4t//X04WICJY3EYwI5iE5GIGaZP7BgYRcqYp0gXmI8BxZgJoIcZ3mb8aB5p9WASQJjMH0V8Y3He3X1+j/cr/bY//+9BD9n//pSqAAAAYiCHqcZbUwoQzQk4qQxJgkzroitM5EQM//sQxA2DBxwhLa17AqDAA+WNv2hMRgYIdWPDQTfthkhv8s9yf7f/9y/6ez/9f+//+zqUEKGwAAQICCJgJkYRImA+mgZ8TB5tEgiGDcAqPGk/QqGC08MHvNiP//b/t/+r/74tAgkTM5f/+zDEAoJIuCMaTn+CQL4D5TG/YEwNJGE3GkD1U/MTzHUjdd0OI1VELQMJ6AhzcIjMYoMxelDJ1RMTlMIAzux6ZJARAVWkq45m/G9f////f/V////srAgUoNfAgAYmPmhQBh9q7m3r48Zv4fBg4AAnUIXWQiNnwVGKUp6vV67uv////Wr6VQAAwSAMAcBBxoBQTttjE0LtOD6kI0f/+yDECwNGGB0tLXsiYNSEJAnPbEgA0jCFAlOpowEACaYmBey6GdXq/1///////7QMAQIMZjMz0eDfsxMtqJw/GiwD9AHkMbcMU76QNUbjRV8zjsMnJC9cYpwT+vf9tnLf////1DCokMJEExSiDKlpMHJLqjWe1eE0LwCnMEFALzVj//sQxA6DxkAfHA5/YkB6A6aBn2BNAxwmMFLRH3BDUmvNC1zkQ5RaTY3telGwAom58YTo4Zrnp8mJMFyYBAFRlaXHFgBxlqyZao2AAAwoBEIwUUhf0YERtJmRJGmR+H2YDQIRnqDliVD/+xDED4MGMB0ybXsCYL+DpYmfZEzekmC+Rr/u3WM///////////60gAJXAJPEZAAiMOQHw7LkoTWnBVMBcCMCFJholCDGKz4kcCF3t/r///////////2VHAABwKaY6aX0dFeYFI5xm//7EMQIAgYIJSpNeyJgqwMitGe8ACoFGbKO4YRoARpiBdITGOasoIkUeo4zZWAgddhqsr9qQJQ0oyARQogxAwDlAh+gOKMULCrRgNMJUevR2/6PxJ/T6PbTq/V3//7arMn14Zd/60AQ//sgxAQABfgDEaAEQACwACH0EIm4FwFcKuHuvS2KtIu4RIM/6+Kvt05R3vf6M62uHKrjbitvR0b7ljkUL2420swHZAADXIvY4CvW0lmP93/dX1end3KElFzhh2QdYqQuGW2f9ntYRDJBA9GtkAAoAAFC6LorX///2f9/7KKO8g/KGv/7EMQMgAQ4AxGgBEAAwABh9BCIALr6PT/9lV6lKtG22t1HAIBB3xVCRS+1zLFL+kX//t2V9lmsOVi6XvFGLskygs1QroR/9hNAeQAVqQhVYHZlQTxEAClylYtjovV6O//s1f9tmjWp//sQxA0ABHgBEeAEQADbr2F0EI752/b1u0Xf/obqpsw7EkrnZAAFzPnn978/LrR/7///fy//+RkfnS6FZEdmBg5GvNizDOhQ/81f/8su2dKZL6hAiKIa/e2aXeoAEZ1ua6k9az9/8vH/+yDECQAGaXkPoIRXwMeuobQQivkX/7Wv/+vn/Kf7U88stERi4f+ZZ+2iLr8vc8/squSylg311o2lAnaAAB3lRc0V75m//kX+X//X/nkX+/foXyLZHvl72TMvLMq1//v//fpWqwZsyVUDzDGNAAAO5u339n9v9XX+TdPFX0osETUi//sQxAyARbQBC0CETcDaLyF0EI74zi8uKLaoaDHNq9HV3qPPPIEig0CwlgUjkA6G1IvOgXPo+y////l/l///8y/9TZkwXgGQ5tBZDpFRtmUrmchf/ev+Z+lvzNU0RmB3qrbBv9YLqiD/+yDEA4AGEAEPoIRNwMoAYbQAiAAQtKnVF1KgKx37KGf9/b6V2rpMeV31RcCOJqHrI9zrzafqQyo+Ni7QCP2u2GjsvaAABIyoqjWYTeUZXv2lf+jx+z7G9dd0IKEykAi1IddbEZj2bKOywCiMEA8YFnHBI3HL6AABd0TyKtct68y+//sgxAiARyF7C6CEd8DSrmG0EI75t2s3c//r/775a/ZZ+EqrQMpsxBBuWdi6l6ReLn/8Jgn+0MOT1T6MPfoNJYxZ4Cq+5mXl2X/Q/+ff/+Vz//5cXvI+KueRpszlToVJcFEjCb1lq/+v8vz+7G7PRJDd3uurtlvqAAAbUpiXNctNQ//7EMQIAEaEAQ+ghE3As4AhtACIAHaU1s0K+9pxvTT9CZyyQfWSAYuwXpa0up1jtf/TtSDpVDw9C4uE31ol4N42pSiY213sp6KP/+3s0Sj0FXnTaTTEGlXvUof7l//kkqHiA0sLE6Ba//sQxAEABkF5D6CEV8h2AGK8AIgAKIJb4wAAX7Xz8/6/yfry//mX/q7X8u+9fndm1LgPOU30LfhZi+n7//9ro6b9JB3YhgcKd1Z9gAQABuxC7Cdfajd////6f/9X+7//+xaF1nejGl3/+xDEAoIGLAMNoARAAF2AYvQACACBAAAqq4UrvoW+l7kVNVfp//P9yOt8SOQau3OQp9JiFZEVSz/3rFksKPLFBLwAABmAEMv1////xX9X//2/9X+v+r7lpQCHcAAAAcVkAjW9v//s///7EMQHgAPoARPgBEAA1y6htBCKudPb9//Zq0JU49/6P/8UpQXv1kFgtvpAAEzKcnP5ev75/L/y/8rEY5/+v/h355T9tMZnI593oqeTnGam0///1V9nd3Om42V3WGV1RWt8YAId5O5p//sgxAaABgV9EeCEV8DKruG0EIq5xyLLz0eUvP+///zy9///yP1TL89V9P9WX/7///l9P92J2BMNe5cLXegAANuGdSPz89jqI8uf9v//8v/y/r+fThIVTnGKZB/OP7if+v///+u6rTlyjIEUSRhiWZAAAc93ql8H9ctf5ary/+X/7//7IMQLgEaxdwughFfIwq8htBCK+f/zr2uRpxkTU2UQ4E6KRBA24///f/z8tmWgMzJYKTsGlmgknik+51vNSv9f3X5Zy//3/mX/m5/9fLk95y53MlKXF+p7///4NXRn5keQGoSql4eERUcMPkAAGDFGniliMc3lh3qV+tyvZ92jsQj/+xDEDoPF2AMP4ARAAFqAIcAACbjdIqcKtSNZT25j/qryBNQkKEf//////937qZAO5JFej+v//NqSk8UCFZZLbYFpoQAAbQ9ZRjXhI96U2d6G/6P1/ygUQvjiJ5wRYtGVKuhxhUaum//7EMQVAgZ0AQughEuAOwBjvACIAHu1a4seEhIuYIAEwAAECAH/hX////1f/Wp6aiWuW+IAAWdSAA/Wd5/u6+v3l//xf/Y//8jXkfsoasnRuRHGLvI8DyWft///k6eizndbOwNwwGAJ//sQxB0ARtF9DaCEV8DGACF0EIm4Gp2Ipu92jdsf33f2ev7BNPKIkSIcf4CGBgOgc6PQ1KSZeeV/32GyJUJhEoIkENaMNbtboAAAiFqcjemxPVb6f6///encoVMJ3sUl6yDf//psuVH/+xDEEoAFDAMPoIRAALgAYfQAiAAx4VNeQb2SXbtEABjnIOi591NUjRYii5bf0fq/jn1RO21+igktSwKspMM+3/stoGAFVXZZVVVFC31gAAkzV7Wiux/Sxjfdo939qu7zbrUkqgtDzP/7EMQQgEXwAw/ghEAAooAh9BCJuCZU4YS04Kdn/rb33NNhvDf2SW28JEVMGmsoGabapD06f/0P36g6xfI00U6c/f0VJ//Y0k8DhQeq2w0tt13yAADSO2CBjF0V2vzddq/239+inXpr//sQxA2DxeQDD6CEQABJgGIAAAgAeSS2XdDfM5WVfa5Gj6OeoMk3FQD////////6PR4a0fp//0z8gKkaZXaGhkZaPWACHEhOmOY+hRJd+r7v6/7/u/36u691+uyj/p+TDTlQDQsKzKn/+xDEFgAEzAMR4ARAAKqAYjwAiAB3yQADyyBSBLkrt11ae7+r3+PpWXou798jvoQ/uQ7/9PLtOuJoAIlwiFcOBgQEKlXXjr6O///3f+z///p/R//6LxUIv/////5f6/+l0dbYuQ/0///7EMQXAwOgAxfgBEAAXYBiBAAIAPVsWgWS8dW2CVySwdIAAKzvpLeWDXc/z/3///l/fa/y8Swryfn0x+v0/wFERMOyX//89511eSihXyBkBGSDMzKPwprHPE667q37GX+xdu/Z9Wqz//sQxCYARnF1DaCEV8jggCF8EIm4IPPhkmsI4sHUBQMsW1oq0qErI5cr1bUULSTALUGwWGL////////9n/p/T/91vtIkJdxZJLN4hKSx1qnVNXRc/pu/3YszFvsXbQhE49rAiBdgSND/+xDEGYBCCAMSAABAAMMAYbQQiAD33HI1sfkP+KoEswFGGPN7tdrvugQQ14GWTvudLm6RQ+hY9Tlf6F+xn/c2cvedqum/fvr/+U0LUeWLCYIsEKqqqKG2qIBBMQHVoRTYv3j37KP9nf/7EMQigAXMAxGgBEAAmoBiPBCIAN/9nrd3ddxv9bKv/utywugACAAA/f//////V6NX/6/er//98cXAtoEklArxqO9Oqni3/9nSmEv2UX2tukEeRGPUsWT6P/o9I1TEVbqI3GpHmQAA//sQxCGAQqgDEwAAQBCTgGH0AIgAnPatdl19zNFvVX9PmdjrKaFUUsYlqDyYu1iWvYgSBdVFYt26etrFhAHBQEQy6vCu7MrXDMgEC6HrS9yHor2uo7f/u+d9X13f9lrP//o7E5CKKpL/+xDELYAGnAMLoIRAAJEAInwAiADbBYxJ4AAAtIacYbttY/088VH/2I/Wb3v0UtrDjBpFQ14wCDCrCjJ9zlPd3W6W8eXICYqLGCDAAU6swBhwCAAupVSHJZ8X+///7urUz/TUYT/////7EMQqAAbcAQughE3AgoBivBCIAP7xWYr3Ua2iWeIAAKMCDEsYkVWfoqvt/t21o0JrZvzjx1Ckqeh740XRW3UTWllqov6uxDkkBGeNms4Jq2AJgBqXUMtZd/rUyKf//1JlJPJixxBA//sQxCeARqADDaCEQACwgCG0EIm4dnjl2hMHHMJ9/9VOiXBIVBIK1f////////7vr/2f/9WFGFjevmFult9RAIeLJQNpeqxlO7a/p/3+3/s7N+xn1p/Win/0WkDwnUpVZZQFRCl0IAL/+xDEIAACFAESAABAAJcAIjQQiAADSzRZzJ/chGjmer/G+uzdqavtumVuNGypGK9F9E9kNSa3rVCg8mKhgur//////////////9mi+Au31v3jIACDfN1pPiyGp0EtHZ/u9X/T/R32M//7EMQuA8ZgAw3gBEAAMwBiwAAIAN/p//p96ExxyyNyXMAAArR6kIpvnNFtKi1atv0/u8whgnxo2tgsFSePHtFjoGCwjFXMFtSq6f1wG+MAASoPe6wC2+kAAWJPIWt6PmXYl9+j93R1//sQxDeABFQDE6CEQADXgGF0EIgA+zoZEAMEkNcZvNnRcmKkGHWxZ3T288m4HDAiLBoIAGBH/////9df+939/fs/7qnav1eXE1WADAAADgMAAN7f/60X//+oTf6dLvb/X093//fVMA//+xDENIMGhAENoIRNwFgAYkgACAAgAO4O34AACFjOi/ke7Sv////v/kEXf/zn/6F3lgdmZ3+HaAQFCjnWvreKJl9cx/9FH2Dnfynro/T/9qv//Xd/t7tb/mQAHHBd5BybWb379TLf1f/7EMQ4gAOcAROghEuAb4BivACIAK+kv+r9SuL60U6dN9X/7OytiQB9RMALwCAB1MVot/9t////U711uu/e31LfV/9XNm40u4Qrq6qiO6EAAJZzs5vuMlrnPl/P+v/15f/6f6/RbKuT//sQxEWABGwBFeAEQACagGJ0EIgApdxptoH3C2lokJXH3Cn/fH6XhEFBAI1nkABwcFGAAAAal/us9Xv///////7///+jItem//8XXUeggAKUwKtTTKJfbbGeq3/Z/+hf/emu1g59Cf//+xDESgAEFAERoARAANycYbwQiXj/frdSIFL//////2+y2Oteac20M2B6+i+7MPJ/+awKgYREYPwzM7qqou/zACBSa0nmMdZVbc1+9qPzlb/zn9L8i/OtN9NTnW6FPNU/iz19a4uq///7EMRHgAN4ARXgBE3Al4AiNBCJuP/////////////6B9sBhhhwwARGrR2dHq/T/+5LU+z7/91rH+rv//sOLKpT131Fvg3BIABrSxzW1pScH7OLQhu//1XCnYKGl47Q0uhFMm6t/0xb//sQxFAAA7QDDAAAQAC4gGI8EIgA/9cVDYWAgAwRIA4KL8N9qe5Ht0ez/v///+gy1PHf///k3NggAE4AAAHZAAHS3//6f9X6f39n0k9hg1TZU/dv/0b3MKEVhsMjj0aWybw3IKbH3PL/+xDEU4ABiAMaAABAAIKAYnQAiABOfcze7o/jPX/XRQ1Uw9hvvyNyxBOdX/V8uScMJ7ZtBWJbqgAAVYkcYVi1PumNnV8c31c3q7bja3MPsELBG4nGj2BN0Dd+3/c9ObShwdCQzkErkP/7EMRmgEWsAw+ghEAAdgAifACIAFqEKtam1ddmL/am//V/ANj8J0rKNSxbhND70LRWXrBwsIjCFvQ7f1oi4YHhcMAgwHgQ///////R/Rl96d5uKLWW0tt/+uToiEQBQGhlHg1HAXSq//sQxGqARGwBEaCETcCiAGH0AIgAz/3/7f///bMDNgyipqfcw1FFd3/ye9ACcTUFdXZgeGwFQAIsHIaqzcZSzv//ov+z+n+n//d5/+3dyzmk6AAAAKBwAAAz/9//f///9LSuzKzGQA3/+xDEbgBGNAENoIRNwNmAIXQQibiB5yeNW6//vmSpB5ANKkejREVUTfyEAhLw0tb2r0kadaKff/avdRbfUvJdqvf41g9b/WpDP6epZoaRYwJSwMsKysu3oACAnvmE0qRlaeeX3f9////7EMRjgUNUAQ4AAE3Af4Ah9BCJuOj6//T/d0v/+coqt2uersvpAADVLUwm2OP70pMaOo99LQaQzv8TppyAspVIx9TCDnYsTRtakQHH+v1MJ0n1lgqIR7GEMiAABbmZTxSAV///7V7///sQxG+ABEgBE+AEQACPgGH0AIgAf//5F/9a88y+nJkyPox+RkM9JDzbabtv65////vXSs4JkCBTrwAAiFgAYD4AAjrYTuZ7f9H+xn/////2fT//+G4AAABIBwAO/+yj//6qvV9ZXrf/+xDEdYAFzAEP4IRNwIOAYnwQiABxv7FavkSFt3/rZUTAKmB4AHeQb8dkhAtrtcxZTp5j/6mbP+j+m2wX+7+rs//5IgzQgApmqXdgAAGlZHUhlqt/XrhNH9PR/2jFyMXQcabYuCMXEv/7EMR3AEbkAQ2ghE3A1y9hfBCK+QqZSwtUhLoz/RTNliwMhcGBSv///////9NDnXU3osOUq///6PIf//////+nb7lOcWHblrRJf//VmhAfiEVqAwklltuiAAFTVjxXY4aoJe7sV/S///sQxGoAA3gDFeAEYAB+gGHwAAgAZmVI9iswy9Y84hrbaa6NaNTfTr9WMYPIBaWbSV2S+IRvGRq70Jvs7s/u+hn1aPStmE1MQ0RoqS0zOi4y48pfzY//IDSwuLHyxAAVl2d2h3Zb/mD/+xDEdYAELAMX4IRAANSAYbwQiAAGGNNOYII2OtT1+lf+7+v////s+jQV+7+5WFlssku7IAAZUx6GUqv4C1LrGbP7Pbt+msgKZEVkXJVfFDJQxa5Zm//2NOlzLwgFgkTVF4AAA///v//7EMRzg8JsARAAAE3AX4AhwAAJuFf///9a6FfU1Vt/0f/9C3FAwSAAwEAgooIAHr0s9v9f/u//r9St26vcM3+2j/9aJA/GKpBY7IwJ6QAA8uZS3Lfl6/t/T9dqf9f//36bMo6TQs4F//sQxIcARcgDDaAEQADEgGG0AIgApooXALhK4LBs6H6+x7/4rB4RoAxQXFAZaGeFZlVbhUQCGuJjIvir0qv7xv/7vZaa6829tdOyq8aY/d/Mf9CX0LE4YqABQAAAMAAA/r////u///H/+xDEgIAELAMV4ARAAMeAIbQQibjv7NehONQpbP///DoIsDwCo7AtADalW9jqvY9H//9tH//r9v////0LClWafQWSwakAADRZqEN3psZXt+3+od+Y9b4xajrtUmi4gQOLMUPIqs7aP//7EMSAAAMwAw5gBEAAfoAiNBCIALZK4AhpYLTbW3/b7MkABRZq2rc8VnieXa0AEVtZZ/u/XtbvkylMzS3FONl7VUUmv/temFAaFDgsMQCAT/mf/z/+Q4aroV86f/Uo3w//r/9bfLr7//sQxIyABwDVC6CAUkCrAGI8AIgAuqhGBKJaMAsqdWn/9f5Gv//////t///9uGhETEFNRTMuOTkuM6qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr/+xDEhIBDpAMRoARAAHAAYrwAiACqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqv/7EMSRAAX0AQ2ghEAAyIAh9BCJuKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq//sQxImBQ6l3DkAEXQhegGD0AIgAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqo=";var Mf={exports:{}},v1;function kC(){return v1||(v1=1,function(e){const n={};n.generateIdentifier=function(){return Math.random().toString(36).substring(2,12)},n.localCName=n.generateIdentifier(),n.splitLines=function(t){return t.trim().split(`
`).map(i=>i.trim())},n.splitSections=function(t){return t.split(`
m=`).map((o,a)=>(a>0?"m="+o:o).trim()+`\r
`)},n.getDescription=function(t){const i=n.splitSections(t);return i&&i[0]},n.getMediaSections=function(t){const i=n.splitSections(t);return i.shift(),i},n.matchPrefix=function(t,i){return n.splitLines(t).filter(o=>o.indexOf(i)===0)},n.parseCandidate=function(t){let i;t.indexOf("a=candidate:")===0?i=t.substring(12).split(" "):i=t.substring(10).split(" ");const o={foundation:i[0],component:{1:"rtp",2:"rtcp"}[i[1]]||i[1],protocol:i[2].toLowerCase(),priority:parseInt(i[3],10),ip:i[4],address:i[4],port:parseInt(i[5],10),type:i[7]};for(let a=8;a<i.length;a+=2)switch(i[a]){case"raddr":o.relatedAddress=i[a+1];break;case"rport":o.relatedPort=parseInt(i[a+1],10);break;case"tcptype":o.tcpType=i[a+1];break;case"ufrag":o.ufrag=i[a+1],o.usernameFragment=i[a+1];break;default:o[i[a]]===void 0&&(o[i[a]]=i[a+1]);break}return o},n.writeCandidate=function(t){const i=[];i.push(t.foundation);const o=t.component;o==="rtp"?i.push(1):o==="rtcp"?i.push(2):i.push(o),i.push(t.protocol.toUpperCase()),i.push(t.priority),i.push(t.address||t.ip),i.push(t.port);const a=t.type;return i.push("typ"),i.push(a),a!=="host"&&t.relatedAddress&&t.relatedPort&&(i.push("raddr"),i.push(t.relatedAddress),i.push("rport"),i.push(t.relatedPort)),t.tcpType&&t.protocol.toLowerCase()==="tcp"&&(i.push("tcptype"),i.push(t.tcpType)),(t.usernameFragment||t.ufrag)&&(i.push("ufrag"),i.push(t.usernameFragment||t.ufrag)),"candidate:"+i.join(" ")},n.parseIceOptions=function(t){return t.substring(14).split(" ")},n.parseRtpMap=function(t){let i=t.substring(9).split(" ");const o={payloadType:parseInt(i.shift(),10)};return i=i[0].split("/"),o.name=i[0],o.clockRate=parseInt(i[1],10),o.channels=i.length===3?parseInt(i[2],10):1,o.numChannels=o.channels,o},n.writeRtpMap=function(t){let i=t.payloadType;t.preferredPayloadType!==void 0&&(i=t.preferredPayloadType);const o=t.channels||t.numChannels||1;return"a=rtpmap:"+i+" "+t.name+"/"+t.clockRate+(o!==1?"/"+o:"")+`\r
`},n.parseExtmap=function(t){const i=t.substring(9).split(" ");return{id:parseInt(i[0],10),direction:i[0].indexOf("/")>0?i[0].split("/")[1]:"sendrecv",uri:i[1],attributes:i.slice(2).join(" ")}},n.writeExtmap=function(t){return"a=extmap:"+(t.id||t.preferredId)+(t.direction&&t.direction!=="sendrecv"?"/"+t.direction:"")+" "+t.uri+(t.attributes?" "+t.attributes:"")+`\r
`},n.parseFmtp=function(t){const i={};let o;const a=t.substring(t.indexOf(" ")+1).split(";");for(let r=0;r<a.length;r++)o=a[r].trim().split("="),i[o[0].trim()]=o[1];return i},n.writeFmtp=function(t){let i="",o=t.payloadType;if(t.preferredPayloadType!==void 0&&(o=t.preferredPayloadType),t.parameters&&Object.keys(t.parameters).length){const a=[];Object.keys(t.parameters).forEach(r=>{t.parameters[r]!==void 0?a.push(r+"="+t.parameters[r]):a.push(r)}),i+="a=fmtp:"+o+" "+a.join(";")+`\r
`}return i},n.parseRtcpFb=function(t){const i=t.substring(t.indexOf(" ")+1).split(" ");return{type:i.shift(),parameter:i.join(" ")}},n.writeRtcpFb=function(t){let i="",o=t.payloadType;return t.preferredPayloadType!==void 0&&(o=t.preferredPayloadType),t.rtcpFeedback&&t.rtcpFeedback.length&&t.rtcpFeedback.forEach(a=>{i+="a=rtcp-fb:"+o+" "+a.type+(a.parameter&&a.parameter.length?" "+a.parameter:"")+`\r
`}),i},n.parseSsrcMedia=function(t){const i=t.indexOf(" "),o={ssrc:parseInt(t.substring(7,i),10)},a=t.indexOf(":",i);return a>-1?(o.attribute=t.substring(i+1,a),o.value=t.substring(a+1)):o.attribute=t.substring(i+1),o},n.parseSsrcGroup=function(t){const i=t.substring(13).split(" ");return{semantics:i.shift(),ssrcs:i.map(o=>parseInt(o,10))}},n.getMid=function(t){const i=n.matchPrefix(t,"a=mid:")[0];if(i)return i.substring(6)},n.parseFingerprint=function(t){const i=t.substring(14).split(" ");return{algorithm:i[0].toLowerCase(),value:i[1].toUpperCase()}},n.getDtlsParameters=function(t,i){return{role:"auto",fingerprints:n.matchPrefix(t+i,"a=fingerprint:").map(n.parseFingerprint)}},n.writeDtlsParameters=function(t,i){let o="a=setup:"+i+`\r
`;return t.fingerprints.forEach(a=>{o+="a=fingerprint:"+a.algorithm+" "+a.value+`\r
`}),o},n.parseCryptoLine=function(t){const i=t.substring(9).split(" ");return{tag:parseInt(i[0],10),cryptoSuite:i[1],keyParams:i[2],sessionParams:i.slice(3)}},n.writeCryptoLine=function(t){return"a=crypto:"+t.tag+" "+t.cryptoSuite+" "+(typeof t.keyParams=="object"?n.writeCryptoKeyParams(t.keyParams):t.keyParams)+(t.sessionParams?" "+t.sessionParams.join(" "):"")+`\r
`},n.parseCryptoKeyParams=function(t){if(t.indexOf("inline:")!==0)return null;const i=t.substring(7).split("|");return{keyMethod:"inline",keySalt:i[0],lifeTime:i[1],mkiValue:i[2]?i[2].split(":")[0]:void 0,mkiLength:i[2]?i[2].split(":")[1]:void 0}},n.writeCryptoKeyParams=function(t){return t.keyMethod+":"+t.keySalt+(t.lifeTime?"|"+t.lifeTime:"")+(t.mkiValue&&t.mkiLength?"|"+t.mkiValue+":"+t.mkiLength:"")},n.getCryptoParameters=function(t,i){return n.matchPrefix(t+i,"a=crypto:").map(n.parseCryptoLine)},n.getIceParameters=function(t,i){const o=n.matchPrefix(t+i,"a=ice-ufrag:")[0],a=n.matchPrefix(t+i,"a=ice-pwd:")[0];return o&&a?{usernameFragment:o.substring(12),password:a.substring(10)}:null},n.writeIceParameters=function(t){let i="a=ice-ufrag:"+t.usernameFragment+`\r
a=ice-pwd:`+t.password+`\r
`;return t.iceLite&&(i+=`a=ice-lite\r
`),i},n.parseRtpParameters=function(t){const i={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},a=n.splitLines(t)[0].split(" ");i.profile=a[2];for(let s=3;s<a.length;s++){const l=a[s],c=n.matchPrefix(t,"a=rtpmap:"+l+" ")[0];if(c){const u=n.parseRtpMap(c),f=n.matchPrefix(t,"a=fmtp:"+l+" ");switch(u.parameters=f.length?n.parseFmtp(f[0]):{},u.rtcpFeedback=n.matchPrefix(t,"a=rtcp-fb:"+l+" ").map(n.parseRtcpFb),i.codecs.push(u),u.name.toUpperCase()){case"RED":case"ULPFEC":i.fecMechanisms.push(u.name.toUpperCase());break}}}n.matchPrefix(t,"a=extmap:").forEach(s=>{i.headerExtensions.push(n.parseExtmap(s))});const r=n.matchPrefix(t,"a=rtcp-fb:* ").map(n.parseRtcpFb);return i.codecs.forEach(s=>{r.forEach(l=>{s.rtcpFeedback.find(u=>u.type===l.type&&u.parameter===l.parameter)||s.rtcpFeedback.push(l)})}),i},n.writeRtpDescription=function(t,i){let o="";o+="m="+t+" ",o+=i.codecs.length>0?"9":"0",o+=" "+(i.profile||"UDP/TLS/RTP/SAVPF")+" ",o+=i.codecs.map(r=>r.preferredPayloadType!==void 0?r.preferredPayloadType:r.payloadType).join(" ")+`\r
`,o+=`c=IN IP4 0.0.0.0\r
`,o+=`a=rtcp:9 IN IP4 0.0.0.0\r
`,i.codecs.forEach(r=>{o+=n.writeRtpMap(r),o+=n.writeFmtp(r),o+=n.writeRtcpFb(r)});let a=0;return i.codecs.forEach(r=>{r.maxptime>a&&(a=r.maxptime)}),a>0&&(o+="a=maxptime:"+a+`\r
`),i.headerExtensions&&i.headerExtensions.forEach(r=>{o+=n.writeExtmap(r)}),o},n.parseRtpEncodingParameters=function(t){const i=[],o=n.parseRtpParameters(t),a=o.fecMechanisms.indexOf("RED")!==-1,r=o.fecMechanisms.indexOf("ULPFEC")!==-1,s=n.matchPrefix(t,"a=ssrc:").map(d=>n.parseSsrcMedia(d)).filter(d=>d.attribute==="cname"),l=s.length>0&&s[0].ssrc;let c;const u=n.matchPrefix(t,"a=ssrc-group:FID").map(d=>d.substring(17).split(" ").map(h=>parseInt(h,10)));u.length>0&&u[0].length>1&&u[0][0]===l&&(c=u[0][1]),o.codecs.forEach(d=>{if(d.name.toUpperCase()==="RTX"&&d.parameters.apt){let p={ssrc:l,codecPayloadType:parseInt(d.parameters.apt,10)};l&&c&&(p.rtx={ssrc:c}),i.push(p),a&&(p=JSON.parse(JSON.stringify(p)),p.fec={ssrc:l,mechanism:r?"red+ulpfec":"red"},i.push(p))}}),i.length===0&&l&&i.push({ssrc:l});let f=n.matchPrefix(t,"b=");return f.length&&(f[0].indexOf("b=TIAS:")===0?f=parseInt(f[0].substring(7),10):f[0].indexOf("b=AS:")===0?f=parseInt(f[0].substring(5),10)*1e3*.95-50*40*8:f=void 0,i.forEach(d=>{d.maxBitrate=f})),i},n.parseRtcpParameters=function(t){const i={},o=n.matchPrefix(t,"a=ssrc:").map(s=>n.parseSsrcMedia(s)).filter(s=>s.attribute==="cname")[0];o&&(i.cname=o.value,i.ssrc=o.ssrc);const a=n.matchPrefix(t,"a=rtcp-rsize");i.reducedSize=a.length>0,i.compound=a.length===0;const r=n.matchPrefix(t,"a=rtcp-mux");return i.mux=r.length>0,i},n.writeRtcpParameters=function(t){let i="";return t.reducedSize&&(i+=`a=rtcp-rsize\r
`),t.mux&&(i+=`a=rtcp-mux\r
`),t.ssrc!==void 0&&t.cname&&(i+="a=ssrc:"+t.ssrc+" cname:"+t.cname+`\r
`),i},n.parseMsid=function(t){let i;const o=n.matchPrefix(t,"a=msid:");if(o.length===1)return i=o[0].substring(7).split(" "),{stream:i[0],track:i[1]};const a=n.matchPrefix(t,"a=ssrc:").map(r=>n.parseSsrcMedia(r)).filter(r=>r.attribute==="msid");if(a.length>0)return i=a[0].value.split(" "),{stream:i[0],track:i[1]}},n.parseSctpDescription=function(t){const i=n.parseMLine(t),o=n.matchPrefix(t,"a=max-message-size:");let a;o.length>0&&(a=parseInt(o[0].substring(19),10)),isNaN(a)&&(a=65536);const r=n.matchPrefix(t,"a=sctp-port:");if(r.length>0)return{port:parseInt(r[0].substring(12),10),protocol:i.fmt,maxMessageSize:a};const s=n.matchPrefix(t,"a=sctpmap:");if(s.length>0){const l=s[0].substring(10).split(" ");return{port:parseInt(l[0],10),protocol:l[1],maxMessageSize:a}}},n.writeSctpDescription=function(t,i){let o=[];return t.protocol!=="DTLS/SCTP"?o=["m="+t.kind+" 9 "+t.protocol+" "+i.protocol+`\r
`,`c=IN IP4 0.0.0.0\r
`,"a=sctp-port:"+i.port+`\r
`]:o=["m="+t.kind+" 9 "+t.protocol+" "+i.port+`\r
`,`c=IN IP4 0.0.0.0\r
`,"a=sctpmap:"+i.port+" "+i.protocol+` 65535\r
`],i.maxMessageSize!==void 0&&o.push("a=max-message-size:"+i.maxMessageSize+`\r
`),o.join("")},n.generateSessionId=function(){return Math.random().toString().substr(2,22)},n.writeSessionBoilerplate=function(t,i,o){let a;const r=i!==void 0?i:2;return t?a=t:a=n.generateSessionId(),`v=0\r
o=`+(o||"thisisadapterortc")+" "+a+" "+r+` IN IP4 127.0.0.1\r
s=-\r
t=0 0\r
`},n.getDirection=function(t,i){const o=n.splitLines(t);for(let a=0;a<o.length;a++)switch(o[a]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return o[a].substring(2)}return i?n.getDirection(i):"sendrecv"},n.getKind=function(t){return n.splitLines(t)[0].split(" ")[0].substring(2)},n.isRejected=function(t){return t.split(" ",2)[1]==="0"},n.parseMLine=function(t){const o=n.splitLines(t)[0].substring(2).split(" ");return{kind:o[0],port:parseInt(o[1],10),protocol:o[2],fmt:o.slice(3).join(" ")}},n.parseOLine=function(t){const o=n.matchPrefix(t,"o=")[0].substring(2).split(" ");return{username:o[0],sessionId:o[1],sessionVersion:parseInt(o[2],10),netType:o[3],addressType:o[4],address:o[5]}},n.isValidSDP=function(t){if(typeof t!="string"||t.length===0)return!1;const i=n.splitLines(t);for(let o=0;o<i.length;o++)if(i[o].length<2||i[o].charAt(1)!=="=")return!1;return!0},e.exports=n}(Mf)),Mf.exports}var Cs=kC();const xC=e=>n=>new Qe(t=>(e(),n.subscribe(t))),RC=(e,n)=>t=>new Qe(i=>{let o=0,a=[];const r=[e.subscribe(()=>{o+=1}),n.subscribe(()=>{o-=1,o===0&&(a.forEach(s=>i.next(s)),a=[])}),t.subscribe({next:s=>{o>0?a.push(s):i.next(s)},error:s=>i.error(s),complete:()=>i.complete()})];return()=>{r.forEach(s=>s.unsubscribe())}});function NC(e){const n=new RegExp("a=rtpmap:(\\d+) [a-zA-Z0-9-]+\\/\\d+"),t=e.match(n);return t&&t.length===2?t[1]:null}function LC(e,n){const t=e.split(" "),i=t.slice(0,3);i.push(n);for(let o=3;o<t.length;o++)t[o]!==n&&i.push(t[o]);return i.join(" ")}function PC(e,n,t,i,o){const a=e.length;for(let r=n;r<a;++r)if(e[r].indexOf(i)===0&&(!o||e[r].toLowerCase().indexOf(o.toLowerCase())!==-1))return r;return null}function y1(e,n,t){return PC(e,0,-1,n,t)}function DC(e,n){const t=y1(e,"a=rtpmap",n);return t?NC(e[t]):null}function FC(e,n,t){if(!t)return e;const i=e.split(`\r
`),o=y1(i,"m=",n);if(o===null)return e;const a=DC(i,t);return a&&(i[o]=LC(i[o],a)),e=i.join(`\r
`),e}function BC(e,n){return n?e:e.replace("sendrecv","sendonly")}function A1(e){e.getAudioTracks().forEach(n=>n.stop()),e.getVideoTracks().forEach(n=>n.stop())}function _s(e,n,t){const{peerConnection:i}=e,o=a=>{e.localStream=a,a.getTracks().forEach(r=>{r.kind==="video"?t&&r.readyState==="live"&&(e.video=i.addTrack(r,a)):n&&r.readyState==="live"&&(r.enabled=!e.isMuted,e.audio=i.addTrack(r,a))}),e.audio&&e.audio.dtmf&&(e.toneSend$=xo(e.audio.dtmf,"tonechange").pipe(mc((r,s)=>r+s.tone,"")))};if(e.localStream){t||e.localStream.getVideoTracks().forEach(s=>s.stop()),n||e.localStream.getAudioTracks().forEach(s=>s.stop());const a=e.localStream.getVideoTracks().some(s=>s.readyState==="live"),r=e.localStream.getAudioTracks().some(s=>s.readyState==="live");if((!t||t&&a)&&(!n||n&&r))return o(e.localStream),Ke(e.localStream);A1(e.localStream)}return Dt(navigator.mediaDevices.getUserMedia({audio:n,video:t})).pipe(fn(a=>(console.log(a),Dt(navigator.mediaDevices.getUserMedia({audio:n,video:!1})))),Ci(o))}function If(e){function n(t){t.peerConnection&&t.peerConnection.close(),t.audio=void 0,t.isVideoReceived=!1,t.toneSend$=tn,t.video=void 0,t.remoteStream$.next(null)}return n(e),e.peerConnection=new RTCPeerConnection({}),e.peerConnection.ontrack=t=>e.remoteStream$.next(t.streams[0]),e.peerConnection}function w1(e,n){let t=!1,i=!1;return e&&Cs.splitSections(e).filter(o=>n.indexOf(Cs.getDirection(o))>=0&&!Cs.isRejected(o)).map(o=>Cs.getKind(o)).forEach(o=>{o==="video"?i=!0:o==="audio"&&(t=!0)}),[t,i]}function Tf(e){return w1(e,["sendrecv","recvonly"])}function qC(e){return w1(e,["sendrecv","sendonly"])}function C1(e,n){return Dt(e.setRemoteDescription(n))}function Es(e){e&&(e.localStream&&A1(e.localStream),e.peerConnection&&e.peerConnection.close(),e.isVideoCall=!1)}class UC{constructor(n){_(this,"mediaDevice$");_(this,"lastOutgoingMedia");_(this,"globalTransactionId",0);_(this,"forcedEmit",new To(!0));_(this,"suspendStream",new Te);_(this,"resumeStream",new Te);_(this,"webRtcCodecs",[]);this.myPhoneService=n;const t=this.myPhoneService.mySession$.pipe(we(i=>i.webRTCEndpoint$),vc(new Si),RC(this.suspendStream,this.resumeStream));this.mediaDevice$=vy([t,this.forcedEmit]).pipe(mc((i,o)=>{const a=i,[r]=o,s=r.Items.reduce((f,d)=>(f[d.Id]=d,f),{});this.lastOutgoingMedia&&s[this.lastOutgoingMedia.lastWebRTCState.Id]&&(a.push(this.lastOutgoingMedia),this.lastOutgoingMedia=void 0);const l=[];a.forEach(f=>{const d=s[f.lastWebRTCState.Id];if(!d)Es(f);else{const{lastWebRTCState:p}=f;f.lastWebRTCState={...d},!f.isActive&&d.holdState===Do.WebRTCHoldState_NOHOLD&&p.holdState===Do.WebRTCHoldState_HELD&&this.hold(f,!1).subscribe(),p.sdpType===d.sdpType&&p.sdp===d.sdp||this.processState(p.sdpType,f).subscribe(),delete s[d.Id],l.push(f)}});const c=Object.values(s).filter(f=>f.sdpType===st.WRTCOffer||f.sdpType===st.WRTCRequestForOffer).map(f=>new Sf({lastWebRTCState:{...f}}));return l.concat(c)},[]),Af())}setWebRtcCodecs(n){this.webRtcCodecs=n}setLocalDescription(n,t,i){return i&&this.webRtcCodecs&&this.webRtcCodecs.length>0&&this.webRtcCodecs.slice().reverse().forEach(o=>{t.sdp&&(t.sdp=FC(t.sdp,"audio",o))}),Dt(n.setLocalDescription(t)).pipe(we(()=>xo(n,"icegatheringstatechange")),Cn(()=>n.iceGatheringState==="complete"),Fn(1))}processState(n,t){switch(t.lastWebRTCState.sdpType){case st.WRTCAnswerProvided:return this.processAnswerProvided(n,t);case st.WRTCOffer:return this.processOffer(t);case st.WRTCRequestForOffer:return this.processRequestForOffer(t);case st.WRTCConfirmed:this.processConfirmed(t);break}return tn}processConfirmed(n){if(n.isNegotiationInProgress=!1,n.peerConnection.remoteDescription){const[t,i]=qC(n.peerConnection.remoteDescription.sdp);n.isVideoReceived=i}}processAnswerProvided(n,t){const i=t.lastWebRTCState;if(n===st.WRTCConfirmed)return this.setConfirmed(i.Id);const[o,a]=Tf(t.lastWebRTCState.sdp);return!a&&t.video&&(t.localStream&&t.localStream.getVideoTracks().forEach(r=>r.stop()),t.video=void 0),C1(t.peerConnection,{type:"answer",sdp:i.sdp}).pipe(we(()=>this.setConfirmed(i.Id)))}setConfirmed(n){return this.requestChangeState({Id:n,sdpType:st.WRTCConfirm})}processOffer(n){const[t,i]=Tf(n.lastWebRTCState.sdp);return!n.isVideoCall&&i&&window.confirm("Enable video in a call?")&&(n.isVideoCall=!0),this.processAnswer(n)}processRequestForOffer(n){return this.processAnswer(n)}getLastOutgoingMedia(){const n=this.lastOutgoingMedia;return this.lastOutgoingMedia=void 0,n}holdAll(n){return this.mediaDevice$.pipe(Fn(1),yt(t=>t.filter(i=>i.lastWebRTCState.Id!==n)),we(t=>t.length?xy(...t.map(i=>this.hold(i,!1))):Ke([])))}dropCall(n){return this.requestChangeState(new Uc({Id:n,sdpType:st.WRTCTerminate}))}makeCall(n,t){const i=new Sf({lastWebRTCState:new qc({sdpType:st.WRTCInitial,holdState:Do.WebRTCHoldState_NOHOLD})});i.isActive=!0,i.isNegotiationInProgress=!0,i.isVideoCall=t;const o=If(i);return this.holdAll().pipe(we(()=>_s(i,!0,t)),we(a=>Dt(o.createOffer({offerToReceiveAudio:!0,offerToReceiveVideo:t}))),we(a=>this.setLocalDescription(o,a,!0)),we(()=>o.localDescription&&o.localDescription.sdp?this.requestChangeState({Id:0,sdpType:st.WRTCOffer,destinationNumber:n,transactionId:this.globalTransactionId++,sdp:o.localDescription.sdp},!0):Ze(()=>"Local sdp missing")),Ci(a=>{i.lastWebRTCState=new qc({Id:a.CallId,sdpType:st.WRTCInitial}),this.lastOutgoingMedia=i}),fn(a=>(Es(i),Ze(()=>a))))}answer(n,t){return n.isNegotiationInProgress?tn:(n.isActive=!0,n.isVideoCall=t,this.holdAll(n.lastWebRTCState.Id).pipe(we(()=>this.processAnswer(n))))}processAnswer(n){const t=n.lastWebRTCState,i=If(n);n.isActive||(n.isMuted=!0),n.isNegotiationInProgress=!0;let o,a;if(t.sdpType===st.WRTCOffer){if(!t.sdp)return Ze(()=>"Offer doesn't have sdp");const[r,s]=Tf(t.sdp);a=st.WRTCAnswer,o=_s(n,r,s&&n.isVideoCall).pipe(we(()=>C1(i,{type:"offer",sdp:t.sdp})),we(()=>Dt(i.createAnswer())),we(l=>this.setLocalDescription(i,l,!1)))}else if(t.sdpType===st.WRTCRequestForOffer){a=st.WRTCOffer;const r={offerToReceiveAudio:!0,offerToReceiveVideo:n.isVideoCall};o=_s(n,!0,n.isVideoCall).pipe(we(()=>Dt(i.createOffer(r))),we(s=>this.setLocalDescription(i,s,!0)))}else return n.isNegotiationInProgress=!1,Ze(()=>`Can't answer when state ${t.sdpType}`);return o.pipe(we(()=>i.localDescription&&i.localDescription.sdp?this.requestChangeState({Id:t.Id,sdpType:a,transactionId:t.transactionId,sdp:i.localDescription.sdp}):Ze(()=>"Local sdp missing")),fn(r=>(n.isNegotiationInProgress=!1,Ze(()=>r))))}sendDtmf(n,t){n.audio&&n.audio.dtmf&&n.audio.dtmf.insertDTMF(t,100,100)}video(n){return n.isVideoCall&&(!n.isVideoReceived||!n.isVideoSend)||(n.isVideoCall=!n.isVideoCall),this.renegotiate(n,!0)}mute(n){this.setMute(n,!n.isMuted)}setMute(n,t){n.isMuted=t,n.audio&&n.audio.track&&(n.audio.track.enabled=!t)}hold(n,t){n.isActive=t;const i=n.lastWebRTCState;return!t&&i.holdState!==Do.WebRTCHoldState_NOHOLD||t&&i.holdState!==Do.WebRTCHoldState_HOLD?Ke(!0):(this.setMute(n,!t),this.renegotiate(n,t))}renegotiate(n,t){if(n.isNegotiationInProgress)return Ke(!0);const i=n.lastWebRTCState;n.isNegotiationInProgress=!0,this.forcedEmit.next(!0);const o=If(n);let a=Ke(!0);return t&&(a=this.holdAll(n.lastWebRTCState.Id)),a.pipe(we(()=>_s(n,!0,t?n.isVideoCall:!1)),we(()=>Dt(o.createOffer({offerToReceiveAudio:t,offerToReceiveVideo:t&&n.isVideoCall}))),we(r=>this.setLocalDescription(o,r,!0)),we(()=>o.localDescription&&o.localDescription.sdp?this.requestChangeState({Id:i.Id,sdpType:st.WRTCOffer,transactionId:this.globalTransactionId++,sdp:BC(o.localDescription.sdp,t)}):Ze(()=>"Local sdp missing")),fn(r=>(n.isNegotiationInProgress=!1,this.forcedEmit.next(!0),Ze(()=>r))))}requestChangeState(n,t){const i=this.myPhoneService.get(new Uc(n));return ay(i)?t?i.pipe(xC(()=>this.suspendStream.next()),we(o=>o!=null&&o.Success?Ke(o):Ze(()=>o==null?void 0:o.Message)),By(()=>this.resumeStream.next())):i.pipe(we(o=>o!=null&&o.Success?Ke(o):Ze(()=>o==null?void 0:o.Message))):Ze(()=>"Invalid channel setup")}}class _1{constructor(n){_(this,"isTryingCall",!1);_(this,"isEstablished",!1);_(this,"media",ro);Object.assign(this,n)}}function $C(e,n){const t=e.find(i=>i.media.lastWebRTCState.Id===n.lastWebRTCState.Id);return t?t.isEstablished?!0:n.lastWebRTCState.sdpType===st.WRTCConfirmed:!1}class jC{constructor(n){_(this,"callControl$",new Te);_(this,"myCalls$");_(this,"soundToPlay$");this.webrtcService=n,this.myCalls$=pc(this.webrtcService.mediaDevice$,this.callControl$).pipe(mc((t,i)=>{if(i==="removeTryingCall")return t.filter(r=>!r.isTryingCall);if(i==="requestTryingCall")return t.concat([new _1({isTryingCall:!0,media:ro})]);const o=i.map(r=>new _1({media:r,isEstablished:$C(t,r)})),a=t.find(r=>r.isTryingCall);return a&&o.length===0&&o.push(a),o},[]),Uy(1)),this.soundToPlay$=this.myCalls$.pipe(yt(t=>{if(t.length===0)return;const i=t[0];if(i.isEstablished)return;if(i.isTryingCall)return b1;const o=i.media.lastWebRTCState.sdpType;return o===st.WRTCOffer||o===st.WRTCProcessingOffer?b1:void 0}))}call$(n,t){return this.callControl$.next("requestTryingCall"),this.webrtcService.makeCall("",t||!1).pipe(fn(i=>(Es(this.webrtcService.getLastOutgoingMedia()),this.callControl$.next("removeTryingCall"),i.name==="Empty Session"?tn:Ze(()=>i))))}}const E1=(e,n)=>{n.add(e.phoneService.soundToPlay$.subscribe(t=>{e.audioNotificationUrl.value=t})),n.add(e.remoteStream$.subscribe(t=>{e.remoteStream.value=t,e.videoOnlyRemoteStream.value=e.videoOnly(t)})),n.add(e.phoneService.myCalls$.subscribe(t=>{e.hasCall.value=t.length>0,e.hasTryingCall.value=e.hasCall.value&&t[0].isTryingCall,e.hasEstablishedCall.value=e.hasCall.value&&t[0].isEstablished,e.media=t.length?t[0].media:ro,e.media.isVideoCall&&e.media.isVideoSend||e.media.isVideoReceived?e.isVideoActive.value=!0:e.isVideoActive.value=!1,e.media?(e.videoOnlyLocalStream.value=e.videoOnly(e.media.localStream),e.videoCallInProcess$.next(!0)):e.videoOnlyLocalStream.value=null})),e.addFullScreenListener()};class S1{constructor(n,t=!1){_(this,"hasTryingCall",Z(!1));_(this,"isFullScreen",Z(!1));_(this,"hasEstablishedCall",Z(!1));_(this,"videoContainer");_(this,"webRTCControlService");_(this,"phoneService");_(this,"media",ro);_(this,"videoOnlyLocalStream",Z(null));_(this,"remoteStream",Z(null));_(this,"videoOnlyRemoteStream",Z(null));_(this,"audioNotificationUrl",Z(null));_(this,"hasCall",Z(!1));_(this,"isVideoActive",Z(!1));_(this,"hasRecall",Z(!1));_(this,"hadCall",Z(!1));_(this,"callDrop",Z(!1));_(this,"remoteStream$");_(this,"videoCallInProcess$",new Te);_(this,"onFullScreenChange",()=>{this.isFullScreen.value=!!this.isFullscreenActive()});_(this,"onFullScreenChangeON",()=>{this.isFullScreen.value=!0});_(this,"onFullScreenChangeOFF",()=>{this.isFullScreen.value=!1});this.myChatService=n,this.demo=t,this.webRTCControlService=new UC(this.myChatService),this.phoneService=new jC(this.webRTCControlService),this.remoteStream$=this.phoneService.myCalls$.pipe(yt(i=>i.length>0?i[0].media:ro),we(i=>i.remoteStream$))}videoOnly(n){if(!n)return null;const t=n.getVideoTracks();return t.length===0?null:new MediaStream(t)}mute(){this.webRTCControlService.mute(this.media)}call(n){return this.demo?tn:(this.hadCall.value=!0,this.callDrop.value=!1,this.hasRecall.value=!1,this.phoneService.call$("",n||!1))}dropCall(){return this.media?(this.callDrop.value=!0,this.hasRecall.value=!1,this.webRTCControlService.dropCall(this.media.lastWebRTCState.Id)):Ze(()=>"No media initialized")}removeDroppedCall(){return this.hasCall.value=!1,this.hasRecall.value=!1,Es(this.media)}clearCallMemo(){this.hadCall.value=!1}isFullscreenSupported(){const n=document;return!!(n.fullscreenEnabled||n.webkitFullscreenEnabled||n.mozFullScreenEnabled||n.msFullscreenEnabled)}addFullScreenListener(){document.addEventListener("fullscreenchange",this.onFullScreenChange),document.addEventListener("webkitfullscreenchange",this.onFullScreenChange),document.addEventListener("mozfullscreenchange",this.onFullScreenChange),document.addEventListener("MSFullscreenChange",this.onFullScreenChange),this.videoContainer&&(this.videoContainer.addEventListener("webkitbeginfullscreen",this.onFullScreenChangeON),this.videoContainer.addEventListener("webkitendfullscreen",this.onFullScreenChangeOFF))}removeFullScreenListeners(){document.removeEventListener("fullscreenchange",this.onFullScreenChange),document.removeEventListener("webkitfullscreenchange",this.onFullScreenChange),document.removeEventListener("mozfullscreenchange",this.onFullScreenChange),document.removeEventListener("MSFullscreenChange",this.onFullScreenChange),this.videoContainer&&(this.videoContainer.removeEventListener("webkitbeginfullscreen",this.onFullScreenChangeON),this.videoContainer.removeEventListener("webkitendfullscreen",this.onFullScreenChangeOFF))}isFullscreenActive(){const n=document;return n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement||null}goFullScreen(){if(this.isFullScreen.value)return;const n=this.videoContainer;try{n!=null&&this.isFullscreenSupported()?n.requestFullscreen?n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen&&n.msRequestFullscreen():Fa("fullscreen is not supported")}catch(t){Fa(t)}}removeFullscreen(){if(this.isFullScreen.value)try{document.exitFullscreen?document.exitFullscreen().catch(n=>console.error(n)):document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()}catch(n){console.log(n)}}}function zC(e){try{return JSON.parse(e)}catch{return""}}function M1(e,n){const t=[VC,T1,k1,O1,N1,R1,x1,R4];return[I1(n),...t.map(i=>i(e))]}function Of(e,n){const t=[HC,T1,WC,O1,k1,YC,GC,QC,KC,ZC,x1,JC,R1,XC,e4,t4,n4,i4,S4,M4,o4,a4,r4,s4,p4,l4,u4,c4,f4,d4,h4,m4,v4,g4,b4,y4,A4,w4,C4,N1,_4,E4,I4,T4,O4,k4,x4];return[I1(n),...t.map(i=>i(e))]}const xi=(e=!1)=>{const t=[/Android/i,/webOS/i,/iPhone/i,/iPad/i,/iPod/i,/BlackBerry/i,/Windows Phone/i].some(o=>navigator.userAgent.match(o)),i=window.innerWidth<600||window.innerHeight<600;return e?t&&i:t||i};function I1(e){return{name:"phonesystem-url",value:`${e}`}}function VC(e){return{name:"style",value:`position: fixed; right: 20px; bottom: 20px; justify-content: flex-end;
flex-direction: column; display: flex; z-index: 99999;
--call-us-form-header-background:#373737;
--call-us-main-button-background:#0596d4;
--call-us-form-width:330px;`}}function T1(e){return{name:"id",value:"wp-live-chat-by-3CX"}}function HC(e){var r,s,l,c,u,f,d,p;const n=xi();let t=`${(r=e.Styling)!=null&&r.UseRubik?"font-family:Rubik;":""}position:fixed;font-size:16px;line-height:17px;z-index: 99999;`;if((s=e.Styling)!=null&&s.Style){const h=zC((l=e.Styling)==null?void 0:l.Style);t+=`--call-us-main-accent-color:${h.mainAccent||h.callUsFormHeaderBackground||"#0596D4"};`,t+=`--call-us-main-background-color:${h.mainBackground||"#FFFFFF"};`,t+=`--call-us-plate-background-color:${h.plateBackground||"#494949"};`,t+=`--call-us-plate-font-color:${h.plateFont||"#ffffff"};`,t+=`--call-us-main-font-color:${h.mainFont||"#000000"};`,t+=`--call-us-agent-bubble-color:${h.mainFont||"#333333"}10;`}const i=window.matchMedia("(orientation: landscape)").matches,o=window.innerWidth<600||i&&window.innerHeight<600;let a="20px";return(c=e.ChatBox)!=null&&c.MinimizedStyle?(n&&o&&(a="0"),((u=e.ChatBox)==null?void 0:u.MinimizedStyle)==="BubbleLeft"&&(t+=`left: ${a}; bottom: 200px;`),((f=e.ChatBox)==null?void 0:f.MinimizedStyle)==="BubbleRight"&&(t+=`right: ${a}; bottom: 200px;`),((d=e.ChatBox)==null?void 0:d.MinimizedStyle)==="BottomLeft"&&(t+=`left: ${a}; bottom: 20px;`),((p=e.ChatBox)==null?void 0:p.MinimizedStyle)==="BottomRight"&&(t+=`right: ${a}; bottom: ${a};`)):t+=`right: ${a}; bottom: ${a};`,{name:"style",value:`${t}`}}function WC(e){var n,t;return((n=e.Styling)==null?void 0:n.Minimized)!=null?{name:"minimized",value:`${(t=e.Styling)==null?void 0:t.Minimized}`}:null}function O1(e){var n;return(n=e.Styling)!=null&&n.Animation?{name:"animation-style",value:`${e.Styling.Animation.toLowerCase()}`}:null}function k1(e){return{name:"party",value:`${e.Link??""}`}}function YC(e){var n,t;if((n=e.ChatBox)!=null&&n.MinimizedStyle)switch((t=e.ChatBox)==null?void 0:t.MinimizedStyle){case"BottomRight":case"BubbleRight":return{name:"minimized-style",value:"bubbleright"};case"BottomLeft":case"BubbleLeft":return{name:"minimized-style",value:"bubbleleft"}}return null}function GC(e){var n,t;return((n=e.Advanced)==null?void 0:n.CommunicationOptions)==="VideoPhoneAndChat"?{name:"allow-call",value:"true"}:((t=e.Advanced)==null?void 0:t.CommunicationOptions)==="PhoneAndChat"?{name:"allow-call",value:"true"}:{name:"allow-call",value:"false"}}function QC(e){return{name:"allow-video",value:"false"}}function KC(e){var n,t;return((n=e.General)==null?void 0:n.AllowSoundNotifications)!=null?{name:"allow-soundnotifications",value:`${(t=e.General)==null?void 0:t.AllowSoundNotifications}`}:null}function ZC(e){var n;return{name:"enable-mute",value:`${((n=e.General)==null?void 0:n.AllowSoundNotifications)??!1}`}}function x1(e){var n,t;return((n=e.General)==null?void 0:n.EnableOnMobile)!=null?{name:"enable-onmobile",value:`${(t=e.General)==null?void 0:t.EnableOnMobile}`}:null}function JC(e){var n,t;return((n=e.General)==null?void 0:n.DisableOfflineMessages)!=null?{name:"offline-enabled",value:`${!((t=e.General)!=null&&t.DisableOfflineMessages)}`}:null}function R1(e){return{name:"enable",value:"true"}}function XC(e){var n,t;return((n=e.Advanced)==null?void 0:n.IgnoreQueueOwnership)!=null?{name:"ignore-queueownership",value:`${(t=e.Advanced)==null?void 0:t.IgnoreQueueOwnership}`}:null}function e4(e){var n,t;return(n=e.General)!=null&&n.Authentication?{name:"authentication",value:`${(t=e.General)==null?void 0:t.Authentication.toLowerCase()}`}:null}function t4(e){var n,t;return(n=e.ChatBox)!=null&&n.OperatorName?{name:"operator-name",value:`${(t=e.ChatBox)==null?void 0:t.OperatorName}`}:null}function n4(e){var n,t;return((n=e.ChatBox)==null?void 0:n.ShowOperatorActualName)!=null?{name:"show-operator-actual-name",value:`${(t=e.ChatBox)==null?void 0:t.ShowOperatorActualName}`}:null}function i4(e){return{name:"aknowledge-received",value:"true"}}function o4(e){var n;return((n=e.General)==null?void 0:n.GdprEnabled)!=null?{name:"gdpr-enabled",value:`${e.General.GdprEnabled}`}:null}function a4(e){var n;return(n=e.Translations)!=null&&n.GdprMessage?{name:"gdpr-message",value:`${e.Translations.GdprMessage}`}:null}function r4(e){var n,t;return(n=e.ChatBox)!=null&&n.LiveMessageUserinfoFormat?{name:"message-userinfo-format",value:`${(t=e.ChatBox)==null?void 0:t.LiveMessageUserinfoFormat.toLowerCase()}`}:null}function s4(e){var n,t;return(n=e.ChatBox)!=null&&n.MessageDateformat?{name:"message-dateformat",value:`${(t=e.ChatBox)==null?void 0:t.MessageDateformat.toLowerCase()}`}:null}function l4(e){var n;return(n=e.Translations)!=null&&n.WindowTitle?{name:"window-title",value:`${e.Translations.WindowTitle}`}:null}function c4(e){var n,t;return(n=e.ChatBox)!=null&&n.ButtonIconType?{name:"button-icon-type",value:`${(t=e.ChatBox)==null?void 0:t.ButtonIconType.toLowerCase()}`}:null}function f4(e){var n,t,i;return(n=e.ChatBox)!=null&&n.ButtonIconUrl&&((t=e.ChatBox)==null?void 0:t.ButtonIconType)==="Url"?{name:"button-icon",value:`${(i=e.ChatBox)==null?void 0:i.ButtonIconUrl}`}:null}function u4(e){var n,t;return(n=e.ChatBox)!=null&&n.LiveChatLanguage?{name:"lang",value:`${(t=e.ChatBox)==null?void 0:t.LiveChatLanguage}`}:null}function d4(e){var n,t;return(n=e.Translations)!=null&&n.InviteMessage?{name:"invite-message",value:`${(t=e.Translations)==null?void 0:t.InviteMessage}`}:null}function h4(e){var n,t;return(n=e.Translations)!=null&&n.AuthenticationMessage?{name:"authentication-message",value:`${(t=e.Translations)==null?void 0:t.AuthenticationMessage}`}:null}function p4(e){var n,t;return(n=e.Translations)!=null&&n.StartChatButtonText?{name:"start-chat-button-text",value:`${(t=e.Translations)==null?void 0:t.StartChatButtonText}`}:null}function m4(e){var n;return(n=e.Translations)!=null&&n.UnavailableMessage?{name:"unavailable-message",value:`${e.Translations.UnavailableMessage}`}:null}function g4(e){var n,t;return(n=e.Translations)!=null&&n.OfflineFinishMessage?{name:"offline-finish-message",value:`${(t=e.Translations)==null?void 0:t.OfflineFinishMessage}`}:null}function b4(e){var n,t;return(n=e.Translations)!=null&&n.EndingMessage?{name:"ending-message",value:`${(t=e.Translations)==null?void 0:t.EndingMessage}`}:null}function v4(e){var n;return(n=e.Translations)!=null&&n.FirstResponseMessage?{name:"first-response-message",value:`${e.Translations.FirstResponseMessage}`}:null}function y4(e){var n;return(n=e.Translations)!=null&&n.GreetingMessage?{name:"greeting-visibility",value:"both"}:{name:"greeting-visibility",value:"none"}}function A4(e){var n;return(n=e.Translations)!=null&&n.GreetingOfflineMessage?{name:"greeting-offline-visibility",value:"both"}:{name:"greeting-offline-visibility",value:"none"}}function w4(e){var n,t;return(n=e.Translations)!=null&&n.GreetingMessage?{name:"greeting-message",value:(t=e.Translations)==null?void 0:t.GreetingMessage}:null}function C4(e){var n,t;return(n=e.Translations)!=null&&n.GreetingOfflineMessage?{name:"greeting-offline-message",value:(t=e.Translations)==null?void 0:t.GreetingOfflineMessage}:null}function N1(e){var n;return(n=e.ChatBox)!=null&&n.ChatDelay?{name:"chat-delay",value:`${e.ChatBox.ChatDelay}`}:null}function _4(e){var n,t;return(n=e.Translations)!=null&&n.OfflineNameMessage?{name:"offline-name-message",value:`${(t=e.Translations)==null?void 0:t.OfflineNameMessage}`}:null}function E4(e){var n,t;return(n=e.Translations)!=null&&n.OfflineEmailMessage?{name:"offline-email-message",value:`${(t=e.Translations)==null?void 0:t.OfflineEmailMessage}`}:null}function S4(e){var n,t;return(n=e.ChatBox)!=null&&n.WindowIcon?{name:"window-icon",value:`${(t=e.ChatBox)==null?void 0:t.WindowIcon}`}:null}function M4(e){var n,t;return(n=e.ChatBox)!=null&&n.OperatorIcon?{name:"operator-icon",value:`${(t=e.ChatBox)==null?void 0:t.OperatorIcon}`}:null}function I4(e){var n,t;return(n=e.Translations)!=null&&n.OfflineFormInvalidName?{name:"offline-form-invalid-name",value:`${(t=e.Translations)==null?void 0:t.OfflineFormInvalidName}`}:null}function T4(e){var n,t;return(n=e.Translations)!=null&&n.OfflineFormMaximumCharactersReached?{name:"offline-form-maximum-characters-reached",value:`${(t=e.Translations)==null?void 0:t.OfflineFormMaximumCharactersReached}`}:null}function O4(e){var n,t;return(n=e.Translations)!=null&&n.OfflineFormInvalidEmail?{name:"offline-form-invalid-email",value:`${(t=e.Translations)==null?void 0:t.OfflineFormInvalidEmail}`}:null}function k4(e){var n;return{name:"enable-direct-call",value:`${((n=e.Advanced)==null?void 0:n.EnableDirectCall)??!1}`}}function x4(e){return{name:"enable-ga",value:"false"}}function R4(e){var n,t;return(n=e.Advanced)!=null&&n.CallTitle?{name:"call-title",value:`${(t=e.Advanced)==null?void 0:t.CallTitle}`}:null}const Ba={created(e,n){const t=e;t.srcObject=n.value},update:(e,n)=>{const t=e;t.srcObject!==n.value&&(t.srcObject=n.value)}},N4={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"};function L4(e,n){return k(),B("svg",N4,n[0]||(n[0]=[H("path",{d:"m441.9 167.3-19.8-19.8c-4.7-4.7-12.3-4.7-17 0L224 328.2 42.9 147.5c-4.7-4.7-12.3-4.7-17 0L6.1 167.3c-4.7 4.7-4.7 12.3 0 17l209.4 209.4c4.7 4.7 12.3 4.7 17 0l209.4-209.4c4.7-4.7 4.7-12.3 0-17"},null,-1)]))}const L1={render:L4},P4={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"};function D4(e,n){return k(),B("svg",P4,n[0]||(n[0]=[H("path",{d:"M20.9 17.6c-.9-.8-1.8-1.5-2.8-2.1-1-.7-1.3-.6-1.9.5l-.6.9c-.4.5-.9.4-1.4 0-2.3-1.6-4.4-3.6-6-5.9-.3-.6-.5-1-.2-1.4l1.2-.8c1-.6 1-.9.3-1.9S8 4.9 7.2 4c-.6-.7-1-.7-1.6-.1l-.9 1c-1.2.9-1.6 2.5-1 3.8 2 6.1 6.8 10.8 12.9 12.7 1 .4 2.1.2 3-.5l.6-.6.8-.7c.8-1 .8-1.3-.1-2"},null,-1)]))}const qa={render:D4},F4={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"};function B4(e,n){return k(),B("svg",F4,n[0]||(n[0]=[H("path",{d:"M193.94 256 296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31z"},null,-1)]))}const P1={render:B4},q4={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"};function U4(e,n){return k(),B("svg",q4,n[0]||(n[0]=[H("path",{d:"M13.722 12.067a.5.5 0 0 1-.069.623l-.963.963a.5.5 0 0 1-.622.068l-4.172-2.657-1.703 1.702a.5.5 0 0 1-.847-.275L4.108 4.68a.5.5 0 0 1 .572-.572l7.811 1.238a.5.5 0 0 1 .275.848l-1.702 1.702zm5.588 1.586a.5.5 0 0 0 .622.068l4.172-2.657 1.703 1.702a.5.5 0 0 0 .847-.275l1.238-7.811a.5.5 0 0 0-.572-.572l-7.81 1.238a.5.5 0 0 0-.275.848l1.702 1.702-2.658 4.171a.5.5 0 0 0 .069.623zm-6.62 4.694a.5.5 0 0 0-.623-.068l-4.17 2.657-1.704-1.702a.5.5 0 0 0-.847.275L4.108 27.32a.5.5 0 0 0 .572.572l7.811-1.238a.5.5 0 0 0 .275-.848l-1.702-1.702 2.658-4.171a.5.5 0 0 0-.069-.623zm13.117.887-1.703 1.702-4.171-2.657a.5.5 0 0 0-.623.068l-.963.963a.5.5 0 0 0-.069.623l2.658 4.171-1.702 1.702a.5.5 0 0 0 .275.848l7.811 1.238a.5.5 0 0 0 .572-.572l-1.238-7.811a.5.5 0 0 0-.847-.275"},null,-1)]))}const $4={render:U4},j4={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"};function z4(e,n){return k(),B("svg",j4,n[0]||(n[0]=[H("path",{d:"M12.5 14c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3s-3 1.3-3 3v6c0 1.7 1.3 3 3 3m5.3-3c0 3-2.5 5.1-5.3 5.1S7.2 14 7.2 11H5.5c0 3.4 2.7 6.2 6 6.7V21h2v-3.3c3.3-.5 6-3.3 6-6.7z"},null,-1)]))}const V4={render:z4},H4={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"};function W4(e,n){return k(),B("svg",H4,n[0]||(n[0]=[H("path",{d:"M19.5 11h-1.7c0 .7-.2 1.4-.4 2.1l1.2 1.2q.9-1.5.9-3.3m-4 .2V5c0-1.7-1.3-3-3-3s-3 1.3-3 3v.2zM4.8 3 3.5 4.3l6 6v.7c0 1.7 1.3 3 3 3 .2 0 .4 0 .6-.1l1.7 1.7c-.7.3-1.5.5-2.3.5-2.8 0-5.3-2.1-5.3-5.1H5.5c0 3.4 2.7 6.2 6 6.7V21h2v-3.3c.9-.1 1.8-.5 2.5-.9l4.2 4.2 1.3-1.3z"},null,-1)]))}const Y4={render:W4},G4={xmlns:"http://www.w3.org/2000/svg"};function Q4(e,n){return k(),B("svg",G4,n[0]||(n[0]=[H("path",{d:"M2.5 7.5v5h3.333L10 16.667V3.333L5.833 7.5zM13.75 10a3.75 3.75 0 0 0-2.083-3.358v6.708A3.73 3.73 0 0 0 13.75 10m-2.083-7.308v1.717c2.408.717 4.167 2.95 4.167 5.592s-1.758 4.875-4.167 5.592v1.717c3.341-.76 5.833-3.743 5.833-7.31s-2.492-6.55-5.833-7.308"},null,-1)]))}const D1={render:Q4},K4={xmlns:"http://www.w3.org/2000/svg"};function Z4(e,n){return k(),B("svg",K4,n[0]||(n[0]=[H("path",{d:"M13.75 10a3.75 3.75 0 0 0-2.083-3.358v1.842l2.042 2.042c.025-.167.042-.342.042-.525zm2.083 0a5.7 5.7 0 0 1-.45 2.2l1.258 1.258A7.3 7.3 0 0 0 17.5 10a7.5 7.5 0 0 0-5.833-7.308v1.717a5.84 5.84 0 0 1 4.167 5.592zM3.558 2.5 2.5 3.558 6.442 7.5H2.5v5h3.333L10 16.667v-5.608l3.542 3.542a5.8 5.8 0 0 1-1.875.983V17.3a7.5 7.5 0 0 0 3.075-1.508l1.7 1.708 1.058-1.058-7.5-7.5zM10 3.333 8.258 5.075 10 6.817z"},null,-1)]))}const F1={render:Z4},J4={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 37"};function X4(e,n){return k(),B("svg",J4,n[0]||(n[0]=[H("path",{d:"M14.69 18.65v17.89a.47.47 0 0 0 .47.46h6.64a.47.47 0 0 0 .47-.46V18.35h4.81a.46.46 0 0 0 .47-.42l.45-5.48a.47.47 0 0 0-.46-.51h-5.27V8.06a1.65 1.65 0 0 1 1.65-1.65h3.71a.47.47 0 0 0 .47-.47V.46a.47.47 0 0 0-.47-.46h-6.27a6.67 6.67 0 0 0-6.67 6.66v5.28h-3.32a.47.47 0 0 0-.47.47v5.48a.46.46 0 0 0 .47.46h3.32z"},null,-1)]))}const e_={render:X4},t_={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20"};function n_(e,n){return k(),B("svg",t_,n[0]||(n[0]=[H("path",{d:"M18.594.125.488 10.57a.94.94 0 0 0 .086 1.688L4.727 14 15.95 4.109c.215-.191.519.102.336.324l-9.41 11.465v3.145a.94.94 0 0 0 1.66.617l2.48-3.02 4.867 2.039a.94.94 0 0 0 1.289-.711l2.813-16.875a.94.94 0 0 0-1.391-.969z"},null,-1)]))}const i_={render:n_},o_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 39"};function a_(e,n){return k(),B("svg",o_,n[0]||(n[0]=[H("path",{d:"M38.08 6.78a15.9 15.9 0 0 1-3.82 1.08c.61-.1 1.48-1.21 1.84-1.65a7 7 0 0 0 1.25-2.3.15.15 0 0 0 0-.19.22.22 0 0 0-.21 0 19 19 0 0 1-4.49 1.72.31.31 0 0 1-.31-.08 3 3 0 0 0-.39-.4 7.9 7.9 0 0 0-2.18-1.34 7.6 7.6 0 0 0-3.34-.53 8 8 0 0 0-3.17.91 8.2 8.2 0 0 0-2.56 2.08 7.8 7.8 0 0 0-1.52 3.05 8.2 8.2 0 0 0-.08 3.23c0 .18 0 .2-.16.18-6.17-.92-10.56-2-15.43-7.86-.18-.21-.28-.2-.43 0C1.26 7.42 2.14 11.8 4.41 14c.31.28 1 .87 1.31 1.13A13.5 13.5 0 0 1 2.38 14c-.18-.12-.27 0-.28.15a4.5 4.5 0 0 0 0 .89A7.91 7.91 0 0 0 7 21.3a5 5 0 0 0 1 .3 9 9 0 0 1-2.92.09c-.21 0-.29.07-.21.27 1.29 3.5 4.06 4.55 6.14 5.14.28 0 .55 0 .83.11v.05c-.69 1-3.08 2.15-4.2 2.54a14.8 14.8 0 0 1-6.35.5c-.35-.05-.42-.05-.51 0s0 .14.1.23a15 15 0 0 0 1.32.78A21.2 21.2 0 0 0 6.42 33c7.65 2.11 16.26.56 22-5.15 4.51-4.48 6.09-10.66 6.09-16.84 0-.25.29-.38.46-.51A15.3 15.3 0 0 0 38 7.41a1.2 1.2 0 0 0 .27-.6c.03-.13-.04-.1-.19-.03"},null,-1)]))}const r_={render:a_},s_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 39"};function l_(e,n){return k(),B("svg",s_,n[0]||(n[0]=[H("path",{d:"M33.25 4.27H1.89V30a2.72 2.72 0 0 0 2.72 2.72h29.78A2.72 2.72 0 0 0 37.11 30V4.27zm0 2.27v.08L20 20.78 5.85 6.62a.07.07 0 0 1 0-.06zm1.14 23.92H4.61a.45.45 0 0 1-.45-.46V8.14l.08.09L18.5 22.49a2.13 2.13 0 0 0 1.51.62 2.14 2.14 0 0 0 1.53-.67l13.3-14.16V30a.45.45 0 0 1-.45.46"},null,-1)]))}const c_={render:l_},f_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"};function u_(e,n){return k(),B("svg",f_,n[0]||(n[0]=[t0('<circle cx="20" cy="50" r="10"><animate attributeName="opacity" begin=".1" dur="1s" repeatCount="indefinite" values="0;1;0"></animate></circle><circle cx="50" cy="50" r="10"><animate attributeName="opacity" begin=".2" dur="1s" repeatCount="indefinite" values="0;1;0"></animate></circle><circle cx="80" cy="50" r="10"><animate attributeName="opacity" begin=".3" dur="1s" repeatCount="indefinite" values="0;1;0"></animate></circle>',3)]))}const d_={render:u_},h_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30.34 30.34"};function p_(e,n){return k(),B("svg",h_,n[0]||(n[0]=[H("path",{d:"M22.562 12.491s1.227-.933.293-1.866-1.842.271-1.842.271l-9.389 9.391s-2.199 2.838-3.871 1.122c-1.67-1.718 1.121-3.872 1.121-3.872l12.311-12.31s2.873-3.165 5.574-.466c2.697 2.7-.477 5.579-.477 5.579L12.449 24.173s-4.426 5.113-8.523 1.015 1.066-8.474 1.066-8.474L15.494 6.209s1.176-.982.295-1.866c-.885-.883-1.865.295-1.865.295L1.873 16.689s-4.549 4.989.531 10.068c5.08 5.082 10.072.533 10.072.533l16.563-16.565s3.314-3.655-.637-7.608-7.607-.639-7.607-.639L6.543 16.728s-3.65 2.969-.338 6.279c3.312 3.314 6.227-.39 6.227-.39z"},null,-1)]))}const B1={render:p_},m_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"};function g_(e,n){return k(),B("svg",m_,n[0]||(n[0]=[H("path",{d:"M500.33 0h-47.41a12 12 0 0 0-12 12.57l4 82.76A247.42 247.42 0 0 0 256 8C119.34 8 7.9 119.53 8 256.19 8.1 393.07 119.1 504 256 504a247.1 247.1 0 0 0 166.18-63.91 12 12 0 0 0 .48-17.43l-34-34a12 12 0 0 0-16.38-.55A176 176 0 1 1 402.1 157.8l-101.53-4.87a12 12 0 0 0-12.57 12v47.41a12 12 0 0 0 12 12h200.33a12 12 0 0 0 12-12V12a12 12 0 0 0-12-12"},null,-1)]))}const b_={render:g_},v_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43.074 42.35"};function y_(e,n){return k(),B("svg",v_,n[0]||(n[0]=[t0('<g data-name="Layer 2" transform="translate(-11.86 -14.678)"><path d="M27.041 53.253c-1.064-1.771-2.107-3.505-3.087-5.276-.352-.636-.583-.81-1.592-.794-3.331.035-3.326.035-4.38.027l-.549-.008c-3.594-.003-5.572-1.992-5.572-5.602V20.27c0-3.607 1.983-5.591 5.588-5.591h31.993c3.523 0 5.462 1.947 5.462 5.48.005 9.007.005 12.633 0 21.64a4.892 4.892 0 0 1-5.399 5.401h-.008l-5.515-.005c-6.442-.008-4.361-.018-8.483.021a1.1 1.1 0 0 0-.505.352c-1.059 1.71-2.067 3.45-3.074 5.192l-1.169 2.007c-.084.147-.179.292-.297.473l-1.161 1.79z"></path><rect width="32.605" height="3.043" x="17.045" y="21.789" fill="currentColor" rx=".812"></rect><rect width="32.605" height="3.043" x="17.045" y="29.228" fill="currentColor" rx=".812"></rect><rect width="19.008" height="3.043" x="17.045" y="36.668" fill="currentColor" rx=".812"></rect></g>',1)]))}const Ss={render:y_},A_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"};function w_(e,n){return k(),B("svg",A_,n[0]||(n[0]=[H("path",{d:"M512 160h-96V64c0-35.3-28.7-64-64-64H64C28.7 0 0 28.7 0 64v160c0 35.3 28.7 64 64 64h32v52c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4l76.9-43.5V384c0 35.3 28.7 64 64 64h96l108.9 61.6c2.2 1.6 4.7 2.4 7.1 2.4 6.2 0 12-4.9 12-12v-52h32c35.3 0 64-28.7 64-64V224c0-35.3-28.7-64-64-64M64 256c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h288c17.6 0 32 14.4 32 32v160c0 17.6-14.4 32-32 32H215.6l-7.3 4.2-80.3 45.4V256zm480 128c0 17.6-14.4 32-32 32h-64v49.6l-80.2-45.4-7.3-4.2H256c-17.6 0-32-14.4-32-32v-96h128c35.3 0 64-28.7 64-64v-32h96c17.6 0 32 14.4 32 32z"},null,-1)]))}const q1={render:w_},C_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"};function __(e,n){return k(),B("svg",C_,n[0]||(n[0]=[H("path",{d:"M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64m32 352c0 17.6-14.4 32-32 32H293.3l-8.5 6.4L192 460v-76H64c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h384c17.6 0 32 14.4 32 32z"},null,-1)]))}const U1={render:__},E_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 46.9 46.9"};function S_(e,n){return k(),B("svg",E_,n[0]||(n[0]=[H("path",{fill:"#0596d4",d:"M23.4 46.9C10.5 46.9 0 36.4 0 23.4c0-6.2 2.5-12.1 6.8-16.5C11.2 2.5 17.2 0 23.4 0h.1c12.9 0 23.4 10.5 23.4 23.4 0 13-10.5 23.4-23.5 23.5m0-45.3c-12.1 0-21.9 9.8-21.8 21.9 0 5.8 2.3 11.3 6.4 15.4s9.6 6.4 15.4 6.4c12.1 0 21.8-9.8 21.8-21.9S35.5 1.6 23.4 1.6"},null,-1),H("circle",{cx:"23.4",cy:"23.4",r:"18.6",fill:"#eaeaea"},null,-1),H("path",{fill:"#fff",d:"M27 27.6c3.1-2 4-6.1 2-9.1s-6.1-4-9.1-2-4 6.1-2 9.1c.5.8 1.2 1.5 2 2-4.4.4-7.7 4-7.7 8.4v2.2c6.6 5.1 15.9 5.1 22.5 0V36c0-4.4-3.3-8-7.7-8.4"},null,-1)]))}const M_={render:S_},I_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"};function T_(e,n){return k(),B("svg",I_,n[0]||(n[0]=[H("path",{d:"M369.9 97.9 286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34m-22.6 22.7c2.1 2.1 3.5 4.6 4.2 7.4H256V32.5c2.8.7 5.3 2.1 7.4 4.2zM336 480H48c-8.8 0-16-7.2-16-16V48c0-8.8 7.2-16 16-16h176v104c0 13.3 10.7 24 24 24h104v304c0 8.8-7.2 16-16 16"},null,-1)]))}const O_={render:T_},k_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"};function x_(e,n){return k(),B("svg",k_,n[0]||(n[0]=[H("path",{d:"m460.115 373.846-6.941-4.008c-5.546-3.202-7.564-10.177-4.661-15.886 32.971-64.838 31.167-142.731-5.415-205.954-36.504-63.356-103.118-103.876-175.8-107.701C260.952 39.963 256 34.676 256 28.321v-8.012c0-6.904 5.808-12.337 12.703-11.982 83.552 4.306 160.157 50.861 202.106 123.67 42.069 72.703 44.083 162.322 6.034 236.838-3.14 6.149-10.75 8.462-16.728 5.011"},null,-1)]))}const R_={render:x_},N_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"};function L_(e,n){return k(),B("svg",N_,n[0]||(n[0]=[H("path",{d:"M193.94 256 296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31z"},null,-1)]))}const P_={render:L_},D_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"};function F_(e,n){return k(),B("svg",D_,n[0]||(n[0]=[H("path",{d:"M511.1 63.1v287.1c0 35.25-28.75 63.1-64 63.1h-144l-124.9 93.68c-7.875 5.75-19.12.05-19.12-9.7V413.3h-96c-35.25 0-64-28.75-64-63.1V63.1c0-35.25 28.75-63.1 64-63.1h384c36.12 0 64.02 28.75 64.02 63.1"},null,-1)]))}const $1={render:F_},B_={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",fill:"none"};function q_(e,n){return k(),B("svg",B_,n[0]||(n[0]=[H("path",{fill:"#fff",d:"M3.429 0H.857A.857.857 0 0 0 0 .857V3.43a.857.857 0 1 0 1.714 0V1.714H3.43a.857.857 0 1 0 0-1.714m7.714 0H8.57a.857.857 0 1 0 0 1.714h1.715V3.43a.857.857 0 1 0 1.714 0V.857A.856.856 0 0 0 11.143 0M3.429 10.286H1.714V8.57a.857.857 0 1 0-1.714 0v2.572c0 .474.383.857.857.857H3.43a.857.857 0 1 0 0-1.714m7.714-2.572a.857.857 0 0 0-.857.857v1.715H8.57a.857.857 0 1 0 0 1.714h2.572a.857.857 0 0 0 .857-.857V8.57a.856.856 0 0 0-.857-.857"},null,-1)]))}const U_={render:q_},$_={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"};function j_(e,n){return k(),B("svg",$_,n[0]||(n[0]=[H("path",{d:"M300 224h136c10.7 0 16-12.9 8.4-20.5l-50.9-51L507.3 38.6c6.2-6.2 6.2-16.4 0-22.6L496 4.7c-6.2-6.2-16.4-6.2-22.6 0L359.5 118.6l-51-51C300.9 60 288 65.3 288 76v136c0 6.6 5.4 12 12 12m93.4 135.5 51-51c7.5-7.6 2.2-20.5-8.5-20.5H300c-6.6 0-12 5.4-12 12v136c0 10.7 12.9 16 20.5 8.4l51-50.9 113.9 113.9c6.2 6.2 16.4 6.2 22.6 0l11.3-11.3c6.2-6.2 6.2-16.4 0-22.6zM212 288H76c-10.7 0-16 12.9-8.4 20.5l50.9 51L4.7 473.4c-6.2 6.2-6.2 16.4 0 22.6L16 507.3c6.2 6.2 16.4 6.2 22.6 0l113.9-113.9 51 51c7.6 7.5 20.5 2.2 20.5-8.5V300c0-6.6-5.4-12-12-12m-93.4-135.5-51 51C60 211.1 65.3 224 76 224h136c6.6 0 12-5.4 12-12V76c0-10.7-12.9-16-20.5-8.4l-51 50.9L38.6 4.7c-6.2-6.2-16.4-6.2-22.6 0L4.7 16c-6.2 6.2-6.2 16.4 0 22.6z"},null,-1)]))}const z_={render:j_},V_={name:"ToolbarButton",components:{WplcIcon:Ss},props:{title:{type:String,default:"button"},disabled:Boolean},setup(e,n){return{onClick:i=>{i.stopPropagation(),n.emit("clicked")}}}},H_="*{box-sizing:border-box}.bubble{border-radius:var(--call-us-round-button, 50%);width:var(--call-us-main-button-width, 60px);height:var(--call-us-main-button-width, 60px)}.bubble svg{padding:var(--call-us-standart-right-left-padding, 11px)}.bubble .chevron_down_icon{width:60%}.single-button{box-shadow:0 4px 8px #0003,0 6px 20px #00000030;margin:0;background-color:var(--call-us-form-header-background, #373737)}.single-button svg{fill:#fff}.single-button svg rect{fill:var(--call-us-form-header-background, #373737)}.minimized-button{box-shadow:0 4px 8px #0003,0 6px 20px #00000030;margin:0;background-color:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}.minimized-button .minimize-image{transition:transform .2s ease-in-out}.minimized-button img.minimize-image{width:30px;height:30px}.minimized-button .notification-indicator{position:absolute;height:13px;width:13px;background-color:#e44f4b;border-radius:var(--call-us-round-button, 50%);top:2px;right:2px;border:1px solid white}.minimized-button svg{fill:var(--call-us-main-background-color, #FFFFFF)}.minimized-button svg rect{fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}.button{position:relative;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;border:0}.button svg{width:80%}.button:focus{outline:none}.button:active:enabled{transform:scale(.95);transition:none}.button .bubble{border-radius:var(--call-us-round-button, 50%)}.button:disabled{transition:opacity .1s ease-in-out;opacity:.3;cursor:not-allowed}",je=(e,n)=>{const t=e.__vccOpts||e;for(const[i,o]of n)t[i]=o;return t},W_=["title","disabled"];function Y_(e,n,t,i,o,a){return k(),B("button",{id:"wplc-chat-button","aria-label":"Live Chat & Talk",title:t.title,class:R(["button"]),disabled:t.disabled,type:"button",onMousedown:n[0]||(n[0]=cn(()=>{},["prevent"])),onClick:n[1]||(n[1]=r=>e.$emit("click-inner"))},[fa(e.$slots,"default")],40,W_)}const j1=je(V_,[["render",Y_],["styles",[H_]]]),G_=Ve({components:{ToolBarButton:j1,GlyphiconChevron:L1,WplcIcon:Ss,WplcIconBubble:U1,WplcIconDoubleBubble:q1},props:{disabled:Boolean,collapsed:{type:Boolean,default:!0},config:{type:Object,default:()=>{}}},setup(e,n){const t=ue(zt),i=Z(!1),o=Z(void 0),a=Y(()=>e.config.minimizedStyle===ni.BubbleRight||e.config.minimizedStyle===ni.BubbleLeft),r=Ot();return Mt(()=>{r.add(t.onUnattendedMessage.subscribe(s=>{i.value=!s.preventBubbleIndication})),r.add(t.onAttendChat.subscribe(()=>{i.value=!1}))}),{showNotification:i,toolbarButton:o,isBubble:a}}}),Q_="*{box-sizing:border-box}.bubble{border-radius:var(--call-us-round-button, 50%);width:var(--call-us-main-button-width, 60px);height:var(--call-us-main-button-width, 60px)}.bubble svg{padding:var(--call-us-standart-right-left-padding, 11px);width:80%}.bubble .chevron_down_icon{width:60%}.minimized-button{box-shadow:0 4px 8px #0003,0 6px 20px #00000030;margin:0;background-color:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}.minimized-button .minimize-image{transition:transform .2s ease-in-out}.minimized-button img.minimize-image{width:30px;height:30px}.minimized-button .notification-indicator{position:absolute;height:13px;width:13px;background-color:#e44f4b;border-radius:var(--call-us-round-button, 50%);top:2px;right:2px;border:1px solid white}.minimized-button svg{fill:var(--call-us-main-background-color, #FFFFFF)}.minimized-button svg rect{fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}",K_=["src"],Z_={key:5,class:R(["notification-indicator"])};function J_(e,n,t,i,o,a){const r=le("WplcIconBubble"),s=le("WplcIconDoubleBubble"),l=le("WplcIcon"),c=le("GlyphiconChevron"),u=le("ToolBarButton");return k(),Se(u,{ref:"toolbarButton",class:R([["minimized-button"],"bubble"]),disabled:e.disabled,onClickInner:n[0]||(n[0]=f=>e.$emit("clicked-button"))},{default:Gt(()=>[e.isBubble?(k(),B(rt,{key:0},[e.collapsed&&e.config.buttonIconType==="url"&&e.config.buttonIcon!==""?(k(),B("img",{key:0,src:e.config.buttonIcon,class:R(["minimize-image"])},null,8,K_)):e.collapsed&&e.config.buttonIconType==="bubble"?(k(),Se(r,{key:1,class:R(["minimize-image"])})):e.collapsed&&e.config.buttonIconType==="doublebubble"?(k(),Se(s,{key:2,class:R(["minimize-image"])})):e.collapsed?(k(),Se(l,{key:3,class:R(["minimize-image"])})):e.collapsed?ae("",!0):(k(),Se(c,{key:4,class:R([["minimize-image"],["chevron_down_icon"]])})),e.showNotification?(k(),B("span",Z_)):ae("",!0)],64)):ae("",!0)]),_:1},8,["disabled"])}const X_=je(G_,[["render",J_],["styles",[Q_]]]),kf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAANlBMVEXz9Pa5vsq2u8jN0dnV2N/o6u7FydPi5Onw8fS+ws3f4ee6v8v29/jY2+Hu7/Ly9PbJztbQ1dxJagBAAAAC60lEQVR4nO3b2ZaCMBREUQbDJOP//2wbEGVIFCHKTa+zH7uVRVmBBJQgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMCpdOzvQQqaq2KmuSrOzQ02lSeRem8rpsQq/ozg72Kj4UkAxEev8awnzs7P1yiIadsfpQXjfZCHhUCzbfmeurdNz6bDRsBWRsB+k0cXxdHjpa0wkTBn3hKnjzRZyEgYk3IeEv2RKWCt1cN9EJ0zjfm7Mq/rAVgUnbLpwnK/zA2tnuQmzJHquuqJq91blJuwmAW8rHbV3q2ITFrOAt7Xz3l2UmrBMlpcHe9fOUhOqRYVhFO/cqtSEy0H6bh/tJ1uhCctqlTB/NSnG9pOt1ISXjxLq825laVFowo9GaRPrF9talJqw3n6macaZ09yi1ISG2cLyriwePwxzi1ITru4s2naxma59TC2KTRjE83FqmQ6yeDaUDS3KTRhMV96h5TTSLD4HQ4uCE9bxePUU5pYL/3mD5o9CcMKgTONc39NNLrV5iK4aNLUoOWHQ38RQtW3nsm6db92i8ISvGBtct+hvwqyzBFxE9DehrcHlQPU1YWNvcNGirwlfNThv0ZOE9eJG1OsGZy36kVBdczU9e7RvAz5b9CFhqfIwSp4XwG+OwUWLPiRUV/33Z4tbGtTvGK635CfUDfb/SO5rt20N9t8m65fLT9g3GD5abDY2qC+lvEg4NjhEvLW4tUFvEj4a7OXq3TzoW8Jpg0PEzfk8SThv8EMeJFw1+O8SHmrQg4QHG/Qg4cEGxSc83KD4hIcblJ6w3L508TXh+vtDEpLw3GwDEpKQhOdznVD2fRr9tdpRw/1HqQndIeEvkXCXUlDC+1NBndsnge/fwyVnp9PGH3p95dm1WMKza4/fI37j+UPXR/c+2X9/hjQI0uO3LsyuMioM9A8Sjy/W1iIhY7Sn2tzpUahdWyXiNDNSxcWtSlCBAAAAAAAAAAAAAAAAAAAAAAAAAAAAwCn+AEXGNosxDBhFAAAAAElFTkSuQmCC",Ms="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAACCCAMAAAC93eDPAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJcEhZcwAACxMAAAsTAQCanBgAAAL9UExURf////7Yuv7Uvv7bv/z7+fv69/r49fz6+P0f1f78+/77+DkeC+fd1fPt6fDp5PvJsuzk30oqEUIlDcSJVaZ3Uf3Ww/7fx656UFY2G147HsuXZ/rFojAZCNmoeriFWuvg2f3Tsfbx7bOBVvfm2f7ZyM2UX/n28lIvE+y3kNGaZMqQWf3KqNqkcGU9HN7RyP7f0fzOtP3QrNOhc51oPvrErY9iQ3VML4pZNMSQYsOMXeimipVhOJ1tSYtePH1eS/nv5qRxRv3UuL2JXZdpR/K/l76EU/W7ofvAnujCobyMY/rCkE4xHWpEI7+Ral01FeCghtOTb7N2WGNEMPa1j/m7l9KebP3Pu4VdQRIKB+CqgPS0mmxKM/nNqJBbO/rAp+LXz21HKdWWemM/Jti+quawilM2JsqccteegeqnfqpuUPfr4IpiS/HfzvCtkcyFZfGuhrGFYSYTCfr07fHm3vW/hfPcxuC7mdidZZhdQu3JqdiYWXBXSOnOtOGpbrqAUKxzRJZmQe6mh7t8XMiIanxJJdavjunZzcWfgapzWPTDnOSheuCsd3xSMcKBYLd8S3xXRKt9WemqkxoUENnLwuDDqlk+LN+gZNOngtKJa/7+/ItPNtmOc9TDt4FYOe2ucfTi0+W1gtuvhcCBaJphSsCHbHJQOk9AOEUsG4JOLpZsUtqYcs66quXUxqZmSsSWbWtOPjEqJ51xVO3Uv7V4Q6RqU4lUQ0AyKsewoOu5g4dTKt3Hts2Kccupj+eggeSafXtVOs6MU8GAR+C2jV5LQrSHcZ9kMsWLcbV+ZLt2XnVDH9CjeqhuPJFaLOTNvcd6YPTGqOilafTOuPTXvMeHTOq4pTklGvvMnOGddCUgHb+Zem48GsuSeurAlq93YH1LOPW2fJZ1X4VmU5lPQcCijrdvVaKAZX07Leizede4od+Xez47O9GzmU1JSy4fGOWxnLOYgbqln2UxE6WKd2JfYMFlYYF7eaZZTW4pJ3VrZbyOgqhaQrReVL67t5eKg1UbCcV+0JMAABoTSURBVHja7JjdbxrpFcZTN93V7jQhg+p0RqA0WUUZSxYpkcaTdppQuVmBVoz4GFvADhsCJBQoCxZbVWKF1Aq82bDIiJotWtYkN3yY2FnXuAJHVQK+CAJyEVuRbBnFsmUcx4pX8UecOLHTRuo75F9g3Bs/cIHgYn7znOe85wwHDuxrX/va1772ta997YlOHTr1/7jsoesbWxuPrx8+cPD0xpPFocXNvaY4vTVBGYG0i9c3HeHwxARBOG7tJcCRLYIyEhN9EzccjnBaT6cl4QnCSDw5tFcAB2/foFgCrdbh0DrSFkQup8NhPY1S2ut7lL0nlIgSGY36tKQe1iOIWc7nW0YlEj2Kmonbe0NgFAGhZjpcl3ijmQydls+wCBK9GUGMp7kn+P7xfZFCgWKIvl73ekejoAiLXnmGlki8elqEIvojnCPc6gMECIbQNLhxlsCiX1yMZiyjdQltQVAUqR/cAwIM48PAfy/QKG2xpBd3R4EXEknaIseADxz35uEbIhHG50MQPxNly/8O4ZrDYqHT9TCKwgiFpE9wSfDBFiWC+XyhUAhlomnHkENLm42O8neOqDzq9aZpBIVBKTa5RPi2jyWAhG4hH2UJJvRmIjlvUub0ZhANLy1HENiISDhMw/tPKAwUAQCAmpsntB0ejz1kJRmn6txCWMIiwAiMGalvORwMfQo+xBdCII98szZpD7lUtq6uru6uoGukw1EfjWbA97CI2uAOYUMEC/kQhgiFMJH0x4I9Xd0CgaBdJuuyudRDQ2FLhv0VMUq4G899MATDKOSGFDftwz3dsvb2M8fbz5xpb5d121TqobAZxARCYYri7HjaUEB8BBMK+Y/O/nWWJRB3toCXGEAAH2I5bRoEBQI9QXE1KU5p+eAWhRB8/2yoUYN3BC0t4jPtAlnPrP9sGmHbFUEoLUdT++eg6dksPjrrCtq6umU8TUtDnZ1ithQ9qhHCzB4ZsEJE7PyME4TboOMgGEMvhmZtrAm8lpbW1tYGhJgnA23hv2nGIGADSlHj3PTlohyBYAQ5/9vhYANBDAjYN6iFuF3Q3WNz/U6kYG3AUMrylhMECcLHUOR8aBiY0NMlM4BCtL6zAVRCIOvqmf3bfRRmbVAYMzucIHgxRGROB3pnGybIcDFAOHmy9WQrQBCzYbC5BhTg7AJpoOQ/coJQRymC1qpV7wgE7Q0CVq0NGwDC7MgjBQyzaUCyXPTE9xLKqI9q/e8QDDioA7j8rwFBK8sgEHzcZgt9pcBAKSBYnr3EAcIlI0plzB2JYVuPk5HiAEHDRqFVwzaGRoxPMVdsw57nrA0QX17joiXeGo0QFB3rHb5CmqzkNA4geACD1xA+1W9KBUZCarYSfCFfnv0vB3XY6cPcwon5lCmRzF9c6KiY+qVSKYuBG6Tr1kB+gejIeTxfgUDCECSvcYBw6p4RcmfGKqlKeW6uNBbWE/mKslGRBgChrVjXr5B3PM/BUgNnOEE4PIi63dH5VNnKaq48n+zI9ZJOqUHKKBOBwHwllSqbTKbU/ecKPh+zcIFwaVwemUknUuVUKpFzhB2OfK6SsPYDBHIulQiMlUrhfL6a8A/cVwAbUA464kRqPLMmd/SWU5X5fHh0fPCeZCxQmevHNQZlqlKpeL3jM5ZwLqD23HyE8TFztvmP+l8vjbvX6DGVKlUZGs3svHj2Ynu+XCor8VapKTWX2tp+9uyFRO6YD/k9NxUKam2w+XX41UrULdSPqWZNqaFwfXN7Z/vW7tzVOaVBw5iufpm6vLm9/XY3H0ioVMseESavRZt/Op54NRpZiwbA0UhaS/Ol3c3H6+vT60qlFHcq1x9OT6/f3i3tVqxKMhiym+GZrOWH5ttQktQi9N/B0djWZi33JhJlK7huP8kYnMr+Lx9OW8vlStna1gZmldoorI0/af4T9ntD3myEDgCEbtnHV6xW5TTOkzJOUmpwgs7kPZya7leSbY1xqSYia4N3H3zf9CzUB2u18SEVGFEydnHHeWIDiyDDGZJhcDAjDDIZu83Puuz6SG3cxPtzsxEue8d/rNXCd4I+sC8Z2nliMc/AMP0Mi+BkDBqwufAEYHuzDYc8llptJoY//KDJCNe82WfZSLSXRZAJwKAG982QZDfOM5AFp0ED5rYGrPI9hbg6P7MWiVQNvM+bS/DFMW/2RTYyUxlmEdidTYODMvikrSdBHgtSdo/U4N1dvtmYXb+WjehyUs1Uc9Pw9S8bLkQCqoKvsa/gUnLVSRYYgOAr+EgpGNu4gXEWhkNJy1pWF8mTPGlzbXj6C9AQkYjuQm+86APzkXHGQ72FeOgO6VydjBXAd1JDd1ePrxhTb+2wdlli/fjU+838a+PaufS4LqLThf2ueLHg8/niy6rQyM2VZLWaXFmqxgurPqfT5yvGJ5P1p4ePlMaiI6S48y/NPBs/uUAP6nQ6t15dnYzFV4vx5Vgxnkt68vn8ysKKJ16MxYqFIiAY8RAx0CG8bz614S3iL5qH8PlHHXQGIAgJe0BddcVcy9XVgtJ0pwr2pFw1ES8U4suuWMw1aU8urFmqcZKRfnb8jFj88MOmIfzjWAeNQYAhE7Dbl6v+ZXtslQQqFE13TKsF8GHVZZ+cnFxemMlEdDMDb1xFhtf5k+PfNC+RV49dMCtgwOAOBOxqf2gk1GsqrK4WC/0Mw4AMFILDKr99MpmRDxAgMtFXb97EGR5P3Dn1p2YhfPfRBaMIxdw63Tm/2u9SuWLq/NLS0qtX/5l8+fLlpMvVG/L7c1HLwIDHwqZ2Tqpcnoy3TQnEU02Kw4d/PHahj6JQoc6d9vv9sWBwOAnJA6W7u3fnS6VAbmAFQu0OS3LkoscjdEd0bjWvhan6P/1MLGhWHN775x86bhBGAnYLM4GQunfWFlQm3XrJ08v/evDgwe1S2D0zdM8x6xrxjBBut87tvsjggs6jR4/+9Lhgqjmd+ftPftNx/t9EHwVBUAewXBUMksqllZXXr/N0Pv/69WvLoOR/rJl/UJJ5HsdHurzp8jcPPkr3YPJLMQwX5JfAhSAGOyngHTFckSKEZ5KjtZDcUrKJlkEtpmVLsv6qDk3dcM1UmpzTzsqb8nR1usqcG/ttbrfN7uzN1ExzX+y6uftr3ew9zzzP8Nfzms/n/Xx+8B27fftoe3fF2vLy42vXirM+WhVLRH20ITKzNqv5QyAQRBwxk+1ysZNioncePnpQcfuIXH4auOD1/ON/zX01OlrSplN0dj7s7i4s/3V5efRcNiZtx47NIBC0WNT22tAPgNCL4/AFDLaLB6bCGfVBpeJ2p7zo9KkfLo4ufv/9Yv+PP5QGAqcUpd3FHhCm8v7veomRn926smEVjQg2TmLm+k0foCzgSXy7kMdiDObG7fy2WHn0D4oi3ef9C4uLCxeOfxp4/bCtquoo+CorkmJioi/Ub8L8vtTjSSdurauTl77AxIasI3yAsqCCGEL7oJCRGr/t+JxS2XlEpzu3APT3bx+Db/N621hVoFPZXRCTlBT9XU36Z7c8F+Vbd5x+Nf/y8elpDBFVu2KGcbwKFkJCgVA4mFo4E92uPHpEV/SbhYULM3kez3zf/WtVusCRU8Vz0XHx8TEXPu/W+tpvptfdelr45s3j+dJn2ZmZtSv05B4STHXDsJDBhhmOwrzo1GJllaLoTP+54bm5i+2gRyjkRQqFUhsTV5iXGtP/p+hU1+XpK9c98y/fvHz8MCM7HRWyLmtlZdKWAtPxQHw2wHANJ6XeAAw6Odgk+/ruXx/TyTMydFXKirXR8dtY8Un9M9GFzHulD398/Xr+rsfz6srv0oioieTeFQ0LrWgRHYcDCDz7MVigjmfdcPQp23S6QBsAqaury6h7VhW0YlzeWW9h0s6ZpFz+2Fhb4FmwdStf3dqdToycRVYUBRMFLaOKcCJYKGRzJDCTNedxOPoOVykCVYFnACEjQx4o1qbGxO1kDXsLc0/M5Obyi+QvprN3P1NUVQWyMTRMluHQiqpzK0nCoXJwHBwM80RoFTTsrdD6fHxlW1UA5ABEQR5Qeu5uSSo8oVa7WKnb+nPjDtdNT2Iis3cb6jQGFJGGkY4PrcgJqpRjWDpHhAW5YODp2B4xuxt43qE9fHCJQa5r63PcdRRsKcwrKRl23VX35yaNTU/SiKi0yHUTWelEGm1qJGclxwPhjRR0JZ2OE9EhHI6PQ7CIW1tcXFzB9vn6ztwL6lq7w+FjF6RuO+tnegU3Ovrj44qmMQAhE5VWG0mkEWjWxjsrOK5a04AlSSqddDyHDrllfhFCzzGWnTmoLK7Qsn1a/7Wr9/ken89T4WEVeM92iNVsh78/fkv19BSNtio2bTMwAo1mlvas5OzSZsSi0V+3qGAOFud2Q2V0jYz+tKam4VBZuxbI49GyPT7mowePrgqYw2K+QDDIHI1zNVqnaLG0kM3r0mgEAm1ypCxiBW16HItFS461cHBGmawDgtxGTY7xeU1CQlj9+QePOtQX1eqSf/zzUtPQo+diP5MvtgvYrk/jWEVLCOsiN6BAGswgD++/WG0awXIpJMmxAREXwZeV+CHIiIxzqrsSohLC8uubzp+/BHS+qX6j/oEegsSQQKjlub46UVAkRRGJmDTUVuBF86RF9v55IIyoRDhKyp/xLSIsHfKX+N0QQkd6Gm9GRYE45G+sbwqqvj4//+klvRvmC5gwj8E+MRp/bzYtkwb2TBSNRpyUNrrf9wh5jRlRcfEiCumYDOFiZfwOdQcE041OI0CIiIoKAwwb6zcC5eeHPW/Sl+HFLAafwWPnjRaWGWozM9PArECjYSYtOQ/ek2DXrApBZDCXCjoElquCmB1MsRvG0hHjeNfe8Ii3EEGFAT1vOp8jEbPZzEoeb9uoy9+anDaRHhnMRqS0Fa7e+z7/NeyxzVpt0nEYxlLRMMLlcOxqv9eOhzmIxkjviggPfwuRAF4fBaTXN93h2nkFAt5feMPn7GKNoTYLdEhQHCatGvz4iPVnD067pqxTZrMNweFh6j4R3ynBVno7xADhABdxGhFTeGJi4hIEwIiKAM+b+o2XsUIGS8BmMNgLLDtdk5ycvSPohskJTc9IKzJi+uJneWDW2tw8ZZbSsXgRTE0RMZ0SCU8gZnohEZqDOBtHEhLJiUsQ4RHhwYCERyQMhenpB4Qsl93L0J5LFeRoDIbZicggw/YWWbXFYmntXf5CQbBYzYTmZtsIhSSCISyV64ao3EqmmG8X4EUpWCqCSCPIoWTyEsU7hdd0dbWmVLqG1Tw2b9HhgIoMhuSJNNQqDGp9VuPlO9VSm8W2TEOssWmmCLuae2epFC4JD4upFBEzh4Rm8CE+n8lFk/Y5nc7exNCgyEEM8n8UbksYUR1ge9VqLW/U5xAoDIYXE6jgNhOy3dAwdDlHampY3gD5hWXEvKm5V0olpaAlIqEAT8WKhlUSNAMPQxBMofxxf4tzgEAOXR36vwK/yASrlEoBbUogYC/6Bgc5IBNSsFARQzLXZ1n0en2OJcHyq+W1hEmCqVeKpKC/OcCFIAGWSoJKKCkkWATjcD3Ok/ucT/Zb9/wCaPUSBXnpAhCryeZWJ53vFTC99lE2w4VHDKA2BIMQkplF13cldPU06JczwxKM0uZm4EP0NxISB8mBhFQKR+DHkvZxuDguYmv52/4nAy1m8uqgfrl0Xx0MwVsaqRMBRVogZo0yv2aIOzWG5O2rAMOq9VnohrC9CUPVQw3L2KCrx02EXosKjea0WmzVMr7kJIXj7SHtp6q4XJXNNPDlk4EB667QtxF493grcmhzsgYqg8RM+zmv5IBdEUSIXUL4LdqSEBFV02Vp+OnqYMI1mnpnkRRSq63XZDsECUknqSI/NuWJE0RjoJnwyZcDn9Sayf/3bvJ/DbHJ6hRBZW5IPNohRFdyNJp3CB+TWmv2hkeF3bT89Bh9CH9nSIqQEGmzyWRqkAn/Stm/D3+VThp44lRRJv9dqPmFJLrmcfxEr76c5VVcXhnBJU1Fz/iOK6QMKtpoNYIG7p0c4hReOHghXYh/6Z38c5FKdBChUA50zG5ilsTh5EUpXmhzvEgN2oKgCJolDsV2cXZ22cuFfZ73fR317Jl8KYMInk/f3/f35/mpV3YUDM4vmtksJgQwAizqi/rBDi0IBQl+1vT2lW/WKlpYeMMEYl6eDAe4XG8qHB45qArs9YeyQWOTyZYDB/lYTCuPKqU+Z+To/j4SCckWbwGBjCJAehgDryzvscrQWZrjv31f5hMC1cIRRHg2PjWvdOyKOQEu70AzajeesqTdaensscws8wa2PNZMTB6V+3yz0aNolFCe7wANLsf8rM8PCi3JZhhgUhxsODWxpR/fv+f/ZBA4aQSoQkTbXuWKMXEgPMqQD/zHfb7Wt2yWcSTLSWEkRiij+E8+aTSak8sj55O3wcspIAKTCkAJtI9DoZhtKmFYI/ju/ZJImhEuUBnxbGxqPmLxJcWbJR7ndHdEp0gL3GljIi3e8UokqxplxJCLRLUJKR4liViDXARxuHzmp7KRjgM6DAEwdm4iwvDxxw9GUcKqpxHGIYLIUq6puQpJyfH0B0x+KIvcWR3fXQqY/YGkUiWPgGdtWkrkGngcJ24ub4OTXlbfCSgLQYdVYPl3ViJWz897RsH3otkFuO2hEHIOk0jNBe3VLX06Lb+22x/ndD8DBL/Z7dFEoQzEpzkLTjYz8WbTFixQIjAMUAHwjaKsASnYEtmKyjq3ZzR9LxIBhLFxiBA8i2l9KR5XIn50PO1H1GFP615e1TCON5X0FFW43BrJfPPSiDcqnU68eRQsTHnh4ShjRBAHhDWYHjRDyObYM05/S6kAEWZeBM8qRu1pgIsdPnhGIJTtjupfr2pgRN9KlzeURAyPtP44bWw0K8Zuq1ksBJ8pPjuRtsJAoe4xKCTL7b2q7ttZ+8L64sw4SAiAEIsb09jm4bY7+fTqi+VxOHS/XLldgdSWr61SEhZc3v1G173oaE+6rcr92aV5MCH7XhxKDDbb7PlHN/HSbn+zPgURxl7Mn8Uc9s7jtgtzh0ctOB2O6bu7fTEH3JUmnBFCS+DVv+hazfjaSbWFF87GwWnokB97MAOJylZwhHutxJxI/4ZSYWxscb5gvbqztMVc8cOItbjC4RAl9vfrGPaQFWnkZMWCW6vXXeCDT9fV1vHZvRcZPrwHhLKGGMzOPW0im9XTKoxNTs0X8KvDtDDFwx5GlAW/XW9P1DbvUqV0dlaINzLxC2v3pNrprJ2caK1/I9fZPd+hyEAIhryAQAThnhEgGKAKY0AFgNCou09FNkw96l1kiX7WYVKrD2u1LJ9vICqzGVykXTN2uiefrrVbK+T555P7LkD6WYEwNQsidKd9Pv3z9cXJsfFxGqFW8x271OIRCDvCWY/U5dqvp7VLFn3DoLcSsfh1q9W9vjZmzEVSBkoRQpsQ6RUjtFcrYYmAtgAqeIEKcz6nlEIAMkzO35KO09P0bqo06u38VU05bcdc23fZJZ1JSQj1BBHLnLRa1ZO1uMGbK/hpK6CDVRFlWgWsESjtTLbMsGf0+YQmiDBDqXBLxrZK9d2Ua8TnKhS7eU/bI3ZtpufevYtHVUqhnMjEqq3OmrZb0azmXitQemYcfOgyBR4YCEaiZeKDqV0WvHz++k+TM2PQC7c5a7JUT65iIxbiq6v5vCbPc6nT0zqdtbghFJJEHDe2Ol1BvOk8iC4qEPoUlEkFWn9KfcYTtDgh+QeTZ2ItARCmYCAgAp4v1cNh7OkmtROStfPOsBhTX/340ii/KRI42dDi2k68K9ATqoNiiBqch1VAeh6knIrQYMvOtz6D8M8miMCocNZIn+ZP29gXLzOy5dDBuZkV3lWpHng819X0tFZpe42DJqXD4wAhkycmVlZCit9BoB2JUn0bigGJAqr3vgnjuyyNME4jeJL1Urv0RFlQ+L9ShHaON9puCsGUVT4/Eumj8iVrpVNpVZKq4+Kyt+cFyveDdYEJA8PHluy+8nmqJz6IMAkz4jJ41pgt11zJJ2emP3i9X8mKxcdtgJCe5vucE8/ts1G5NlOpAIhdMLqf+9k0AhQf6ZdmJgxAAZQhY69+/MVSXYMqwKyECAUy4y6laqOmV/ZNcWtbLeZhhwm+3em8d4iihCWeqTSbFeXN0fk5GNkQJh0R9LddEkEYIPgb769/71bXfBTCDI2Qa5YCWCr55YutzKzwLx/t1jY3MYyHbZv4DqVGVRapCEHGWmmSeOPm/lwm8zNVAf7XaK8yMZ0CFgvw0CVDUn+l7VbtfYT5AtmsccTY1pd34eZVW3hFBhdHPJcY2/zZSCEYInJ7LFO5IFVkAdyh/P6+A4faNMqc39OIZd5/K7AYyz2EKYCQazxyAph4xN36h001Bpd5YLQwWeQqj8NAEh7c2rwgNybOgjcyv6J/g/j/SYFSAqFz01z6YI1ZNH07wpQoczniUQvQr9VqMRdcu1zq7V/nrCp7Vhkh83gGIoSLhUuZH96ZELR/g/htnezlLGLmftDjsYmBQNyekVaMwxu1C2eDMMCVDUAAzV1uiTtz8iSFcB+2FYPn8CKHDt1i+nMD0yoROiR+1r89BLhGUBkBJjcKAZiBO+oupVCrMciAuTYP68ULkTSiUiatFxDBZjs+WpQphlpDv0X0+jbVKMALwmb/50rpfAMQXlAqvAAIuYs6hzNKBYlLTK3PQJfYP843pdKoU5mvkBcXucLKqs0W8iqGdaenxz4ErAtUjQTJ8s9/bajePF+n6sLM5OL8bSF3oQdRHrFt4mA88EdwmajeeqzHMkqVUxhT5hpEcWN9Z/kAJO7AwI72ZhSmOjM6IHSdZIs/FoEV1ikVZoAKoDA0rClOYESn5GJcLgfuELHN2v6dI3MvdBqU9wWybbOthLxeCZ0QaK8e0OMBMyPQKrCYps1ic/7LIEzRgYAIzbqE+3u76P8ByWU24yMyemYAAAAASUVORK5CYII=",e6=Ve({components:{GlyphiconTimes:P1},props:{greetingMessage:{type:String,default:""},operator:{type:Object,default:()=>Oi}},setup(e,n){return{getAgentIcon:Y(()=>e.operator.image?e.operator.image:Ms),onGreetingClicked(){n.emit("clicked")},onGreetingClosed(){n.emit("closed")},updateNotFoundImage(i){i&&i.target&&(i.target.src=kf)}}}}),t6="*{box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{animation-duration:1s;animation-fill-mode:both;animation-name:fadeIn;animation-delay:.5s}.slideLeft{animation:slideLeft 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideLeft{0%{transform:translate(130%)}to{transform:translate(0)}}.slideRight{animation:slideRight 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideRight{0%{transform:translate(-130%)}to{transform:translate(0)}}.slideUp{animation:slideUp 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideUp{0%{transform:translateY(130%)}to{transform:translateY(0)}}.nudge{animation:nudge 1s ease-in}@keyframes nudge{0%{opacity:0}to{opacity:1}}@keyframes fly-in{0%{transform:scale(.85) translateY(10%);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.fly-in{transition:all .5s;animation-duration:.3s;animation-name:fly-in}@keyframes show-with-delay{0%{opacity:0}to{opacity:1}}.show-with-delay{animation-name:show-with-delay;animation-duration:0s;animation-delay:3s;animation-fill-mode:both}.spin{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.root-greetings{background:var(--call-us-main-background-color, #FFFFFF);color:var(--call-us-main-font-color, #000000);width:300px;font-size:var(--call-us-font-size, 14px);padding:var(--call-us-element-side-offset-medium, 10px);border-radius:6px;cursor:pointer;min-height:60px;margin-bottom:15px;box-shadow:0 4px 8px #0003,0 6px 20px #00000030;max-width:60vw;display:flex;flex-direction:row}.root-greetings .operator-img-container{display:flex;flex-direction:column;justify-content:center;width:30px;margin-right:var(--call-us-element-side-offset-medium, 10px)}.root-greetings .operator-img-container .operator-img{height:30px;width:30px}.root-greetings .operator-img-container .operator-img.rounded-circle{border-radius:var(--call-us-round-button, 50%);padding:1px;border:1px solid var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}.root-greetings .operator-img-container svg path:first-of-type{fill:var(--call-us-form-header-background, #373737)}.root-greetings .greeting-content{display:flex;flex-direction:column;justify-content:center;flex-grow:1;white-space:pre-wrap;word-break:break-word}.root-greetings .greeting-action-container{display:flex;flex-direction:column;justify-content:flex-start;margin-left:var(--call-us-element-side-offset-small, 5px)}.root-greetings .greeting-action-container .action-btn.close-btn{width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);line-height:var(--call-us-variable-button-size, 20px);text-align:right}.root-greetings .greeting-action-container .action-btn:hover:active svg{transition:.2s;transform:scale(.9)}.root-greetings .greeting-action-container .action-btn:hover svg{transition:.2s;transform:scale(1.1)}.root-greetings .greeting-action-container .action-btn svg{fill:var(--call-us-main-font-color, #000000);width:10px;height:18px}",n6={class:R(["operator-img-container"])},i6=["src"],o6={class:R(["greeting-content"])},a6={class:R(["greeting-message"])},r6={class:R(["greeting-action-container"])};function s6(e,n,t,i,o,a){const r=le("GlyphiconTimes");return k(),B("div",{id:"greetingContainer",class:R(["root-greetings"]),onClick:n[2]||(n[2]=s=>e.onGreetingClicked())},[H("div",n6,[H("img",{src:e.getAgentIcon,alt:"avatar",class:R([["operator-img"],["rounded-circle"]]),onError:n[0]||(n[0]=s=>e.updateNotFoundImage(s))},null,40,i6)]),H("div",o6,[H("span",a6,Ae(e.greetingMessage),1)]),H("div",r6,[H("div",{id:"close_greeting_btn",class:R([["action-btn"],["close-btn"]]),onClick:n[1]||(n[1]=cn(s=>e.onGreetingClosed(),["stop"]))},[de(r)])])])}const l6=Ve({components:{MinimizedButton:X_,Greeting:je(e6,[["render",s6],["styles",[t6]]])},props:{disabled:{type:Boolean,default:!1},collapsed:{type:Boolean},config:{type:Object,default:()=>{}},panelState:{type:Number,default:ye.Chat},operator:{type:Object,default:()=>Oi}},setup(e,n){const t=ue(zt),i=ue(Aa),o=ue(Ln),a=Z(!1),r=Z(!0),s=Z(null),l=Ot(),c=Y(()=>e.panelState===ye.Authenticate||e.panelState===ye.Chat||e.panelState===ye.Intro?o.isAvaliable?e.config.greetingVisibility:e.config.greetingOfflineVisibility:Xt.None),u=Y(()=>{const M=!xi();return c.value===Xt.Both||c.value===Xt.Mobile&&!M||c.value===Xt.Desktop&&M}),f=()=>localStorage.getItem("callus.greeting_activated")==="true",d=Y(()=>!a.value&&e.collapsed&&!e.disabled&&u.value&&!f()),p=Y(()=>{if(e.config&&r.value)switch(e.config.animationStyle){case Jt.FadeIn:return["fadeIn"];case Jt.SlideLeft:return["slideLeft"];case Jt.SlideRight:return["slideRight"];case Jt.SlideUp:return["slideUp"]}return[]}),h=Y(()=>e.config.minimizedStyle===ni.BubbleLeft?"bubble_left":e.config.minimizedStyle===ni.BubbleRight?"bubble_right":[]),b=M=>{s.value===M.target&&t.onAnimationActivatedChange.next(!1)},y=Y(()=>e.panelState===ye.Authenticate||e.panelState===ye.Chat||e.panelState===ye.Intro?o.isAvaliable?e.config.greetingMessage:e.config.greetingOfflineMessage:""),g=()=>{E(),n.emit("clicked-button")},C=M=>{localStorage&&localStorage.setItem("callus.greeting_activated",M.toString())},E=()=>{C(!0),i.chatInteractionEvent(),a.value=!0},x=()=>{const M=f();C(M&&u.value)};return Mt(()=>{x(),l.add(t.onAnimationActivatedChange.pipe(Ma()).subscribe(M=>{r.value=M})),l.add(t.onChatInitiated.pipe(Ma()).subscribe(M=>{M&&C(!1)}))}),{animationsMinimizedBubble:p,getMinimizedStyle:h,showGreeting:d,greetingMessage:y,minimizedBubbleContainer:s,onBubbleClicked:g,onGreetingClosed:E,deactivateAnimation:b,isAnimationActivated:r,retrieveGreetingActivated:f,greetingVisibilityOnState:c,isGreetingEnabledOnDevice:u,storeGreetingActivated:C}}}),c6="*{box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{animation-duration:1s;animation-fill-mode:both;animation-name:fadeIn;animation-delay:.5s}.slideLeft{animation:slideLeft 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideLeft{0%{transform:translate(130%)}to{transform:translate(0)}}.slideRight{animation:slideRight 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideRight{0%{transform:translate(-130%)}to{transform:translate(0)}}.slideUp{animation:slideUp 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideUp{0%{transform:translateY(130%)}to{transform:translateY(0)}}.nudge{animation:nudge 1s ease-in}@keyframes nudge{0%{opacity:0}to{opacity:1}}@keyframes fly-in{0%{transform:scale(.85) translateY(10%);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.fly-in{transition:all .5s;animation-duration:.3s;animation-name:fly-in}@keyframes show-with-delay{0%{opacity:0}to{opacity:1}}.show-with-delay{animation-name:show-with-delay;animation-duration:0s;animation-delay:3s;animation-fill-mode:both}.spin{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.bubble-root{display:flex;flex-direction:column}.bubble-root.chat_expanded{margin-top:var(--call-us-offset-top-minimized-bubble, 15px)}.bubble-root.bubble_left{align-items:flex-start}.bubble-root.bubble_right{align-items:flex-end}";function f6(e,n,t,i,o,a){const r=le("Greeting"),s=le("MinimizedButton");return k(),B("div",{ref:"minimizedBubbleContainer",class:R([e.animationsMinimizedBubble,["bubble-root"],e.collapsed?"":["chat_expanded"],e.getMinimizedStyle]),onAnimationend:n[2]||(n[2]=l=>e.deactivateAnimation(l))},[e.showGreeting?(k(),Se(r,{key:0,ref:"greeting",greetingMessage:e.greetingMessage,operator:e.operator,onClicked:n[0]||(n[0]=l=>e.onBubbleClicked()),onClosed:n[1]||(n[1]=l=>e.onGreetingClosed())},null,8,["greetingMessage","operator"])):ae("",!0),de(s,{ref:"minimizedButton",config:e.config,collapsed:e.collapsed,disabled:e.disabled,onClickedButton:e.onBubbleClicked},null,8,["config","collapsed","disabled","onClickedButton"])],34)}const z1=je(l6,[["render",f6],["styles",[c6]]]),u6=Ve({props:{show:Boolean,text:String}}),d6='*{box-sizing:border-box}.loading{position:absolute;left:0;right:0;top:0;bottom:0;background:#ffffffb3;display:flex;justify-content:center;align-items:center;z-index:var(--call-us-z-index-overlay, 2)}.loading .loader,.loading .loader:before,.loading .loader:after{border-radius:var(--call-us-round-button, 50%);width:2.5em;height:2.5em;animation-fill-mode:both;animation:loading 1.8s infinite ease-in-out}.loading .loader{color:var(--call-us-form-header-background, #373737);font-size:6px;position:relative;text-indent:-9999em;transform:translateZ(0);animation-delay:-.16s}.loading .loader:before,.loading .loader:after{content:"";position:absolute;top:0}.loading .loader:before{left:-3.5em;animation-delay:-.32s}.loading .loader:after{left:3.5em}@keyframes loading{0%,80%,to{box-shadow:0 2.5em 0 -1.3em}40%{box-shadow:0 2.5em}}',h6={key:0,class:R("loading")},p6={class:R("loader")};function m6(e,n,t,i,o,a){return e.show?(k(),B("div",h6,[H("div",p6,Ae(e.text),1)])):ae("",!0)}const V1=je(u6,[["render",m6],["styles",[d6]]]),g6=Ve({components:{MinimizedBubble:z1,Loading:V1},props:{panelState:{type:Number,default:ye.Chat},allowMinimize:{type:Boolean},startMinimized:{type:Boolean},config:{type:Object,default:()=>{}},allowFullscreen:{type:Boolean,default:!1},operator:{type:Object,default:()=>Oi},isCallingWindow:{type:Boolean,default:!1},chatEnabled:{type:Boolean,default:!1}},setup(e,n){const t=ue(wi),i=ue(zt),o=ue(Eo),a=ue(en),r=Z(null),s=Z(!1),l=Z(!1),c=Z(!0),u=Y(()=>{let p=[];return t.isFullScreen?p=["full-screen"]:e.isCallingWindow?p=["calling-window"]:e.panelState===ye.Chat?p=["chat-form"]:e.panelState===ye.Intro?p=["intro-form"]:p=["small-form"],p}),f=()=>{e.allowMinimize&&(s.value?(i.onRestored.next(),t.enableFullScreen&&e.panelState!==ye.Intro&&t.goFullScreen()):(i.onMinimized.next(),t.closeFullScreen()))},d=Ot();return Mt(()=>{s.value=document.location.hash==="#popoutchat"?!1:e.startMinimized,d.add(i.onToggleCollapsed.subscribe({next:()=>f()})),d.add(i.onMinimized.subscribe({next:()=>{s.value=!0,sessionStorage.setItem("callus.collapsed","1")}})),d.add(i.onRestored.subscribe({next:()=>{s.value=!1,sessionStorage.setItem("callus.collapsed","0")}})),d.add(i.onAnimationActivatedChange.pipe(Ma()).subscribe({next:p=>{c.value=p}})),e.allowFullscreen?d.add(xo(window.matchMedia("(orientation: landscape)"),"change").pipe(vc(window.matchMedia("(orientation: landscape)")),yt(p=>({isLandscape:p.matches}))).subscribe({next:p=>{!e.isCallingWindow&&!s.value||e.allowFullscreen&&p.isLandscape&&e.isCallingWindow&&!a.isVideoActive.value?t.goFullScreen():t.closeFullScreen()}})):t.isFullScreen&&t.closeFullScreen()}),{panel:r,isAnimationActivated:c,collapsed:s,loadingService:o,hideCloseButton:l,onToggleCollapsed:f,getMinimizedStyle:Y(()=>e.config.minimizedStyle===ni.BubbleLeft?"bubble_left":(e.config.minimizedStyle===ni.BubbleRight,"bubble_right")),onClose(){l.value=!0,o.show(),n.emit("close")},isFullScreen:Y(()=>t.isFullScreen),animations:Y(()=>{if(e.config&&c.value)switch(e.config.animationStyle){case Jt.FadeIn:return["fadeIn"];case Jt.SlideLeft:return["slideLeft"];case Jt.SlideRight:return["slideRight"];case Jt.SlideUp:return["slideUp"]}return[]}),panelHeight:u,showPanel:Y(()=>!s.value||!e.allowMinimize),showBubble:Y(()=>e.allowMinimize),deactivateAnimation(p){r.value===p.target&&i.onAnimationActivatedChange.next(!1)},myWebRTCService:a}}}),b6='[data-v-c8580658]{box-sizing:border-box}.custom-scrollbar[data-v-c8580658]::-webkit-scrollbar,.panel .panel_content .panel_body[data-v-c8580658]::-webkit-scrollbar{width:4px}.custom-scrollbar[data-v-c8580658]::-webkit-scrollbar-track,.panel .panel_content .panel_body[data-v-c8580658]::-webkit-scrollbar-track{background:#f1f1f1}.custom-scrollbar[data-v-c8580658]::-webkit-scrollbar-thumb,.panel .panel_content .panel_body[data-v-c8580658]::-webkit-scrollbar-thumb{background:#888}.custom-scrollbar[data-v-c8580658]::-webkit-scrollbar-thumb:hover,.panel .panel_content .panel_body[data-v-c8580658]::-webkit-scrollbar-thumb:hover{background:#555}@keyframes fadeIn-c8580658{0%{opacity:0}to{opacity:1}}.fadeIn[data-v-c8580658]{animation-duration:1s;animation-fill-mode:both;animation-name:fadeIn-c8580658;animation-delay:.5s}.slideLeft[data-v-c8580658]{animation:slideLeft-c8580658 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideLeft-c8580658{0%{transform:translate(130%)}to{transform:translate(0)}}.slideRight[data-v-c8580658]{animation:slideRight-c8580658 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideRight-c8580658{0%{transform:translate(-130%)}to{transform:translate(0)}}.slideUp[data-v-c8580658]{animation:slideUp-c8580658 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideUp-c8580658{0%{transform:translateY(130%)}to{transform:translateY(0)}}.nudge[data-v-c8580658]{animation:nudge-c8580658 1s ease-in}@keyframes nudge-c8580658{0%{opacity:0}to{opacity:1}}@keyframes fly-in-c8580658{0%{transform:scale(.85) translateY(10%);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.fly-in[data-v-c8580658]{transition:all .5s;animation-duration:.3s;animation-name:fly-in-c8580658}@keyframes show-with-delay-c8580658{0%{opacity:0}to{opacity:1}}.show-with-delay[data-v-c8580658]{animation-name:show-with-delay-c8580658;animation-duration:0s;animation-delay:3s;animation-fill-mode:both}.spin[data-v-c8580658]{animation:spin-c8580658 2s linear infinite}@keyframes spin-c8580658{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.panel[data-v-c8580658]{display:flex;flex-direction:column;position:relative;flex-grow:1;max-height:100vh;justify-content:flex-end}.panel .limited[data-v-c8580658]{font-size:var(--call-us-font-size, 14px)}.panel.full-screen[data-v-c8580658]{height:calc(var(--vh, 1vh) * 100)!important;width:calc(var(--vw, 1vw) * 100)!important;border-radius:0}.panel.popout-small[data-v-c8580658]{width:calc(var(--call-us-form-width) / 2);margin-left:calc(var(--call-us-form-width) / 4)}.panel .minimized[data-v-c8580658]{display:none}.panel .panel_content[data-v-c8580658]{position:relative;height:100%;width:100%;display:flex;flex-direction:column;box-shadow:0 4px 8px #0003,0 6px 20px #00000030;border-radius:6px}.panel .panel_content .panel_body[data-v-c8580658]{position:relative;font-size:var(--call-us-font-size, 14px);max-height:100%;flex:1;overflow-y:auto;color:#000;background:var(--call-us-main-background-color, #FFFFFF);border-bottom-right-radius:inherit;border-bottom-left-radius:inherit;display:flex;flex-direction:column}.panel .panel_content.calling-window[data-v-c8580658],.panel .panel_content.chat-form[data-v-c8580658],.panel .panel_content.small-form[data-v-c8580658]{height:509px;min-width:var(--call-us-form-width-min, 280px);max-width:var(--call-us-form-width-max, 800px);width:300px;min-height:var(--call-us-form-height-min, 425px)}@media screen and (orientation: landscape){.panel .panel_content.calling-window[data-v-c8580658],.panel .panel_content.chat-form[data-v-c8580658],.panel .panel_content.small-form[data-v-c8580658]{min-height:0}}.panel .panel_content.calling-window[data-v-c8580658]{height:var(--call-us-max-height-calling-window, 509px);max-height:var(--call-us-max-height-calling-window, 509px)!important}@media screen and (orientation: portrait) and (max-width: 450px){.panel .panel_content.calling-window[data-v-c8580658]{width:100vw}}.panel .panel_content.small-form[data-v-c8580658]{min-height:var(--call-us-height-small-form, 410px);height:509px}@media screen and (orientation: landscape){.panel .panel_content.small-form[data-v-c8580658]{min-height:0}}.panel .panel_content.small-form-height[data-v-c8580658]{height:509px;min-height:var(--call-us-small-form-min-height, 450px);max-width:var(--call-us-small-form-min-height, 380px)}.panel .panel_content.intro-form[data-v-c8580658]{min-height:var(--call-us-intro-form-height-min, 124px);max-height:var(--call-us-intro-form-height-min, 124px);width:var(--call-us-intro-form-width, 229px)}.panel .panel_content.intro-form .panel_body[data-v-c8580658]{border-radius:inherit}.panel .panel_content.intro-form[data-v-c8580658]:after{content:"";position:absolute;top:124px;left:75%;right:0;margin:0 auto;width:0;height:0;border-top:12px solid var(--call-us-main-background-color, #FFFFFF);border-left:7.5px solid transparent;border-right:7.5px solid transparent}.panel.calling-window[data-v-c8580658]{height:var(--call-us-max-height-calling-window, 509px);max-height:var(--call-us-max-height-calling-window, 509px)!important}.panel svg rect[data-v-c8580658]{fill:var(--call-us-form-header-background, #373737)}',v6={class:R(["panel_body"])},y6={style:{height:"100%"}};function A6(e,n,t,i,o,a){const r=le("Loading"),s=le("MinimizedBubble");return k(),B("div",{ref:"panel",class:R([["panel"],e.animations,e.isFullScreen?["full-screen"]:""]),onAnimationend:n[0]||(n[0]=l=>e.deactivateAnimation(l))},[Zn(H("div",{class:R([["panel_content"],e.panelHeight,e.myWebRTCService.isVideoActive.value?["video_extend"]:""])},[fa(e.$slots,"overlay",{},void 0,!0),fa(e.$slots,"panel-top",{},void 0,!0),H("div",v6,[(k(),Se(r,{key:e.loadingService.key,show:e.loadingService.loading()&&!e.config.demo,text:"loading"},null,8,["show"])),H("div",y6,[fa(e.$slots,"panel-content",{},void 0,!0)])])],2),[[h0,e.showPanel]]),e.showBubble?(k(),Se(s,{key:0,ref:"minimizedBubble",collapsed:e.collapsed,config:e.config,operator:e.operator,panelState:e.panelState,disabled:!1,onClickedButton:e.onToggleCollapsed},null,8,["collapsed","config","operator","panelState","onClickedButton"])):ae("",!0)],34)}const xf=je(g6,[["render",A6],["styles",[b6]],["__scopeId","data-v-c8580658"]]),w6=Ve({directives:{object:Ba},components:{Panel:xf,WplcIcon:Ss,GlyphiconCall:qa},props:{config:{type:Object,default:()=>{}},webRtcCodecs:{type:Array,default:void 0},startMinimized:Boolean,operator:{type:Object,default:()=>Oi}},setup(e,n){const t=ue(wi),i=ue(zt),o=ue(ic),a=ue(Ln),r=ue(en),s=Tt(),{t:l}=s;r.webRTCControlService.setWebRtcCodecs(e.webRtcCodecs),$t(en,r);const c=Ot(),u=Y(()=>r.hasCall.value?r.hasCall.value&&r.hasEstablishedCall.value?l("Inputs.Connected").toString():l("Inputs.Dialing").toString():"");Mt(()=>{c.add(r.phoneService.myCalls$.pipe(yt(h=>h.length>0?h[0].media:ro),we(h=>Ke(h!==ro)),Ma()).subscribe({next:h=>{h||o.dropSession().subscribe({next:()=>{a.closeSession()},error:b=>{i.onError.next(b)}})}}))});const f=(h,b=!1)=>{r.hasCall.value||n.emit("chat",b)},d=()=>{i.onChatInitiated.next(!0),Vo&&(f(void 0,!0),r.call(!1).pipe(Fn(1)).subscribe({error:h=>i.onError.next(h)}))},p=()=>{r.dropCall().pipe(Fn(1)).subscribe({error:h=>i.onError.next(h)})};return{isWebRtcAllowed:Y(()=>Vo),fullscreenService:t,ViewState:ye,myWebRTCService:r,callStateTitle:u,t:l,startChat:f,dropCall:p,makeCall:d}}}),C6="[data-v-3fff492c]{box-sizing:border-box}.intro-root[data-v-3fff492c]{display:flex;align-items:center;justify-content:center;flex-flow:column;margin-block-end:0;flex-grow:1;color:var(--call-us-main-font-color, #000000)}.intro-root .action_option[data-v-3fff492c]{height:62px;padding:18.5px 10px;width:100%;font-size:var(--call-us-font-size, 14px);cursor:pointer;border-bottom:1px solid #E2DFDF;background-color:var(--call-us-main-background-color, #FFFFFF)}.intro-root .action_option[data-v-3fff492c]:hover{background-color:var(--call-us-main-font-color, #000000);color:var(--call-us-main-background-color, #FFFFFF);opacity:.8;transition:all .25s linear}.intro-root .action_option.disabled[data-v-3fff492c]{opacity:.2;cursor:default}.intro-root .action_option .option-icon[data-v-3fff492c]{height:25px;vertical-align:middle;margin-right:var(--call-us-element-side-offset-medium, 10px);fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4));color:#fff}.intro-root .action_option .option-icon.end-call-icon[data-v-3fff492c]{transform:var(--call-us-default-rotation-drop-call, rotate(135deg));fill:#d80027}.intro-root .action_option[data-v-3fff492c]:last-child{border:none}",_6={class:R("intro-root")},E6=["src"],S6={key:1,autoplay:""};function M6(e,n,t,i,o,a){const r=le("WplcIcon"),s=le("GlyphiconCall"),l=le("Panel"),c=ca("object");return k(),Se(l,{config:e.config,startMinimized:e.startMinimized,allowMinimize:e.config.allowMinimize,panelState:e.ViewState.Intro,fullScreenService:e.fullscreenService,operator:e.operator},{"panel-content":Gt(()=>[H("div",_6,[e.myWebRTCService.audioNotificationUrl?(k(),B("audio",{key:0,src:e.myWebRTCService.audioNotificationUrl.value||void 0,autoplay:"",loop:""},null,8,E6)):ae("",!0),e.myWebRTCService.remoteStream.value?Zn((k(),B("audio",S6,null,512)),[[c,e.myWebRTCService.remoteStream.value]]):ae("",!0),H("div",{ref:"startChatOption",class:R(["action_option",e.myWebRTCService.hasCall.value?"disabled":""]),onClick:n[0]||(n[0]=(...u)=>e.startChat&&e.startChat(...u))},[de(r,{class:R(["option-icon"])}),ei(" "+Ae(e.t("Inputs.ChatWithUs")),1)],2),e.myWebRTCService.hasCall.value?(k(),B("div",{key:3,ref:"dropCallOption",class:R("action_option"),onClick:n[2]||(n[2]=(...u)=>e.dropCall&&e.dropCall(...u))},[de(s,{class:R([["option-icon"],["end-call-icon"]])}),ei(" "+Ae(e.callStateTitle),1)],512)):(k(),B("div",{key:2,ref:"makeCallOption",class:R(["action_option",e.isWebRtcAllowed?"":"disabled:"]),onClick:n[1]||(n[1]=(...u)=>e.makeCall&&e.makeCall(...u))},[de(s,{class:R(["option-icon"])}),ei(" "+Ae(e.t("Inputs.CallTitle")),1)],2))])]),_:1},8,["config","startMinimized","allowMinimize","panelState","fullScreenService","operator"])}const I6=je(w6,[["render",M6],["styles",[C6]],["__scopeId","data-v-3fff492c"]]);function H1(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,i)}return t}function Ri(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?H1(Object(t),!0).forEach(function(i){T6(e,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):H1(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))})}return e}function T6(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function W1(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((t,i)=>(n.includes(i)||(t[i]=Ne(e[i])),t),{})}function Is(e){return typeof e=="function"}function O6(e){return ji(e)||mi(e)}function Y1(e,n,t){let i=e;const o=n.split(".");for(let a=0;a<o.length;a++){if(!i[o[a]])return t;i=i[o[a]]}return i}function Rf(e,n,t){return Y(()=>e.some(i=>Y1(n,i,{[t]:!1})[t]))}function G1(e,n,t){return Y(()=>e.reduce((i,o)=>{const a=Y1(n,o,{[t]:!1})[t]||[];return i.concat(a)},[]))}function Q1(e,n,t,i){return e.call(i,Ne(n),Ne(t),i)}function K1(e){return e.$valid!==void 0?!e.$valid:!e}function k6(e,n,t,i,o,a,r){let{$lazy:s,$rewardEarly:l}=o,c=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],u=arguments.length>8?arguments[8]:void 0,f=arguments.length>9?arguments[9]:void 0,d=arguments.length>10?arguments[10]:void 0;const p=Z(!!i.value),h=Z(0);t.value=!1;const b=Kt([n,i].concat(c,d),()=>{if(s&&!i.value||l&&!f.value&&!t.value)return;let y;try{y=Q1(e,n,u,r)}catch(g){y=Promise.reject(g)}h.value++,t.value=!!h.value,p.value=!1,Promise.resolve(y).then(g=>{h.value--,t.value=!!h.value,a.value=g,p.value=K1(g)}).catch(g=>{h.value--,t.value=!!h.value,a.value=g,p.value=!0})},{immediate:!0,deep:typeof n=="object"});return{$invalid:p,$unwatch:b}}function x6(e,n,t,i,o,a,r,s){let{$lazy:l,$rewardEarly:c}=i;const u=()=>({}),f=Y(()=>{if(l&&!t.value||c&&!s.value)return!1;let d=!0;try{const p=Q1(e,n,r,a);o.value=p,d=K1(p)}catch(p){o.value=p}return d});return{$unwatch:u,$invalid:f}}function R6(e,n,t,i,o,a,r,s,l,c,u){const f=Z(!1),d=e.$params||{},p=Z(null);let h,b;e.$async?{$invalid:h,$unwatch:b}=k6(e.$validator,n,f,t,i,p,o,e.$watchTargets,l,c,u):{$invalid:h,$unwatch:b}=x6(e.$validator,n,t,i,p,o,l,c);const y=e.$message;return{$message:Is(y)?Y(()=>y(W1({$pending:f,$invalid:h,$params:W1(d),$model:n,$response:p,$validator:a,$propertyPath:s,$property:r}))):y||"",$params:d,$pending:f,$invalid:h,$response:p,$unwatch:b}}function N6(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=Ne(e),t=Object.keys(n),i={},o={},a={};let r=null;return t.forEach(s=>{const l=n[s];switch(!0){case Is(l.$validator):i[s]=l;break;case Is(l):i[s]={$validator:l};break;case s==="$validationGroups":r=l;break;case s.startsWith("$"):a[s]=l;break;default:o[s]=l}}),{rules:i,nestedValidators:o,config:a,validationGroups:r}}const L6="__root";function P6(e,n,t,i,o,a,r,s,l){const c=Object.keys(e),u=i.get(o,e),f=Z(!1),d=Z(!1),p=Z(0);if(u){if(!u.$partial)return u;u.$unwatch(),f.value=u.$dirty.value}const h={$dirty:f,$path:o,$touch:()=>{f.value||(f.value=!0)},$reset:()=>{f.value&&(f.value=!1)},$commit:()=>{}};return c.length?(c.forEach(b=>{h[b]=R6(e[b],n,h.$dirty,a,r,b,t,o,l,d,p)}),h.$externalResults=Y(()=>s.value?[].concat(s.value).map((b,y)=>({$propertyPath:o,$property:t,$validator:"$externalResults",$uid:`${o}-externalResult-${y}`,$message:b,$params:{},$response:null,$pending:!1})):[]),h.$invalid=Y(()=>{const b=c.some(y=>Ne(h[y].$invalid));return d.value=b,!!h.$externalResults.value.length||b}),h.$pending=Y(()=>c.some(b=>Ne(h[b].$pending))),h.$error=Y(()=>h.$dirty.value?h.$pending.value||h.$invalid.value:!1),h.$silentErrors=Y(()=>c.filter(b=>Ne(h[b].$invalid)).map(b=>{const y=h[b];return Nt({$propertyPath:o,$property:t,$validator:b,$uid:`${o}-${b}`,$message:y.$message,$params:y.$params,$response:y.$response,$pending:y.$pending})}).concat(h.$externalResults.value)),h.$errors=Y(()=>h.$dirty.value?h.$silentErrors.value:[]),h.$unwatch=()=>c.forEach(b=>{h[b].$unwatch()}),h.$commit=()=>{d.value=!0,p.value=Date.now()},i.set(o,e,h),h):(u&&i.set(o,e,h),h)}function D6(e,n,t,i,o,a,r){const s=Object.keys(e);return s.length?s.reduce((l,c)=>(l[c]=Nf({validations:e[c],state:n,key:c,parentKey:t,resultsCache:i,globalConfig:o,instance:a,externalResults:r}),l),{}):{}}function F6(e,n,t){const i=Y(()=>[n,t].filter(h=>h).reduce((h,b)=>h.concat(Object.values(Ne(b))),[])),o=Y({get(){return e.$dirty.value||(i.value.length?i.value.every(h=>h.$dirty):!1)},set(h){e.$dirty.value=h}}),a=Y(()=>{const h=Ne(e.$silentErrors)||[],b=i.value.filter(y=>(Ne(y).$silentErrors||[]).length).reduce((y,g)=>y.concat(...g.$silentErrors),[]);return h.concat(b)}),r=Y(()=>{const h=Ne(e.$errors)||[],b=i.value.filter(y=>(Ne(y).$errors||[]).length).reduce((y,g)=>y.concat(...g.$errors),[]);return h.concat(b)}),s=Y(()=>i.value.some(h=>h.$invalid)||Ne(e.$invalid)||!1),l=Y(()=>i.value.some(h=>Ne(h.$pending))||Ne(e.$pending)||!1),c=Y(()=>i.value.some(h=>h.$dirty)||i.value.some(h=>h.$anyDirty)||o.value),u=Y(()=>o.value?l.value||s.value:!1),f=()=>{e.$touch(),i.value.forEach(h=>{h.$touch()})},d=()=>{e.$commit(),i.value.forEach(h=>{h.$commit()})},p=()=>{e.$reset(),i.value.forEach(h=>{h.$reset()})};return i.value.length&&i.value.every(h=>h.$dirty)&&f(),{$dirty:o,$errors:r,$invalid:s,$anyDirty:c,$error:u,$pending:l,$touch:f,$reset:p,$silentErrors:a,$commit:d}}function Nf(e){let{validations:n,state:t,key:i,parentKey:o,childResults:a,resultsCache:r,globalConfig:s={},instance:l,externalResults:c}=e;const u=o?`${o}.${i}`:i,{rules:f,nestedValidators:d,config:p,validationGroups:h}=N6(n),b=Ri(Ri({},s),p),y=i?Y(()=>{const X=Ne(t);return X?Ne(X[i]):void 0}):t,g=Ri({},Ne(c)||{}),C=Y(()=>{const X=Ne(c);return i?X?Ne(X[i]):void 0:X}),E=P6(f,y,i,r,u,b,l,C,t),x=D6(d,y,u,r,b,l,C),M={};h&&Object.entries(h).forEach(X=>{let[me,ge]=X;M[me]={$invalid:Rf(ge,x,"$invalid"),$error:Rf(ge,x,"$error"),$pending:Rf(ge,x,"$pending"),$errors:G1(ge,x,"$errors"),$silentErrors:G1(ge,x,"$silentErrors")}});const{$dirty:U,$errors:N,$invalid:K,$anyDirty:re,$error:W,$pending:ee,$touch:he,$reset:Be,$silentErrors:se,$commit:Q}=F6(E,x,a),q=i?Y({get:()=>Ne(y),set:X=>{U.value=!0;const me=Ne(t),ge=Ne(c);ge&&(ge[i]=g[i]),Ge(me[i])?me[i].value=X:me[i]=X}}):null;i&&b.$autoDirty&&Kt(y,()=>{U.value||he();const X=Ne(c);X&&(X[i]=g[i])},{flush:"sync"});async function z(){return he(),b.$rewardEarly&&(Q(),await Pr()),await Pr(),new Promise(X=>{if(!ee.value)return X(!K.value);const me=Kt(ee,()=>{X(!K.value),me()})})}function D(X){return(a.value||{})[X]}function te(){Ge(c)?c.value=g:Object.keys(g).length===0?Object.keys(c).forEach(X=>{delete c[X]}):Object.assign(c,g)}return Nt(Ri(Ri(Ri({},E),{},{$model:q,$dirty:U,$error:W,$errors:N,$invalid:K,$anyDirty:re,$pending:ee,$touch:he,$reset:Be,$path:u||L6,$silentErrors:se,$validate:z,$commit:Q},a&&{$getResultsForChild:D,$clearExternalResults:te,$validationGroups:M}),x))}class B6{constructor(){this.storage=new Map}set(n,t,i){this.storage.set(n,{rules:t,result:i})}checkRulesValidity(n,t,i){const o=Object.keys(i),a=Object.keys(t);return a.length!==o.length||!a.every(s=>o.includes(s))?!1:a.every(s=>t[s].$params?Object.keys(t[s].$params).every(l=>Ne(i[s].$params[l])===Ne(t[s].$params[l])):!0)}get(n,t){const i=this.storage.get(n);if(!i)return;const{rules:o,result:a}=i,r=this.checkRulesValidity(n,t,o),s=a.$unwatch?a.$unwatch:()=>({});return r?a:{$dirty:a.$dirty,$partial:!0,$unwatch:s}}}const Ts={COLLECT_ALL:!0,COLLECT_NONE:!1},Z1=Symbol("vuelidate#injectChildResults"),J1=Symbol("vuelidate#removeChildResults");function q6(e){let{$scope:n,instance:t}=e;const i={},o=Z([]),a=Y(()=>o.value.reduce((u,f)=>(u[f]=Ne(i[f]),u),{}));function r(u,f){let{$registerAs:d,$scope:p,$stopPropagation:h}=f;h||n===Ts.COLLECT_NONE||p===Ts.COLLECT_NONE||n!==Ts.COLLECT_ALL&&n!==p||(i[d]=u,o.value.push(d))}t.__vuelidateInjectInstances=[].concat(t.__vuelidateInjectInstances||[],r);function s(u){o.value=o.value.filter(f=>f!==u),delete i[u]}t.__vuelidateRemoveInstances=[].concat(t.__vuelidateRemoveInstances||[],s);const l=ue(Z1,[]);$t(Z1,t.__vuelidateInjectInstances);const c=ue(J1,[]);return $t(J1,t.__vuelidateRemoveInstances),{childResults:a,sendValidationResultsToParent:l,removeValidationResultsFromParent:c}}function X1(e){return new Proxy(e,{get(n,t){return typeof n[t]=="object"?X1(n[t]):Y(()=>n[t])}})}let em=0;function U6(e,n){var t;let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(i=e,e=void 0,n=void 0);let{$registerAs:o,$scope:a=Ts.COLLECT_ALL,$stopPropagation:r,$externalResults:s,currentVueInstance:l}=i;const c=l||((t=Ki())===null||t===void 0?void 0:t.proxy),u=c?c.$options:{};o||(em+=1,o=`_vuelidate_${em}`);const f=Z({}),d=new B6,{childResults:p,sendValidationResultsToParent:h,removeValidationResultsFromParent:b}=c?q6({$scope:a,instance:c}):{childResults:Z({})};if(!e&&u.validations){const y=u.validations;n=Z({}),Mt(()=>{n.value=c,Kt(()=>Is(y)?y.call(n.value,new X1(n.value)):y,g=>{f.value=Nf({validations:g,state:n,childResults:p,resultsCache:d,globalConfig:i,instance:c,externalResults:s||c.vuelidateExternalResults})},{immediate:!0})}),i=u.validationsConfig||i}else{const y=Ge(e)||O6(e)?e:Nt(e||{});Kt(y,g=>{f.value=Nf({validations:g,state:n,childResults:p,resultsCache:d,globalConfig:i,instance:c??{},externalResults:s})},{immediate:!0})}return c&&(h.forEach(y=>y(f,{$registerAs:o,$scope:a,$stopPropagation:r})),bd(()=>b.forEach(y=>y(o)))),Y(()=>Ri(Ri({},Ne(f.value)),p.value))}const tm=e=>{if(e=Ne(e),Array.isArray(e))return!!e.length;if(e==null)return!1;if(e===!1)return!0;if(e instanceof Date)return!isNaN(e.getTime());if(typeof e=="object"){for(let n in e)return!0;return!1}return!!String(e).length};function so(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return i=>(i=Ne(i),!tm(i)||n.every(o=>(o.lastIndex=0,o.test(i))))}so(/^[a-zA-Z]*$/),so(/^[a-zA-Z0-9]*$/),so(/^\d*(\.\d+)?$/),so(/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i);function $6(e){return typeof e=="string"&&(e=e.trim()),tm(e)}var Lf={$validator:$6,$message:"Value is required",$params:{type:"required"}};so(/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i),so(/(^[0-9]*$)|(^-[0-9]+$)/),so(/^[-]?\d*(\.\d+)?$/);function kt(e,n){return n.find(i=>i)??""}function jn(e,n){return kt(e,n)}const Qo=class Qo{static convertDateToTicks(n){const t=n.getTime(),i=n.getTimezoneOffset()*60*1e3;return(t-i)*this.ticksPerMillisecondInCSharp+this.epochTicks}static convertTicksToDate(n){const t=(n-this.epochTicks)/this.ticksPerMillisecondInCSharp,i=new Date(t);return new Date(i.getTime()+i.getTimezoneOffset()*60*1e3)}static isDoubleByte(n){if(typeof n<"u"&&n!=null){for(let t=0,i=n.length;t<i;t+=1)if(n.charCodeAt(t)>255)return!0}return!1}static decodeHtml(n){const t=document.createElement("textarea");return t.innerHTML=n,t.value}static escapeHtml(n){const t=document.createElement("div");return t.innerHTML=n,t.textContent||t.innerText||""}static focusElement(n){setTimeout(()=>{n&&n.focus()},200)}static blurElement(n){setTimeout(()=>{n&&n.blur()},200)}static popupCenter(n,t,i){const o=window.screenLeft!==void 0?window.screenLeft:window.screenX,a=window.screenTop!==void 0?window.screenTop:window.screenY,r=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:window.screen.width,s=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:window.screen.height,l=r/window.screen.availWidth,c=(r-t)/2/l+o,u=(s-i)/2/l+a;return window.open(n,"_blank",`directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes, width=${t}, height=${i}, top=${u}, left=${c}`)}static retrieveHexFromCssColorProperty(n,t,i){const o=this.retrieveCssProperty(n,t),a=Qo.colorNameToHex(o);return a!==""?a.replace("#",""):i}static retrieveCssProperty(n,t){let i="";if(n.$root&&n.$root.$el&&n.$root.$el.getRootNode()instanceof ShadowRoot){const o=n.$root.$el.getRootNode();o&&(i=getComputedStyle(o.host).getPropertyValue(t))}return i}static setCssProperty(n,t,i){if(n.$root&&n.$root.$el&&n.$root.$el.getRootNode()instanceof ShadowRoot){const o=n.$root.$el.getRootNode();o&&o.host.style.setProperty(t,i)}}static colorNameToHex(n){const t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return typeof t[n.toLowerCase()]<"u"?t[n.toLowerCase()]:n}};_(Qo,"epochTicks",621355968e9),_(Qo,"ticksPerMillisecondInCSharp",1e4),_(Qo,"IdGenerator",(()=>{let n=-1;function t(){n=1e5}return{getNext(){return n<0&&t(),n+=1,n}}})());let Ho=Qo;const j6="*{box-sizing:border-box}.materialCheckbox{display:flex;align-items:flex-start;min-height:30px}.materialCheckbox input{cursor:pointer}label.lc_checkbox{display:inline-block;cursor:pointer;position:relative;padding-left:10px;margin:0;color:var(--call-us-main-font-color, #000000);font-size:calc(var(--call-us-font-size, 14px) - 3px)}",z6={name:"MaterialCheckbox",props:{value:Boolean,checkName:{type:String,default:""},checkLabel:{type:String,default:""}},data(){return{checked:this.value}},computed:{inputVal:{get(){return this.value},set(e){this.$emit("inputVal",e)}}}},V6={class:R("materialCheckbox")},H6=["id"],W6=["for"];function Y6(e,n,t,i,o,a){return k(),B("div",V6,[Zn(H("input",{id:"ck"+t.checkName,"onUpdate:modelValue":n[0]||(n[0]=r=>a.inputVal=r),type:"checkbox",name:"checkboxInput",class:R(["lc_checkbox"])},null,8,H6),[[d2,a.inputVal]]),H("label",{class:R(["lc_checkbox"]),for:"ck"+t.checkName},Ae(t.checkLabel),9,W6)])}const G6=je(z6,[["render",Y6],["styles",[j6]]]),Q6='*{box-sizing:border-box}.bar{border:0;padding:0;position:relative;display:block;width:100%}.bar:before{content:"";height:2px;width:0;bottom:0;position:absolute;background:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4));transition:.3s ease all;left:0}.materialInput,.materialPhone,.materialTextarea{position:relative;flex-grow:1;margin-bottom:5px}.materialInput label,.materialPhone label,.materialTextarea label{color:var(--call-us-main-font-color, #000000);font-size:calc(var(--call-us-font-size, 14px) - 3px);font-palette:dark;font-weight:400;position:absolute;pointer-events:none;left:var(--call-us-element-side-offset-small, 5px);top:10px;transition:.3s ease all}.materialInput textarea,.materialPhone textarea,.materialTextarea textarea{overflow-x:hidden;resize:none}.materialInput textarea:focus~label,.materialInput textarea:valid~label,.materialPhone textarea:focus~label,.materialPhone textarea:valid~label,.materialTextarea textarea:focus~label,.materialTextarea textarea:valid~label{top:-30px;font-size:calc(var(--call-us-font-size, 14px) - 1px);color:var(--call-us-main-font-color, #000000)}.materialInput input,.materialPhone input,.materialTextarea input{background:var(--call-us-main-background-color, #FFFFFF)!important}.materialInput input:focus~label,.materialInput input:valid~label,.materialInput input:disabled~label,.materialPhone input:focus~label,.materialPhone input:valid~label,.materialPhone input:disabled~label,.materialTextarea input:focus~label,.materialTextarea input:valid~label,.materialTextarea input:disabled~label{top:-4px;font-size:calc(var(--call-us-font-size, 14px) - 1px);color:var(--call-us-main-font-color, #000000)}.materialInput.safari-input input,.materialPhone.safari-input input,.materialTextarea.safari-input input{font-size:calc(var(--call-us-font-size, 14px) + 2px)}.materialInput input,.materialInput textarea,.materialPhone input,.materialPhone textarea,.materialTextarea input,.materialTextarea textarea{background:none;color:var(--call-us-main-font-color, #000000);font-size:calc(var(--call-us-font-size, 14px) - 1px);font-family:inherit;padding:7px 0 3px;display:block;width:100%;border:none;border-radius:0;border-bottom:1px solid var(--call-us-main-font-color, #000000)}.materialInput input:focus,.materialInput textarea:focus,.materialPhone input:focus,.materialPhone textarea:focus,.materialTextarea input:focus,.materialTextarea textarea:focus{outline:none}.materialInput input:focus~.bar:before,.materialInput textarea:focus~.bar:before,.materialPhone input:focus~.bar:before,.materialPhone textarea:focus~.bar:before,.materialTextarea input:focus~.bar:before,.materialTextarea textarea:focus~.bar:before{width:100%}',K6={name:"MaterialInput",props:{value:{type:String,default:""},placeholder:{type:String,default:""},maxLength:{type:String,default:"50"},disabled:Boolean},setup(){return{isMobileSafari:/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&xi()}},computed:{inputVal:{get(){return this.value},set(e){this.$emit("inputVal",e)}}},methods:{focus(){this.$refs.input&&this.$refs.input.focus()}}},Z6=["placeholder","maxlength","disabled"];function J6(e,n,t,i,o,a){return k(),B("div",{class:R(["materialInput",i.isMobileSafari?["safari-input"]:""])},[Zn(H("input",{ref:"input","onUpdate:modelValue":n[0]||(n[0]=r=>a.inputVal=r),placeholder:t.placeholder,autocomplete:"false",maxlength:t.maxLength,type:"text",disabled:t.disabled},null,8,Z6),[[u2,a.inputVal]]),n[1]||(n[1]=H("span",{class:R("bar")},null,-1))],2)}const X6=je(K6,[["render",J6],["styles",[Q6]]]);function Os(e){const n=ue(zt),t=Ot();return{myWebRTCService:e,makeCall(i){t.add(e.call(i===!0||!1).pipe(Fn(1)).subscribe({error:o=>n.onError.next(o)}))},dropCall(){t.add(e.dropCall().pipe(Fn(1)).subscribe({error:i=>n.onError.next(i)}))}}}const eE=Ve({components:{GlyphiconCall:qa,ExitFullScreen:z_},directives:{object:Ba},props:{isPopoutWindow:{type:Boolean,default:!1}},setup(){const e=ue(en),n=Z(null),t=Os(e),{t:i}=Tt(),o=Y(()=>(window.innerWidth>600||window.innerHeight>600)&&e.isFullScreen.value);return Xn(()=>{e.isVideoActive.value&&n.value&&(e.videoContainer=n.value)}),{videoContainer:n,showFullScreenControllButtons:o,exitFullScreen:()=>{e.removeFullscreen()},t:i,...t}}}),tE="*{box-sizing:border-box}:-webkit-full-screen .awayVideo{width:100vw!important;height:100vh!important;max-width:100vw!important;max-height:100vh!important}.video-root{display:flex;align-items:center;position:relative;z-index:var(--call-us-z-index-video-output, 5);height:100%}.video-root video{-o-object-fit:cover;object-fit:cover;-o-object-position:center center;object-position:center center}.video-root .awayVideo{width:100%;height:100%}.video-root .homeVideo{width:15vw;height:15vh;position:absolute;bottom:0;right:0;border:2px solid #fff}.video-root .awayFullVideo{width:100%;height:100%}.video-root .homeFullVideo{width:15vw;height:15vh;max-width:25%;max-height:25%;position:absolute;bottom:0;right:0;border:2px solid #fff}.video-root .fs-control-btn{display:flex;position:absolute;bottom:50px;left:50%;margin-left:-112.5px}.video-root .fs-control-btn button:hover{background-color:#000000e6}.video-root .fs-control-btn button{width:100px;height:100px;background-color:#0000004d;border-radius:50%;border:solid white}.video-root .fs-control-btn button svg{width:38px;height:38px;fill:#fff}.video-root .fs-control-btn button:nth-child(1){margin-right:15px}.video-root .fs-control-btn button:nth-child(1) svg{transform:var(--call-us-default-rotation-drop-call, rotate(135deg));fill:#d80027}@media screen{.video-root .awayVideo{margin:0 auto}.video-root .homeVideo{max-width:15vw;max-height:15vh;position:absolute;bottom:0;right:5%}}@media screen and (orientation: landscape) and (max-height: 540px){.video-root .awayVideo,.video-root .mirrorVideo{position:fixed;width:100%;height:100%;left:0;top:0;-o-object-fit:contain;object-fit:contain;background-color:var(--call-us-plate-background-color, #494949)}}.video-root .mirrorVideo{transform:scaleX(-1)}",nE={id:"videoContainer",ref:"videoContainer",class:R(["video-root"])},iE={key:2,class:R(["fs-control-btn"])},oE=["aria-label","disabled"],aE=["aria-label"];function rE(e,n,t,i,o,a){const r=le("GlyphiconCall"),s=le("ExitFullScreen"),l=ca("object");return k(),B("div",nE,[e.myWebRTCService&&e.myWebRTCService.videoOnlyRemoteStream.value&&(e.myWebRTCService.media.isVideoReceived||!e.myWebRTCService.media.isVideoSend)?Zn((k(),B("video",{key:0,id:"wplc-remote-video",class:R(e.myWebRTCService.isFullScreen.value?"awayFullVideo":"awayVideo"),playsinline:"",autoplay:""},null,2)),[[l,e.myWebRTCService.videoOnlyRemoteStream.value]]):ae("",!0),e.myWebRTCService&&e.myWebRTCService.videoOnlyLocalStream.value&&e.myWebRTCService.media.isVideoSend?Zn((k(),B("video",{key:1,id:"wplc-home-video",class:R({mirrorVideo:!0,[e.myWebRTCService.isFullScreen.value||!e.isPopoutWindow?"homeFullVideo":"homeVideo"]:e.myWebRTCService.media.isVideoReceived,[e.myWebRTCService.isFullScreen.value||!e.isPopoutWindow?"awayFullVideo":"awayVideo"]:!e.myWebRTCService.media.isVideoReceived}),playsinline:"",autoplay:""},null,2)),[[l,e.myWebRTCService.videoOnlyLocalStream.value]]):ae("",!0),e.showFullScreenControllButtons?(k(),B("div",iE,[H("button",{id:"dropCallBtn",ref:"dropCallBtn","aria-label":e.t("Inputs.EndCallTitle"),disabled:e.myWebRTCService.hasTryingCall.value,onClick:n[0]||(n[0]=(...c)=>e.dropCall&&e.dropCall(...c))},[de(r)],8,oE),H("button",{id:"exitFsBtn",ref:"exitFullScreenBtn","aria-label":e.t("Auth.CloseButton"),onClick:n[1]||(n[1]=(...c)=>e.exitFullScreen&&e.exitFullScreen(...c))},[de(s)],8,aE)])):ae("",!0)],512)}const sE=Ve({components:{GlyphiconTimes:P1,GlyphiconChevron:L1,WplcIconBubble:U1,WplcIconDoubleBubble:q1,VideoOutput:je(eE,[["render",rE],["styles",[tE]]])},props:{config:{type:Object,default:()=>{}},operator:{type:Object,default:()=>Oi},currentState:{type:Number,default:ye.Chat},chatOnline:{type:Boolean,default:!0},isChatUntilCall:Boolean},setup(e,n){const t=ue(Ln),i=ue(en),o=ue(wi),a=ue(zt),r=Z(null),{t:s}=Tt(),l=Z(!1),c=Z(!1),u=kf,f=Y(()=>o.isFullScreen),d=Nt(new ci({name:e.operator.name,image:e.operator.image||e.config.operatorIcon})),p=Y(()=>e.currentState===ye.Chat&&!!t&&t.hasSession&&e.chatOnline||!0),h=Ot();Mt(()=>{t&&(h.add(t.mySession$.pipe(we(C=>C.isOnline)).subscribe(C=>{c.value=!C})),e.config.showOperatorActualName&&t&&h.add(pC(t,e.config).pipe(Cn(()=>p.value)).subscribe(C=>{C&&Object.assign(d,C)})))});const b=Y(()=>!!t&&t.hasSession&&!l.value&&e.chatOnline);Kt(()=>t.hasSession,(C,E)=>{E&&!C&&(l.value=!1)});const y=Y(()=>{let C=[];return!e.isChatUntilCall&&g.value?C=["calling-window"]:e.currentState===ye.Chat?C=["header-small"]:e.currentState===ye.Authenticate&&(C=["header-large"]),C}),g=Y(()=>i.hasCall.value||i.hasRecall.value);return{currentOperator:d,headerContainer:r,hideCloseButton:l,isOffline:c,showClose:b,panelType:y,hasCallOrRecall:g,getPropertyValue:jn,getAgentIcon(){return d.image!==""?d.image:Ms},updateNotFoundImage(C){C&&C.target&&(C.target.src=u)},showMinimize(){return f.value&&!!e.config.allowMinimize},onToggleCollapsed(){a.onToggleCollapsed.next()},onClose(){l.value=!0,n.emit("close")},showOperatorInfo:p,isFullScreen:f,t:s,myWebRTCService:i}}}),lE="button[data-v-512d1bae]{font-family:inherit;width:100%;border:1px var(--call-us-plate-bg-with-gradient, linear-gradient(180deg, var(--call-us-plate-background-color, #494949) 0%, #282828 100%)) solid;padding:var(--call-us-element-side-offset-small, 5px) 10px;font-size:var(--call-us-font-size, 14px);outline:none;cursor:pointer;display:flex;align-items:center;justify-content:center}button[data-v-512d1bae]:disabled{opacity:.6;cursor:not-allowed}[data-v-512d1bae]{box-sizing:border-box}.header-root[data-v-512d1bae]{position:relative;display:flex;flex-direction:row;justify-content:flex-start;border-top-right-radius:inherit;border-top-left-radius:inherit;padding:0 var(--call-us-standart-right-left-padding, 11px)}.header-root.active-video[data-v-512d1bae]{flex-wrap:wrap}.header-root.active-video .video-block[data-v-512d1bae]{width:calc(100% + 20px);margin-left:-10px;margin-right:-10px}.header-root.header-small.active-video[data-v-512d1bae]{height:calc(var(--call-us-header-height, 40px) + var(--call-us-video-output-height, 187px));align-items:flex-start}.header-root.header-small.active-video .video-block[data-v-512d1bae]{height:var(--call-us-video-output-height, 187px);align-self:flex-end}.header-root.header-small.active-video .operator-info[data-v-512d1bae]{max-width:43%}.header-root.header-small .operator-info .operator-img-container svg path[data-v-512d1bae]:first-of-type{fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}.header-root.header-small .operator-info .operator_name[data-v-512d1bae]{color:var(--call-us-plate-font-color, #FFFFFF)}.header-root.header-small[data-v-512d1bae]{background:var(--call-us-plate-background-color, #494949);height:var(--call-us-header-height, 40px);align-items:center}.header-root.header-large.active-video[data-v-512d1bae],.header-root.calling-window.active-video[data-v-512d1bae]{height:calc(var(--call-us-max-height-calling-window, 509px) - var(--call-us-big-bottom-btn-height, 67px) * 2)}.header-root.header-large.active-video.full-screen[data-v-512d1bae],.header-root.calling-window.active-video.full-screen[data-v-512d1bae]{height:calc(100vh - var(--call-us-big-bottom-btn-height, 67px) * 2)!important}.header-root.header-large.active-video.full-screen .video-block[data-v-512d1bae],.header-root.calling-window.active-video.full-screen .video-block[data-v-512d1bae]{height:calc(calc(100vh - var(--call-us-big-bottom-btn-height, 67px) * 2) - var(--call-us-operator-info-height-video-call, 45px) - var(--call-us-header-height, 40px));max-height:calc(calc(100vh - var(--call-us-big-bottom-btn-height, 67px) * 2) - var(--call-us-operator-info-height-video-call, 45px) - var(--call-us-header-height, 40px))}.header-root.header-large.active-video .video-block[data-v-512d1bae],.header-root.calling-window.active-video .video-block[data-v-512d1bae]{height:calc(calc(var(--call-us-max-height-calling-window, 509px) - var(--call-us-big-bottom-btn-height, 67px) * 2) - var(--call-us-operator-info-height-video-call, 45px) - var(--call-us-header-height, 40px));max-height:calc(calc(var(--call-us-max-height-calling-window, 509px) - var(--call-us-big-bottom-btn-height, 67px) * 2) - var(--call-us-operator-info-height-video-call, 45px) - var(--call-us-header-height, 40px));padding-top:var(--call-us-element-side-offset-small, 5px);align-self:flex-end}.header-root.header-large.active-video .operator-info[data-v-512d1bae],.header-root.calling-window.active-video .operator-info[data-v-512d1bae]{height:var(--call-us-operator-info-height-video-call, 45px);margin:0;top:var(--call-us-header-height, 40px);left:17px}.header-root.header-large.active-video .operator-info .operator-img-container[data-v-512d1bae],.header-root.calling-window.active-video .operator-info .operator-img-container[data-v-512d1bae]{width:var(--call-us-operator-info-height-video-call, 45px);height:var(--call-us-operator-info-height-video-call, 45px)}.header-root.header-large.active-video .operator-info .operator-img-container .online-icon[data-v-512d1bae],.header-root.calling-window.active-video .operator-info .operator-img-container .online-icon[data-v-512d1bae]{width:8px;height:8px;right:1px;bottom:5px}.header-root.header-large.active-video .operator-info .operator_name[data-v-512d1bae],.header-root.calling-window.active-video .operator-info .operator_name[data-v-512d1bae]{padding:0 0 15px;margin-left:var(--call-us-element-side-offset-medium, 10px)}.header-root.header-large.active-video .operator-info[data-v-512d1bae],.header-root.calling-window.active-video .operator-info[data-v-512d1bae]{flex-direction:row}.header-root.header-large[data-v-512d1bae],.header-root.calling-window[data-v-512d1bae]{height:var(--call-us-header-height-large, 163px)}.header-root.header-large .powered-by[data-v-512d1bae],.header-root.calling-window .powered-by[data-v-512d1bae]{margin-right:var(--call-us-element-side-offset-medium, 10px);font-size:calc(var(--call-us-font-size, 14px) - 3px);color:var(--call-us-plate-font-color, #FFFFFF)}.header-root.header-large .action_menu[data-v-512d1bae],.header-root.calling-window .action_menu[data-v-512d1bae]{margin-left:auto}.header-root.header-large .operator-info[data-v-512d1bae],.header-root.calling-window .operator-info[data-v-512d1bae]{height:var(--call-us-operator-info-height-authorization, 164px);flex-direction:column;position:absolute;margin:auto;left:0;bottom:0;right:0;top:calc(var(--call-us-header-height, 40px) + 65px);color:var(--call-us-main-font-color, #000000);z-index:var(--call-us-z-index-operator-info-auth, 1)}.header-root.header-large .operator-info .operator-img-container[data-v-512d1bae],.header-root.calling-window .operator-info .operator-img-container[data-v-512d1bae]{width:var(--call-us-operator-auth-icon-width-and-height, 130px);height:var(--call-us-operator-auth-icon-width-and-height, 130px)}.header-root.header-large .operator-info .operator-img-container .operator-img circle[data-v-512d1bae],.header-root.calling-window .operator-info .operator-img-container .operator-img circle[data-v-512d1bae]{stroke:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}.header-root.header-large .operator-info .operator-img-container .online-icon[data-v-512d1bae],.header-root.calling-window .operator-info .operator-img-container .online-icon[data-v-512d1bae]{width:12px;height:12px;right:12.8px;bottom:14px;visibility:hidden}.header-root.header-large .operator-info .operator_name[data-v-512d1bae],.header-root.calling-window .operator-info .operator_name[data-v-512d1bae]{padding-top:15px;margin:0}.header-root.header-large[data-v-512d1bae]{background:var(--call-us-accent-with-gradient, linear-gradient(180deg, rgba(34, 34, 34, .02) 0%, rgba(34, 34, 34, .3) 100%), var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4)))}@media screen and (orientation: landscape) and (max-height: 450px){.header-root.header-large[data-v-512d1bae]{flex-direction:row;justify-content:flex-start;height:var(--call-us-header-height, 40px)}.header-root.header-large .operator-info[data-v-512d1bae]{height:var(--call-us-operator-info-height-video-call, 45px);margin:0;top:var(--call-us-header-height, 40px);left:17px}.header-root.header-large .operator-info .operator-img-container[data-v-512d1bae]{width:var(--call-us-operator-info-height-video-call, 45px);height:var(--call-us-operator-info-height-video-call, 45px)}.header-root.header-large .operator-info .operator-img-container .online-icon[data-v-512d1bae]{width:8px;height:8px;right:1px;bottom:5px}.header-root.header-large .operator-info .operator_name[data-v-512d1bae]{padding:0 0 15px;margin-left:var(--call-us-element-side-offset-medium, 10px)}.header-root.header-large .operator-info[data-v-512d1bae]{flex-direction:row}.header-root.header-large .operator-info[data-v-512d1bae]{margin:auto;bottom:0;top:calc(var(--call-us-header-height, 40px) * 2.5)}.header-root.header-large .operator-info .operator_name[data-v-512d1bae]{padding:0}}@media screen and (orientation: landscape) and (max-height: 280px){.header-root.header-large[data-v-512d1bae]{height:30px}}@media screen and (orientation: landscape) and (max-height: 350px){.header-root.header-large .operator-info[data-v-512d1bae]{display:none}}.header-root.calling-window[data-v-512d1bae]{height:var(--call-us-header-height, 40px);position:static}.header-root.calling-window .operator-info[data-v-512d1bae]{bottom:300px;position:absolute;z-index:var(--call-us-z-index-header-call, 4)}.header-root.calling-window .operator-info .operator-img-container .online-icon[data-v-512d1bae]{visibility:visible}.header-root.calling-window .operator-info .operator_name[data-v-512d1bae]{color:#fff}@media screen and (orientation: landscape) and (max-height: 540px){.header-root.calling-window .operator-info[data-v-512d1bae]{height:var(--call-us-operator-info-height-video-call, 45px);margin:0;top:var(--call-us-header-height, 40px);left:17px}.header-root.calling-window .operator-info .operator-img-container[data-v-512d1bae]{width:var(--call-us-operator-info-height-video-call, 45px);height:var(--call-us-operator-info-height-video-call, 45px)}.header-root.calling-window .operator-info .operator-img-container .online-icon[data-v-512d1bae]{width:8px;height:8px;right:1px;bottom:5px}.header-root.calling-window .operator-info .operator_name[data-v-512d1bae]{padding:0 0 15px;margin-left:var(--call-us-element-side-offset-medium, 10px)}.header-root.calling-window .operator-info[data-v-512d1bae]{flex-direction:row}}@media screen and (orientation: landscape) and (max-height: 300px){.header-root.calling-window .operator-info[data-v-512d1bae]{display:none}}.header-root .header-title[data-v-512d1bae]{display:flex;flex-direction:row;height:var(--call-us-header-height, 40px);align-items:center;min-width:0}.header-root .header-title .panel_head_title[data-v-512d1bae]{flex-grow:1;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:var(--call-us-font-size, 14px);line-height:1.5em;margin:0}.header-root .header-title .logo-icon[data-v-512d1bae]{height:var(--call-us-default-line-height, 17px);padding-right:var(--call-us-element-side-offset-small, 5px)}.header-root .operator-info[data-v-512d1bae]{display:flex;flex-direction:row;height:var(--call-us-header-height, 40px);align-items:center;min-width:0}.header-root .operator-info div[data-v-512d1bae]:not(:first-of-type){margin-left:var(--call-us-element-side-offset-small, 5px)}.header-root .operator-info .operator-img-container[data-v-512d1bae]{position:relative;height:28px;width:28px;min-width:28px}.header-root .operator-info .operator-img-container .operator-img[data-v-512d1bae]{height:100%;width:100%}.header-root .operator-info .operator-img-container .operator-img.rounded-circle[data-v-512d1bae]{border-radius:var(--call-us-round-button, 50%);padding:2px;border:1px solid var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}.header-root .operator-info .operator-img-container .online-icon[data-v-512d1bae]{position:absolute;height:7px;width:7px;background-color:#4cd137;border-radius:var(--call-us-round-button, 50%);bottom:0;right:0;border:1px solid white}.header-root .operator-info .operator-img-container .offline-icon[data-v-512d1bae]{background-color:#c23616!important}.header-root .operator-info .operator-img-container svg path[data-v-512d1bae]:first-of-type{fill:#eaeaea}.header-root .operator-info .operator_name[data-v-512d1bae]{color:var(--call-us-main-font-color, #000000);font-weight:600;max-width:80%;font-size:calc(var(--call-us-font-size, 14px) + 2px);line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-root .operator-info .operator_name.popout[data-v-512d1bae]{max-width:400px}.header-root .space-expander[data-v-512d1bae]{flex-grow:1}.header-root .powered-by[data-v-512d1bae]{color:var(--call-us-plate-font-color, #FFFFFF);text-decoration:none;font-size:calc(var(--call-us-font-size, 14px) - 3px);-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-grow:1;text-align:right;white-space:nowrap;height:var(--call-us-header-height, 40px);display:flex;align-items:center;justify-content:flex-end;z-index:var(--call-us-z-index-header-call, 4);margin-right:var(--call-us-element-side-offset-medium, 10px)}.header-root .powered-by a[data-v-512d1bae]{color:var(--call-us-plate-font-color, #FFFFFF)}.header-root .powered-by a[data-v-512d1bae]:link,.header-root .powered-by a[data-v-512d1bae]:visited,.header-root .powered-by a[data-v-512d1bae]:hover,.header-root .powered-by a[data-v-512d1bae]:active{text-decoration:none}.header-root .action_menu[data-v-512d1bae]{display:flex;flex-direction:row;height:var(--call-us-header-height, 40px);margin-left:auto;align-items:center}.header-root .action_menu button[data-v-512d1bae]:not(:first-of-type){margin-left:var(--call-us-element-side-offset-small, 5px)}.close_btn[data-v-512d1bae],.minimize_btn[data-v-512d1bae]{margin:0}.close_btn[data-v-512d1bae]:active,.minimize_btn[data-v-512d1bae]:active{transform:scale(1.2)}.close_btn[data-v-512d1bae]{z-index:var(--call-us-z-index-header-call, 4);width:21px;height:21px;background:#fff;border-radius:var(--call-us-round-button, 50%);padding:0;display:flex;justify-content:center;align-items:center;border:none}.close_btn svg[data-v-512d1bae]{fill:#111;width:15px;height:15px}.minimize_btn[data-v-512d1bae]{background:none;padding:0;border:none;width:13px;line-height:13px;height:13px}.minimize_btn svg[data-v-512d1bae]{fill:var(--call-us-plate-font-color, #FFFFFF)}",cE={key:0,class:R(["operator-info"])},fE={class:R(["operator-img-container"])},uE=["src"],dE={key:0,class:R([["online-icon"],["offline-icon"]])},hE={key:1,class:R(["online-icon"])},pE=["title"],mE={key:1,class:R(["header-title"])},gE=["src"],bE={key:2,class:R(["powered-by"])},vE=["aria-label"],yE={key:3,class:R(["video-block"])};function AE(e,n,t,i,o,a){const r=le("WplcIconBubble"),s=le("WplcIconDoubleBubble");le("GlyphiconChevron");const l=le("GlyphiconTimes"),c=le("VideoOutput");return k(),B("div",{ref:"headerContainer",class:R([["header-root"],e.panelType,e.hasCallOrRecall?["call-active"]:"",e.myWebRTCService.isVideoActive.value?["active-video"]:"",e.isFullScreen?["full-screen"]:""])},[e.showOperatorInfo?(k(),B("div",cE,[H("div",fE,[H("img",{ref:"operatorIcon",src:e.getAgentIcon(),alt:"avatar",class:R([["rounded-circle"],["operator-img"]]),onError:n[0]||(n[0]=u=>e.updateNotFoundImage(u))},null,40,uE),e.isOffline?(k(),B("span",dE)):(k(),B("span",hE))]),H("div",{class:R([["operator_name"]]),title:e.currentOperator.name},[H("span",null,Ae(e.currentOperator.name),1)],8,pE)])):(k(),B("div",mE,[e.config.windowIcon!=null&&e.config.windowIcon.replace(/\s/g,"").length>0?(k(),B("img",{key:0,ref:"windowIcon",class:R(["logo-icon"]),src:e.config.windowIcon,alt:"",onError:n[1]||(n[1]=u=>e.updateNotFoundImage(u))},null,40,gE)):e.config.buttonIconType==="bubble"?(k(),Se(r,{key:1,class:R(["logo-icon"])})):e.config.buttonIconType==="doublebubble"?(k(),Se(s,{key:2,class:R(["logo-icon"])})):ae("",!0)])),e.config.enablePoweredby?(k(),B("div",bE,[H("span",null,Ae(e.t("Inputs.PoweredBy")),1)])):ae("",!0),H("div",{class:R([["action_menu"],e.isFullScreen?["full-screen-menu"]:""])},[ae("",!0),e.showClose?(k(),B("button",{key:1,id:"close_btn",type:"button","aria-label":e.t("Auth.CloseButton"),class:R([["action_menu_btn"],["close_btn"]]),onClick:n[3]||(n[3]=u=>e.onClose())},[de(l)],8,vE)):ae("",!0)],2),e.myWebRTCService.isVideoActive.value?(k(),B("div",yE,[de(c,{id:"wplc_videoOutput",ref:"videoOutput"},null,512)])):ae("",!0)],2)}const nm=je(sE,[["render",AE],["styles",[lE]],["__scopeId","data-v-512d1bae"]]),wE=(e,n)=>{const t=Nt({name:"",email:"",gdprAccepted:!1}),i={name:{},email:{},gdprAccepted:{}},o=u=>As(u),a=u=>_f(u),r=u=>ao(u),s=u=>Ef(u),l=u=>u;(e===vt.Both||e===vt.Name)&&(i.name={required:Lf,nameValid:a,maxCharactersReached:r}),(e===vt.Both||e===vt.Email)&&(i.email={required:Lf,emailValid:o,maxEmailCharactersReached:s}),n&&(i.gdprAccepted={required:Lf,checkboxSelected:l});const c=U6(i,t);return{state:t,v$:c}},CE=Ve({components:{Panel:xf,CallUsHeader:nm,MessageSolid:$1,MaterialCheckbox:G6,MaterialInput:X6,Loading:V1},shadow:!1,props:{startMinimized:{type:Boolean},config:{type:Object,default:()=>{}},chatEnabled:{type:Boolean,default:!1},operator:{type:Object,default:()=>Oi}},setup(e,n){const t=ue(zt),i=ue(Eo),o=ue(wi),a=ue(Ln),r=Z(null),s=Z(null),l=Z(null),c=Z(!1),u=Z(!1),f=Z(!1),d=Z(!1),p=Z(e.config.authenticationType),h=Z(null),{t:b}=Tt(),y=Ot(),{state:g,v$:C}=wE(p.value,e.config.gdprEnabled),E=Y(()=>{var W;return d&&!!((W=a.auth)!=null&&W.email)}),x=Y(()=>{var W;return d&&!!((W=a.auth)!=null&&W.name)&&a.auth.name!==wf}),M=W=>{g.gdprAccepted=W},U=W=>{g.name=W},N=W=>{g.email=W},K=()=>{c.value=!0,C&&(C.value.$touch(),(!C.value.$invalid||p.value===vt.None)&&(d.value||(g.name||g.email?a.setAuthentication({name:g.name,email:g.email}):a.setAuthentication({name:wf})),(!e.config.gdprEnabled||!C.value.gdprAccepted.$error)&&n.emit("submit-auth")))},re=()=>{r.value instanceof HTMLElement?Ho.focusElement(r.value):s.value instanceof HTMLElement&&Ho.focusElement(s.value)};return Mt(()=>{a.auth?(p.value=vt.None,d.value=!0,g.name=a.auth.name||"",g.email=a.auth.email||""):(y.add(t.onRestored.subscribe({next:()=>re()})),u.value=!!e.config.visitorName,f.value=!!e.config.visitorEmail,g.name=e.config.visitorName||"",g.email=e.config.visitorEmail||"")}),Xn(()=>{var W;(W=h==null?void 0:h.value)==null||W.addEventListener("wheel",ee=>{var Be;ee.preventDefault();const he=h.value.scrollTop+-ee.wheelDelta*.05;(Be=h==null?void 0:h.value)==null||Be.scrollTo({top:he})},{passive:!1}),re()}),{nameInput:r,emailInput:s,submitButton:l,fullscreenService:o,ViewState:ye,loadingService:i,authType:p,AuthenticationType:vt,showEmailProvided:E,showNameProvided:x,getPropertyValue:jn,submit:K,isNameDisabled:u,isSubmitted:c,isEmailDisabled:f,authProvided:d,gdprChanged:M,gdprBox:h,t:b,state:g,handleInputName:U,handleInputEmail:N,v$:C}}}),_E="[data-v-910db608]{box-sizing:border-box}@keyframes fadeIn-910db608{0%{opacity:0}to{opacity:1}}.fadeIn[data-v-910db608]{animation-duration:1s;animation-fill-mode:both;animation-name:fadeIn-910db608;animation-delay:.5s}.slideLeft[data-v-910db608]{animation:slideLeft-910db608 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideLeft-910db608{0%{transform:translate(130%)}to{transform:translate(0)}}.slideRight[data-v-910db608]{animation:slideRight-910db608 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideRight-910db608{0%{transform:translate(-130%)}to{transform:translate(0)}}.slideUp[data-v-910db608]{animation:slideUp-910db608 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideUp-910db608{0%{transform:translateY(130%)}to{transform:translateY(0)}}.nudge[data-v-910db608],form .error[data-v-910db608]{animation:nudge-910db608 1s ease-in}@keyframes nudge-910db608{0%{opacity:0}to{opacity:1}}@keyframes fly-in-910db608{0%{transform:scale(.85) translateY(10%);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.fly-in[data-v-910db608]{transition:all .5s;animation-duration:.3s;animation-name:fly-in-910db608}@keyframes show-with-delay-910db608{0%{opacity:0}to{opacity:1}}.show-with-delay[data-v-910db608]{animation-name:show-with-delay-910db608;animation-duration:0s;animation-delay:3s;animation-fill-mode:both}.spin[data-v-910db608]{animation:spin-910db608 2s linear infinite}@keyframes spin-910db608{0%{transform:rotate(0)}to{transform:rotate(1turn)}}form[data-v-910db608]{position:relative}form .error[data-v-910db608]{color:red;font-size:calc(var(--call-us-font-size, 14px) - 3px)}form[data-v-910db608] ::-moz-placeholder{color:#777;opacity:1}form[data-v-910db608] ::placeholder{color:#777;opacity:1}.custom-scrollbar[data-v-910db608]::-webkit-scrollbar,.auth-root form .form_body .gdrp-box[data-v-910db608]::-webkit-scrollbar{width:4px}.custom-scrollbar[data-v-910db608]::-webkit-scrollbar-track,.auth-root form .form_body .gdrp-box[data-v-910db608]::-webkit-scrollbar-track{background:#f1f1f1}.custom-scrollbar[data-v-910db608]::-webkit-scrollbar-thumb,.auth-root form .form_body .gdrp-box[data-v-910db608]::-webkit-scrollbar-thumb{background:#888}.custom-scrollbar[data-v-910db608]::-webkit-scrollbar-thumb:hover,.auth-root form .form_body .gdrp-box[data-v-910db608]::-webkit-scrollbar-thumb:hover{background:#555}.auth-root[data-v-910db608]{display:flex;align-items:center;justify-content:center;height:100%;flex-flow:column;margin-block-end:0;flex-grow:1}.auth-root button[data-v-910db608]{cursor:pointer}.auth-root form[data-v-910db608]{width:100%;flex-grow:1;display:flex;flex-direction:column;overflow-y:auto;margin-block-end:0}.auth-root form .form_body[data-v-910db608]{line-height:var(--call-us-default-line-height, 17px);flex-grow:1;display:flex;flex-direction:column;overflow-y:auto;justify-content:var(--call-us-justify-content-auth-form, center);padding:50px var(--call-us-element-side-offset-high, 20px) 20px var(--call-us-element-side-offset-high, 20px)}@media screen and (orientation: landscape) and (max-height: 350px){.auth-root form .form_body[data-v-910db608]{padding:10px var(--call-us-element-side-offset-high, 20px) 10px var(--call-us-element-side-offset-high, 20px)}}.auth-root form .form_body input[data-v-910db608]{padding:var(--call-us-element-side-offset-medium, 10px) 0 5px 0}.auth-root form .form_body .chatIntroText[data-v-910db608],.auth-root form .form_body .replaceFieldsText[data-v-910db608]{color:var(--call-us-main-font-color, #000000)}.auth-root form .form_body .gdrp-box[data-v-910db608]{padding:5px;overflow-y:auto;max-height:90%;white-space:pre-wrap;word-break:break-word}.auth-root form .form_body .gdpr-error[data-v-910db608]{padding-left:30px}.auth-root form .form_body .chatIntroText[data-v-910db608]{word-break:break-word}.auth-root form .form_body .chatIntroText[data-v-910db608],.auth-root form .form_body .replaceFieldsText[data-v-910db608]{margin:var(--call-us-element-side-offset-small, 5px) 0 0 0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.auth-root form .form_body .replaceFieldsText[data-v-910db608]{font-weight:700;text-align:center}.auth-root .chat-disabled-container[data-v-910db608]{color:#646464;display:flex;flex:1 1 auto;flex-direction:row;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:1em}.auth-root[data-v-910db608] :focus{outline:none}.submit[data-v-910db608]{min-height:var(--call-us-submit-button-height, 44px);border:none;display:flex;justify-content:center;align-items:center}@media screen and (orientation: landscape) and (max-height: 350px){.submit[data-v-910db608]{min-height:30px}}.submit svg[data-v-910db608]{margin-right:15px;width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);fill:var(--call-us-plate-font-color, #FFFFFF)}.submit[data-v-910db608]:active{opacity:.9}.submit[data-v-910db608]{transition:.1s ease all}.submit[data-v-910db608]{line-height:var(--call-us-default-line-height, 17px);align-self:flex-end;color:var(--call-us-plate-font-color, #FFFFFF);width:100%;height:var(--call-us-submit-button-height, 44px);background:var(--call-us-plate-background-color, #494949);margin:0;border-radius:0 0 6px 6px}",EE={slot:"panel-content",class:R("auth-root")},SE={class:R(["form_body"])},ME={key:0,class:R(["replaceFieldsText"])},IE={key:1,class:R("chatIntroText")},TE={key:2},OE={key:0},kE={key:0,class:R("error")},xE={key:1,class:R("error")},RE={key:2,class:R("error")},NE={key:3},LE={key:0},PE={key:0,class:R("error")},DE={key:1,class:R("error")},FE={key:2,class:R("error")},BE={ref:"gdprBox",class:R(["gdrp-box"])},qE={key:0,class:R(["gdpr-error"])},UE={key:0,class:R("error")},$E=["aria-label"],jE={key:1,ref:"chatDisabledMessage",class:R(["chat-disabled-container"])};function zE(e,n,t,i,o,a){const r=le("CallUsHeader"),s=le("Loading"),l=le("MaterialInput"),c=le("MaterialCheckbox"),u=le("MessageSolid"),f=le("Panel");return k(),Se(f,{config:e.config,startMinimized:e.startMinimized,allowMinimize:e.config.allowMinimize,panelState:e.ViewState.Authenticate,fullScreenService:e.fullscreenService,operator:e.operator},{"panel-top":Gt(()=>[de(r,{currentState:e.ViewState.Authenticate,config:e.config,operator:e.operator,isFullScreen:e.fullscreenService.isFullScreen},null,8,["currentState","config","operator","isFullScreen"])]),"panel-content":Gt(()=>[H("div",EE,[e.chatEnabled?(k(),B("form",{key:0,ref:"authenticateForm",novalidate:"true",onSubmit:n[0]||(n[0]=cn((...d)=>e.submit&&e.submit(...d),["prevent"]))},[H("div",SE,[de(s,{show:e.loadingService.loading(),text:"loading"},null,8,["show"]),e.authType===e.AuthenticationType.None?(k(),B("div",ME)):(k(),B("div",IE,Ae(e.getPropertyValue("ChatIntro",[e.config.authenticationMessage,e.t("Auth.ChatIntro")])),1)),e.authType===e.AuthenticationType.Both||e.authType===e.AuthenticationType.Name||e.showNameProvided?(k(),B("div",TE,[de(l,{id:"auth_name",ref:"nameInput",value:e.state.name,onInputVal:e.handleInputName,placeholder:e.t("Auth.Name"),disabled:e.isNameDisabled||e.authProvided,name:"name"},null,8,["value","onInputVal","placeholder","disabled"]),!e.showNameProvided&&e.v$.name.$dirty&&e.isSubmitted?(k(),B("div",OE,[e.v$.name.required.$invalid?(k(),B("div",kE,Ae(e.t("Auth.FieldValidation")),1)):e.v$.name.nameValid.$invalid?(k(),B("div",xE,Ae(e.t("Auth.EnterValidName")),1)):e.v$.name.maxCharactersReached.$invalid?(k(),B("div",RE,Ae(e.t("Auth.MaxCharactersReached")),1)):ae("",!0)])):ae("",!0)])):ae("",!0),e.authType===e.AuthenticationType.Both||e.authType===e.AuthenticationType.Email||e.showEmailProvided?(k(),B("div",NE,[de(l,{id:"auth_email",ref:"emailInput",value:e.state.email,onInputVal:e.handleInputEmail,name:"emailInput",placeholder:e.t("Auth.Email"),"max-length":"254",disabled:e.isEmailDisabled||e.authProvided},null,8,["value","onInputVal","placeholder","disabled"]),!e.showEmailProvided&&e.v$.email.$dirty&&e.isSubmitted?(k(),B("div",LE,[e.v$.email.required.$invalid?(k(),B("div",PE,Ae(e.t("Auth.FieldValidation")),1)):e.v$.email.emailValid.$invalid?(k(),B("div",DE,Ae(e.t("Auth.EnterValidEmail")),1)):e.v$.email.maxEmailCharactersReached.$invalid?(k(),B("div",FE,Ae(e.t("Auth.MaxCharactersReached")),1)):ae("",!0)])):ae("",!0)])):ae("",!0),e.config.gdprEnabled?(k(),B(rt,{key:4},[H("div",BE,[de(c,{id:"auth_gdpr",ref:"gdprCheck",value:e.state.gdprAccepted,onInputVal:e.gdprChanged,checkName:"gdprCheck",checkLabel:e.config.gdprMessage},null,8,["value","onInputVal","checkLabel"])],512),e.isSubmitted?(k(),B("div",qE,[e.v$.gdprAccepted.$invalid?(k(),B("div",UE,Ae(e.t("Auth.FieldValidation")),1)):ae("",!0)])):ae("",!0)],64)):ae("",!0)]),H("button",{id:"submitBtn",ref:"submitButton","aria-label":e.t("Auth.Submit"),class:R("submit"),type:"submit"},[de(u),ei(" "+Ae(e.getPropertyValue("StartButtonText",[e.config.startChatButtonText,e.t("Auth.Submit")])),1)],8,$E)],544)):(k(),B("div",jE,[H("div",null,Ae(e.t("Inputs.ChatIsDisabled")),1)],512))])]),_:1},8,["config","startMinimized","allowMinimize","panelState","fullScreenService","operator"])}const VE=je(CE,[["render",zE],["styles",[_E]],["__scopeId","data-v-910db608"]]);var Wo=(e=>(e[e.try=1]="try",e[e.ok=2]="ok",e[e.restart=3]="restart",e))(Wo||{});class ks{constructor(n){_(this,"chatUniqueCode");_(this,"notifyServer");_(this,"closedByClient");_(this,"closeMessage");Object.assign(this,n)}}const HE=Ve({props:{message:{type:String,default:""},button:{type:Number,default:Wo.ok}},setup(e,n){const{t}=Tt(),i=Z(null);return Xn(()=>{var o;(o=i.value)==null||o.focus()}),{submitButton:i,t,submit(){n.emit("submit")}}}}),WE="*{box-sizing:border-box}* button{font-family:inherit;width:100%;border:1px var(--call-us-plate-bg-with-gradient, linear-gradient(180deg, var(--call-us-plate-background-color, #494949) 0%, #282828 100%)) solid;padding:var(--call-us-element-side-offset-small, 5px) 10px;font-size:var(--call-us-font-size, 14px);outline:none;cursor:pointer;display:flex;align-items:center;justify-content:center}* button:disabled{opacity:.6;cursor:not-allowed}.root-overlay{bottom:0;left:0;position:absolute;right:0;top:0;align-items:center;justify-content:center;overflow:hidden;z-index:var(--call-us-z-index-overlay, 6);display:flex}.root-overlay .content{border-radius:6px;background:var(--call-us-main-background-color, #FFFFFF);font-size:var(--call-us-font-size, 14px);display:flex;flex-direction:column;align-items:center;position:relative;width:80%}.root-overlay .content .content-message{color:var(--call-us-main-font-color, #000000);display:flex;flex-direction:column;width:100%;flex-grow:1;padding:var(--call-us-standart-right-left-padding, 11px)}.root-overlay .content button{font-size:var(--call-us-font-size, 14px)}.root-overlay .background{z-index:-1;bottom:0;left:0;position:absolute;right:0;top:0;background:#000;opacity:.5}.submit svg{margin-right:15px;width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);fill:var(--call-us-plate-font-color, #FFFFFF)}.submit:active{opacity:.9}.submit{transition:.1s ease all}.submit{line-height:var(--call-us-default-line-height, 17px);align-self:flex-end;color:var(--call-us-plate-font-color, #FFFFFF);width:100%;height:var(--call-us-submit-button-height, 44px);background:var(--call-us-plate-background-color, #494949);margin:0;border-radius:0 0 6px 6px}",YE={class:R("root-overlay")},GE={class:R("content")},QE={class:R(["content-message"])},KE=["aria-label"];function ZE(e,n,t,i,o,a){return k(),B("div",YE,[H("div",GE,[H("div",QE,Ae(e.message),1),H("button",{id:"submitBtn",ref:"submitButton","aria-label":e.button===1?e.t("MessageBox.TryAgain"):e.t("MessageBox.Ok"),class:R("submit"),type:"submit",onClick:n[0]||(n[0]=(...r)=>e.submit&&e.submit(...r))},Ae(e.button===1?e.t("MessageBox.TryAgain"):e.t("MessageBox.Ok")),9,KE)]),H("div",{class:R("background"),onClick:n[1]||(n[1]=(...r)=>e.submit&&e.submit(...r))})])}const JE=je(HE,[["render",ZE],["styles",[WE]]]),im={"*\\0/*":"1f646","*\\O/*":"1f646","-___-":"1f611",":'-)":"1f602","':-)":"1f605","':-D":"1f605",">:-)":"1f606","':-(":"1f613",">:-(":"1f620",":'-(":"1f622","O:-)":"1f607","0:-3":"1f607","0:-)":"1f607","0;^)":"1f607","O;-)":"1f607","0;-)":"1f607","O:-3":"1f607","-__-":"1f611",":-Ãž":"1f61b","</3":"1f494",":')":"1f602",":-D":"1f603","':)":"1f605","'=)":"1f605","':D":"1f605","'=D":"1f605",">:)":"1f606",">;)":"1f606",">=)":"1f606",";-)":"1f609","*-)":"1f609",";-]":"1f609",";^)":"1f609","':(":"1f613","'=(":"1f613",":-*":"1f618",":^*":"1f618",">:P":"1f61c","X-P":"1f61c",">:[":"1f61e",":-(":"1f61e",":-[":"1f61e",">:(":"1f620",":'(":"1f622",";-(":"1f622",">.<":"1f623","#-)":"1f635","%-)":"1f635","X-)":"1f635","\\0/":"1f646","\\O/":"1f646","0:3":"1f607","0:)":"1f607","O:)":"1f607","O=)":"1f607","O:3":"1f607","B-)":"1f60e","8-)":"1f60e","B-D":"1f60e","8-D":"1f60e","-_-":"1f611",">:\\":"1f615",">:/":"1f615",":-/":"1f615",":-.":"1f615",":-P":"1f61b",":Ãž":"1f61b",":-b":"1f61b",":-O":"1f62e",O_O:"1f62e",">:O":"1f62e",":-X":"1f636",":-#":"1f636",":-)":"1f642","(y)":"1f44d","<3":"2764",":D":"1f603","=D":"1f603",";)":"1f609","*)":"1f609",";]":"1f609",";D":"1f609",":*":"1f618","=*":"1f618",":(":"1f61e",":[":"1f61e","=(":"1f61e",":@":"1f620",";(":"1f622","D:":"1f628",":$":"1f633","=$":"1f633","#)":"1f635","%)":"1f635","X)":"1f635","B)":"1f60e","8)":"1f60e",":/":"1f615",":\\":"1f615","=/":"1f615","=\\":"1f615",":L":"1f615","=L":"1f615",":P":"1f61b","=P":"1f61b",":b":"1f61b",":O":"1f62e",":X":"1f636",":#":"1f636","=X":"1f636","=#":"1f636",":)":"1f642","=]":"1f642","=)":"1f642",":]":"1f642"},XE="(\\*\\\\0\\/\\*|\\*\\\\O\\/\\*|\\-___\\-|\\:'\\-\\)|'\\:\\-\\)|'\\:\\-D|\\>\\:\\-\\)|>\\:\\-\\)|'\\:\\-\\(|\\>\\:\\-\\(|>\\:\\-\\(|\\:'\\-\\(|O\\:\\-\\)|0\\:\\-3|0\\:\\-\\)|0;\\^\\)|O;\\-\\)|0;\\-\\)|O\\:\\-3|\\-__\\-|\\:\\-Ãž|\\:\\-Ãž|\\<\\/3|<\\/3|\\:'\\)|\\:\\-D|'\\:\\)|'\\=\\)|'\\:D|'\\=D|\\>\\:\\)|>\\:\\)|\\>;\\)|>;\\)|\\>\\=\\)|>\\=\\)|;\\-\\)|\\*\\-\\)|;\\-\\]|;\\^\\)|'\\:\\(|'\\=\\(|\\:\\-\\*|\\:\\^\\*|\\>\\:P|>\\:P|X\\-P|\\>\\:\\[|>\\:\\[|\\:\\-\\(|\\:\\-\\[|\\>\\:\\(|>\\:\\(|\\:'\\(|;\\-\\(|\\>\\.\\<|>\\.<|#\\-\\)|%\\-\\)|X\\-\\)|\\\\0\\/|\\\\O\\/|0\\:3|0\\:\\)|O\\:\\)|O\\=\\)|O\\:3|B\\-\\)|8\\-\\)|B\\-D|8\\-D|\\-_\\-|\\>\\:\\\\|>\\:\\\\|\\>\\:\\/|>\\:\\/|\\:\\-\\/|\\:\\-\\.|\\:\\-P|\\:Ãž|\\:Ãž|\\:\\-b|\\:\\-O|O_O|\\>\\:O|>\\:O|\\:\\-X|\\:\\-#|\\:\\-\\)|\\(y\\)|\\<3|<3|\\:D|\\=D|;\\)|\\*\\)|;\\]|;D|\\:\\*|\\=\\*|\\:\\(|\\:\\[|\\=\\(|\\:@|;\\(|D\\:|\\:\\$|\\=\\$|#\\)|%\\)|X\\)|B\\)|8\\)|\\:\\/|\\:\\\\|\\=\\/|\\=\\\\|\\:L|\\=L|\\:P|\\=P|\\:b|\\:O|\\:X|\\:#|\\=X|\\=#|\\:\\)|\\=\\]|\\=\\)|\\:\\])",eS=new RegExp(`<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|((\\s|^)${XE}(?=\\s|$|[!,.?]))`,"gi");function kO(e){return e}function tS(e){if(e.indexOf("-")>-1){const t=[],i=e.split("-");for(let o=0;o<i.length;o+=1){let a=parseInt(i[o],16);if(a>=65536&&a<=1114111){const r=Math.floor((a-65536)/1024)+55296,s=(a-65536)%1024+56320;a=String.fromCharCode(r)+String.fromCharCode(s)}else a=String.fromCharCode(a);t.push(a)}return t.join("")}const n=parseInt(e,16);if(n>=65536&&n<=1114111){const t=Math.floor((n-65536)/1024)+55296,i=(n-65536)%1024+56320;return String.fromCharCode(t)+String.fromCharCode(i)}return String.fromCharCode(n)}function nS(e){return e.replace(eS,(n,t,i,o)=>{if(typeof o>"u"||o===""||!(o in im))return n;o=o;const a=im[o].toUpperCase();return i+tS(a)})}var Ua={exports:{}};/*!
* bytes
* Copyright(c) 2012-2014 TJ Holowaychuk
* Copyright(c) 2015 Jed Watson
* MIT Licensed
*/var om;function iS(){if(om)return Ua.exports;om=1,Ua.exports=o,Ua.exports.format=a,Ua.exports.parse=r;var e=/\B(?=(\d{3})+(?!\d))/g,n=/(?:\.0*|(\.[^0]+)0+)$/,t={b:1,kb:1024,mb:1<<20,gb:1<<30,tb:Math.pow(1024,4),pb:Math.pow(1024,5)},i=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function o(s,l){return typeof s=="string"?r(s):typeof s=="number"?a(s,l):null}function a(s,l){if(!Number.isFinite(s))return null;var c=Math.abs(s),u=l&&l.thousandsSeparator||"",f=l&&l.unitSeparator||"",d=l&&l.decimalPlaces!==void 0?l.decimalPlaces:2,p=!!(l&&l.fixedDecimals),h=l&&l.unit||"";(!h||!t[h.toLowerCase()])&&(c>=t.pb?h="PB":c>=t.tb?h="TB":c>=t.gb?h="GB":c>=t.mb?h="MB":c>=t.kb?h="KB":h="B");var b=s/t[h.toLowerCase()],y=b.toFixed(d);return p||(y=y.replace(n,"$1")),u&&(y=y.split(".").map(function(g,C){return C===0?g.replace(e,u):g}).join(".")),y+f+h}function r(s){if(typeof s=="number"&&!isNaN(s))return s;if(typeof s!="string")return null;var l=i.exec(s),c,u="b";return l?(c=parseFloat(l[1]),u=l[4].toLowerCase()):(c=parseInt(s,10),u="b"),isNaN(c)?null:Math.floor(t[u]*c)}return Ua.exports}var oS=iS();const aS=Sn(oS),rS="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",sS="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",Pf="numeric",Df="ascii",Ff="alpha",$a="asciinumeric",ja="alphanumeric",Bf="domain",am="emoji",lS="scheme",cS="slashscheme",qf="whitespace";function fS(e,n){return e in n||(n[e]=[]),n[e]}function lo(e,n,t){n[Pf]&&(n[$a]=!0,n[ja]=!0),n[Df]&&(n[$a]=!0,n[Ff]=!0),n[$a]&&(n[ja]=!0),n[Ff]&&(n[ja]=!0),n[ja]&&(n[Bf]=!0),n[am]&&(n[Bf]=!0);for(const i in n){const o=fS(i,t);o.indexOf(e)<0&&o.push(e)}}function uS(e,n){const t={};for(const i in n)n[i].indexOf(e)>=0&&(t[i]=!0);return t}function rn(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}rn.groups={},rn.prototype={accepts(){return!!this.t},go(e){const n=this,t=n.j[e];if(t)return t;for(let i=0;i<n.jr.length;i++){const o=n.jr[i][0],a=n.jr[i][1];if(a&&o.test(e))return a}return n.jd},has(e,n=!1){return n?e in this.j:!!this.go(e)},ta(e,n,t,i){for(let o=0;o<e.length;o++)this.tt(e[o],n,t,i)},tr(e,n,t,i){i=i||rn.groups;let o;return n&&n.j?o=n:(o=new rn(n),t&&i&&lo(n,t,i)),this.jr.push([e,o]),o},ts(e,n,t,i){let o=this;const a=e.length;if(!a)return o;for(let r=0;r<a-1;r++)o=o.tt(e[r]);return o.tt(e[a-1],n,t,i)},tt(e,n,t,i){i=i||rn.groups;const o=this;if(n&&n.j)return o.j[e]=n,n;const a=n;let r,s=o.go(e);if(s?(r=new rn,Object.assign(r.j,s.j),r.jr.push.apply(r.jr,s.jr),r.jd=s.jd,r.t=s.t):r=new rn,a){if(i)if(r.t&&typeof r.t=="string"){const l=Object.assign(uS(r.t,i),t);lo(a,l,i)}else t&&lo(a,t,i);r.t=a}return o.j[e]=r,r}};const _e=(e,n,t,i,o)=>e.ta(n,t,i,o),ot=(e,n,t,i,o)=>e.tr(n,t,i,o),rm=(e,n,t,i,o)=>e.ts(n,t,i,o),G=(e,n,t,i,o)=>e.tt(n,t,i,o),fi="WORD",Uf="UWORD",sm="ASCIINUMERICAL",lm="ALPHANUMERICAL",za="LOCALHOST",$f="TLD",jf="UTLD",xs="SCHEME",Yo="SLASH_SCHEME",zf="NUM",Vf="WS",Hf="NL",Va="OPENBRACE",Ha="CLOSEBRACE",Rs="OPENBRACKET",Ns="CLOSEBRACKET",Ls="OPENPAREN",Ps="CLOSEPAREN",Ds="OPENANGLEBRACKET",Fs="CLOSEANGLEBRACKET",Bs="FULLWIDTHLEFTPAREN",qs="FULLWIDTHRIGHTPAREN",Us="LEFTCORNERBRACKET",$s="RIGHTCORNERBRACKET",js="LEFTWHITECORNERBRACKET",zs="RIGHTWHITECORNERBRACKET",Vs="FULLWIDTHLESSTHAN",Hs="FULLWIDTHGREATERTHAN",Ws="AMPERSAND",Ys="APOSTROPHE",Gs="ASTERISK",Ni="AT",Qs="BACKSLASH",Ks="BACKTICK",Zs="CARET",Li="COLON",Wf="COMMA",Js="DOLLAR",zn="DOT",Xs="EQUALS",Yf="EXCLAMATION",mn="HYPHEN",Wa="PERCENT",el="PIPE",tl="PLUS",nl="POUND",Ya="QUERY",Gf="QUOTE",cm="FULLWIDTHMIDDLEDOT",Qf="SEMI",Vn="SLASH",Ga="TILDE",il="UNDERSCORE",fm="EMOJI",ol="SYM";var um=Object.freeze({__proto__:null,ALPHANUMERICAL:lm,AMPERSAND:Ws,APOSTROPHE:Ys,ASCIINUMERICAL:sm,ASTERISK:Gs,AT:Ni,BACKSLASH:Qs,BACKTICK:Ks,CARET:Zs,CLOSEANGLEBRACKET:Fs,CLOSEBRACE:Ha,CLOSEBRACKET:Ns,CLOSEPAREN:Ps,COLON:Li,COMMA:Wf,DOLLAR:Js,DOT:zn,EMOJI:fm,EQUALS:Xs,EXCLAMATION:Yf,FULLWIDTHGREATERTHAN:Hs,FULLWIDTHLEFTPAREN:Bs,FULLWIDTHLESSTHAN:Vs,FULLWIDTHMIDDLEDOT:cm,FULLWIDTHRIGHTPAREN:qs,HYPHEN:mn,LEFTCORNERBRACKET:Us,LEFTWHITECORNERBRACKET:js,LOCALHOST:za,NL:Hf,NUM:zf,OPENANGLEBRACKET:Ds,OPENBRACE:Va,OPENBRACKET:Rs,OPENPAREN:Ls,PERCENT:Wa,PIPE:el,PLUS:tl,POUND:nl,QUERY:Ya,QUOTE:Gf,RIGHTCORNERBRACKET:$s,RIGHTWHITECORNERBRACKET:zs,SCHEME:xs,SEMI:Qf,SLASH:Vn,SLASH_SCHEME:Yo,SYM:ol,TILDE:Ga,TLD:$f,UNDERSCORE:il,UTLD:jf,UWORD:Uf,WORD:fi,WS:Vf});const ui=/[a-z]/,Qa=new RegExp("\\p{L}","u"),Kf=new RegExp("\\p{Emoji}","u"),di=/\d/,Zf=/\s/,dm="\r",Jf=`
`,dS="️",hS="‍",Xf="￼";let al=null,rl=null;function pS(e=[]){const n={};rn.groups=n;const t=new rn;al==null&&(al=pm(rS)),rl==null&&(rl=pm(sS)),G(t,"'",Ys),G(t,"{",Va),G(t,"}",Ha),G(t,"[",Rs),G(t,"]",Ns),G(t,"(",Ls),G(t,")",Ps),G(t,"<",Ds),G(t,">",Fs),G(t,"（",Bs),G(t,"）",qs),G(t,"「",Us),G(t,"」",$s),G(t,"『",js),G(t,"』",zs),G(t,"＜",Vs),G(t,"＞",Hs),G(t,"&",Ws),G(t,"*",Gs),G(t,"@",Ni),G(t,"`",Ks),G(t,"^",Zs),G(t,":",Li),G(t,",",Wf),G(t,"$",Js),G(t,".",zn),G(t,"=",Xs),G(t,"!",Yf),G(t,"-",mn),G(t,"%",Wa),G(t,"|",el),G(t,"+",tl),G(t,"#",nl),G(t,"?",Ya),G(t,'"',Gf),G(t,"/",Vn),G(t,";",Qf),G(t,"~",Ga),G(t,"_",il),G(t,"\\",Qs),G(t,"・",cm);const i=ot(t,di,zf,{[Pf]:!0});ot(i,di,i);const o=ot(i,ui,sm,{[$a]:!0}),a=ot(i,Qa,lm,{[ja]:!0}),r=ot(t,ui,fi,{[Df]:!0});ot(r,di,o),ot(r,ui,r),ot(o,di,o),ot(o,ui,o);const s=ot(t,Qa,Uf,{[Ff]:!0});ot(s,ui),ot(s,di,a),ot(s,Qa,s),ot(a,di,a),ot(a,ui),ot(a,Qa,a);const l=G(t,Jf,Hf,{[qf]:!0}),c=G(t,dm,Vf,{[qf]:!0}),u=ot(t,Zf,Vf,{[qf]:!0});G(t,Xf,u),G(c,Jf,l),G(c,Xf,u),ot(c,Zf,u),G(u,dm),G(u,Jf),ot(u,Zf,u),G(u,Xf,u);const f=ot(t,Kf,fm,{[am]:!0});G(f,"#"),ot(f,Kf,f),G(f,dS,f);const d=G(f,hS);G(d,"#"),ot(d,Kf,f);const p=[[ui,r],[di,o]],h=[[ui,null],[Qa,s],[di,a]];for(let b=0;b<al.length;b++)Pi(t,al[b],$f,fi,p);for(let b=0;b<rl.length;b++)Pi(t,rl[b],jf,Uf,h);lo($f,{tld:!0,ascii:!0},n),lo(jf,{utld:!0,alpha:!0},n),Pi(t,"file",xs,fi,p),Pi(t,"mailto",xs,fi,p),Pi(t,"http",Yo,fi,p),Pi(t,"https",Yo,fi,p),Pi(t,"ftp",Yo,fi,p),Pi(t,"ftps",Yo,fi,p),lo(xs,{scheme:!0,ascii:!0},n),lo(Yo,{slashscheme:!0,ascii:!0},n),e=e.sort((b,y)=>b[0]>y[0]?1:-1);for(let b=0;b<e.length;b++){const y=e[b][0],C=e[b][1]?{[lS]:!0}:{[cS]:!0};y.indexOf("-")>=0?C[Bf]=!0:ui.test(y)?di.test(y)?C[$a]=!0:C[Df]=!0:C[Pf]=!0,rm(t,y,y,C)}return rm(t,"localhost",za,{ascii:!0}),t.jd=new rn(ol),{start:t,tokens:Object.assign({groups:n},um)}}function hm(e,n){const t=mS(n.replace(/[A-Z]/g,s=>s.toLowerCase())),i=t.length,o=[];let a=0,r=0;for(;r<i;){let s=e,l=null,c=0,u=null,f=-1,d=-1;for(;r<i&&(l=s.go(t[r]));)s=l,s.accepts()?(f=0,d=0,u=s):f>=0&&(f+=t[r].length,d++),c+=t[r].length,a+=t[r].length,r++;a-=f,r-=d,c-=f,o.push({t:u.t,v:n.slice(a-c,a),s:a-c,e:a})}return o}function mS(e){const n=[],t=e.length;let i=0;for(;i<t;){let o=e.charCodeAt(i),a,r=o<55296||o>56319||i+1===t||(a=e.charCodeAt(i+1))<56320||a>57343?e[i]:e.slice(i,i+2);n.push(r),i+=r.length}return n}function Pi(e,n,t,i,o){let a;const r=n.length;for(let s=0;s<r-1;s++){const l=n[s];e.j[l]?a=e.j[l]:(a=new rn(i),a.jr=o.slice(),e.j[l]=a),e=a}return a=new rn(t),a.jr=o.slice(),e.j[n[r-1]]=a,a}function pm(e){const n=[],t=[];let i=0,o="0123456789";for(;i<e.length;){let a=0;for(;o.indexOf(e[i+a])>=0;)a++;if(a>0){n.push(t.join(""));for(let r=parseInt(e.substring(i,i+a),10);r>0;r--)t.pop();i+=a}else t.push(e[i]),i++}return n}const Ka={defaultProtocol:"http",events:null,format:mm,formatHref:mm,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function eu(e,n=null){let t=Object.assign({},Ka);e&&(t=Object.assign(t,e instanceof eu?e.o:e));const i=t.ignoreTags,o=[];for(let a=0;a<i.length;a++)o.push(i[a].toUpperCase());this.o=t,n&&(this.defaultRender=n),this.ignoreTags=o}eu.prototype={o:Ka,ignoreTags:[],defaultRender(e){return e},check(e){return this.get("validate",e.toString(),e)},get(e,n,t){const i=n!=null;let o=this.o[e];return o&&(typeof o=="object"?(o=t.t in o?o[t.t]:Ka[e],typeof o=="function"&&i&&(o=o(n,t))):typeof o=="function"&&i&&(o=o(n,t.t,t)),o)},getObj(e,n,t){let i=this.o[e];return typeof i=="function"&&n!=null&&(i=i(n,t.t,t)),i},render(e){const n=e.render(this);return(this.get("render",null,e)||this.defaultRender)(n,e.t,e)}};function mm(e){return e}function gm(e,n){this.t="token",this.v=e,this.tk=n}gm.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const n=this.toString(),t=e.get("truncate",n,this),i=e.get("format",n,this);return t&&i.length>t?i.substring(0,t)+"…":i},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=Ka.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const n=this,t=this.toHref(e.get("defaultProtocol")),i=e.get("formatHref",t,this),o=e.get("tagName",t,n),a=this.toFormattedString(e),r={},s=e.get("className",t,n),l=e.get("target",t,n),c=e.get("rel",t,n),u=e.getObj("attributes",t,n),f=e.getObj("events",t,n);return r.href=i,s&&(r.class=s),l&&(r.target=l),c&&(r.rel=c),u&&Object.assign(r,u),{tagName:o,attributes:r,content:a,eventListeners:f}}};function sl(e,n){class t extends gm{constructor(o,a){super(o,a),this.t=e}}for(const i in n)t.prototype[i]=n[i];return t.t=e,t}const bm=sl("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),vm=sl("text"),gS=sl("nl"),ll=sl("url",{isLink:!0,toHref(e=Ka.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==za&&e[1].t===Li}}),gn=e=>new rn(e);function bS({groups:e}){const n=e.domain.concat([Ws,Gs,Ni,Qs,Ks,Zs,Js,Xs,mn,zf,Wa,el,tl,nl,Vn,ol,Ga,il]),t=[Ys,Li,Wf,zn,Yf,Wa,Ya,Gf,Qf,Ds,Fs,Va,Ha,Ns,Rs,Ls,Ps,Bs,qs,Us,$s,js,zs,Vs,Hs],i=[Ws,Ys,Gs,Qs,Ks,Zs,Js,Xs,mn,Va,Ha,Wa,el,tl,nl,Ya,Vn,ol,Ga,il],o=gn(),a=G(o,Ga);_e(a,i,a),_e(a,e.domain,a);const r=gn(),s=gn(),l=gn();_e(o,e.domain,r),_e(o,e.scheme,s),_e(o,e.slashscheme,l),_e(r,i,a),_e(r,e.domain,r);const c=G(r,Ni);G(a,Ni,c),G(s,Ni,c),G(l,Ni,c);const u=G(a,zn);_e(u,i,a),_e(u,e.domain,a);const f=gn();_e(c,e.domain,f),_e(f,e.domain,f);const d=G(f,zn);_e(d,e.domain,f);const p=gn(bm);_e(d,e.tld,p),_e(d,e.utld,p),G(c,za,p);const h=G(f,mn);G(h,mn,h),_e(h,e.domain,f),_e(p,e.domain,f),G(p,zn,d),G(p,mn,h);const b=G(p,Li);_e(b,e.numeric,bm);const y=G(r,mn),g=G(r,zn);G(y,mn,y),_e(y,e.domain,r),_e(g,i,a),_e(g,e.domain,r);const C=gn(ll);_e(g,e.tld,C),_e(g,e.utld,C),_e(C,e.domain,r),_e(C,i,a),G(C,zn,g),G(C,mn,y),G(C,Ni,c);const E=G(C,Li),x=gn(ll);_e(E,e.numeric,x);const M=gn(ll),U=gn();_e(M,n,M),_e(M,t,U),_e(U,n,M),_e(U,t,U),G(C,Vn,M),G(x,Vn,M);const N=G(s,Li),K=G(l,Li),re=G(K,Vn),W=G(re,Vn);_e(s,e.domain,r),G(s,zn,g),G(s,mn,y),_e(l,e.domain,r),G(l,zn,g),G(l,mn,y),_e(N,e.domain,M),G(N,Vn,M),G(N,Ya,M),_e(W,e.domain,M),_e(W,n,M),G(W,Vn,M);const ee=[[Va,Ha],[Rs,Ns],[Ls,Ps],[Ds,Fs],[Bs,qs],[Us,$s],[js,zs],[Vs,Hs]];for(let he=0;he<ee.length;he++){const[Be,se]=ee[he],Q=G(M,Be);G(U,Be,Q),G(Q,se,M);const q=gn(ll);_e(Q,n,q);const z=gn();_e(Q,t),_e(q,n,q),_e(q,t,z),_e(z,n,q),_e(z,t,z),G(q,se,M),G(z,se,M)}return G(o,za,C),G(o,Hf,gS),{start:o,tokens:um}}function vS(e,n,t){let i=t.length,o=0,a=[],r=[];for(;o<i;){let s=e,l=null,c=null,u=0,f=null,d=-1;for(;o<i&&!(l=s.go(t[o].t));)r.push(t[o++]);for(;o<i&&(c=l||s.go(t[o].t));)l=null,s=c,s.accepts()?(d=0,f=s):d>=0&&d++,o++,u++;if(d<0)o-=u,o<i&&(r.push(t[o]),o++);else{r.length>0&&(a.push(tu(vm,n,r)),r=[]),o-=d,u-=d;const p=f.t,h=t.slice(o-u,o);a.push(tu(p,n,h))}}return r.length>0&&a.push(tu(vm,n,r)),a}function tu(e,n,t){const i=t[0].s,o=t[t.length-1].e,a=n.slice(i,o);return new e(a,t)}const xt={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function yS(){xt.scanner=pS(xt.customSchemes);for(let e=0;e<xt.tokenQueue.length;e++)xt.tokenQueue[e][1]({scanner:xt.scanner});xt.parser=bS(xt.scanner.tokens);for(let e=0;e<xt.pluginQueue.length;e++)xt.pluginQueue[e][1]({scanner:xt.scanner,parser:xt.parser});return xt.initialized=!0,xt}function ym(e){return xt.initialized||yS(),vS(xt.parser.start,e,hm(xt.scanner.start,e))}ym.scan=hm;function Am(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function AS(e){return e.replace(/"/g,"&quot;")}function wS(e){const n=[];for(const t in e){let i=e[t]+"";n.push(`${t}="${AS(i)}"`)}return n.join(" ")}function CS({tagName:e,attributes:n,content:t}){return`<${e} ${wS(n)}>${Am(t)}</${e}>`}function wm(e,n={}){n=new eu(n,CS);const t=ym(e),i=[];for(let o=0;o<t.length;o++){const a=t[o];a.t==="nl"&&n.get("nl2br")?i.push(`<br>
`):!a.isLink||!n.check(a)?i.push(Am(a.toString())):i.push(n.render(a))}return i.join("")}String.prototype.linkify||Object.defineProperty(String.prototype,"linkify",{writable:!1,value:function(n){return wm(this,n)}});const _S=["jpeg","jpg","png","gif","bmp","webp","tif","tiff","heif","doc","docx","pdf","txt","rtf","ppt","pptx","xls","xlsx"],ES=["jpeg","jpg","png","gif","bmp","webp","tiff","tif"],Cm=19900,SS=e=>e&&!(e.replace(/\s/g,"").length<1),MS=(e,n)=>wm(e,{target:"_blank",rel:"noopener noreferrer"});function IS(e=0,n=0){let t=e;return typeof e!="number"&&(t=parseFloat(String(e))),Number.isNaN(t)||!Number.isFinite(t)?"?":aS(t,{unitSeparator:" ",decimalPlaces:0})}function TS(e){const n=e.lastIndexOf("."),t=e.substring(n+1);return _S.indexOf(t.toLowerCase())>=0}function OS(e){const n=e.lastIndexOf("."),t=e.substring(n+1);return ES.indexOf(t.toLowerCase())>=0}const kS={s:JSON.parse('{"2049":0,"2122":0,"2139":0,"2194":0,"2195":0,"2196":0,"2197":0,"2198":0,"2199":0,"2328":0,"2600":0,"2601":0,"2602":0,"2603":0,"2604":0,"2611":0,"2614":0,"2615":0,"2618":0,"2620":0,"2622":0,"2623":0,"2626":0,"2638":0,"2639":0,"2640":0,"2642":0,"2648":0,"2649":0,"2650":0,"2651":0,"2652":0,"2653":0,"2660":0,"2663":0,"2665":0,"2666":0,"2668":0,"2692":0,"2693":0,"2694":0,"2695":0,"2696":0,"2697":0,"2699":0,"2702":0,"2705":0,"2708":0,"2709":0,"2712":0,"2714":0,"2716":0,"2721":0,"2728":0,"2733":0,"2734":0,"2744":0,"2747":0,"2753":0,"2754":0,"2755":0,"2757":0,"2763":0,"2764":0,"2795":0,"2796":0,"2797":0,"2934":0,"2935":0,"3030":0,"3297":0,"3299":0,"1f9e1":0,"1f49b":0,"1f49a":0,"1f499":0,"1f49c":0,"1f5a4":0,"1f494":0,"1f495":0,"1f49e":0,"1f493":0,"1f497":0,"1f496":0,"1f498":0,"1f49d":0,"1f49f":0,"262e":0,"271d":0,"262a":0,"1f549":0,"1f52f":0,"1f54e":0,"262f":0,"1f6d0":0,"26ce":0,"264a":0,"264b":0,"264c":0,"264d":0,"264e":0,"264f":0,"1f194":0,"269b":0,"267e":{"e":0,"s":{"fe0f":0}},"1f251":0,"1f4f4":0,"1f4f3":0,"1f236":0,"1f21a":0,"1f238":0,"1f23a":0,"1f237":0,"1f19a":0,"1f4ae":0,"1f250":0,"1f234":0,"1f235":0,"1f239":0,"1f232":0,"1f170":0,"1f171":0,"1f18e":0,"1f191":0,"1f17e":0,"1f198":0,"274c":0,"2b55":0,"1f6d1":0,"26d4":0,"1f4db":0,"1f6ab":0,"1f4af":0,"1f4a2":0,"1f6b7":0,"1f6af":0,"1f6b3":0,"1f6b1":0,"1f51e":0,"1f4f5":0,"1f6ad":0,"203c":0,"1f505":0,"1f506":0,"303d":0,"26a0":0,"1f6b8":0,"1f531":0,"269c":0,"1f530":0,"267b":0,"1f22f":0,"1f4b9":0,"274e":0,"1f310":0,"1f4a0":0,"24c2":0,"1f300":0,"1f4a4":0,"1f3e7":0,"1f6be":0,"267f":0,"1f17f":0,"1f233":0,"1f202":0,"1f6c2":0,"1f6c3":0,"1f6c4":0,"1f6c5":0,"1f6b9":0,"1f6ba":0,"1f6bc":0,"1f6bb":0,"1f6ae":0,"1f3a6":0,"1f4f6":0,"1f201":0,"1f523":0,"1f524":0,"1f521":0,"1f520":0,"1f196":0,"1f197":0,"1f199":0,"1f192":0,"1f195":0,"1f193":0,"0030":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0031":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0032":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0033":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0034":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0035":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0036":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0037":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0038":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0039":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"1f51f":0,"1f522":0,"0023":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"002a":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"23cf":0,"25b6":0,"23f8":0,"23ef":0,"23f9":0,"23fa":0,"23ed":0,"23ee":0,"23e9":0,"23ea":0,"23eb":0,"23ec":0,"25c0":0,"1f53c":0,"1f53d":0,"27a1":0,"2b05":0,"2b06":0,"2b07":0,"21aa":0,"21a9":0,"1f500":0,"1f501":0,"1f502":0,"1f504":0,"1f503":0,"1f3b5":0,"1f3b6":0,"1f4b2":0,"1f4b1":0,"00a9":0,"00ae":0,"27b0":0,"27bf":0,"1f51a":0,"1f519":0,"1f51b":0,"1f51d":0,"1f51c":0,"1f518":0,"26aa":0,"26ab":0,"1f534":0,"1f535":0,"1f53a":0,"1f53b":0,"1f538":0,"1f539":0,"1f536":0,"1f537":0,"1f533":0,"1f532":0,"25aa":0,"25ab":0,"25fe":0,"25fd":0,"25fc":0,"25fb":0,"2b1b":0,"2b1c":0,"1f508":0,"1f507":0,"1f509":0,"1f50a":0,"1f514":0,"1f515":0,"1f4e3":0,"1f4e2":0,"1f5e8":0,"1f441":{"e":1,"s":{"fe0f":{"e":0,"s":{"200d":{"e":0,"s":{"1f5e8":{"e":0,"s":{"fe0f":0}}}}}}}},"1f4ac":0,"1f4ad":0,"1f5ef":0,"1f0cf":0,"1f3b4":0,"1f004":0,"1f550":0,"1f551":0,"1f552":0,"1f553":0,"1f554":0,"1f555":0,"1f556":0,"1f557":0,"1f558":0,"1f559":0,"1f55a":0,"1f55b":0,"1f55c":0,"1f55d":0,"1f55e":0,"1f55f":0,"1f560":0,"1f561":0,"1f562":0,"1f563":0,"1f564":0,"1f565":0,"1f566":0,"1f567":0,"26bd":0,"1f3c0":0,"1f3c8":0,"26be":0,"1f94e":0,"1f3be":0,"1f3d0":0,"1f3c9":0,"1f3b1":0,"1f3d3":0,"1f3f8":0,"1f945":0,"1f3d2":0,"1f3d1":0,"1f3cf":0,"1f94d":0,"26f3":0,"1f94f":0,"1f3f9":0,"1f3a3":0,"1f94a":0,"1f94b":0,"1f3bd":0,"1f6f9":0,"26f8":0,"1f94c":0,"1f6f7":0,"1f3bf":0,"26f7":0,"1f3c2":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f3cb":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}}}},"1f93c":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f938":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"26f9":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}}}},"1f93a":0,"1f93e":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3cc":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}}}},"1f3c7":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9d8":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3c4":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ca":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f93d":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f6a3":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d7":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f6b5":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f6b4":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3c6":0,"1f947":0,"1f948":0,"1f949":0,"1f3c5":0,"1f396":0,"1f3f5":0,"1f397":0,"1f3ab":0,"1f39f":0,"1f3aa":0,"1f939":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ad":0,"1f3a8":0,"1f3ac":0,"1f3a4":0,"1f3a7":0,"1f3bc":0,"1f3b9":0,"1f941":0,"1f3b7":0,"1f3ba":0,"1f3b8":0,"1f3bb":0,"1f3b2":0,"1f3af":0,"1f3b3":0,"1f3ae":0,"1f3b0":0,"231a":0,"1f4f1":0,"1f4f2":0,"1f4bb":0,"1f5a5":0,"1f5a8":0,"1f5b1":0,"1f5b2":0,"1f579":0,"265f":{"e":0,"s":{"fe0f":0}},"1f9e9":0,"1f5dc":0,"1f4bd":0,"1f4be":0,"1f4bf":0,"1f4c0":0,"1f4fc":0,"1f4f7":0,"1f4f8":0,"1f4f9":0,"1f3a5":0,"1f4fd":0,"1f39e":0,"1f4de":0,"260e":0,"1f4df":0,"1f4e0":0,"1f4fa":0,"1f4fb":0,"1f399":0,"1f39a":0,"1f39b":0,"23f1":0,"23f2":0,"23f0":0,"1f570":0,"231b":0,"23f3":0,"1f4e1":0,"1f9ed":0,"1f50b":0,"1f50c":0,"1f9f2":0,"1f4a1":0,"1f526":0,"1f56f":0,"1f9ef":0,"1f5d1":0,"1f6e2":0,"1f4b8":0,"1f4b5":0,"1f4b4":0,"1f4b6":0,"1f4b7":0,"1f4b0":0,"1f4b3":0,"1f48e":0,"1f9ff":0,"1f9f1":0,"1f9f0":0,"1f527":0,"1f528":0,"1f6e0":0,"26cf":0,"1f529":0,"26d3":0,"1f52b":0,"1f4a3":0,"1f52a":0,"1f5e1":0,"1f6e1":0,"1f6ac":0,"26b0":0,"26b1":0,"1f3fa":0,"1f52e":0,"1f4ff":0,"1f488":0,"1f9ea":0,"1f9eb":0,"1f9ec":0,"1f9ee":0,"1f52d":0,"1f52c":0,"1f573":0,"1f48a":0,"1f489":0,"1f321":0,"1f6bd":0,"1f6b0":0,"1f6bf":0,"1f6c1":0,"1f6c0":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9f9":0,"1f9fa":0,"1f9fb":0,"1f9fc":0,"1f9fd":0,"1f9f4":0,"1f9f5":0,"1f9f6":0,"1f6ce":0,"1f511":0,"1f5dd":0,"1f6aa":0,"1f6cb":0,"1f6cf":0,"1f6cc":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9f8":0,"1f5bc":0,"1f6cd":0,"1f6d2":0,"1f381":0,"1f388":0,"1f38f":0,"1f380":0,"1f38a":0,"1f389":0,"1f38e":0,"1f3ee":0,"1f390":0,"1f9e7":0,"1f4e9":0,"1f4e8":0,"1f4e7":0,"1f48c":0,"1f4e5":0,"1f4e4":0,"1f4e6":0,"1f3f7":0,"1f4ea":0,"1f4eb":0,"1f4ec":0,"1f4ed":0,"1f4ee":0,"1f4ef":0,"1f4dc":0,"1f4c3":0,"1f4c4":0,"1f9fe":0,"1f4d1":0,"1f4ca":0,"1f4c8":0,"1f4c9":0,"1f5d2":0,"1f5d3":0,"1f4c6":0,"1f4c5":0,"1f4c7":0,"1f5c3":0,"1f5f3":0,"1f5c4":0,"1f4cb":0,"1f4c1":0,"1f4c2":0,"1f5c2":0,"1f5de":0,"1f4f0":0,"1f4d3":0,"1f4d4":0,"1f4d2":0,"1f4d5":0,"1f4d7":0,"1f4d8":0,"1f4d9":0,"1f4da":0,"1f4d6":0,"1f516":0,"1f517":0,"1f4ce":0,"1f587":0,"1f4d0":0,"1f4cf":0,"1f9f7":0,"1f4cc":0,"1f4cd":0,"1f58a":0,"1f58b":0,"1f58c":0,"1f58d":0,"1f4dd":0,"270f":0,"1f50d":0,"1f50e":0,"1f50f":0,"1f510":0,"1f436":0,"1f431":0,"1f42d":0,"1f439":0,"1f430":0,"1f98a":0,"1f99d":0,"1f43b":0,"1f43c":0,"1f998":0,"1f9a1":0,"1f428":0,"1f42f":0,"1f981":0,"1f42e":0,"1f437":0,"1f43d":0,"1f438":0,"1f435":0,"1f648":0,"1f649":0,"1f64a":0,"1f412":0,"1f414":0,"1f427":0,"1f426":0,"1f424":0,"1f423":0,"1f425":0,"1f986":0,"1f9a2":0,"1f985":0,"1f989":0,"1f99c":0,"1f99a":0,"1f987":0,"1f43a":0,"1f417":0,"1f434":0,"1f984":0,"1f41d":0,"1f41b":0,"1f98b":0,"1f40c":0,"1f41a":0,"1f41e":0,"1f41c":0,"1f997":0,"1f577":0,"1f578":0,"1f982":0,"1f99f":0,"1f9a0":0,"1f422":0,"1f40d":0,"1f98e":0,"1f996":0,"1f995":0,"1f419":0,"1f991":0,"1f990":0,"1f980":0,"1f99e":0,"1f421":0,"1f420":0,"1f41f":0,"1f42c":0,"1f433":0,"1f40b":0,"1f988":0,"1f40a":0,"1f405":0,"1f406":0,"1f993":0,"1f98d":0,"1f418":0,"1f98f":0,"1f99b":0,"1f42a":0,"1f42b":0,"1f992":0,"1f999":0,"1f403":0,"1f402":0,"1f404":0,"1f40e":0,"1f416":0,"1f40f":0,"1f411":0,"1f410":0,"1f98c":0,"1f415":0,"1f429":0,"1f408":0,"1f413":0,"1f983":0,"1f54a":0,"1f407":0,"1f401":0,"1f400":0,"1f43f":0,"1f994":0,"1f43e":0,"1f409":0,"1f432":0,"1f335":0,"1f384":0,"1f332":0,"1f333":0,"1f334":0,"1f331":0,"1f33f":0,"1f340":0,"1f38d":0,"1f38b":0,"1f343":0,"1f342":0,"1f341":0,"1f344":0,"1f33e":0,"1f490":0,"1f337":0,"1f339":0,"1f940":0,"1f33a":0,"1f338":0,"1f33c":0,"1f33b":0,"1f31e":0,"1f31d":0,"1f31b":0,"1f31c":0,"1f31a":0,"1f315":0,"1f316":0,"1f317":0,"1f318":0,"1f311":0,"1f312":0,"1f313":0,"1f314":0,"1f319":0,"1f30e":0,"1f30d":0,"1f30f":0,"1f4ab":0,"2b50":0,"1f31f":0,"26a1":0,"1f4a5":0,"1f525":0,"1f32a":0,"1f308":0,"1f324":0,"26c5":0,"1f325":0,"1f326":0,"1f327":0,"26c8":0,"1f329":0,"1f328":0,"26c4":0,"1f32c":0,"1f4a8":0,"1f4a7":0,"1f4a6":0,"1f30a":0,"1f32b":0,"1f34f":0,"1f34e":0,"1f350":0,"1f34a":0,"1f34b":0,"1f34c":0,"1f349":0,"1f347":0,"1f353":0,"1f348":0,"1f352":0,"1f351":0,"1f96d":0,"1f34d":0,"1f965":0,"1f95d":0,"1f345":0,"1f346":0,"1f951":0,"1f966":0,"1f96c":0,"1f952":0,"1f336":0,"1f33d":0,"1f955":0,"1f954":0,"1f360":0,"1f950":0,"1f35e":0,"1f956":0,"1f968":0,"1f96f":0,"1f9c0":0,"1f95a":0,"1f373":0,"1f95e":0,"1f953":0,"1f969":0,"1f357":0,"1f356":0,"1f32d":0,"1f354":0,"1f35f":0,"1f355":0,"1f96a":0,"1f959":0,"1f32e":0,"1f32f":0,"1f957":0,"1f958":0,"1f96b":0,"1f35d":0,"1f35c":0,"1f372":0,"1f35b":0,"1f363":0,"1f371":0,"1f364":0,"1f359":0,"1f35a":0,"1f358":0,"1f365":0,"1f960":0,"1f362":0,"1f361":0,"1f367":0,"1f368":0,"1f366":0,"1f967":0,"1f370":0,"1f382":0,"1f96e":0,"1f9c1":0,"1f36e":0,"1f36d":0,"1f36c":0,"1f36b":0,"1f37f":0,"1f9c2":0,"1f369":0,"1f95f":0,"1f36a":0,"1f330":0,"1f95c":0,"1f36f":0,"1f95b":0,"1f37c":0,"1f375":0,"1f964":0,"1f376":0,"1f37a":0,"1f37b":0,"1f942":0,"1f377":0,"1f943":0,"1f378":0,"1f379":0,"1f37e":0,"1f944":0,"1f374":0,"1f37d":0,"1f963":0,"1f961":0,"1f962":0,"1f600":0,"1f603":0,"1f604":0,"1f601":0,"1f606":0,"1f605":0,"1f602":0,"1f923":0,"263a":0,"1f60a":0,"1f607":0,"1f642":0,"1f643":0,"1f609":0,"1f60c":0,"1f60d":0,"1f618":0,"1f970":0,"1f617":0,"1f619":0,"1f61a":0,"1f60b":0,"1f61b":0,"1f61d":0,"1f61c":0,"1f92a":0,"1f928":0,"1f9d0":0,"1f913":0,"1f60e":0,"1f929":0,"1f973":0,"1f60f":0,"1f612":0,"1f61e":0,"1f614":0,"1f61f":0,"1f615":0,"1f641":0,"1f623":0,"1f616":0,"1f62b":0,"1f629":0,"1f622":0,"1f62d":0,"1f624":0,"1f620":0,"1f621":0,"1f92c":0,"1f92f":0,"1f633":0,"1f631":0,"1f628":0,"1f630":0,"1f975":0,"1f976":0,"1f97a":0,"1f625":0,"1f613":0,"1f917":0,"1f914":0,"1f92d":0,"1f92b":0,"1f925":0,"1f636":0,"1f610":0,"1f611":0,"1f62c":0,"1f644":0,"1f62f":0,"1f626":0,"1f627":0,"1f62e":0,"1f632":0,"1f634":0,"1f924":0,"1f62a":0,"1f635":0,"1f910":0,"1f974":0,"1f922":0,"1f92e":0,"1f927":0,"1f637":0,"1f912":0,"1f915":0,"1f911":0,"1f920":0,"1f608":0,"1f47f":0,"1f479":0,"1f47a":0,"1f921":0,"1f4a9":0,"1f47b":0,"1f480":0,"1f47d":0,"1f47e":0,"1f916":0,"1f383":0,"1f63a":0,"1f638":0,"1f639":0,"1f63b":0,"1f63c":0,"1f63d":0,"1f640":0,"1f63f":0,"1f63e":0,"1f932":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f450":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f64c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44f":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91d":0,"1f44d":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44e":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44a":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"270a":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91b":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91e":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"270c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91f":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f918":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f448":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f449":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f446":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f447":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"261d":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"270b":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91a":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f590":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f596":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44b":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f919":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f4aa":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9b5":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9b6":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f595":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"270d":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f64f":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f48d":0,"1f484":0,"1f48b":0,"1f444":0,"1f445":0,"1f442":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f443":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f463":0,"1f440":0,"1f9e0":0,"1f9b4":0,"1f9b7":0,"1f5e3":0,"1f464":0,"1f465":0,"1f476":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f467":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9d2":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f466":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f469":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"2764":{"e":1,"s":{"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"1f468":0,"1f469":0,"1f48b":{"e":1,"s":{"200d":{"e":1,"s":{"1f468":0,"1f469":0}}}}}}}}}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0,"1f469":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f9d1":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f468":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"2764":{"e":1,"s":{"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"1f468":0,"1f48b":{"e":0,"s":{"200d":{"e":0,"s":{"1f468":0}}}}}}}}}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0,"1f469":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f468":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f471":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d4":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f475":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9d3":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f474":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f472":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f473":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d5":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f46e":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f477":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f482":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f575":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}}}},"1f470":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f935":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f478":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f934":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f936":{"e":1,"s":{"1f3fb":0,"1f3fd":0,"1f3fc":0,"1f3fe":0,"1f3ff":0}},"1f385":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9b8":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9b9":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d9":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9dd":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9db":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9df":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9de":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9dc":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9da":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f47c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f930":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f931":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f647":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f481":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f645":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f646":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f64b":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f926":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f937":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f64e":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f64d":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f487":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f486":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d6":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f485":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f933":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f483":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f57a":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3ff":0,"1f3fe":0}},"1f46f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f574":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f6b6":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3c3":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f46b":0,"1f46d":0,"1f46c":0,"1f491":0,"1f48f":0,"1f46a":0,"1f9e5":0,"1f45a":0,"1f455":0,"1f456":0,"1f454":0,"1f457":0,"1f459":0,"1f458":0,"1f97c":0,"1f460":0,"1f461":0,"1f462":0,"1f45e":0,"1f45f":0,"1f97e":0,"1f97f":0,"1f9e6":0,"1f9e4":0,"1f9e3":0,"1f3a9":0,"1f9e2":0,"1f452":0,"1f393":0,"26d1":0,"1f451":0,"1f45d":0,"1f45b":0,"1f45c":0,"1f4bc":0,"1f392":0,"1f453":0,"1f576":0,"1f97d":0,"1f302":0,"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f1ff":{"e":1,"s":{"1f1e6":0,"1f1f2":0,"1f1fc":0}},"1f1fe":{"e":1,"s":{"1f1f9":0,"1f1ea":0}},"1f1fd":{"e":1,"s":{"1f1f0":0}},"1f1fc":{"e":1,"s":{"1f1f8":0,"1f1eb":0}},"1f1fb":{"e":1,"s":{"1f1ec":0,"1f1e8":0,"1f1ee":0,"1f1fa":0,"1f1e6":0,"1f1ea":0,"1f1f3":0}},"1f1fa":{"e":1,"s":{"1f1ec":0,"1f1e6":0,"1f1f8":0,"1f1fe":0,"1f1ff":0,"1f1f2":0,"1f1f3":0}},"1f1f9":{"e":1,"s":{"1f1e9":0,"1f1eb":0,"1f1fc":0,"1f1ef":0,"1f1ff":0,"1f1ed":0,"1f1f1":0,"1f1ec":0,"1f1f0":0,"1f1f4":0,"1f1f9":0,"1f1f3":0,"1f1f7":0,"1f1f2":0,"1f1e8":0,"1f1fb":0,"1f1e6":0}},"1f1f8":{"e":1,"s":{"1f1fb":0,"1f1f2":0,"1f1f9":0,"1f1e6":0,"1f1f3":0,"1f1e8":0,"1f1f1":0,"1f1ec":0,"1f1fd":0,"1f1f0":0,"1f1ee":0,"1f1e7":0,"1f1f4":0,"1f1f8":0,"1f1ed":0,"1f1e9":0,"1f1f7":0,"1f1ff":0,"1f1ea":0,"1f1fe":0,"1f1ef":0}},"1f1f7":{"e":1,"s":{"1f1ea":0,"1f1f4":0,"1f1fa":0,"1f1fc":0,"1f1f8":0}},"1f1f6":{"e":1,"s":{"1f1e6":0}},"1f1f5":{"e":1,"s":{"1f1eb":0,"1f1f0":0,"1f1fc":0,"1f1f8":0,"1f1e6":0,"1f1ec":0,"1f1fe":0,"1f1ea":0,"1f1ed":0,"1f1f3":0,"1f1f1":0,"1f1f9":0,"1f1f7":0,"1f1f2":0}},"1f1f4":{"e":1,"s":{"1f1f2":0}},"1f1f3":{"e":1,"s":{"1f1e6":0,"1f1f7":0,"1f1f5":0,"1f1f1":0,"1f1e8":0,"1f1ff":0,"1f1ee":0,"1f1ea":0,"1f1ec":0,"1f1fa":0,"1f1eb":0,"1f1f4":0}},"1f1f2":{"e":1,"s":{"1f1f4":0,"1f1f0":0,"1f1ec":0,"1f1fc":0,"1f1fe":0,"1f1fb":0,"1f1f1":0,"1f1f9":0,"1f1ed":0,"1f1f6":0,"1f1f7":0,"1f1fa":0,"1f1fd":0,"1f1e9":0,"1f1e8":0,"1f1f3":0,"1f1ea":0,"1f1f8":0,"1f1e6":0,"1f1ff":0,"1f1f2":0,"1f1f5":0,"1f1eb":0}},"1f1f1":{"e":1,"s":{"1f1e6":0,"1f1fb":0,"1f1e7":0,"1f1f8":0,"1f1f7":0,"1f1fe":0,"1f1ee":0,"1f1f9":0,"1f1fa":0,"1f1f0":0,"1f1e8":0}},"1f1f0":{"e":1,"s":{"1f1ed":0,"1f1fe":0,"1f1f2":0,"1f1ff":0,"1f1ea":0,"1f1ee":0,"1f1fc":0,"1f1ec":0,"1f1f5":0,"1f1f7":0,"1f1f3":0}},"1f1ef":{"e":1,"s":{"1f1f2":0,"1f1f5":0,"1f1ea":0,"1f1f4":0}},"1f1ee":{"e":1,"s":{"1f1f4":0,"1f1e8":0,"1f1f8":0,"1f1f3":0,"1f1e9":0,"1f1f7":0,"1f1f6":0,"1f1ea":0,"1f1f2":0,"1f1f1":0,"1f1f9":0}},"1f1ed":{"e":1,"s":{"1f1f7":0,"1f1f9":0,"1f1f3":0,"1f1f0":0,"1f1fa":0,"1f1f2":0}},"1f1ec":{"e":1,"s":{"1f1f6":0,"1f1eb":0,"1f1e6":0,"1f1f2":0,"1f1ea":0,"1f1ed":0,"1f1ee":0,"1f1f7":0,"1f1f1":0,"1f1e9":0,"1f1f5":0,"1f1fa":0,"1f1f9":0,"1f1ec":0,"1f1f3":0,"1f1fc":0,"1f1fe":0,"1f1f8":0,"1f1e7":0}},"1f1eb":{"e":1,"s":{"1f1f0":0,"1f1f4":0,"1f1ef":0,"1f1ee":0,"1f1f7":0,"1f1f2":0}},"1f1ea":{"e":1,"s":{"1f1e8":0,"1f1ec":0,"1f1f7":0,"1f1ea":0,"1f1f9":0,"1f1fa":0,"1f1f8":0,"1f1ed":0,"1f1e6":0}},"1f1e9":{"e":1,"s":{"1f1ff":0,"1f1f0":0,"1f1ef":0,"1f1f2":0,"1f1f4":0,"1f1ea":0,"1f1ec":0}},"1f1e8":{"e":1,"s":{"1f1f2":0,"1f1e6":0,"1f1fb":0,"1f1eb":0,"1f1f1":0,"1f1f3":0,"1f1fd":0,"1f1e8":0,"1f1f4":0,"1f1ec":0,"1f1e9":0,"1f1f0":0,"1f1f7":0,"1f1ee":0,"1f1fa":0,"1f1fc":0,"1f1fe":0,"1f1ff":0,"1f1ed":0,"1f1f5":0}},"1f1e7":{"e":1,"s":{"1f1f8":0,"1f1ed":0,"1f1e9":0,"1f1e7":0,"1f1fe":0,"1f1ea":0,"1f1ff":0,"1f1ef":0,"1f1f2":0,"1f1f9":0,"1f1f4":0,"1f1e6":0,"1f1fc":0,"1f1f7":0,"1f1f3":0,"1f1ec":0,"1f1eb":0,"1f1ee":0,"1f1f6":0,"1f1f1":0,"1f1fb":0}},"1f1e6":{"e":1,"s":{"1f1eb":0,"1f1fd":0,"1f1f1":0,"1f1f8":0,"1f1e9":0,"1f1f4":0,"1f1ee":0,"1f1f6":0,"1f1ec":0,"1f1f7":0,"1f1f2":0,"1f1fc":0,"1f1fa":0,"1f1f9":0,"1f1ff":0,"1f1ea":0,"1f1e8":0}},"1f697":0,"1f695":0,"1f699":0,"1f68c":0,"1f68e":0,"1f3ce":0,"1f693":0,"1f691":0,"1f692":0,"1f690":0,"1f69a":0,"1f69b":0,"1f69c":0,"1f6f4":0,"1f6b2":0,"1f6f5":0,"1f3cd":0,"1f6a8":0,"1f694":0,"1f68d":0,"1f698":0,"1f696":0,"1f6a1":0,"1f6a0":0,"1f69f":0,"1f683":0,"1f68b":0,"1f69e":0,"1f69d":0,"1f684":0,"1f685":0,"1f688":0,"1f682":0,"1f686":0,"1f687":0,"1f68a":0,"1f689":0,"1f6eb":0,"1f6ec":0,"1f6e9":0,"1f4ba":0,"1f9f3":0,"1f6f0":0,"1f680":0,"1f6f8":0,"1f681":0,"1f6f6":0,"26f5":0,"1f6a4":0,"1f6e5":0,"1f6f3":0,"26f4":0,"1f6a2":0,"26fd":0,"1f6a7":0,"1f6a6":0,"1f6a5":0,"1f68f":0,"1f5fa":0,"1f5ff":0,"1f5fd":0,"1f5fc":0,"1f3f0":0,"1f3ef":0,"1f3df":0,"1f3a1":0,"1f3a2":0,"1f3a0":0,"26f2":0,"26f1":0,"1f3d6":0,"1f3dd":0,"1f3dc":0,"1f30b":0,"26f0":0,"1f3d4":0,"1f5fb":0,"1f3d5":0,"26fa":0,"1f3e0":0,"1f3e1":0,"1f3d8":0,"1f3da":0,"1f3d7":0,"1f3ed":0,"1f3e2":0,"1f3ec":0,"1f3e3":0,"1f3e4":0,"1f3e5":0,"1f3e6":0,"1f3e8":0,"1f3ea":0,"1f3eb":0,"1f3e9":0,"1f492":0,"1f3db":0,"26ea":0,"1f54c":0,"1f54d":0,"1f54b":0,"26e9":0,"1f6e4":0,"1f6e3":0,"1f5fe":0,"1f391":0,"1f3de":0,"1f305":0,"1f304":0,"1f320":0,"1f387":0,"1f386":0,"1f9e8":0,"1f307":0,"1f306":0,"1f3d9":0,"1f303":0,"1f30c":0,"1f309":0,"1f512":0,"1f513":0,"1f301":0,"1f3f3":{"e":1,"s":{"fe0f":{"e":0,"s":{"200d":{"e":0,"s":{"1f308":0}}}}}},"1f3f4":{"e":1,"s":{"200d":{"e":0,"s":{"2620":{"e":0,"s":{"fe0f":0}}}},"e0067":{"e":1,"s":{"e0062":{"e":1,"s":{"e0065":{"e":0,"s":{"e006e":{"e":0,"s":{"e0067":{"e":0,"s":{"e007f":0}}}}}},"e0073":{"e":0,"s":{"e0063":{"e":0,"s":{"e0074":{"e":0,"s":{"e007f":0}}}}}},"e0077":{"e":0,"s":{"e006c":{"e":0,"s":{"e0073":{"e":0,"s":{"e007f":0}}}}}}}}}}}},"1f3c1":0,"1f6a9":0,"1f38c":0,"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}')},xS=8;function RS(e,n,t=32){if(n||(n=""),!e)return"";const i=Array.from(e);for(let o=0;o<i.length;o+=1){let a=kS;const r=[];let s=[];for(let l=o;l<Math.min(o+xS,i.length);l+=1){const c=i[l].codePointAt(0);let u=c?c.toString(16):"";for(;u.length<4;)u=`0${u}`;if(a.s.hasOwnProperty(u))if(s.push(u),(a.s[u]===0||a.s[u].e===1)&&(r.push(...s),s=[]),a.s[u]!==0&&a.s[u].hasOwnProperty("s"))a=a.s[u];else break;else break}if(r.length>0){let l;r.length>1?l=i.splice(o,r.length,"").join(""):l=i[o],i[o]=`<img src="${n}${r.filter(c=>c!=="fe0f"&&c!=="200d").join("-")}.png" alt="${l}" class="emoji" style="width:${t}px;height:${t}px;">`}}return i.join("")}class nu{constructor(n){_(this,"question");_(this,"id");_(this,"message");_(this,"messageType");_(this,"time");_(this,"isLocal");_(this,"isNew");_(this,"senderName");_(this,"file");_(this,"index");_(this,"viewType");_(this,"icon");_(this,"isAutomated");_(this,"renderNew");_(this,"sent",!1);_(this,"errorType",nn.NoError);_(this,"emojiconUrl","");_(this,"preventSound",!1);_(this,"preventBubbleIndication",!1);_(this,"preventBlinkingTitle",!1);_(this,"preventTabNotification",!1);Object.assign(this,n)}viewMessage(){return RS(this.message,this.emojiconUrl)}}function Go(e,n,t,i,o,a,r,s,l,c,u,f,d,p,h,b=!0){const y=new nu;return y.id=e,y.isLocal=i,y.sent=o,y.icon=a,y.senderName=r,y.time=s,y.message=b?MS(l):l,y.question=c,y.renderNew=f,y.isAutomated=d,y.emojiconUrl=h,y.viewType=n,y.file=u,y.messageType=t,y.isNew=p,y}function Za(e,n,t,i,o=!0,a=!0){return Go(-1,_i.Text,n,!1,!0,t,"",new Date,e,void 0,void 0,a,!0,o,i)}function _m(e,n,t,i,o,a,r=!1,s=new Date){return Go(-1,_i.Text,un.Normal,!0,r,t,n,s,e,void 0,void 0,i,!1,o,a)}function NS(e,n,t,i,o,a,r,s){return Go(e,_i.Text,un.Normal,!1,!0,i,t,a,n,void 0,void 0,o,!1,s,r)}function Em(e,n,t,i,o=new Date){return Go(-1,_i.File,un.Normal,!0,!1,t,n,o,"",void 0,e,!0,!1,i,"")}function LS(e,n,t,i,o,a,r,s){return Go(e,_i.Text,un.Normal,!1,!0,i,t,a,"",void 0,n,o,!1,s,r)}function PS(e){return Go(-1,_i.Options,un.Normal,!1,!0,"","",new Date,"",e,void 0,!0,!0,!0,"")}class hi{constructor(n){_(this,"alias");_(this,"isEnable",!0);_(this,"text");_(this,"propertyToSubmit");_(this,"submitMethod");_(this,"validate");_(this,"sanitize");_(this,"onAnswer");_(this,"options");_(this,"showOptionsBorders",!0);_(this,"showSelectedLabel",!1);_(this,"showHoveredLabel",!1);_(this,"isCustomField",!1);_(this,"htmlAnswer",!1);_(this,"preventSound",!1);_(this,"preventBubbleIndication",!1);_(this,"preventTabNotification",!1);_(this,"type");_(this,"answer");Object.assign(this,n)}setAnswer(n){this.sanitize!==void 0?this.answer=this.sanitize(n.toString()):this.answer=n}getAnswer(){return this.answer}}class iu{constructor(n){_(this,"config");_(this,"currentIndex",-1);_(this,"questions");_(this,"submitOnCompletion");_(this,"submitMethod");_(this,"submitted",!1);_(this,"closeOnSubmission");Object.assign(this,n)}validateCurrent(n){let t="";return this.currentIndex>=0&&this.questions[this.currentIndex].validate!==void 0&&(t=this.questions[this.currentIndex].validate(n)),t}current(){if(this.currentIndex>=0)return this.questions[this.currentIndex]}next(){var t,i,o,a;let n=-1;if(((t=this.current())==null?void 0:t.getAnswer())!==void 0&&(((i=this.current())==null?void 0:i.type)===Ft.MultipleChoice||((o=this.current())==null?void 0:o.type)===Ft.SingleChoice)){const r=(a=this.current())==null?void 0:a.options.find(s=>{var l;return s.value===((l=this.current())==null?void 0:l.getAnswer())});r!==void 0&&(r.nextQuestionAlias!=="FINISH"?n=this.questions.findIndex(s=>s.alias===r.nextQuestionAlias):n=this.questions.length)}if(this.currentIndex>=0&&this.questions[this.currentIndex].submitMethod!==void 0&&this.questions[this.currentIndex].submitMethod(),n<0){let r=!1;for(;!r&&(this.currentIndex+=1,!(this.currentIndex>this.questions.length-1));)this.questions[this.currentIndex].isEnable&&(r=!0);if(r)return this.questions[this.currentIndex]}else if(n<this.questions.length)return this.currentIndex=n,this.questions[n];this.submitMethod!==void 0&&this.submitMethod().subscribe(()=>{this.submitted=!0})}getQuestionByAlias(n){let t;const i=this.questions.findIndex(o=>o.alias===n);return i>=0&&(t=this.questions[i]),t}addSubmissionCallback(n,t=""){if(t!==""){const i=this.questions.findIndex(o=>o.alias===t);i>=0&&(this.questions[i].submitMethod=n)}else this.submitMethod=n}getData(){const n={};return this.questions.forEach(t=>{t.propertyToSubmit!==void 0&&(n[t.propertyToSubmit]=t.getAnswer())}),n}buildFlow(n,t){this.questions=[],this.submitOnCompletion=n,this.config=t}}class Sm extends iu{constructor(t){super(t);_(this,"NAME_ALIAS","NAME");_(this,"EMAIL_ALIAS","EMAIL");_(this,"DEPARTMENT_ALIAS","DEPARTMENT");Object.assign(this,t),this.closeOnSubmission=!1}buildFlow(t,i){super.buildFlow(t,i);const{t:o}=an.global;this.questions.push(new hi({alias:this.NAME_ALIAS,type:Ft.Text,propertyToSubmit:"name",text:kt("AuthFormNameMessage",[o("Auth.AuthNameMessage").toString()]),isEnable:i.authenticationType===vt.Both||i.authenticationType===vt.Name,sanitize:a=>a.replace(/([^\u0000-\u007F]|[^\w\d-_\s])/g,""),validate:a=>{let r="";return _f(a)||(r=o("Auth.MaxCharactersReached").toString()),r}})),this.questions.push(new hi({alias:this.EMAIL_ALIAS,type:Ft.Text,propertyToSubmit:"email",text:kt("AuthFormEmailMessage",[o("Auth.AuthEmailMessage").toString()]),isEnable:i.authenticationType===vt.Both||i.authenticationType===vt.Email,validate:a=>{let r="";return As(a)?Ef(a)||(r=o("Auth.MaxCharactersReached").toString()):r=o("Auth.OfflineEnterValidEmail").toString(),r}})),this.questions.push(new hi({alias:this.DEPARTMENT_ALIAS,type:Ft.SingleChoice,options:[],propertyToSubmit:"department",text:o("Auth.DepartmentMessage").toString(),isEnable:!1}))}getData(){const t={};return this.questions.forEach(i=>{i.propertyToSubmit!==void 0&&(t[i.propertyToSubmit]=i.getAnswer())}),t}}const DS="data:audio/mpeg;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjUxLjEwMQAAAAAAAAAAAAAA//OEAAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAABsAAApQAAJCw0QEhQXGRseICInKSwuMDM1Nzo8PkFFSEpMT1FTVlhaXV9hZmhrbW9ydHZ5e32AhIaJi42QkpSXmZueoKWnqayusLO1t7q8vsPFyMrMz9HT1tja3d/k5ujr7e/y9Pb5+/0AAAAATGF2YzU4LjEwAAAAAAAAAAAAAAAAJAJAAAAAAAAAKUBtWwo7AAAAAAAAAAAAAAAAAAAA//NEZAAAAAGkAAAAAAAAA0gAAAAABinWAdZt1Jl//5sI5oz/S/Exg1UTNaDYRzWl3pNDgpOZJojw4bdubm45+bm49hgs/cmvLZC0yBazARDM0hEZpmLituoQYz//qEkU//NEZEsAAAGkAAAAAAAAA0gAAAAAeqEjGTsLk7eddv/zrVGL8Mgxt+0e/zgQMeFzRk7H81M9yWFGKZOkEc+WIwTJ5YUFBIxdRkgKGJ0wujHwfCFXy9jDdRZM3P3bIAcA//NEZJYDyADWagAjAARocVlgAFIBMIIgkjyZDV+6yeC0veDU4H0vWnBLgSYnfm/GGHIsd/7IY1EqDsWSn/Tw5QDcNA2BgRG/6H0BGgA4DYF4E8FoDs/++nw5AcwEIHII//NEZLEKzQr2AKMkAIRYXbihSwgBwOggwGYFx//2/4SMuBV0zf458WeKADP0EN4Lq+0/+s+Td+i2121VC2iqgVCAWgAAB9ThoerKSCQhUoIgkUZlolshjRmasXGHfs3r//NEZJQLKSssFMm0AASwblQBhxAAoe9DDOPGmsVBWIVtzJ5I2fkFH1RTxXFs+QMDRx9jALJuaS5EF8zTz/9iQgHn/UmLLAggAAxAAPUAJt0nLZW3FOOCOl83MhoLTodi//NEZHMLBSl9L8GoAA8hQqG5g2gA1abzBLK1o7PWm7NqRnUOm9TCNkMuF4tGgEhARx9vwv78jVqHRBAYQCPlRJ5seQiwsJPlSuUrFXAsz2Pthiq1tA4MW+RghqPd9NST//NEZCkK8QdhiOfMAIOoBrR5wBAAosyRqy/VpKU7rI8pDKgdjjuLpij9v7akn90nr6RHFFH/WXW0UUW9BAfIXOk+eyAgAFA/t0YNP//5UGgaAyp4h1Wq65AWAAQ0+aZx//NEZA0HXM+Pfz2HNQTITogAMx5FtxuC2D0CaGmh6H3sOAHDV9u1Pl+PCOn9FPPerr3vV5n8NP/////6io762/IpMsQIIOeTJhZwsWMVAuJmgnBgBwXbTVqbRSxwVBvO//NEZAoG3LmRLBsKMwUAVoxAGnBFGlGybFeQ8DSrFsy/LeOp+Y5GWHR4OgQOanN//Kv1NoyOu+cpMaJZNnFHOnskYEAhfsbULEQiE2ikxSQenrTHcRd6AgIAIwDOJtHZ//NEZAoF8K9pGgntMgUQVnAACzIpH1pKA6mPoOhHXhT7EUey//ooEH//6zwMbI7f/pVl0jH3SHK//owCvYrFNEuJy8LDx4DrJ4QtkwsSybtUAXIR8AA2bW6Obi4MElPF//NEZBEFTOt9KygCwQUAWmQADjZhHIQ0b/ecwrgdzv/9WFkb/zK2v/0/+CQX8tvlQQil8QIDgHJEAG8AoipxtSnIKgLYZzzslAAyaJjhgC4w5cYTGeUCX/9QPb2//qIB//NEZB0FVO1/HwAnEwVIXmAAFrJl5en/p/mr/9jP/QmS/Ma59Rhyz8VXEe44Rg2OjzI2Gym/SjIfhguCia3AAd7vO9B8UvKtwKvjwTv/+DBn/zh23T//p//pe3/BkEfJ//NEZCgFIOuFLxwCoQWAXmQAC/ZFEc+obQoLYiwJgyXCCCxTMcNi7TmU+IwDwgIxBnAAP7rai6yaARhhML03RxZXMxpfQB3//9CArCX9LwvY/0fDAYd6dPZBcCnXSCgK//NEZDQFaINpH0QHgAVwYlwAFvJkbTwhjypyDfAwR2sbXBvGAnpnZMA+R9ps1xYAApDlibgFdhiF4v/NwaS3Uaa/QIujR+zzXxUb9xVVr0krfgv+cFIi0moIhWCj1ncs//NEZD4FRFl3LgTKFQWgYlwAAHYhn7y1EpIBOqAwB9hbyWofwhsowwG3Ba5gat/+HSb9Geen8wf2kwRdJGAL//6iIU3oXzUdkjRSWRgakAEIQKCSiHCGHK2SA0QAgweG//NEZEgFcItrHgZKMwWIXlgADjhEwAH9t2ol4EgEVFkUV4kvGocavBiBf//8KJMordv/6xh93iU0Q6cs7fb1uy/SPpwaKGTMWC3YQ00aZubqAsIFIs6AB+p0VMusmAYR//NEZFEFeIVrLzQCgAVgYlwADvJIKOmWcLd5H//oq///nXX3//1Xb/icWBMVXwYBF2fNCNlQvAKnMw3TJwdtC1g0dzNjOgPEApp5bIAAyzdNaqiRCblGVocEd2EeEiTf//NEZFoFZO1xGzQH0QUYXmAADjZgbohsg3uyoacq/YGHFnUdk/1T6etv0nX/mCFF/ajWFarKn1C4Aa1fA5edkcLkN1y365USAADYSTAHXOKeckvfxBOa5HgqHTUCwygD//NEZGUG4O11LwGiHQVAXmAAAHYhgPCYMJKqblKzEeCLOH/9Exwe/3dkUqjcoKgOiGMMnqu3/u/0v6qecl/zhkOkw8OCWoDAlAOkjamBv8gZUYOIxSgkcjUCAAC6S+Vt//NEZGQJlO1PHgtqOAQAVmwAAHRBs/tJUfVuyOoXDIxmkYxLCJCaWZMGwDL0vc/pgoM7mSKeTcAQcyCX4/b/lZBEnklJ/x9/bra2IligHwAiWarGug67jqL7lnZqernl//NEZFIM3QVDFAerHIPoWnQAAHYl8f8rXRnB///e948gPx3H5r/hqmpLXFdmlUTB4cvTKoeaZFrAxQMAABDC0IZS2OWsL9FC1WHEhg1aK7HA5BM6WOQVFs+2m5IR2se+//NEZCYKTQVNLQNqHAPIVmwAAvRFqUU09iqEhn6OdN6n0BZAfckUdPNap3mcxDzz80xi+3Msz/1IRDGliD/NJHLttZcsCYDQkWdxCECuWIw1AJZAMn/31oACZeqrN4WW//NEZA8HaOt7fwHqGwUYWlwAAPgloozBz5Nb/D9v+Rgq9+pySoeCu30df9Y6JQiiqlT3oec+6/U59Xt/zf+5KcUmUQLHGxjAOMYygRAaAyqHVY2aZqoIAyMQ/wphyjKt//NEZAoGyINQuQdCOATAVlgAALYlxusgk+kDnjwWGcshGQv8ss9XRjz8v1wwt//r9wgED4C/y9JHoj/BEHwT6ltzOUVSuUFAM3W5B0a96tAkXNaBKgNEAD/xLMAB/ZMB//NEZAsHHO9fLwZCPASIWlwAAHQloF8cgDnBGh8P+SxzD+9AYjPrerWuVR3H/7KlvqEM+7//+/uz/41f6SoBw3SYIUaGVeMJVns7g6e8gWUIxN3pKgPIEr9rvqABbUvi//NEZAsHBOt5LwFlHQUQWlgAAXYlVAfFc4in78WfioD8V9apSYPf/v9IsBB6Kpr6vrIsphSiWOdH+5jpv9ECJh316qYLmHpKoQIfIRgTDxUsDAxs0+DVA0YJVlcrwC0r//NEZAkGMINrLgEtFQToYlQAAXQkhrtQgCBXCOxRG9eFe24tn6vpZONv/u/7CehdJLfjnCMOqAZLzPiYSvrOUGsv8iqf/yNdFvBwYMgOlZtYqgMwAA4OqVQB+ggaPVd9//NEZA4HLOlZPgclOIQ4WmAAAHRBDLqSAl62GvUmey+lHz2wwFzD/I9pEVZf1ItqfiYEB3MVP/7oU3v/83/iuEmVeUJpm4/hzdrg6PLev/LFqgOgABpjcoA/JHUpt1nh//NEZA4HUOdZLgsqNgTQXlgAAHYgAu6vb6BVBa5tDP/80ON92u6KPCT82lE/QYHzld3W79H5922rVP9H/5OATnjNarVa0AjoEZRlAoyfIqlbP35v8gOkAC61KoZ2bvM8//NEZAsGwINXLQMHGgUQXlQAAPQlOzjzguJWWwzJes3hotRzvhQHP/qiD4T6f9vnOIgLlTf1uRDxFfERvxADDiODiHsRdZh+UhXCccLDwcmZ5G8FqgIgADpi2YAB+1aB//NEZAsG4IVVLwtQNAUoXlAABLgo9XWiA2c8G091m4eiB6eeUhb0urroOkZHH/VZX+dIsaPY/9LL3+P+EAgZ5Wx6mWUCyLwE9MORERge4BBAHDqL8t0DVgp7eXSgAOum//NEZAoG4OtxLwGlHQUgXlAAAHYhinSJES8skVSWE45mNz/6OgwAg6v2OQr0/GgGIrZ/t+iIyNJLr/S3+5jD2N1rRalNYyf1DI2yOCHaHR04ZWzmXZlVAqQBVgdjgAH7//NEZAkGlOlnLzQHoQUwXkwABvAsKXqWYDvAuSGgTSnwpz1iscn+9dRme/6hcTFmu6vQ/2N872Np/r/5jlTHnW93reqGgcMQARv9UAnRNcK4E4PVW0oDAgAaYrWgALbr//NEZAoG4O9ZLwKFHAVAXlAAAHYhUdGsCSgcRmQAW888NBR0Bs+V+j0CCv/PX+xRQu//8ysjL0f+s6m/qRiiYv8WJ/qyqZgIgBzA+EIDXQLdixYxai0LAjQAUcciwCgC//NEZAkGVI9fLgAtEwR4WkwAAHQlJz4yQJeKxuHw2VhTcZiTf37Ly8l/t/uZEmXjMzPMZPTWxxwONa7/0jjNsJrsmViPwaJySXAXgl0Xho5qA9QKe321wAH5xKUKGmUG//NEZA8HgO9xLynisQT4WlQAAPYlYGT4lFnqBDzhS/+r0Uib61qUN/9fKSQbyiZpDi0y/3skvn/rZ6t/UoQKDM/ozoNnuQGOABjdsDhSViheRBbiT6sDVgq61W2AAUjZ//NEZAoGzOlpLwHiHYUYXlAAFvBlgz1tBTw+Frq9Z/wHVP+VYj0fH/lcqHHAW/5L/Ux+1u/Tp+iLf8gZH/1CICH/2QEMazDScpp8eAmGNmIQ26VX8FkDeEJ/Z3SgAZvh//NEZAoGoOttLwHqFwUAYkgAAPYknQ5X0Yy+BxJTi9uAj2DRuedmmOsYCEa3anf8jK+v9e6bt9u3fv/ShxCY6JKgCkrawXPNsqQE/xQUUkm3Dyu6DQB/boAB/iIxb1BI//NEZAwG4OlWywcnNwTAXkwABvBIjlcXTMXn7+1Xc/oKAN/pzkA0t/b/5I1UnJ/++qtdtf6qcn9JAiIg5poDCK+VLNQaQgRiWoYeBTYJ8JgkN/MDogAS4zGgAXZy7+eH//NEZA0HOIVTLwMKGgT4YkwAAPQkbEjIuIt0SaDn3crqBu/6UCN/+ceUEkc3+7UX6KLBPEi7/Ew5ZoNf+GgZDHW6HCQDvRdoAa/ErjQjBoyYw+E7TYoDRAJ257SgAITR//NEZAoGrO1pLwGiHQUYWkgAALYlbJqWPgURpKkOFqbOidP/3YE4yfqmV/oIE3lOdc+yIhUrM1Ssv//+hlGr8xnCOImXoGQkxrfMdAV2CI9QzcewlgLoSnZptaAB9YvM//NEZAsGzOtpLwHnGwTYWkgAAHYlzVfFtA10rtucP8j51+KQk/2tsQ/9UX5RxY6M++x/7nOc/e3+qt/xxGIDPZZgYaZ/UvjZKwFNTQRAGhxG/vQaAtIAX3e+4AF7oIJo//NEZAwHCO1XLwJlHAT4XkwAAHYlEDAxTDtlwdYyKeJ6fQJH16uqsDAv+lSp9GDgtmbt/VXUr+tPlf/9Q8UU9gVqhjpIbS8NVjA5oYmIgQHDUMU+C1UDgJ61WyAAIqZI//NEZAoGYO1g3wICKwSwXkgAAPZAxGsDSIkw+0dQey9yOKN/5gbgwFT/rlJ+gQz5UtR9/uh29P9SG2/0cKcNWlLxDgGYfvmRAMDCAuQlSKppAtgLm3e1wAH9UKKTIOhq//NEZA8HnOtnLymlSwTYYkQAAPQkNxZGkpKnAE1VTCGSbd70EESeOU8bd5nd2Fm/mTE0JT5PVyDemnpa5v/DYue7V8oOCdwcuIH4Sti9gXXCRln8qs6VA1YCu3u+wAE1//NEZAkGpO9rLwFlHQS4XkQABvJIulkoCOCr9i/4o34jiJNzH5IiNM/qWtWL9TBhx2qP+nqwsQntb8z/5UMRXHvjqvMPGOBBjO8YkEOOYZ5XJhT8AsYCe1e0wAFBA6pG//NEZAwHJOtjLwGlHQUAXkQAAXYlahygUwhSI66gUR/YRDd+1WgpDJ/3X5SCiY0l3e6nZqMxz+x2P/X/6KYSPN611cKU2MaQxNflQc4uUQmqBjDqfIkqA8Le2l9wAH+a//NEZAkGbK1m3wHnKQSwXkQABvBIQz8JE4bbomvIOWJvYmCX21NNZlCxpf9dv6CWOjnX/9soaCh63t9RsHndf7qU7sF5zUrszkDToBFQ47vzmdUDRAt693agAQrQrSUB//NEZA0HBOljLwENFYUAXkQAAPYloDXKMzLHqBPl5OHW3+gidHsXH+zKQSV/LC+2q//vdV/Sb+yKKaP84tIjBF+ilmnRFQQzTkBx84KVBEFuLaxGKgJBjhkkAAps5oQc//NEZAsGnOtUzwIiKwSIWkAAAPZBBWh4zQfydTUsQhP5TGG//wbjP/XYv4J+Ey097N29EX9UO5r/oiCEM+ZTAh2IHQ0OJPhaYUmVQwtc+lCJEC2ON4AjOoFkXgEZQyhm//NEZA8HdOlMfgKKKQTAYkAAAbhAImgaOcD+JYUIBRbU61zTPntZjS7Z6oQAhqPR6a5lK6K37s/s356f+VRCoLdNSIlbYB0FmCoGWfcAcDkvb+9f5QLGA3rr9sAA61KW//NEZAsG8OdjLwGlHYSYXkAAAPQkkibDChayC6KXBLm+obf+hbnP+1KfoFB1QAYxyER2RCxD6kb9f7K9fsQaOZCeVWEy6BUVj3bg0k1BH4ui9dy2A1gT333+4AE8ex6A//NEZAwGrIVpLwFnHQTwXjwAALYkC4FT+QB9/ACl+KgQ3Vf7MY5gWIf9Jq/HCBV0iuelTUkmr3XdQdAID7EpXA5Q6YWBDX/YyACYOKjaXDWK+VUC2AjR4933AA/1IUNO//NEZA0HUO9nPymFkQSgXkAAAPYkGIGgME0SizVALn7gq9dlovOyUGNarrd2YzG9IuFIlW/+7730Rl+un/sUhh7+n4GrUsBIymR24KLYaGAlizzWcgBYW995/+ABim9T//NEZAsG6OtnLwHiKwUYWjAADvBJrJe3W4yot8jc3+VKEZpnkfSrhWV/7bp8gUvUr2392zOvVf90I/9UDDgBzfqf86texI4QlEdscB0esxXoPOu2VVIAOQSygAfu5XmF//NEZAoGlINAPwNKKAUIYjgAAXYkgzPY0D4wh3abT3qpZucz5DRv+uLIUhen92+iKPWrN7m7kmUE+gOehoP/TeyBcogMUBDR7YIIHLHA5JKHKO92AEYLovm2wABikikY//NEZAwHBOtdLwGlKwRwWjQABvBIibA4ClIq2sB4NiaDHNP/aKju/Opyu34kAoZ/fqra5n1/8jV/RVKQUHi5/qRWs00piSMpmuCDkGDyrpfT9UUARhKbZ3bAAdOYfHQG//NEZA0G9OtbLwFiL4TgWjAACLRBxGsPo/IeAH+uOu/+udqUGg/2/73q9F+pQ7Pdm/r0dKLolE9ks/+hBAYoU/m8cLTw4nWfBKVwVqCMcX5bnocqAGQT22v+oABgZnFq//NEZAwG2OdfLwGnK4SwXjAAAHYkH8NK4xCE9wSB8KMFON21b7CoiSSv/X46C4SEWaTZq2pZ/L+7W9fRv6k3WzMBzDZSAKFfogBImBRkeHXkr9oASAKWV7agAY3FjMot//NEZA0HIOlVLwHnK4TgYiwACPRAwmCC0vfPqKub9Ii0TY/9ES5Qu3/Rm+cCpe804+/1O7TPan3U05lT9I1LClp/h0hVLGlAT+2Q8iv4lWwMzLOtugIATZkmAHWM1GYz//NEZAsHBOlEzgKCL4ToXjAAALYkgGHTCABfGWGAYVhyrZgOFv/pkYbdDr6fKACjvBZ0QztdDVof/e/oY39TlOEH0gnCTcACoCaNRgIva4XBHhd27HIAVhuDeb/AAXi1//NEZAoGpOtdLwHqJYSYYjQABuBIrZIlHF4Tw4TMgAIcygb//nlyDtu9zL/qLJz0dv6619u9OuZJnbzzceD9oOsu00pTeMWlg4mfUEgKY4SSNXoARgKC13agAKTNUzQb//NEZA0G7OtRLwICL4ToYigACPQkYjUe2JVFdIB2vJsQcz3/ugT60dumiP+oGXlnt/bnMdvbv3Cun1SEAxBSL/2VBVJF1uHxJB1xe44iUyerG90BCQXXertSbaIYPYsS//NEZA0G5OU4PANFKoUgXigAAbYluiCx+WZUJgxj5894XYncN//jBUPPtt6N+PBmM5Tbm/y1ORHyr/cn/nGV+bKsCj8EIdzGMkuPMBUMKAB+53qtA8CQtu2gAFaTGwlo//NEZAwHHOtQ3wGlLwToYiQAFrBkXsXnJhtrAoKGobW/81MBNU1r9/LvVUCJjh46oTvclnNtrrZE0syvdPqVQ4LK/7loA0cVUyOM+KSzkCtwytDWt8UDgCix/+AAa+5n//NEZAoG9IU83wMiKgUoWhwACbYlMN3MK148GNU9P26WWvd6z5Hmtj//zqA3b/snxYCLFOErizJB+KCxfxUEfKB4e/tcm8DsQGhwNLyhQGf8cGWINcsiVQJAjbki0lqM//NEZAgGeOlAzAJiKwUAXhgADvBIRjgEYIsgRxI50MsmuZCPlf+YGR0366zeDCiwEDZis//rRLNp27XIpa/uzBX/FcxuTMBCAHM93SyL/jCRpVNfwQGA/Ckm+fyXuIEO//NEZAsHEI0+zAMNJwUAYhwAFrBkRgtunGK3qAuj2I8F4lUP60GYuFJ63//soaCTdNi6aCCXNOnywmSIi3UGEakiF/0OCF78UYOeBaNj3kBEEi3RqVclCETfrussHRqB//NEZAkGnIUqGEdtRAUQWhwALHZhPjHWFwdcgyhjwPCoxDBlBC2beI9QZDz/9nHaaJ7//6x/HiShpJL//cZ8gxr/pZAs4NcJYZ5gsDLnGEAeBITL4yoFl/WFbGjiqYR9//NEZAoGhIcoCAdNKAUYYhwAALQktROSTwMQVAT9gNGxg05jl62GACda3+50rV+//qUTiRLqATGf9/Sip2RK7nCmoospqeOyTdVxmFHApYyqdnsaCOetfMQGgwZbUCRw//NEZAwGlOksGANqKARoYiAAAHZA18cEhIOlFuqr1oGXQnAXnf9UKuQvt//ONIAIW1VfuiJ///efv69iUfHzcQQbMqpRI3cgdERYJidi/ypfhFXpaZ9WBBYJmg5CZWAq//NEZBAHUIsiAAeKKgSgXiAAAHYk3wuMiqCE+opERIZqRx96F1X/5/8pNR6Mv9+YhGEsBwWUI3E27Zb+q3oifCAQZVEUtjNIYMPoQMBqjby280BJLBcpvY3ei78JFnFL//NEZA4HOIsmaQdnKATIWhgACLRBolBsQGQQWBW5yxsoEFXfueTCRX/Wxt1O2+39yAwWEk0wfDjg5VrVUn/Y1in8lPHnIfUEPrMFtDXxwCiM8FsbVQAH+OWQABe5c9UL//NEZAwFuIU1HwdNNAUgXhQAlzCARiXIz6uyOBbF80A6DrkgIn/1VpG7/+r8yYvEZj/b2/3/qf9FVZwjRfBKRiPjgJfQKGSCfuTX1SgB/W8lzsT0CusXFOhOwV6qxkBK//NEZBQHhIUitAdnKgSgWhQACDQFXyZVKWeCIpWdhaaNDW+7830PdANCdMvvv+lBAwiBpfhmxb1P+Y+Aiz+Z3p6BUwj5JA1UzQlKJ0uDWLJAw3o6NSW5RHV8CMLmRKeY//NEZBAHRIciVAuHKgTIXhwAC/ZEhCKpC3g0G13wl/hATF/b7Ek4797vv95guP1fT/0KCIC8axx5zt+Y//llP83el5EWBsMduAMGOWutOB/KPCowAw23UsMJjTKQSBjS//NEZA0G7IUipAuHOAUgWhAAE/ZhUOASeXaQiJ1WU006DRaqzPGhVWyz//nvS2r/1+qBOOFAigxwgqrWn/xdb/oaFFMpfgCU3vlBUCzokG4GcLGDX4y3SRt3GJmBBB5f//NEZAwG4IcgAAdnKASoXhgACPRAQbUDFxwaDGCASckregDEEp/EoAK3veppricrlU7f+KBoIyjAcRy/u//HHn+WOIl8OInnq9hGddilKRbh2Nob9TZTcEPCrMSiEC+U//NEZA0G7IUeAAuHKAT4WhAADjhFwIFWFKKM4Uk/EqMUiWL09wFBOQ/5rlRJJ461f19RUEwPA2Hrf/9RZ/XDL/h5cm482EkUFpwCQE9Ld3/bWfnqLz3hVDCZOxUaBj0l//NEZAwHJIkcAAtqOATIWgwAFvBlwpZigUdcCC6RsGcEllllJ2CE1p3mf3995iqW/XtoQCwAcJwnHm08//8jrcoKP/SUeieZUJwZqUbKbMUC5GRUJWoU9ryEAeAGRhQK//NEZAoHCIccABeFOAUYWggACPZBGa6gIwQwcLhtRhdETlZh8Ss1s8zUzv9//1ZRAEyDvovtuBwwDGDQ7o6cd5jkpd/q7hIm6AjCTSvkUAXEEQYp9x5QtRv5gJQKUu0I//NEZAgGPIUeAAtiOATQWggACPZBgM1vPARTDxKJq6Ydu6ZMJL8vcxXla5v+7oyqpEo3+/qUYGP7YtfOf3/a/4VgmVP6iEaVXAoalpIGMRcntSoM+okuFuUQ+xAAhJ32//NEZA0HAIUYABdiKgTAVggAEPQlKcyAoaAYMASGorceE1MpXrrsytW/3WVruh6ixawRf7+6qgWMf7Lrv9HOmR/yyoHpH/R4PHmDTDT0fw4Y8UYM+oxsZqrWU7IQoFsg//NEZA0HNIcYABeIKgToYgwACPZAZDBigYiJQcB1mvmwkycMEm/+CFhsuc/6+WQShwF54H8pdcPXHPAuKsSc/JTb/NwG2MGJOjOCDiV2CEZZJCqK1yod9isgwGsNnFgE//NEZAoG4IcWABdlOAUYXfwAEPYk7tVEpgWCzAUZD5IqNv4LPywmd6St9OZZ/8axShRzKg/Kqye7RAOB0Dih/xaYH/w7RNuDkzjhjoaZ0gAYXqorFqY1DPpkUAIm1gLg//NEZAkGeJ8WABdqNgUYXfwAFt5l5v26BldpCo10q7dzzMgRevMQRg6Stf9ki495Qv2dU/QoJY1LvZDP1JYeoH+u6Acw7ZfQ1mgCDB9ykLkWBVzLKkIDPqNZgGePPCIw//NEZAsGpIcWCBdnOAUQXfgAFvBkIyT4MjAoZIRN9V6z6jhkoOxz8YJVxY/n/RTTjjHoX536JQ8kG1LsP8tJD/gncBaZgJBCY7pgIxlRIyGmbWO1L8HcCEHkL3lACdaS//NEZAwHGI8SAAtqNgUYWfAAFvBlC14peMk6eyqFWDygleS9TioAqJhr/3QgCaPCM8qJ2d5ZTq5ogxwfjr1JZR5U30sAjknoQlkcgOjU+tQc8vFfdJUq+k3hVrR9ohKD//NEZAkGkJ8UAAOFHASoWfgAAPYkTElHMQgtgAUA6AN+6SWGARETAjPum3w5vvHVNCQEDjxo/L476IHwmZP/QWw8drMPWVAIxXwMSAHDLzKaRS3Vu1LEzff2FMtMLBjs//NEZAwHLJ8OAANnHATQXfgAAPQkvANIk1TBiIBBaWsBSAxQpFjHHGStYpL+v+rDg8CY0OUfTf/uVMAJHgfj5v/jscwxAV6LJEnN2j3l1guDU0dKZtIAG9B2xwl8MNLC//NEZAoGwJ8SAAttKAUQXfwADvBIgAbD3GWBSfYhHEPnQk8MGClj838SSCclBv6aaToI7FD//WO4uGR9vnfMv5cb80+9sU8QVvMsgQUPuoMFZ7E7F+orfYBAmAqVwhAG//NEZAoGMK8QAAtnNgUgWewAFjZhmi/5nQC15v1pNeoV8GTD6zM/AgAsjVvsc2flA78r/PJiKM///5biYz/cwDAcnZEZjONgDLzkvI0lrs0P/OlqYS1v3UAwGfVJhn+g//NEZA8HpI8IAANtGgSgWeQAALYlAFA0ChK0XcUOM7DiIQnacSYE7Z/9RmdHuPZ4+DA/k38xRJYHWWmRU6Bo7Lv/EuZYqQRdIg5NWFpRY6HIvY4UNy35uz3Clgpo5UBj//NEZAoGiJ8MAANnGgSIVfSAAHQkMfQDDzpjIWx+QULxmAEaXOHEB4Tf+hhpwiDTFQx//NIg4Ggb0HDW1PoNQCQCTxUMcY2YrelbKFkQi+GdqvltHX5Kn9doEBpxO+YU//NEZA4HJJ8IAANnGgSwVgEgAHIlEq+ICMOFnKss9C5QrRfsiENEiH9B85xeIrKFBZ+Z/EABJMUNQiJTajaUF4gJgBaKHLF0jOmcqdY1AuKW3hP8oPpZdKJe/Ca501uR//NEZA0HGIkIAANnHISoVeAAA/YpZ6oEKB4HXnL2sGIJo8CWqtVoMD353/qI2JJ9QUPZG4gGflBsEQ2PJ5YvYvPVos9fxGckhvMITRjN1Y04G4MK/WXa03TNxKoUMEx4//NEZAwHCKEIAAOHHAToWeAAALYlxGBFziAdIQsUi7PgEOn55feBQSRc//qa0TC6ogDcqQ4mZviONAeI/6i7QR3qWFCVYCLASANMDErWBUlVE586E/n5ZfykT8PMiSc6//NEZAsG8J8EAANtGgRgXegAAzIo0mwAQ0DmJkQCVGBQK8IqYpASrMaASMy//WgyxoEXKxtbkVvmJLHT3+gXGOHJ6/c6+pGR7PCW7eAwEWHiNrHclncZucctkAjBJlCs//NEZA0HAJ8EAAOSGASoWegAALYlmNwagkBpNBQ9V+3gxwA8BSSqiXRSRbR/+USiaTcTJzhEX9v0UW/zhOzhE4J3R6SJr4MViggQdsYEkaopRqr+oDOIjcOlljduAFfy//NEZA0GyOcCAAtqNgRgXe0AAHIkZhgSOg2pjAzVAKFsRywESIAkf/8KpZARkDoc////oTORFG/////yAWGEEAGLeGTsmv2PYyMZGgCVXsrOV3MLUdWwsOYACRqeWGPg//NEZBAHNOT8AAONGgSIVe0gAHIksiuX9BQmXZI48p8oBd/I2BqHm3/1F1jgYQpP////rCpN1f///1BmjMNJgBQBByu0jpmhimvSSp1aczh6uutUn+Wpaz4sAsw3CTJA//NEZA8HMOb8AAOTGARwXeDAAzQqJjRCFBoBNejAyACKgo5zIhhDhb3/+pcoDkhvDf///+sTa/////1WJoix8RGO659bJQ0CkgSHYsZgWlzn6qg0EJJtSpYgsEzgsmfM//NEZA4HEKDwAANyGgSoXcgAAzIoRE3evQkJAuGrArrBAUZ8AFBd3McoAUDyf/zI+4lQQiCsnv///+s4RY2hrReWEWXOV4NAf2UWT6s7cI9OT1WAljRN/n+gFZQ6AwsE//NEZA0G3GTqAAOUGAUAXdZAAnIoDRPEMHCBCWIQAIgEQgZTME0AHHBgacISUoiFRcKH/qcg5QEHBrADqhIuA4AIAEyWCFCsmUGwJe+9SrN0PLQwD7OUNlhD7JDA4PaW//NEZA0G3GTeoAuZJARgWbGAAHQlZZ050AMgIHQgx6gNcWlcM5CxpatXq1qGd///////jSmDTBsNCdYAjcy+HAYGeC27FQATBbVDvV4uraJV3cm6eMt2Q5hwgYQSmmM5//NEZA8GcGTWAAN5FgUIYa5AAZ4kxEqW4QSAEU1C29L2rdh7v8ypef/////O2duyIizbwO1gIKdbMCwAQAM5kUJkcz+CHACZ/DYFFebaMT2hVnBZFATRgqBwMKDOrCNk//NEZBIGADiuYAeaFgTQWaJgAF5ArI3fhD//qOdmoELzCNDhkkvX2lMulNa4Dhr4LC4jAHyoAAJgjiuhIS+iao0dws4aL6oBaQLOriSHQPs0R+QxTfVA1KQQO8hfo0NM//NEZBkFMD50wDMPGAVgXNjgAlgJOhXQBWEMKwk1OJQq5hliT6JgCSqRsMhZJt396kSg5B0QB3QHhZJMQU1FMy4xMDCqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",FS=Ve({props:{config:{type:Object,default:()=>{}}},setup(e){const n=ue(zt),t=Z(null),i=Z(!e.config.allowSoundNotifications),o=Z(!1),a=Ot(),r=()=>{n.onEnableNotification.subscribe(()=>{o.value=!0})},s=()=>{a.add(n.onToggleSoundNotification.subscribe({next:f=>{i.value=!f}}))},l=()=>{a.add(n.onAttendChat.subscribe({next:()=>l1.stopBlink()}))},c=()=>{a.add(n.onUnattendedMessage.subscribe({next:f=>{o.value&&!f.preventTabNotification&&!f.preventBlinkingTitle&&l1.startBlink()}}))},u=()=>{a.add(n.onSoundNotification.pipe(Cn(()=>!i.value&&o.value),Ly(100),Ci(()=>{t.value&&(t.value.pause(),t.value.currentTime=0)}),we(()=>Dt(t.value.play()).pipe(fn(f=>tn)))).subscribe())};return Mt(()=>{r(),s(),l(),c()}),Xn(()=>{t.value&&(e.config.soundnotificationUrl!==void 0&&e.config.soundnotificationUrl!==""?t.value.src=e.config.soundnotificationUrl:t.value.src=DS,u())}),vo(()=>{t.value&&t.value.remove()}),{lcAudio:t}}}),BS={ref:"lcAudio"};function qS(e,n,t,i,o,a){return k(),B("div",null,[H("audio",BS,null,512)])}const US=je(FS,[["render",qS]]);class $S extends iu{constructor(t){super(t);_(this,"MESSAGE_ALIAS","MESSAGE");_(this,"NAME_ALIAS","NAME");_(this,"EMAIL_ALIAS","EMAIL");_(this,"PHONE_ALIAS","PHONE");Object.assign(this,t)}buildFlow(t,i){const{t:o}=an.global;super.buildFlow(t,i),this.questions.push(new hi({alias:this.MESSAGE_ALIAS,type:Ft.Text,propertyToSubmit:"OfflineMessage",preventSound:!0,preventTabNotification:!0,text:kt("OfflineFormTitle",[this.config.unavailableMessage,o("Inputs.UnavailableMessage").toString()]),validate:a=>{let r="";return ao(a,500)||(r=kt("OfflineFormMaximumCharactersReached",[this.config.offlineFormMaximumCharactersReached,o("Auth.MaxCharactersReached").toString()])),r}})),this.questions.push(new hi({alias:this.NAME_ALIAS,type:Ft.Text,propertyToSubmit:"Name",text:kt("OfflineFormNameMessage",[this.config.offlineNameMessage,o("Offline.OfflineNameMessage").toString()]),validate:a=>{let r="";return _f(a)?ao(a)||(r=kt("OfflineFormMaximumCharactersReached",[this.config.offlineFormMaximumCharactersReached,o("Auth.MaxCharactersReached").toString()])):r=kt("OfflineFormInvalidName",[this.config.offlineFormInvalidName,o("Auth.EnterValidName").toString()]),r}})),this.questions.push(new hi({alias:this.EMAIL_ALIAS,type:Ft.Text,propertyToSubmit:"Email",text:kt("OfflineFormEmailMessage",[this.config.offlineEmailMessage,o("Offline.OfflineEmailMessage").toString()]),validate:a=>{let r="";return Ef(a)?As(a)||(r=kt("OfflineFormInvalidEmail",[this.config.offlineFormInvalidEmail,o("Auth.OfflineEnterValidEmail").toString()])):r=kt("OfflineFormMaximumCharactersReached",[this.config.offlineFormMaximumCharactersReached,o("Auth.MaxCharactersReached").toString()]),r}}))}getData(){return super.getData()}}class co{constructor(n){_(this,"value");_(this,"text");_(this,"description");_(this,"nextQuestionAlias");_(this,"getAnswerText",()=>this.text);Object.assign(this,n)}}class jS extends iu{constructor(n){super(n),Object.assign(this,n)}buildFlow(n,t){super.buildFlow(n,t);const{t:i}=an.global,o=[new co({value:"0",description:i("Rate.VeryBad").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm0-136c-31.2 0-60.6 13.8-80.6 37.8-5.7 6.8-4.8 16.9 2 22.5s16.9 4.8 22.5-2c27.9-33.4 84.2-33.4 112.1 0 5.3 6.4 15.4 8 22.5 2 6.8-5.7 7.7-15.8 2-22.5-19.9-24-49.3-37.8-80.5-37.8zm-48-96c0-2.9-.9-5.6-1.7-8.2.6.1 1.1.2 1.7.2 6.9 0 13.2-4.5 15.3-11.4 2.6-8.5-2.2-17.4-10.7-19.9l-80-24c-8.4-2.5-17.4 2.3-19.9 10.7-2.6 8.5 2.2 17.4 10.7 19.9l31 9.3c-6.3 5.8-10.5 14.1-10.5 23.4 0 17.7 14.3 32 32 32s32.1-14.3 32.1-32zm171.4-63.3l-80 24c-8.5 2.5-13.3 11.5-10.7 19.9 2.1 6.9 8.4 11.4 15.3 11.4.6 0 1.1-.2 1.7-.2-.7 2.7-1.7 5.3-1.7 8.2 0 17.7 14.3 32 32 32s32-14.3 32-32c0-9.3-4.1-17.5-10.5-23.4l31-9.3c8.5-2.5 13.3-11.5 10.7-19.9-2.4-8.5-11.4-13.2-19.8-10.7z"/></svg></div>'}),new co({value:"1",description:i("Rate.Bad").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm0-152c-44.4 0-86.2 19.6-114.8 53.8-5.7 6.8-4.8 16.9 2 22.5 6.8 5.7 16.9 4.8 22.5-2 22.4-26.8 55.3-42.2 90.2-42.2s67.8 15.4 90.2 42.2c5.3 6.4 15.4 8 22.5 2 6.8-5.7 7.7-15.8 2-22.5C334.2 339.6 292.4 320 248 320zm-80-80c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"/></svg></div>'}),new co({value:"2",description:i("Rate.Neutral").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm-80-232c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm16 160H152c-8.8 0-16 7.2-16 16s7.2 16 16 16h192c8.8 0 16-7.2 16-16s-7.2-16-16-16z"/></svg></div>'}),new co({value:"3",description:i("Rate.Good").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm90.2-146.2C315.8 352.6 282.9 368 248 368s-67.8-15.4-90.2-42.2c-5.7-6.8-15.8-7.7-22.5-2-6.8 5.7-7.7 15.7-2 22.5C161.7 380.4 203.6 400 248 400s86.3-19.6 114.8-53.8c5.7-6.8 4.8-16.9-2-22.5-6.8-5.6-16.9-4.7-22.6 2.1zM168 240c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"/></svg></div>'}),new co({value:"4",description:i("Rate.VeryGood").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm123.1-151.2C340.9 330.5 296 336 248 336s-92.9-5.5-123.1-15.2c-5.3-1.7-11.1-.5-15.3 3.1-4.2 3.7-6.2 9.2-5.3 14.8 9.2 55 83.2 93.3 143.8 93.3s134.5-38.3 143.8-93.3c.9-5.5-1.1-11.1-5.3-14.8-4.3-3.7-10.2-4.9-15.5-3.1zM248 400c-35 0-77-16.3-98.5-40.3 57.5 10.8 139.6 10.8 197.1 0C325 383.7 283 400 248 400zm-80-160c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"/></svg></div>'})];o.forEach(a=>{a.getAnswerText=()=>`${a.text}<div class='rate_text'>${a.description}</div>`}),this.questions.push(new hi({alias:"RATE",type:Ft.SingleChoice,options:o,propertyToSubmit:"rate",text:kt("RateMessage",[i("Chat.RateRequest").toString()]),showOptionsBorders:!1,showSelectedLabel:!0,showHoveredLabel:!0,htmlAnswer:!0,sanitize:a=>a.replace(/([^\u0000-\u007F]|[^\w\d-_\s])/g,""),validate:a=>{let r="";return Number.isNaN(Number(a))&&(r="Wrong answer"),r}})),this.questions.push(new hi({alias:"FEEDBACK",type:Ft.SingleChoice,options:[new co({text:i("Rate.GiveFeedback").toString(),value:1,description:"Yes",nextQuestionAlias:"COMMENT"}),new co({text:i("Rate.NoFeedback").toString(),value:0,description:"No",nextQuestionAlias:"FINISH"})],text:kt("RateFeedbackRequestMessage",[i("Chat.RateFeedbackRequest").toString()])})),this.questions.push(new hi({alias:"COMMENT",propertyToSubmit:"comment",text:kt("RateCommentsMessage",[i("Chat.RateComment").toString()]),validate:a=>{let r="";return ao(a,500)||(r=i("Auth.MaxCharactersReached").toString()),r}}))}getData(){return super.getData()}}class zS{constructor(n,t,i,o){_(this,"onReset",new Te);_(this,"onError",new Te);_(this,"onError$",this.onError.asObservable().pipe(as(this.onReset)));_(this,"onQuestionAnswered",new Te);_(this,"onQuestionAnswered$",this.onQuestionAnswered.asObservable().pipe(as(this.onReset)));_(this,"onNewQuestion",new Te);_(this,"onNewQuestion$",this.onNewQuestion.asObservable().pipe(as(this.onReset)));_(this,"thinking",new Te);_(this,"thinking$",this.thinking.asObservable());_(this,"chatFlowState");_(this,"emojiconUrl","");_(this,"currentFlow");_(this,"eventBus");_(this,"myChatService");this.config=n,this.chatFlowState=t,this.eventBus=i,this.myChatService=o}getCurrentFlow(){return this.currentFlow&&!this.currentFlow.submitted?this.currentFlow:void 0}think(n,t){this.currentFlow.submitted||setTimeout(()=>{this.thinking.next({key:t,value:n})},500)}answer(n){let t="",i=n.value;const o=this.currentFlow.current();if(o!==void 0&&(o.sanitize!==void 0&&(i=o.sanitize(n.value.toString())),t=this.currentFlow.validateCurrent(i.toString())),this.onQuestionAnswered.next(n.key),t===""){o!==void 0&&o.setAnswer(i);const a=this.currentFlow.next();a!==void 0&&this.onNewQuestion.next(a)}else this.onError.next(t)}start(){const n=this.currentFlow.next();n!==void 0&&this.onNewQuestion.next(n)}reset(){this.setChatFlowState(ri.Chat),this.onReset.next()}setChatFlowState(n){switch(this.chatFlowState=n,n){case ri.OfflineForm:this.currentFlow=new $S;break;case ri.Rate:this.currentFlow=new jS;break;case ri.Auth:this.currentFlow=new Sm;break}}onFlowNewQuestion(n){const t=Za(n.text,un.Normal,this.config.operatorIcon,this.emojiconUrl);t.preventSound=n.preventSound,t.preventBubbleIndication=n.preventBubbleIndication,t.preventTabNotification=n.preventTabNotification,this.eventBus.onShowMessage.next(t),n.type===Ft.SingleChoice||n.type===Ft.MultipleChoice?this.eventBus.onShowMessage.next(PS(n)):this.eventBus.onTriggerFocusInput.next()}onFlowError(n){this.eventBus.onShowMessage.next(Za(n,un.Normal,this.config.operatorIcon,this.emojiconUrl))}onFlowQuestionAnswered(n){n>=0&&(this.myChatService.chatMessages[n].sent=!0)}initFlow(n,t=!1,i=()=>Ke(!0),o=s=>this.onFlowNewQuestion(s),a=s=>this.onFlowQuestionAnswered(s),r=s=>this.onFlowError(s)){this.currentFlow.buildFlow(t,n),this.currentFlow.addSubmissionCallback(i,""),this.onError$.subscribe(s=>r(s)),this.onNewQuestion$.subscribe(s=>o(s)),this.onQuestionAnswered$.subscribe(s=>a(s))}}const VS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAAAAADmVT4XAAAHf0lEQVR42u2cu47rMA6G5/3fSQABkj/AxpUrdypduEjlRtK/hZ255eY4zjm72ENMMUDG1hfeRJHCfETgKfFVZBVbBbsk4uPJ9T8B7JdgJ8HH8s6vF2+V30DPP7+85ANwN98vL4CY+wJgZpcqvSW/TXAGsCfF3cz8rIEdAL+NuQdg1QD+tOp/vOQM8PSLfmvk6bW/APyF17wiXz7wD+AfwD+A/02AH2nwKyvaHwNQVTV3BJbd5Pm0fIQGzsXErn3hdQB3M1NVVd3zhgOccKnq9u6KrwP8+PrP74wvAogsK5uqiojonwZwRNcPOec89H0XWBWBtwGEKcJVYYAkDHmcK1uttTZyHnPfqYgDGqEC6OEAgKkBCEnaDVMplYu0RpKFp9xpEg1XczW8AcDN4Zq0yzPJxjNArevv89h7UnVgkyme9QHzCJPU5VMjWZZ1W62NtZSyaGTOfRJHbIrKZzVggAr6U2H7VP/510aylkKWeQhRmMbxAG6aPM+VbJWsq/Hb2Q0WdZAlRxLDG0zguli/tUaytvrph7WUykKyFpJl7NTfYAJzRSYL2VpbIH544LeYmDqR40wAA1w9Ivn43fnvyalLCDVXv5cPtgK4A+ZIkWe2DevXyjp2YnD1gLwOADNAVXLhJmmVZEYKCMIO0ABU4SL9iVulNZacEO6qeN0JoQoVnMiylaCQc6cC3E3JGwEM6hAMbbXvFgs0so2RLHCAEzoUkO7Exk0+2Lhk6jKIRNyrkp8CGMhSWbc4ANlYCzl24n4vJW8FMI3Uz3xaypC2pKMNecCQhvr0+q2NENgBAID69LwCKuc+qb4O4I7U7bBAI3OSx7vM4zB0SwNZd6hg1A022AAgOu4DOHUSrwM4JOaNu+CvfDD36QANIKR7/usvKhsSjnDClFttOxDYRjkIgH8XQDJ3rX8QgLlk8v8Z4K+b4L/ACf92GGoaCndtRsyHZEJP3bzPCcpBqTj5uGMvOmwzQkjaE4etcvQNp/SHABqahrZrM8qij4/pjwHg0p32AJRezHBAPeDqueyIgsOKUvfUz88boQ1Jww9wQgMEI1ka66bKqBayLk0CPPbCDZnQ4NrPayS2bbVQYckQwHHEZoQQz+1bV/Lx+o1jiANHFKWuCEndvPV43shSWHsROEIPAHC4quV5ezncWEZThwNHlOVwBdQzuWlbLqWSY5cizI8IQwMMcEg3FpYNe0Ir5NQnBQw4IBFpmIVJRIrTFidsJOdeJFQcbkcUJOc+hXTj2pVtV8KxkrU0kq3MQ0obOgNPAmhAu7GcN+YLW8yfWejUiwaOB3AT6UaSrSxJ8UoKrGycetvWrH7WBCIqKYaZZGutXk/BrBlJQuV4ADMHTGRBuFaAVHIee1F3wOVwADcEVC31U2k3/L+eehEDHK6HA4SJSop+mhtbu7UpzdOAJCb6hihwFQxTWUOwXGnPLlDTEKrbB5EPAcIUMI+kXT61x+VxZTvlTlO4AWqv1wMKqIWm6Md57cXfB2jkPPaRNEw3DDAfV0SigSQxnrixVVVJnsaQhC3h+NgEamHST5+zCG7RATn1YmEHlGQanpDn9m0csmF5ss0ZyeMIE6TI5elG4XmCiAMAYjxPAdqm4nwdaDZyjNcBLHVjPQMs1caDgqh9zS3q2KXdAKEIdaRu4ubvfqEHTl2Ca9w5H9wEMIhCpJuWOe3zALVVLlNU3Gta3wFQtRQj9zSqv2WEMZKp7gCARqQYG3d2qD4naGOkiNvzw9s+YFDk9WvU8rQWlkeWKarCnvcBj7RMa9ta6zzfIlrPsiXLnRr1jgmkn9fiq+yzQCFra41zL3tMkGI6J58dDK18u2UxRdpuAjU3NSBp5isR8D0SmDUBpuaX0/RrAG7mnvrTAcuvCKc+rTfYHwMs1a9qTJv33w3b4xSqBvilsa/4gCFULBfWQ1RQycqSTTSupaMLAMAcIt287D+H+EBjmzsR+JUT0xUANZfIa6fjACmFbMwhbroBwGFqsozL9yfhi0slnHuxaxcqLp0QpqbD+eRxTBiSjYOaGh47oYl56g7R/S9LdMlNNgAYdPeU6G7nJItiSxguN0bq0QCVp06wwQfgKkN7hwbaIFduuV0AhEpMxyuArJziyqn5UgMi/cx3OCHnXuSxBkyR+R4NMEMfO6EiNl/be3aMN8blafnjck7Zt3dYgCxsffoxCHE3+7g2qX2HBdYx1mMAw/QOCyyvnGAPAaSbWd8TBZVzJw8BUl9Z3gNQWL+c4LYGMtu7ANo3J7gJgJGs7/GBSo54CNC9yQdXL+xuAhjcEJBuZrnXh2jt+8XmG5/XK3c/W2Ph3InB1GFq5m6mPwA8oH1hZWufC/2W7Q2KX881srH0ioADcAAAvjKhuZsDOlSWLYnoWaD1Gvyg6+LuAPA7FcMtF5Z7DZFHC9dar37camVjzWpuZmYXJljVgFyWBtNeE5z/5vK5xsaal0GWrWekb04Id7gaxrdEwKeMPzwAwBeAOVwtJrLVcjsM2gMh2Wq5PNKUVmptdQpTc9VLE8AcphanWuZ7UtafekNKKeX2s2VySSIpnf97gPwHyADaGwjjz7sAAAAASUVORK5CYII=",HS=Ve({components:{FileIcon:O_,SpinnerThird:R_,Times:P_},filters:{},props:{file:{type:ls,default:()=>{}}},setup(e){const n=(E=0,x=0)=>IS(E,x),t=ue(Ln),i=ue(zt),o=Z(""),a=Z(""),r=Y(()=>!f.value),s=Y(()=>{if(e.file&&e.file.Height)return e.file.Height>e.file.Width?e.file.Height<200?e.file.Height:200:e.file.Height<120?e.file.Height:120}),l=Y(()=>s.value&&`${s.value}px`),c=Y(()=>{if(e.file&&s.value&&e.file.Width){const E=s&&s.value/e.file.Height;return`${e.file.Width*E}px`}}),u=Y(()=>{var E;if(((E=e.file)==null?void 0:E.FileState)===Ei.CF_Available)return a.value?a.value:e.file.FileLink||void 0}),f=Y(()=>OS(e.file.FileName)&&e.file.HasPreview&&!!e.file);let d;const p=Ei,h=Ot(),b=(E=!1)=>{d&&(E||(a.value=e.file&&e.file.FileLink?d.fileEndPoint(e.file.FileLink):""),f.value&&(o.value=e.file&&e.file.FileLink?d.fileEndPoint(`${e.file.FileLink}.preview`):""))},y=E=>e.file&&e.file.FileState===Ei.CF_Available?!0:(E.preventDefault(),!1),g=()=>{i.onScrollToBottom.next()},C=E=>{E&&E.target&&(E.target.src=kf)};return Kt(()=>e.file.HasPreview,(E,x)=>{E&&x!==E&&b(!0)}),Mt(()=>{h.add(t.mySession$.pipe(Cn(E=>E.sessionState===2)).subscribe({next:E=>{d=E,b()}}))}),Xn(()=>{h.add(t.mySession$.pipe(Cn(E=>E.sessionState===2)).subscribe({next:E=>{d=E,b()}}))}),{clientChatFileState:p,ChatFileState:Ei,link:u,showFileIcon:r,previewSource:o,imageLoaded:g,downloadFile:y,updateNotFoundImage:C,height:l,maxHeight:s,width:c,size:n}}}),WS="*{box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{animation-duration:1s;animation-fill-mode:both;animation-name:fadeIn;animation-delay:.5s}.slideLeft{animation:slideLeft 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideLeft{0%{transform:translate(130%)}to{transform:translate(0)}}.slideRight{animation:slideRight 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideRight{0%{transform:translate(-130%)}to{transform:translate(0)}}.slideUp{animation:slideUp 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideUp{0%{transform:translateY(130%)}to{transform:translateY(0)}}.nudge{animation:nudge 1s ease-in}@keyframes nudge{0%{opacity:0}to{opacity:1}}@keyframes fly-in{0%{transform:scale(.85) translateY(10%);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.fly-in{transition:all .5s;animation-duration:.3s;animation-name:fly-in}@keyframes show-with-delay{0%{opacity:0}to{opacity:1}}.show-with-delay{animation-name:show-with-delay;animation-duration:0s;animation-delay:3s;animation-fill-mode:both}.spin{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.root-file .file-download-link{text-decoration:none;color:inherit}.root-file .horizontal_container{display:grid;grid-template-columns:17px auto;grid-column-gap:var(--call-us-element-side-offset-small, 5px);align-items:center}.root-file .horizontal_container .horizontal_content_image{width:17px;align-self:center}.root-file .vertical_container{display:flex;flex-direction:column}.root-file .vertical_container .vertical_content_image{display:flex;flex-direction:column;margin-bottom:3px}.root-file .vertical_container .vertical_content_image img{-o-object-fit:scale-down;object-fit:scale-down;align-self:center;max-width:100%;max-height:200px}.root-file .file-info{min-width:0}.root-file .file-info .file-name{align-self:end;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;text-align:left}.root-file .file-info .file-size{float:left;font-size:calc(var(--call-us-font-size, 14px) - 3px);align-self:end;justify-self:end}",YS={class:R("root-file")},GS={key:0},QS=["href","download"],KS={key:1,class:R(["vertical_content_image"])},ZS=["src"],JS={key:2,class:R(["file-info"])},XS=["title"],eM={class:R(["file-size"])},tM={key:1,class:R(["horizontal_container"])},nM={key:0,class:R([["horizontal_content_image"],["spin"]])},iM={class:R(["file-info"])},oM=["title"],aM={class:R(["file-size"])};function rM(e,n,t,i,o,a){const r=le("FileIcon"),s=le("times");return k(),B("div",YS,[e.file.FileState===e.clientChatFileState.CF_Available?(k(),B("div",GS,[H("a",{ref:"downloadLink",class:R(["file-download-link"]),target:"_blank",href:e.link,download:e.file.FileName,onClick:n[2]||(n[2]=l=>e.downloadFile(l))},[H("div",{class:R([e.showFileIcon?["horizontal_container"]:["vertical_container"]])},[e.showFileIcon?(k(),Se(r,{key:0,class:R(["horizontal_content_image"])})):(k(),B("div",KS,[H("img",{ref:"downloadImage",style:Cr(e.width&&e.height?{width:e.width,height:e.height,maxHeight:e.height}:{}),alt:"download image",src:e.previewSource,onLoad:n[0]||(n[0]=(...l)=>e.imageLoaded&&e.imageLoaded(...l)),onError:n[1]||(n[1]=l=>e.updateNotFoundImage(l))},null,44,ZS)])),e.showFileIcon?(k(),B("div",JS,[H("span",{title:e.file.FileName,class:R(["file-name"])},Ae(e.file.FileName),9,XS),H("span",eM,Ae(e.size(e.file.FileSize)),1)])):ae("",!0)],2)],8,QS)])):ae("",!0),e.file.FileState!==e.clientChatFileState.CF_Available?(k(),B("div",tM,[e.file.FileState===e.ChatFileState.CF_Uploading?(k(),B("spinner-third",nM)):(k(),Se(s,{key:1,class:R([["horizontal_content_image"]])})),H("div",iM,[H("span",{title:e.file.FileName,class:R(["file-name"])},Ae(e.file.FileName),9,oM),H("span",aM,Ae(e.size(e.file.FileSize)),1)])])):ae("",!0)])}const sM=je(HS,[["render",rM],["styles",[WS]]]),lM={name:"ChatText",components:{},props:{message:{type:nu,default:()=>{}}}},cM=".msg_content{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;word-break:break-word;white-space:pre-line}.msg_content a{color:inherit}",fM=["innerHTML"];function uM(e,n,t,i,o,a){return k(),B("span",{class:R("msg_content"),innerHTML:t.message.viewMessage()},null,8,fM)}const dM=Ve({components:{Loader:d_,Redo:b_,OperatorIcon:M_,ChatFile:sM,ChatText:je(lM,[["render",uM],["styles",[cM]]])},props:{message:{type:Object,default:()=>new nu},config:{type:Object,default:()=>{}}},setup(e,n){const t=()=>Fi(e.message.time).format("LT"),i=()=>Fi(e.message.time).format("L"),o=()=>Fi(e.message.time).format("L LT"),{t:a}=Tt(),r=Z(null),s=Y(()=>e.config.messageDateformat==="both"?o():e.config.messageDateformat==="date"?i():e.config.messageDateformat==="time"?t():""),l=(K,re=!0)=>{K&&K.target&&(K.target.src=re?Ms:VS)},c=Y(()=>e.config.messageDateformat!=="none"||e.config.messageUserinfoFormat!=="none"&&e.config.messageUserinfoFormat!=="avatar"),u=Y(()=>!e.message.isAutomated&&(e.config.messageDateformat!=="none"||e.config.messageUserinfoFormat!=="none"&&e.config.messageUserinfoFormat!=="avatar")),f=Y(()=>e.message.isLocal&&(e.config.messageUserinfoFormat==="both"||e.config.messageUserinfoFormat==="avatar")),d=Y(()=>e.message.isLocal?c.value:u.value),p=Y(()=>e.config.messageUserinfoFormat==="both"||e.config.messageUserinfoFormat==="name"),h=Y(()=>e.config.messageDateformat==="date"||e.config.messageDateformat==="time"||e.config.messageDateformat==="both"),b=Y(()=>e.message.errorType===nn.NoError&&!e.message.sent&&!e.message.file),y=Y(()=>!e.message.isLocal&&(e.config.messageUserinfoFormat==="both"||e.config.messageUserinfoFormat==="avatar")),g=Y(()=>e.message.errorType!==nn.NoError&&!e.message.sent),C=Y(()=>e.message.errorType===nn.NoRetry||e.message.errorType===nn.CanRetry),E=Y(()=>e.message.errorType===nn.UnsupportedFile),x=Y(()=>e.message.errorType===nn.FileError),M=Y(()=>e.message.errorType===nn.CanRetry&&!e.message.sent&&!e.message.file),U=K=>n.emit("resend",K),N=Y(()=>e.message.icon?e.message.icon:Ms);return{chatText:r,timeStampString:s,showLocalAvatar:f,showSubArea:d,isUserInfoVisible:p,isTimeStampVisible:h,showSendingIndication:b,showAwayAvatar:y,showMessageNotDeliveredError:g,showNetworkError:C,showUnsupportedFileError:E,showFileError:x,getAgentIcon:N,showRetrySend:M,t:a,updateNotFoundImage:l,sendAgain:U}}}),hM='*{box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{animation-duration:1s;animation-fill-mode:both;animation-name:fadeIn;animation-delay:.5s}.slideLeft{animation:slideLeft 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideLeft{0%{transform:translate(130%)}to{transform:translate(0)}}.slideRight{animation:slideRight 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideRight{0%{transform:translate(-130%)}to{transform:translate(0)}}.slideUp{animation:slideUp 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideUp{0%{transform:translateY(130%)}to{transform:translateY(0)}}.nudge{animation:nudge 1s ease-in}@keyframes nudge{0%{opacity:0}to{opacity:1}}@keyframes fly-in{0%{transform:scale(.85) translateY(10%);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.fly-in,.msg-root .msg_bubble{transition:all .5s;animation-duration:.3s;animation-name:fly-in}@keyframes show-with-delay{0%{opacity:0}to{opacity:1}}.show-with-delay{animation-name:show-with-delay;animation-duration:0s;animation-delay:3s;animation-fill-mode:both}.spin{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.msg-root{display:flex;flex-direction:column}.msg-root .msg_bubble_client{justify-content:flex-start}.msg-root .msg_bubble_agent{justify-content:flex-end}.msg-root .msg_bubble{display:flex;flex-direction:row;margin:5px 0 1px!important}.msg-root .msg_bubble .avatar_container{height:27px;min-width:27px;max-width:27px}.msg-root .msg_bubble .avatar_container svg path:first-of-type{fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}.msg-root .msg_bubble .avatar_container .avatar_img{border-radius:var(--call-us-round-button, 50%);border:1px solid var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4));padding:2px;height:28px;min-width:28px;max-width:28px}.msg-root .msg_bubble .msg_container{min-width:131px;line-height:1.4;margin-top:auto;margin-bottom:auto;border-radius:6px;padding:var(--call-us-standart-right-left-padding, 11px);position:relative;display:inline-flex;flex-direction:column;font-size:var(--call-us-font-size, 14px);word-wrap:break-word;word-break:break-word;color:var(--call-us-plate-font-color, #FFFFFF);align-self:flex-end}.msg-root .msg_bubble .msg_container .msg_sub_area{display:flex;flex-direction:row;justify-content:space-between;text-overflow:ellipsis;margin-top:var(--call-us-element-side-offset-small, 5px);font-size:calc(var(--call-us-font-size, 14px) - 3px)}.msg-root .msg_bubble .msg_container .msg_sub_area .msg_sender_name{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:60%;float:left;margin-right:var(--call-us-element-side-offset-small, 5px)}.msg-root .msg_bubble .msg_container .msg_sub_area .msg_timestamp{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.msg-root .msg_bubble .msg_container .sending_indication{display:inline-flex;flex-direction:row;justify-content:flex-end;position:absolute;bottom:0;right:2px}.msg-root .msg_bubble .msg_container .sending_indication .sending_icon{width:1em;height:1em;display:inline-block;fill:var(--call-us-form-header-background, #373737);margin:0 0 0 var(--call-us-element-side-offset-small, 5px)}.msg-root .msg_bubble .msg_client{margin-left:10px;background-color:var(--call-us-plate-background-color, #494949);color:var(--call-us-plate-font-color, #FFFFFF)}.msg-root .msg_bubble .msg_client.new_msg:before{content:"";position:absolute;width:0;height:0;left:-7px;top:8px;border-top:8px solid transparent;border-right:8px solid var(--call-us-plate-background-color, #494949);border-bottom:8px solid transparent}.msg-root .msg_bubble .msg_agent{margin-right:10px;background:var(--call-us-agent-bubble-color, rgba(51, 51, 51, .062745098));color:var(--call-us-main-font-color, #000000)}.msg-root .msg_bubble .msg_agent.new_msg:after{content:"";position:absolute;width:0;height:0;right:-8px;top:8px;border-top:8px solid transparent;border-left:8px solid var(--call-us-agent-bubble-color, rgba(51, 51, 51, .062745098));border-bottom:8px solid transparent}.msg-root .error-message{color:red;font-size:calc(var(--call-us-font-size, 14px) - 3px);margin-bottom:10px}.msg-root .error-message .error-message-retry{cursor:pointer}',pM={class:R([["msg-root"]])},mM={key:0,class:R(["avatar_container"])},gM=["src"],bM={key:2,class:R(["msg_sub_area"])},vM={key:0,class:R([["msg_sender_name"]])},yM={key:1,class:R([["msg_timestamp"]])},AM={key:3,class:R([["sending_indication"]])},wM={key:1,class:R(["avatar_container"])},CM=["src"],_M={key:0,class:R(["error-message"])},EM={key:0},SM={key:1},MM={key:2},IM={key:3};function TM(e,n,t,i,o,a){const r=le("OperatorIcon"),s=le("ChatFile"),l=le("ChatText"),c=le("loader"),u=le("Redo");return k(),B("div",pM,[H("div",{class:R([["msg_bubble"],e.message.isLocal?["msg_bubble_client"]:["msg_bubble_agent"]])},[e.showLocalAvatar?(k(),B("div",mM,[e.message.icon?(k(),B("img",{key:0,alt:"avatar",src:e.message.icon,class:R(["avatar_img"]),onError:n[0]||(n[0]=f=>e.updateNotFoundImage(f,!1))},null,40,gM)):(k(),Se(r,{key:1}))])):ae("",!0),H("div",{ref:"chatText",class:R([["msg_container"],e.message.renderNew?["new_msg"]:"",e.message.isLocal?["msg_client"]:["msg_agent"]])},[e.message.file?(k(),Se(s,{key:0,file:e.message.file},null,8,["file"])):(k(),Se(l,{key:1,message:e.message},null,8,["message"])),e.showSubArea?(k(),B("div",bM,[e.isUserInfoVisible?(k(),B("div",vM,Ae(e.message.senderName),1)):ae("",!0),e.isTimeStampVisible?(k(),B("span",yM,Ae(e.timeStampString),1)):ae("",!0)])):ae("",!0),e.showSendingIndication?(k(),B("div",AM,[de(c,{class:R([["sending_icon"]])})])):ae("",!0)],2),e.showAwayAvatar&&e.message.renderNew?(k(),B("div",wM,[H("img",{alt:"avatar",src:e.getAgentIcon,class:R(["avatar_img"]),onError:n[1]||(n[1]=f=>e.updateNotFoundImage(f))},null,40,CM)])):ae("",!0)],2),e.showMessageNotDeliveredError?(k(),B("div",_M,[e.showNetworkError?(k(),B("span",EM,Ae(e.t("Chat.MessageNotDeliveredError")),1)):e.showUnsupportedFileError?(k(),B("span",SM,Ae(e.t("Chat.UnsupportedFileError")),1)):e.showFileError?(k(),B("span",MM,Ae(e.t("Chat.FileError")),1)):ae("",!0),e.showRetrySend?(k(),B("span",IM,[ei(Ae(e.t("ChatryAgain"))+" ",1),H("span",{class:R(["error-message-retry"]),onClick:n[2]||(n[2]=f=>e.sendAgain(e.message.index))},[de(u,{style:{height:"12px",fill:"red"}})])])):ae("",!0)])):ae("",!0)])}const OM=je(dM,[["render",TM],["styles",[hM]]]),kM=Ve({props:{config:{type:Object,default:()=>{}}},setup(e){const n=ue(Ln),t=ue(R0);let i;const{t:o}=Tt(),a=Ot(),r=Z(!1),s=Z(""),l=()=>{a.add(t.thinking$.pipe(Ci(()=>{r.value=!0}),Sa(1e3),Ci(u=>{r.value=!1,t.answer(u)})).subscribe())},c=()=>{a.add(n.mySession$.pipe(we(u=>u.messages$.pipe(qy(),yt(([f,d])=>f instanceof Ta&&d instanceof Po&&d.Messages.some(p=>{var h;return((h=p.Recipients.find(b=>b.IsSender))==null?void 0:h.IdRecipient)===f.IdRecipient})?(r.value=!1,tn):d),vf(Ta),ch(u.conversation$),yt(f=>({typing:f,time:new Date})),lh(1e3),Ci(f=>{if(i=f.time,e.config.showOperatorActualName){const[d,p]=f.typing,h=p.Recipients.find(b=>b.Recipient.IdRecipient===d.IdRecipient);s.value=(h==null?void 0:h.Recipient.Name)||e.config.operatorName}else s.value=e.config.operatorName;r.value=!0}),Sa(2e3)))).subscribe(()=>{const u=i.getTime()-new Date().getTime();r.value=Math.abs(u)<2e3}))};return Mt(()=>{l(),c()}),{isTypingVisible:r,operatorName:s,t:o}}}),xM="*{box-sizing:border-box}.typing-indicator-root{display:flex;flex-direction:row;width:80%;justify-content:flex-end;text-align:right;right:var(--call-us-standart-right-left-padding, 11px);font-size:calc(var(--call-us-font-size, 14px) - 3px);white-space:nowrap;max-width:80%;color:var(--call-us-main-font-color, #000000)}.typing-indicator-root .typing_indicator_name{flex-grow:1;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.typing-indicator-root .typing_indicator_name span{margin-right:3px}",RM={key:0,class:R(["typing-indicator-root"])},NM={class:R(["typing_indicator_name"])},LM=["title"];function PM(e,n,t,i,o,a){return e.isTypingVisible?(k(),B("div",RM,[H("div",NM,[H("span",{title:e.operatorName},Ae(e.operatorName),9,LM)]),H("span",{ref:"typingIndicator"},Ae(e.t("Inputs.IsTyping")),513)])):ae("",!0)}const DM=je(kM,[["render",PM],["styles",[xM]]]),FM={PaperClip:B1,SoundActive:D1,SoundInactive:F1},BM={name:"ActionButton",components:{SoundActive:D1,SoundInactive:F1},props:{title:{type:String,default:""},componentKey:{type:String,default:""},disabled:Boolean},setup(e){return{components:FM}}},qM="*{box-sizing:border-box}.action-button{margin-right:var(--call-us-element-side-offset-small, 5px);cursor:pointer;width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);background:transparent;padding:0;fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4));vertical-align:top;border:1px var(--call-us-plate-bg-with-gradient, linear-gradient(180deg, var(--call-us-plate-background-color, #494949) 0%, #282828 100%)) solid}.action-button a{width:100%;height:100%}.action-button svg{width:20px;height:20px}.action-button svg path{width:20px;height:20px}",UM=["title","aria-label","disabled"];function $M(e,n,t,i,o,a){return k(),B("button",{class:R(["action-button"]),title:t.title,"aria-label":t.title,disabled:t.disabled,type:"button",onClick:n[0]||(n[0]=cn(()=>{},["prevent","stop"]))},[(k(),Se(Ub(i.components[t.componentKey]))),fa(e.$slots,"default")],8,UM)}const jM=je(BM,[["render",$M],["styles",[qM]]]),zM=Ve({directives:{object:Ba},components:{GlyphiconCall:qa},props:{allowVideo:{type:Boolean,default:!1},allowCall:{type:Boolean,default:!1},isFullScreen:{type:Boolean,default:!1},isChatUntilCall:{type:Boolean,default:!1},chatOnline:{type:Boolean,default:!0},showCallControls:Boolean},setup(e){const n=ue(en),t=Os(n),{t:i}=Tt(),o=Y(()=>{let a=[];return!e.isChatUntilCall&&(n.hasCall.value||n.hasRecall.value)?a=["big-buttons"]:e.isChatUntilCall&&n.hasCall.value&&(a=["no-buttons"]),a});return{isWebRtcAllowed:Vo,t:i,isVideoActive:Y(()=>n.isVideoActive.value),isFullScreenSupported:Y(()=>n.isFullscreenSupported()),isCallWindow:o,makeVideoCall(){t.makeCall(!0)},toggleMute(){n.mute()},videoOutputClick(){n.goFullScreen()},...t}}}),VM="*{box-sizing:border-box}button{font-family:inherit;width:100%;border:1px var(--call-us-plate-bg-with-gradient, linear-gradient(180deg, var(--call-us-plate-background-color, #494949) 0%, #282828 100%)) solid;padding:var(--call-us-element-side-offset-small, 5px) 10px;font-size:var(--call-us-font-size, 14px);outline:none;cursor:pointer;display:flex;align-items:center;justify-content:center}button:disabled{opacity:.6;cursor:not-allowed}.root-cc{display:flex;flex-direction:row;height:var(--call-us-call-controls-btn-height, 46.01px)}.root-cc.big-buttons{background:var(--call-us-plate-background-color, #494949);height:var(--call-us-big-bottom-btn-height, 67px)}.root-cc.big-buttons .call-us{font-size:calc(var(--call-us-font-size, 14px) + 6px)}.root-cc.big-buttons .call-us svg{width:var(--call-us-drop-size, 28px)!important;height:var(--call-us-drop-size, 28px)!important}.root-cc .call-us,.root-cc .call-us-drop{display:flex;align-items:center;justify-content:center;height:100%;width:100%;color:#fff;margin:0;outline:none}.root-cc .call-us:active,.root-cc .call-us-drop:active{transform:translateY(2px)}.root-cc .call-us .call-icon,.root-cc .call-us .drop-icon,.root-cc .call-us-drop .call-icon,.root-cc .call-us-drop .drop-icon{margin-right:var(--call-us-element-side-offset-medium, 10px);width:16px;height:16px;fill:#fff}.root-cc .call-us{background:#18ab00}.root-cc .call-us-drop{background:#d80027;font-size:calc(var(--call-us-font-size, 14px) + 6px)}.root-cc .call-us-drop svg{width:var(--call-us-drop-size, 28px)!important;height:var(--call-us-drop-size, 28px)!important;transform:var(--call-us-default-rotation-drop-call, rotate(135deg))}",HM=["src"],WM={key:1,autoplay:""},YM=["aria-label","disabled"],GM=["aria-label","disabled"];function QM(e,n,t,i,o,a){const r=le("GlyphiconCall"),s=ca("object");return e.showCallControls?(k(),B("div",{key:0,ref:"phoneControlsContainer",class:R([["root-cc"],e.isFullScreen?["full-screen-controls"]:"",e.isCallWindow])},[e.myWebRTCService.audioNotificationUrl.value?(k(),B("audio",{key:0,src:e.myWebRTCService.audioNotificationUrl.value,autoplay:"",loop:""},null,8,HM)):ae("",!0),e.myWebRTCService.remoteStream.value?Zn((k(),B("audio",WM,null,512)),[[s,e.myWebRTCService.remoteStream.value]]):ae("",!0),e.myWebRTCService.hasCall.value?(k(),B("button",{key:3,id:"callUsDropCallBtn",type:"button","aria-label":e.t("Inputs.EndCallTitle"),class:R([["call-us-drop"]]),disabled:e.myWebRTCService.hasTryingCall.value,onClick:n[1]||(n[1]=(...l)=>e.dropCall&&e.dropCall(...l))},[de(r,{class:R(["drop-icon"])}),ei(" "+Ae(e.t("Inputs.EndCallTitle")),1)],8,GM)):(k(),B(rt,{key:2},[e.allowCall?(k(),B("button",{key:0,id:"callUsCallBtn",type:"button","aria-label":e.t("Inputs.CallTitle"),class:R([["call-us"],e.myWebRTCService.hasRecall.value?["recall-window"]:""]),disabled:!e.isWebRtcAllowed,onClick:n[0]||(n[0]=()=>e.makeCall())},[de(r,{class:R(["call-icon"])}),ei(" "+Ae(e.t("Inputs.CallTitle")),1)],10,YM)):ae("",!0)],64))],2)):ae("",!0)}const KM=Ve({components:{ActionButton:jM,FacebookIcon:e_,PaperPlane:i_,TwitterIcon:r_,EmailIcon:c_,PaperClip:B1,MessageSolid:$1,CallControls:je(zM,[["render",QM],["styles",[VM]]])},props:{config:{type:Object,default:()=>{}},isChatActive:Boolean,chatEnabled:{type:Boolean,default:!1},chatOnline:{type:Boolean,default:!0},enableTyping:{type:Boolean,default:!0},isFullScreen:{type:Boolean,default:!1},currentState:{type:Number,default:ye.Chat},isChatUntilCall:Boolean,isCall:{type:Boolean,default:!1},allowCall:{type:Boolean,default:!1}},setup(e,n){const t=ue(zt),i=ue(Aa),o=ue(Ln),a=ue(en),r=Z(null),s=Z(null),l=Z(e.config.allowSoundNotifications),c=Z(""),{t:u}=Tt(),f=Y(()=>a&&(e.allowCall||e.config.allowVideo||a.hasCall.value)&&(e.chatEnabled?o.hasSession:!0)&&!e.isChatUntilCall),d=Y(()=>Cm),p=Ot(),h=()=>{setTimeout(()=>{r.value&&Ho.blurElement(r.value)},200)},b=()=>{setTimeout(()=>{r.value&&Ho.focusElement(r.value)},200)},y=()=>{p.add(t.onMinimized.subscribe({next:()=>{h()}}))},g=()=>{const ee=pc(t.onRestored,t.onTriggerFocusInput);p.add(ee.subscribe({next:()=>{i.chatInteractionEvent(),b()}}))},C=ee=>{c.value=ee.target.value,t.onClientChatTyping.next()},E=ee=>{n.emit("input-focus-change",ee),ee&&t.onAttendChat.next()},x=()=>{var ee;(ee=s.value)==null||ee.click()},M=()=>{const ee=s.value;ee&&t.onFileUpload.next(ee.files)},U=()=>{c.value&&(n.emit("send-message",c.value),c.value="")},N=()=>{t.onRestart.next()},K=()=>{l.value=!l.value,t.onToggleSoundNotification.next(l.value)},re=Y(()=>c.value.length>0);Mt(()=>{y(),g()});const W=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&xi();return{myMessage:c,chatInput:r,fileInput:s,soundFlag:l,t:u,maxChatMessageSize:d,isSendButtonEnabled:re,isMobileSafari:W,showCallControls:f,fireTyping:C,onInputFocusChange:E,filePickerToggle:x,fileSelection:M,sendMessage:U,onStartNewChat:N,onToggleSound:K,focusInput:b,blurInput:h}}}),ZM='[data-v-1a820332]{box-sizing:border-box}.bar[data-v-1a820332]{border:0;padding:0;position:relative;display:block;width:100%}.bar[data-v-1a820332]:before{content:"";height:2px;width:0;bottom:0;position:absolute;background:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4));transition:.3s ease all;left:0}.materialInput[data-v-1a820332],.materialPhone[data-v-1a820332],.materialTextarea[data-v-1a820332]{position:relative;flex-grow:1;margin-bottom:5px}.materialInput label[data-v-1a820332],.materialPhone label[data-v-1a820332],.materialTextarea label[data-v-1a820332]{color:var(--call-us-main-font-color, #000000);font-size:calc(var(--call-us-font-size, 14px) - 3px);font-palette:dark;font-weight:400;position:absolute;pointer-events:none;left:var(--call-us-element-side-offset-small, 5px);top:10px;transition:.3s ease all}.materialInput textarea[data-v-1a820332],.materialPhone textarea[data-v-1a820332],.materialTextarea textarea[data-v-1a820332]{overflow-x:hidden;resize:none}.materialInput textarea:focus~label[data-v-1a820332],.materialInput textarea:valid~label[data-v-1a820332],.materialPhone textarea:focus~label[data-v-1a820332],.materialPhone textarea:valid~label[data-v-1a820332],.materialTextarea textarea:focus~label[data-v-1a820332],.materialTextarea textarea:valid~label[data-v-1a820332]{top:-30px;font-size:calc(var(--call-us-font-size, 14px) - 1px);color:var(--call-us-main-font-color, #000000)}.materialInput input[data-v-1a820332],.materialPhone input[data-v-1a820332],.materialTextarea input[data-v-1a820332]{background:var(--call-us-main-background-color, #FFFFFF)!important}.materialInput input:focus~label[data-v-1a820332],.materialInput input:valid~label[data-v-1a820332],.materialInput input:disabled~label[data-v-1a820332],.materialPhone input:focus~label[data-v-1a820332],.materialPhone input:valid~label[data-v-1a820332],.materialPhone input:disabled~label[data-v-1a820332],.materialTextarea input:focus~label[data-v-1a820332],.materialTextarea input:valid~label[data-v-1a820332],.materialTextarea input:disabled~label[data-v-1a820332]{top:-4px;font-size:calc(var(--call-us-font-size, 14px) - 1px);color:var(--call-us-main-font-color, #000000)}.materialInput.safari-input input[data-v-1a820332],.materialPhone.safari-input input[data-v-1a820332],.materialTextarea.safari-input input[data-v-1a820332]{font-size:calc(var(--call-us-font-size, 14px) + 2px)}.materialInput input[data-v-1a820332],.materialInput textarea[data-v-1a820332],.materialPhone input[data-v-1a820332],.materialPhone textarea[data-v-1a820332],.materialTextarea input[data-v-1a820332],.materialTextarea textarea[data-v-1a820332]{background:none;color:var(--call-us-main-font-color, #000000);font-size:calc(var(--call-us-font-size, 14px) - 1px);font-family:inherit;padding:7px 0 3px;display:block;width:100%;border:none;border-radius:0;border-bottom:1px solid var(--call-us-main-font-color, #000000)}.materialInput input[data-v-1a820332]:focus,.materialInput textarea[data-v-1a820332]:focus,.materialPhone input[data-v-1a820332]:focus,.materialPhone textarea[data-v-1a820332]:focus,.materialTextarea input[data-v-1a820332]:focus,.materialTextarea textarea[data-v-1a820332]:focus{outline:none}.materialInput input:focus~.bar[data-v-1a820332]:before,.materialInput textarea:focus~.bar[data-v-1a820332]:before,.materialPhone input:focus~.bar[data-v-1a820332]:before,.materialPhone textarea:focus~.bar[data-v-1a820332]:before,.materialTextarea input:focus~.bar[data-v-1a820332]:before,.materialTextarea textarea:focus~.bar[data-v-1a820332]:before{width:100%}.custom-scrollbar[data-v-1a820332]::-webkit-scrollbar,.footer-root .chat-message-input-form .chat-message-input[data-v-1a820332]::-webkit-scrollbar{width:4px}.custom-scrollbar[data-v-1a820332]::-webkit-scrollbar-track,.footer-root .chat-message-input-form .chat-message-input[data-v-1a820332]::-webkit-scrollbar-track{background:#f1f1f1}.custom-scrollbar[data-v-1a820332]::-webkit-scrollbar-thumb,.footer-root .chat-message-input-form .chat-message-input[data-v-1a820332]::-webkit-scrollbar-thumb{background:#888}.custom-scrollbar[data-v-1a820332]::-webkit-scrollbar-thumb:hover,.footer-root .chat-message-input-form .chat-message-input[data-v-1a820332]::-webkit-scrollbar-thumb:hover{background:#555}.footer-root[data-v-1a820332]{border-radius:0 0 15px 15px!important;border-top:0!important;background:var(--call-us-main-background-color, #FFFFFF);min-height:calc(var(--call-us-chat-input-height, 47px) + var(--call-us-call-controls-btn-height, 46.01px))}.footer-root.call[data-v-1a820332]{min-height:calc(var(--call-us-chat-input-height, 47px) + var(--call-us-big-bottom-btn-height, 67px))}.footer-root.chat-call[data-v-1a820332],.footer-root.calls-disabled[data-v-1a820332]{min-height:var(--call-us-chat-input-height, 47px)}.footer-root[data-v-1a820332]{margin-top:auto}.footer-root .chat-inputs[data-v-1a820332]{padding:0 var(--call-us-standart-right-left-padding, 11px) var(--call-us-standart-right-left-padding, 11px) var(--call-us-standart-right-left-padding, 11px);height:var(--call-us-chat-input-height, 47px);display:flex;flex-direction:row;align-items:center}.footer-root .chat-message-input-form[data-v-1a820332]{width:100%}.footer-root.chat-disabled[data-v-1a820332]{padding:0!important;min-height:unset;margin-top:auto}.footer-root .chat-message-input-form[data-v-1a820332]{margin:0;display:flex;flex-direction:row}.footer-root .chat-message-input-form .chat-message-input[data-v-1a820332]:disabled{cursor:not-allowed}.footer-root .chat-message-input-form .chat-message-input.safari-input[data-v-1a820332]{font-size:calc(var(--call-us-font-size, 14px) + 2px)}.footer-root .chat-message-input-form .chat-message-input[data-v-1a820332]{height:var(--call-us-msg-m-input-height, 32px);outline:none;box-sizing:border-box}.footer-root .chat-message-input-form .send-trigger[data-v-1a820332]{cursor:pointer;width:20px;height:20px;margin-top:10px;margin-left:10px;border:1px var(--call-us-plate-bg-with-gradient, linear-gradient(180deg, var(--call-us-plate-background-color, #494949) 0%, #282828 100%)) solid}.footer-root .chat-message-input-form .send-trigger.send_enable[data-v-1a820332]{cursor:pointer}.footer-root .chat-message-input-form .send-trigger.send_enable svg[data-v-1a820332]{fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))!important}.footer-root .chat-message-input-form .send-trigger.send_disable[data-v-1a820332]{cursor:not-allowed;fill:#eee}.footer-root .banner[data-v-1a820332]{padding-top:var(--call-us-element-side-offset-small, 5px);position:relative;height:25px;display:flex;flex-direction:row;align-items:center;margin-top:-2px}.footer-root .banner .chat-action-buttons[data-v-1a820332]{color:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4));display:flex;flex-direction:row}.footer-root .banner .chat-action-buttons .action-button[data-v-1a820332]{margin-right:var(--call-us-element-side-offset-small, 5px);cursor:pointer;width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px)}.footer-root .banner .chat-action-buttons .action-button svg[data-v-1a820332]{fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4));vertical-align:top}.start-new[data-v-1a820332]{line-height:var(--call-us-default-line-height, 17px);border:none;display:flex;align-items:center;justify-content:center;align-self:flex-end;color:var(--call-us-plate-font-color, #FFFFFF);width:100%;height:44px;background:var(--call-us-plate-background-color, #494949);border-radius:0 0 6px 6px}.start-new svg[data-v-1a820332]{margin-right:15px;width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);fill:var(--call-us-plate-font-color, #FFFFFF)}.start-new[data-v-1a820332]:active{opacity:.9}.start-new[data-v-1a820332]{transition:.1s ease all}button.send-trigger[data-v-1a820332]{cursor:pointer;width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);margin-top:10px;margin-left:10px;background:transparent;padding:0}button.send-trigger.send_enable svg[data-v-1a820332]{fill:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4))}button.send-trigger.send_disable svg[data-v-1a820332]{width:100%;fill:#eee}',JM={key:0,class:R(["chat-inputs"])},XM={class:R(["banner"])},eI={class:R(["chat-action-buttons"])},tI=["href"],nI=["href"],iI=["href"],oI={class:R("materialInput")},aI=["disabled","value","placeholder","maxLength"],rI=["aria-label","disabled"],sI=["aria-label"];function lI(e,n,t,i,o,a){const r=le("ActionButton"),s=le("FacebookIcon"),l=le("TwitterIcon"),c=le("EmailIcon"),u=le("PaperPlane"),f=le("CallControls"),d=le("MessageSolid");return k(),B("div",{class:R([["footer-root"],e.isChatActive?"":["chat-disabled"],e.isCall?["call"]:"",e.isChatUntilCall?["chat-call"]:"",e.showCallControls?"":["calls-disabled"]])},[e.isChatActive?(k(),B("div",JM,[e.chatEnabled?(k(),B(rt,{key:0},[H("div",XM,[H("div",eI,[e.config.filesEnabled&&e.chatOnline?(k(),B("input",{key:0,id:"avatar",ref:"fileInput",type:"file",style:{display:"none"},name:"file-picker",accept:"image/jpeg,image/pjpeg,image/png,image/gif,image/bmp,image/x-windows-bmp,image/tiff,image/x-tiff,application/msword,application/pdf,text/plain,application/rtf,application/x-rtf,application/mspowerpoint,application/powerpoint,application/vnd.ms-powerpoint,application/x-mspowerpoint,application/excel,application/vnd.ms-excel,application/x-excel,application/x-msexcel",onChange:n[0]||(n[0]=cn((...p)=>e.fileSelection&&e.fileSelection(...p),["prevent"]))},null,544)):ae("",!0),e.config.filesEnabled&&e.chatOnline?(k(),Se(r,{key:1,componentKey:"PaperClip",disabled:!e.enableTyping,title:e.t("Inputs.AddFile"),onClick:cn(e.filePickerToggle,["prevent"])},null,8,["disabled","title","onClick"])):ae("",!0),e.config.enableMute&&e.chatEnabled?(k(),Se(r,{key:2,componentKey:e.soundFlag?"SoundActive":"SoundInactive",title:e.soundFlag?e.t("Inputs.MuteNotifications"):e.t("Inputs.UnmuteNotifications"),onClick:e.onToggleSound},null,8,["componentKey","title","onClick"])):ae("",!0),e.config.facebookIntegrationUrl?(k(),Se(r,{key:3,title:"facebook integration"},{default:Gt(()=>[H("a",{target:"_blank",href:e.config.facebookIntegrationUrl},[de(s)],8,tI)]),_:1})):ae("",!0),e.config.twitterIntegrationUrl?(k(),Se(r,{key:4,title:"twitter integration"},{default:Gt(()=>[H("a",{target:"_blank",href:e.config.twitterIntegrationUrl},[de(l)],8,nI)]),_:1})):ae("",!0),e.config.emailIntegrationUrl?(k(),Se(r,{key:5,title:"email integration"},{default:Gt(()=>[H("a",{href:"mailto:"+e.config.emailIntegrationUrl},[de(c)],8,iI)]),_:1})):ae("",!0)])]),H("form",{class:R(["chat-message-input-form"]),autocomplete:"off",autocorrect:"off",spellcheck:"false",onSubmit:n[7]||(n[7]=cn(p=>e.sendMessage(),["prevent"]))},[H("div",oI,[H("textarea",{ref:"chatInput",class:R([["chat-message-input"],e.isMobileSafari?["safari-input"]:""]),disabled:!e.enableTyping,value:e.myMessage,placeholder:e.t("Chat.TypeYourMessage"),maxLength:e.maxChatMessageSize,name:"chatInput",autocomplete:"off",spellcheck:"false",onInput:n[1]||(n[1]=p=>e.fireTyping(p)),onFocus:n[2]||(n[2]=p=>e.onInputFocusChange(!0)),onBlur:n[3]||(n[3]=p=>e.onInputFocusChange(!1)),onKeydown:[n[4]||(n[4]=T0(cn((...p)=>e.sendMessage&&e.sendMessage(...p),["exact","prevent"]),["enter"])),n[5]||(n[5]=T0(cn(p=>e.myMessage+=`
`,["shift","exact","prevent"]),["enter"]))]},null,42,aI)]),H("button",{id:"sendBtn","aria-label":e.t("Auth.OfflineSubmit"),class:R([["send-trigger"],e.isSendButtonEnabled?["send_enable"]:["send_disable"]]),disabled:!e.enableTyping,onMousedown:n[6]||(n[6]=cn(p=>e.sendMessage(),["prevent"]))},[de(u)],42,rI)],32)],64)):ae("",!0)])):ae("",!0),de(f,{allowCall:e.allowCall,allowVideo:e.config.allowVideo,isFullScreen:e.isFullScreen,isChatUntilCall:e.isChatUntilCall,chatOnline:e.chatOnline,showCallControls:e.showCallControls},null,8,["allowCall","allowVideo","isFullScreen","isChatUntilCall","chatOnline","showCallControls"]),!e.isChatActive&&!e.showCallControls?(k(),B("button",{key:1,id:"startNewBtn",ref:"startNewBtn","aria-label":e.t("ChatCompleted.StartNew"),class:R(["start-new"]),type:"button",onClick:n[8]||(n[8]=p=>e.onStartNewChat())},[de(d),ei(" "+Ae(e.t("ChatCompleted.StartNew")),1)],8,sI)):ae("",!0)],2)}const cI=je(KM,[["render",lI],["styles",[ZM]],["__scopeId","data-v-1a820332"]]),fI=[At.MISSED,At.ENDED_DUE_AGENT_INACTIVITY,At.ENDED_DUE_CLIENT_INACTIVITY,At.ENDED_BY_CLIENT,At.ENDED_BY_AGENT,At.ENDED_DUE_BLOCK];function uI(e,n){var i;const t=(i=e.Recipient.Contact)==null?void 0:i.ContactImage;if(t)return new URL(t,n).href}const dI=Ve({components:{Notifier:US,ChatMsg:OM,ChatFooter:cI,TypingIndicator:DM},props:{config:{type:Object,default:()=>{}},operator:{type:Object,default:()=>Oi},chatEnabled:{type:Boolean,default:!1},chatOnline:{type:Boolean,default:!0},isChatUntilCall:{type:Boolean,default:!1},allowCall:{type:Boolean,default:!1}},setup(e,n){const t=ue(Ln),i=ue(zt),o=ue(Eo),a=ue(Aa),r=ue(en),s=ue(wi),{t:l}=Tt(),c=new zS(e.config,ri.Chat,i,t),u=Z(null),f=Z(!1),d=Ot();let p=!1,h=!1,b=!0,y="",g=-1,C="",E=[];const x=new Te,M=Y(()=>r.isVideoActive.value),U=Y(()=>{let m=!0;const A=c.getCurrentFlow();if(A!==void 0){const O=A.current();O!==void 0&&(m=O.type!==Ft.MultipleChoice&&O.type!==Ft.SingleChoice)}return m});$t(R0,c);const N=m=>{f.value=m},K=()=>{setTimeout(()=>{const m=u.value;m&&(m.scrollTop=m.scrollHeight)})},re=Y(()=>{let m;const A=c.getCurrentFlow();return A!==void 0&&c.chatFlowState!==ri.Chat?A.closeOnSubmission?m=!(A!=null&&A.submitted):m=!0:e.chatOnline?m=t.hasSession:m=!1,m}),W=m=>{const A=t.chatMessages.push(m);return m.isNew&&!m.isLocal&&!m.preventSound&&!f.value&&(i.onSoundNotification.next(),!e.isChatUntilCall&&r.hasCall.value&&n.emit("add-unread-message")),m.isNew&&!m.isLocal&&(!m.preventBubbleIndication||!m.preventTabNotification)&&!f.value&&i.onUnattendedMessage.next(m),K(),A},ee=m=>{if(b&&m.isLocal){let A=jn("FirstResponse",[e.config.firstResponseMessage]);if(A)if(A=t.injectAuthenticationName(A),t.chatMessages.filter(F=>!F.isAutomated&&!F.isLocal).length<=0){b=!1;const F=Za(A,un.Normal,e.operator.image,y);W(F)}else b=!1}},he=m=>m===40?nn.NoRetry:nn.CanRetry,Be=(m,A)=>{t.get(new Lh({Message:m,IdConversation:g})).subscribe({next:()=>{i.onTriggerFocusInput.next(),t.chatMessages[A].sent=!0,ee(t.chatMessages[A])},error:O=>{i.onError.next(O),t.chatMessages[A].errorType=he(O.state),K()}})},se=(m="",A=-1)=>{var O,F;if(SS(m))if(m.length<=Cm){i.onChatInitiated.next(!0);const V=t.lastMessage(),v=V==null?void 0:V.isLocal;let w;if(A<0&&(w=_m(m,C,e.config.userIcon,!v||V.senderName!==C,!0,y),A=W(w)-1),t.chatMessages[A].index=A,e.chatOnline&&c.chatFlowState===ri.Chat)A===1&&p&&(m=nS(`Offline Message:
Name: ${((O=t.auth)==null?void 0:O.name)??""}
Email: ${((F=t.auth)==null?void 0:F.email)??""}
Content: ${m}`)),Be(m,A);else{const S=c.getCurrentFlow();S&&S.current()===void 0&&S instanceof Sm&&w!==void 0&&E.push(w),c.think(m,A)}}else i.onError.next("Chat message too large"),Fa("Chat message too large")},Q=m=>{se(t.chatMessages[m].message,m)},q=m=>{const A=m.filter(O=>O.IsNew).map(O=>O.Id);A.length>0&&t.get(new Fh({Items:A})).subscribe()},z=m=>{m=t.injectAuthenticationName(m);const A=Za(m,un.Completed,"",y,!0,!1);A.preventBubbleIndication=!0,A.preventBlinkingTitle=!0,W(A)},D=(m,A)=>{setTimeout(()=>{let O="";m?O=t.injectAuthenticationName(jn("ChatWelcomeMessage",[e.config.inviteMessage])):O=t.injectAuthenticationName(jn("UnavailableMessage",[e.config.unavailableMessage]));const F=Za(O,un.Normal,(A==null?void 0:A.image)||e.operator.image,y,!1);F.preventSound=!0,W(F)})},te=m=>{var A;if(h&&((A=t.lastMessage())==null?void 0:A.messageType)!==un.Completed||!h||m.closedByClient){const O=m.closeMessage||jn("ChatEndMessage",[e.config.endingMessage,l("Inputs.EndingMessage").toString()]);z(O)}i.onChatCompleted.next()},X=m=>{if(!m)return;const A=new ls;A.FileSize=m[0].size,A.FileState=Ei.CF_Uploading,A.FileName=m[0].name;const O=Em(A,C,e.config.userIcon,!0),F=W(O)-1,V=new Ph({IdConversation:g,Name:m[0].name});TS(m[0].name)?t.get(V).pipe(fn(v=>(t.chatMessages[F].errorType=nn.FileError,A.FileState=Ei.CF_Deleted,t.chatMessages[F].file=A,K(),Ze(()=>v)))).subscribe(v=>{A.FileLink=v.File.FileLink,A.FileState=Ei.CF_Available,t.chatMessages[F].file=A,t.chatMessages[F].sent=!0}):(t.chatMessages[F].errorType=nn.UnsupportedFile,A.FileState=Ei.CF_Deleted,t.chatMessages[F].file=A,K())},me=()=>{d.add(i.onShowMessage.subscribe({next:m=>{W(m)}}))},ge=()=>{d.add(x.pipe(Ry(i.onAttendChat)).subscribe({next:m=>{m.forEach(A=>{q(A)})}}))},Ee=()=>{d.add(i.onScrollToBottom.subscribe({next:()=>K()}))},De=()=>{d.add(t.notificationsOfType$(Da).subscribe({next:m=>{var A;if(fI.includes(m.status)){let O="";switch(h&&(O=((A=t.lastMessage())==null?void 0:A.message)??""),m.status){case At.ENDED_DUE_BLOCK:O=l("Inputs.BlockMessage").toString();break;case At.ENDED_DUE_AGENT_INACTIVITY:case At.ENDED_DUE_CLIENT_INACTIVITY:O=jn("InactivityMessage",["Chat session closed due to inactivity."]);break;case At.ENDED_BY_CLIENT:case At.ENDED_BY_AGENT:O=jn("ChatEndMessage",[e.config.endingMessage,l("Inputs.EndingMessage").toString()]);break;case At.MISSED:O=jn("ChatNoAnswerMessage",[e.config.endingMessage,l("Inputs.EndingMessage").toString()]);break}i.onClosed.next(new ks({notifyServer:!1,closedByClient:!1,chatUniqueCode:g,closeMessage:O}))}else m.status===At.ACTIVE&&(m.chatState&&(p=m.isNew&&!m.chatState.Connected,D(m.chatState.Connected,u1(m.startingConv,e.config))),g=m.idConversation)}}))},Xe=()=>{d.add(t.mySession$.subscribe({next:m=>{!t.hasSession&&m.sessionState===Bn.Error?i.onClosed.next(new ks({notifyServer:!1,closedByClient:!1,chatUniqueCode:g})):t.hasSession?(o.hide(),i.onEnableNotification.next(),i.onTriggerFocusInput.next(),h=m.serverProvideSystemMessages,y=m.emojiEndpoint(),c.emojiconUrl=y,g=m.getSessionUniqueCode(),E.length>0&&(E.forEach(A=>{Be(A.message,A.index)}),E=[]),a.chatInitiatedEvent(m)):e.chatEnabled||o.hide()}}))},Rt=()=>{const m=t.mySession$.pipe(we(A=>A.messages$.pipe(vf(Po),ch(A.conversation$))));d.add(m.subscribe({next:([A,O])=>{A.Messages.forEach(F=>{var V;if(F.IdConversation===O.IdConversation){if(F.MessageType===Dc.CMT_Closed||F.MessageType===Dc.CMT_Dealt)z(kt("ChatEndMessage",[e.config.endingMessage,l("Inputs.EndingMessage").toString()]));else{let v,w;F.File&&(w=new ls(F.File));const S=t.lastMessage(),P=S==null?void 0:S.isLocal,j=!!(S!=null&&S.file),ie=(V=F.Recipients.find(Re=>Re.IsSender))==null?void 0:V.IdRecipient,$=O.Recipients.find(Re=>Re.Recipient.IdRecipient===ie),I=($==null?void 0:$.Recipient.RecipientType)===Lo.CRT_Anonymous;let L;I?L=($==null?void 0:$.Recipient.Name)||e.config.visitorName:L=e.config.showOperatorActualName&&($==null?void 0:$.Recipient.Name)||e.config.operatorName;const oe=new Date(F.Time.Year,F.Time.Month-1,F.Time.Day,F.Time.Hour,F.Time.Minute,F.Time.Second),pe=oe.getTimezoneOffset(),Ce=I!==P||(S==null?void 0:S.senderName)!==L||!!F.File||j||(S==null?void 0:S.isAutomated)&&!0;let tt=F.Message;if(I)if(w)v=Em(w,L,e.config.userIcon,F.IsNew,new Date(oe.getTime()-pe*60*1e3));else{const Re=tt.match(/Offline Message:.*Content: (.*)/s);(Re==null?void 0:Re.length)===2&&([,tt]=Re),v=_m(tt,L,e.config.userIcon,Ce,F.IsNew,y,!F.IsNew,new Date(oe.getTime()-pe*60*1e3))}else{const Re=$&&uI($,e.config.channelUrl??"")||e.config.operatorIcon;w?v=LS(F.Id,w,L,Re,Ce,new Date(oe.getTime()-pe*60*1e3),y,F.IsNew):v=NS(F.Id,tt,L,Re,Ce,new Date(oe.getTime()-pe*60*1e3),y,F.IsNew)}W(v)}e.config.acknowledgeReceived&&(x.next(A.Messages),f.value&&i.onAttendChat.next())}})}}))},at=()=>{d.add(t.notificationsOfType$(Nh).subscribe({next:m=>{const A=t.chatMessages.findIndex(O=>O.id===m.Id);A>-1&&(t.chatMessages[A].file=new ls(m.File))}}))},ft=()=>{d.add(i.onClientChatTyping.pipe(Cn(()=>c.chatFlowState===ri.Chat),lh(2e3),we(()=>{const m=new Ta({IdConversation:g});return t.get(m)})).subscribe({error:m=>{i.onError.next(m)}}))},_t=()=>{d.add(i.onClosed$.subscribe({next:m=>{r.hasCall.value&&r.removeDroppedCall(),te(m)}}))},et=()=>{d.add(i.onFileUpload.subscribe({next:m=>X(m)}))},ut=()=>{d.add(xo(document,"resize").subscribe(()=>{xi()&&K()}))};Mt(()=>{var m,A;ut(),o.show(),t.clearMessages(),C=((m=t.auth)==null?void 0:m.name)??"",d.add(i.onRestored.subscribe(()=>K())),me(),ge(),Ee(),De(),Xe(),Rt(),at(),ft(),_t(),et(),C=((A=t.auth)==null?void 0:A.name)||e.config.visitorName}),Xn(()=>{e.chatOnline||i.onEnableNotification.next()});const bn=Y(()=>s.isFullScreen);return{myWebRTCService:r,isInputFocused:f,enableTyping:U,isVideoActive:M,chatHistory:u,myChatService:t,ChatViewMessageType:_i,chatFlowControlService:c,isChatActive:re,isFullScreen:bn,onResendMessage:Q,onInputFocusChange:N,sendMessage:se,automatedFirstResponseHandle:ee,addChatMessage:W,t:l}}}),hI='.bar[data-v-46c34c4c]{border:0;padding:0;position:relative;display:block;width:100%}.bar[data-v-46c34c4c]:before{content:"";height:2px;width:0;bottom:0;position:absolute;background:var(--call-us-main-accent-color, var(--call-us-form-header-background, #0596D4));transition:.3s ease all;left:0}.materialInput[data-v-46c34c4c],.materialPhone[data-v-46c34c4c],.materialTextarea[data-v-46c34c4c]{position:relative;flex-grow:1;margin-bottom:5px}.materialInput label[data-v-46c34c4c],.materialPhone label[data-v-46c34c4c],.materialTextarea label[data-v-46c34c4c]{color:var(--call-us-main-font-color, #000000);font-size:calc(var(--call-us-font-size, 14px) - 3px);font-palette:dark;font-weight:400;position:absolute;pointer-events:none;left:var(--call-us-element-side-offset-small, 5px);top:10px;transition:.3s ease all}.materialInput textarea[data-v-46c34c4c],.materialPhone textarea[data-v-46c34c4c],.materialTextarea textarea[data-v-46c34c4c]{overflow-x:hidden;resize:none}.materialInput textarea:focus~label[data-v-46c34c4c],.materialInput textarea:valid~label[data-v-46c34c4c],.materialPhone textarea:focus~label[data-v-46c34c4c],.materialPhone textarea:valid~label[data-v-46c34c4c],.materialTextarea textarea:focus~label[data-v-46c34c4c],.materialTextarea textarea:valid~label[data-v-46c34c4c]{top:-30px;font-size:calc(var(--call-us-font-size, 14px) - 1px);color:var(--call-us-main-font-color, #000000)}.materialInput input[data-v-46c34c4c],.materialPhone input[data-v-46c34c4c],.materialTextarea input[data-v-46c34c4c]{background:var(--call-us-main-background-color, #FFFFFF)!important}.materialInput input:focus~label[data-v-46c34c4c],.materialInput input:valid~label[data-v-46c34c4c],.materialInput input:disabled~label[data-v-46c34c4c],.materialPhone input:focus~label[data-v-46c34c4c],.materialPhone input:valid~label[data-v-46c34c4c],.materialPhone input:disabled~label[data-v-46c34c4c],.materialTextarea input:focus~label[data-v-46c34c4c],.materialTextarea input:valid~label[data-v-46c34c4c],.materialTextarea input:disabled~label[data-v-46c34c4c]{top:-4px;font-size:calc(var(--call-us-font-size, 14px) - 1px);color:var(--call-us-main-font-color, #000000)}.materialInput.safari-input input[data-v-46c34c4c],.materialPhone.safari-input input[data-v-46c34c4c],.materialTextarea.safari-input input[data-v-46c34c4c]{font-size:calc(var(--call-us-font-size, 14px) + 2px)}.materialInput input[data-v-46c34c4c],.materialInput textarea[data-v-46c34c4c],.materialPhone input[data-v-46c34c4c],.materialPhone textarea[data-v-46c34c4c],.materialTextarea input[data-v-46c34c4c],.materialTextarea textarea[data-v-46c34c4c]{background:none;color:var(--call-us-main-font-color, #000000);font-size:calc(var(--call-us-font-size, 14px) - 1px);font-family:inherit;padding:7px 0 3px;display:block;width:100%;border:none;border-radius:0;border-bottom:1px solid var(--call-us-main-font-color, #000000)}.materialInput input[data-v-46c34c4c]:focus,.materialInput textarea[data-v-46c34c4c]:focus,.materialPhone input[data-v-46c34c4c]:focus,.materialPhone textarea[data-v-46c34c4c]:focus,.materialTextarea input[data-v-46c34c4c]:focus,.materialTextarea textarea[data-v-46c34c4c]:focus{outline:none}.materialInput input:focus~.bar[data-v-46c34c4c]:before,.materialInput textarea:focus~.bar[data-v-46c34c4c]:before,.materialPhone input:focus~.bar[data-v-46c34c4c]:before,.materialPhone textarea:focus~.bar[data-v-46c34c4c]:before,.materialTextarea input:focus~.bar[data-v-46c34c4c]:before,.materialTextarea textarea:focus~.bar[data-v-46c34c4c]:before{width:100%}.custom-scrollbar[data-v-46c34c4c]::-webkit-scrollbar,.chat-root .chat-container[data-v-46c34c4c]::-webkit-scrollbar{width:4px}.custom-scrollbar[data-v-46c34c4c]::-webkit-scrollbar-track,.chat-root .chat-container[data-v-46c34c4c]::-webkit-scrollbar-track{background:#f1f1f1}.custom-scrollbar[data-v-46c34c4c]::-webkit-scrollbar-thumb,.chat-root .chat-container[data-v-46c34c4c]::-webkit-scrollbar-thumb{background:#888}.custom-scrollbar[data-v-46c34c4c]::-webkit-scrollbar-thumb:hover,.chat-root .chat-container[data-v-46c34c4c]::-webkit-scrollbar-thumb:hover{background:#555}[data-v-46c34c4c]{box-sizing:border-box}.chat-root[data-v-46c34c4c]{position:relative;height:100%;display:flex;flex-direction:column;flex-grow:1}.chat-root .chat-container[data-v-46c34c4c]{overflow-y:auto;flex:1 1 auto;padding:var(--call-us-element-side-offset-small, 5px) var(--call-us-standart-right-left-padding, 11px) 0!important;block-size:1px}.chat-root .chat-container .indicator-container[data-v-46c34c4c]{display:flex;justify-content:flex-end;height:var(--call-us-font-size, 14px);line-height:var(--call-us-font-size, 14px)}.chat-root .chat-container div:last-of-type(-1) div[data-v-46c34c4c]{margin:0!important}.chat-root .chat-disabled-container[data-v-46c34c4c]{text-align:center;color:#646464;z-index:2;display:flex;flex:1 1 auto;flex-direction:row;justify-content:center;align-items:center;padding:var(--call-us-standart-right-left-padding, 11px) var(--call-us-standart-right-left-padding, 11px) 0!important;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:1em}',pI=".rate_svg svg[data-v-46c34c4c]{height:20px}.rate_text[data-v-46c34c4c]{margin-left:10px}",mI={class:R(["chat-root"])},gI={class:R(["indicator-container"])},bI={key:1,ref:"chatDisabledMessage",class:R(["chat-disabled-container"])};function vI(e,n,t,i,o,a){const r=le("notifier"),s=le("ChatMsg"),l=le("TypingIndicator"),c=le("ChatFooter");return k(),B("div",mI,[de(r,{config:e.config},null,8,["config"]),e.chatEnabled?(k(),B("div",{key:0,ref:"chatHistory",class:R([["chat-container"],e.isChatActive?"":["disabled"],e.myWebRTCService.hasCall.value&&!e.isChatUntilCall?["call"]:"",e.isVideoActive?["video"]:"",e.isFullScreen?["full-screen"]:""])},[(k(!0),B(rt,null,$b(e.myChatService.chatMessages,(u,f)=>(k(),B(rt,null,[u.viewType===e.ChatViewMessageType.Text||u.viewType===e.ChatViewMessageType.File?(k(),Se(s,{key:u.index,config:e.config,message:u,onResend:d=>e.onResendMessage(f)},null,8,["config","message","onResend"])):ae("",!0)],64))),256)),H("div",gI,[de(l,{style:{width:"100%",display:"flex","justify-content":"flex-end"},config:e.config},null,8,["config"])])],2)):(k(),B("div",bI,[H("div",null,Ae(e.t("Inputs.ChatIsDisabled")),1)],512)),de(c,{ref:"chatFooter",config:e.config,allowCall:e.allowCall,chatOnline:e.chatOnline,isChatActive:e.isChatActive,chatEnabled:e.chatEnabled,enableTyping:e.enableTyping,isChatUntilCall:e.isChatUntilCall,isCall:e.myWebRTCService.hasCall.value,onInputFocusChange:e.onInputFocusChange,onSendMessage:e.sendMessage},null,8,["config","allowCall","chatOnline","isChatActive","chatEnabled","enableTyping","isChatUntilCall","isCall","onInputFocusChange","onSendMessage"])])}const yI=je(dI,[["render",vI],["styles",[hI,pI]],["__scopeId","data-v-46c34c4c"]]),AI=Ve({name:"ActionButton",components:{GlyphiconMic:V4,GlyphiconMicoff:Y4},props:{title:{type:String,default:""},disabled:Boolean,muted:{type:Boolean,dafault:!1},isFsSupported:Boolean,isMinimizedWindow:{type:Boolean,default:!1}},setup(){const{t:e}=Tt();return{t:e}}}),wI="*{box-sizing:border-box}* button{font-family:inherit;width:100%;border:1px var(--call-us-plate-bg-with-gradient, linear-gradient(180deg, var(--call-us-plate-background-color, #494949) 0%, #282828 100%)) solid;padding:var(--call-us-element-side-offset-small, 5px) 10px;font-size:var(--call-us-font-size, 14px);outline:none;cursor:pointer;display:flex;align-items:center;justify-content:center}* button:disabled{opacity:.6;cursor:not-allowed}.mute-button,.unmute-button{border-radius:var(--call-us-round-button, 50%);margin:0;width:var(--call-us-calling-window-btn-size, 23px);height:var(--call-us-calling-window-btn-size, 23px);padding:4px 2.7px 3px;background:linear-gradient(180deg,#424242,#131313)}.mute-button:active,.unmute-button:active{transform:scale(.95)}.mute-button .icon,.unmute-button .icon{width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);fill:#fff}.mute-button .icon g rect,.unmute-button .icon g rect{fill:linear-gradient(180deg,#424242 0%,#131313 100%)}.cw-panel-button{color:#fff;height:var(--call-us-big-bottom-btn-height, 67px);border:1px solid #4F4F4F;width:100%;margin:0;background:none;display:flex;flex-direction:row;align-items:center;justify-content:center}.cw-panel-button:hover{opacity:.8}.cw-panel-button:active{transform:scale(.95)}.cw-panel-button span{margin-left:var(--call-us-element-side-offset-medium, 10px)}.cw-panel-button .icon{width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);fill:#fff}.cw-panel-button .icon g rect{fill:linear-gradient(180deg,#424242 0%,#131313 100%)}.cw-panel-button.with-fs{flex-direction:column}.cw-panel-button.with-fs span{margin:0}.cw-panel-button.with-fs svg{margin:0}.cw-unmute{background:#3c3c3c}",CI=["aria-label","disabled"],_I={key:0},EI=["aria-label","disabled"],SI={key:0};function MI(e,n,t,i,o,a){const r=le("GlyphiconMic"),s=le("GlyphiconMicoff");return k(),B("div",null,[e.muted?(k(),B("button",{key:1,id:"callUsUnmuteBtn",ref:"unmuteBtn",type:"button","aria-label":e.t("Inputs.UnmuteMic"),class:R([e.isMinimizedWindow?["unmute-button"]:[["cw-panel-button"],["cw-unmute"]],e.isFsSupported?["with-fs"]:""]),disabled:e.disabled,onClick:n[1]||(n[1]=cn(l=>e.$emit("click"),["prevent","stop"]))},[de(s,{class:R(["icon"])}),e.isMinimizedWindow?ae("",!0):(k(),B("span",SI,Ae(e.t("Inputs.UnmuteMic")),1))],10,EI)):(k(),B("button",{key:0,id:"callUsMuteBtn",ref:"muteBtn","aria-label":e.t("Inputs.MuteMic"),type:"button",class:R([e.isMinimizedWindow?["mute-button"]:["cw-panel-button"],e.isFsSupported?["with-fs"]:""]),disabled:e.disabled,onClick:n[0]||(n[0]=cn(l=>e.$emit("click"),["prevent","stop"]))},[de(r,{class:R(["icon"])}),e.isMinimizedWindow?ae("",!0):(k(),B("span",_I,Ae(e.t("Inputs.MuteMic")),1))],10,CI))])}const II=Ve({components:{WplcIcon:Ss,GlyphiconCall:qa,GlyphiconFullscreen:$4,InVideoFullScreen:U_,MuteButton:je(AI,[["render",MI],["styles",[wI]]])},directives:{object:Ba},props:{isChatUntilCall:{type:Boolean,default:!1},unreadMessages:{type:Number,default:0},allowCall:{type:Boolean,default:!1}},setup(e,n){const t=ue(en),i=Ot(),o=ue(wi),a=Os(t),r=Z(!1),s=Z(""),l=Y(()=>t.isVideoActive.value&&t.isFullscreenSupported()),c=ue(Eo),{t:u}=Tt();let f;return Xn(()=>{o.enableFullScreen&&!e.isChatUntilCall&&window.matchMedia("(orientation: landscape)").matches?o.goFullScreen():o.isFullScreen&&o.closeFullScreen(),i.add(t.phoneService.myCalls$.pipe(we(b=>{const y=new Date().getTime();return b.length===0&&!t.callDrop.value&&!r.value?(t.hasRecall.value=!0,f=window.setTimeout(()=>{n.emit("toggle",!1),t.hasRecall.value=!1,t.callDrop.value=!1},5e3),Ke(u("Inputs.NotRespondingStatusTitle"))):b.length>0&&b[0].isEstablished?(r.value=!0,Ty(1e3).pipe(yt(()=>new Date().getTime()-y),yt(g=>{const C=Math.floor(g/1e3),E=Math.floor(C/60);return`${E}:${(C-E*60).toString().padStart(2,"0")}`}))):b.length>0&&!b[0].isEstablished?(clearTimeout(f),Ke(u("Inputs.CallingStatusTitle"))):(b.length===0&&(t.callDrop.value||r.value)&&n.emit("toggle",!1),tn)})).subscribe({next:b=>{s.value=b}}))}),vo(()=>{o.enableFullScreen&&!e.isChatUntilCall&&o.goFullScreen()}),{isWebRtcAllowed:Vo,toggleChatTillCall:b=>{n.emit("toggle",b),o.enableFullScreen&&(b||window.matchMedia("(orientation: landscape)").matches?o.goFullScreen():o.closeFullScreen())},videoOutputClick:()=>{t.goFullScreen()},loadingService:c,isFullScreenSupported:l,timeString:s,toggleMute:()=>{t.mute()},t:u,...a}}}),TI="*{box-sizing:border-box}* button{font-family:inherit;width:100%;border:1px var(--call-us-plate-bg-with-gradient, linear-gradient(180deg, var(--call-us-plate-background-color, #494949) 0%, #282828 100%)) solid;padding:var(--call-us-element-side-offset-small, 5px) 10px;font-size:var(--call-us-font-size, 14px);outline:none;cursor:pointer;display:flex;align-items:center;justify-content:center}* button:disabled{opacity:.6;cursor:not-allowed}.calling-window-root .full-window,.calling-window-root .minimized{background:linear-gradient(180deg,#424242,#131313);color:#fff;display:flex}.calling-window-root .full-window{height:calc(100% - var(--call-us-big-bottom-btn-height, 67px))}.calling-window-root .full-window.loading-services{height:100%}.calling-window-root .full-window{position:absolute;top:0;z-index:var(--call-us-z-index-calling-window, 3);width:100%;border-top-left-radius:6px;border-top-right-radius:6px;flex-direction:column;justify-content:flex-end}.calling-window-root .full-window .call-status{text-align:center;margin-bottom:calc(var(--call-us-form-header-height, 123px) - 15px)}@media screen and (orientation: landscape) and (max-height: 540px){.calling-window-root .full-window .call-status{position:absolute;top:calc(var(--call-us-header-height, 40px) + 25px);left:72px;font-size:var(--call-us-font-size, 14px);font-weight:400}}@media screen and (orientation: landscape) and (max-height: 300px){.calling-window-root .full-window .call-status{display:none}}.calling-window-root .full-window .video-call-status{position:absolute;top:calc(var(--call-us-header-height, 40px) + 25px);left:72px;font-size:var(--call-us-font-size, 14px);font-weight:400}.calling-window-root .full-window .button-panel{display:flex;flex-direction:row}.calling-window-root .full-window .button-panel.with-fs button{flex-direction:column}.calling-window-root .full-window .button-panel.with-fs button span{margin:0}.calling-window-root .full-window .button-panel.with-fs button svg{margin:0}.calling-window-root .minimized{flex-wrap:nowrap;padding:0 var(--call-us-standart-right-left-padding, 11px) 0 var(--call-us-standart-right-left-padding, 11px);height:var(--call-us-minimized-calling-window-height, 47px);flex-direction:row;align-items:center;position:relative}.calling-window-root .minimized .call-status{height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:1}.cw-panel-button{color:#fff;height:var(--call-us-big-bottom-btn-height, 67px);border:1px solid #4F4F4F;width:100%;margin:0;background:none;display:flex;flex-direction:row;align-items:center;justify-content:center}.cw-panel-button:hover{opacity:.8}.cw-panel-button:active{transform:scale(.95)}.cw-panel-button span{margin-left:var(--call-us-element-side-offset-medium, 10px)}.cw-panel-button .icon{width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);fill:#fff}.cw-panel-button .icon g rect{fill:linear-gradient(180deg,#424242 0%,#131313 100%)}.cw-panel-button .open-chat-img-container{position:relative}.cw-panel-button .open-chat-img-container .unread-badge{position:absolute;background:#d80027;font-size:calc(var(--call-us-font-size, 14px) - 6px);width:12px;height:10px;top:-5px;right:-5px;border-radius:40%}.round-call-control-btn{border-radius:var(--call-us-round-button, 50%);margin:0;width:var(--call-us-calling-window-btn-size, 23px);height:var(--call-us-calling-window-btn-size, 23px)}.round-call-control-btn:active{transform:scale(.95)}.round-call-control-btn svg{width:var(--call-us-variable-button-size, 20px);height:var(--call-us-variable-button-size, 20px);fill:#fff}.round-call-control-btn.call-us{padding:2.7px 1.7px;background-color:#18ab00}.round-call-control-btn.call-us-drop{padding:5px 2.7px 3px;background:#d80027}.round-call-control-btn.call-us-drop svg{transform:var(--call-us-default-rotation-drop-call, rotate(135deg))}.cw-full-screen{padding:0;width:24px;height:24px;background:#080;border-radius:5px;background:#434343cc;position:absolute;right:10px;top:calc(10px - var(--call-us-video-output-height, 187px));z-index:99999}.cw-full-screen .rect{width:8px;height:8px}",OI={class:R(["calling-window-root"])},kI=["src"],xI={key:1,autoplay:""},RI=["aria-label"],NI={class:R(["open-chat-img-container"])},LI={key:0,class:R(["unread-badge"])},PI=["aria-label"],DI={key:3,ref:"minimizedWindow",class:R(["minimized"])},FI=["aria-label","disabled"],BI=["aria-label","disabled"],qI=["aria-label"];function UI(e,n,t,i,o,a){const r=le("WplcIcon"),s=le("MuteButton"),l=le("GlyphiconFullscreen"),c=le("GlyphiconCall"),u=le("InVideoFullScreen"),f=ca("object");return k(),B("div",OI,[e.myWebRTCService.audioNotificationUrl.value?(k(),B("audio",{key:0,src:e.myWebRTCService.audioNotificationUrl.value,autoplay:"",loop:""},null,8,kI)):ae("",!0),e.myWebRTCService.remoteStream.value?Zn((k(),B("audio",xI,null,512)),[[f,e.myWebRTCService.remoteStream.value]]):ae("",!0),e.isChatUntilCall?(k(),B("div",DI,[de(s,{id:"callUsMuteBtn",muted:e.myWebRTCService.media.isMuted,isMinimizedWindow:!0,class:"cw",disabled:e.myWebRTCService.hasTryingCall.value,onClick:e.toggleMute},null,8,["muted","disabled","onClick"]),H("div",{class:R(["call-status"]),onClick:n[2]||(n[2]=d=>e.toggleChatTillCall(!1))},Ae(e.timeString),1),e.allowCall&&!e.myWebRTCService.hasCall.value?(k(),B("button",{key:0,id:"callBtn","aria-label":e.t("Inputs.CallTitle"),class:R([["round-call-control-btn"],["call-us"]]),type:"button",disabled:!e.isWebRtcAllowed,onClick:n[3]||(n[3]=()=>e.makeCall())},[de(c,{class:R(["call-icon"])})],8,FI)):(k(),B("button",{key:1,id:"dropBtn","aria-label":e.t("Inputs.EndCallTitle"),class:R([["round-call-control-btn"],["call-us-drop"]]),type:"button",disabled:e.myWebRTCService.hasTryingCall.value,onClick:n[4]||(n[4]=(...d)=>e.dropCall&&e.dropCall(...d))},[de(c,{class:R(["drop-icon"])})],8,BI)),e.isFullScreenSupported?(k(),B("button",{key:2,id:"fsBtnMinimized","aria-label":e.t("Inputs.FullScreen"),type:"button",class:R(["cw-full-screen"]),onClick:n[5]||(n[5]=d=>e.videoOutputClick())},[de(u)],8,qI)):ae("",!0)],512)):(k(),B("div",{key:2,ref:"fullWindow",class:R([["full-window"],e.loadingService.loading()||e.myWebRTCService.hasRecall.value&&!e.allowCall?["loading-services"]:""])},[H("div",{ref:"status",class:R(e.myWebRTCService.isVideoActive.value?["video-call-status"]:["call-status"])},Ae(e.timeString),3),H("div",{class:R([["button-panel"],e.isFullScreenSupported?["with-fs"]:""])},[H("button",{id:"openChatBtn",type:"button","aria-label":e.t("Auth.Submit"),class:R([["cw-panel-button"],["open-chat"]]),onClick:n[0]||(n[0]=d=>e.toggleChatTillCall(!0))},[H("div",NI,[de(r,{class:R(["icon"])}),e.unreadMessages>0?(k(),B("span",LI,Ae(e.unreadMessages<100?e.unreadMessages:"99"),1)):ae("",!0)]),H("span",null,Ae(e.t("Auth.Submit")),1)],8,RI),de(s,{id:"callUsMuteBtn",muted:e.myWebRTCService.media.isMuted,style:{width:"100%"},isMinimizedWindow:!1,class:"cw",disabled:e.myWebRTCService.hasTryingCall.value,isFsSupported:e.isFullScreenSupported,onClick:e.toggleMute},null,8,["muted","disabled","isFsSupported","onClick"]),e.isFullScreenSupported?(k(),B("button",{key:0,id:"fsBtn",type:"button","aria-label":e.t("Inputs.FullScreen"),class:R(["cw-panel-button"]),onClick:n[1]||(n[1]=d=>e.videoOutputClick())},[de(l,{class:R(["icon"])}),H("span",null,Ae(e.t("Inputs.FullScreen")),1)],8,PI)):ae("",!0)],2)],2))])}const $I=Ve({components:{Panel:xf,CallUsHeader:nm,OverlayMessage:JE,Chat:yI,CallingWindow:je(II,[["render",UI],["styles",[TI]]])},props:{chatEnabled:Boolean,chatOnline:Boolean,startMinimized:Boolean,enableAuthForm:Boolean,config:{type:Object,default:()=>{}},isQueue:{type:Boolean,default:!1},operator:{type:Object,default:()=>Oi}},setup(e){const n=ue(wi),t=ue(Ln),i=ue(zt),o=ue(ic),a=ue(Eo),r=ue(Aa),s=ue(en),l=Tt();e.chatOnline&&(o.isChatActive()||e.enableAuthForm)&&(a.show(),t.reconnect());const c=Z(""),u=Z(Wo.try),f=Z(!1),d=Z(!1),p=Z(!1),h=Z(""),b=Z(!1);let y=-1;const g=Z(0),C=Z(!1),E=Z(0),x=Y(()=>!e.chatEnabled||f.value),M=Y(()=>t.chatMessages.filter(q=>q.isLocal).length>0||s.hadCall.value),U=ye.Chat,N=Ot(),K=()=>{b.value=!0,i.onAttendChat.next(),i.onClosed.next(new ks({notifyServer:!0,closedByClient:!0,chatUniqueCode:y}))},re=()=>{E.value+=1},W=()=>{N.add(t.mySession$.pipe(Fn(1),we(q=>q.sessionState===Bn.Connected&&M.value?(s.clearCallMemo(),s.callDrop.value=!0,s.hasRecall.value=!1,q.get(new Bc({IdConversation:q.chatConversationId,CloseReason:o3.ECCR_LogoutByAnonymous}))):tn)).subscribe({error:q=>{K(),i.onError.next(q)},complete:()=>{K()}}))},ee=()=>{var q;if(c.value="",u.value===Wo.restart){h.value=jn("ChatEndMessage",[e.config.endingMessage,l.t("Inputs.EndingMessage").toString()]);const z=((q=t.auth)==null?void 0:q.name)??"";h.value=h.value.replace("%NAME%",z),i.onClosed.next(new ks({notifyServer:!1,closedByClient:!1,chatUniqueCode:y}))}},he=()=>{g.value++},Be=q=>{C.value=q,q&&(E.value=0)},se=()=>{const q=t.mySession$.pipe(Ci(z=>{z.sessionState===Bn.Error&&(z.error===l.t("Inputs.ServiceUnavailable")?f.value=!0:c.value=z.error??"",u.value=Wo.restart,Fa(c.value),a.hide())}));e.isQueue&&!e.config.ignoreQueueownership?(d.value=!1,p.value=!1,N.add(q.pipe(we(z=>z.conversation$),yt(z=>!z.QueueNo||z.TakenBy),Ma()).subscribe({next:z=>{z?(d.value=e.config.allowCall,p.value=e.config.allowVideo):(d.value=!1,p.value=!1)}}))):N.add(q.subscribe({next:()=>{d.value=e.config.allowCall,p.value=e.config.allowVideo}}))};Mt(()=>{N.add(i.onLoaded.subscribe({next:q=>{he(),q&&(t.reconnect(),se())}})),se(),N.add(i.onClosed.subscribe({next:()=>{o.dropSession().subscribe({next:()=>{a.hide(),t.closeSession(),r==null||r.dispatchEvent("chat_complete","ChatCompleted")},error:q=>{a.hide(),i.onError.next(q)}})}})),N.add(i.onError.subscribe({next:q=>{c.value=yf(q),u.value=Wo.ok,Fa(c.value),a.hide()}})),N.add(t.notificationsOfType$(Da).subscribe({next:q=>{q.idConversation!==y&&(y=q.idConversation)}}))});const Q=Y(()=>s.hasCall.value||s.hasRecall.value);return{myChatService:t,fullscreenService:n,currentState:U,notificationMessage:c,notificationButtonType:u,allowCall:d,allowVideo:p,ViewState:ye,chatComponentKey:g,isChatOpenTillCall:C,isCallingWindow:Q,unreadMessages:E,chatDisabled:x,onClose:W,onErrorFormSubmit:ee,setupChatServiceSubscriptions:se,toggleChatTillCall:Be,addUnreadMessage:re}}}),jI="[data-v-46b75349]{box-sizing:border-box}.phone-toolbar[data-v-46b75349]{padding-left:var(--call-us-element-side-offset-medium, 10px);padding-right:var(--call-us-element-side-offset-medium, 10px);background:var(--call-us-dialer-background, white);border-bottom:thin solid var(--call-us-border-color, darkgray);box-shadow:0 4px 8px #0003,0 6px 20px #00000030;flex-grow:1}.call-us-toolbar{display:flex;flex-direction:row;justify-content:center}.call-us-toolbar{width:31px;height:31px;background-color:transparent;border-radius:var(--call-us-round-button, 50%)}.root[data-v-46b75349]{font-size:var(--call-us-font-size, 14px)}.chat[data-v-46b75349]{overflow-y:hidden;transition:height .2s ease-in-out}";function zI(e,n,t,i,o,a){const r=le("OverlayMessage"),s=le("CallUsHeader"),l=le("CallingWindow"),c=le("Chat"),u=le("Panel");return k(),Se(u,{ref:"panelComponent",auth:e.myChatService.auth,allowMinimize:e.config.allowMinimize,startMinimized:e.startMinimized,config:e.config,operator:e.operator,panelState:e.currentState,allowFullscreen:!0,isCallingWindow:e.isCallingWindow&&!e.isChatOpenTillCall,onClose:n[2]||(n[2]=f=>e.onClose())},{overlay:Gt(()=>[e.notificationMessage?(k(),Se(r,{key:0,ref:"overlayMessageComponent",message:e.notificationMessage,button:e.notificationButtonType,onSubmit:n[0]||(n[0]=f=>e.onErrorFormSubmit())},null,8,["message","button"])):ae("",!0)]),"panel-top":Gt(()=>[de(s,{currentState:e.currentState,config:e.config,allowVideo:e.allowVideo,allowCall:e.allowCall,operator:e.operator,isFullScreen:e.fullscreenService.isFullScreen,chatOnline:e.chatOnline,isChatUntilCall:e.isChatOpenTillCall,onClose:n[1]||(n[1]=f=>e.onClose())},null,8,["currentState","config","allowVideo","allowCall","operator","isFullScreen","chatOnline","isChatUntilCall"]),e.isCallingWindow?(k(),Se(l,{key:0,ref:"callingWindow",allowCall:e.allowCall,isChatUntilCall:e.isChatOpenTillCall,config:e.config,unreadMessages:e.unreadMessages,onToggle:e.toggleChatTillCall},null,8,["allowCall","isChatUntilCall","config","unreadMessages","onToggle"])):ae("",!0)]),"panel-content":Gt(()=>[e.currentState===e.ViewState.Chat?(k(),Se(c,{slot:"panel-content",key:e.chatComponentKey,ref:"chatComponent",class:R("chat"),chatOnline:e.chatOnline,chatEnabled:!e.chatDisabled,config:e.config,operator:e.operator,isChatUntilCall:e.isChatOpenTillCall,allowCall:e.allowCall,onAddUnreadMessage:e.addUnreadMessage},null,8,["chatOnline","chatEnabled","config","operator","isChatUntilCall","allowCall","onAddUnreadMessage"])):ae("",!0)]),_:1},8,["auth","allowMinimize","startMinimized","config","operator","panelState","isCallingWindow"])}const VI=je($I,[["render",zI],["styles",[jI]],["__scopeId","data-v-46b75349"]]);function HI(e,n,t){return e?!1:n!==vt.None||t}const WI={components:{IntroForm:I6,AuthenticateForm:VE,MainForm:VI,MinimizedBubble:z1},props:p1,setup(e){const n=Z(null),t=Z(ye.None),i=Z(vt.None),o=Z(!1),a=Z(!1),r=Z(!1),s=Z(!0),l=Z(!1),c=Z([]),u=!1,f=Z(!1),d=Ot(),{i18n:p,...h}=m1(e,!1),{t:b}=p.global,y=Nt(new ci),g=Z(!1),C=Z(!0),E=Nt(h.eventBus),x=Nt(h.loadingService),M=Nt(h.myChatService),U=M.channel,N=Nt(new yC),K=Nt(new AC(e.enableGa==="true"));$t(wi,N),$t(Aa,K),$t(ic,U),$t(Ln,M),$t(zt,E),$t(Eo,x);const re=()=>{var te;let D;switch((te=e.authentication)==null?void 0:te.toLowerCase()){case"name":D=vt.Name;break;case"both":D=vt.Both;break;case"email":D=vt.Email;break;default:D=vt.None;break}return D},W=(()=>{var Rt,at,ft;const D=Vo&&e.allowCall==="true",te=e.allowVideo==="true",X=e.phonesystemUrl,me=e.minimizedStyle.toLowerCase()==="bubbleleft"?ni.BubbleLeft:ni.BubbleRight;let ge;switch(e.animationStyle.toLowerCase()){case"slidefromside":{ge=Jt.SlideLeft;break}case"fadein":{ge=Jt.FadeIn;break}case"slideup":{ge=Jt.SlideUp;break}default:ge=Jt.None}let Ee;switch(e.greetingVisibility.toLowerCase()){case"desktop":{Ee=Xt.Desktop;break}case"mobile":{Ee=Xt.Mobile;break}case"both":{Ee=Xt.Both;break}default:Ee=Xt.None}let De;switch(e.greetingOfflineVisibility.toLowerCase()){case"desktop":{De=Xt.Desktop;break}case"mobile":{De=Xt.Mobile;break}case"both":{De=Xt.Both;break}default:De=Xt.None}const Xe=ki(e.operatorName??"");return{enablePoweredby:e.enablePoweredby==="true",animationStyle:ge,minimizedStyle:me,windowTitle:ki(e.windowTitle??b("Inputs.WindowTitle")),allowSoundNotifications:e.allowSoundnotifications==="true",enableMute:e.enableMute==="true",facebookIntegrationUrl:TC(e.facebookIntegrationUrl,""),twitterIntegrationUrl:OC(e.twitterIntegrationUrl,""),emailIntegrationUrl:IC(e.emailIntegrationUrl,""),operatorName:Xe===""?b("Inputs.OperatorName").toString():Xe,operatorIcon:e.operatorIcon||"",userIcon:e.userIcon||"",allowCall:D,allowVideo:te,allowMinimize:e.allowMinimize==="true",inviteMessage:ki(e.inviteMessage??b("Inputs.InviteMessage"),250),endingMessage:ki(e.endingMessage??b("Inputs.EndingMessage"),250),unavailableMessage:ki(e.unavailableMessage??b("Inputs.UnavailableMessage"),250),firstResponseMessage:ki(e.firstResponseMessage,250),party:e.party,channelUrl:X,windowIcon:e.windowIcon||"",buttonIcon:MC(e.buttonIcon,""),buttonIconType:((Rt=e.buttonIconType)==null?void 0:Rt.toLowerCase())||"default",enableOnmobile:e.enableOnmobile==="false",enable:e.enable==="true",ignoreQueueownership:e.ignoreQueueownership==="true",showOperatorActualName:e.showOperatorActualName==="true",authenticationType:re(),acknowledgeReceived:e.aknowledgeReceived==="true",gdprEnabled:e.gdprEnabled==="true",filesEnabled:e.filesEnabled==="true",gdprMessage:e.gdprMessage&&e.gdprMessage.trim()!==""?e.gdprMessage.trim():b("Auth.GdprDefaultMessage").toString(),chatIcon:e.chatIcon,chatLogo:e.chatLogo,demo:e.demo==="true",messageDateformat:(at=e.messageDateformat)==null?void 0:at.toLowerCase(),messageUserinfoFormat:(ft=e.messageUserinfoFormat)==null?void 0:ft.toLowerCase(),soundnotificationUrl:e.soundnotificationUrl,visitorEmail:e.visitorEmail,visitorName:e.visitorName,authenticationMessage:ki(e.authenticationMessage,250),startChatButtonText:e.startChatButtonText??b("Auth.Submit"),offlineNameMessage:e.offlineNameMessage??b("Offline.OfflineNameMessage"),offlineEmailMessage:e.offlineEmailMessage??b("Offline.OfflineEmailMessage"),offlineFinishMessage:e.offlineFinishMessage??b("Inputs.OfflineMessageSent"),greetingVisibility:Ee,greetingMessage:e.greetingMessage??b("Inputs.GreetingMessage"),greetingOfflineVisibility:De,greetingOfflineMessage:e.greetingOfflineMessage??b("Inputs.GreetingMessage"),offlineFormInvalidEmail:e.offlineFormInvalidEmail??b("Offline.OfflineFormInvalidEmail"),offlineFormMaximumCharactersReached:e.offlineFormMaximumCharactersReached??b("Auth.MaxCharactersReached"),offlineFormInvalidName:e.offlineFormInvalidName??b("Offline.OfflineFormInvalidName"),enableDirectCall:e.enableDirectCall==="true"}})(),ee=new S1(h.myChatService,W.demo);$t(en,ee),ee.webRTCControlService.setWebRtcCodecs(c.value);const he=Y(()=>{let D="NONE";return t.value===ye.Chat||!C.value&&t.value===ye.Authenticate?D="CHAT":t.value===ye.Authenticate&&(C.value||e.allowCall==="false")&&(D="AUTH"),t.value===ye.Intro&&e.allowCall==="true"?D="INTRO":t.value===ye.Disabled&&(D="DISABLED"),D}),Be=D=>{let te=!0;return e.forceToOpen==="true"?te=!1:o.value||(e.popupWhenOnline==="true"?D&&(te=!1):te=xi(!0)),te},se=()=>{d.add(h.info$.subscribe({next:D=>{if(t.value=ye.Authenticate,s.value=!0,h.loadingService.hide(),M.isAvaliable=D.isAvailable,l.value=D.isQueue,c.value=D.webRtcCodecs,r.value=D.isChatEnabled===void 0?!0:D.isChatEnabled,o.value=Be(D.isAvailable),a.value=o.value,W.showOperatorActualName&&!D.isQueue?Object.assign(y,new ci({name:D.operator.name||W.operatorName,image:D.operator.image||W.operatorIcon})):Object.assign(y,new ci({name:W.operatorName,image:W.operatorIcon})),!D.isChatEnabled&&!W.enableDirectCall)t.value=ye.Authenticate,s.value=!1;else if(!D.isChatEnabled&&W.enableDirectCall)t.value=ye.Intro,s.value=!1;else if(h.currentChannel.isChatActive()){t.value=ye.Chat,s.value=!0;const te=sessionStorage.getItem("callus.collapsed");a.value=!!te&&te==="1"}else W.enableDirectCall?(t.value=ye.Intro,s.value=!0):(t.value=ye.Authenticate,s.value=!0);N.enableFullScreen&&t.value!==ye.Intro&&!o.value&&N.goFullScreen(),h.eventBus.onLoaded.next(h.currentChannel.isChatActive())},error:D=>{t.value=ye.Disabled}}))},Q=()=>{setTimeout(()=>{g.value=!0},e.chatDelay)},q=(D=!1)=>{HI(h.myChatService.auth,i.value,W.gdprEnabled)&&C.value&&!D?t.value=ye.Authenticate:t.value=ye.Chat,N.enableFullScreen&&N.goFullScreen(),o.value=!1,a.value=!1},z=()=>{h.eventBus.onChatInitiated.next(!0),t.value=ye.Chat,a.value=!1};return Mt(()=>{if(mC(M,d),E1(ee,d),d.add(h.preloadOperations$.subscribe({next:te=>{if(te){const X=localStorage.getItem("chatInfoGuid");X&&e.assetsGuid!==X&&localStorage.removeItem("chatInfo"),localStorage.setItem("chatInfoGuid",e.assetsGuid)}}})),Q(),h.loadingService.show(),N.enableFullScreen=xi(!0),f.value=e.enableOnmobile==="false"&&e.forceToOpen==="false"||e.enable==="false",f.value)return;i.value=re();const D=e.minimized==="false"?"none":e.minimized==="true"?"both":e.minimized;e.forceToOpen==="true"?o.value=!1:o.value=D==="both"||u||D==="mobile",d.add(h.eventBus.onRestart.subscribe({next:()=>{o.value=!1,h.loadingService.show(),se()}})),d.add(h.eventBus.onRestored.subscribe({next:()=>{t.value===ye.Authenticate&&W.enableDirectCall&&(t.value=ye.Intro)}})),se()}),Pl(()=>{M.closeSession(),d.unsubscribe(),ee.removeFullScreenListeners(),f.value=!0}),md(()=>{f.value=!1}),{root:n,chatForm:he,delayElapsed:g,currentChannel:U,isHidden:f,authWindowMinimized:o,config:W,operator:y,isChatEnabled:r,chatOnline:s,mainWindowMinimized:a,enableAuthForm:C,viewState:t,isQueue:l,webRtcCodecs:c,onStartChat:q,authenticateFormSubmit:z,loadChannelInfo:se,authenticationType:i,eventBus:E}}},YI="*{box-sizing:border-box}* button{font-family:inherit;width:100%;border:1px var(--call-us-plate-bg-with-gradient, linear-gradient(180deg, var(--call-us-plate-background-color, #494949) 0%, #282828 100%)) solid;padding:var(--call-us-element-side-offset-small, 5px) 10px;font-size:var(--call-us-font-size, 14px);outline:none;cursor:pointer;display:flex;align-items:center;justify-content:center}* button:disabled{opacity:.6;cursor:not-allowed}",GI={key:0,id:"callus-container",ref:"root"};function QI(e,n,t,i,o,a){const r=le("IntroForm"),s=le("AuthenticateForm"),l=le("MainForm"),c=le("MinimizedBubble");return i.delayElapsed&&!i.isHidden?(k(),B("div",GI,[i.chatForm==="INTRO"?(k(),Se(r,{key:0,startMinimized:i.authWindowMinimized,config:i.config,webRtcCodecs:i.webRtcCodecs,operator:i.operator,onChat:i.onStartChat},null,8,["startMinimized","config","webRtcCodecs","operator","onChat"])):i.chatForm==="AUTH"?(k(),Se(s,{key:1,startMinimized:i.authWindowMinimized,config:i.config,chatEnabled:i.isChatEnabled,operator:i.operator,onSubmitAuth:i.authenticateFormSubmit},null,8,["startMinimized","config","chatEnabled","operator","onSubmitAuth"])):i.chatForm==="CHAT"?(k(),Se(l,{key:2,chatEnabled:i.isChatEnabled,chatOnline:i.chatOnline,isQueue:i.isQueue,startMinimized:i.mainWindowMinimized,operator:i.operator,config:i.config,enableAuthForm:i.enableAuthForm},null,8,["chatEnabled","chatOnline","isQueue","startMinimized","operator","config","enableAuthForm"])):i.chatForm==="DISABLED"?(k(),Se(c,{key:3,collapsed:!0,config:i.config,operator:i.operator,paneltate:i.viewState,disabled:!0},null,8,["config","operator","paneltate"])):ae("",!0)],512)):ae("",!0)}const KI=je(WI,[["render",QI],["styles",[YI]]]);class ZI extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const n=this.getAttribute("phonesystem-url");this.getAttribute("auto");const t=this.getAttribute("party");t&&n&&this.init(t,n)}async init(n,t){const i=new URL(`/MyPhone/config/${n}`,t);return fetch(i.href).then(o=>{if(!o.ok)throw new Error("Information request failed");return o.json()}).then(o=>{var l,c,u,f;const a=((l=o.Advanced)==null?void 0:l.CommunicationOptions)==="PhoneOnly",r=a?M1(o,i.href):Of(o,i.href),s=document.createElement(a?"call-us-phone":"call-us");if((c=o.Styling)!=null&&c.UseRubik){const d=document.createElement("style");d.setAttribute("type","text/css"),d.appendChild(document.createTextNode("@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;600&display=swap');")),document.head.appendChild(d)}s.setAttribute("lang",((u=o.ChatBox)==null?void 0:u.LiveChatLanguage)??"browser"),Array.from(this.attributes).filter(d=>d&&d.name&&d.value).forEach(d=>{s.setAttribute(d.name,d.value)}),r.filter(d=>d).forEach(d=>{const p=this.getAttribute(d.name);s.setAttribute(d.name,p||d.value)}),(f=this.shadowRoot)==null||f.appendChild(s),this.addEventListener("keydown",d=>{d.stopPropagation()})}).catch(o=>{var s;const a=document.createElement("call-us");a.setAttribute("lang","browser"),Of({},i.href).filter(l=>l).forEach(l=>{const c=this.getAttribute(l.name);a.setAttribute(l.name,c||l.value)}),(s=this.shadowRoot)==null||s.appendChild(a)})}}const JI=Ve({directives:{object:Ba},components:{GlyphiconCall:qa,ToolbarButton:j1},props:{disabled:Boolean,allowCall:Boolean,callTitle:{type:String,default:""}},setup(){const e=ue(en),n=Os(e);return{isWebRtcAllowed:Vo,...n}}}),XI="*{box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{animation-duration:1s;animation-fill-mode:both;animation-name:fadeIn;animation-delay:.5s}.slideLeft{animation:slideLeft 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideLeft{0%{transform:translate(130%)}to{transform:translate(0)}}.slideRight{animation:slideRight 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideRight{0%{transform:translate(-130%)}to{transform:translate(0)}}.slideUp{animation:slideUp 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideUp{0%{transform:translateY(130%)}to{transform:translateY(0)}}.nudge{animation:nudge 1s ease-in}@keyframes nudge{0%{opacity:0}to{opacity:1}}@keyframes fly-in{0%{transform:scale(.85) translateY(10%);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.fly-in{transition:all .5s;animation-duration:.3s;animation-name:fly-in}@keyframes show-with-delay{0%{opacity:0}to{opacity:1}}.show-with-delay{animation-name:show-with-delay;animation-duration:0s;animation-delay:3s;animation-fill-mode:both}.spin{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.root-cb .single-button{box-shadow:0 4px 8px #0003,0 6px 20px #00000030;margin:0;background-color:var(--call-us-form-header-background, #373737)}.root-cb .single-button svg{fill:#fff}.root-cb .single-button svg rect{fill:var(--call-us-form-header-background, #373737)}.root-cb .bubble{border-radius:var(--call-us-round-button, 50%);width:var(--call-us-main-button-width, 60px);height:var(--call-us-main-button-width, 60px)}.root-cb .bubble svg{padding:var(--call-us-element-side-offset-medium, 10px)}.root-cb .button-end-call svg{transform:var(--call-us-default-rotation-drop-call, rotate(135deg))}",eT={key:0,class:R([["root-cb"]])},tT=["src"],nT={key:1,autoplay:""};function iT(e,n,t,i,o,a){const r=le("GlyphiconCall"),s=le("ToolbarButton"),l=ca("object");return e.myWebRTCService?(k(),B("div",eT,[e.myWebRTCService.audioNotificationUrl.value?(k(),B("audio",{key:0,src:e.myWebRTCService.audioNotificationUrl.value,autoplay:"",loop:""},null,8,tT)):ae("",!0),e.myWebRTCService.remoteStream.value?Zn((k(),B("audio",nT,null,512)),[[l,e.myWebRTCService.remoteStream.value]]):ae("",!0),e.myWebRTCService.hasCall.value?(k(),Se(s,{key:3,ref:"singleButton",class:R([["single-button"],"bubble",["button-end-call"]]),onClick:e.dropCall},{default:Gt(()=>[de(r)]),_:1},8,["onClick"])):(k(),Se(s,{key:2,disabled:!e.isWebRtcAllowed||e.disabled,class:R([["single-button"],"bubble"]),title:e.callTitle,onClick:e.makeCall},{default:Gt(()=>[de(r)]),_:1},8,["disabled","title","onClick"]))])):ae("",!0)}const oT=Ve({components:{CallButton:je(JI,[["render",iT],["styles",[XI]]])},props:p1,setup(e){const n=Z(ye.None),t=Z(!1),i=Z(!1),o=e.demo==="true",a=m1(e,!0),r=Nt(a.eventBus),s=new S1(a.myChatService,o),{t:l}=an.global,c=Ot();$t(en,s),$t(zt,r);const u=Y(()=>{switch(e.animationStyle.toLowerCase()){case"slideleft":return["slideLeft"];case"slideright":return["slideRight"];case"fadein":return["fadeIn"];case"slideup":return["slideUp"]}return[]}),f=Y(()=>xi()&&e.enableOnmobile==="false"||e.enable==="false"),d=Y(()=>n.value===ye.Disabled),p=b=>!b.isAvailable,h=Y(()=>{if(n.value!==ye.Disabled){const b=ki(e.callTitle??l("Inputs.CallTitle"),250);return kt("CallTitle",[b,l("Inputs.CallTitle").toString()])}return""});return Mt(()=>{E1(s,c),setTimeout(()=>{t.value=!0},e.chatDelay),!f.value&&(c.add(r.onError.subscribe({next:b=>alert(yf(b))})),c.add(a.info$.subscribe({next:b=>{p(b)&&(n.value=ye.Disabled),s.webRTCControlService.setWebRtcCodecs(b.webRtcCodecs)},error:b=>{console.log(b),n.value=ye.Disabled}})))}),Pl(()=>{c.unsubscribe(),i.value=!0}),{delayElapsed:t,eventBus:r,animationsCallUs:u,isHidden:f,callTitleHover:h,viewState:n,isDisabled:d,invisible:i}}}),aT="*{box-sizing:border-box}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{animation-duration:1s;animation-fill-mode:both;animation-name:fadeIn;animation-delay:.5s}.slideLeft{animation:slideLeft 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideLeft{0%{transform:translate(130%)}to{transform:translate(0)}}.slideRight{animation:slideRight 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideRight{0%{transform:translate(-130%)}to{transform:translate(0)}}.slideUp{animation:slideUp 1s cubic-bezier(.25,.46,.45,.94) .5s both}@keyframes slideUp{0%{transform:translateY(130%)}to{transform:translateY(0)}}.nudge{animation:nudge 1s ease-in}@keyframes nudge{0%{opacity:0}to{opacity:1}}@keyframes fly-in{0%{transform:scale(.85) translateY(10%);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.fly-in{transition:all .5s;animation-duration:.3s;animation-name:fly-in}@keyframes show-with-delay{0%{opacity:0}to{opacity:1}}.show-with-delay{animation-name:show-with-delay;animation-duration:0s;animation-delay:3s;animation-fill-mode:both}.spin{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.root-phone{display:inline-block}.root-phone :global(.call-us-toolbar){display:flex;flex-direction:row;justify-content:center}.root-phone :global(.call-us-toolbar) button{width:var(--call-us-main-button-width, 60px);height:var(--call-us-main-button-width, 60px);background-color:var(--call-us-form-header-background, #373737);border-radius:var(--call-us-round-button, 50%)}.root-phone button{box-shadow:0 4px 8px #0003,0 6px 20px #00000030}",rT={key:0,id:"callus-phone-container"};function sT(e,n,t,i,o,a){const r=le("CallButton");return e.delayElapsed&&!e.invisible?(k(),B("div",rT,[H("div",{class:R([e.animationsCallUs,e.isHidden?"":["root-phone"]])},[e.isHidden?ae("",!0):(k(),Se(r,{key:0,allowCall:!0,callTitle:e.callTitleHover,disabled:e.isDisabled},null,8,["callTitle","disabled"]))],2)])):ae("",!0)}const lT=je(oT,[["render",sT],["styles",[aT]]]);function Mm(e){e.use(an)}window.customElements.define("call-us-selector",ZI);const cT=E0(KI,{configureApp:Mm});window.customElements.define("call-us",cT);const fT=E0(lT,{configureApp:Mm});window.customElements.define("call-us-phone",fT),Wt.generateCallUsProperties=M1,Wt.generateLiveChatProperties=Of,Object.defineProperty(Wt,Symbol.toStringTag,{value:"Module"})});
var wpcf7_redirect;
(function ($){
function Wpcf7_redirect(){
this.init=function (){
this.wpcf7_redirect_mailsent_handler();
};
this.wpcf7_redirect_mailsent_handler=function (){
document.addEventListener('wpcf7mailsent', function (event){
$(document.body).trigger('wpcf7r-mailsent', [event]);
if(typeof event.detail.apiResponse!='undefined'&&event.detail.apiResponse){
var apiResponse=event.detail.apiResponse;
var actionDelay=0;
if(typeof apiResponse.api_url_request!='undefined'&&apiResponse.api_url_request){
wpcf7_redirect.handle_api_action(apiResponse.api_url_request);
}
if(typeof apiResponse.api_json_xml_request!='undefined'&&apiResponse.api_json_xml_request){
wpcf7_redirect.handle_api_action(apiResponse.api_json_xml_request);
}
if(typeof apiResponse.FireScript!='undefined'&&apiResponse.FireScript){
actionDelay=typeof apiResponse.FireScript.delay_redirect!='undefined' ? apiResponse.FireScript.delay_redirect:actionDelay;
window.setTimeout(function (){
wpcf7_redirect.handle_javascript_action(apiResponse.FireScript);
}, actionDelay);
}
if(typeof apiResponse.popup!='undefined'&&apiResponse.popup){
wpcf7_redirect.handle_popups(apiResponse.popup);
}
if(typeof apiResponse.redirect_to_paypal!='undefined'&&apiResponse.redirect_to_paypal){
actionDelay=typeof apiResponse.redirect_to_paypal.delay_redirect!='undefined' ? apiResponse.redirect_to_paypal.delay_redirect:actionDelay;
window.setTimeout(function (){
wpcf7_redirect.handle_redirect_action(apiResponse.redirect_to_paypal);
}, actionDelay);
}
if(typeof apiResponse.redirect!='undefined'&&apiResponse.redirect){
actionDelay=typeof apiResponse.redirect.delay_redirect!='undefined' ? apiResponse.redirect.delay_redirect:actionDelay;
window.setTimeout(function (){
wpcf7_redirect.handle_redirect_action(apiResponse.redirect);
}, actionDelay);
}}
}, false);
document.addEventListener('wpcf7invalid', function (event){
$(document.body).trigger('wpcf7r-invalid', [event]);
if(typeof event.detail.apiResponse!='undefined'&&event.detail.apiResponse){
response=event.detail.apiResponse;
if(response.invalidFields){
wpcf7_redirect.ninja_multistep_mov_to_invalid_tab(event, response);
}}
});
};
this.handle_popups=function (popups){
$(document.body).trigger('wpcf7r-before-open-popup', [event]);
$.each(popups, function (k, popup){
var $new_elem=$(popup['popup-template']);
$(document.body).append($new_elem);
$(document.body).addClass(popup['template-name']);
window.setTimeout(function (){
$(document.body).addClass('modal-popup-open');
$new_elem.addClass('is-open');
}, 1000);
$new_elem.find('.close-button').on('click', function (){
$new_elem.removeClass('is-open').addClass('fade');
$(document.body).removeClass('modal-popup-open');
window.setTimeout(function (){
$('.wpcf7r-modal').remove();
$(document.body).trigger('wpcf7r-popup-removed', [$new_elem]);
}, 4000);
});
$(document.body).trigger('wpcf7r-popup-appended', [$new_elem]);
});
}
this.handle_api_action=function (send_to_api_result, request){
$.each(send_to_api_result, function (k, v){
if(!v.result_javascript){
return;
}
response=typeof v.api_response!='undefined' ? v.api_response:'';
request=typeof v.request!='undefined' ? v.request:'';
eval(v.result_javascript);
});
};
this.ninja_multistep_mov_to_invalid_tab=function (event, response){
if($('.fieldset-cf7mls-wrapper').length){
var form=$(event.target);
var first_invalid_field=response.invalidFields[0];
var parent_step=$(first_invalid_field.into).parents('fieldset');
form.find('.fieldset-cf7mls').removeClass('cf7mls_current_fs');
parent_step.addClass('cf7mls_current_fs').removeClass('cf7mls_back_fs');
if(form.find('.cf7mls_progress_bar').length){
form.find('.cf7mls_progress_bar li').eq(form.find("fieldset.fieldset-cf7mls").index(previous_fs)).addClass("current");
form.find('.cf7mls_progress_bar li').eq(form.find("fieldset.fieldset-cf7mls").index(current_fs)).removeClass("active current");
}}
}
this.handle_redirect_action=function (redirect){
$(document.body).trigger('wpcf7r-handle_redirect_action', [redirect]);
$.each(redirect, function (k, v){
var delay=typeof v.delay!='undefined'&&v.delay ? v.delay:'';
delay=delay * 1000;
window.setTimeout(function (v){
var redirect_url=typeof v.redirect_url!='undefined'&&v.redirect_url ? v.redirect_url:'';
var type=typeof v.type!='undefined'&&v.type ? v.type:'';
if(typeof v.form!='undefined'&&v.form){
$('body').append(v.form);
$('#cf7r-result-form').submit();
}else{
if(redirect_url&&type=='redirect'){
window.location=redirect_url;
}else if(redirect_url&&type=='new_tab'){
window.open(redirect_url);
}}
}, delay, v);
});
};
this.handle_javascript_action=function (scripts){
$(document.body).trigger('wpcf7r-handle_javascript_action', [scripts]);
$.each(scripts, function (k, script){
eval(script);
});
};
this.htmlspecialchars_decode=function (string){
var map={
'&amp;': '&',
'&#038;': "&",
'&lt;': '<',
'&gt;': '>',
'&quot;': '"',
'&#039;': "'",
'&#8217;': "’",
'&#8216;': "‘",
'&#8211;': "–",
'&#8212;': "—",
'&#8230;': "…",
'&#8221;': '”'
};
return string.replace(/\&[\w\d\#]{2,5}\;/g, function (m){ return map[m]; });
};
this.init();
}
wpcf7_redirect=new Wpcf7_redirect();
})(jQuery);
!function(t){var e={};function n(i){if(e[i])return e[i].exports;var a=e[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(i,a,function(e){return t[e]}.bind(null,a));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=95)}([function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i,a=window;try{i=!!window.top.document&&window.top}catch(t){i=!1}i&&i.__Cypress__?window.parent===i?a=window:a=window.parent:i&&(a=i,window.self)},function(t,e,n){var i=n(10),a=n(29),o=n(30),r=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":r&&r in Object(t)?a(t):o(t)}},function(t,e){var n=Array.isArray;t.exports=n},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){var i=n(14),a="object"==typeof self&&self&&self.Object===Object&&self,o=i||a||Function("return this")();t.exports=o},function(t,e,n){var i=n(1),a=n(3);t.exports=function(t){return"symbol"==typeof t||a(t)&&"[object Symbol]"==i(t)}},function(t,e,n){var i=n(18)(Object,"create");t.exports=i},function(t,e,n){var i=n(77);t.exports=function(t,e){for(var n=t.length;n--;)if(i(t[n][0],e))return n;return-1}},function(t,e,n){var i=n(83);t.exports=function(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}},function(t,e,n){var i=n(55);t.exports=function(t,e,n){var a=null==t?void 0:i(t,e);return void 0===a?n:a}},function(t,e,n){var i=n(4).Symbol;t.exports=i},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){var i=n(13),a=n(15);t.exports=function(t){return null!=t&&a(t.length)&&!i(t)}},function(t,e,n){var i=n(1),a=n(11);t.exports=function(t){if(!a(t))return!1;var e=i(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(28))},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,a=Array(i);++n<i;)a[n]=e(t[n],n,t);return a}},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){var i=n(65),a=n(69);t.exports=function(t,e){var n=a(t,e);return i(n)?n:void 0}},function(t,e,n){var i=n(24),a=n(12),o=n(31),r=n(32),s=n(37),c=Math.max;t.exports=function(t,e,n,l){t=a(t)?t:s(t),n=n&&!l?r(n):0;var _=t.length;return n<0&&(n=c(_+n,0)),o(t)?n<=_&&t.indexOf(e,n)>-1:!!_&&i(t,e,n)>-1}},function(t,e){t.exports=jQuery},function(t,e){!function(){"use strict";function t(i){if(!i)throw new Error("No options passed to Waypoint constructor");if(!i.element)throw new Error("No element option passed to Waypoint constructor");if(!i.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,i),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=i.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),n[this.key]=this,e+=1}var e=0,n={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete n[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var i in n)e.push(n[i]);for(var a=0,o=e.length;o>a;a++)e[a][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=a.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+n,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,i[t.waypointContextKey]=this,n+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var n=0,i={},a=window.Waypoint,o=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete i[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",(function(){e.didResize||(e.didResize=!0,a.requestAnimationFrame(t))}))},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",(function(){(!e.didScroll||a.isTouch)&&(e.didScroll=!0,a.requestAnimationFrame(t))}))},e.prototype.handleResize=function(){a.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var n in e){var i=e[n],a=i.newScroll>i.oldScroll?i.forward:i.backward;for(var o in this.waypoints[n]){var r=this.waypoints[n][o],s=i.oldScroll<r.triggerPoint,c=i.newScroll>=r.triggerPoint;(s&&c||!s&&!c)&&(r.queueTrigger(a),t[r.group.id]=r.group)}}for(var l in t)t[l].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?a.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?a.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var n in this.waypoints[e])t.push(this.waypoints[e][n]);for(var i=0,a=t.length;a>i;i++)t[i].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,n=e?void 0:this.adapter.offset(),i={};for(var o in this.handleScroll(),t={horizontal:{contextOffset:e?0:n.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:n.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var r=t[o];for(var s in this.waypoints[o]){var c,l,_,d,p=this.waypoints[o][s],u=p.options.offset,f=p.triggerPoint,h=0,b=null==f;p.element!==p.element.window&&(h=p.adapter.offset()[r.offsetProp]),"function"==typeof u?u=u.apply(p):"string"==typeof u&&(u=parseFloat(u),p.options.offset.indexOf("%")>-1&&(u=Math.ceil(r.contextDimension*u/100))),c=r.contextScroll-r.contextOffset,p.triggerPoint=h+c-u,l=f<r.oldScroll,_=p.triggerPoint>=r.oldScroll,d=!l&&!_,!b&&(l&&_)?(p.queueTrigger(r.backward),i[p.group.id]=p.group):(!b&&d||b&&r.oldScroll>=p.triggerPoint)&&(p.queueTrigger(r.forward),i[p.group.id]=p.group)}}return a.requestAnimationFrame((function(){for(var t in i)i[t].flushTriggers()})),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in i)i[t].refresh()},e.findByElement=function(t){return i[t.waypointContextKey]},window.onload=function(){o&&o(),e.refreshAll()},a.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},a.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function n(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}var i={vertical:{},horizontal:{}},a=window.Waypoint;n.prototype.add=function(t){this.waypoints.push(t)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var n in this.triggerQueues){var i=this.triggerQueues[n],a="up"===n||"left"===n;i.sort(a?e:t);for(var o=0,r=i.length;r>o;o+=1){var s=i[o];(s.options.continuous||o===i.length-1)&&s.trigger([n])}}this.clearTriggerQueues()},n.prototype.next=function(e){this.waypoints.sort(t);var n=a.Adapter.inArray(e,this.waypoints);return n===this.waypoints.length-1?null:this.waypoints[n+1]},n.prototype.previous=function(e){this.waypoints.sort(t);var n=a.Adapter.inArray(e,this.waypoints);return n?this.waypoints[n-1]:null},n.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},n.prototype.remove=function(t){var e=a.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(t){return i[t.axis][t.name]||new n(t)},a.Group=n}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,n=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(e,n){t.prototype[n]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[n].apply(this.$element,t)}})),e.each(["extend","inArray","isEmptyObject"],(function(n,i){t[i]=e[i]})),n.adapters.push({name:"jquery",Adapter:t}),n.Adapter=t}(),function(){"use strict";function t(t){return function(){var n=[],i=arguments[0];return"function"==typeof arguments[0]&&((i=t.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var a=t.extend({},i,{element:this});"string"==typeof a.context&&(a.context=t(this).closest(a.context)[0]),n.push(new e(a))})),n}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}()},function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t,e){for(var n in e)t[n]=e[n]}(window,function(t){var e={};function i(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,i),a.l=!0,a.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==n(t)&&t&&t.__esModule)return t;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(a,o,function(e){return t[e]}.bind(null,o));return a},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/",i(i.s=1440)}({1:function(t,e,n){var i=n(91);t.exports=function(t,e,n){var a=null==t?void 0:i(t,e);return void 0===a?n:a}},100:function(t,e,n){var i=n(227),a=n(239),o=n(241),r=n(242),s=n(243);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=a,c.prototype.get=o,c.prototype.has=r,c.prototype.set=s,t.exports=c},101:function(t,e,n){var i=n(149),a=n(208),o=n(256);t.exports=function(t,e,n){return e==e?o(t,e,n):i(t,a,n)}},107:function(t,e,n){var i=n(76),a=n(245),o=n(246),r=n(247),s=n(248),c=n(249);function l(t){var e=this.__data__=new i(t);this.size=e.size}l.prototype.clear=a,l.prototype.delete=o,l.prototype.get=r,l.prototype.has=s,l.prototype.set=c,t.exports=l},111:function(t,e,n){var i=n(89),a=n(217),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return a(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},112:function(t,e,n){var i=n(49);t.exports=function(t){return"function"==typeof t?t:i}},113:function(t,e,i){var a=i(3),o=i(54),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(t,e){if(a(t))return!1;var i=n(t);return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!o(t))||s.test(t)||!r.test(t)||null!=e&&t in Object(e)}},116:function(t,e,n){var i=n(187),a=n(12),o=n(54),r=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(a(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=a(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=i(t);var n=s.test(t);return n||c.test(t)?l(t.slice(2),n?2:8):r.test(t)?NaN:+t}},117:function(t,e,n){var i=n(250),a=n(28);t.exports=function t(e,n,o,r,s){return e===n||(null==e||null==n||!a(e)&&!a(n)?e!=e&&n!=n:i(e,n,o,r,t,s))}},118:function(t,e){t.exports=function(t,e){for(var n=-1,i=e.length,a=t.length;++n<i;)t[a+n]=e[n];return t}},119:function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,a=0,o=[];++n<i;){var r=t[n];e(r,n,t)&&(o[a++]=r)}return o}},12:function(t,e){t.exports=function(t){var e=n(t);return null!=t&&("object"==e||"function"==e)}},124:function(t,e,n){var i=n(162),a=n(14);t.exports=function(t,e){return t&&i(t,e,a)}},130:function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},137:function(t,e,i){(function(e){var i="object"==n(e)&&e&&e.Object===Object&&e;t.exports=i}).call(this,i(88))},138:function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},139:function(t,e,n){var i=n(147),a=n(172),o=n(148);t.exports=function(t,e,n,r,s,c){var l=1&n,_=t.length,d=e.length;if(_!=d&&!(l&&d>_))return!1;var p=c.get(t),u=c.get(e);if(p&&u)return p==e&&u==t;var f=-1,h=!0,b=2&n?new i:void 0;for(c.set(t,e),c.set(e,t);++f<_;){var v=t[f],m=e[f];if(r)var g=l?r(m,v,f,e,t,c):r(v,m,f,t,e,c);if(void 0!==g){if(g)continue;h=!1;break}if(b){if(!a(e,(function(t,e){if(!o(b,e)&&(v===t||s(v,t,n,r,c)))return b.push(e)}))){h=!1;break}}else if(v!==m&&!s(v,m,n,r,c)){h=!1;break}}return c.delete(t),c.delete(e),h}},14:function(t,e,n){var i=n(163),a=n(111),o=n(38);t.exports=function(t){return o(t)?i(t):a(t)}},140:function(t,e,n){var i=n(119),a=n(164),o=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols,s=r?function(t){return null==t?[]:(t=Object(t),i(r(t),(function(e){return o.call(t,e)})))}:a;t.exports=s},1440:function(t,e,n){"use strict";(function(t){var e=n(355),i=n(354),a=n(1441);!function(n){var o=n("body").hasClass("et-block-layout-preview"),r=n(".et-l--header").first(),s=0;if(window.et_pb_debounce=function(t,e,n){var i,a,o,r,s,c=Date.now||(new Date).getTime(),l=function l(){var _=c-r;_<e&&_>=0?i=setTimeout(l,e-_):(i=null,n||(s=t.apply(o,a),i||(o=a=null)))};return function(){o=this,a=arguments,r=c;var _=n&&!i;return i||(i=setTimeout(l,e)),_&&(s=t.apply(o,a),o=a=null),s}},r.length){var c=r.find(".et_builder_inner_content").children(".et_pb_section--fixed"),l=et_pb_debounce((function(t){s=0,n.each(c,(function(t,e){var i=n(e).outerHeight(!0);s+=i;var a=n(e).offset().top;a<0&&Math.abs(a)>s?s=0:a<0&&(s+=a)}))}),300);n(window).on("resize",l)}window.et_pb_smooth_scroll=function(t,e,i,o){var c=t.offset().top,l=n(window).width(),_=0,d=0,p="",u="",f=r.find(".et_pb_section");if(!(0,a.isTargetStickyState)(t)){_=n("body").hasClass("et_fixed_nav")&&l>980?(n("#top-header").outerHeight()||0)+(n("#main-header").outerHeight()||0)-1:0,n("#wpadminbar").length&&l>600&&(_+=n("#wpadminbar").outerHeight()||0),r.length&&(f.hasClass("et_pb_section--fixed")&&(p=Math.ceil(parseFloat(f.css("left"))),u=Math.ceil(parseFloat(f.css("right"))),l<980&&(_+=90)),0===p+u&&(_+=s));var h=(0,a.getClosestStickyModuleOffsetTop)(t);h&&(_+=h),d=e?0:Math.round(c)-_,void 0===o&&(o="swing"),n("html, body").animate({scrollTop:d},i,o)}},window.et_pb_form_placeholders_init=function(e){e.find('input:text, input[type="email"], input[type="url"], textarea').each((function(e,n){var i=t(n),a=i.siblings("label"),o=i.siblings("label").text();a.length&&(a.hide(),i.siblings("span.required")&&(o+=i.siblings("span.required").text(),i.siblings("span.required").hide()),i.val(o))})).on("focus",(function(){var e=t(this).siblings("label").text();t(this).siblings("span.required").length&&(e+=t(this).siblings("span.required").text()),t(this).val()===e&&t(this).val("")})).on("blur",(function(){var e=t(this).siblings("label").text();t(this).siblings("span.required").length&&(e+=t(this).siblings("span.required").text()),""===t(this).val()&&t(this).val(e)}))},window.et_duplicate_menu=function(t,e,a,o,r){e.each((function(){var e,s=n(this);if(!s.find("#".concat(a)).length&&(""!==t&&t.clone().attr("id",a).removeClass().attr("class",o).appendTo(s),(e=s.find("> ul")).find(".menu_slide").remove(),e.find(".et_pb_menu__logo-slot").remove(),e.find("li").first().addClass("et_first_mobile_item"),e.find("a").on("click",(function(){n(this).parents(".et_mobile_menu").siblings(".mobile_menu_bar").trigger("click")})),"no_click_event"!==r)){i.isBuilder&&s.off("click");var c=s.closest(".et_pb_section"),l=s.closest(".et_pb_row"),_="0px"!==c.css("border-radius"),d="0px"!==l.css("border-radius");s.on("click",".mobile_menu_bar",(function(){return n(".mobile_nav.opened .mobile_menu_bar").not(n(this)).trigger("click"),s.hasClass("closed")?(s.removeClass("closed").addClass("opened"),(_||d)&&(c.css("overflow","visible"),l.css("overflow","visible")),e.stop().slideDown(500)):(s.removeClass("opened").addClass("closed"),e.stop().slideUp(500),(_||d)&&setTimeout((function(){c.css("overflow","hidden"),l.css("overflow","hidden")}),500)),!1}))}})),n("#mobile_menu .centered-inline-logo-wrap").remove()},window.et_pb_remove_placeholder_text=function(e){e.find("input:text, textarea").each((function(e,n){var i=t(n),a=i.siblings("label");i.siblings("label").text(),a.length&&a.is(":hidden")&&a.text()==i.val()&&i.val("")}))},window.et_fix_fullscreen_section=function(){var t=n(o?e.top_window:window);n("section.et_pb_fullscreen").each((function(){var e=n(this);et_calc_fullscreen_section.bind(e),t.on("resize",et_calc_fullscreen_section.bind(e))}))},window.et_bar_counters_init=function(t){t.length&&t.css({width:"".concat(parseFloat(t.attr("data-width")),"%")})},window.et_fix_pricing_currency_position=function(t){setTimeout((function(){var e=void 0!==t?t:n(".et_pb_pricing_table");e.length&&e.each((function(){var t=n(this).find(".et_pb_et_price"),e=!!t.length&&t.find(".et_pb_dollar_sign"),i=!!t.length&&t.find(".et_pb_sum");e&&i&&e.css({marginLeft:"".concat(-e.width(),"px")})}))}),1)},window.et_pb_set_responsive_grid=function(t,e){setTimeout((function(){var i=t.innerWidth(),a=t.find(e),o=a.outerWidth(!0),r=o-a.outerWidth(),s=Math.round((i+r)/o),c=1,l=1,_=n();if(a.removeClass("last_in_row first_in_row on_last_row"),a.filter(":visible").each((function(){var t=n(this);t.hasClass("inactive")||(l===c?(t.addClass("first_in_row"),_=t):0==c%s&&(t.addClass("last_in_row"),l=c+1),c++)})),_.length){var d=_.parents(".et_pb_module");if(d.is(":last-child")){var p=_.parents(".et_pb_column")[0];n(p).find(".et_pb_grid_item").removeClass("on_last_row");var u=d.find(".et_pb_gallery_pagination");0===u.length&&(u=d.find(".et_pb_portofolio_pagination")),(0===u.length||u.length>0&&!u.is(":visible"))&&(s>1&&_.addClass("on_last_row"),_.nextAll().addClass("on_last_row"))}}}),1)},window.et_pb_set_tabs_height=function(t){void 0===t&&(t=n(".et_pb_tabs")),t.length&&t.each((function(){var t=n(this).find(".et_pb_tabs_controls"),e=t.find("li"),i=0,a=n(this).parents(".et_pb_column_1_3, .et_pb_column_1_4, .et_pb_column_3_8").length>0,o=parseFloat(n(window).width())<768,r=a||o;r&&n(this).addClass("et_pb_tabs_vertically_stacked"),e.length&&(t.children("li").removeAttr("style"),e.each((function(){var t=n(this).outerHeight();r||t>i&&(i=t)}))),0!==i&&t.children("li").css("height","".concat(i,"px"))}))},window.et_pb_box_shadow_apply_overlay=function(t){void 0!==document.body.style.pointerEvents&&(void 0===document.documentMode||document.documentMode>=11)?n(t).each((function(){n(this).children(".box-shadow-overlay").length||n(this).addClass("has-box-shadow-overlay").prepend('<div class="box-shadow-overlay"></div>')})):n(t).addClass(".et-box-shadow-no-overlay")},window.et_pb_init_nav_menu=function(t){t.each((function(){var t=n(this);t.data("et-is-menu-ready")||(t.find("li").on("mouseenter",(function(){window.et_pb_toggle_nav_menu(n(this),"open")})).on("mouseleave",(function(){window.et_pb_toggle_nav_menu(n(this),"close",0)})),n("body").on("touchend",(function(t){n(t.target).closest("ul.nav, ul.menu").length<1&&n(".et-hover").length>0&&window.et_pb_toggle_nav_menu(n(".et-hover"),"close")})),t.find("li.menu-item-has-children").on("touchend",(function(t){var e=n(t.target).closest(".menu-item");if(e.hasClass("menu-item-has-children")){var i=n(this),a=e.closest(".mega-menu-parent.et-touch-hover").length>0;if(i.hasClass("et-touch-hover")||a)void 0!==i.find(">a").attr("href")&&(window.location=i.find(">a").attr("href"));else{var o=n(t.target),r=o.closest(".menu-item").siblings(".et-touch-hover");if(o.closest(".et-touch-hover").length<1&&window.et_pb_toggle_nav_menu(n(".et-hover"),"close",0),i.addClass("et-touch-hover"),r.length>0){var s=r.find(".et-touch-hover");window.et_pb_toggle_nav_menu(r,"close"),window.et_pb_toggle_nav_menu(s,"close")}window.et_pb_toggle_nav_menu(i,"open")}t.preventDefault(),t.stopPropagation()}})),t.find("li.mega-menu").each((function(){var t=n(this),e=t.children("ul").children("li").length;e<4&&t.addClass("mega-menu-parent mega-menu-parent-".concat(e))})),t.data("et-is-menu-ready","ready"))}))},window.et_pb_toggle_nav_menu=function(t,e,n){if("open"===e)t.closest("li.mega-menu").length&&!t.hasClass("mega-menu")||(t.addClass("et-show-dropdown"),t.removeClass("et-hover").addClass("et-hover"));else{var i=void 0!==n?n:200;t.removeClass("et-show-dropdown"),t.removeClass("et-touch-hover"),setTimeout((function(){t.hasClass("et-show-dropdown")||t.removeClass("et-hover")}),i)}},window.et_pb_apply_sticky_image_effect=function(t){var e=t.closest(".et_pb_row"),n=e.closest(".et_pb_section"),i=t.closest(".et_pb_column"),a="et_pb_section_sticky",o="et_pb_section_sticky_mobile",r=n.children(".et_pb_row").last(),s=e.children(".et_pb_column").last(),c=i.children(".et_pb_module").last();return!e.is(r)||(r.addClass("et-last-child"),!t.is(c)||(n.hasClass(a)||n.addClass(a),i.addClass("et_pb_row_sticky"),void(!n.hasClass(o)&&i.is(s)&&n.addClass(o))))},window.et_pb_menu_inject_inline_centered_logo=function(t){var e=n(t).find("nav > ul > li"),i=Math.round(e.length/2),a=window.et_pb_menu_inject_item(t,i,!0);return a&&n(a).addClass("et_pb_menu__logo-slot"),a},window.et_pb_menu_inject_item=function(t,e,i){i=void 0===i||i,e=Math.max(e,0);var a=n(t).find("nav > ul").first();if(0===a.length)return null;var o=a.find("> li"),r=n("<li></li>");if(0===o.length)a.append(r);else{var s=i?"before":"after",c=i?o.eq(e):o.eq(o.length-1-e);0===c.length&&(s=i?"after":"before",c=i?o.last():o.first()),c[s](r)}return r.get(0)},window.et_pb_reposition_menu_module_dropdowns=et_pb_debounce((function(t){n(t||".et_pb_menu, .et_pb_fullwidth_menu").each((function(){var t=n(this).find(".et_pb_row").first();if(0===t.length)return!0;var e=t.offset().top,i=n(this).attr("class").replace(/^.*?(et_pb(?:_fullwidth)?_menu_\d+[^\s]*).*$/i,"$1"),a=n(this).find(".et_pb_menu__menu ul").first().hasClass("upwards"),o="";n(this).find(".et_pb_menu__menu > nav > ul > li.mega-menu.menu-item-has-children").each((function(){var r=n(this),s=r.attr("class").replace(/^.*?(menu-item-\d+).*$/i,"$1"),c=".".concat(i," li.").concat(s," > .sub-menu");if(a){var l=Math.floor(e+t.outerHeight()-r.offset().top)-1;o+="".concat(c,"{ bottom: ").concat(l.toString(),"px !important; }")}else l=Math.floor(r.offset().top+r.outerHeight()-e)-1,o+="".concat(c,"{ top: ").concat(l.toString(),"px !important; }")}));var r=n("style.et-menu-style-".concat(i)).first();0===r.length&&((r=n("<style></style>")).addClass("et-menu-style"),r.addClass("et-menu-style-".concat(i)),r.appendTo(n("head")));var s=r.html();o!==s&&r.html(o)}))}),200)}(t)}).call(this,n(8))},1441:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.trimTransitionValue=e.isTargetStickyState=e.getStickyStyles=e.getLimitSelector=e.getLimit=e.getClosestStickyModuleOffsetTop=e.filterInvalidModules=void 0;var i=p(n(69)),a=p(n(9)),o=p(n(1)),r=p(n(160)),s=p(n(6)),c=p(n(5)),l=p(n(37)),_=p(n(8)),d=n(354);function p(t){return t&&t.__esModule?t:{default:t}}function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.getLimit=function(t,e){if(!(0,s.default)(["body","section","row","column"],e))return!1;var n=b(t,e);if(!n)return!1;var i=n.outerHeight(),a=n.outerWidth();return{limit:e,height:i,width:a,offsets:(0,d.getOffsets)(n,a,i)}};var b=function(t,e){var n=!1;switch(e){case"body":n=".et_builder_inner_content";break;case"section":n=".et_pb_section";break;case"row":n=".et_pb_row";break;case"column":n=".et_pb_column"}return!!n&&t.closest(n)};e.getLimitSelector=b,e.filterInvalidModules=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};return(0,a.default)(t,(function(t,i){(0,_.default)(t.selector).parents(".et_pb_sticky_module").length>0||(!(0,c.default)(e)&&e[i]?n[i]=f(f({},e[i]),t):n[i]=t)})),n},e.getStickyStyles=function(t,e,n){var i=e.clone().addClass("et_pb_sticky et_pb_sticky_style_dom").attr({"data-sticky-style-dom-id":t,style:""}).css({opacity:0,transition:"none",animation:"none"});i.find("img").each((function(t){var n=(0,_.default)(this),i=e.find("img").eq(t),a=(0,o.default)(i,[0,"naturalWidth"],e.find("img").eq(t).outerWidth()),r=(0,o.default)(i,[0,"naturalHeight"],e.find("img").eq(t).outerHeight());n.attr({scrset:"",src:'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="'.concat(a,'" height="').concat(r,'"><rect width="').concat(a,'" height="').concat(r,'" /></svg>')})})),e.after(i);var a=function(t){var a="margin".concat(t),o=e.hasClass("et_pb_sticky")?n:e;return parseFloat(i.css(a))-parseFloat(o.css(a))},r=e.parent().hasClass("et_pb_equal_columns");r&&(e.hide(),n.hide());var s={height:i.outerHeight(),width:i.outerWidth(),marginRight:a("Right"),marginLeft:a("Left"),padding:i.css("padding")};return r&&(e.show(),n.show()),(0,_.default)('.et_pb_sticky_style_dom[data-sticky-style-dom-id="'.concat(t,'"]')).remove(),s},e.trimTransitionValue=function(t,e){(0,l.default)(t)||(t="");var n=t.split(", "),a=(0,i.default)(n,(function(t){return!(0,s.default)(e,(0,r.default)(t.split(" ")))}));return(0,c.default)(a)?"none":a.join(", ")},e.getClosestStickyModuleOffsetTop=function(t){var e=t.offset();e.right=e.left+t.outerWidth();var n=null,i=0,r=(0,o.default)(window.ET_FE,"stores.sticky.modules",{});if((0,a.default)(r,(function(i){if((0,s.default)(["top_bottom","top"],i.position)&&!t.is((0,o.default)(i,"selector"))&&!((0,o.default)(i,"offsets.right",0)<e.left||(0,o.default)(i,"offsets.left",0)>e.right||(0,o.default)(i,"offsets.top",0)>e.top)){var a=(0,o.default)(i,"bottomLimitSettings.offsets.bottom");a&&a<e.top||(n=i)}})),(0,o.default)(n,"topOffsetModules",!1)){(0,a.default)((0,o.default)(n,"topOffsetModules",[]),(function(t){var e=(0,o.default)(r,[t,"heightSticky"],(0,o.default)(r,[t,"height"],0));i+=e}));var c=(0,o.default)(r,[n.id,"heightSticky"],(0,o.default)(r,[n.id,"height"],0));i+=c}return i},e.isTargetStickyState=function(t){var e=(0,o.default)(window.ET_FE,"stores.sticky.modules",{}),n=!1;return(0,a.default)(e,(function(e){var i=t.is((0,o.default)(e,"selector")),a=e.isSticky,r=e.isPaused;if(i&&a&&!r)return n=!0,!1})),n}},146:function(t,e,n){var i=n(100);function a(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var i=arguments,a=e?e.apply(this,i):i[0],o=n.cache;if(o.has(a))return o.get(a);var r=t.apply(this,i);return n.cache=o.set(a,r)||o,r};return n.cache=new(a.Cache||i),n}a.Cache=i,t.exports=a},147:function(t,e,n){var i=n(100),a=n(251),o=n(252);function r(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new i;++e<n;)this.add(t[e])}r.prototype.add=r.prototype.push=a,r.prototype.has=o,t.exports=r},148:function(t,e){t.exports=function(t,e){return t.has(e)}},149:function(t,e){t.exports=function(t,e,n,i){for(var a=t.length,o=n+(i?1:-1);i?o--:++o<a;)if(e(t[o],o,t))return o;return-1}},150:function(t,e,n){var i=n(116);t.exports=function(t){return t?(t=i(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},160:function(t,e){t.exports=function(t){return t&&t.length?t[0]:void 0}},162:function(t,e,n){var i=n(203)();t.exports=i},163:function(t,e,n){var i=n(186),a=n(80),o=n(3),r=n(72),s=n(68),c=n(82),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),_=!n&&a(t),d=!n&&!_&&r(t),p=!n&&!_&&!d&&c(t),u=n||_||d||p,f=u?i(t.length,String):[],h=f.length;for(var b in t)!e&&!l.call(t,b)||u&&("length"==b||d&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,h))||f.push(b);return f}},164:function(t,e){t.exports=function(){return[]}},168:function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},169:function(t,e,n){var i=n(43)(n(23),"Set");t.exports=i},170:function(t,e,n){var i=n(43)(n(23),"WeakMap");t.exports=i},171:function(t,e,n){var i=n(226),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,r=i((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(a,(function(t,n,i,a){e.push(i?a.replace(o,"$1"):n||t)})),e}));t.exports=r},172:function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}},173:function(t,e,n){var i=n(23).Uint8Array;t.exports=i},174:function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}},175:function(t,e,n){var i=n(176),a=n(140),o=n(14);t.exports=function(t){return i(t,o,a)}},176:function(t,e,n){var i=n(118),a=n(3);t.exports=function(t,e,n){var o=e(t);return a(t)?o:i(o,n(t))}},177:function(t,e,n){var i=n(12);t.exports=function(t){return t==t&&!i(t)}},178:function(t,e){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},185:function(t,e){t.exports=function(){return!1}},186:function(t,e){t.exports=function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}},187:function(t,e,n){var i=n(188),a=/^\s+/;t.exports=function(t){return t?t.slice(0,i(t)+1).replace(a,""):t}},188:function(t,e){var n=/\s/;t.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},189:function(t,e,n){var i=n(45);t.exports=function(t,e){return i(e,(function(e){return t[e]}))}},201:function(t,e,n){var i=n(35),a=n(221),o=n(12),r=n(138),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,_=c.toString,d=l.hasOwnProperty,p=RegExp("^"+_.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||a(t))&&(i(t)?p:s).test(r(t))}},202:function(t,e,n){var i=n(23)["__core-js_shared__"];t.exports=i},203:function(t,e){t.exports=function(t){return function(e,n,i){for(var a=-1,o=Object(e),r=i(e),s=r.length;s--;){var c=r[t?s:++a];if(!1===n(o[c],c,o))break}return e}}},204:function(t,e,n){var i=n(38);t.exports=function(t,e){return function(n,a){if(null==n)return n;if(!i(n))return t(n,a);for(var o=n.length,r=e?o:-1,s=Object(n);(e?r--:++r<o)&&!1!==a(s[r],r,s););return n}}},205:function(t,e,n){var i=n(73),a=n(80),o=n(3),r=n(68),s=n(97),c=n(52);t.exports=function(t,e,n){for(var l=-1,_=(e=i(e,t)).length,d=!1;++l<_;){var p=c(e[l]);if(!(d=null!=t&&n(t,p)))break;t=t[p]}return d||++l!=_?d:!!(_=null==t?0:t.length)&&s(_)&&r(p,_)&&(o(t)||a(t))}},206:function(t,e,n){var i=n(287),a=n(205);t.exports=function(t,e){return null!=t&&a(t,e,i)}},207:function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},208:function(t,e){t.exports=function(t){return t!=t}},217:function(t,e,n){var i=n(168)(Object.keys,Object);t.exports=i},218:function(t,e,n){var i=n(43)(n(23),"DataView");t.exports=i},219:function(t,e,n){var i=n(59),a=Object.prototype,o=a.hasOwnProperty,r=a.toString,s=i?i.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(t){}var a=r.call(t);return i&&(e?t[s]=n:delete t[s]),a}},220:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},221:function(t,e,n){var i,a=n(202),o=(i=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";t.exports=function(t){return!!o&&o in t}},222:function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},223:function(t,e,n){var i=n(43)(n(23),"Promise");t.exports=i},224:function(t,e,n){var i=n(36),a=n(28);t.exports=function(t){return a(t)&&"[object Arguments]"==i(t)}},225:function(t,e,n){var i=n(36),a=n(97),o=n(28),r={};r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&a(t.length)&&!!r[i(t)]}},226:function(t,e,n){var i=n(146);t.exports=function(t){var e=i(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},227:function(t,e,n){var i=n(228),a=n(76),o=n(96);t.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||a),string:new i}}},228:function(t,e,n){var i=n(229),a=n(230),o=n(231),r=n(232),s=n(233);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=a,c.prototype.get=o,c.prototype.has=r,c.prototype.set=s,t.exports=c},229:function(t,e,n){var i=n(75);t.exports=function(){this.__data__=i?i(null):{},this.size=0}},23:function(t,e,i){var a=i(137),o="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,r=a||o||Function("return this")();t.exports=r},230:function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},231:function(t,e,n){var i=n(75),a=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(i){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(e,t)?e[t]:void 0}},232:function(t,e,n){var i=n(75),a=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return i?void 0!==e[t]:a.call(e,t)}},233:function(t,e,n){var i=n(75);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this}},234:function(t,e){t.exports=function(){this.__data__=[],this.size=0}},235:function(t,e,n){var i=n(77),a=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=i(e,t);return!(n<0||(n==e.length-1?e.pop():a.call(e,n,1),--this.size,0))}},236:function(t,e,n){var i=n(77);t.exports=function(t){var e=this.__data__,n=i(e,t);return n<0?void 0:e[n][1]}},237:function(t,e,n){var i=n(77);t.exports=function(t){return i(this.__data__,t)>-1}},238:function(t,e,n){var i=n(77);t.exports=function(t,e){var n=this.__data__,a=i(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this}},239:function(t,e,n){var i=n(78);t.exports=function(t){var e=i(this,t).delete(t);return this.size-=e?1:0,e}},240:function(t,e){t.exports=function(t){var e=n(t);return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},241:function(t,e,n){var i=n(78);t.exports=function(t){return i(this,t).get(t)}},242:function(t,e,n){var i=n(78);t.exports=function(t){return i(this,t).has(t)}},243:function(t,e,n){var i=n(78);t.exports=function(t,e){var n=i(this,t),a=n.size;return n.set(t,e),this.size+=n.size==a?0:1,this}},244:function(t,e,n){var i=n(107),a=n(117);t.exports=function(t,e,n,o){var r=n.length,s=r,c=!o;if(null==t)return!s;for(t=Object(t);r--;){var l=n[r];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++r<s;){var _=(l=n[r])[0],d=t[_],p=l[1];if(c&&l[2]){if(void 0===d&&!(_ in t))return!1}else{var u=new i;if(o)var f=o(d,p,_,t,e,u);if(!(void 0===f?a(p,d,3,o,u):f))return!1}}return!0}},245:function(t,e,n){var i=n(76);t.exports=function(){this.__data__=new i,this.size=0}},246:function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},247:function(t,e){t.exports=function(t){return this.__data__.get(t)}},248:function(t,e){t.exports=function(t){return this.__data__.has(t)}},249:function(t,e,n){var i=n(76),a=n(96),o=n(100);t.exports=function(t,e){var n=this.__data__;if(n instanceof i){var r=n.__data__;if(!a||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(r)}return n.set(t,e),this.size=n.size,this}},250:function(t,e,n){var i=n(107),a=n(139),o=n(253),r=n(254),s=n(66),c=n(3),l=n(72),_=n(82),d="[object Arguments]",p="[object Array]",u="[object Object]",f=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,h,b,v){var m=c(t),g=c(e),w=m?p:s(t),y=g?p:s(e),x=(w=w==d?u:w)==u,C=(y=y==d?u:y)==u,k=w==y;if(k&&l(t)){if(!l(e))return!1;m=!0,x=!1}if(k&&!x)return v||(v=new i),m||_(t)?a(t,e,n,h,b,v):o(t,e,w,n,h,b,v);if(!(1&n)){var j=x&&f.call(t,"__wrapped__"),T=C&&f.call(e,"__wrapped__");if(j||T){var O=j?t.value():t,S=T?e.value():e;return v||(v=new i),b(O,S,n,h,v)}}return!!k&&(v||(v=new i),r(t,e,n,h,b,v))}},251:function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},252:function(t,e){t.exports=function(t){return this.__data__.has(t)}},253:function(t,e,n){var i=n(59),a=n(173),o=n(60),r=n(139),s=n(174),c=n(130),l=i?i.prototype:void 0,_=l?l.valueOf:void 0;t.exports=function(t,e,n,i,l,d,p){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!d(new a(t),new a(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var u=s;case"[object Set]":var f=1&i;if(u||(u=c),t.size!=e.size&&!f)return!1;var h=p.get(t);if(h)return h==e;i|=2,p.set(t,e);var b=r(u(t),u(e),i,l,d,p);return p.delete(t),b;case"[object Symbol]":if(_)return _.call(t)==_.call(e)}return!1}},254:function(t,e,n){var i=n(175),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,r,s){var c=1&n,l=i(t),_=l.length;if(_!=i(e).length&&!c)return!1;for(var d=_;d--;){var p=l[d];if(!(c?p in e:a.call(e,p)))return!1}var u=s.get(t),f=s.get(e);if(u&&f)return u==e&&f==t;var h=!0;s.set(t,e),s.set(e,t);for(var b=c;++d<_;){var v=t[p=l[d]],m=e[p];if(o)var g=c?o(m,v,p,e,t,s):o(v,m,p,t,e,s);if(!(void 0===g?v===m||r(v,m,n,o,s):g)){h=!1;break}b||(b="constructor"==p)}if(h&&!b){var w=t.constructor,y=e.constructor;w==y||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof y&&y instanceof y||(h=!1)}return s.delete(t),s.delete(e),h}},255:function(t,e,n){var i=n(177),a=n(14);t.exports=function(t){for(var e=a(t),n=e.length;n--;){var o=e[n],r=t[o];e[n]=[o,r,i(r)]}return e}},256:function(t,e){t.exports=function(t,e,n){for(var i=n-1,a=t.length;++i<a;)if(t[i]===e)return i;return-1}},27:function(t,e,n){var i=n(81);t.exports=function(t){return null==t?"":i(t)}},271:function(t,e,n){var i=n(244),a=n(255),o=n(178);t.exports=function(t){var e=a(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||i(n,t,e)}}},272:function(t,e,n){var i=n(117),a=n(1),o=n(206),r=n(113),s=n(177),c=n(178),l=n(52);t.exports=function(t,e){return r(t)&&s(e)?c(l(t),e):function(n){var r=a(n,t);return void 0===r&&r===e?o(n,t):i(e,r,3)}}},273:function(t,e,n){var i=n(207),a=n(288),o=n(113),r=n(52);t.exports=function(t){return o(t)?i(r(t)):a(t)}},28:function(t,e){t.exports=function(t){return null!=t&&"object"==n(t)}},287:function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},288:function(t,e,n){var i=n(91);t.exports=function(t){return function(e){return i(e,t)}}},3:function(t,e){var n=Array.isArray;t.exports=n},32:function(t,e,i){var a=i(271),o=i(272),r=i(49),s=i(3),c=i(273);t.exports=function(t){return"function"==typeof t?t:null==t?r:"object"==n(t)?s(t)?o(t[0],t[1]):a(t):c(t)}},328:function(t,e,n){var i=n(85);t.exports=function(t,e){var n=[];return i(t,(function(t,i,a){e(t,i,a)&&n.push(t)})),n}},33:function(t,e,n){var i=n(150);t.exports=function(t){var e=i(t),n=e%1;return e==e?n?e-n:e:0}},35:function(t,e,n){var i=n(36),a=n(12);t.exports=function(t){if(!a(t))return!1;var e=i(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},354:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setImportantInlineValue=e.registerFrontendComponent=e.maybeIncreaseEmitterMaxListeners=e.maybeDecreaseEmitterMaxListeners=e.isVB=e.isTB=e.isLBP=e.isLBB=e.isFE=e.isExtraTheme=e.isDiviTheme=e.isBuilderType=e.isBuilder=e.isBlockEditor=e.isBFB=e.is=e.getOffsets=e.getBuilderUtilsParams=e.getBuilderType=void 0;var a=c(i(6)),o=c(i(1)),r=c(i(8)),s=i(355);function c(t){return t&&t.__esModule?t:{default:t}}function l(t){return(l="function"==typeof Symbol&&"symbol"==n(Symbol.iterator)?function(t){return n(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)})(t)}var _=function(){return window.et_builder_utils_params?window.et_builder_utils_params:s.top_window.et_builder_utils_params?s.top_window.et_builder_utils_params:{}};e.getBuilderUtilsParams=_;var d=function(){return(0,o.default)(_(),"builderType","")};e.getBuilderType=d;var p=function(t){return t===d()};e.isBuilderType=p;var u=function(t){return(0,o.default)(_(),"condition.".concat(t))};e.is=u;var f=p("fe");e.isFE=f;var h=p("vb");e.isVB=h;var b=p("bfb");e.isBFB=b;var v=p("tb");e.isTB=v;var m=p("lbb");e.isLBB=m;var g=u("diviTheme");e.isDiviTheme=g;var w=u("extraTheme");e.isExtraTheme=w;var y=p("lbp");e.isLBP=y;var x=0<(0,r.default)(s.top_window.document).find(".edit-post-layout__content").length;e.isBlockEditor=x;var C=(0,a.default)(["vb","bfb","tb","lbb"],d());e.isBuilder=C,e.getOffsets=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=C&&t.hasClass("et_pb_sticky")&&"fixed"!==t.css("position"),a=t.data("et-offsets"),r=t.data("et-offsets-device"),s=(0,o.default)(window.ET_FE,"stores.window.breakpoint","");if(i&&void 0!==a&&r===s)return a;var c=t.offset();if(void 0===c)return{};var l=C?t.children('.et-fb-custom-css-output[data-sticky-has-transform="on"]').length>0:t.hasClass("et_pb_sticky--has-transform"),_=void 0===c.top?0:c.top,d=void 0===c.left?0:c.left;if(l){var p=t.parent().offset(),u={top:c.top-p.top,left:c.left-p.left},f={top:t[0].offsetTop,left:t[0].offsetLeft};_+=f.top-u.top,c.top=_,d+=f.left-u.left,c.left=d}return c.right=d+e,c.bottom=_+n,t.data("et-offsets",c),""!==s&&t.data("et-offsets-device",c),c},e.maybeIncreaseEmitterMaxListeners=function(t,e){var n=t.listenerCount(e),i=t.getMaxListeners();n===i&&t.setMaxListeners(i+1)},e.maybeDecreaseEmitterMaxListeners=function(t,e){var n=t.listenerCount(e);t.getMaxListeners()>10&&t.setMaxListeners(n)},e.registerFrontendComponent=function(t,e,n){void 0===window.ET_FE&&(window.ET_FE={}),"object"!==l(window.ET_FE[t])&&(window.ET_FE[t]={}),window.ET_FE[t][e]=n},e.setImportantInlineValue=function(t,e,n){t.css(e,"");var i=t.attr("style");t.attr("style","".concat(i," ").concat(e,": ").concat(n," !important;"))}},355:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.top_window=e.is_iframe=void 0;var i=window;e.top_window=i;var a,o=!1;e.is_iframe=o;try{a=!!window.top.document&&window.top}catch(t){a=!1}a&&a.__Cypress__?window.parent===a?(e.top_window=i=window,e.is_iframe=o=!1):(e.top_window=i=window.parent,e.is_iframe=o=!0):a&&(e.top_window=i=a,e.is_iframe=o=a!==window.self)},36:function(t,e,n){var i=n(59),a=n(219),o=n(220),r=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":r&&r in Object(t)?a(t):o(t)}},37:function(t,e,n){var i=n(36),a=n(3),o=n(28);t.exports=function(t){return"string"==typeof t||!a(t)&&o(t)&&"[object String]"==i(t)}},38:function(t,e,n){var i=n(35),a=n(97);t.exports=function(t){return null!=t&&a(t.length)&&!i(t)}},43:function(t,e,n){var i=n(201),a=n(222);t.exports=function(t,e){var n=a(t,e);return i(n)?n:void 0}},45:function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,a=Array(i);++n<i;)a[n]=e(t[n],n,t);return a}},49:function(t,e){t.exports=function(t){return t}},5:function(t,e,n){var i=n(111),a=n(66),o=n(80),r=n(3),s=n(38),c=n(72),l=n(89),_=n(82),d=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(r(t)||"string"==typeof t||"function"==typeof t.splice||c(t)||_(t)||o(t)))return!t.length;var e=a(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(l(t))return!i(t).length;for(var n in t)if(d.call(t,n))return!1;return!0}},52:function(t,e,n){var i=n(54);t.exports=function(t){if("string"==typeof t||i(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},54:function(t,e,i){var a=i(36),o=i(28);t.exports=function(t){return"symbol"==n(t)||o(t)&&"[object Symbol]"==a(t)}},59:function(t,e,n){var i=n(23).Symbol;t.exports=i},6:function(t,e,n){var i=n(101),a=n(38),o=n(37),r=n(33),s=n(84),c=Math.max;t.exports=function(t,e,n,l){t=a(t)?t:s(t),n=n&&!l?r(n):0;var _=t.length;return n<0&&(n=c(_+n,0)),o(t)?n<=_&&t.indexOf(e,n)>-1:!!_&&i(t,e,n)>-1}},60:function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},66:function(t,e,n){var i=n(218),a=n(96),o=n(223),r=n(169),s=n(170),c=n(36),l=n(138),_="[object Map]",d="[object Promise]",p="[object Set]",u="[object WeakMap]",f="[object DataView]",h=l(i),b=l(a),v=l(o),m=l(r),g=l(s),w=c;(i&&w(new i(new ArrayBuffer(1)))!=f||a&&w(new a)!=_||o&&w(o.resolve())!=d||r&&w(new r)!=p||s&&w(new s)!=u)&&(w=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,i=n?l(n):"";if(i)switch(i){case h:return f;case b:return _;case v:return d;case m:return p;case g:return u}return e}),t.exports=w},68:function(t,e){var i=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var a=n(t);return!!(e=null==e?9007199254740991:e)&&("number"==a||"symbol"!=a&&i.test(t))&&t>-1&&t%1==0&&t<e}},69:function(t,e,n){var i=n(119),a=n(328),o=n(32),r=n(3);t.exports=function(t,e){return(r(t)?i:a)(t,o(e,3))}},72:function(t,e,i){(function(t){var a=i(23),o=i(185),r=e&&!e.nodeType&&e,s=r&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===r?a.Buffer:void 0,l=(c?c.isBuffer:void 0)||o;t.exports=l}).call(this,i(95)(t))},73:function(t,e,n){var i=n(3),a=n(113),o=n(171),r=n(27);t.exports=function(t,e){return i(t)?t:a(t,e)?[t]:o(r(t))}},74:function(t,e){t.exports=function(t){return function(e){return t(e)}}},75:function(t,e,n){var i=n(43)(Object,"create");t.exports=i},76:function(t,e,n){var i=n(234),a=n(235),o=n(236),r=n(237),s=n(238);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=a,c.prototype.get=o,c.prototype.has=r,c.prototype.set=s,t.exports=c},77:function(t,e,n){var i=n(60);t.exports=function(t,e){for(var n=t.length;n--;)if(i(t[n][0],e))return n;return-1}},78:function(t,e,n){var i=n(240);t.exports=function(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}},8:function(t,e){t.exports=window.jQuery},80:function(t,e,n){var i=n(224),a=n(28),o=Object.prototype,r=o.hasOwnProperty,s=o.propertyIsEnumerable,c=i(function(){return arguments}())?i:function(t){return a(t)&&r.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},81:function(t,e,n){var i=n(59),a=n(45),o=n(3),r=n(54),s=i?i.prototype:void 0,c=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return a(e,t)+"";if(r(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},82:function(t,e,n){var i=n(225),a=n(74),o=n(98),r=o&&o.isTypedArray,s=r?a(r):i;t.exports=s},84:function(t,e,n){var i=n(189),a=n(14);t.exports=function(t){return null==t?[]:i(t,a(t))}},85:function(t,e,n){var i=n(124),a=n(204)(i);t.exports=a},88:function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==("undefined"==typeof window?"undefined":n(window))&&(i=window)}t.exports=i},89:function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},9:function(t,e,n){var i=n(99),a=n(85),o=n(112),r=n(3);t.exports=function(t,e){return(r(t)?i:a)(t,o(e))}},91:function(t,e,n){var i=n(73),a=n(52);t.exports=function(t,e){for(var n=0,o=(e=i(e,t)).length;null!=t&&n<o;)t=t[a(e[n++])];return n&&n==o?t:void 0}},95:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},96:function(t,e,n){var i=n(43)(n(23),"Map");t.exports=i},97:function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},98:function(t,e,i){(function(t){var a=i(137),o=e&&!e.nodeType&&e,r=o&&"object"==n(t)&&t&&!t.nodeType&&t,s=r&&r.exports===o&&a.process,c=function(){try{return r&&r.require&&r.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c}).call(this,i(95)(t))},99:function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}}}))},function(t,e,n){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t,e){for(var n in e)t[n]=e[n]}(window,function(t){var e={};function n(i){if(e[i])return e[i].exports;var a=e[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==i(t)&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(a,o,function(e){return t[e]}.bind(null,o));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=1442)}({1:function(t,e,n){var i=n(91);t.exports=function(t,e,n){var a=null==t?void 0:i(t,e);return void 0===a?n:a}},100:function(t,e,n){var i=n(227),a=n(239),o=n(241),r=n(242),s=n(243);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=a,c.prototype.get=o,c.prototype.has=r,c.prototype.set=s,t.exports=c},101:function(t,e,n){var i=n(149),a=n(208),o=n(256);t.exports=function(t,e,n){return e==e?o(t,e,n):i(t,a,n)}},107:function(t,e,n){var i=n(76),a=n(245),o=n(246),r=n(247),s=n(248),c=n(249);function l(t){var e=this.__data__=new i(t);this.size=e.size}l.prototype.clear=a,l.prototype.delete=o,l.prototype.get=r,l.prototype.has=s,l.prototype.set=c,t.exports=l},11:function(t,e){t.exports=function(t){return void 0===t}},110:function(t,e){t.exports=function(t,e,n){var i=-1,a=t.length;e<0&&(e=-e>a?0:a+e),(n=n>a?a:n)<0&&(n+=a),a=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(a);++i<a;)o[i]=t[i+e];return o}},111:function(t,e,n){var i=n(89),a=n(217),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return a(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},112:function(t,e,n){var i=n(49);t.exports=function(t){return"function"==typeof t?t:i}},113:function(t,e,n){var a=n(3),o=n(54),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(t,e){if(a(t))return!1;var n=i(t);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||s.test(t)||!r.test(t)||null!=e&&t in Object(e)}},116:function(t,e,n){var i=n(187),a=n(12),o=n(54),r=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(a(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=a(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=i(t);var n=s.test(t);return n||c.test(t)?l(t.slice(2),n?2:8):r.test(t)?NaN:+t}},117:function(t,e,n){var i=n(250),a=n(28);t.exports=function t(e,n,o,r,s){return e===n||(null==e||null==n||!a(e)&&!a(n)?e!=e&&n!=n:i(e,n,o,r,t,s))}},118:function(t,e){t.exports=function(t,e){for(var n=-1,i=e.length,a=t.length;++n<i;)t[a+n]=e[n];return t}},119:function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,a=0,o=[];++n<i;){var r=t[n];e(r,n,t)&&(o[a++]=r)}return o}},12:function(t,e){t.exports=function(t){var e=i(t);return null!=t&&("object"==e||"function"==e)}},120:function(t,e,n){var i=n(210);t.exports=function(t,e,n){"__proto__"==e&&i?i(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},124:function(t,e,n){var i=n(162),a=n(14);t.exports=function(t,e){return t&&i(t,e,a)}},130:function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},137:function(t,e,n){(function(e){var n="object"==i(e)&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(88))},138:function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},139:function(t,e,n){var i=n(147),a=n(172),o=n(148);t.exports=function(t,e,n,r,s,c){var l=1&n,_=t.length,d=e.length;if(_!=d&&!(l&&d>_))return!1;var p=c.get(t),u=c.get(e);if(p&&u)return p==e&&u==t;var f=-1,h=!0,b=2&n?new i:void 0;for(c.set(t,e),c.set(e,t);++f<_;){var v=t[f],m=e[f];if(r)var g=l?r(m,v,f,e,t,c):r(v,m,f,t,e,c);if(void 0!==g){if(g)continue;h=!1;break}if(b){if(!a(e,(function(t,e){if(!o(b,e)&&(v===t||s(v,t,n,r,c)))return b.push(e)}))){h=!1;break}}else if(v!==m&&!s(v,m,n,r,c)){h=!1;break}}return c.delete(t),c.delete(e),h}},14:function(t,e,n){var i=n(163),a=n(111),o=n(38);t.exports=function(t){return o(t)?i(t):a(t)}},140:function(t,e,n){var i=n(119),a=n(164),o=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols,s=r?function(t){return null==t?[]:(t=Object(t),i(r(t),(function(e){return o.call(t,e)})))}:a;t.exports=s},1442:function(t,e,n){"use strict";(function(t){var e=p(n(6)),a=p(n(11)),o=p(n(3)),r=p(n(1)),s=p(n(55)),c=p(n(9)),l=p(n(286)),_=n(329),d=n(354);function p(t){return t&&t.__esModule?t:{default:t}}function u(t){return(u="function"==typeof Symbol&&"symbol"==i(Symbol.iterator)?function(t){return i(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":i(t)})(t)}n(1443),et_pb_custom.page_id,function(n){var i=void 0!==window.ETBlockLayoutModulesScript&&n("body").hasClass("et-block-layout-preview"),p=d.isBuilder||i?ET_Builder.Frames.top:window,f=n(window),h=n(i?p:window),b=d.isBuilder?p.jQuery(p):n(window),v=n("body").hasClass("et-tb"),m=n("body").hasClass("et-bfb"),g=d.isBuilder&&!m,w=function(){return!i&&g&&(n("html").is(".et-fb-preview--wireframe")||n("html").is(".et-fb-preview--desktop"))},y=function(){return d.isBuilder&&n("html").is(".et-fb-preview--zoom")},x=function(t){return t.closest("#et-fb-app").length>0};window.et_load_event_fired=!1,window.et_is_transparent_nav=n("body").hasClass("et_transparent_nav"),window.et_is_vertical_nav=n("body").hasClass("et_vertical_nav"),window.et_is_fixed_nav=n("body").hasClass("et_fixed_nav"),window.et_is_minified_js=n("body").hasClass("et_minified_js"),window.et_is_minified_css=n("body").hasClass("et_minified_css"),window.et_force_width_container_change=!1,t.fn.reverse=[].reverse,t.fn.closest_descendent=function(t){for(var e,n=this.children();n.length&&!(e=n.filter(t)).length;)n=n.children();return e},window.et_pb_init_woo_star_rating=function(t){var e=t.closest("div").find("p.stars");e.length>0&&e.remove(),t.hide().before('<p class="stars">\t\t\t\t<span>\t\t\t\t\t<a class="star-1" href="#">1</a>\t\t\t\t\t<a class="star-2" href="#">2</a>\t\t\t\t\t<a class="star-3" href="#">3</a>\t\t\t\t\t<a class="star-4" href="#">4</a>\t\t\t\t\t<a class="star-5" href="#">5</a>\t\t\t\t</span>\t\t\t</p>')},window.et_pb_wrap_woo_attribute_fields_in_span=function(){var t=n("form.variations_form");n.each(t,(function(t,e){var i=n(e),a=i.find(".variations select"),o=i.find(".variations select").parent("td.value"),r=i.find(".reset_variations");0===o.length||o.attr("data-is-span-added")||(o.attr("data-is-span-added","1"),n(a).wrap("<span></span>"),g&&r.length>0&&n(r).remove())}))};var C=!1;function k(){return n(".et-l:not(.et-l--footer) .et_pb_section:visible").first()}function j(){var t=n(".et_pb_blog_grid");if(0!==t.length)var e=t.find(".et_pb_salvattore_content"),i=setInterval((function(){e.each((function(){var t=n(this),e=t[0],a=getComputedStyle(e,":before").content;"none"!==a&&clearInterval(i),t.children(".column").length||"none"!==a&&(t.children("div").length&&!t.children("div")[0].classList.length?salvattore.recreateColumns(e):salvattore.registerGrid(e))}))}),100)}if(window.et_calculate_fullscreen_section_size=function(){n("section.et_pb_fullscreen").each((function(){et_calc_fullscreen_section.bind(n(this))()})),d.isBuilder||(clearTimeout(C),C=setTimeout((function(){h.off("resize",et_calculate_fullscreen_section_size),h.off("et-pb-header-height-calculated",et_calculate_fullscreen_section_size),h.trigger("resize"),h.on("resize",et_calculate_fullscreen_section_size),h.on("et-pb-header-height-calculated",et_calculate_fullscreen_section_size)})))},window.et_pb_init_modules=function(){n.et_pb_simple_slider=function(t,e){var i,a,o,r=n.extend({slide:".et-slide",arrows:".et-pb-slider-arrows",prev_arrow:".et-pb-arrow-prev",next_arrow:".et-pb-arrow-next",controls:".et-pb-controllers a",carousel_controls:".et_pb_carousel_item",control_active_class:"et-pb-active-control",previous_text:et_pb_custom.previous,next_text:et_pb_custom.next,fade_speed:500,use_arrows:!0,use_controls:!0,manual_arrows:"",append_controls_to:"",controls_below:!1,controls_class:"et-pb-controllers",slideshow:!1,slideshow_speed:7e3,show_progress_bar:!1,tabs_animation:!1,use_carousel:!1,active_slide:0},e),s=n(t),c=s.closest_descendent(r.slide),l=c.length,_=r.fade_speed,p=r.active_slide,u="",h="",b=(s.find(".et_pb_container").width(),s.hasClass("et_pb_post_slider")),v=!1;if(s.et_animation_running=!1,n.data(t,"et_pb_simple_slider",s),c.eq(0).addClass("et-pb-active-slide"),s.attr("data-active-slide",c.data("slide-id")),r.tabs_animation||s.hasClass("et_pb_bg_layout_dark")||s.hasClass("et_pb_bg_layout_light")||s.addClass(C(c.eq(0))),r.use_arrows&&l>1&&(""==r.manual_arrows?r.hasOwnProperty("slide")&&".et_pb_gallery_item"===r.slide?s.append("".concat('<div class="et-pb-slider-arrows"><a class="et-pb-arrow-prev" href="#" style="color:inherit"><span>').concat(r.previous_text,"</span>")+'</a><a class="et-pb-arrow-next" href="#" style="color:inherit">'+"<span>".concat(r.next_text,"</span>")+"</a></div>"):s.append("".concat('<div class="et-pb-slider-arrows"><a class="et-pb-arrow-prev" href="#" ><span>').concat(r.previous_text,"</span>")+'</a><a class="et-pb-arrow-next" href="#">'+"<span>".concat(r.next_text,"</span>")+"</a></div>"):s.append(r.manual_arrows),s.find(r.arrows),s.find(r.prev_arrow),s.find(r.next_arrow),s.on("click.et_pb_simple_slider",r.next_arrow,(function(){return s.et_animation_running||s.et_slider_move_to("next"),!1})),s.on("click.et_pb_simple_slider",r.prev_arrow,(function(){return s.et_animation_running||s.et_slider_move_to("previous"),!1})),s.on("swipeleft.et_pb_simple_slider",r.slide,(function(t){n(t.target).closest(".et-fb-popover-tinymce").length||n(t.target).closest(".et-fb-editable-element").length||s.et_slider_move_to("next")})),s.on("swiperight.et_pb_simple_slider",r.slide,(function(t){n(t.target).closest(".et-fb-popover-tinymce").length||n(t.target).closest(".et-fb-editable-element").length||s.et_slider_move_to("previous")}))),r.use_controls&&l>1){for(var m=1;m<=l;m++)u+='<a href="#"'.concat(1==m?' class="'.concat(r.control_active_class,'"'):"",">").concat(m,"</a>");s.find("video").length>0&&(r.controls_class+=" et-pb-controllers-has-video-tag"),u='<div class="'.concat(r.controls_class,'">').concat(u,"</div>"),""==r.append_controls_to?s.append(u):n(r.append_controls_to).append(u),(i=r.controls_below?s.parent().find(r.controls):s.find(r.controls)).on("click.et_pb_simple_slider",(function(){return s.et_animation_running||s.et_slider_move_to(n(this).index()),!1}))}if(r.use_carousel&&l>1){for(m=1;m<=l;m++){var g=m-1,w=void 0!==c.eq(g).data("image")?"url(".concat(c.eq(g).data("image"),")"):"none";h+='<div class="et_pb_carousel_item '.concat(1===m?r.control_active_class:"",'" data-slide-id="').concat(g,'">')+'<div class="et_pb_video_overlay" href="#" style="background-image: '.concat(w,';">')+'<div class="et_pb_video_overlay_hover"><a href="#" class="et_pb_video_play"></a></div></div></div>'}h="".concat('<div class="et_pb_carousel"><div class="et_pb_carousel_items">').concat(h,"</div>")+"</div>",s.after(h),(a=s.siblings(".et_pb_carousel").find(r.carousel_controls)).on("click.et_pb_simple_slider",(function(){if(s.et_animation_running)return!1;var t=n(this);return s.et_slider_move_to(t.data("slide-id")),!1}))}function y(){v||(s.hasClass("et_pb_pause_slider")?setTimeout((function(){y()}),2e3):r.slideshow&&l>1&&!s.hasClass("et_slider_hovered")&&(o=setTimeout((function(){s.et_slider_move_to("next")}),r.slideshow_speed)))}function x(){var t=s,e=t.find(".et-pb-active-slide .et_pb_slide_image"),n=e.find("img"),i=t.find(".et-pb-active-slide .et_pb_slide_video"),a=e.closest(".et_pb_slide"),o=a.closest(".et_pb_slider"),r=parseFloat(o.innerHeight()),c=parseFloat(.8*r),l=parseFloat(e.height()),_=parseFloat(i.height()),d=k().children(".et_pb_module:visible").first(),p=d.find(".et_pb_slide .et_pb_container"),u=k().is(".et_pb_fullwidth_section"),f=parseFloat(p.height()),h=parseFloat(.8*f);isNaN(c)||(e.find("img").css("maxHeight","".concat(c,"px")),l=parseInt(e.height()),window.et_is_transparent_nav&&d.is(".et_pb_slider")&&u&&(e.find("img").css("maxHeight","".concat(h,"px")),l=parseInt(e.height()))),!isNaN(l)&&a.hasClass("et_pb_media_alignment_center")&&(e.css("marginTop","-".concat(l/2,"px")),n.data("hasLoadEvent")||(n.data("hasLoadEvent",!0),n.on("load",(function(){l=parseFloat(e.height()),e.css("marginTop","-".concat(l/2,"px"))})))),isNaN(_)||i.css("marginTop","-".concat(_/2,"px"))}function C(t){return t.hasClass("et_pb_bg_layout_light")?"et_pb_bg_layout_light":"et_pb_bg_layout_dark"}r.slideshow&&l>1&&s.on("mouseenter.et_pb_simple_slider",(function(){s.hasClass("et_slider_auto_ignore_hover")||(s.addClass("et_slider_hovered"),void 0!==o&&clearTimeout(o))})).on("mouseleave.et_pb_simple_slider",(function(){s.hasClass("et_slider_auto_ignore_hover")||(s.removeClass("et_slider_hovered"),y())})),y(),s.et_slider_destroy=function(){void 0!==o&&clearTimeout(o),v=!0,s.off(".et_pb_simple_slider"),s.find(".et_pb_slide").css({"z-index":"",display:"",opacity:""}),s.find(".et-pb-active-slide").removeClass("et-pb-active-slide"),s.find(".et-pb-moved-slide").removeClass("et-pb-moved-slide"),s.find(".et-pb-slider-arrows, .et-pb-controllers").remove(),s.siblings(".et_pb_carousel, .et-pb-controllers").remove(),s.removeData("et_pb_simple_slider")},s.et_fix_slider_content_images=x,window.et_load_event_fired?"function"==typeof et_fix_slider_height&&et_fix_slider_height(s):f.on("load",(function(){"function"==typeof et_fix_slider_height&&et_fix_slider_height(s)})),f.on("resize.et_simple_slider",(function(){et_fix_slider_height(s)})),s.et_slider_move_to=function(t){var e=(c=s.closest_descendent(r.slide)).eq(p);if(s.et_animation_running=!0,s.removeClass("et_slide_transition_to_next et_slide_transition_to_previous").addClass("et_slide_transition_to_".concat(t)),s.find(".et-pb-moved-slide").removeClass("et-pb-moved-slide"),"next"===t||"previous"===t)p="next"===t?p+1<l?p+1:0:p-1>=0?p-1:l-1;else{if(p===t)return s.find(".et-pb-inactive-slide").css({"z-index":"",display:"",opacity:0}),e.css({display:"block",opacity:1}).data("slide-status","active"),void(s.et_animation_running=!1);p=t}s.attr("data-active-slide",c.eq(p).data("slide-id")),void 0!==o&&clearTimeout(o);var u=c.eq(p);s.trigger("slide",{current:e,next:u}),void 0!==e.find("video")[0]&&void 0!==e.find("video")[0].player&&e.find("video")[0].player.pause(),void 0!==u.find("video")[0]&&void 0!==u.find("video")[0].player&&u.find("video")[0].player.play();var f,h,v,m=e.find(".et_pb_video_box iframe");if(m.length){var g=m.attr("src");g=(g=(g=g.replace(/\?autoplay=1$/,"")).replace(/\?autoplay=1&(amp;)?/,"?")).replace(/&(amp;)?autoplay=1/,""),setTimeout((function(){m.attr({src:g})}),r.fade_speed),m.parents(".et_pb_video_box").next(".et_pb_video_overlay").css({display:"block",opacity:1})}s.trigger("simple_slider_before_move_to",{direction:t,next_slide:u}),c.each((function(){n(this).css("zIndex",1)})),e.css("zIndex",2).removeClass("et-pb-active-slide").addClass("et-pb-moved-slide").data("slide-status","inactive"),u.css({display:"block",opacity:0}).addClass("et-pb-active-slide").data("slide-status","active"),h=(f=s).find(".et-pb-active-slide .et_pb_slide_video"),v=parseFloat(h.height()),f.find(".et_pb_slide_video .wp-video-shortcode").css({width:"",height:""}),isNaN(v)||h.css("marginTop","-".concat(v/2,"px")),x(),b&&setTimeout((function(){var t=n(".et_pb_circle_counter"),e=n(".et_pb_number_counter");window.et_fix_testimonial_inner_width(),t.length&&window.et_pb_reinit_circle_counters(t),e.length&&window.et_pb_reinit_number_counters(e),window.et_reinit_waypoint_modules()}),1e3),r.use_controls&&i.removeClass(r.control_active_class).eq(p).addClass(r.control_active_class),r.use_carousel&&a&&a.removeClass(r.control_active_class).eq(p).addClass(r.control_active_class),r.tabs_animation?(u.css({display:"none",opacity:0}),e.addClass("et_slide_transition").css({display:"block",opacity:1}).animate({opacity:0},_,(function(){n(this).css("display","none").removeClass("et_slide_transition"),u.css({display:"block",opacity:0}).animate({opacity:1},_,(function(){s.et_animation_running=!1,s.trigger("simple_slider_after_move_to",{next_slide:u}),n(window).trigger("resize")}))}))):(u.animate({opacity:1},_),e.addClass("et_slide_transition").css({display:"list-item",opacity:1}).animate({opacity:0},_,(function(){var t,i,a,o=C(e),r=C(u);d.isBuilder?n(this).removeClass("et_slide_transition"):n(this).css("display","none").removeClass("et_slide_transition"),(t=e).has("iframe").length?(a=(i=t.find("iframe")).attr("src"),i.attr("src",""),i.attr("src",a)):t.has("video").length&&(t.find(".et_pb_section_video_bg").length||(i=t.find("video"))[0].pause()),s.removeClass(o).addClass(r),s.et_animation_running=!1,s.hasClass("et_pb_gallery")&&"none"===u.css("maxHeight")&&u.css("maxHeight",u.outerHeight()),s.trigger("simple_slider_after_move_to",{next_slide:u})}))),u.find(".et_parallax_bg").length&&window.et_pb_parallax_init(u.find(".et_parallax_bg")),y()}},n.fn.et_pb_simple_slider=function(t){return this.each((function(){return n.data(this,"et_pb_simple_slider")||new n.et_pb_simple_slider(this,t)}))};var e="||",l="|";function C(t){var i=t.split(l)[0];if(n("#".concat(i)).length){if(window.location.hash){var a=window.location.hash.substring(1),o=[];if(-1!==a.indexOf(e,0)){for(var r=a.split(e),s=!1,c=0;c<r.length;c++)r[c].split(l)[0]===i?(o.push(t),s=!0):o.push(r[c]);s||o.push(t)}else a.split(l)[0]!==i&&o.push(a),o.push(t);a=o.join(e)}else a=t;var _=document.body.scrollTop;window.location.hash=a,document.body.scrollTop=_}}function T(){var e;void 0!==t.fn.mediaelementplayer&&(e=".et_audio_container","string"==typeof e&&(e=n(e)),e.not("#et-fb-app *")).each((function(){var e=t(this);e.find(".mejs-container").first().length>0||e.find("audio").mediaelementplayer(window._wpmejsSettings)}))}n.et_pb_simple_carousel=function(t,e){var i=n.extend({slide_duration:500},e),a=n(t),o=a.find(".et_pb_carousel_items"),r=o.find(".et_pb_carousel_item");function s(t){r.width();var e=r.height();t.parent().hasClass("et_pb_with_border")&&(e=r.outerHeight()),o.css("height","".concat(e,"px"))}function c(t){var e=3,i=t.parents('.et_pb_column:not(".et_pb_specialty_column")');if(i.hasClass("et_pb_column_4_4")||i.hasClass("et_pb_column_3_4")||i.hasClass("et_pb_column_2_3")?f.width()>=768&&(e=4):i.hasClass("et_pb_column_1_4")?f.width()<=480&&f.width()>=980&&(e=2):i.hasClass("et_pb_column_3_5")?e=4:(i.hasClass("et_pb_column_1_5")||i.hasClass("et_pb_column_1_6"))&&(e=2),e!==o.data("portfolio-columns")&&!t.data("columns_setting_up")){t.data("columns_setting_up",!0),o.removeClass("columns-".concat(o.data("portfolio-columns"))),o.addClass("columns-".concat(e)),o.data("portfolio-columns",e),o.find(".et-carousel-group").length&&(r.appendTo(o),o.find(".et-carousel-group").remove());var a=o.data("items"),s=n('<div class="et-carousel-group active">').appendTo(o);r.data("position",""),a.length<=e?o.find(".et-pb-slider-arrows").hide():o.find(".et-pb-slider-arrows").show();for(var c=1,l=0;l<a.length;l++,c++)l<e?(n(a[l]).show(),n(a[l]).appendTo(s),n(a[l]).data("position",c),n(a[l]).addClass("position_".concat(c))):(c=n(a[l]).data("position"),n(a[l]).removeClass("position_".concat(c)),n(a[l]).data("position",""),n(a[l]).hide());t.data("columns_setting_up",!1)}}a.et_animation_running=!1,a.addClass("container-width-change-notify").on("containerWidthChanged",(function(t){c(a),s(a)})),o.data("items",r.toArray()),a.data("columns_setting_up",!1),o.prepend("".concat('<div class="et-pb-slider-arrows"><a class="et-pb-slider-arrow et-pb-arrow-prev" href="#"><span>').concat(et_pb_custom.previous,"</span>")+'</a><a class="et-pb-slider-arrow et-pb-arrow-next" href="#">'+"<span>".concat(et_pb_custom.next,"</span>")+"</a></div>"),c(a),s(a),a.find(".et-pb-arrow-next"),a.find(".et-pb-arrow-prev"),a.on("click",".et-pb-arrow-next",(function(){return a.et_animation_running||a.et_carousel_move_to("next"),!1})),a.on("click",".et-pb-arrow-prev",(function(){return a.et_animation_running||a.et_carousel_move_to("previous"),!1})),a.on("swipeleft",(function(){a.et_carousel_move_to("next")})),a.on("swiperight",(function(){a.et_carousel_move_to("previous")})),a.et_carousel_move_to=function(t){var e=o.find(".et-carousel-group.active"),s=o.data("items"),c=o.data("portfolio-columns");a.et_animation_running=!0;var l=0;e.children().each((function(){n(this).css({position:"absolute",left:"".concat(l,"px")}),l+=n(this).outerWidth(!0)})),n("body").addClass("et-pb-is-sliding-carousel");var _=e.find(".et_pb_carousel_item").length,d=0;if("next"==t){var p,u=1,f=1,h=C=(x=s.indexOf(e.children().first()[0]))+c,b=h+c;(p=n('<div class="et-carousel-group next" style="display: none;left: 100%;position: absolute;top: 0;">').insertAfter(e)).css({width:"".concat(e.innerWidth(),"px")}).show();for(var v=0,m=0;m>=x&&m<C&&(n(s[v]).addClass("changing_position current_position current_position_".concat(u)),n(s[v]).data("current_position",u),u++),m>=h&&m<b&&(n(s[v]).data("next_position",f),n(s[v]).addClass("changing_position next_position next_position_".concat(f)),n(s[v]).hasClass("current_position")?(n(s[v]).clone(!0).appendTo(e).hide().addClass("delayed_container_append_dup").attr("id","".concat(n(s[v]).attr("id"),"-dup")),n(s[v]).addClass("delayed_container_append")):n(s[v]).addClass("container_append"),f++),!(f>c);v++,m++)v>=s.length-1&&(v=-1);var g=o.find(".container_append, .delayed_container_append_dup").sort((function(t,e){var i=parseInt(n(t).data("next_position")),a=parseInt(n(e).data("next_position"));return i<a?-1:i>a?1:0}));n(g).show().appendTo(p),l=0,p.children().each((function(){n(this).css({position:"absolute",left:"".concat(l,"px")}),l+=n(this).outerWidth(!0)})),e.animate({left:"-100%"},{duration:i.slide_duration,progress:function(t,n){n>d/_&&(d++,e.find(".et_pb_carousel_item:nth-child(".concat(d,")")).addClass("item-fade-out"),p.find(".et_pb_carousel_item:nth-child(".concat(d,")")).addClass("item-fade-in"))},complete:function(){o.find(".delayed_container_append").each((function(){l=n("#".concat(n(this).attr("id"),"-dup")).css("left"),n(this).css({position:"absolute",left:l}),n(this).appendTo(p)})),e.removeClass("active"),e.children().each((function(){var t=n(this).data("position");u=n(this).data("current_position"),n(this).removeClass("position_".concat(t," ")+"changing_position current_position current_position_".concat(u)),n(this).data("position",""),n(this).data("current_position",""),n(this).hide(),n(this).css({position:"",left:""}),n(this).appendTo(o)})),o.find(".item-fade-out").removeClass("item-fade-out"),p.find(".item-fade-in").removeClass("item-fade-in"),n("body").removeClass("et-pb-is-sliding-carousel"),e.remove()}});var w=e.width()+parseInt(r.first().css("marginRight").slice(0,-2));p.addClass("active").css({position:"absolute",top:"0px",left:"".concat(w,"px")}),p.animate({left:"0%"},{duration:i.slide_duration,complete:function(){p.removeClass("next").addClass("active").css({position:"",width:"",top:"",left:""}),p.find(".changing_position").each((function(t){var e=n(this).data("position");u=n(this).data("current_position"),f=n(this).data("next_position"),n(this).removeClass("container_append delayed_container_append position_".concat(e," ")+"changing_position current_position current_position_".concat(u," next_position next_position_").concat(f)),n(this).data("current_position",""),n(this).data("next_position",""),n(this).data("position",t+1)})),p.children().css({position:"",left:""}),p.find(".delayed_container_append_dup").remove(),a.et_animation_running=!1}})}else if("previous"==t){u=c;var y,x,C,k=c,j=c-1,T=(C=(x=s.indexOf(e.children().last()[0]))-j)-1,O=T-j;(y=n('<div class="et-carousel-group prev" style="display: none;left: 100%;position: absolute;top: 0;">').insertBefore(e)).css({left:"-".concat(e.innerWidth(),"px"),width:"".concat(e.innerWidth(),"px")}).show();for(var S=s.length-1,P=s.length-1;P<=x&&P>=C&&(n(s[S]).addClass("changing_position current_position current_position_".concat(u)),n(s[S]).data("current_position",u),u--),P<=T&&P>=O&&(n(s[S]).data("prev_position",k),n(s[S]).addClass("changing_position prev_position prev_position_".concat(k)),n(s[S]).hasClass("current_position")?(n(s[S]).clone(!0).appendTo(e).addClass("delayed_container_append_dup").attr("id","".concat(n(s[S]).attr("id"),"-dup")),n(s[S]).addClass("delayed_container_append")):n(s[S]).addClass("container_append"),k--),!(k<=0);S--,P--)0==S&&(S=s.length);g=o.find(".container_append, .delayed_container_append_dup").sort((function(t,e){var i=parseInt(n(t).data("prev_position")),a=parseInt(n(e).data("prev_position"));return i<a?-1:i>a?1:0})),n(g).show().appendTo(y),l=0,y.children().each((function(){n(this).css({position:"absolute",left:"".concat(l,"px")}),l+=n(this).outerWidth(!0)})),e.animate({left:"100%"},{duration:i.slide_duration,progress:function(t,n){if(n>d/_){var i=_-d;e.find(".et_pb_carousel_item:nth-child(".concat(i,")")).addClass("item-fade-out"),y.find(".et_pb_carousel_item:nth-child(".concat(i,")")).addClass("item-fade-in"),d++}},complete:function(){o.find(".delayed_container_append").reverse().each((function(){l=n("#".concat(n(this).attr("id"),"-dup")).css("left"),n(this).css({position:"absolute",left:l}),n(this).prependTo(y)})),e.removeClass("active"),e.children().each((function(){var t=n(this).data("position");u=n(this).data("current_position"),n(this).removeClass("position_".concat(t," ")+"changing_position current_position current_position_".concat(u)),n(this).data("position",""),n(this).data("current_position",""),n(this).hide(),n(this).css({position:"",left:""}),n(this).appendTo(o)})),o.find(".item-fade-out").removeClass("item-fade-out"),y.find(".item-fade-in").removeClass("item-fade-in"),n("body").removeClass("et-pb-is-sliding-carousel"),e.remove()}});var z=-1*e.width()-parseInt(r.first().css("marginRight").slice(0,-2));y.addClass("active").css({position:"absolute",top:"0px",left:"".concat(z,"px")}),y.animate({left:"0%"},{duration:i.slide_duration,complete:function(){y.removeClass("prev").addClass("active").css({position:"",width:"",top:"",left:""}),y.find(".delayed_container_append_dup").remove(),y.find(".changing_position").each((function(t){var e=n(this).data("position");u=n(this).data("current_position"),k=n(this).data("prev_position"),n(this).removeClass("container_append delayed_container_append position_".concat(e," ")+"changing_position current_position current_position_".concat(u," prev_position prev_position_").concat(k)),n(this).data("current_position",""),n(this).data("prev_position",""),e=t+1,n(this).data("position",e),n(this).addClass("position_".concat(e))})),y.children().css({position:"",left:""}),a.et_animation_running=!1}})}}},n.fn.et_pb_simple_carousel=function(t){return this.each((function(){return n.data(this,"et_pb_simple_carousel")||new n.et_pb_simple_carousel(this,t)}))},n((function(){n(window).trigger("et_pb_before_init_modules");var k=n(".et_pb_slider"),j=n(".et_pb_tabs"),S=n(".et_pb_section_video_bg"),P=n(".et_pb_newsletter_button"),z=n(".et_pb_newsletter_field .input"),I=n(".et_pb_filterable_portfolio"),A=n(".et_pb_fullwidth_portfolio"),E=n(".et_pb_gallery"),B=n(".et_pb_countdown_timer"),M=n(".et_post_gallery"),H=n(".et_pb_lightbox_image"),F=n(".et_pb_map_container"),L=n(".et_pb_circle_counter"),D=n(".et_pb_number_counter"),W=n(".et_parallax_bg"),q=(n(".et_pb_shop"),n(".single.et_pb_pagebuilder_layout.et_full_width_page"),n("[data-background-layout][data-background-layout-hover]")),N=null!==navigator.userAgent.match(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/)||"standalone"in window.navigator&&!window.navigator.standalone,$=navigator.userAgent.match(/iPad/),V=null!==navigator.userAgent.match(/MSIE 9.0/),R=n(".et_pb_row"),Q=window.et_pb_custom&&!window.et_pb_custom.is_builder_plugin_used?n("body"):R,U=Q.width(),Z=(n("body").hasClass("et_vertical_fixed"),n("body").hasClass("rtl"),n("body").hasClass("et_hide_nav")),Y=(n("body").hasClass("et_header_style_left"),n("#top-header")),G=(n("#main-header"),n("#page-container"),n(".et_transparent_nav"),n("body.et_pb_pagebuilder_layout .et_pb_section:first-child"),n("#main-content .container:first-child")),X=(G.find(".et_post_meta_wrapper").first().find("h1"),G.find(".entry-content").first(),n("body.single-post"),n(".et_header_style_split"),n("#et-top-navigation"),n("#logo"),n(".et_pb_image_sticky")),J=n(".et_pb_counter_amount"),K=n(".et_pb_carousel"),tt=window.et_pb_custom&&window.et_pb_custom.is_divi_theme_used?n("ul.nav"):n(".et_pb_fullwidth_menu ul.nav"),et=window.et_pb_custom&&1e3*window.et_pb_custom.ab_bounce_rate,nt={},it="",at=(0,r.default)(window,"etCore.api.spam.recaptcha");n.each(et_pb_custom.ab_tests,(function(t,e){nt[e.post_id]={read_page:!1,read_goal:!1,view_goal:!1,click_goal:!1,con_goal:!1,con_short:!1}}));var ot=n(".et_pb_grid_item").parent().get(),rt=n(".et_pb_gutter_hover");window.et_pb_slider_init=function(t){var e={fade_speed:700,slide:t.hasClass("et_pb_gallery")?".et_pb_gallery_item":".et_pb_slide"};if(t.hasClass("et_pb_slider_no_arrows")&&(e.use_arrows=!1),t.hasClass("et_pb_slider_no_pagination")&&(e.use_controls=!1),t.hasClass("et_slider_auto")){e.slideshow=!0;var i=/et_slider_speed_(\d+)/g.exec(t.attr("class"));e.slideshow_speed=null===i?10:i[1]}t.parent().hasClass("et_pb_video_slider")&&(e.controls_below=!0,e.append_controls_to=t.parent(),setTimeout((function(){n(".et_pb_preload").removeClass("et_pb_preload")}),500)),t.hasClass("et_pb_slider_carousel")&&(e.use_carousel=!0),t.et_pb_simple_slider(e)};var st=tt;if(n(".et_pb_ab_shop_conversion").length&&void 0!==Bt("et_pb_ab_shop_log")&&""!==Bt("et_pb_ab_shop_log")){var ct=Bt("et_pb_ab_shop_log").split("_");Pt("con_goal",ct[0],ct[1],ct[2]),Mt(0,"et_pb_ab_shop_log=true")}function lt(t){var e="";if(t.length)if(t.each((function(){var t=n(this).attr("class").split("et_pb_column_")[1],i=(void 0!==t?t.split(" ",1)[0]:"4_4").replace("_","-").trim();e+="_".concat(i)})),-1!==e.indexOf("1-4")||-1!==e.indexOf("1-5_1-5")||-1!==e.indexOf("1-6_1-6"))switch(e){case"_1-4_1-4_1-4_1-4":e="et_pb_row_4col";break;case"_1-5_1-5_1-5_1-5_1-5":e="et_pb_row_5col";break;case"_1-6_1-6_1-6_1-6_1-6_1-6":e="et_pb_row_6col";break;default:e="et_pb_row".concat(e)}else e="";return e}if(n(".et_pb_ab_split_track").length&&n(".et_pb_ab_split_track").each((function(){var t=n(this).data("test_id"),e="et_pb_ab_shortcode_track_".concat(t);if(void 0!==Bt(e)&&""!==Bt(e)){var i=Bt(e).split("_");Pt("con_short",i[0],i[1],i[2]),Mt(0,"".concat(e,"=true"))}})),rt.length>0&&rt.each((function(){var t=n(this),e=t.data("original_gutter"),i=t.data("hover_gutter");t.on("mouseenter",(function(){t.removeClass("et_pb_gutters".concat(e)),t.addClass("et_pb_gutters".concat(i))})).on("mouseleave",(function(){t.removeClass("et_pb_gutters".concat(i)),t.addClass("et_pb_gutters".concat(e))}))})),window.et_pb_custom&&window.et_pb_custom.is_ab_testing_active&&n.each(et_pb_custom.ab_tests,(function(t,e){!function(t){if(!d.isBuilder){var e=It(t.post_id),i=zt(t.post_id);if(n.each(nt[t.post_id],(function(e){var n="click_goal"===e||"con_short"===e?"":i;nt[t.post_id][e]=Et("et_pb_ab_".concat(e,"_").concat(t.post_id).concat(t.test_id).concat(n),"true")})),nt[t.post_id].read_page||setTimeout((function(){Pt("read_page",t.post_id,void 0,t.test_id)}),et),"on"!==et_pb_custom.is_shortcode_tracking||nt[t.post_id].con_short||Mt(365,"et_pb_ab_shortcode_track_".concat(t.post_id,"=").concat(t.post_id,"_").concat(i,"_").concat(t.test_id)),e.length)if(e.hasClass("et_pb_module")&&(e.hasClass("et_pb_button")||e.find(".et_pb_button").length)){if(!e.hasClass("et_pb_contact_form_container")&&!e.hasClass("et_pb_newsletter")){var a=e.hasClass("et_pb_button")?e:e.find(".et_pb_button");if(e.hasClass("et_pb_comments_module")){var o=-1!==window.location.href.indexOf("#comment-"),r=Et("et_pb_ab_comment_log_".concat(t.post_id).concat(t.test_id),"true");o&&r&&(Pt("con_goal",t.post_id,void 0,t.test_id),Mt(0,"et_pb_ab_comment_log_".concat(t.post_id).concat(t.test_id,"=true")))}a.on("click",(function(){!e.hasClass("et_pb_comments_module")||nt[t.post_id].con_goal?St(e,"click_goal"):Mt(365,"et_pb_ab_comment_log_".concat(t.post_id).concat(t.test_id,"=true"))}))}}else e.on("click",(function(){e.hasClass("et_pb_shop")&&!nt[t.post_id].con_goal&&Mt(365,"et_pb_ab_shop_log=".concat(t.post_id,"_").concat(i,"_").concat(t.test_id)),St(e,"click_goal")}))}}(e)})),R.length&&R.each((function(){var t=n(this),e="";""!==(e=lt(t.find(">.et_pb_column")))&&t.addClass(e),t.find(".et_pb_row_inner").length&&t.find(".et_pb_row_inner").each((function(){var t=n(this);""!==(e=lt(t.find(".et_pb_column")))&&t.addClass(e)}));var i=t.parents(".et_pb_section.section_has_divider").length?6:3,a=isNaN(t.css("z-index"))||t.css("z-index")<i;t.find(".et_pb_module.et_pb_menu").length&&a&&t.css("z-index",i)})),window.et_pb_init_nav_menu(st),X.each((function(){window.et_pb_apply_sticky_image_effect(n(this))})),N&&(n(".et_pb_section_video_bg").each((function(){var t=n(this);t.closest(".et_pb_preload").removeClass("et_pb_preload"),t.hasClass("opened")&&t.remove()})),n("body").addClass("et_mobile_device"),$||n("body").addClass("et_mobile_device_not_ipad")),V&&n("body").addClass("et_ie9"),(S.length||d.isBuilder)&&(window.et_pb_video_section_init=function(t){t.find("video").mediaelementplayer({pauseOtherPlayers:!1,success:function(t,e){t.addEventListener("loadeddata",(function(){et_pb_resize_section_video_bg(n(e)),et_pb_center_video(n(e).closest(".mejs-video"))}),!1),t.addEventListener("canplay",(function(){n(e).closest(".et_pb_preload").removeClass("et_pb_preload")}),!1)}})},S.length>0&&et_pb_video_section_init(S)),T(),!i&&M.length>0){var _t=n.magnificPopup.instance;n("body").on("swiperight",".mfp-container",(function(){_t.prev()})),n("body").on("swipeleft",".mfp-container",(function(){_t.next()})),M.each((function(){n(this).magnificPopup({delegate:".et_pb_gallery_image a",type:"image",removalDelay:500,gallery:{enabled:!0,navigateByImgClick:!0},mainClass:"mfp-fade",zoom:{enabled:window.et_pb_custom&&!window.et_pb_custom.is_builder_plugin_used,duration:500,opener:function(t){return t.find("img")}},autoFocusLast:!1})})),M.find("a").off("click")}function dt(t){var e=t.parents(".et_pb_fullwidth_portfolio"),i=e.find(".et_pb_portfolio_items"),a=(i.find(".et_pb_portfolio_item"),i.find(".et_pb_carousel_group.active")),o=700,r=i.data("items"),s=i.data("portfolio-columns"),c=a.innerWidth()/s,l="".concat(100/s,"%");if(void 0!==r&&!e.data("carouseling"))if(e.data("carouseling",!0),a.children().each((function(){n(this).css({width:"".concat(c+1,"px"),"max-width":"".concat(c,"px"),position:"absolute",left:"".concat(c*(n(this).data("position")-1),"px")})})),t.hasClass("et-pb-arrow-next")){var _,d=1,p=1,u=y=(w=r.indexOf(a.children().first()[0]))+s,f=u+s,h=a.innerWidth();(_=n('<div class="et_pb_carousel_group next" style="display: none;left: 100%;position: absolute;top: 0;">').insertAfter(a)).css({width:"".concat(h,"px"),"max-width":"".concat(h,"px")}).show();for(var b=0,v=0;v>=w&&v<y&&(n(r[b]).addClass("changing_position current_position current_position_".concat(d)),n(r[b]).data("current_position",d),d++),v>=u&&v<f&&(n(r[b]).data("next_position",p),n(r[b]).addClass("changing_position next_position next_position_".concat(p)),n(r[b]).hasClass("current_position")?(n(r[b]).clone(!0).appendTo(a).hide().addClass("delayed_container_append_dup").attr("id","".concat(n(r[b]).attr("id"),"-dup")),n(r[b]).addClass("delayed_container_append")):n(r[b]).addClass("container_append"),p++),!(p>s);b++,v++)b>=r.length-1&&(b=-1);var m=i.find(".container_append, .delayed_container_append_dup").sort((function(t,e){var i=parseInt(n(t).data("next_position")),a=parseInt(n(e).data("next_position"));return i<a?-1:i>a?1:0}));n(m).show().appendTo(_),_.children().each((function(){n(this).css({width:"".concat(c,"px"),"max-width":"".concat(c,"px"),position:"absolute",left:"".concat(c*(n(this).data("next_position")-1),"px")})})),a.animate({left:"-100%"},{duration:o,complete:function(){i.find(".delayed_container_append").each((function(){n(this).css({width:"".concat(c,"px"),"max-width":"".concat(c,"px"),position:"absolute",left:"".concat(c*(n(this).data("next_position")-1),"px")}),n(this).appendTo(_)})),a.removeClass("active"),a.children().each((function(){var t=n(this).data("position");d=n(this).data("current_position"),n(this).removeClass("position_".concat(t," ")+"changing_position current_position current_position_".concat(d)),n(this).data("position",""),n(this).data("current_position",""),n(this).hide(),n(this).css({position:"",width:"","max-width":"",left:""}),n(this).appendTo(i)})),a.remove(),ut(e)}}),_.addClass("active").css({position:"absolute",top:"0px",left:"100%"}),_.animate({left:"0%"},{duration:o,complete:function(){setTimeout((function(){_.removeClass("next").addClass("active").css({position:"",width:"","max-width":"",top:"",left:""}),_.find(".delayed_container_append_dup").remove(),_.find(".changing_position").each((function(t){var e=n(this).data("position");d=n(this).data("current_position"),p=n(this).data("next_position"),n(this).removeClass("container_append delayed_container_append position_".concat(e," ")+"changing_position current_position current_position_".concat(d," next_position next_position_").concat(p)),n(this).data("current_position",""),n(this).data("next_position",""),n(this).data("position",t+1)})),i.find(".et_pb_portfolio_item").removeClass("first_in_row last_in_row"),et_pb_set_responsive_grid(i,".et_pb_portfolio_item:visible"),_.children().css({position:"",width:l,"max-width":l,left:""}),e.data("carouseling",!1)}),100)}})}else{d=s;var g,w,y,x=s,C=s-1,k=(y=(w=r.indexOf(a.children().last()[0]))-C)-1,j=k-C;h=a.innerWidth(),(g=n('<div class="et_pb_carousel_group prev" style="display: none;left: 100%;position: absolute;top: 0;">').insertBefore(a)).css({left:"-".concat(h,"px"),width:"".concat(h,"px"),"max-width":"".concat(h,"px")}).show();for(var T=r.length-1,O=r.length-1;O<=w&&O>=y&&(n(r[T]).addClass("changing_position current_position current_position_".concat(d)),n(r[T]).data("current_position",d),d--),O<=k&&O>=j&&(n(r[T]).data("prev_position",x),n(r[T]).addClass("changing_position prev_position prev_position_".concat(x)),n(r[T]).hasClass("current_position")?(n(r[T]).clone(!0).appendTo(a).addClass("delayed_container_append_dup").attr("id","".concat(n(r[T]).attr("id"),"-dup")),n(r[T]).addClass("delayed_container_append")):n(r[T]).addClass("container_append"),x--),!(x<=0);T--,O--)0==T&&(T=r.length);var S=i.find(".container_append, .delayed_container_append_dup").sort((function(t,e){var i=parseInt(n(t).data("prev_position")),a=parseInt(n(e).data("prev_position"));return i<a?-1:i>a?1:0}));n(S).show().appendTo(g),g.children().each((function(){n(this).css({width:"".concat(c,"px"),"max-width":"".concat(c,"px"),position:"absolute",left:"".concat(c*(n(this).data("prev_position")-1),"px")})})),a.animate({left:"100%"},{duration:o,complete:function(){i.find(".delayed_container_append").reverse().each((function(){n(this).css({width:"".concat(c,"px"),"max-width":"".concat(c,"px"),position:"absolute",left:"".concat(c*(n(this).data("prev_position")-1),"px")}),n(this).prependTo(g)})),a.removeClass("active"),a.children().each((function(){var t=n(this).data("position");d=n(this).data("current_position"),n(this).removeClass("position_".concat(t," ")+"changing_position current_position current_position_".concat(d)),n(this).data("position",""),n(this).data("current_position",""),n(this).hide(),n(this).css({position:"",width:"","max-width":"",left:""}),n(this).appendTo(i)})),a.remove()}}),g.addClass("active").css({position:"absolute",top:"0px",left:"-100%"}),g.animate({left:"0%"},{duration:o,complete:function(){setTimeout((function(){g.removeClass("prev").addClass("active").css({position:"",width:"","max-width":"",top:"",left:""}),g.find(".delayed_container_append_dup").remove(),g.find(".changing_position").each((function(t){var e=n(this).data("position");d=n(this).data("current_position"),x=n(this).data("prev_position"),n(this).removeClass("container_append delayed_container_append position_".concat(e," ")+"changing_position current_position current_position_".concat(d," prev_position prev_position_").concat(x)),n(this).data("current_position",""),n(this).data("prev_position",""),e=t+1,n(this).data("position",e),n(this).addClass("position_".concat(e))})),i.find(".et_pb_portfolio_item").removeClass("first_in_row last_in_row"),et_pb_set_responsive_grid(i,".et_pb_portfolio_item:visible"),g.children().css({position:"",width:l,"max-width":l,left:""}),e.data("carouseling",!1)}),100)}})}}function pt(t,e){var i,a=t.find(".et_pb_portfolio_items"),o=a.width(),r=a.find(".et_pb_portfolio_item");if(r.length,void 0!==r){var s=o/(i=o>=1600?5:o>=1024?4:o>=768?3:o>=480?2:1)*.75;if(e&&a.css({height:"".concat(s,"px")}),r.css({height:"".concat(s,"px")}),i!==a.data("portfolio-columns")&&!t.data("columns_setting_up")){t.data("columns_setting_up",!0);var c="".concat(100/i,"%");if(r.css({width:c,"max-width":c}),a.removeClass("columns-".concat(a.data("portfolio-columns"))),a.addClass("columns-".concat(i)),a.data("portfolio-columns",i),!e)return t.data("columns_setting_up",!1);a.find(".et_pb_carousel_group").length&&(r.appendTo(a),a.find(".et_pb_carousel_group").remove());var l=a.data("items"),_=n('<div class="et_pb_carousel_group active">').appendTo(a);if(void 0!==l){r.data("position",""),l.length<=i?a.find(".et-pb-slider-arrows").hide():a.find(".et-pb-slider-arrows").show();for(var d=1,p=0;p<l.length;p++,d++)p<i?(n(l[p]).show(),n(l[p]).appendTo(_),n(l[p]).data("position",d),n(l[p]).addClass("position_".concat(d))):(d=n(l[p]).data("position"),n(l[p]).removeClass("position_".concat(d)),n(l[p]).data("position",""),n(l[p]).hide());t.data("columns_setting_up",!1)}}}}function ut(t){if("on"===t.data("auto-rotate")&&t.find(".et_pb_portfolio_item").length>t.find(".et_pb_carousel_group .et_pb_portfolio_item").length&&!t.hasClass("et_carousel_hovered")){var e=setTimeout((function(){dt(t.find(".et-pb-arrow-next"))}),t.data("auto-rotate-speed"));t.data("et_carousel_timer",e)}}if(!i&&(H.length>0||d.isBuilder)&&(H.off("click"),H.on("click"),window.et_pb_image_lightbox_init=function(e){if(!e.magnificPopup)return t(window).on("load",(function(){window.et_pb_image_lightbox_init(e)}));e.magnificPopup({type:"image",removalDelay:500,mainClass:"mfp-fade",zoom:{enabled:window.et_pb_custom&&!window.et_pb_custom.is_builder_plugin_used,duration:500,opener:function(t){return t.find("img")}},autoFocusLast:!1})},et_pb_image_lightbox_init(H)),(k.length||d.isBuilder)&&k.each((function(){var t=n(this);et_pb_slider_init(t)})),((K=n(".et_pb_carousel")).length||d.isBuilder)&&K.each((function(){n(this).et_pb_simple_carousel({slide_duration:1e3})})),(ot.length||d.isBuilder)&&n(ot).each((function(){window.et_pb_set_responsive_grid(n(this),".et_pb_grid_item")})),(A.length||d.isBuilder)&&(window.et_fullwidth_portfolio_init=function(t,e){var i=t.find(".et_pb_portfolio_items");i.data("items",i.find(".et_pb_portfolio_item").toArray()),t.data("columns_setting_up",!1),t.hasClass("et_pb_fullwidth_portfolio_carousel")?(i.prepend("".concat('<div class="et-pb-slider-arrows"><a class="et-pb-arrow-prev" href="#"><span>').concat(et_pb_custom.previous,"</span>")+'</a><a class="et-pb-arrow-next" href="#">'+"<span>".concat(et_pb_custom.next,"</span>")+"</a></div>"),pt(t,!0),ut(t),t.on("swiperight",(function(){n(this).find(".et-pb-arrow-prev").trigger("click")})),t.on("swipeleft",(function(){n(this).find(".et-pb-arrow-next").trigger("click")})),t.on("mouseenter",(function(){n(this).addClass("et_carousel_hovered"),void 0!==n(this).data("et_carousel_timer")&&clearInterval(n(this).data("et_carousel_timer"))})).on("mouseleave",(function(){n(this).removeClass("et_carousel_hovered"),ut(n(this))})),t.data("carouseling",!1),t.on("click",".et-pb-slider-arrows a",(function(t){return dt(n(this)),t.preventDefault(),!1}))):pt(t,!1),"function"==typeof e&&e()},A.each((function(){et_fullwidth_portfolio_init(n(this))}))),n(".et_pb_section_video").length&&(window._wpmejsSettings.pauseOtherPlayers=!1),I.length||d.isBuilder){var ft=function(t){if(t.attr("id")){var e=[];e.push(t.attr("id")),e.push(t.find(".et_pb_portfolio_filter > a.active").data("category-slug")),t.find(".et_pb_portofolio_pagination a.active").length?e.push(t.find(".et_pb_portofolio_pagination a.active").data("page")):e.push(1),C(e=e.join(l))}};window.et_pb_filterable_portfolio_init=function(t){void 0!==t?set_filterable_portfolio_init(t):I.each((function(){set_filterable_portfolio_init(n(this))}))},window.set_filterable_portfolio_init=function(t,e){var i=t.find(".et_pb_portfolio_items").clone();t.show(),t.find(".et_pb_portfolio_item").addClass("active"),t.css("display","block"),window.set_filterable_grid_items(t),"function"==typeof e&&e(),t.on("click",".et_pb_portfolio_filter a",(function(t){t.preventDefault();var e=n(this).data("category-slug"),a=n(this).parents(".et_pb_filterable_portfolio"),o=a.find(".et_pb_portfolio_items");"all"==e?(a.find(".et_pb_portfolio_filter a").removeClass("active"),a.find(".et_pb_portfolio_filter_all a").addClass("active"),o.empty(),o.append(i.find(".et_pb_portfolio_item").clone()),a.find(".et_pb_portfolio_item").addClass("active")):(a.find(".et_pb_portfolio_filter_all").removeClass("active"),a.find(".et_pb_portfolio_filter a").removeClass("active"),a.find(".et_pb_portfolio_filter_all a").removeClass("active"),n(this).addClass("active"),o.empty(),o.append(i.find(".et_pb_portfolio_item.project_category_".concat(n(this).data("category-slug"))).clone()),o.find(".et_pb_portfolio_item").removeClass("active"),o.find(".et_pb_portfolio_item.project_category_".concat(n(this).data("category-slug"))).addClass("active").removeClass("inactive")),window.set_filterable_grid_items(a),setTimeout((function(){ft(a)}),500),a.find(".et_pb_portfolio_item").removeClass("first_in_row last_in_row"),et_pb_set_responsive_grid(a,".et_pb_portfolio_item:visible")})),t.on("click",".et_pb_portofolio_pagination a",(function(t){t.preventDefault();var e=n(this).data("page"),i=n(this).parents(".et_pb_filterable_portfolio");i.find(".et_pb_portfolio_items"),et_pb_smooth_scroll(i,!1,800),n(this).hasClass("page-prev")?e=parseInt(n(this).parents("ul").find("a.active").data("page"))-1:n(this).hasClass("page-next")&&(e=parseInt(n(this).parents("ul").find("a.active").data("page"))+1),n(this).parents("ul").find("a").removeClass("active"),n(this).parents("ul").find("a.page-".concat(e)).addClass("active");var a=n(this).parents("ul").find("a.page-".concat(e)).parent().index(),o=n(this).parents("ul").find("li.page").length;n(this).parent().nextUntil(".page-".concat(a+3)).show(),n(this).parent().prevUntil(".page-".concat(a-3)).show(),n(this).parents("ul").find("li.page").each((function(t){n(this).hasClass("prev")||n(this).hasClass("next")||(t<a-3||t>a+1?n(this).hide():n(this).show(),(o-a<=2&&o-t<=5||a<=3&&t<=4)&&n(this).show())})),e>1?n(this).parents("ul").find("li.prev").show():n(this).parents("ul").find("li.prev").hide(),n(this).parents("ul").find("a.active").hasClass("last-page")?n(this).parents("ul").find("li.next").hide():n(this).parents("ul").find("li.next").show(),i.find(".et_pb_portfolio_item").hide(),i.find(".et_pb_portfolio_item").filter((function(t){return n(this).data("page")===e})).show(),window.et_pb_set_responsive_grid(i.find(".et_pb_portfolio_items"),".et_pb_portfolio_item"),setTimeout((function(){ft(i)}),500),i.find(".et_pb_portfolio_item").removeClass("first_in_row last_in_row"),et_pb_set_responsive_grid(i,".et_pb_portfolio_item:visible")})),t.on("et_hashchange",(function(e){var i=e.params;(t=n("#".concat(e.target.id))).find('.et_pb_portfolio_filter a[data-category-slug="'.concat(i[0],'"]')).hasClass("active")||t.find('.et_pb_portfolio_filter a[data-category-slug="'.concat(i[0],'"]')).trigger("click"),i[1]&&setTimeout((function(){t.find(".et_pb_portofolio_pagination a.page-".concat(i[1])).hasClass("active")||t.find(".et_pb_portofolio_pagination a.page-".concat(i[1])).addClass("active").trigger("click")}),300)}))},window.set_filterable_grid_items=function(t){var e,i=t.find(".et_pb_portfolio_filter > a.active").data("category-slug");window.et_pb_set_responsive_grid(t.find(".et_pb_portfolio_items"),".et_pb_portfolio_item");var a=(e="all"===i?t.find(".et_pb_portfolio_item"):t.find(".et_pb_portfolio_item.project_category_".concat(i))).length,o=t.data("posts-number"),r=0===o?1:Math.ceil(a/o);window.set_filterable_grid_pages(t,r),a=0;var s=1;t.find(".et_pb_portfolio_item").data("page",""),e.each((function(t){a++,0===parseInt(a%o)?(n(this).data("page",s),s++):n(this).data("page",s)})),e.filter((function(){return 1==n(this).data("page")})).show(),e.filter((function(){return 1!=n(this).data("page")})).hide()},window.set_filterable_grid_pages=function(t,e){var n=t.find(".et_pb_portofolio_pagination");if(n.length&&(n.html("<ul></ul>"),!(e<=1))){var i=n.children("ul");i.append('<li class="prev" style="display:none;"><a href="#" data-page="prev" class="page-prev">'.concat(et_pb_custom.prev,"</a></li>"));for(var a=1;a<=e;a++){var o=1===a?" active":"",r=a===e?" last-page":"",s=a>=5?' style="display:none;"':"";i.append("<li".concat(s,' class="page page-').concat(a,'"><a href="#" data-page="').concat(a,'" class="page-').concat(a).concat(o).concat(r,'">').concat(a,"</a></li>"))}i.append('<li class="next"><a href="#" data-page="next" class="page-next">'.concat(et_pb_custom.next,"</a></li>"))}},window.et_load_event_fired?et_pb_filterable_portfolio_init():n(window).on("load",(function(){et_pb_filterable_portfolio_init()}))}if((E.length||d.isBuilder)&&(window.set_gallery_grid_items=function(t){var e=t.find(".et_pb_gallery_items"),i=e.find(".et_pb_gallery_item"),a=i.length,o=parseInt(e.attr("data-per_page")),r=isNaN(o)||0===o?4:o,s=Math.ceil(a/r);window.et_pb_set_responsive_grid(e,".et_pb_gallery_item"),set_gallery_grid_pages(t,s),a=0;var c=1;i.data("page",""),i.each((function(t){a++;var e=n(this);0===parseInt(a%r)?(e.data("page",c),c++):e.data("page",c)})),i.filter((function(){return 1==n(this).data("page")})).show(),i.filter((function(){return 1!=n(this).data("page")})).hide()},window.set_gallery_grid_pages=function(t,e){var n=t.find(".et_pb_gallery_pagination");if(n.length)if(n.html("<ul></ul>"),e<=1)n.hide();else{var i=n.children("ul");i.append('<li class="prev" style="display:none;"><a href="#" data-page="prev" class="page-prev">'.concat(et_pb_custom.prev,"</a></li>"));for(var a=1;a<=e;a++){var o=1===a?" active":"",r=a===e?" last-page":"",s=a>=5?' style="display:none;"':"";i.append("<li".concat(s,' class="page page-').concat(a,'"><a href="#" data-page="').concat(a,'" class="page-').concat(a).concat(o).concat(r,'">').concat(a,"</a></li>"))}i.append('<li class="next"><a href="#" data-page="next" class="page-next">'.concat(et_pb_custom.next,"</a></li>"))}},window.set_gallery_hash=function(t){if(t.attr("id")){var e=[];e.push(t.attr("id")),t.find(".et_pb_gallery_pagination a.active").length?e.push(t.find(".et_pb_gallery_pagination a.active").data("page")):e.push(1),C(e=e.join(l))}},window.et_pb_gallery_init=function(t){t.hasClass("et_pb_gallery_grid")&&(t.show(),set_gallery_grid_items(t),t.on("et_hashchange",(function(e){var i=e.params;t=n("#".concat(e.target.id));var a=i[0];a&&(t.find(".et_pb_gallery_pagination a.page-".concat(a)).hasClass("active")||t.find(".et_pb_gallery_pagination a.page-".concat(a)).addClass("active").trigger("click"))})))},E.each((function(){var t=n(this);et_pb_gallery_init(t)})),E.data("paginating",!1),window.et_pb_gallery_pagination_nav=function(t){t.on("click",".et_pb_gallery_pagination a",(function(t){t.preventDefault();var e=n(this).data("page"),i=n(this).parents(".et_pb_gallery"),a=i.find(".et_pb_gallery_items"),o=a.find(".et_pb_gallery_item");if(!i.data("paginating")){i.data("paginating",!0),n(this).hasClass("page-prev")?e=parseInt(n(this).parents("ul").find("a.active").data("page"))-1:n(this).hasClass("page-next")&&(e=parseInt(n(this).parents("ul").find("a.active").data("page"))+1),n(this).parents("ul").find("a").removeClass("active"),n(this).parents("ul").find("a.page-".concat(e)).addClass("active");var r=n(this).parents("ul").find("a.page-".concat(e)).parent().index(),s=n(this).parents("ul").find("li.page").length;n(this).parent().nextUntil(".page-".concat(r+3)).show(),n(this).parent().prevUntil(".page-".concat(r-3)).show(),n(this).parents("ul").find("li.page").each((function(t){n(this).hasClass("prev")||n(this).hasClass("next")||(t<r-3||t>r+1?n(this).hide():n(this).show(),(s-r<=2&&s-t<=5||r<=3&&t<=4)&&n(this).show())})),e>1?n(this).parents("ul").find("li.prev").show():n(this).parents("ul").find("li.prev").hide(),n(this).parents("ul").find("a.active").hasClass("last-page")?n(this).parents("ul").find("li.next").hide():n(this).parents("ul").find("li.next").show(),o.hide(),o.filter((function(t){return n(this).data("page")===e})).show(),i.data("paginating",!1),window.et_pb_set_responsive_grid(a,".et_pb_gallery_item"),setTimeout((function(){set_gallery_hash(i)}),100)}}))},et_pb_gallery_pagination_nav(E),d.isBuilder&&et_pb_gallery_pagination_nav(n("#et-fb-app"))),J.length&&J.each((function(){window.et_bar_counters_init(n(this))})),window.et_countdown_timer=function(t){var e=parseInt(t.attr("data-end-timestamp"))-(new Date).getTime()/1e3,n=parseInt(e/86400);n=n>0?n:0,e%=86400;var i=parseInt(e/3600);i=i>0?i:0,e%=3600;var a=parseInt(e/60);a=a>0?a:0;var o=parseInt(e%60);o=o>0?o:0;var r=t.find(".days > .value").parent(".section"),s=t.find(".hours > .value").parent(".section"),c=t.find(".minutes > .value").parent(".section"),l=t.find(".seconds > .value").parent(".section");if(0==n)r.hasClass("zero")||t.find(".days > .value").html("000").parent(".section").addClass("zero").next().addClass("zero");else{var _=n.toString().length>=3?n.toString().length:3;t.find(".days > .value").html("000".concat(n).slice(-_)),r.hasClass("zero")&&r.removeClass("zero").next().removeClass("zero")}0===n&&0===i?s.hasClass("zero")||t.find(".hours > .value").html("00").parent(".section").addClass("zero").next().addClass("zero"):(t.find(".hours > .value").html("0".concat(i).slice(-2)),s.hasClass("zero")&&s.removeClass("zero").next().removeClass("zero")),0===n&&0===i&&0===a?c.hasClass("zero")||t.find(".minutes > .value").html("00").parent(".section").addClass("zero").next().addClass("zero"):(t.find(".minutes > .value").html("0".concat(a).slice(-2)),c.hasClass("zero")&&c.removeClass("zero").next().removeClass("zero")),0===n&&0===i&&0===a&&0===o?l.hasClass("zero")||t.find(".seconds > .value").html("00").parent(".section").addClass("zero"):(t.find(".seconds > .value").html("0".concat(o).slice(-2)),l.hasClass("zero")&&l.removeClass("zero").next().removeClass("zero"))},window.et_countdown_timer_labels=function(t){t.closest(".et_pb_column_3_8").length||t.closest(".et_pb_column_1_4").length||t.children(".et_pb_countdown_timer_container").width()<=400?(t.find(".days .label").html(t.find(".days").data("short")),t.find(".hours .label").html(t.find(".hours").data("short")),t.find(".minutes .label").html(t.find(".minutes").data("short")),t.find(".seconds .label").html(t.find(".seconds").data("short"))):(t.find(".days .label").html(t.find(".days").data("full")),t.find(".hours .label").html(t.find(".hours").data("full")),t.find(".minutes .label").html(t.find(".minutes").data("full")),t.find(".seconds .label").html(t.find(".seconds").data("full")))},(B.length||d.isBuilder)&&(window.et_pb_countdown_timer_init=function(t){t.each((function(){var t=n(this);et_countdown_timer_labels(t),et_countdown_timer(t),setInterval((function(){et_countdown_timer(t)}),1e3)}))},et_pb_countdown_timer_init(B)),window.et_pb_tabs_init=function(t){t.each((function(){var t=n(this),e=t.find(".et_pb_tabs_controls li"),i=v||m||g?0:t.find(".et_pb_tab_active").index(),a={use_controls:!1,use_arrows:!1,slide:".et_pb_all_tabs > div",tabs_animation:!0};0!==i&&(a.active_slide=i),t.et_pb_simple_slider(a).on("et_hashchange",(function(t){var e=t.params,i=n("#".concat(t.target.id)),a=e[0];i.find(".et_pb_tabs_controls li").eq(a).hasClass("et_pb_tab_active")||i.find(".et_pb_tabs_controls li").eq(a).trigger("click")})),e.on("click",(function(){var t=n(this),e=t.closest(".et_pb_tabs").data("et_pb_simple_slider");if(e.et_animation_running)return!1;if(t.addClass("et_pb_tab_active").siblings().removeClass("et_pb_tab_active"),e.data("et_pb_simple_slider").et_slider_move_to(t.index()),t.closest(".et_pb_tabs").attr("id")){var i=[];i.push(t.closest(".et_pb_tabs").attr("id")),i.push(t.index()),C(i=i.join(l))}return!1})),function(t){var e=window.location.hash;if(""!==e){var n=e.replace("#","");n=/^tab\-/.test(n)?n:"tab-".concat(n);var i=t.find('.et_pb_tabs_controls li a[href="#'.concat(n,'"]'));i.length&&i.parent().trigger("click")}}(t),window.et_pb_set_tabs_height()}))},(j.length||d.isBuilder)&&window.et_pb_tabs_init(j),F.length||d.isBuilder){var ht=function(){F.each((function(){et_pb_map_init(n(this))}))};window.et_pb_map_init=function(t){if("undefined"!=typeof google&&void 0!==google.maps){var e=At();it=e;var i="desktop"!==e?"-".concat(e):"",a="phone"===e?"-tablet":"",o=t.attr("data-grayscale".concat(i))||0;o||(o=t.attr("data-grayscale".concat(a))||t.attr("data-grayscale")||0);var r,s=t.children(".et_pb_map"),c=o,l=N&&"off"!==s.data("mobile-dragging")||!N;0!==c&&(c="-".concat(c.toString()));var _=parseFloat(s.attr("data-center-lat"))||0,d=parseFloat(s.attr("data-center-lng"))||0;t.data("map",new google.maps.Map(s[0],{zoom:parseInt(s.attr("data-zoom")),center:new google.maps.LatLng(_,d),mapTypeId:google.maps.MapTypeId.ROADMAP,scrollwheel:"on"==s.attr("data-mouse-wheel"),draggable:l,panControlOptions:{position:t.is(".et_beneath_transparent_nav")?google.maps.ControlPosition.LEFT_BOTTOM:google.maps.ControlPosition.LEFT_TOP},zoomControlOptions:{position:t.is(".et_beneath_transparent_nav")?google.maps.ControlPosition.LEFT_BOTTOM:google.maps.ControlPosition.LEFT_TOP},styles:[{stylers:[{saturation:parseInt(c)}]}]})),t.find(".et_pb_map_pin").each((function(){var e=n(this),i=new google.maps.Marker({position:new google.maps.LatLng(parseFloat(e.attr("data-lat")),parseFloat(e.attr("data-lng"))),map:t.data("map"),title:e.attr("data-title"),icon:{url:"".concat(et_pb_custom.builder_images_uri,"/marker.png"),size:new google.maps.Size(46,43),anchor:new google.maps.Point(16,43)},shape:{coord:[1,1,46,43],type:"rect"},anchorPoint:new google.maps.Point(0,-45)});if(e.find(".infowindow").length){var a=new google.maps.InfoWindow({content:e.html()});google.maps.event.addListener(t.data("map"),"click",(function(){a.close()})),google.maps.event.addListener(i,"click",(function(){r&&r.close(),r=a,a.open(t.data("map"),i),e.closest(".et_pb_module").trigger("mouseleave"),setTimeout((function(){e.closest(".et_pb_module").trigger("mouseenter")}),1)}))}}))}},window.et_load_event_fired?ht():"undefined"!=typeof google&&void 0!==google.maps&&google.maps.event.addDomListener(window,"load",(function(){ht()}))}n(".et_pb_shop, .et_pb_wc_upsells, .et_pb_wc_related_products").each((function(){var t=n(this),e=(0,a.default)(t.data("icon"))||""===t.data("icon")?"":t.data("icon"),i=(0,a.default)(t.data("icon-tablet"))||""===t.data("icon-tablet")?"":t.data("icon-tablet"),o=(0,a.default)(t.data("icon-phone"))||""===t.data("icon-phone")?"":t.data("icon-phone"),r=(0,a.default)(t.data("icon-sticky"))||""===t.data("icon-sticky")?"":t.data("icon-sticky"),s=t.find(".et_overlay");if(!s.length&&t.hasClass("et_pb_wc_related_products")&&(s=t.find(".et_pb_extra_overlay"),t=s.closest(".et_pb_module_inner").parent(),e=(0,a.default)(t.data("icon"))||""===t.data("icon")?"":t.data("icon"),i=(0,a.default)(t.data("icon-tablet"))||""===t.data("icon-tablet")?"":t.data("icon-tablet"),o=(0,a.default)(t.data("icon-phone"))||""===t.data("icon-phone")?"":t.data("icon-phone"),r=(0,a.default)(t.data("icon-sticky"))||""===t.data("icon-sticky")?"":t.data("icon-sticky")),""!==e&&s.attr("data-icon",e).addClass("et_pb_inline_icon"),""!==i&&s.attr("data-icon-tablet",i).addClass("et_pb_inline_icon_tablet"),""!==o&&s.attr("data-icon-phone",o).addClass("et_pb_inline_icon_phone"),""!==r&&s.attr("data-icon-sticky",r).addClass("et_pb_inline_icon_sticky"),t.hasClass("et_pb_shop")){var c=t.find("li.product"),l=t.attr("data-shortcode_index"),_="et_pb_shop_item_".concat(l);c.length>0&&c.each((function(t,e){n(e).addClass("".concat(_,"_").concat(t))}))}})),n(".et_pb_wc_cart_totals").each((function(){var t=d.isBuilder?n(".et_pb_module_inner",this):n(this),e={};n.each(t.data(),(function(n){if(n.includes("buttonName")){var i=t.data(n),a=t.data("".concat(i,"-icon"))||"",o=t.data("".concat(i,"-icon-tablet"))||"",r=t.data("".concat(i,"-icon-phone"))||"";e[i]={icon:a,"icon-tablet":o,"icon-phone":r,class:t.data("button-class")}}})),n.each(e,(function(e,n){var i=t.find('button[name="'.concat(e,'"]:eq(0)'));0===i.length&&(i=t.find(".".concat(e))),i.addClass(n.class),i.attr("data-icon",n.icon),i.attr("data-icon-tablet",n["icon-tablet"]),i.attr("data-icon-phone",n["icon-phone"])}))})),q.each((function(){var t,e,i=n(this),a=i.data("background-layout"),o=i.data("background-layout-hover"),r=i.data("background-layout-tablet"),s=i.data("background-layout-phone");i.hasClass("et_pb_button_module_wrapper")?i=i.find("> .et_pb_button"):i.hasClass("et_pb_gallery")?(t=i.find(".et_pb_gallery_item"),i=i.add(t)):i.hasClass("et_pb_post_slider")?(t=i.find(".et_pb_slide"),i=i.add(t)):i.hasClass("et_pb_slide")&&(e=i.closest(".et_pb_slider"),i=i.add(e));var c="et_pb_bg_layout_light et_pb_bg_layout_dark et_pb_text_color_dark",l="et_pb_bg_layout_".concat(a),_="et_pb_bg_layout_".concat(o),d="light"===a?"et_pb_text_color_dark":"",p="light"===o?"et_pb_text_color_dark":"";r&&(c+=" et_pb_bg_layout_light_tablet et_pb_bg_layout_dark_tablet et_pb_text_color_dark_tablet",l+=" et_pb_bg_layout_".concat(r,"_tablet"),_+=" et_pb_bg_layout_".concat(o,"_tablet"),d+="light"===r?" et_pb_text_color_dark_tablet":"",p+="light"===o?" et_pb_text_color_dark_tablet":""),s&&(c+=" et_pb_bg_layout_light_phone et_pb_bg_layout_dark_phone et_pb_text_color_dark_phone",l+=" et_pb_bg_layout_".concat(s,"_phone"),_+=" et_pb_bg_layout_".concat(o,"_phone"),d+="light"===s?" et_pb_text_color_dark_phone":"",p+="light"===o?" et_pb_text_color_dark_phone":""),i.on("mouseenter",(function(){i.removeClass(c),i.addClass(_),i.hasClass("et_pb_audio_module")&&""!==p&&i.addClass(p)})),i.on("mouseleave",(function(){i.removeClass(c),i.addClass(l),i.hasClass("et_pb_audio_module")&&""!==d&&i.addClass(d)}))})),(L.length||d.isBuilder||n(".et_pb_ajax_pagination_container").length>0)&&(window.et_pb_circle_counter_init=function(t,e,i){if(!(t.width()<=0)){var a=At();it=a;var o="";void 0!==i&&""!==i?o="-".concat(i):"desktop"!==a&&(o="-".concat(a));var r=t.data("bar-bg-color"),s=t.data("bar-bg-color".concat(o));void 0!==s&&""!==s&&(r=s);var c=t.data("color")||"#000000",l=t.data("color".concat(o));void 0!==l&&""!==l&&(c=l);var _=t.data("alpha")||"0.1",d=t.data("alpha".concat(o));void 0===d||""===d||isNaN(d)||(_=d),t.easyPieChart({animate:{duration:1800,enabled:!0},size:0!==t.width()?t.width():10,barColor:r,trackColor:c,trackAlpha:_,scaleColor:!1,lineWidth:5,onStart:function(){n(this.el).find(".percent p").css({visibility:"visible"})},onStep:function(t,e,i){n(this.el).find(".percent-value").text(Math.round(parseInt(i)))},onStop:function(t,e){n(this.el).find(".percent-value").text(n(this.el).data("number-value"))}})}},window.et_pb_reinit_circle_counters=function(t){t.each((function(){var t=n(this).find(".et_pb_circle_counter_inner");window.et_pb_circle_counter_init(t,!1),t.on("mouseover",(function(e){window.et_pb_circle_counter_update(t,e,"hover")})),t.on("mouseleave",(function(e){window.et_pb_circle_counter_update(t,e)})),t.on("containerWidthChanged",(function(e,i){(t=n(e.target)).find("canvas").remove(),t.removeData("easyPieChart"),window.et_pb_circle_counter_init(t,!0,i)}));var e=t.attr("data-sticky-id");e&&(window.addEventListener("ETBuilderStickyStart",(function(n){e===n.detail.stickyId&&window.et_pb_circle_counter_update(t,event,"sticky")})),window.addEventListener("ETBuilderStickyEnd",(function(n){e===n.detail.stickyId&&window.et_pb_circle_counter_update(t,event)})))}))},window.et_pb_reinit_circle_counters(L)),window.et_pb_circle_counter_update=function(t,e,i){if(t.is(":visible")&&void 0!==t.data("easyPieChart")){if("mouseleave"===e.type&&t.closest(".et_pb_sticky").length>0&&(i="sticky"),n(e.target).length>0&&("mouseover"===e.type||"mouseleave"===e.type)){var a=!1,o=t.data("bar-bg-color-hover"),r=t.data("color-hover"),s=t.data("alpha-hover");if((void 0!==o&&""!==o||void 0!==r&&""!==r||void 0!==s&&""!==s)&&(a=!0),!a)return}var c=[];void 0!==i&&""!==i&&(c=[i]),t.trigger("containerWidthChanged",c),["ETBuilderStickyStart","ETBuilderStickyEnd"].includes(e.type)&&""===t.find(".percent-value").text()||(t.data("easyPieChart").disableAnimation(),t.data("easyPieChart").update(t.data("number-value")))}},(D.length||d.isBuilder||n(".et_pb_ajax_pagination_container").length>0)&&(window.et_pb_reinit_number_counters=function(t){var e=n("body").hasClass("gecko");function i(t,e){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,e)}function a(t){return t.data("number-separator")}n.fn.fitText&&t.find(".percent p").fitText(.3),t.each((function(){var t=n(this);t.easyPieChart({animate:{duration:1800,enabled:!0},size:e?1:0,trackColor:!1,scaleColor:!1,lineWidth:0,onStart:function(e,o){n(this.el).addClass("active"),e===o&&n(this.el).find(".percent-value").text(i(n(this.el).data("number-value"),a(t)))},onStep:function(e,o,r){r!=o&&n(this.el).find(".percent-value").text(i(Math.round(parseInt(r)),a(t)))},onStop:function(e,o){n(this.el).find(".percent-value").text(i(n(this.el).data("number-value"),a(t)))}})}))},window.et_pb_reinit_number_counters(D)),window.et_apply_parallax=function(){if(n(this).length&&void 0!==n(this)&&void 0!==n(this).offset()){var t=b;v?t=p.jQuery("#et-fb-app"):w()&&(t=n(window));var e=n(this),a=e.parent(),o=y()?e.offset().top/2:e.offset().top,r=t.scrollTop();if(!a.hasClass("et_is_animating")){if(i){var s="#divi-layout-iframe-".concat(ETBlockLayoutModulesScript.blockId);o+=p.jQuery(s).offset().top}var c,l=.3*(r+b.height()-o);c="translate(0, ".concat(l,"px)"),(e.children(".et_parallax_bg_wrap").length>0?e.children(".et_parallax_bg_wrap").find(".et_parallax_bg"):e.children(".et_parallax_bg")).css({"-webkit-transform":c,"-moz-transform":c,"-ms-transform":c,transform:c})}}},window.et_parallax_set_height=function(){var t=n(this),e=d.isBuilder&&t.parent(".et_pb_fullscreen").length&&b.height()>t.innerHeight()?b.height():t.innerHeight(),i=.3*b.height()+e;m&&(i+=p.jQuery("#et_pb_layout .inside").offset().top),t.find(".et_parallax_bg").css({height:"".concat(i,"px")})},window.et_apply_builder_css_parallax=function(){if(d.isBuilder||i){var t=n(this),e=t.children(".et_parallax_bg");if(e.css({width:"",height:"",top:"",left:"",backgroundAttachment:""}),!w()||v){var a=v?p.jQuery("#et-fb-app"):b,o=a.scrollTop(),r=m?p.jQuery("#et_pb_layout .inside").offset().top:0,s=y()?2:1,c=t.offset(),l=y()?c.top/2:c.top;i&&(a=p.jQuery((0,_.getContentAreaSelector)(p,!0)),r=p.jQuery("#divi-layout-iframe-".concat(ETBlockLayoutModulesScript.blockId)).offset().top,o=a.offset().top),e.css({width:"".concat(n(window).width(),"px"),height:"".concat(a.innerHeight()*s,"px"),top:"".concat(o-r-l,"px"),left:"".concat(0-c.left,"px"),backgroundAttachment:"scroll"})}}},n(".et_pb_accordion").on("touchstart",(function(t){if("desktop"!==At()){var e=n(t.target);(e.hasClass("et_pb_toggle_title")||e.hasClass("et_fb_toggle_overlay"))&&(t.preventDefault(),e.trigger("click"))}})),n("body").on("click",".et_pb_toggle_title, .et_fb_toggle_overlay",(function(){var t,e,i=n(this).closest(".et_pb_toggle"),a=i.parents(".et_pb_section"),o=i.find(".et_pb_toggle_content"),r=i.closest(".et_pb_accordion"),s=r.length,c=r.hasClass("et_pb_accordion_toggling"),l=n(window).scrollTop(),_=0,d=i.hasClass("et_pb_toggle_close")?"closed":"opened";if(s){if(i.hasClass("et_pb_toggle_open")||c)return!1;r.addClass("et_pb_accordion_toggling"),t=i.siblings(".et_pb_toggle_open")}if(!o.is(":animated")&&(o.slideToggle(700,(function(){!function(t,e,n){"closed"===t?e.removeClass("et_pb_toggle_close").addClass("et_pb_toggle_open"):e.removeClass("et_pb_toggle_open").addClass("et_pb_toggle_close"),n.hasClass("et_pb_section_parallax")&&!n.children().hasClass("et_pb_parallax_css")&&et_parallax_set_height.bind(n)(),window.et_reinit_waypoint_modules()}(d,i,a)})),s)){var p=function(){t.removeClass("et_pb_toggle_open").addClass("et_pb_toggle_close"),r.removeClass("et_pb_accordion_toggling"),e=i.offset(),n("#wpadminbar").length&&(_+=n("#wpadminbar").height()),n("#top-header").length&&(_+=n("#top-header").height()),n("#main-header").length&&!window.et_is_vertical_nav&&(_+=n("#main-header").height()),l+_>e.top&&n("html, body").animate({scrollTop:e.top-_-50})};t.find(".et_pb_toggle_content").is(":visible")?t.find(".et_pb_toggle_content").slideToggle(700,p):(t.find(".et_pb_toggle_content").hide(),p())}}));var bt=/^[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])?)*$/,vt=n(".et_pb_contact_form_container"),mt=!d.isBuilder&&n(".et_pb_module.et_pb_recaptcha_enabled").length>0,gt=document.body.innerHTML.match(/<script [^>]*src="[^"].*google.com\/recaptcha\/api.js\?.*render.*"[^>]*>([\s\S]*?)<\/script>/gim),wt=n("#et-recaptcha-v3-js"),yt=gt&&gt.length>wt.length;function xt(t){var e=t||k;e&&e.length&&e.each((function(){var t=n(this).parent(".et_pb_section"),e=n(this).find(".et_pb_slide"),i=e.find(".et_pb_container"),a=0,o=0,r=n(this).hasClass("et_pb_post_slider_image_top"),s=n(this).hasClass("et_pb_post_slider_image_bottom");if(t.is(".et_pb_section_first"))return!0;i.css("height",""),e.addClass("et_pb_temp_slide"),"object"===u(n(this).data("et_pb_simple_slider"))&&n(this).data("et_pb_simple_slider").et_fix_slider_content_images(),e.each((function(){var t=parseFloat(n(this).innerHeight()),e=n(this).find(".et_pb_slide_image"),i=parseFloat(n(this).data("adjustedHeight")),c=isNaN(i)?0:i;t=c&&c<t?t-c:t,(r||s)&&(e.length?(o=r?parseFloat(e.css("margin-top")):parseFloat(e.css("margin-bottom")),o+=10):n(this).find(".et_pb_container").addClass("et_pb_no_image")),0!==n(this).find(".et_pb_slide_description").length&&0!==n(this).find(".et_pb_slide_description").html().trim().length||n(this).find(".et_pb_container").addClass("et_pb_empty_slide"),a<t&&(a=t)})),a+o<1?i.css("height",""):i.css("height","".concat(a+o,"px")),e.removeClass("et_pb_temp_slide"),e.filter(".et-pb-active-slide").find(".et_pb_slide_image").children("img").addClass("active")}))}!d.isBuilder&&(yt||mt&&at&&at.isEnabled())&&n("body").addClass("et_pb_recaptcha_enabled"),vt.length&&vt.each((function(){var t=n(this),e=t.find("form"),i=void 0!==t.data("redirect_url")?t.data("redirect_url"):"";e.find("input[type=checkbox]").on("change",(function(){var t=n(this),e=t.siblings("input[type=text]").first(),i=t.prop("checked");e.val(i?e.data("checked"):e.data("unchecked"))})),e.on("submit",(function(e){e.preventDefault();var a=n(this);if(!0!==a.data("submitted")){var o=a.find('input[type=text], .et_pb_checkbox_handle, .et_pb_contact_field[data-type="radio"], textarea, select'),r=a.find(".et_pb_contact_captcha"),s=t.find(".et-pb-contact-message"),c=void 0!==t.data("form_unique_num")?t.data("form_unique_num"):0,l=!1,_="",d="",p=[],u=[],h=n.Deferred();at&&t.hasClass("et_pb_recaptcha_enabled")?at.interaction("Divi/Module/ContactForm/".concat(c)).then((function(t){h.resolve(t)})):h.resolve(""),n.when(h).done((function(e){if(_="<ul>",o.removeClass("et_contact_error"),o.each((function(){var t=n(this),e=!1;"checkbox"===t.data("field_type")&&(e=t.parents(".et_pb_contact_field")).removeClass("et_contact_error"),"radio"===t.data("type")&&(e=(t=t.find('input[type="radio"]')).parents(".et_pb_contact_field"));var i,a=t.attr("id"),o=t.val(),r=t.siblings("label").first().text(),s=void 0!==t.data("field_type")?t.data("field_type"):"text",c=void 0!==t.data("required_mark")?t.data("required_mark"):"not_required",f=void 0!==t.data("original_id")?t.data("original_id"):"",h=!1;if("radio"===s){if(0!==e.find('input[type="radio"]').length){s="radio";var b=e.find('input[type="radio"]').first();c=void 0!==b.data("required_mark")?b.data("required_mark"):"not_required",o="",e.find('input[type="radio"]:checked')&&(o=e.find('input[type="radio"]:checked').val())}r=e.find(".et_pb_contact_form_label").text(),a=e.find('input[type="radio"]').first().attr("name"),f=e.attr("data-id"),0===e.find('input[type="radio"]:checked').length&&(h=!0)}if("checkbox"===s){if(o="",0!==e.find('input[type="checkbox"]').length){s="checkbox";var v=e.find(".et_pb_checkbox_handle");c=void 0!==v.data("required_mark")?v.data("required_mark"):"not_required",e.find('input[type="checked"]:checked')&&(o=[],e.find('input[type="checkbox"]:checked').each((function(){o.push(n(this).val())})),o=o.join(", "))}if(e.find(".et_pb_checkbox_handle").val(o),0===(r=e.find(".et_pb_contact_form_label").text()).trim().length){var m=e.find('.et_pb_contact_field_checkbox input[type="checkbox"]');if(m.length>0){var g=[];m.each((function(){g.push(n(this).val())})),0===(r=g.join(", ")).trim().length&&(r=et_pb_custom.wrong_checkbox)}}a=e.find(".et_pb_checkbox_handle").attr("name"),f=e.attr("data-id"),0===e.find('input[type="checkbox"]:checked').length&&(h=!0)}if(r=r.replace(/"/g,"&quot;"),t.is(":visible")||!t.parents("[data-conditional-logic]").length||"hidden"===t.attr("type")||"radio"===t.attr("type"))if("hidden"!==t.attr("type")&&"radio"!==t.attr("type")||t.parents(".et_pb_contact_field").is(":visible")){if(void 0!==a&&p.push({field_id:a,original_id:f,required_mark:c,field_type:s,field_label:r}),"required"!==c||""!==o&&!0!==h||t.is('[id^="et_pb_contact_et_number_"]')||(!1===e?t.addClass("et_contact_error"):e.addClass("et_contact_error"),l=!0,""===(i=r)&&(i=et_pb_custom.captcha),d+="<li>".concat(i,"</li>")),"email"===s){var w=o.trim().toLowerCase(),y=function(t){if(6>t.length)return!1;if(!1===function(t,e,n){var i=(t+"").indexOf("@",1);return-1!==i&&i}(t))return!1;var e=t.split("@",2),n=e[0],i=e[1];if(!/^[a-zA-Z0-9!#$%&\'*+\/=?^_`{|}~\.-]+$/.test(n))return!1;if(/\.{2,}/.test(i))return!1;if(s(i," \t\n\r\0\v.")!==i)return!1;var a=i.split(".");if(2>a.length)return!1;for(var o in a){var r=a[o];if(s(r," \t\n\r\0\v-")!==r)return!1;if(!/^[a-z0-9-]+$/i.test(r))return!1}return!0;function s(t,e){var n=[" ","\n","\r","\t","\f","\v","\xa0","\u2000","\u2001","\u2002","\u2003","\u2004","\u2005","\u2006","\u2007","\u2008","\u2009","\u200a","\u200b","\u2028","\u2029","\u3000"].join(""),i=0,a=0;for(t+="",e&&(n=(e+"").replace(/([[\]().?/*{}+$^:])/g,"$1")),i=t.length,a=0;a<i;a++)if(-1===n.indexOf(t.charAt(a))){t=t.substring(a);break}for(a=(i=t.length)-1;a>=0;a--)if(-1===n.indexOf(t.charAt(a))){t=t.substring(0,a+1);break}return-1===n.indexOf(t.charAt(0))?t:""}}(w);""===w||r===w||y||(t.addClass("et_contact_error"),l=!0,y||(_+="<li>".concat(et_pb_custom.invalid,"</li>")))}}else u.push(f);else u.push(f)})),r.length&&""!==r.val()){var h=parseInt(r.data("first_digit")),b=parseInt(r.data("second_digit"));parseInt(r.val())!==h+b&&(_+="<li>".concat(et_pb_custom.wrong_captcha,"</li>"),l=!0,h=Math.floor(15*Math.random()+1),b=Math.floor(15*Math.random()+1),r.data("first_digit",h),r.data("second_digit",b),r.val(""),a.find(".et_pb_contact_captcha_question").empty().append("".concat(h," + ").concat(b)))}if(!l){a.data("submitted",!0);var v=a.attr("action"),m=a.serializeArray();m.push({name:"et_pb_contact_email_fields_".concat(c),value:JSON.stringify(p)}),m.push({name:"token",value:e}),u.length>0&&m.push({name:"et_pb_contact_email_hidden_fields_".concat(c),value:JSON.stringify(u)}),t.removeClass("et_animated").removeAttr("style").fadeTo("fast",.2,(function(){t.load("".concat(v," #").concat(t.attr("id"),"> *"),m,(function(e,a){if("error"===a){var o=n("#".concat(t.attr("id")),e);o.length>0&&t.html(o)}n(e).find(".et_pb_contact_error_text").length||(St(t,"con_goal"),""!==i&&(window.location.href=i)),t.fadeTo("fast",1)}))}))}_+="</ul>",""!==d&&("<ul></ul>"!==_&&(_='<p class="et_normal_padding">'.concat(et_pb_custom.contact_error_message,"</p>").concat(_)),d="<ul>".concat(d,"</ul>"),d="<p>".concat(et_pb_custom.fill_message,"</p>").concat(d),_=d+_),"<ul></ul>"!==_&&(s.html(_),t.parents(".et_pb_section_parallax").length&&t.parents(".et_pb_section_parallax").each((function(){!n(this).children(".et_parallax_bg").hasClass("et_pb_parallax_css")&&f.trigger("resize")})))}))}}))})),window.et_pb_play_overlayed_video=function(t){var e,i,a,o=t,r=o.closest(".et_pb_video_overlay"),s=o.closest(".et_pb_video, .et_main_video_container, .et_pb_video_wrap"),c=s.find("iframe"),l=c.length>0,_=s.find(".fb-video").length;if(l){if(_&&void 0!==c[2]&&(c=n(c[2])),i=(e=c.attr("src")).split("?"),-1!==e.indexOf("autoplay="))return;a=void 0!==i[1]?"".concat(i[0],"?autoplay=1&amp;").concat(i[1]):"".concat(i[0],"?autoplay=1"),c.attr({src:a})}else s.find("video").get(0).play();r.fadeTo(500,0,(function(){n(this).css("display","none")}))},n("body").on("click",".et_pb_post .et_pb_video_overlay, .et_pb_video .et_pb_video_overlay, .et_pb_video_wrap .et_pb_video_overlay",(function(){var t=n(this);return et_pb_play_overlayed_video(t),!1})),window.et_pb_resize_section_video_bg=function(t){(void 0!==t?t.closest(".et_pb_section_video_bg"):n(".et_pb_section_video_bg")).each((function(){var t=n(this);x(t)&&(t.removeAttr("data-ratio"),t.find("video").removeAttr("style"));var e,i,a=t.find("video"),o=(a.prop("videoWidth")||parseInt(a.width()))/(a.prop("videoHeight")||parseInt(a.height())),r=t.find(".mejs-video, video, object").css("margin","0px"),s=t.closest(".et_pb_section_video").length?t.closest(".et_pb_section_video"):t.closest(".et_pb_slides"),c=s.innerWidth(),l=s.innerHeight();void 0!==t.attr("data-ratio")||isNaN(o)||t.attr("data-ratio",o),c/l<o?(e=l*o,i=l):(e=c,i=c/o),r.width(e).height(i),d.isBuilder&&setTimeout((function(){r.width(e).height(i)}),0)}))},window.et_pb_center_video=function(t){var e=void 0!==t?t:n(".et_pb_section_video_bg .mejs-video");e.length&&e.each((function(){var e=n(this);if(et_pb_adjust_video_margin(e),x(e)&&setTimeout((function(){et_pb_adjust_video_margin(e)}),0),void 0!==t&&t.closest(".et_pb_slider").length&&!t.closest(".et_pb_first_video").length)return!1}))},window.et_pb_adjust_video_margin=function(t){var e=0-t.width()/2;t.css("margin-left","".concat(e,"px"))};var Ct={};function kt(){var t=n(window).width();n(".nav li.et-reverse-direction-nav").removeClass("et-reverse-direction-nav"),n(".nav li li ul").each((function(){var e=n(this),i=e.width(),a=e.offset(),o=e.parents(".nav > li");a.left>t-i&&o.addClass("et-reverse-direction-nav")}))}function jt(t,e,n){n=n||t.data("et_waypoint_max_instances")||1;var i=t.data("et_waypoint")||[],a=(0,r.default)(window,["et_pb_custom","waypoints_options"]);if(a){var s=(0,r.default)(a,"context",[]);s&&(0,o.default)(s)&&(0,c.default)(s,(function(n){var i=t.closest(n);if(i.length>0)return e.context=i,!1}))}if(i.length<n){var l=t.waypoint(e);l&&l.length>0&&(i.push(l[0]),t.data("et_waypoint",i))}else for(var _=0;_<i.length;_++)i[_].context.refresh()}function Tt(t,e){var i=t.parents(".et_pb_section").index(),a=n(".et_pb_section").length-1,o=t.parents(".et_pb_row").index(),r=t.parents(".et_pb_section").children().length-1;return i===a&&o===r?"bottom-in-view":e}function Ot(t){for(var e=!1,n=[".et_pb_toggle_title",".mejs-container *",".et_pb_contact_field input",".et_pb_contact_field textarea",".et_pb_contact_field_checkbox *",".et_pb_contact_field_radio *",".et_pb_contact_captcha",".et_pb_tabs_controls a",".flex-control-nav *",".et_pb_menu__search-button",".et_pb_menu__close-search-button",".et_pb_menu__search-container *",".et_pb_fullwidth_header_scroll *"],i=0;i<n.length;i++)if(t.is(n[i])){e=!0;break}return e}function St(t,e,n){if(!d.isBuilder){var i=function(t){var e=t.attr("class"),n=parseInt(e.replace(/^.*et_pb_ab_goal_id-(\d+).*$/,"$1"));return isNaN(n)?0:n}(t),a=void 0===e?"con_goal":e;t.hasClass("et_pb_ab_goal")&&!nt[i][a]?Pt(a,i):void 0!==n&&n()}}function Pt(t,e,i,a,o){var r=void 0===e?et_pb_custom.page_id:e,c=void 0===i?zt(r):i,l=void 0===a?function(t){for(var e=0;e<et_pb_custom.ab_tests;e++)if(et_pb_custom.ab_tests[e].post_id===t)return et_pb_custom.ab_tests[e].test_id;return et_pb_custom.unique_test_id}(r):a,_=JSON.stringify({test_id:r,subject_id:c,record_type:t}),d="click_goal"===t||"con_short"===t?"":c;Mt(365,"et_pb_ab_".concat(t,"_").concat(r).concat(l).concat(d,"=true")),(0,s.default)(nt,[r,t],!0),n.ajax({type:"POST",url:et_pb_custom.ajaxurl,data:{action:"et_pb_update_stats_table",stats_data_array:_,et_ab_log_nonce:et_pb_custom.et_ab_log_nonce}}).always((function(){void 0!==o&&o()}))}function zt(t){var e=n("*[class*=et_pb_ab_subject_id-".concat(t,"_]"));return!(e.length<=0||n("html").is(".et_fb_preview_active--wireframe_preview"))&&e.attr("class").split("et_pb_ab_subject_id-")[1].split(" ")[0].split("_")[1]}function It(t){return n(".et_pb_ab_goal_id-".concat(t))}function At(){var t=f.width(),e="desktop";return t<=980&&t>767?e="tablet":t<=767&&(e="phone"),e}function Et(t,e){return Bt(t)==e}function Bt(t){return function(){for(var t=document.cookie.split("; "),e={},n=t.length-1;n>=0;n--){var i=t[n].split("=");e[i[0]]=i[1]}return e}()[t]}function Mt(t,e){var n,i,a=(n=24*t*60*60*1e3,(i=new Date).setTime(i.getTime()+n),"; expires=".concat(i.toUTCString()));document.cookie="".concat(e+a,"; path=/")}function Ht(){if(!window.et_is_fixed_nav)return 0;var t=void 0===n("#main-header").attr("data-fixed-height-onload")?0:n("#main-header").attr("data-fixed-height-onload");return window.et_is_fixed_nav?parseFloat(t):0}window.et_fix_slider_height=d.isBuilder?function(t){var e=t||k;if(e&&e.length){var n=e.data("address");Ct[n]||(Ct[n]=window.et_pb_debounce(xt,100)),Ct[n](t)}}:xt,kt(),et_pb_form_placeholders_init(n(".et_pb_comments_module #commentform")),n(".et-menu-nav ul.nav").each((function(t){et_duplicate_menu(n(this),n(this).closest(".et_pb_module").find("div .mobile_nav"),"mobile_menu".concat(t+1),"et_mobile_menu")})),n(".et_pb_menu, .et_pb_fullwidth_menu").each((function(){var t=n(this),e=t.data("bg_color");e&&t.find("ul").css({"background-color":e})})),P.on("click",(function(t){et_pb_submit_newsletter(n(this),t)})),z.on("keypress",(function(t){if(13===(t.which||t.keyCode)){var e=n(this).closest("form").find(".et_pb_newsletter_button");et_pb_submit_newsletter(e,t)}})),P.closest(".et_pb_newsletter").find("input[type=checkbox]").on("change",(function(){var t=n(this),e=t.siblings("input[type=text]").first(),i=t.prop("checked");e.val(i?e.data("checked"):e.data("unchecked"))})),window.et_pb_submit_newsletter=function(t,e){if(t.closest(".et_pb_login_form").length)St(t.closest(".et_pb_newsletter"),"con_goal");else{if(void 0!==e&&e.preventDefault(),n(".et_pb_feedburner_form").length>0){var i=n(".et_pb_feedburner_form input[name=uri]").val();return window.open("https://feedburner.google.com/fb/a/mailverify?uri=".concat(i),"et-feedburner-subscribe","scrollbars=yes,width=550,height=520"),!0}var a=t.closest(".et_pb_newsletter"),o=a.find('input[name="et_pb_signup_firstname"]'),r=a.find('input[name="et_pb_signup_lastname"]'),s=a.find('input[name="et_pb_signup_email"]'),c=a.find('input[name="et_pb_signup_list_id"]').val(),l=a.find(".et_pb_newsletter_error").hide(),_=a.find('input[name="et_pb_signup_provider"]').val(),d=a.find('input[name="et_pb_signup_account_name"]').val(),p=a.find('input[name="et_pb_signup_ip_address"]').val(),u=a.find('input[name="et_pb_signup_checksum"]').val(),h=a.find(".et_pb_newsletter_fields"),b=a.find(".et_pb_newsletter_success"),v=a.data("redirect_url"),m=a.data("redirect_query"),g={},w=[],y="<ul>",x="",C=h.find('input[type=text], .et_pb_checkbox_handle, .et_pb_contact_field[data-type="radio"], textarea, select').filter(".et_pb_signup_custom_field, .et_pb_signup_custom_field *");o.removeClass("et_pb_signup_error"),r.removeClass("et_pb_signup_error"),s.removeClass("et_pb_signup_error"),C.removeClass("et_contact_error"),l.html("");var k=!0,j=t.closest(".et_pb_newsletter_form form");if(j.length>0&&"function"==typeof j[0].reportValidity&&(k=j[0].reportValidity()),o.length>0&&!o.val()&&(o.addClass("et_pb_signup_error"),k=!1),r.length>0&&!r.val()&&(r.addClass("et_pb_signup_error"),k=!1),bt.test(s.val())||(s.addClass("et_pb_signup_error"),k=!1),k){if(C.each((function(){var t=n(this),e=!1;["checkbox","booleancheckbox"].includes(t.data("field_type"))&&(e=t.parents(".et_pb_contact_field")).removeClass("et_contact_error"),"radio"===t.data("type")&&(e=(t=t.find('input[type="radio"]')).parents(".et_pb_contact_field"));var i,a=t.data("id"),o=t.val(),r=t.siblings("label").first().text(),s=void 0!==t.data("field_type")?t.data("field_type"):"text",c=void 0!==t.data("required_mark")?t.data("required_mark"):"not_required",l=void 0!==t.data("original_id")?t.data("original_id"):"",d=!1;if(a||(a=t.data("original_id")),"radio"===s){if(0!==e.find('input[type="radio"]').length){var p=e.find('input[type="radio"]').first();c=void 0!==p.data("required_mark")?p.data("required_mark"):"not_required",o="",e.find('input[type="radio"]:checked')&&(o=e.find('input[type="radio"]:checked').val())}r=e.find(".et_pb_contact_form_label").text(),a=t.data("original_id"),n.isEmptyObject(o)||(g[a]=o),0===e.find('input[type="radio"]:checked').length&&(d=!0),o&&(g[a]=o)}else if(["checkbox","booleancheckbox"].includes(s)){if(o={},0!==e.find('input[type="checkbox"]').length){var u=e.find(".et_pb_checkbox_handle");c=void 0!==u.data("required_mark")?u.data("required_mark"):"not_required",e.find('input[type="checked"]:checked')&&e.find('input[type="checkbox"]:checked').each((function(){if("booleancheckbox"===s)o=n(this).val();else{var t=n(this).data("id");o[t]=n(this).val()}}))}if(0===(r=e.find(".et_pb_contact_form_label").text()).trim().length){var f=e.find('.et_pb_contact_field_checkbox input[type="checkbox"]');if(f.length>0){var h=[];f.each((function(){h.push(n(this).val())})),0===(r=h.join(", ")).trim().length&&(r=et_pb_custom.wrong_checkbox)}}a=e.attr("data-id"),n.isEmptyObject(o)||(g[a]=o),0===e.find('input[type="checkbox"]:checked').length&&(d=!0)}else if("ontraport"===_&&"select"===s){var b=t.find(":selected");g[a]=b.length>0?b.data("id"):o}else g[a]=o;if("mailchimp"===_&&["select","radio"].indexOf(s)>-1){var v=(b="select"===s?t.find(":selected"):e.find('input[type="radio"]:checked')).length>0?b.data("id"):null;null!==v&&(g[a]={},g[a][v]=o)}if(r=r.replace(/"/g,"&quot;"),t.is(":visible")||"hidden"===t.attr("type")||"radio"===t.attr("type"))if("hidden"!==t.attr("type")&&"radio"!==t.attr("type")||t.parents(".et_pb_contact_field").is(":visible")){if("required"!==c||""!==o&&!0!==d||(!1===e?t.addClass("et_contact_error"):e.addClass("et_contact_error"),k=!1,""===(i=r)&&(i=et_pb_custom.captcha),x+="<li>".concat(i,"</li>")),"email"===s){var m=o.trim().toLowerCase(),C=bt.test(m);""===m||r===m||C||(t.addClass("et_contact_error"),k=!1,C||(y+="<li>".concat(et_pb_custom.invalid,"</li>")))}}else w.push(a);else w.push(l)})),y+="</ul>",""!==x&&("<ul></ul>"!==y&&(y='<p class="et_normal_padding">'.concat(et_pb_custom.contact_error_message,"</p>").concat(y)),x="<ul>".concat(x,"</ul>"),x="<p>".concat(et_pb_custom.fill_message,"</p>").concat(x),y=x+y),"<ul></ul>"!==y)return l.html(y).show(),void(a.parents(".et_pb_section_parallax").length&&a.parents(".et_pb_section_parallax").each((function(){!n(this).children(".et_parallax_bg").hasClass("et_pb_parallax_css")&&f.trigger("resize")})));var T=n.Deferred();at&&a.hasClass("et_pb_recaptcha_enabled")?at.interaction("Divi/Module/EmailOptin/List/".concat(c)).then((function(t){T.resolve(t)})):T.resolve(""),n.when(T).done((function(t){n.ajax({type:"POST",url:et_pb_custom.ajaxurl,dataType:"json",data:{action:"et_pb_submit_subscribe_form",et_frontend_nonce:et_pb_custom.et_frontend_nonce,et_list_id:c,et_firstname:o.val(),et_lastname:r.val(),et_email:s.val(),et_provider:_,et_account:d,et_ip_address:p,et_custom_fields:g,et_hidden_fields:w,token:t,et_checksum:u},beforeSend:function(){a.find(".et_pb_newsletter_button").addClass("et_pb_button_text_loading").find(".et_subscribe_loader").show()},complete:function(){a.find(".et_pb_newsletter_button").removeClass("et_pb_button_text_loading").find(".et_subscribe_loader").hide()},success:function(t){t?(t.error&&l.show().append("<h2>").text(t.error),t.success&&(v?St(a,"con_goal",(function(){var t=function(){var t={};return m?(o.length>0&&m.indexOf("name")>-1&&(t.first_name=o.val()),r.length>0&&m.indexOf("last_name")>-1&&(t.last_name=r.val()),m.indexOf("email")>-1&&(t.email=s.val()),m.indexOf("ip_address")>-1&&(t.ip_address=a.data("ip_address")),m.indexOf("css_id")>-1&&(t.form_id=a.attr("id")),decodeURIComponent(n.param(t))):""}();t.length&&(v.indexOf("?")>-1?v+="&":v+="?"),window.location=v+t})):(St(a,"con_goal"),a.find(".et_pb_newsletter_fields").hide(),b.show()))):l.html(et_pb_custom.subscription_failed).show()}})}))}}},window.et_fix_testimonial_inner_width=function(){var t=n(window).width();t>959?n(".et_pb_testimonial").each((function(){if(n(this).is(":visible")){var t=n(this),e=t.find(".et_pb_testimonial_portrait"),i=e.outerWidth(!0)||0,a=t.find(".et_pb_testimonial_description"),o=t.closest(".et_pb_column");i>90&&(e.css("padding-bottom","0px"),e.width("90px"),e.height("90px"));var r=o.hasClass("et_pb_column_1_3")||o.hasClass("et_pb_column_1_4")||o.hasClass("et_pb_column_1_5")||o.hasClass("et_pb_column_1_6")||o.hasClass("et_pb_column_2_5")||o.hasClass("et_pb_column_3_8")?0:i;a.css("margin-left","".concat(r,"px"))}})):t>767?n(".et_pb_testimonial").each((function(){if(n(this).is(":visible")){var t=n(this),e=t.find(".et_pb_testimonial_portrait").outerWidth(!0)||0,i=t.find(".et_pb_testimonial_description"),a=t.closest(".et_pb_column"),o=a.hasClass("et_pb_column_1_4")||a.hasClass("et_pb_column_1_5")||a.hasClass("et_pb_column_1_6")||a.hasClass("et_pb_column_2_5")||a.hasClass("et_pb_column_3_8")?0:e;i.css("margin-left","".concat(o,"px"))}})):n(".et_pb_testimonial_description").removeAttr("style")},window.et_fix_testimonial_inner_width(),window.et_pb_video_background_init=function(t,e){var n=t.closest(".et_pb_section_video_bg"),i=!1,a=!0;e.onplaying=function(){i=!0,a=!1},e.onpause=function(){i=!1,a=!0},jt(n,{offset:"100%",handler:function(o){var r=n.hasClass("et_pb_video_play_outside_viewport");t.is(":visible")&&"down"===o?e.paused&&!i&&e.play():t.is(":visible")&&"up"===o&&(e.paused||a||r||e.pause())}},2),jt(n,{offset:function(){var t=this.element.clientHeight,e=Math.ceil(window.innerHeight/2);return t>e&&(e=t),-1*e},handler:function(o){var r=n.hasClass("et_pb_video_play_outside_viewport");t.is(":visible")&&"up"===o?e.paused&&!i&&e.play():t.is(":visible")&&"down"===o&&(e.paused||a||r||e.pause())}},2)},window.et_animate_element=function(t){var e=t;if(!e.hasClass("et_had_animation")){var i=e.attr("data-animation-style"),a=e.attr("data-animation-repeat"),o=e.attr("data-animation-duration"),r=e.attr("data-animation-delay"),s=e.attr("data-animation-intensity"),c=e.attr("data-animation-starting-opacity"),l=e.attr("data-animation-speed-curve"),_=e.parent(".et_pb_button_module_wrapper"),d=n("body").hasClass("edge");e.is(".et_pb_section")&&"roll"===i&&n("".concat(et_frontend_scripts.builderCssContainerPrefix,", ").concat(et_frontend_scripts.builderCssLayoutPrefix)).css("overflow-x","hidden"),et_remove_animation_data(e);var p=isNaN(parseInt(c))?0:.01*parseInt(c);-1===n.inArray(l,["linear","ease","ease-in","ease-out","ease-in-out"])&&(l="ease-in-out"),_.length>0&&(e.removeClass("et_animated"),(e=_).addClass("et_animated")),e.css({"animation-duration":o,"animation-delay":r,opacity:p,"animation-timing-function":l}),"slideTop"!==i&&"slideBottom"!==i||e.css("left","0px");for(var u={},f=isNaN(parseInt(s))?50:parseInt(s),h=["slide","zoom","flip","fold","roll"],b=!1,v=!1,m=0;m<h.length;m++){var g=h[m];if(i&&i.substr(0,g.length)===g){b=g,""!==(v=i.substr(g.length,i.length))&&(v=v.toLowerCase());break}}if(!1!==b&&!1!==v&&(u=function(t,e,n){var i={};switch(t){case"slide":switch(e){case"top":i={transform:"translate3d(0, ".concat(-2*n,"%, 0)")};break;case"right":i={transform:"translate3d(".concat(2*n,"%, 0, 0)")};break;case"bottom":i={transform:"translate3d(0, ".concat(2*n,"%, 0)")};break;case"left":i={transform:"translate3d(".concat(-2*n,"%, 0, 0)")};break;default:i={transform:"scale3d(".concat(a=.01*(100-n),", ").concat(a,", ").concat(a,")")}}break;case"zoom":var a;i={transform:"scale3d(".concat(a=.01*(100-n),", ").concat(a,", ").concat(a,")")};break;case"flip":switch(e){case"right":var o=Math.ceil(.9*n);i={transform:"perspective(2000px) rotateY(".concat(o,"deg)")};break;case"left":o=-1*Math.ceil(.9*n),i={transform:"perspective(2000px) rotateY(".concat(o,"deg)")};break;case"top":default:o=Math.ceil(.9*n),i={transform:"perspective(2000px) rotateX(".concat(o,"deg)")};break;case"bottom":o=-1*Math.ceil(.9*n),i={transform:"perspective(2000px) rotateX(".concat(o,"deg)")}}break;case"fold":switch(e){case"top":o=-1*Math.ceil(.9*n),i={transform:"perspective(2000px) rotateX(".concat(o,"deg)")};break;case"bottom":o=Math.ceil(.9*n),i={transform:"perspective(2000px) rotateX(".concat(o,"deg)")};break;case"left":o=Math.ceil(.9*n),i={transform:"perspective(2000px) rotateY(".concat(o,"deg)")};break;default:o=-1*Math.ceil(.9*n),i={transform:"perspective(2000px) rotateY(".concat(o,"deg)")}}break;case"roll":switch(e){case"right":case"bottom":o=-1*Math.ceil(3.6*n),i={transform:"rotateZ(".concat(o,"deg)")};break;case"top":case"left":o=Math.ceil(3.6*n),i={transform:"rotateZ(".concat(o,"deg)")};break;default:o=Math.ceil(3.6*n),i={transform:"rotateZ(".concat(o,"deg)")}}}return i}(b,v,f)),n.isEmptyObject(u)||e.css(d?n.extend(u,{transition:"transform 0s ease-in"}):u),e.addClass("et_animated"),e.addClass("et_is_animating"),e.addClass(i),e.addClass(a),!a){var w=parseInt(o),y=parseInt(r);setTimeout((function(){et_remove_animation(e)}),w+y),d&&!n.isEmptyObject(u)&&setTimeout((function(){e.css("transition","")}),w+y+50)}}},window.et_process_animation_data=function(t){if("undefined"!=typeof et_animation_data&&et_animation_data.length>0){n("body").css("overflow-x","hidden"),n("#page-container").css("overflow-y","hidden");for(var e=0;e<et_animation_data.length;e++){var i=et_animation_data[e];if(i.class&&i.style&&i.repeat&&i.duration&&i.delay&&i.intensity&&i.starting_opacity&&i.speed_curve){var a=n(".".concat(i.class)),o=At(),r="desktop"===o;it=o;var s="";r||(s+="_".concat(o));var c=r||void 0===i["style".concat(s)]?i.style:i["style".concat(s)],l=r||void 0===i["repeat".concat(s)]?i.repeat:i["repeat".concat(s)],_=r||void 0===i["duration".concat(s)]?i.duration:i["duration".concat(s)],d=r||void 0===i["delay".concat(s)]?i.delay:i["delay".concat(s)],p=r||void 0===i["intensity".concat(s)]?i.intensity:i["intensity".concat(s)],u=r||void 0===i["starting_opacity".concat(s)]?i.starting_opacity:i["starting_opacity".concat(s)],f=r||void 0===i["speed_curve".concat(s)]?i.speed_curve:i["speed_curve".concat(s)];a.attr({"data-animation-style":c,"data-animation-repeat":"once"===l?"":"infinite","data-animation-duration":_,"data-animation-delay":d,"data-animation-intensity":p,"data-animation-starting-opacity":u,"data-animation-speed-curve":f}),!0===t?a.hasClass("et_pb_circle_counter")?(jt(a,{offset:"100%",handler:function(){var t=n(this.element).find(".et_pb_circle_counter_inner");t.data("PieChartHasLoaded")||void 0===t.data("easyPieChart")||(t.data("easyPieChart").update(t.data("number-value")),t.data("PieChartHasLoaded",!0),et_animate_element(n(this.element)))}}),jt(a,{offset:"bottom-in-view",handler:function(){var t=n(this.element).find(".et_pb_circle_counter_inner");t.data("PieChartHasLoaded")||void 0===t.data("easyPieChart")||(t.data("easyPieChart").update(t.data("number-value")),t.data("PieChartHasLoaded",!0),et_animate_element(n(this.element)))}})):a.hasClass("et_pb_number_counter")?(jt(a,{offset:"100%",handler:function(){n(this.element).data("easyPieChart").update(n(this.element).data("number-value")),et_animate_element(n(this.element))}}),jt(a,{offset:"bottom-in-view",handler:function(){n(this.element).data("easyPieChart").update(n(this.element).data("number-value")),et_animate_element(n(this.element))}})):jt(a,{offset:"100%",handler:function(){et_animate_element(n(this.element))}}):et_animate_element(a)}}}},window.et_has_animation_data=function(t){var e=!1;if("undefined"!=typeof et_animation_data&&et_animation_data.length>0)for(var n=0;n<et_animation_data.length;n++){var i=et_animation_data[n];if(i.class&&t.hasClass(i.class)){e=!0;break}}return e},window.et_get_animation_classes=function(){return["et_animated","et_is_animating","infinite","et-waypoint","fade","fadeTop","fadeRight","fadeBottom","fadeLeft","slide","slideTop","slideRight","slideBottom","slideLeft","bounce","bounceTop","bounceRight","bounceBottom","bounceLeft","zoom","zoomTop","zoomRight","zoomBottom","zoomLeft","flip","flipTop","flipRight","flipBottom","flipLeft","fold","foldTop","foldRight","foldBottom","foldLeft","roll","rollTop","rollRight","rollBottom","rollLeft","transformAnim"]},window.et_remove_animation=function(t){if(!t.hasClass("infinite")){var e=et_get_animation_classes();t.is(".et_pb_section")&&t.is(".roll")&&n("".concat(et_frontend_scripts.builderCssContainerPrefix,", ").concat(et_frontend_scripts.builderCssLayoutPrefix)).css("overflow-x",""),t.removeClass(e.join(" ")),t.css({"animation-delay":"","animation-duration":"","animation-timing-function":"",opacity:"",transform:"",left:""}),t.addClass("et_had_animation")}},window.et_remove_animation_data=function(t){var e=[];if(!(0,a.default)(t.get(0))){for(var i=t.get(0).attributes,o=0;o<i.length;o++)"data-animation-"===i[o].name.substring(0,15)&&e.push(i[o].name);n.each(e,(function(e,n){t.removeAttr(n)}))}},window.et_reinit_waypoint_modules=et_pb_debounce((function(){var t=n(".et_pb_circle_counter"),e=n(".et_pb_number_counter"),a=n(".et_pb_section_video_bg video");if(n.fn.waypoint&&window.et_pb_custom&&"yes"!==window.et_pb_custom.ignore_waypoints&&!d.isBuilder)et_process_animation_data(!0),n(".et-waypoint").each((function(){jt(n(this),{offset:Tt(n(this),"100%"),handler:function(){n(this.element).addClass("et-animated")}},2)})),t.length&&t.each((function(){var t=n(this).find(".et_pb_circle_counter_inner");t.is(":visible")&&!et_has_animation_data(t)&&jt(t,{offset:Tt(n(this),"100%"),handler:function(){t.data("PieChartHasLoaded")||void 0===t.data("easyPieChart")||i||(t.data("easyPieChart").update(t.data("number-value")),t.data("PieChartHasLoaded",!0))}},2)})),e.length&&e.each((function(){var t=n(this);et_has_animation_data(t)||jt(t,{offset:Tt(n(this),"100%"),handler:function(){t.data("easyPieChart").update(t.data("number-value"))}})})),d.isBuilder||n.each(et_pb_custom.ab_tests,(function(t,e){var i=It(e.post_id);if(0===i.length)return!0;jt(i,{offset:Tt(n(this),"80%"),handler:function(){!nt[e.post_id].read_goal&&i.length&&i.visible(!0)&&(setTimeout((function(){i.length&&i.visible(!0)&&!nt[e.post_id].read_goal&&Pt("read_goal",e.post_id,void 0,e.test_id)}),3e3),St(i,"view_goal"))}})}));else{et_process_animation_data(!1);var o=d.isBuilder?"et-animated--vb":"et-animated";n(".et-waypoint").addClass(o),n(".et-waypoint").each((function(){et_animate_element(n(this))})),t.length&&t.each((function(){var t=n(this).find(".et_pb_circle_counter_inner");t.is(":visible")&&(t.data("PieChartHasLoaded")||void 0===t.data("easyPieChart")||(t.data("easyPieChart").update(t.data("number-value")),t.data("PieChartHasLoaded",!0)))})),e.length&&e.each((function(){var t=n(this);t.data("easyPieChart").update(t.data("number-value"))})),n.each(et_pb_custom.ab_tests,(function(t,e){var n=It(e.post_id);return 0===n.length||!(!nt[e.post_id].read_goal&&n.length&&n.visible(!0))||(setTimeout((function(){n.length&&n.visible(!0)&&!nt[e.post_id].read_goal&&Pt("read_goal",e.post_id,void 0,e.test_id)}),3e3),void St(n,"view_goal"))}))}a.length&&a.each((function(){var t=n(this);et_pb_video_background_init(t,this)}))}),100),"undefined"!=typeof et_link_options_data&&et_link_options_data.length>0&&n.each(et_link_options_data,(function(t,e){if(e.class&&e.url&&e.target){var i=n(".".concat(e.class));i.on("click",(function(t){if(t.target!==t.currentTarget&&!Ot(n(t.target))||t.target===t.currentTarget){t.stopPropagation();var i=e.url;if(i=(i=i.replace(/&#91;/g,"[")).replace(/&#93;/g,"]"),"_blank"===e.target)return void window.open(i);if("#product_reviews_tab"===i){var a=n(".reviews_tab a");a.length>0&&(a.trigger("click"),et_pb_smooth_scroll(a,void 0,800),history.pushState(null,"",i))}else i&&"#"===i[0]&&n(i).length?(et_pb_smooth_scroll(n(i),void 0,800),history.pushState(null,"",i)):window.location=i}})),i.on("click","a, button",(function(t){Ot(n(this))||t.stopPropagation()}))}}));var Ft={},Lt={};function Dt(){if(n.fn.fitVids){var t="iframe[src^='http://www.hulu.com'], iframe[src^='http://www.dailymotion.com'], iframe[src^='http://www.funnyordie.com'], iframe[src^='https://embed-ssl.ted.com'], iframe[src^='http://embed.revision3.com'], iframe[src^='https://flickr.com'], iframe[src^='http://blip.tv'], iframe[src^='http://www.collegehumor.com']",e="";(0,a.default)(window.lazySizes)||(t+=", iframe[src^='data:image']",e+=".lazyloading"),n(".et_pb_slide_video").fitVids(),n(".et_pb_module").fitVids({customSelector:t,ignore:e})}xt(),et_calculate_fullscreen_section_size()}function Wt(){et_fix_fullscreen_section(),et_calculate_fullscreen_section_size(),n(document).on("click",".et_pb_fullwidth_header_scroll a",et_pb_fullwidth_header_scroll),setTimeout((function(){n(".et_pb_preload").removeClass("et_pb_preload")}),500),window.HashChangeEvent&&(n(window).on("hashchange",(function(){!function(t){var i,a,o;if(t.length)if(-1!==t.indexOf(e,0)){i=t.split(e);for(var r=0;r<i.length;r++)o=(a=i[r].split(l))[0],a.shift(),o.length&&n("#".concat(o)).length&&n("#".concat(o)).trigger({type:"et_hashchange",params:a})}else o=(a=t.split(l))[0],a.shift(),o.length&&n("#".concat(o)).length&&n("#".concat(o)).trigger({type:"et_hashchange",params:a})}(window.location.hash.replace(/[^a-zA-Z0-9-_|]/g,""))})),n(window).trigger("hashchange")),W.length&&!N&&W.each((function(){et_pb_parallax_init(n(this))})),window.et_reinit_waypoint_modules(),n(".et_audio_content").length&&n(window).trigger("resize")}function qt(){setTimeout((function(){(window.et_pb_box_shadow_elements||[]).map(et_pb_box_shadow_apply_overlay)}),0)}function Nt(t,e){var i=n(window).width()>980,a=window.et_is_fixed_nav,o=n("#wpadminbar"),r=o.length&&i?o.height():0,s=n("#top-header"),c=s.length&&a&&i?s.height():0,l=n("#main-header"),_=r+c+(l.length&&a&&i?l.height():0),d=t.offset().top-_-50;void 0!==t.find(".et_pb_salvattore_content").attr("data-columns")&&(e||salvattore.registerGrid(t.find(".et_pb_salvattore_content")[0]),salvattore.recreateColumns(t.find(".et_pb_salvattore_content")[0]),t.find(".et_pb_post").css({opacity:"1"})),t.find(".et_audio_container").length>0&&"undefined"!=typeof wp&&void 0!==wp.mediaelement&&"function"==typeof wp.mediaelement.initialize&&(wp.mediaelement.initialize(),n(window).trigger("resize")),t.find(".et-waypoint, .et_pb_circle_counter, .et_pb_number_counter").length>0&&t.find(".et-waypoint, .et_pb_circle_counter, .et_pb_number_counter").each((function(){var t=n(this);t.hasClass("et_pb_circle_counter")&&window.et_pb_reinit_circle_counters(t),t.hasClass("et_pb_number_counter")&&window.et_pb_reinit_number_counters(t),t.find(".et_pb_counter_amount").length>0&&t.find(".et_pb_counter_amount").each((function(){window.et_bar_counters_init(n(this))})),n(this).css({opacity:"1"}),window.et_reinit_waypoint_modules()})),t.find(".et_pb_slider").length>0&&t.find(".et_pb_slider").each((function(){et_pb_slider_init(n(this))})),t.on("click",".et_pb_video_overlay",(function(t){t.preventDefault(),et_pb_play_overlayed_video(n(this))})),t.fitVids({customSelector:"iframe[src^='http://www.hulu.com'], iframe[src^='http://www.dailymotion.com'], iframe[src^='http://www.funnyordie.com'], iframe[src^='https://embed-ssl.ted.com'], iframe[src^='http://embed.revision3.com'], iframe[src^='https://flickr.com'], iframe[src^='http://blip.tv'], iframe[src^='http://www.collegehumor.com']"}),t.fadeTo("slow",1),"function"==typeof window.et_shortcodes_init&&window.et_shortcodes_init(t),T(),n("html, body").animate({scrollTop:d});var p=t.find(".et_pb_grid_item");p.length&&et_pb_set_responsive_grid(n(p.parent().get(0)),".et_pb_grid_item")}window.et_calc_fullscreen_section=function(t,e){var i="object"===u(t)&&"resize"===t.type,a=n(p),o=e||n(this),r=o.index(".et_pb_fullscreen"),s=i&&void 0!==Ft[r]&&t.target.window_width>Ft[r]?800:0;Ft[r]=a.width(),void 0!==Lt[r]&&clearTimeout(Lt[r]),Lt[r]=setTimeout((function(){var t=n("body"),e=n(".et-l--header").first(),i=e.length>0?e.height():0,r=o.length,s=o.index(".et_pb_fullwidth_header"),c=r?o.offset():{},l=o.children(".et_pb_fullwidth_header_container"),_=l.children(".header-content-container"),d=l.children(".header-image-container"),u=p.innerHeight||a.height(),f=p.jQuery("#wpadminbar"),h=f.length,b=h?f.height():0,v=n("#top-header"),m=v.length,g=m?v.height():0,w=n("#main-header"),y=w.length,x=y?w.outerHeight():0,C=Ht(),k=a.width()<782,j=a.width()>980,T=(a.width()<=980&&a.width(),a.width(),b+i+g+(window.et_is_vertical_nav&&j?0:x)),O=void 0!==c.top&&c.top<=T,S=p.jQuery(".edit-post-header"),P=p.jQuery(".edit-post-layout__footer");w.attr("data-height-onload")&&(x=parseFloat(w.attr("data-height-onload"))),h&&(k?O&&(u-=b):u-=b),S.length>0&&(u-=S.outerHeight()),P.length>0&&(u-=P.outerHeight()),m&&j&&(Z&&!window.et_is_vertical_nav?O||(u-=g):!window.et_is_fixed_nav||window.et_is_vertical_nav?O&&(u-=g):u-=g),y&&(j?Z&&!window.et_is_vertical_nav?O||(u-=C):window.et_is_fixed_nav&&!window.et_is_vertical_nav?u-=O?x:C:window.et_is_fixed_nav||window.et_is_vertical_nav||O&&(u-=x):O&&(u-=x)),t.hasClass("et_transparent_nav")&&t.hasClass("et_hide_nav")&&0===s&&o.css("padding-top","");var z=parseInt(o.css("borderTopWidth"));z&&(u-=z);var I=parseInt(o.css("borderBottomWidth"));if(I&&(u-=I),i>0&&0===s&&0===o.closest(e).length&&(u-=i),setTimeout((function(){o.css("min-height","".concat(u,"px")),l.css("min-height","".concat(u,"px"))}),100),l.hasClass("center")&&_.hasClass("bottom")&&d.hasClass("bottom")&&l.addClass("bottom-bottom"),l.hasClass("center")&&_.hasClass("center")&&d.hasClass("center")&&l.addClass("center-center"),l.hasClass("center")&&_.hasClass("center")&&d.hasClass("bottom")){l.addClass("center-bottom");var A=u-d.outerHeight(!0);A>0&&_.css("min-height","".concat(A,"px")).css("height","10px")}l.hasClass("center")&&_.hasClass("bottom")&&d.hasClass("center")&&l.addClass("bottom-center"),(l.hasClass("left")||l.hasClass("right"))&&!_.length&&d.length&&l.css("justify-content","flex-end"),l.hasClass("center")&&_.hasClass("bottom")&&!d.length&&_.find(".header-content").css("margin-bottom","".concat(80,"px")),_.hasClass("bottom")&&d.hasClass("center")&&(d.find(".header-image").css("margin-bottom","".concat(80,"px")),d.css("align-self","flex-end"));var E=0;_.length&&(E+=_.outerHeight()),d.length&&(E+=d.outerHeight()),E>u&&(o.css("min-height","".concat(E,"px")),l.css("min-height","".concat(E,"px"))),d.hasClass("bottom")&&(E<u&&(o.css("min-height","".concat(E+80,"px")),l.css("min-height","".concat(E+80,"px"))),l.css("justify-content","flex-end"))}),s)},d.isBuilder||(h.on("resize",et_calculate_fullscreen_section_size),h.on("et-pb-header-height-calculated",et_calculate_fullscreen_section_size)),window.debounced_et_apply_builder_css_parallax=et_pb_debounce(et_apply_builder_css_parallax,100),window.et_pb_parallax_init=function(t){var e=t.parent();t.hasClass("et_pb_parallax_css")?(n("body").hasClass("et-fb")||v||i)&&(et_apply_builder_css_parallax.bind(e)(),v?p.jQuery("#et-fb-app").on("scroll.etCssParallaxBackground",et_apply_builder_css_parallax.bind(e)).on("resize.etCssParallaxBackground",window.debounced_et_apply_builder_css_parallax.bind(e)):n(window).on("scroll.etCssParallaxBackground",et_apply_builder_css_parallax.bind(e)).on("resize.etCssParallaxBackground",window.debounced_et_apply_builder_css_parallax.bind(e))):(et_parallax_set_height.bind(e)(),et_apply_parallax.bind(e)(),v?p.jQuery("#et-fb-app").on("scroll.etTrueParallaxBackground",et_apply_parallax.bind(e)):n(window).on("scroll.etTrueParallaxBackground",et_apply_parallax.bind(e)),n(window).on("resize.etTrueParallaxBackground",et_pb_debounce(et_parallax_set_height,100).bind(e)),n(window).on("resize.etTrueParallaxBackground",et_pb_debounce(et_apply_parallax,100).bind(e)),e.find(".et-learn-more .heading-more").on("click",(function(){setTimeout((function(){et_parallax_set_height.bind(e)()}),300)})))},n(window).on("resize",(function(){var t=f.width(),e=Q.css("width"),i=void 0!==e&&"%"!==e.substr(-1,1)?Q.width():Q.width()/100*t,a=U!==i,o=n(".et_pb_top_inside_divider, .et_pb_bottom_inside_divider");if(et_pb_resize_section_video_bg(),et_pb_center_video(),xt(),kt(),O(),A.each((function(){var t=!!n(this).hasClass("et_pb_fullwidth_portfolio_carousel");pt(n(this),t)})),a||window.et_force_width_container_change){n(".container-width-change-notify").trigger("containerWidthChanged"),setTimeout((function(){I.each((function(){window.set_filterable_grid_items(n(this))})),E.each((function(){n(this).hasClass("et_pb_gallery_grid")&&set_gallery_grid_items(n(this))}))}),100),U=i;var r=n(".et_pb_circle_counter");r.length&&r.each((function(){var t=n(this).find(".et_pb_circle_counter_inner");if(t.is(":visible")){void 0===t.data("easyPieChart")&&window.et_pb_circle_counter_init(t);var e=At();it=e;var i="desktop"!==e?"-".concat(e):"",a=t.data("bar-bg-color".concat(i));void 0!==a&&""!==a&&(t.data("easyPieChart").options.barColor=a);var o=t.data("color".concat(i));void 0!==o&&""!==o&&(t.data("easyPieChart").options.trackColor=o,t.trigger("containerWidthChanged"));var r=t.data("alpha".concat(i));void 0!==r&&""!==r&&(t.data("easyPieChart").options.trackAlpha=r,t.trigger("containerWidthChanged")),t.data("easyPieChart").update(t.data("number-value"))}})),B.length&&B.each((function(){var t=n(this);et_countdown_timer_labels(t)})),window.et_force_width_container_change=!1}window.et_fix_testimonial_inner_width(),J.length&&J.each((function(){window.et_bar_counters_init(n(this))})),d.isBuilder&&At()!==it&&et_process_animation_data(!1),(F.length||d.isBuilder)&&function(t){if(At()===it)return!1;t.each((function(){var t=n(this),e=t.data("map");if(void 0!==e){var i=At();it=i;var a="desktop"!==i?"-".concat(i):"",o="phone"===i?"-tablet":"",r=t.attr("data-grayscale".concat(a))||0;r||(r=t.attr("data-grayscale".concat(o))||t.attr("data-grayscale")||0),0!==r&&(r="-".concat(r.toString())),e.setOptions({styles:[{stylers:[{saturation:parseInt(r)}]}]})}}))}(F),(ot.length||d.isBuilder)&&n(ot).each((function(){window.et_pb_set_responsive_grid(n(this),".et_pb_grid_item")})),!d.isBuilder&&o.length&&o.each((function(){etFixDividerSpacing(n(this))}))})),d.isBuilder?n(window).one("et_fb_init_app_after",Dt):Dt(),window.et_pb_fullwidth_header_scroll=function(t){t.preventDefault();var e=f.width(),i=n("body"),a=e<782,o=i.hasClass("et_transparent_nav"),r=i.hasClass("et_hide_nav"),s=e>980,c=n(this).parents("section"),l=c.offset(),_=n("#wpadminbar"),d=n("#main-header"),p=_.length&&!a?_.height():0,u=Y.length&&window.et_is_fixed_nav&&s?Y.height():0,h=void 0===d.attr("data-height-onload")?0:d.attr("data-height-onload"),b=d.height()===Ht()||!s||!window.et_is_fixed_nav||o||r?0:Ht()-parseFloat(h),v=l.top+c.outerHeight(!0)+b-(p+u+Ht());if(!g&&window.et_is_fixed_nav&&o){var m=d.clone().addClass("et-disabled-animations et-fixed-header").css("visibility","hidden").appendTo(i);v+=Ht()-m.height(),m.remove()}c.length&&n("html, body").animate({scrollTop:v},{duration:800})},window.et_load_event_fired?Wt():n(window).on("load",(function(){Wt()})),n(".et_section_specialty").length&&n(".et_section_specialty").each((function(){n(this).find(".et_pb_row").find(">.et_pb_column:not(.et_pb_specialty_column)").addClass("et_pb_column_single")})),n(".et_pb_section_parallax").length&&n(".et_pb_map").length&&n("body").addClass("parallax-map-support"),window.et_pb_custom&&n(".et_pb_widget_area ".concat(window.et_pb_custom.widget_search_selector)).each((function(){var t=n(this),e=t.find('input[type="submit"]'),i=e.attr("value"),a=t.find("button"),o=a.text(),r=!(!e.length&&!a.length);(t.find('input[type="text"]').length||t.find('input[type="search"]').length)&&(r||t.addClass("et-no-submit-button"),t.width()<150&&t.addClass("et-narrow-wrapper"),!e.length||void 0!==i&&""!==i||(e.remove(),t.addClass("et-no-submit-button")),!a.length||void 0!==o&&""!==o||(a.remove(),t.addClass("et-no-submit-button")))})),n("body").on("click",".et_pb_ajax_pagination_container .wp-pagenavi a,.et_pb_ajax_pagination_container .pagination a",(function(){var e,a=n(this),o=a.attr("href"),r=window.location.href,s=a.closest(".et_pb_module").attr("class").split(" "),c="",l=et_get_animation_classes();return window.et_pb_ajax_pagination_cache=window.et_pb_ajax_pagination_cache||[],n.each(s,(function(t,e){l.concat(["et_had_animation","lazyload","lazyloaded"]).includes(e)||""!==e.trim()&&(c+=".".concat(e))})),e=n(c),et_remove_animation(e),void 0!==window.et_pb_ajax_pagination_cache[o+c]?e.fadeTo("slow",.2,(function(){e.find(".et_pb_ajax_pagination_container").replaceWith(window.et_pb_ajax_pagination_cache[o+c]),Nt(e,!0),n(".et_pb_tabs").length&&window.et_pb_tabs_init(n(".et_pb_tabs")),qt()})):(void 0===window.et_pb_ajax_pagination_cache[r+c]&&(window.et_pb_ajax_pagination_cache[r+c]=e.find(".et_pb_ajax_pagination_container")),e.fadeTo("slow",.2,(function(){var a=function(i){var a=t(i),r=a.filter("#et-builder-module-design-cached-inline-styles"),s=a.find("".concat(c," .et_pb_ajax_pagination_container")).prepend(r);et_remove_animation(s.find(".et_animated")),e.find(".et_pb_ajax_pagination_container").replaceWith(s),window.et_pb_ajax_pagination_cache[o+c]=s,Nt(e,!1),n(".et_pb_tabs").length&&window.et_pb_tabs_init(n(".et_pb_tabs")),qt(),n(document.body).trigger("post-load")},r={url:o,success:a,error:function(e){404===e.status&&t("body.error404").length>0&&a(e.responseText)}};i&&(r.data={et_layout_block_layout_content:ETBlockLayoutModulesScript.layoutContent},r.method="POST"),t.ajax(r)}))),!1})),window.et_pb_search_init=function(t){var e=At();it=e;var n=t.find(".et_pb_s"),i=t.find(".et_pb_searchsubmit"),a=i.outerHeight(),o=n.innerHeight();i.css({position:"relative"}),a>o&&n.innerHeight(a),i.css({position:""})},window.et_pb_search_percentage_custom_margin_fix=function(t){var e=t.find(".et_pb_s").css("margin").split(" "),n={};switch(e.length){case 4:n={top:e[0],right:e[1],bottom:e[2],left:e[3]};break;case 2:n={top:e[0],right:e[1],bottom:e[0],left:e[1]};break;default:n={top:e[0],right:e[0],bottom:e[0],left:e[0]}}var i="".concat(0-parseFloat(n.left),"px");t.find(".et_pb_searchsubmit").css({top:n.top,right:i,bottom:n.bottom})},n(".et_pb_search").length&&n(".et_pb_search").each((function(){var t=n(this);t.is(".et_pb_search_percentage_custom_margin")&&et_pb_search_percentage_custom_margin_fix(t),et_pb_search_init(t)})),window.et_pb_comments_init=function(t){var e=t.find(".comment-reply-link, .submit");e.length&&(e.addClass("et_pb_button"),void 0!==t.attr("data-icon")&&""!==t.attr("data-icon")&&(e.attr("data-icon",t.attr("data-icon")),e.addClass("et_pb_custom_button_icon")),void 0!==t.attr("data-icon-tablet")&&""!==t.attr("data-icon-tablet")&&(e.attr("data-icon-tablet",t.attr("data-icon-tablet")),e.addClass("et_pb_custom_button_icon")),void 0!==t.attr("data-icon-phone")&&""!==t.attr("data-icon-phone")&&(e.attr("data-icon-phone",t.attr("data-icon-phone")),e.addClass("et_pb_custom_button_icon")))},n(".et_pb_comments_module").length&&n(".et_pb_comments_module").each((function(){var t=n(this);et_pb_comments_init(t)}));var $t=document.onreadystatechange||function(){};function Vt(t){t.find("[data-conditional-logic]").each((function(){for(var e=n(this),i=e.data("conditional-logic"),a=e.data("conditional-relation"),o=[],r=0;r<i.length;r++){var s,c=i[r],l=c[0],_=c[1],d=c[2],p=t.find('.et_pb_contact_field[data-id="'.concat(l,'"]')),u=(p.data("id"),p.data("type"));if(p.is(":visible")){switch(u){case"input":case"email":s=p.find("input").val();break;case"text":s=p.find("textarea").val();break;case"radio":s=p.find("input:checked").val()||"";break;case"checkbox":var f=p.find(":checkbox:checked");s=!1,f.each((function(){if(d===n(this).val())return s=!0,!1})),d=!0;break;case"select":s=p.find("select").val()}if("is empty"!==_&&"is not empty"!==_||(_="is empty"===_?"is":"is not",d="","checkbox"===u&&!1===s&&(s="")),s&&"string"==typeof s&&(s=s.replace(/\\(.)/g,"$1")),!("is"===_&&s!==d||"is not"===_&&s===d)){var h=new RegExp(d,"i");if("string"==typeof d&&(h=new RegExp(d.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"),"i")),("contains"!==_||s.match(h))&&("does not contain"!==_||!s.match(h))){var b=parseInt(s),v=parseInt(d);("is greater"!==_&&"is less"!==_||!isNaN(b)&&!isNaN(v))&&("is greater"===_&&b<=v||"is less"===_&&b>=v||o.push(!0))}}}}e.hide();var m=e.find('input[type="text"]'),g=m.attr("pattern");m.attr("novalidate","novalidate"),m.attr("data-pattern",g),m.removeAttr("pattern"),"all"===a&&i.length===o.length&&(e.show(),m.removeAttr("novalidate"),m.attr("pattern",m.data("pattern"))),"any"===a&&0<o.length&&(e.show(),m.removeAttr("novalidate"),m.attr("pattern",m.data("pattern")))}))}if(document.onreadystatechange=function(){"complete"===document.readyState&&window.et_fix_pricing_currency_position(),$t()},n(".et_pb_contact_form_container, .et_pb_newsletter_custom_fields").each((function(){var t=n(this),e="input, textarea, select",i=function(){Vt(t)},a=et_pb_debounce(i,250);t.on("change",e,i),t.on("keydown",e,a),Vt(t)})),"undefined"!=typeof et_animation_data&&et_animation_data.length>0){for(var Rt=0,Qt=0;Qt<et_animation_data.length;Qt++){var Ut=et_animation_data[Qt];if(Ut.class){var Zt=n(".".concat(Ut.class));(Zt.hasClass("et_pb_menu")||Zt.hasClass("et_pb_fullwidth_menu"))&&Rt++}}n(".et_pb_menu, .et_pb_fullwidth_menu").each((function(){var t=n(this);t.on("webkitAnimationEnd oanimationend msAnimationEnd animationend",(function(){t.css("z-index",Rt-t.index(".et_pb_menu, .et_pb_fullwidth_menu"))}))}))}n(".et_pb_section_video_bg_hover").each((function(){var t=this,e=n(this).closest(".et_pb_section_video_on_hover"),i=!1;e.on("mouseover",(function(){i||(n(t).find(".mejs-video video").trigger("play"),i=!0)})),e.on("mouseleave",(function(){i=!1}))})),n(document).trigger("et_pb_after_init_modules"),window.et_pb_wrap_woo_attribute_fields_in_span(),window.et_pb_shop_add_hover_class=function(){n(".et_pb_shop").each((function(){n(this).find(".et_shop_image").on("mouseover",(function(){var t=n(this).parents().eq(1),e=t.find(".price"),i=t.find(".woocommerce-loop-product__title");e.addClass("hover"),i.addClass("hover")})).on("mouseout",(function(){var t=n(this).parents().eq(1),e=t.find(".price"),i=t.find(".woocommerce-loop-product__title");e.removeClass("hover"),i.removeClass("hover")}))}))},et_pb_shop_add_hover_class()})),window.et_load_event_fired?j():n(window).on("load",(function(){j()}))},window.etFixDividerSpacing=function(t){t.attr("style","");var e=t.css("backgroundSize").split(" "),n=e[0],i=e[1];if("string"==typeof n&&"string"==typeof i&&"100%"!==n&&"%"===n.substr(-1,1)){var a=parseFloat(t.outerWidth()),o=parseFloat(n)/100*a,r="".concat(parseInt(o),"px ").concat(i);t.css("backgroundSize",r)}},window.et_pb_custom&&window.et_pb_custom.is_ab_testing_active&&"yes"===window.et_pb_custom.is_cache_plugin_active){n(window).on("load",(function(){window.et_load_event_fired=!0}));var T=et_pb_custom.ab_tests.length;n.each(et_pb_custom.ab_tests,(function(t,e){n.ajax({type:"POST",url:et_pb_custom.ajaxurl,dataType:"json",data:{action:"et_pb_ab_get_subject_id",et_frontend_nonce:et_pb_custom.et_frontend_nonce,et_pb_ab_test_id:e.post_id},success:function(t){if(t){var i=n(".et_pb_subject_placeholder_id_".concat(e.post_id,"_").concat(t.id));i.after(t.content),i.remove()}(T-=1)<=0&&(n(".et_pb_subject_placeholder").remove(),window.et_pb_init_modules(),n("body").trigger("et_pb_ab_subject_ready"))}})}))}else window.et_pb_init_modules();function O(){n("body").is(".et-fb")&&n("#wpadminbar").length>0&&setTimeout((function(){n("#et_fix_html_margin").remove(),n("<style />",{id:"et_fix_html_margin",text:"html.js.et-fb-top-html { margin-top: 0px !important; }"}).appendTo("head")}),0)}function S(t){var e=t.find(".et_pb_menu__wrap").first(),n=t.find(".et_pb_menu__search-container").first(),i=t.find(".et_pb_menu__search-input").first();n.hasClass("et_pb_is_animating")||(e.removeClass("et_pb_menu__wrap--hidden").addClass("et_pb_menu__wrap--visible"),n.removeClass("et_pb_menu__search-container--visible").addClass("et_pb_menu__search-container--hidden et_pb_is_animating"),i.trigger("blur"),setTimeout((function(){n.removeClass("et_pb_is_animating").addClass("et_pb_menu__search-container--disabled")}),1e3))}document.addEventListener("readystatechange",(function(){"complete"===document.readyState&&(d.isDiviTheme||d.isExtraTheme)&&function(){if(window.et_location_hash=window.location.hash.replace(/[^a-zA-Z0-9-_#]/g,""),""!==window.et_location_hash){window.scrollTo(0,0);var t=n(window.et_location_hash);t.length&&("scrollRestoration"in history?history.scrollRestoration="manual":(window.et_location_hash_style=t.css("display"),t.css("display","none")))}}()})),document.addEventListener("DOMContentLoaded",(function(){n(".et_pb_top_inside_divider.et-no-transition, .et_pb_bottom_inside_divider.et-no-transition").removeClass("et-no-transition").each((function(){etFixDividerSpacing(n(this))})),setTimeout((function(){(window.et_pb_box_shadow_elements||[]).map(et_pb_box_shadow_apply_overlay)}),0)})),n(window).on("load",(function(){var t=n("body");if(window.et_load_event_fired=!0,t.hasClass("safari")){var e=t.css("display"),i="initial"===e?"block":"initial";if(t.css({display:i}),setTimeout((function(){t.css({display:e})}),0),t.hasClass("woocommerce-page")&&t.hasClass("single-product")){var a=n(".woocommerce div.product div.images.woocommerce-product-gallery");if(0===a.length)return;var o=parseInt(a[0].style.opacity);if(!o)return;a.css({opacity:o-.09}),setTimeout((function(){a.css({opacity:o})}),0)}}n(".et_pb_module #rating, .et_pb_module .comment-form-rating").length>0&&n(".et_pb_module #rating, .et_pb_module .comment-form-rating").each((function(){window.et_pb_init_woo_star_rating(n(this))})),window.et_pb_init_woo_custom_button_icon=function(){n(".et_pb_woo_custom_button_icon").length>0&&n(".et_pb_woo_custom_button_icon").each((function(){var t=n(this),e=t.attr("data-button-names");if(e){var i=(0,l.default)(e," ");(0,c.default)(i,(function(e){var n=t.find('button[name="'.concat(e,'"]')),i=t.attr("data-".concat(e,"-icon")),a=t.attr("data-".concat(e,"-icon-tablet")),o=t.attr("data-".concat(e,"-icon-phone"));n.addClass("et_pb_custom_button_icon et_pb_button"),(i||a||o)&&(n.attr("data-icon",i),n.attr("data-icon-tablet",a),n.attr("data-icon-phone",o))}))}else{var a=t.data("button-class"),o=t.find(".".concat(a)),r=t.attr("data-button-icon"),s=t.attr("data-button-icon-tablet"),_=t.attr("data-button-icon-phone");o.addClass("et_pb_custom_button_icon et_pb_button"),(r||s||_)&&(o.attr("data-icon",r),o.attr("data-icon-tablet",s),o.attr("data-icon-phone",_))}}))},window.et_pb_init_woo_custom_button_icon(),n("body").on("updated_checkout",(function(t){window.et_pb_init_woo_custom_button_icon()})),n(".et_pb_wc_meta").length>0&&n(".et_pb_wc_meta").each((function(){var t=n(this);""===t.find(".product_meta span:visible").text()&&t.addClass("et_pb_wc_meta_empty")}))})),n((function(){if(void 0!==MutationObserver)for(var t=function(t){return t.filter((function(){return!n(this).is(":visible")})).length},e=n(".et_pb_section"),i=function(t){var e=void 0!==n.uniqueSort?n.uniqueSort:n.unique,i=n([]);return t.each((function(){i=i.add(n(this).parents())})),e(i.get())}(e),a=t(e),o=new MutationObserver(window.et_pb_debounce((function(){var i=t(e);i<a&&n(window).trigger("resize"),a=i}),200)),r=0;r<i.length;r++)o.observe(i[r],{childList:!0,attributes:!0,attributeFilter:["class","style"],attributeOldValue:!1,characterData:!1,characterDataOldValue:!1,subtree:!1})})),O(),n(document).on("click",".et_pb_menu__search-button",(function(){!function(t){var e=t.find(".et_pb_menu__wrap").first(),i=t.find(".et_pb_menu__search-container").first(),a=t.find(".et_pb_menu__search-input").first(),o=t.find(".et_pb_row > .et_pb_menu__logo-wrap").first(),r=t.find(".et_pb_menu_inner_container > .et_pb_menu__logo-wrap").first(),s=o.add(r),c=n(window).width()<=980;if(!i.hasClass("et_pb_is_animating")){if(e.find(".mobile_nav.opened").removeClass("opened").addClass("closed"),e.find(".et_mobile_menu").hide(),e.removeClass("et_pb_menu__wrap--visible").addClass("et_pb_menu__wrap--hidden"),i.removeClass("et_pb_menu__search-container--hidden et_pb_menu__search-container--disabled").addClass("et_pb_menu__search-container--visible et_pb_is_animating"),i.css("padding-top","0px"),t.hasClass("et_pb_menu--style-left_aligned")||t.hasClass("et_pb_fullwidth_menu--style-left_aligned"))i.css("padding-left","".concat(s.width(),"px"));else{var l=s.height();i.css("padding-left","0px"),(c||t.hasClass("et_pb_menu--style-centered")||t.hasClass("et_pb_fullwidth_menu--style-centered"))&&i.css("padding-top","".concat(l>0?l+30:0,"px"))}a.css("font-size",t.find(".et-menu-nav li a").first().css("font-size")),setTimeout((function(){a.trigger("focus")}),0),setTimeout((function(){e.addClass("et_pb_no_animation"),i.addClass("et_pb_no_animation").removeClass("et_pb_is_animating")}),1e3)}}(n(this).closest(".et_pb_module"))})),n(document).on("click",".et_pb_menu__close-search-button",(function(){S(n(this).closest(".et_pb_module"))})),n(document).on("blur",".et_pb_menu__search-input",(function(){S(n(this).closest(".et_pb_module"))})),n((function(){n(".et_pb_menu--style-inline_centered_logo, .et_pb_fullwidth_menu--style-inline_centered_logo").each((function(){!function(t){var e=t.find(".et_pb_menu__logo-wrap").first();if(0!==e.length){var i=t.find(".et_pb_menu__menu").first();if(!(0===i.length||i.find(".et_pb_menu__logo").length>0)){var a=window.et_pb_menu_inject_inline_centered_logo(i.get(0));null!==a&&n(a).empty().append(e.clone())}}}(n(this))})),(0,a.default)(window.lazySizes)||n(document).on("lazyloaded",(function(t){var i=n(t.target),o=i.attr("name");i.is("iframe")&&((0,e.default)(o,"fitvid")||(0,a.default)(o))&&(i.attr("src",i.attr("data-src")),i.parent().fitVids())}))})),document.addEventListener("DOMContentLoaded",window.et_pb_reposition_menu_module_dropdowns),n(window).on("resize",window.et_pb_reposition_menu_module_dropdowns);var P={contexts:["content","attrs","styles","classes","visibility"],screenMode:void 0,windowWidth:void 0,init:function(t,e){P.screenMode=t,P.windowWidth=e,n(".et_multi_view__hover_selector").removeClass("et_multi_view__hover_selector"),P.getElements().each((function(){var t=n(this);if(!P.isBuilderElement(t)){var e=P.getData(t);e.$hoverSelector&&e.$hoverSelector.length&&e.$hoverSelector.addClass("et_multi_view__hover_selector"),P.normalStateHandler(e)}})),P.isTouchDevice()?(window.removeEventListener("touchstart",P.touchStateHandler),window.addEventListener("touchstart",P.touchStateHandler,{passive:!1})):(n(".et_multi_view__hover_selector").off("mouseenter mouseleave",P.hoverStateHandler),n(".et_multi_view__hover_selector").on("mouseenter mouseleave",P.hoverStateHandler),n("#main-header, #main-footer").off("mouseenter",P.resetHoverState),n("#main-header, #main-footer").on("mouseenter",P.resetHoverState))},normalStateHandler:function(t){t&&!P.isEmptyObject(t.normalState)&&P.callbackHandlerDefault(t.normalState,t.$target,t.$source,t.slug)},touchStateHandler:function(t){var e=n(t.target);if(n(t.target).hasClass("et_multi_view__hover_selector")||(e=n(t.target).closest(".et_multi_view__hover_selector")),e&&e.length){var i=n(t.target).is("a")?n(t.target):n(t.target).closest("a",e);if(i&&i.length){var a=i.attr("href");"#"!==a&&0===a.indexOf("#")&&n(a)&&n(a).length&&(t.preventDefault(),n("html, body").animate({scrollTop:n(a).offset().top},800))}else e.hasClass("et_multi_view__hovered")?P.resetHoverState(e,(function(){e.hasClass("et_clickable")&&e.trigger("click")})):P.setHoverState(e,(function(){e.hasClass("et_clickable")&&e.trigger("click")}))}},hoverStateHandler:function(t){var e=n(t.target);n(t.target).hasClass("et_multi_view__hover_selector")||(e=n(t.target).closest(".et_multi_view__hover_selector")),"mouseenter"!==t.type||e.hasClass("et_multi_view__hovered")?"mouseleave"===t.type&&e.hasClass("et_multi_view__hovered")&&P.resetHoverState(e):P.setHoverState(e)},setHoverState:function(t,e){P.resetHoverState();var i=[];t.data("etMultiView")&&i.push(P.getData(t)),t.find("[data-et-multi-view]").each((function(){var t=n(this);P.isBuilderElement(t)||i.push(P.getData(t))}));for(var a=0;a<i.length;a++){var o=i[a];!o||P.isEmptyObject(o.normalState)||P.isEmptyObject(o.hoverState)||P.callbackHandlerDefault(o.hoverState,o.$target,o.$source,o.slug)}t.addClass("et_multi_view__hovered"),"function"==typeof e&&e()},resetHoverState:function(t,e){var i=[];t&&t.length?(t.data("etMultiView")&&i.push(P.getData(t)),t.find("[data-et-multi-view]").each((function(){var t=n(this);P.isBuilderElement(t)||i.push(P.getData(t))}))):P.getElements().each((function(){var t=n(this);P.isBuilderElement(t)||i.push(P.getData(t))}));for(var a=0;a<i.length;a++){var o=i[a];!o||P.isEmptyObject(o.normalState)||P.isEmptyObject(o.hoverState)||P.callbackHandlerDefault(o.normalState,o.$target,o.$source,o.slug)}n(".et_multi_view__hover_selector").removeClass("et_multi_view__hovered"),"function"==typeof e&&e()},getData:function(t){if(!t||!t.length)return!1;var e=P.getScreenMode(),i=t.data("etMultiView");if(!i)return!1;if("string"==typeof i&&(i=P.tryParseJSON(i)),!i||!i.schema||!i.slug)return!1;var a=i.target?n(i.target):t;if(!a||!a.length)return!1;for(var o={},r={},s=0;s<P.contexts.length;s++){var c=P.contexts[s];i.schema&&i.schema.hasOwnProperty(c)&&(i.schema[c].hasOwnProperty(e)?o[c]=i.schema[c][e]:"tablet"===e&&i.schema[c].hasOwnProperty("desktop")?o[c]=i.schema[c].desktop:"phone"===e&&i.schema[c].hasOwnProperty("tablet")?o[c]=i.schema[c].tablet:"phone"===e&&i.schema[c].hasOwnProperty("desktop")&&(o[c]=i.schema[c].desktop),i.schema[c].hasOwnProperty("hover")&&(r[c]=i.schema[c].hover))}var l=!!i.hover_selector&&n(i.hover_selector);return l&&l.length||(l=t.hasClass(".et_pb_module")?t:t.closest(".et_pb_module")),{normalState:o,hoverState:r,$target:a,$source:t,$hoverSelector:l,slug:i.slug,screenMode:e}},callbackHandlerDefault:function(t,e,n,i){if(i){var a=P.getCallbackHandlerCustom(i);if(a&&"function"==typeof a)return a(t,e,n,i)}var o={};return t.hasOwnProperty("content")&&(o.content=P.updateContent(t.content,e,n)),t.hasOwnProperty("attrs")&&(o.attrs=P.updateAttrs(t.attrs,e,n)),t.hasOwnProperty("styles")&&(o.styles=P.updateStyles(t.styles,e,n)),t.hasOwnProperty("classes")&&(o.classes=P.updateClasses(t.classes,e,n)),t.hasOwnProperty("visibility")&&(o.visibility=P.updateVisibility(t.visibility,e,n)),!P.isEmptyObject(o)&&o},callbackHandlerCounter:function(t,e,n){var i=P.callbackHandlerDefault(t,e,n);i&&i.attrs&&i.attrs.hasOwnProperty("data-width")&&window.et_bar_counters_init(e)},callbackHandlerNumberCounter:function(t,e,n){if(e.hasClass("title"))return P.callbackHandlerDefault(t,e,n);var i=t.attrs||!1;if(i&&(i.hasOwnProperty("data-percent-sign")&&P.updateContent(i["data-percent-sign"],e.find(".percent-sign"),n),i.hasOwnProperty("data-number-value"))){var a=e.closest(".et_pb_number_counter"),o=i["data-number-value"]||50,r=i["data-number-separator"]||"";P.updateAttrs({"data-number-value":o,"data-number-separator":r},a,n)&&a.data("easyPieChart")&&a.data("easyPieChart").update(o)}},callbackHandlerCircleCounter:function(t,e,n){if(!e.hasClass("et_pb_circle_counter_inner"))return P.callbackHandlerDefault(t,e,n);var i=t.attrs||!1;if(i&&(i.hasOwnProperty("data-percent-sign")&&P.updateContent(i["data-percent-sign"],e.find(".percent-sign"),n),i.hasOwnProperty("data-number-value"))){var a=e.closest(".et_pb_circle_counter_inner"),o=i["data-number-value"];P.updateAttrs({"data-number-value":o},a,n)&&a.data("easyPieChart")&&(window.et_pb_circle_counter_init(a),a.data("easyPieChart").update(o))}},callbackHandlerSlider:function(t,e,n){var i=P.callbackHandlerDefault(t,e,n);e.hasClass("et_pb_module")&&i&&i.classes&&(i.classes.add&&-1!==i.classes.add.indexOf("et_pb_slider_no_arrows")&&e.find(".et-pb-slider-arrows").addClass("et_multi_view_hidden"),i.classes.remove&&-1!==i.classes.remove.indexOf("et_pb_slider_no_arrows")&&e.find(".et-pb-slider-arrows").removeClass("et_multi_view_hidden"),i.classes.add&&-1!==i.classes.add.indexOf("et_pb_slider_no_pagination")&&e.find(".et-pb-controllers").addClass("et_multi_view_hidden"),i.classes.remove&&-1!==i.classes.remove.indexOf("et_pb_slider_no_pagination")&&e.find(".et-pb-controllers").removeClass("et_multi_view_hidden"))},callbackHandlerPostSlider:function(t,e,n){var i=P.callbackHandlerDefault(t,e,n);e.hasClass("et_pb_module")&&i&&i.classes&&(i.classes.add&&-1!==i.classes.add.indexOf("et_pb_slider_no_arrows")&&e.find(".et-pb-slider-arrows").addClass("et_multi_view_hidden"),i.classes.remove&&-1!==i.classes.remove.indexOf("et_pb_slider_no_arrows")&&e.find(".et-pb-slider-arrows").removeClass("et_multi_view_hidden"),i.classes.add&&-1!==i.classes.add.indexOf("et_pb_slider_no_pagination")&&e.find(".et-pb-controllers").addClass("et_multi_view_hidden"),i.classes.remove&&-1!==i.classes.remove.indexOf("et_pb_slider_no_pagination")&&e.find(".et-pb-controllers").removeClass("et_multi_view_hidden"))},callbackHandlerVideoSlider:function(t,e,n){var i=P.callbackHandlerDefault(t,e,n);if(e.hasClass("et_pb_slider")&&i&&i.classes){i.classes.add&&-1!==i.classes.add.indexOf("et_pb_slider_no_arrows")&&e.find(".et-pb-slider-arrows").addClass("et_multi_view_hidden"),i.classes.remove&&-1!==i.classes.remove.indexOf("et_pb_slider_no_arrows")&&e.find(".et-pb-slider-arrows").removeClass("et_multi_view_hidden");var a=i.classes.add&&-1!==i.classes.add.indexOf("et_pb_slider_dots")?"et_pb_slider_dots":!(!i.classes.add||-1===i.classes.add.indexOf("et_pb_slider_carousel"))&&"et_pb_slider_carousel";if(a){var o=e.data("et_pb_simple_slider");"object"===u(o)&&o.et_slider_destroy(),et_pb_slider_init(e),"et_pb_slider_carousel"===a&&e.siblings(".et_pb_carousel").et_pb_simple_carousel({slide_duration:1e3})}}},callbackHandlerSliderItem:function(t,e,i){if(!e.hasClass("et_pb_slide_video")&&!e.is("img"))return P.callbackHandlerDefault(t,e,i);if(e.hasClass("et_pb_slide_video")){var a=!(!t||!t.content)&&n(t.content),o=-1!==e.html().indexOf("fluid-width-video-wrapper")?n(e.find(".fluid-width-video-wrapper").html()):n(e.html());if(!a||!o)return;var r=!1;if(a.hasClass("wp-video")&&o.hasClass("wp-video")?function(){if(a.find("source").length!==o.find("source").length)return!0;var t=!1;return a.find("source").each((function(e){var i=o.find("source").eq(e);n(this).attr("src")!==i.attr("src")&&(t=!0)})),t}()&&(r=P.callbackHandlerDefault(t,e,i)):(a.is("iframe")&&o.is("iframe")&&a.attr("src")!==o.attr("src")||a.hasClass("wp-video")&&o.is("iframe")||a.is("iframe")&&o.hasClass("wp-video"))&&(r=P.callbackHandlerDefault(t,e,i)),r&&r.content)if(a.is("iframe"))e.closest(".et_pb_module").fitVids();else{var s=a.find("video").attr("width"),c=a.find("video").attr("height"),l=e.width(),_=l/s*c;e.find("video").mediaelementplayer({videoWidth:parseInt(l),videoHeight:parseInt(_),autosizeProgress:!1,success:function(t,e){var i=n(e),a=_-i.height()+n(t).height();i.css("margin-top","".concat(a,"px"))}})}}else if(e.is("img")&&(r=P.callbackHandlerDefault(t,e,i))&&r.attrs&&r.attrs.src){var d=e.closest(".et_pb_module");e.css("visibility","hidden"),et_fix_slider_height(d),setTimeout((function(){et_fix_slider_height(d),e.css("visibility","visible")}),100)}},callbackHandlerVideo:function(t,e,i){if(e.hasClass("et_pb_video_overlay"))return P.callbackHandlerDefault(t,e,i);var a=!1,o=!(!t||!t.content)&&n(t.content),r=-1!==e.html().indexOf("fluid-width-video-wrapper")?n(e.find(".fluid-width-video-wrapper").html()):n(e.html());return o&&r?(o.is("video")&&r.is("video")?function(){if(o.find("source").length!==r.find("source").length)return!0;var t=!1;return o.find("source").each((function(e){var i=r.find("source").eq(e);n(this).attr("src")!==i.attr("src")&&(t=!0)})),t}()&&(a=P.callbackHandlerDefault(t,e,i)):(o.is("iframe")&&r.is("iframe")&&o.attr("src")!==r.attr("src")||o.is("video")&&r.is("iframe")||o.is("iframe")&&r.is("video"))&&(a=P.callbackHandlerDefault(t,e,i)),a&&a.content&&o.is("iframe")&&n.fn.fitVids&&e.fitVids(),a):void 0},callbackHandlerBlog:function(t,e,n){var i=P.callbackHandlerDefault(t,e,n),a=P.getObjectValue(i,"classes.add");a&&-1!==a.indexOf("et_pb_blog_show_content")&&et_reinit_waypoint_modules()},callbackHandlerWooCommerceBreadcrumb:function(t,e,n){if(t.content)return P.callbackHandlerDefault(t,e,n);if(t.attrs&&t.attrs.hasOwnProperty("href")){var i=t.attrs.href;return P.updateAttrs({href:i},e,n)}},callbackHandlerWooCommerceTabs:function(t,e,i){var a=P.callbackHandlerDefault(t,e,i);if(a&&a.attrs&&a.attrs.hasOwnProperty("data-include_tabs")){e.find("li").hide(),e.find("li").removeClass("et_pb_tab_active");var o=[];a.attrs["data-include_tabs"].split("|").forEach((function(t){""!==t.trim()&&o.push("".concat(t,"_tab"))})),o.forEach((function(t,e){0===e&&n(".".concat(t)).addClass("et_pb_tab_active"),n(".".concat(t)).show()}))}},getCallbackHandlerCustom:function(t){switch(t){case"et_pb_counter":return P.callbackHandlerCounter;case"et_pb_number_counter":return P.callbackHandlerNumberCounter;case"et_pb_circle_counter":return P.callbackHandlerCircleCounter;case"et_pb_slider":case"et_pb_fullwidth_slider":return P.callbackHandlerSlider;case"et_pb_post_slider":case"et_pb_fullwidth_post_slider":return P.callbackHandlerPostSlider;case"et_pb_video_slider":return P.callbackHandlerVideoSlider;case"et_pb_slide":return P.callbackHandlerSliderItem;case"et_pb_video":return P.callbackHandlerVideo;case"et_pb_blog":return P.callbackHandlerBlog;case"et_pb_wc_breadcrumb":return P.callbackHandlerWooCommerceBreadcrumb;case"et_pb_wc_tabs":return P.callbackHandlerWooCommerceTabs;default:return!1}},updateContent:function(t,e,i){if(void 0===t)return!1;var a=n("<"+(e.get(0).tagName||"div")+">").html(t);return e.html()!==a.html()&&(e.empty().html(t),i.hasClass("et_multi_view_swapped")||i.addClass("et_multi_view_swapped"),!0)},updateAttrs:function(t,e,i){if(!t)return!1;var a={};return n.each(t,(function(n,i){var o=e.attr(n);switch(n){case"class":case"style":case"srcset":case"sizes":break;case"src":o!==i&&(e.off("load"),e.on("load",(function(){e.addClass("et_multi_view_image__loaded"),e.removeClass("et_multi_view_image__loading")})),e.addClass("et_multi_view_image__loading"),e.removeClass("et_multi_view_image__loaded"),e.attr({src:i,srcset:t.srcset||"",sizes:t.sizes||""}),i?e.removeClass("et_multi_view_hidden_image"):e.addClass("et_multi_view_hidden_image"),a[n]=i);break;default:o!==i&&(e.attr(n,i),0===n.indexOf("data-")&&e.data(n.replace("data-",""),i),a[n]=i)}})),!P.isEmptyObject(a)&&(i.hasClass("et_multi_view_swapped")||i.addClass("et_multi_view_swapped"),a)},updateStyles:function(t,e,i){if(!t)return!1;var a={};return n.each(t,(function(t,n){e.css(t)!==n&&(e.css(t,n),a[t]=n)})),!P.isEmptyObject(a)&&(i.hasClass("et_multi_view_swapped")||i.addClass("et_multi_view_swapped"),a)},updateClasses:function(t,e,n){if(!t)return!1;var i={};if(t.add)for(var a=0;a<t.add.length;a++)e.hasClass(t.add[a])||(e.addClass(t.add[a]),i.hasOwnProperty("add")||(i.add=[]),i.add.push(t.add[a]));if(t.remove)for(a=0;a<t.remove.length;a++)e.hasClass(t.remove[a])&&(e.removeClass(t.remove[a]),i.hasOwnProperty("remove")||(i.remove=[]),i.remove.push(t.remove[a]));return!P.isEmptyObject(i)&&(n.hasClass("et_multi_view_swapped")||n.addClass("et_multi_view_swapped"),i)},updateVisibility:function(t,e,n){var i={};return t&&e.hasClass("et_multi_view_hidden")&&(e.removeClass("et_multi_view_hidden"),i.isVisible=!0),t||e.hasClass("et_multi_view_hidden")||(e.addClass("et_multi_view_hidden"),i.isHidden=!0),!P.isEmptyObject(i)&&(n.hasClass("et_multi_view_swapped")||n.addClass("et_multi_view_swapped"),i)},isEmptyObject:function(t){if(!t)return!0;var e=!0;for(var n in t)t.hasOwnProperty(n)&&(e=!1);return e},getObjectValue:function(t,e,i){try{for(var a=n.extend({},t),o=e.split("."),r=0;r<o.length;++r)a=a[o[r]];return a}catch(t){return i}},tryParseJSON:function(t){try{return JSON.parse(t)}catch(t){return!1}},getScreenMode:function(){if(d.isBuilder&&P.screenMode)return P.screenMode;var t=P.getWindowWidth();return t>980?"desktop":t>767?"tablet":"phone"},getWindowWidth:function(){return P.windowWidth?P.windowWidth:d.isBuilder?n(".et-core-frame").width():n(window).width()},getElements:function(){return d.isBuilder?n(".et-core-frame").contents().find("[data-et-multi-view]"):n("[data-et-multi-view]")},isBuilderElement:function(t){return t.closest("#et-fb-app").length>0},isTouchDevice:function(){return"ontouchstart"in window||navigator.msMaxTouchPoints}};!function(){if(d.isBuilder)n(window).on("et_fb_preview_mode_changed",(function(t,e){"et_fb_preview_mode_changed"===t.type&&P.init(e)}));else{n((function(){P.init()})),n(window).on("orientationchange",(function(t){P.init()}));var t=null;n(window).on("resize",(function(e){e.originalEvent&&e.originalEvent.isTrusted&&(clearTimeout(t),t=setTimeout((function(){P.init(void 0,n(window).width())}),200))}))}}(),d.isBuilder&&n((function(){n(document).on("submit",".et-fb-root-ancestor-sibling form",(function(t){t.preventDefault()})),n(document).on("click",'.et-fb-root-ancestor-sibling a, .et-fb-root-ancestor-sibling button, .et-fb-root-ancestor-sibling input[type="submit"]',(function(t){t.preventDefault()}))})),window.etInitWooReviewsRatingStars=function(){n('select[name="rating"]').each((function(){n(this).prev(".stars").remove(),n(this).hide().before('<p class="stars">\t\t\t\t\t\t<span>\t\t\t\t\t\t\t<a class="star-1" href="#">1</a>\t\t\t\t\t\t\t<a class="star-2" href="#">2</a>\t\t\t\t\t\t\t<a class="star-3" href="#">3</a>\t\t\t\t\t\t\t<a class="star-4" href="#">4</a>\t\t\t\t\t\t\t<a class="star-5" href="#">5</a>\t\t\t\t\t\t</span>\t\t\t\t\t</p>')}))}}(t)}).call(this,n(8))},1443:function(t,e,n){"use strict";(function(t){var e,i=(e=n(6))&&e.__esModule?e:{default:e},a=n(354);!function(t){function e(){var e=t("body").hasClass("et_pb_pagebuilder_layout"),n=t("body").hasClass("et-tb-has-template");return!(e||n)}function n(e){var n=e.target.getAttribute("name"),i=e.target.value;t("input[type=hidden][name=".concat(n,"]")).remove(),t("<input>").attr({type:"hidden",value:i,name:n}).prependTo(".et_pb_wc_checkout_payment_info form.checkout")}function o(e){var n=e.target.getAttribute("name"),a=t("input[type=hidden][name=".concat(n,"]"));(0,i.default)(["ship_to_different_address","createaccount"],n)&&!e.target.checked&&a.remove(),"ship_to_different_address"===n&&(e.target.checked?(c(),t("div.shipping_address").slideDown()):t("div.shipping_address").slideUp())}function r(e){var n=e.target.getAttribute("name"),a=e.target.value;t("input[type=hidden][name=".concat(n,"]")).remove(),(0,i.default)(["shipping_state","billing_state"],n)&&t("input[type=hidden][name=".concat(n,"]"),".et_pb_wc_checkout_payment_info").remove(),t("<input>").attr({type:"hidden",value:a,name:n}).prependTo(".et_pb_wc_checkout_payment_info form.checkout")}function s(e){var n=t(e.target),i=e.target.getAttribute("name"),a=n.val();t(".et_pb_wc_checkout_payment_info input[type=hidden][name=".concat(i,"]")).remove(),t("<input>").attr({type:"hidden",value:a,name:i}).prependTo(".et_pb_wc_checkout_payment_info form.checkout")}function c(){var e=t(".et_pb_wc_checkout_shipping input[name=ship_to_different_address]"),n=e.is(":checked");t(".et_pb_wc_checkout_billing .form-row").each((function(){var e,n,i=t(this).find("input"),a=t(this).find("select");i.length?(e=i.attr("name"),n=i.val()):a.length&&(e=a.attr("name"),n=a.val()),""!==e&&void 0!==e&&t("<input>").attr({type:"hidden",value:n,name:e}).prependTo(".et_pb_wc_checkout_payment_info form.checkout")})),n&&(t(".et_pb_wc_checkout_shipping .form-row").each((function(){var e,n,i=t(this).find("input"),a=t(this).find("select");i.length?(e=i.attr("name"),n=i.val()):a.length&&(e=a.attr("name"),n=a.val()),""!==e&&void 0!==e&&(t('.et_pb_wc_checkout_payment_info form.checkout input[type="hidden"][name="'+e+'"]').remove(),t("<input>").attr({type:"hidden",value:n,name:e}).prependTo(".et_pb_wc_checkout_payment_info form.checkout"))})),t("<input>").attr({type:"hidden",value:e.val(),name:"ship_to_different_address"}).prependTo(".et_pb_wc_checkout_payment_info form.checkout"))}var l;function _(){var e=t(".et_pb_wc_checkout_payment_info");t(".wc_payment_method").removeClass("et_pb_checked"),e.find('input.input-radio[type="radio"]:checked').parent(".wc_payment_method").addClass("et_pb_checked")}var d={customButtonIconInit:function(){window.et_pb_init_woo_custom_button_icon()},animationInit:function(){u.etProcessAnimationData()},makeReturnToShopBtnVisibleWhenCartEmptied:function(){if(!a.isVB){var e=t(".wc-backward").closest(".et_pb_wc_cart_notice");e.hasClass("et_animated")&&e.removeClass("et_animated").addClass("et_had_animation")}},removeDuplicateWooCartForm:function(){a.isVB||t(".woocommerce-cart-form").closest(".woocommerce").find(".woocommerce-cart-form:not(:first)").remove()},removeDuplicatedCartTotalModules:function(){a.isVB||t(".et_pb_wc_cart_totals").find(".cart_totals:not(:first)").remove()},wooCartTotalsInit:function(){t(document.body).on("updated_wc_div",this.removeDuplicatedCartTotalModules)},wooCartProductsInit:function(){t(document.body).on("updated_wc_div",this.removeDuplicateWooCartForm)},wooNoticeInit:function(){t(document.body).on("updated_wc_div",this.makeReturnToShopBtnVisibleWhenCartEmptied),t(document.body).on("updated_wc_div",this.animationInit)},reInitCustomButtonIcon:function(){t(document.body).on("updated_wc_div",this.customButtonIconInit)},init:function(){this.wooCartProductsInit(),this.wooNoticeInit(),this.reInitCustomButtonIcon(),this.wooCartTotalsInit(),t(document.body).on("change input",".woocommerce-cart-form .cart_item :input",(function(){if(!a.isBuilder){var e,n,i,o=t(this).closest(".et_pb_module_inner").find('button[name="update_cart"]'),r=t(this).parents(".et_pb_woo_custom_button_icon.et_pb_wc_cart_products");e=r.attr("data-apply_coupon-icon"),n=r.attr("data-apply_coupon-icon-tablet"),i=r.attr("data-apply_coupon-icon-phone"),o.addClass("et_pb_custom_button_icon et_pb_button"),(e||n||i)&&(o.attr("data-icon",e),o.attr("data-icon-tablet",n),o.attr("data-icon-phone",i))}}))}},p={init:function(){this.stopStickyWooNoticeScroll()},stopStickyWooNoticeScroll:function(){a.isVB||t("a.showcoupon").on("click",(function(e){if(t(this).parents(".et_pb_wc_cart_notice").hasClass("et_pb_sticky_module")){e.stopPropagation();var n=t(this).parents(".et_pb_sticky_module");return t(".checkout_coupon",n).slideToggle(400,(function(){t(".checkout_coupon",n).find(":input:eq(0)").focus()})),!1}}))}},u={et_get_animation_classes:function(){return["et_animated","et_is_animating","infinite","et-waypoint","fade","fadeTop","fadeRight","fadeBottom","fadeLeft","slide","slideTop","slideRight","slideBottom","slideLeft","bounce","bounceTop","bounceRight","bounceBottom","bounceLeft","zoom","zoomTop","zoomRight","zoomBottom","zoomLeft","flip","flipTop","flipRight","flipBottom","flipLeft","fold","foldTop","foldRight","foldBottom","foldLeft","roll","rollTop","rollRight","rollBottom","rollLeft","transformAnim"]},et_remove_animation:function(e){if(!e.hasClass("infinite")){var n=this.et_get_animation_classes();e.is(".et_pb_section")&&e.is(".roll")&&t("".concat(et_frontend_scripts.builderCssContainerPrefix,", ").concat(et_frontend_scripts.builderCssLayoutPrefix)).css("overflow-x",""),e.removeClass(n.join(" ")),e.css({"animation-delay":"","animation-duration":"","animation-timing-function":"",opacity:"",transform:"",left:""}),e.addClass("et_had_animation")}},et_remove_animation_data:function(e){for(var n=[],i=e.get(0).attributes,a=0;a<i.length;a++)"data-animation-"===i[a].name.substring(0,15)&&n.push(i[a].name);t.each(n,(function(t,n){e.removeAttr(n)}))},et_process_animation_intensity:function(t,e,n){var i={};switch(t){case"slide":switch(e){case"top":i={transform:"translate3d(0, ".concat(-2*n,"%, 0)")};break;case"right":i={transform:"translate3d(".concat(2*n,"%, 0, 0)")};break;case"bottom":i={transform:"translate3d(0, ".concat(2*n,"%, 0)")};break;case"left":i={transform:"translate3d(".concat(-2*n,"%, 0, 0)")};break;default:i={transform:"scale3d(".concat(a=.01*(100-n),", ").concat(a,", ").concat(a,")")}}break;case"zoom":var a;i={transform:"scale3d(".concat(a=.01*(100-n),", ").concat(a,", ").concat(a,")")};break;case"flip":switch(e){case"right":var o=Math.ceil(.9*n);i={transform:"perspective(2000px) rotateY(".concat(o,"deg)")};break;case"left":o=-1*Math.ceil(.9*n),i={transform:"perspective(2000px) rotateY(".concat(o,"deg)")};break;case"top":default:o=Math.ceil(.9*n),i={transform:"perspective(2000px) rotateX(".concat(o,"deg)")};break;case"bottom":o=-1*Math.ceil(.9*n),i={transform:"perspective(2000px) rotateX(".concat(o,"deg)")}}break;case"fold":switch(e){case"top":o=-1*Math.ceil(.9*n),i={transform:"perspective(2000px) rotateX(".concat(o,"deg)")};break;case"bottom":o=Math.ceil(.9*n),i={transform:"perspective(2000px) rotateX(".concat(o,"deg)")};break;case"left":o=Math.ceil(.9*n),i={transform:"perspective(2000px) rotateY(".concat(o,"deg)")};break;default:o=-1*Math.ceil(.9*n),i={transform:"perspective(2000px) rotateY(".concat(o,"deg)")}}break;case"roll":switch(e){case"right":case"bottom":o=-1*Math.ceil(3.6*n),i={transform:"rotateZ(".concat(o,"deg)")};break;case"top":case"left":o=Math.ceil(3.6*n),i={transform:"rotateZ(".concat(o,"deg)")};break;default:o=Math.ceil(3.6*n),i={transform:"rotateZ(".concat(o,"deg)")}}}return i},et_animate_element:function(e){var n=this,i=e;if(!i.hasClass("et_had_animation")){var a=i.attr("data-animation-style"),o=i.attr("data-animation-repeat"),r=i.attr("data-animation-duration"),s=i.attr("data-animation-delay"),c=i.attr("data-animation-intensity"),l=i.attr("data-animation-starting-opacity"),_=i.attr("data-animation-speed-curve"),d=i.parent(".et_pb_button_module_wrapper"),p=t("body").hasClass("edge");i.is(".et_pb_section")&&"roll"===a&&t("".concat(et_frontend_scripts.builderCssContainerPrefix,", ").concat(et_frontend_scripts.builderCssLayoutPrefix)).css("overflow-x","hidden"),this.et_remove_animation_data(i);var u=isNaN(parseInt(l))?0:.01*parseInt(l);-1===t.inArray(_,["linear","ease","ease-in","ease-out","ease-in-out"])&&(_="ease-in-out"),d.length>0&&(i.removeClass("et_animated"),(i=d).addClass("et_animated")),i.css({"animation-duration":r,"animation-delay":s,opacity:u,"animation-timing-function":_}),"slideTop"!==a&&"slideBottom"!==a||i.css("left","0px");for(var f={},h=isNaN(parseInt(c))?50:parseInt(c),b=["slide","zoom","flip","fold","roll"],v=!1,m=!1,g=0;g<b.length;g++){var w=b[g];if(a&&a.substr(0,w.length)===w){v=w,""!==(m=a.substr(w.length,a.length))&&(m=m.toLowerCase());break}}if(!1!==v&&!1!==m&&(f=this.et_process_animation_intensity(v,m,h)),t.isEmptyObject(f)||i.css(p?t.extend(f,{transition:"transform 0s ease-in"}):f),i.addClass("et_animated"),i.addClass("et_is_animating"),i.addClass(a),i.addClass(o),!o){var y=parseInt(r),x=parseInt(s);setTimeout((function(){n.et_remove_animation(i)}),y+x),p&&!t.isEmptyObject(f)&&setTimeout((function(){i.css("transition","")}),y+x+50)}}},getCurrentWindowMode:function(){var e=t(window).width(),n="desktop";return e<=980&&e>767?n="tablet":e<=767&&(n="phone"),n},etProcessAnimationData:function(){if("undefined"!=typeof et_animation_data&&0!==et_animation_data.length){t("body").css("overflow-x","hidden"),t("#page-container").css("overflow-y","hidden");for(var e=0;e<et_animation_data.length;e++){var n=et_animation_data[e];if(n.class&&n.style&&n.repeat&&n.duration&&n.delay&&n.intensity&&n.starting_opacity&&n.speed_curve){var i=t(".".concat(n.class));i.removeClass("et_had_animation");var a=this.getCurrentWindowMode(),o="desktop"===a,r="";o||(r+="_".concat(a));var s=o||void 0===n["style".concat(r)]?n.style:n["style".concat(r)],c=o||void 0===n["repeat".concat(r)]?n.repeat:n["repeat".concat(r)],l=o||void 0===n["duration".concat(r)]?n.duration:n["duration".concat(r)],_=o||void 0===n["delay".concat(r)]?n.delay:n["delay".concat(r)],d=o||void 0===n["intensity".concat(r)]?n.intensity:n["intensity".concat(r)],p=o||void 0===n["starting_opacity".concat(r)]?n.starting_opacity:n["starting_opacity".concat(r)],u=o||void 0===n["speed_curve".concat(r)]?n.speed_curve:n["speed_curve".concat(r)];i.attr({"data-animation-style":s,"data-animation-repeat":"once"===c?"":"infinite","data-animation-duration":l,"data-animation-delay":_,"data-animation-intensity":d,"data-animation-starting-opacity":p,"data-animation-speed-curve":u}),this.et_animate_element(i)}}}}};d.init(),p.init(),function e(){t(".et_pb_wc_checkout_billing form.checkout").length?(a.isVB&&t(".et_pb_wc_checkout_billing form.checkout").prepend('\n        <div class="woocommerce-NoticeGroup woocommerce-NoticeGroup-checkout">\n          <ul class="woocommerce-error" role="alert">\n            <li data-id="billing_first_name">\n              <strong>Billing First name</strong> is a required field.\n            </li>\n          </ul>\n        </div>\n        '),clearTimeout(l)):l=setTimeout(e,1e3)}(),t(document.body).on("updated_checkout",_),t("#et-boc").on("change","input.input-radio",_),t(document.body).on("click",".woocommerce-cart-form .product-remove > a",(function(t){if("undefined"!=typeof wc_cart_params&&a.isVB)return t.preventDefault(),!1})),t(document.body).on("init_checkout",(function(){e()||(t(document.body).on("checkout_error",(function(){t(".woocommerce-NoticeGroup-checkout:not(:first)").hide()})),c(),t(document.body).on("change",".et_pb_wc_checkout_billing input",s),t(document.body).on("change",".et_pb_wc_checkout_billing select",r),t(document.body).on("change",".et_pb_wc_checkout_shipping input",s),t(document.body).on("change",".et_pb_wc_checkout_shipping select",r),t(document.body).on("change","#ship-to-different-address input",o),t(document.body).on("change","textarea[name=order_comments]",n),t(document.body).on("change","input#createaccount",o),t(".et_pb_wc_checkout_shipping").length||t('.woocommerce-error li[data-id^="shipping_"]').hide(),t(".et_pb_wc_checkout_shipping div.shipping_address").hide())})),t(document.body).on("wc_cart_emptied",(function(){e()||t(".et_pb_wc_cart_totals").hide()})),t(".et_pb_wc_checkout_order_details").on("change","input[name^=shipping_method]",(function(){t(document.body).trigger("update_checkout")})),t(".et_pb_wc_checkout_billing select[name^=billing_country], .et_pb_wc_checkout_shipping select[name^=shipping_country]").on("change",(function(){t(document.body).trigger("update_checkout")})),t(".et_pb_wc_checkout_billing input[name^=billing_postcode], .et_pb_wc_checkout_shipping input[name^=shipping_postcode]").on("change",(function(){t(document.body).trigger("update_checkout")})),e()||t("body").hasClass("woocommerce-order-received")&&t('.et_pb_row:has(".et_pb_column.et_pb_column_empty")').addClass("et_pb_no_top_bottom_padding")}(t),t((function(t){t.scroll_to_notices=function(e){var n=100;t(".et-fixed-header").length&&(n+=t(".et-fixed-header").height()),e.length&&t("html, body").animate({scrollTop:e.offset().top-n},1e3)}}))}).call(this,n(8))},146:function(t,e,n){var i=n(100);function a(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var i=arguments,a=e?e.apply(this,i):i[0],o=n.cache;if(o.has(a))return o.get(a);var r=t.apply(this,i);return n.cache=o.set(a,r)||o,r};return n.cache=new(a.Cache||i),n}a.Cache=i,t.exports=a},147:function(t,e,n){var i=n(100),a=n(251),o=n(252);function r(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new i;++e<n;)this.add(t[e])}r.prototype.add=r.prototype.push=a,r.prototype.has=o,t.exports=r},148:function(t,e){t.exports=function(t,e){return t.has(e)}},149:function(t,e){t.exports=function(t,e,n,i){for(var a=t.length,o=n+(i?1:-1);i?o--:++o<a;)if(e(t[o],o,t))return o;return-1}},150:function(t,e,n){var i=n(116);t.exports=function(t){return t?(t=i(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},151:function(t,e,n){var i=n(120),a=n(60),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var r=t[e];o.call(t,e)&&a(r,n)&&(void 0!==n||e in t)||i(t,e,n)}},154:function(t,e,n){var i=n(110);t.exports=function(t,e,n){var a=t.length;return n=void 0===n?a:n,!e&&n>=a?t:i(t,e,n)}},155:function(t,e,n){var i=n(344),a=n(156),o=n(345);t.exports=function(t){return a(t)?o(t):i(t)}},156:function(t,e){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return n.test(t)}},162:function(t,e,n){var i=n(203)();t.exports=i},163:function(t,e,n){var i=n(186),a=n(80),o=n(3),r=n(72),s=n(68),c=n(82),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),_=!n&&a(t),d=!n&&!_&&r(t),p=!n&&!_&&!d&&c(t),u=n||_||d||p,f=u?i(t.length,String):[],h=f.length;for(var b in t)!e&&!l.call(t,b)||u&&("length"==b||d&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,h))||f.push(b);return f}},164:function(t,e){t.exports=function(){return[]}},168:function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},169:function(t,e,n){var i=n(43)(n(23),"Set");t.exports=i},170:function(t,e,n){var i=n(43)(n(23),"WeakMap");t.exports=i},171:function(t,e,n){var i=n(226),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,r=i((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(a,(function(t,n,i,a){e.push(i?a.replace(o,"$1"):n||t)})),e}));t.exports=r},172:function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}},173:function(t,e,n){var i=n(23).Uint8Array;t.exports=i},174:function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}},175:function(t,e,n){var i=n(176),a=n(140),o=n(14);t.exports=function(t){return i(t,o,a)}},176:function(t,e,n){var i=n(118),a=n(3);t.exports=function(t,e,n){var o=e(t);return a(t)?o:i(o,n(t))}},177:function(t,e,n){var i=n(12);t.exports=function(t){return t==t&&!i(t)}},178:function(t,e){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},185:function(t,e){t.exports=function(){return!1}},186:function(t,e){t.exports=function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}},187:function(t,e,n){var i=n(188),a=/^\s+/;t.exports=function(t){return t?t.slice(0,i(t)+1).replace(a,""):t}},188:function(t,e){var n=/\s/;t.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},189:function(t,e,n){var i=n(45);t.exports=function(t,e){return i(e,(function(e){return t[e]}))}},201:function(t,e,n){var i=n(35),a=n(221),o=n(12),r=n(138),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,_=c.toString,d=l.hasOwnProperty,p=RegExp("^"+_.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||a(t))&&(i(t)?p:s).test(r(t))}},202:function(t,e,n){var i=n(23)["__core-js_shared__"];t.exports=i},203:function(t,e){t.exports=function(t){return function(e,n,i){for(var a=-1,o=Object(e),r=i(e),s=r.length;s--;){var c=r[t?s:++a];if(!1===n(o[c],c,o))break}return e}}},204:function(t,e,n){var i=n(38);t.exports=function(t,e){return function(n,a){if(null==n)return n;if(!i(n))return t(n,a);for(var o=n.length,r=e?o:-1,s=Object(n);(e?r--:++r<o)&&!1!==a(s[r],r,s););return n}}},205:function(t,e,n){var i=n(73),a=n(80),o=n(3),r=n(68),s=n(97),c=n(52);t.exports=function(t,e,n){for(var l=-1,_=(e=i(e,t)).length,d=!1;++l<_;){var p=c(e[l]);if(!(d=null!=t&&n(t,p)))break;t=t[p]}return d||++l!=_?d:!!(_=null==t?0:t.length)&&s(_)&&r(p,_)&&(o(t)||a(t))}},206:function(t,e,n){var i=n(287),a=n(205);t.exports=function(t,e){return null!=t&&a(t,e,i)}},207:function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},208:function(t,e){t.exports=function(t){return t!=t}},210:function(t,e,n){var i=n(43),a=function(){try{var t=i(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=a},211:function(t,e,n){var i=n(151),a=n(73),o=n(68),r=n(12),s=n(52);t.exports=function(t,e,n,c){if(!r(t))return t;for(var l=-1,_=(e=a(e,t)).length,d=_-1,p=t;null!=p&&++l<_;){var u=s(e[l]),f=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return t;if(l!=d){var h=p[u];void 0===(f=c?c(h,u,p):void 0)&&(f=r(h)?h:o(e[l+1])?[]:{})}i(p,u,f),p=p[u]}return t}},217:function(t,e,n){var i=n(168)(Object.keys,Object);t.exports=i},218:function(t,e,n){var i=n(43)(n(23),"DataView");t.exports=i},219:function(t,e,n){var i=n(59),a=Object.prototype,o=a.hasOwnProperty,r=a.toString,s=i?i.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(t){}var a=r.call(t);return i&&(e?t[s]=n:delete t[s]),a}},220:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},221:function(t,e,n){var i,a=n(202),o=(i=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";t.exports=function(t){return!!o&&o in t}},222:function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},223:function(t,e,n){var i=n(43)(n(23),"Promise");t.exports=i},224:function(t,e,n){var i=n(36),a=n(28);t.exports=function(t){return a(t)&&"[object Arguments]"==i(t)}},225:function(t,e,n){var i=n(36),a=n(97),o=n(28),r={};r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&a(t.length)&&!!r[i(t)]}},226:function(t,e,n){var i=n(146);t.exports=function(t){var e=i(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},227:function(t,e,n){var i=n(228),a=n(76),o=n(96);t.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||a),string:new i}}},228:function(t,e,n){var i=n(229),a=n(230),o=n(231),r=n(232),s=n(233);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=a,c.prototype.get=o,c.prototype.has=r,c.prototype.set=s,t.exports=c},229:function(t,e,n){var i=n(75);t.exports=function(){this.__data__=i?i(null):{},this.size=0}},23:function(t,e,n){var a=n(137),o="object"==("undefined"==typeof self?"undefined":i(self))&&self&&self.Object===Object&&self,r=a||o||Function("return this")();t.exports=r},230:function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},231:function(t,e,n){var i=n(75),a=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(i){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(e,t)?e[t]:void 0}},232:function(t,e,n){var i=n(75),a=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return i?void 0!==e[t]:a.call(e,t)}},233:function(t,e,n){var i=n(75);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this}},234:function(t,e){t.exports=function(){this.__data__=[],this.size=0}},235:function(t,e,n){var i=n(77),a=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=i(e,t);return!(n<0||(n==e.length-1?e.pop():a.call(e,n,1),--this.size,0))}},236:function(t,e,n){var i=n(77);t.exports=function(t){var e=this.__data__,n=i(e,t);return n<0?void 0:e[n][1]}},237:function(t,e,n){var i=n(77);t.exports=function(t){return i(this.__data__,t)>-1}},238:function(t,e,n){var i=n(77);t.exports=function(t,e){var n=this.__data__,a=i(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this}},239:function(t,e,n){var i=n(78);t.exports=function(t){var e=i(this,t).delete(t);return this.size-=e?1:0,e}},240:function(t,e){t.exports=function(t){var e=i(t);return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},241:function(t,e,n){var i=n(78);t.exports=function(t){return i(this,t).get(t)}},242:function(t,e,n){var i=n(78);t.exports=function(t){return i(this,t).has(t)}},243:function(t,e,n){var i=n(78);t.exports=function(t,e){var n=i(this,t),a=n.size;return n.set(t,e),this.size+=n.size==a?0:1,this}},244:function(t,e,n){var i=n(107),a=n(117);t.exports=function(t,e,n,o){var r=n.length,s=r,c=!o;if(null==t)return!s;for(t=Object(t);r--;){var l=n[r];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++r<s;){var _=(l=n[r])[0],d=t[_],p=l[1];if(c&&l[2]){if(void 0===d&&!(_ in t))return!1}else{var u=new i;if(o)var f=o(d,p,_,t,e,u);if(!(void 0===f?a(p,d,3,o,u):f))return!1}}return!0}},245:function(t,e,n){var i=n(76);t.exports=function(){this.__data__=new i,this.size=0}},246:function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},247:function(t,e){t.exports=function(t){return this.__data__.get(t)}},248:function(t,e){t.exports=function(t){return this.__data__.has(t)}},249:function(t,e,n){var i=n(76),a=n(96),o=n(100);t.exports=function(t,e){var n=this.__data__;if(n instanceof i){var r=n.__data__;if(!a||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(r)}return n.set(t,e),this.size=n.size,this}},250:function(t,e,n){var i=n(107),a=n(139),o=n(253),r=n(254),s=n(66),c=n(3),l=n(72),_=n(82),d="[object Arguments]",p="[object Array]",u="[object Object]",f=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,h,b,v){var m=c(t),g=c(e),w=m?p:s(t),y=g?p:s(e),x=(w=w==d?u:w)==u,C=(y=y==d?u:y)==u,k=w==y;if(k&&l(t)){if(!l(e))return!1;m=!0,x=!1}if(k&&!x)return v||(v=new i),m||_(t)?a(t,e,n,h,b,v):o(t,e,w,n,h,b,v);if(!(1&n)){var j=x&&f.call(t,"__wrapped__"),T=C&&f.call(e,"__wrapped__");if(j||T){var O=j?t.value():t,S=T?e.value():e;return v||(v=new i),b(O,S,n,h,v)}}return!!k&&(v||(v=new i),r(t,e,n,h,b,v))}},251:function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},252:function(t,e){t.exports=function(t){return this.__data__.has(t)}},253:function(t,e,n){var i=n(59),a=n(173),o=n(60),r=n(139),s=n(174),c=n(130),l=i?i.prototype:void 0,_=l?l.valueOf:void 0;t.exports=function(t,e,n,i,l,d,p){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!d(new a(t),new a(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var u=s;case"[object Set]":var f=1&i;if(u||(u=c),t.size!=e.size&&!f)return!1;var h=p.get(t);if(h)return h==e;i|=2,p.set(t,e);var b=r(u(t),u(e),i,l,d,p);return p.delete(t),b;case"[object Symbol]":if(_)return _.call(t)==_.call(e)}return!1}},254:function(t,e,n){var i=n(175),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,r,s){var c=1&n,l=i(t),_=l.length;if(_!=i(e).length&&!c)return!1;for(var d=_;d--;){var p=l[d];if(!(c?p in e:a.call(e,p)))return!1}var u=s.get(t),f=s.get(e);if(u&&f)return u==e&&f==t;var h=!0;s.set(t,e),s.set(e,t);for(var b=c;++d<_;){var v=t[p=l[d]],m=e[p];if(o)var g=c?o(m,v,p,e,t,s):o(v,m,p,t,e,s);if(!(void 0===g?v===m||r(v,m,n,o,s):g)){h=!1;break}b||(b="constructor"==p)}if(h&&!b){var w=t.constructor,y=e.constructor;w==y||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof y&&y instanceof y||(h=!1)}return s.delete(t),s.delete(e),h}},255:function(t,e,n){var i=n(177),a=n(14);t.exports=function(t){for(var e=a(t),n=e.length;n--;){var o=e[n],r=t[o];e[n]=[o,r,i(r)]}return e}},256:function(t,e){t.exports=function(t,e,n){for(var i=n-1,a=t.length;++i<a;)if(t[i]===e)return i;return-1}},27:function(t,e,n){var i=n(81);t.exports=function(t){return null==t?"":i(t)}},271:function(t,e,n){var i=n(244),a=n(255),o=n(178);t.exports=function(t){var e=a(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||i(n,t,e)}}},272:function(t,e,n){var i=n(117),a=n(1),o=n(206),r=n(113),s=n(177),c=n(178),l=n(52);t.exports=function(t,e){return r(t)&&s(e)?c(l(t),e):function(n){var r=a(n,t);return void 0===r&&r===e?o(n,t):i(e,r,3)}}},273:function(t,e,n){var i=n(207),a=n(288),o=n(113),r=n(52);t.exports=function(t){return o(t)?i(r(t)):a(t)}},28:function(t,e){t.exports=function(t){return null!=t&&"object"==i(t)}},286:function(t,e,n){var i=n(81),a=n(154),o=n(156),r=n(86),s=n(292),c=n(155),l=n(27);t.exports=function(t,e,n){return n&&"number"!=typeof n&&r(t,e,n)&&(e=n=void 0),(n=void 0===n?4294967295:n>>>0)?(t=l(t))&&("string"==typeof e||null!=e&&!s(e))&&!(e=i(e))&&o(t)?a(c(t),0,n):t.split(e,n):[]}},287:function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},288:function(t,e,n){var i=n(91);t.exports=function(t){return function(e){return i(e,t)}}},292:function(t,e,n){var i=n(346),a=n(74),o=n(98),r=o&&o.isRegExp,s=r?a(r):i;t.exports=s},3:function(t,e){var n=Array.isArray;t.exports=n},309:function(t,e,n){var i=n(85),a=n(38);t.exports=function(t,e){var n=-1,o=a(t)?Array(t.length):[];return i(t,(function(t,i,a){o[++n]=e(t,i,a)})),o}},31:function(t,e,n){var i=n(45),a=n(32),o=n(309),r=n(3);t.exports=function(t,e){return(r(t)?i:o)(t,a(e,3))}},32:function(t,e,n){var a=n(271),o=n(272),r=n(49),s=n(3),c=n(273);t.exports=function(t){return"function"==typeof t?t:null==t?r:"object"==i(t)?s(t)?o(t[0],t[1]):a(t):c(t)}},329:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTemplateEditorIframe=e.getMotionEffectTrackerContainer=e.getEditorWritingFlowSelector=e.getEditorInserterMenuSelector=e.getContentAreaSelectorList=e.getContentAreaSelectorByVersion=e.getContentAreaSelector=void 0;var i=c(n(31)),a=c(n(63)),o=c(n(3)),r=c(n(6)),s=c(n(1));function c(t){return t&&t.__esModule?t:{default:t}}var l=function(){return{5.5:"interface-interface-skeleton__content",5.4:"block-editor-editor-skeleton__content",5.3:"edit-post-layout__content",5.2:"edit-post-layout__content","gutenberg-7.1":"edit-post-editor-regions__content"}};e.getContentAreaSelectorList=l;var _=function t(e,n){if((0,o.default)(e))return(0,i.default)(e,(function(e){return t(e,n)}));var a=n?".":"",r=(0,s.default)({5.5:"interface-interface-skeleton__content",5.4:"block-editor-editor-skeleton__content",5.3:"edit-post-layout__content",5.2:"edit-post-layout__content","gutenberg-7.1":"edit-post-editor-regions__content"},e,"");return"".concat(a).concat(r)};e.getContentAreaSelectorByVersion=_;var d=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?".":"";return n+((0,a.default)(t.document.querySelector(_("5.5",!0)))?(0,a.default)(t.document.querySelector(_("5.4",!0)))?(0,a.default)(t.document.querySelector(_("gutenberg-7.1",!0)))?_("5.2"):_("gutenberg-7.1"):_("5.4"):_("5.5"))};e.getContentAreaSelector=d,e.getEditorWritingFlowSelector=function(){arguments.length>0&&void 0!==arguments[0]||window;var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=t?".":"",n="block-editor-writing-flow";return e+n},e.getEditorInserterMenuSelector=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=d(t,!1),i=e?".":"";return i+((0,r.default)(_(["5.4","5.5"]),n)?"block-editor-inserter__menu":"editor-inserter__menu")},e.getMotionEffectTrackerContainer=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=d(t,!1),i=e?".":"";return i+("block-editor-editor-skeleton__content"===n?"block-editor-writing-flow":n)},e.getTemplateEditorIframe=function(t){return t.jQuery('iframe[name="editor-canvas"]').contents()}},33:function(t,e,n){var i=n(150);t.exports=function(t){var e=i(t),n=e%1;return e==e?n?e-n:e:0}},344:function(t,e){t.exports=function(t){return t.split("")}},345:function(t,e){var n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",a="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",r="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+i+")?",c="[\\ufe0e\\ufe0f]?",l=c+s+"(?:\\u200d(?:"+[a,o,r].join("|")+")"+c+s+")*",_="(?:"+[a+n+"?",n,o,r,"[\\ud800-\\udfff]"].join("|")+")",d=RegExp(i+"(?="+i+")|"+_+l,"g");t.exports=function(t){return t.match(d)||[]}},346:function(t,e,n){var i=n(36),a=n(28);t.exports=function(t){return a(t)&&"[object RegExp]"==i(t)}},35:function(t,e,n){var i=n(36),a=n(12);t.exports=function(t){if(!a(t))return!1;var e=i(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},354:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setImportantInlineValue=e.registerFrontendComponent=e.maybeIncreaseEmitterMaxListeners=e.maybeDecreaseEmitterMaxListeners=e.isVB=e.isTB=e.isLBP=e.isLBB=e.isFE=e.isExtraTheme=e.isDiviTheme=e.isBuilderType=e.isBuilder=e.isBlockEditor=e.isBFB=e.is=e.getOffsets=e.getBuilderUtilsParams=e.getBuilderType=void 0;var a=c(n(6)),o=c(n(1)),r=c(n(8)),s=n(355);function c(t){return t&&t.__esModule?t:{default:t}}function l(t){return(l="function"==typeof Symbol&&"symbol"==i(Symbol.iterator)?function(t){return i(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":i(t)})(t)}var _=function(){return window.et_builder_utils_params?window.et_builder_utils_params:s.top_window.et_builder_utils_params?s.top_window.et_builder_utils_params:{}};e.getBuilderUtilsParams=_;var d=function(){return(0,o.default)(_(),"builderType","")};e.getBuilderType=d;var p=function(t){return t===d()};e.isBuilderType=p;var u=function(t){return(0,o.default)(_(),"condition.".concat(t))};e.is=u;var f=p("fe");e.isFE=f;var h=p("vb");e.isVB=h;var b=p("bfb");e.isBFB=b;var v=p("tb");e.isTB=v;var m=p("lbb");e.isLBB=m;var g=u("diviTheme");e.isDiviTheme=g;var w=u("extraTheme");e.isExtraTheme=w;var y=p("lbp");e.isLBP=y;var x=0<(0,r.default)(s.top_window.document).find(".edit-post-layout__content").length;e.isBlockEditor=x;var C=(0,a.default)(["vb","bfb","tb","lbb"],d());e.isBuilder=C,e.getOffsets=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=C&&t.hasClass("et_pb_sticky")&&"fixed"!==t.css("position"),a=t.data("et-offsets"),r=t.data("et-offsets-device"),s=(0,o.default)(window.ET_FE,"stores.window.breakpoint","");if(i&&void 0!==a&&r===s)return a;var c=t.offset();if(void 0===c)return{};var l=C?t.children('.et-fb-custom-css-output[data-sticky-has-transform="on"]').length>0:t.hasClass("et_pb_sticky--has-transform"),_=void 0===c.top?0:c.top,d=void 0===c.left?0:c.left;if(l){var p=t.parent().offset(),u={top:c.top-p.top,left:c.left-p.left},f={top:t[0].offsetTop,left:t[0].offsetLeft};_+=f.top-u.top,c.top=_,d+=f.left-u.left,c.left=d}return c.right=d+e,c.bottom=_+n,t.data("et-offsets",c),""!==s&&t.data("et-offsets-device",c),c},e.maybeIncreaseEmitterMaxListeners=function(t,e){var n=t.listenerCount(e),i=t.getMaxListeners();n===i&&t.setMaxListeners(i+1)},e.maybeDecreaseEmitterMaxListeners=function(t,e){var n=t.listenerCount(e);t.getMaxListeners()>10&&t.setMaxListeners(n)},e.registerFrontendComponent=function(t,e,n){void 0===window.ET_FE&&(window.ET_FE={}),"object"!==l(window.ET_FE[t])&&(window.ET_FE[t]={}),window.ET_FE[t][e]=n},e.setImportantInlineValue=function(t,e,n){t.css(e,"");var i=t.attr("style");t.attr("style","".concat(i," ").concat(e,": ").concat(n," !important;"))}},355:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.top_window=e.is_iframe=void 0;var i=window;e.top_window=i;var a,o=!1;e.is_iframe=o;try{a=!!window.top.document&&window.top}catch(t){a=!1}a&&a.__Cypress__?window.parent===a?(e.top_window=i=window,e.is_iframe=o=!1):(e.top_window=i=window.parent,e.is_iframe=o=!0):a&&(e.top_window=i=a,e.is_iframe=o=a!==window.self)},36:function(t,e,n){var i=n(59),a=n(219),o=n(220),r=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":r&&r in Object(t)?a(t):o(t)}},37:function(t,e,n){var i=n(36),a=n(3),o=n(28);t.exports=function(t){return"string"==typeof t||!a(t)&&o(t)&&"[object String]"==i(t)}},38:function(t,e,n){var i=n(35),a=n(97);t.exports=function(t){return null!=t&&a(t.length)&&!i(t)}},43:function(t,e,n){var i=n(201),a=n(222);t.exports=function(t,e){var n=a(t,e);return i(n)?n:void 0}},45:function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,a=Array(i);++n<i;)a[n]=e(t[n],n,t);return a}},49:function(t,e){t.exports=function(t){return t}},52:function(t,e,n){var i=n(54);t.exports=function(t){if("string"==typeof t||i(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},54:function(t,e,n){var a=n(36),o=n(28);t.exports=function(t){return"symbol"==i(t)||o(t)&&"[object Symbol]"==a(t)}},55:function(t,e,n){var i=n(211);t.exports=function(t,e,n){return null==t?t:i(t,e,n)}},59:function(t,e,n){var i=n(23).Symbol;t.exports=i},6:function(t,e,n){var i=n(101),a=n(38),o=n(37),r=n(33),s=n(84),c=Math.max;t.exports=function(t,e,n,l){t=a(t)?t:s(t),n=n&&!l?r(n):0;var _=t.length;return n<0&&(n=c(_+n,0)),o(t)?n<=_&&t.indexOf(e,n)>-1:!!_&&i(t,e,n)>-1}},60:function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},63:function(t,e){t.exports=function(t){return null===t}},66:function(t,e,n){var i=n(218),a=n(96),o=n(223),r=n(169),s=n(170),c=n(36),l=n(138),_="[object Map]",d="[object Promise]",p="[object Set]",u="[object WeakMap]",f="[object DataView]",h=l(i),b=l(a),v=l(o),m=l(r),g=l(s),w=c;(i&&w(new i(new ArrayBuffer(1)))!=f||a&&w(new a)!=_||o&&w(o.resolve())!=d||r&&w(new r)!=p||s&&w(new s)!=u)&&(w=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,i=n?l(n):"";if(i)switch(i){case h:return f;case b:return _;case v:return d;case m:return p;case g:return u}return e}),t.exports=w},68:function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var a=i(t);return!!(e=null==e?9007199254740991:e)&&("number"==a||"symbol"!=a&&n.test(t))&&t>-1&&t%1==0&&t<e}},72:function(t,e,n){(function(t){var a=n(23),o=n(185),r=e&&!e.nodeType&&e,s=r&&"object"==i(t)&&t&&!t.nodeType&&t,c=s&&s.exports===r?a.Buffer:void 0,l=(c?c.isBuffer:void 0)||o;t.exports=l}).call(this,n(95)(t))},73:function(t,e,n){var i=n(3),a=n(113),o=n(171),r=n(27);t.exports=function(t,e){return i(t)?t:a(t,e)?[t]:o(r(t))}},74:function(t,e){t.exports=function(t){return function(e){return t(e)}}},75:function(t,e,n){var i=n(43)(Object,"create");t.exports=i},76:function(t,e,n){var i=n(234),a=n(235),o=n(236),r=n(237),s=n(238);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=a,c.prototype.get=o,c.prototype.has=r,c.prototype.set=s,t.exports=c},77:function(t,e,n){var i=n(60);t.exports=function(t,e){for(var n=t.length;n--;)if(i(t[n][0],e))return n;return-1}},78:function(t,e,n){var i=n(240);t.exports=function(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}},8:function(t,e){t.exports=window.jQuery},80:function(t,e,n){var i=n(224),a=n(28),o=Object.prototype,r=o.hasOwnProperty,s=o.propertyIsEnumerable,c=i(function(){return arguments}())?i:function(t){return a(t)&&r.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},81:function(t,e,n){var i=n(59),a=n(45),o=n(3),r=n(54),s=i?i.prototype:void 0,c=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return a(e,t)+"";if(r(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},82:function(t,e,n){var i=n(225),a=n(74),o=n(98),r=o&&o.isTypedArray,s=r?a(r):i;t.exports=s},84:function(t,e,n){var i=n(189),a=n(14);t.exports=function(t){return null==t?[]:i(t,a(t))}},85:function(t,e,n){var i=n(124),a=n(204)(i);t.exports=a},86:function(t,e,n){var a=n(60),o=n(38),r=n(68),s=n(12);t.exports=function(t,e,n){if(!s(n))return!1;var c=i(e);return!!("number"==c?o(n)&&r(e,n.length):"string"==c&&e in n)&&a(n[e],t)}},88:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==("undefined"==typeof window?"undefined":i(window))&&(n=window)}t.exports=n},89:function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},9:function(t,e,n){var i=n(99),a=n(85),o=n(112),r=n(3);t.exports=function(t,e){return(r(t)?i:a)(t,o(e))}},91:function(t,e,n){var i=n(73),a=n(52);t.exports=function(t,e){for(var n=0,o=(e=i(e,t)).length;null!=t&&n<o;)t=t[a(e[n++])];return n&&n==o?t:void 0}},95:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},96:function(t,e,n){var i=n(43)(n(23),"Map");t.exports=i},97:function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},98:function(t,e,n){(function(t){var a=n(137),o=e&&!e.nodeType&&e,r=o&&"object"==i(t)&&t&&!t.nodeType&&t,s=r&&r.exports===o&&a.process,c=function(){try{return r&&r.require&&r.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c}).call(this,n(95)(t))},99:function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}}}))},function(t,e,n){var i=n(25),a=n(26),o=n(27);t.exports=function(t,e,n){return e==e?o(t,e,n):i(t,a,n)}},function(t,e){t.exports=function(t,e,n,i){for(var a=t.length,o=n+(i?1:-1);i?o--:++o<a;)if(e(t[o],o,t))return o;return-1}},function(t,e){t.exports=function(t){return t!=t}},function(t,e){t.exports=function(t,e,n){for(var i=n-1,a=t.length;++i<a;)if(t[i]===e)return i;return-1}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var i=n(10),a=Object.prototype,o=a.hasOwnProperty,r=a.toString,s=i?i.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(t){}var a=r.call(t);return i&&(e?t[s]=n:delete t[s]),a}},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e,n){var i=n(1),a=n(2),o=n(3);t.exports=function(t){return"string"==typeof t||!a(t)&&o(t)&&"[object String]"==i(t)}},function(t,e,n){var i=n(33);t.exports=function(t){var e=i(t),n=e%1;return e==e?n?e-n:e:0}},function(t,e,n){var i=n(34);t.exports=function(t){return t?(t=i(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},function(t,e,n){var i=n(35),a=n(11),o=n(5),r=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(a(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=a(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=i(t);var n=s.test(t);return n||c.test(t)?l(t.slice(2),n?2:8):r.test(t)?NaN:+t}},function(t,e,n){var i=n(36),a=/^\s+/;t.exports=function(t){return t?t.slice(0,i(t)+1).replace(a,""):t}},function(t,e){var n=/\s/;t.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},function(t,e,n){var i=n(38),a=n(39);t.exports=function(t){return null==t?[]:i(t,a(t))}},function(t,e,n){var i=n(16);t.exports=function(t,e){return i(e,(function(e){return t[e]}))}},function(t,e,n){var i=n(40),a=n(51),o=n(12);t.exports=function(t){return o(t)?i(t):a(t)}},function(t,e,n){var i=n(41),a=n(42),o=n(2),r=n(44),s=n(46),c=n(47),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),_=!n&&a(t),d=!n&&!_&&r(t),p=!n&&!_&&!d&&c(t),u=n||_||d||p,f=u?i(t.length,String):[],h=f.length;for(var b in t)!e&&!l.call(t,b)||u&&("length"==b||d&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,h))||f.push(b);return f}},function(t,e){t.exports=function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}},function(t,e,n){var i=n(43),a=n(3),o=Object.prototype,r=o.hasOwnProperty,s=o.propertyIsEnumerable,c=i(function(){return arguments}())?i:function(t){return a(t)&&r.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},function(t,e,n){var i=n(1),a=n(3);t.exports=function(t){return a(t)&&"[object Arguments]"==i(t)}},function(t,e,n){(function(t){var i=n(4),a=n(45),o=e&&!e.nodeType&&e,r=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=r&&r.exports===o?i.Buffer:void 0,c=(s?s.isBuffer:void 0)||a;t.exports=c}).call(this,n(17)(t))},function(t,e){t.exports=function(){return!1}},function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&n.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e,n){var i=n(48),a=n(49),o=n(50),r=o&&o.isTypedArray,s=r?a(r):i;t.exports=s},function(t,e,n){var i=n(1),a=n(15),o=n(3),r={};r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&a(t.length)&&!!r[i(t)]}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,n){(function(t){var i=n(14),a=e&&!e.nodeType&&e,o=a&&"object"==typeof t&&t&&!t.nodeType&&t,r=o&&o.exports===a&&i.process,s=function(){try{var t=o&&o.require&&o.require("util").types;return t||r&&r.binding&&r.binding("util")}catch(t){}}();t.exports=s}).call(this,n(17)(t))},function(t,e,n){var i=n(52),a=n(53),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return a(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e,n){var i=n(54)(Object.keys,Object);t.exports=i},function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t,e,n){var i=n(56),a=n(89);t.exports=function(t,e){for(var n=0,o=(e=i(e,t)).length;null!=t&&n<o;)t=t[a(e[n++])];return n&&n==o?t:void 0}},function(t,e,n){var i=n(2),a=n(57),o=n(58),r=n(87);t.exports=function(t,e){return i(t)?t:a(t,e)?[t]:o(r(t))}},function(t,e,n){var i=n(2),a=n(5),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;t.exports=function(t,e){if(i(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!a(t))||(r.test(t)||!o.test(t)||null!=e&&t in Object(e))}},function(t,e,n){var i=n(59),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,r=i((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(a,(function(t,n,i,a){e.push(i?a.replace(o,"$1"):n||t)})),e}));t.exports=r},function(t,e,n){var i=n(60);t.exports=function(t){var e=i(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},function(t,e,n){var i=n(61);function a(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,a=e?e.apply(this,i):i[0],o=n.cache;if(o.has(a))return o.get(a);var r=t.apply(this,i);return n.cache=o.set(a,r)||o,r};return n.cache=new(a.Cache||i),n}a.Cache=i,t.exports=a},function(t,e,n){var i=n(62),a=n(82),o=n(84),r=n(85),s=n(86);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=a,c.prototype.get=o,c.prototype.has=r,c.prototype.set=s,t.exports=c},function(t,e,n){var i=n(63),a=n(74),o=n(81);t.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||a),string:new i}}},function(t,e,n){var i=n(64),a=n(70),o=n(71),r=n(72),s=n(73);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=a,c.prototype.get=o,c.prototype.has=r,c.prototype.set=s,t.exports=c},function(t,e,n){var i=n(6);t.exports=function(){this.__data__=i?i(null):{},this.size=0}},function(t,e,n){var i=n(13),a=n(66),o=n(11),r=n(68),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,_=c.toString,d=l.hasOwnProperty,p=RegExp("^"+_.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||a(t))&&(i(t)?p:s).test(r(t))}},function(t,e,n){var i,a=n(67),o=(i=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";t.exports=function(t){return!!o&&o in t}},function(t,e,n){var i=n(4)["__core-js_shared__"];t.exports=i},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,n){var i=n(6),a=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(i){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(e,t)?e[t]:void 0}},function(t,e,n){var i=n(6),a=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return i?void 0!==e[t]:a.call(e,t)}},function(t,e,n){var i=n(6);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this}},function(t,e,n){var i=n(75),a=n(76),o=n(78),r=n(79),s=n(80);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=a,c.prototype.get=o,c.prototype.has=r,c.prototype.set=s,t.exports=c},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,n){var i=n(7),a=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=i(e,t);return!(n<0)&&(n==e.length-1?e.pop():a.call(e,n,1),--this.size,!0)}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,n){var i=n(7);t.exports=function(t){var e=this.__data__,n=i(e,t);return n<0?void 0:e[n][1]}},function(t,e,n){var i=n(7);t.exports=function(t){return i(this.__data__,t)>-1}},function(t,e,n){var i=n(7);t.exports=function(t,e){var n=this.__data__,a=i(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this}},function(t,e,n){var i=n(18)(n(4),"Map");t.exports=i},function(t,e,n){var i=n(8);t.exports=function(t){var e=i(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,n){var i=n(8);t.exports=function(t){return i(this,t).get(t)}},function(t,e,n){var i=n(8);t.exports=function(t){return i(this,t).has(t)}},function(t,e,n){var i=n(8);t.exports=function(t,e){var n=i(this,t),a=n.size;return n.set(t,e),this.size+=n.size==a?0:1,this}},function(t,e,n){var i=n(88);t.exports=function(t){return null==t?"":i(t)}},function(t,e,n){var i=n(10),a=n(16),o=n(2),r=n(5),s=i?i.prototype:void 0,c=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return a(e,t)+"";if(r(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},function(t,e,n){var i=n(5);t.exports=function(t){if("string"==typeof t||i(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},,,,,,function(t,e,n){"use strict";n.r(e);n(21),n(22),n(23);var i=n(19),a=n.n(i),o=n(9),r=n.n(o),s=n(20),c=n.n(s),l=n(0);var _=function(){return window.et_builder_utils_params?window.et_builder_utils_params:l.a.et_builder_utils_params?l.a.et_builder_utils_params:{}},d=function(){return r()(_(),"builderType","")},p=function(t){return t===d()},u=function(t){return r()(_(),"condition.".concat(t))},f=(p("fe"),p("vb"),p("bfb"),p("tb"),p("lbb"),u("diviTheme"),u("extraTheme"),p("lbp"),c()(l.a.document).find(".edit-post-layout__content").length,a()(["vb","bfb","tb","lbb"],d()));!function(t){window.et_calculating_scroll_position=!1,window.et_side_nav_links_initialized=!1;var e=f?ET_Builder.Frames.top:window,n={};function i(){return n.et_get_first_section?n.et_get_first_section:n.et_get_first_section=t(".et-l:not(.et-l--footer) .et_pb_section:visible").first()}var a="ontouchstart"in window||navigator.maxTouchPoints,o=t(window),r=t("#main-content .container:first-child");function s(t,e,n){var i,a,o,r,s,c=Date.now||(new Date).getTime(),l=function l(){var _=c-r;_<e&&_>=0?i=setTimeout(l,e-_):(i=null,n||(s=t.apply(o,a),i||(o=a=null)))};return function(){o=this,a=arguments,r=c;var _=n&&!i;return i||(i=setTimeout(l,e)),_&&(s=t.apply(o,a),o=a=null),s}}function c(e){var n,i=t("body"),a=t("#logo"),o=parseInt(a.attr("data-actual-width")),r=parseInt(a.attr("data-actual-height")),s=parseInt(a.attr("data-height-percentage")),c=t("#et-top-navigation"),l=parseInt(c.attr("data-height")),_=parseInt(c.attr("data-fixed-height")),d=t("#main-header"),p=i.hasClass("et_header_style_split"),u=d.hasClass("et-fixed-header"),f=i.hasClass("et_hide_primary_logo"),h=i.hasClass("et_hide_fixed_logo"),b=u?l:_;e=void 0!==e&&e,p&&!window.et_is_vertical_nav&&(e&&(b=l),n=o*((b*(s/100)+22)/r),f&&(u||e)&&(n=0),!h||u||e||(n=0),t(".et_header_style_split .centered-inline-logo-wrap").css({width:n+"px"}))}function l(e){var n=t(".et_header_style_slide .et_slide_in_menu_container"),i=t(".et_header_style_slide #page-container, .et_header_style_slide.et_fixed_nav #main-header"),a=t(".et_header_style_slide #main-header"),o=n.hasClass("et_pb_slide_menu_opened"),r=void 0!==e?e:"auto",s=t("body").hasClass("et_boxed_layout"),c=s?parseFloat(t("#page-container").css("margin-left")):0,l=n.innerWidth(),_=t("body").hasClass("rtl");"auto"!==r&&(o&&"open"===r||!o&&"close"===r)||(o?(_?(n.css({left:"-"+l+"px"}),i.css({right:"0px"})):(n.css({right:"-"+l+"px"}),i.css({left:"0px"})),s&&et_is_fixed_nav&&(_?a.css({right:c+"px"}):a.css({left:c+"px"})),setTimeout((function(){n.css({display:"none"})}),700)):(n.css({display:"block"}),setTimeout((function(){if(_?(n.css({left:"0px"}),i.css({right:"-"+(l-c)+"px"})):(n.css({right:"0px"}),i.css({left:"-"+(l-c)+"px"})),s&&et_is_fixed_nav){var t=0>l-2*c?Math.abs(l-2*c):"-"+(l-2*c);t<l&&(_?a.css({right:t+"px"}):a.css({left:t+"px"}))}}),50)),t("body").toggleClass("et_pb_slide_menu_active"),n.toggleClass("et_pb_slide_menu_opened"))}function _(){if(et_is_fixed_nav&&!(980>=parseInt(o.width()))){var e=parseInt(t("#main-header").length?t("#main-header").innerHeight():0);t("html, body").animate({scrollTop:t("form.checkout").offset().top-100-e},1e3)}}function d(){var e=t(".et_header_style_fullscreen .et_slide_in_menu_container"),n=e.find(".et_slide_menu_top").innerHeight();e.toggleClass("et_pb_fullscreen_menu_opened"),t("body").toggleClass("et_pb_fullscreen_menu_active"),p(),e.hasClass("et_pb_fullscreen_menu_opened")?(e.addClass("et_pb_fullscreen_menu_animated"),e.css({"padding-top":n+20+"px"})):setTimeout((function(){e.removeClass("et_pb_fullscreen_menu_animated")}),1e3)}function p(t){if(f){var n=jQuery(".et_header_style_fullscreen .et_slide_in_menu_container.et_pb_fullscreen_menu_opened");if(n.length>0){var i=jQuery(e).height();i-=parseInt(n.css("padding-top"),10),n.closest(".admin-bar").length>0&&(i-=32),n.find(".et_pb_fullscreen_nav_container").css("max-height",i+"px")}}}if(document.addEventListener("DOMContentLoaded",(function(){var n,a=t("body").hasClass("et_fixed_nav")||t("body").hasClass("et_vertical_fixed"),l=t("body").hasClass("et_vertical_fixed"),_=t("body").hasClass("rtl"),u=t("body").hasClass("et_hide_nav"),h=t("body").hasClass("et_header_style_left"),b=t("#top-header"),v=t("#main-header"),m=t("#page-container"),g=t("body.single"),w=!1,y=0,x=t("#et-top-navigation"),C=t("#logo"),k=t("ul.nav, ul.menu"),j=t(".container"),T=t("body").hasClass("et_is_customize_preview"),O=t("#et-secondary-menu a.et-cart-info");if(t(".woocommerce .woocommerce-product-gallery").length>0){var S=t(".woocommerce-product-gallery")[0],P=S.outerHTML.replace("data-columns","data-cols");S.outerHTML=P}function z(){var e=t("#main-header > .container > .logo_container"),n=t(".centered-inline-logo-wrap > .logo_container"),i=x.children("nav").children("ul").children("li").length,a=Math.round(i/2)-1,r=window.innerWidth||o.width();r>980&&e.length&&t("body").hasClass("et_header_style_split")&&(t('<li class="centered-inline-logo-wrap"></li>').insertAfter(x.find("nav > ul >li:nth("+a+")")),e.appendTo(x.find(".centered-inline-logo-wrap"))),r<=980&&n.length&&(n.prependTo("#main-header > .container"),t("#main-header .centered-inline-logo-wrap").remove())}function I(){var e=t("body");if(e.hasClass("et_boxed_layout")&&e.hasClass("et_vertical_fixed")&&e.hasClass("et_vertical_right")){var n=parseFloat(t("#page-container").css("margin-right"));n=0>(n+=parseFloat(t("#et-main-area").css("margin-right"))-225)?0:n,t("#main-header").addClass("et_vertical_menu_set").css({left:"",right:n+"px"})}}O.length>0&&t(".shop_table.cart").length>0&&t(document.body).on("updated_wc_div",(function(){var e,n=0;t(".shop_table.cart").find(".product-quantity input").each((function(){n+=parseInt(t(this).val())})),e=(e=1===n?DIVI.item_count:DIVI.items_count).replace("%d",n),O.find("span").text(e)})),window.et_pb_init_nav_menu(k),(t(".et_header_style_split").length&&!window.et_is_vertical_nav||T)&&(z(),t(window).on("resize",(function(){z()}))),window.et_is_vertical_nav&&(t("#main-header").height()<t("#et-top-navigation").height()&&t("#main-header").height(t("#et-top-navigation").height()+t("#logo").height()+100),I()),window.et_calculate_header_values=function(){var e=b.length&&b.is(":visible")?parseInt(b.innerHeight()):0,i=t("#wpadminbar").length?parseInt(t("#wpadminbar").innerHeight()):0,a=t(".et_header_style_slide .et_slide_in_menu_container"),o=t("body").hasClass("rtl");if(y=parseInt(t("#main-header").length?t("#main-header").innerHeight():0)+e,n=(y<=90?y-29:y-56)+i,a.length&&!t("body").hasClass("et_pb_slide_menu_active")&&(o?a.css({left:"-"+parseInt(a.innerWidth())+"px",display:"none"}):a.css({right:"-"+parseInt(a.innerWidth())+"px",display:"none"}),t("body").hasClass("et_boxed_layout")))if(o){var r=m.css("margin-right");v.css({right:r})}else{r=m.css("margin-left");v.css({left:r})}};var A=t("#commentform");if(et_pb_form_placeholders_init(A),A.on("submit",(function(){et_pb_remove_placeholder_text(A)})),et_duplicate_menu(t("#et-top-navigation ul.nav"),t("#et-top-navigation .mobile_nav"),"mobile_menu","et_mobile_menu"),et_duplicate_menu("",t(".et_pb_fullscreen_nav_container"),"mobile_menu_slide","et_mobile_menu","no_click_event"),t("ul.et_disable_top_tier").length){var E=t("ul.et_disable_top_tier > li > ul").prev("a");E.attr("href","#"),E.on("click",(function(t){t.preventDefault()}));var B=t("ul#mobile_menu > li > ul").prev("a");B.attr("href","#"),B.on("click",(function(t){t.preventDefault()}))}if(t("#et-secondary-nav").length&&t("#et-top-navigation #mobile_menu").append(t("#et-secondary-nav").clone().html()),t(".et_slide_in_menu_container").length){var M=t(".et_slide_in_menu_container").find(".menu-item-has-children > a");M.length&&M.append('<span class="et_mobile_menu_arrow"></span>')}function H(n){setTimeout((function(){var n=0,i=t("body"),a=f?e.jQuery("#wpadminbar"):t("#wpadminbar"),o=e.jQuery("html"),r=t("#top-header"),s=o.is(".et-fb-preview--zoom:not(.et-fb-preview--desktop)");if(s=(s=s||o.is(".et-fb-preview--tablet"))||o.is(".et-fb-preview--phone"),a.length&&!Number.isNaN(a.innerHeight())){var c=parseFloat(a.innerHeight());n+=f&&s?0:c}r.length&&r.is(":visible")&&(n+=r.innerHeight());var l=i.hasClass("et_fixed_nav"),_=!l&&i.hasClass("et_transparent_nav")&&i.hasClass("et_secondary_nav_enabled");window.et_is_vertical_nav||!l&&!_||t("#main-header").css("top",n+"px")}),n)}function F(){var e=t("body"),n=t(document).height(),i=t(window).height()+y+200;e.hasClass("et_vertical_nav")||(e.hasClass("et_hide_nav")||e.hasClass("et_hide_nav_disabled")&&e.hasClass("et_fixed_nav"))&&(n>i?(e.hasClass("et_hide_nav_disabled")&&(e.addClass("et_hide_nav"),e.removeClass("et_hide_nav_disabled")),t("#main-header").css("transform","translateY(-"+y+"px)"),t("#top-header").css("transform","translateY(-"+y+"px)")):(t("#main-header").css({transform:"translateY(0)",opacity:"1"}),t("#top-header").css({transform:"translateY(0)",opacity:"1"}),e.removeClass("et_hide_nav"),e.addClass("et_hide_nav_disabled")),W())}function L(t,e){var n={};n[e]=t.css(e),t.attr({"data-fix-page-container":"on"}).data({fix_page_container_style:n})}function D(t,e){if(void 0===t)return!1;var n=t.split("|");return void 0!==n[e]&&n[e]}function W(){var e,n,s=parseInt(o.width()),c=b.length&&b.is(":visible")?parseInt(b.innerHeight()):0,l=0,_=v.clone().addClass("et-disabled-animations main-header-clone").css({opacity:"0px",position:"fixed",top:"auto",right:"0px",bottom:"0px",left:"0px"}).appendTo(t("body"));if(t("body").hasClass("et-bfb")||t('*[data-fix-page-container="on"]').each((function(){var e=t(this),n=e.data();n&&n.fix_page_container_style&&e.css(n.fix_page_container_style)})),s>980&&(!v.attr("data-height-loaded")||t("body").is(".et-fb"))){var d=0;v.hasClass("et-fixed-header")?(_.removeClass("et-fixed-header"),d=_.height(),_.addClass("et-fixed-header")):d=v.height(),v.attr({"data-height-onload":parseInt(d),"data-height-loaded":!0})}if(s<=980?(e=parseInt(v.length?v.innerHeight():0)+c-(t("body").hasClass("et-fb")?0:1),window.et_is_transparent_nav&&!i().length&&(e+=58)):(e=parseInt(v.attr("data-height-onload"))+c,window.et_is_transparent_nav&&!window.et_is_vertical_nav&&r.length&&(e+=58),l=_.height()),u){var p=parseInt(x.data("height"))-parseInt(x.data("fixed-height"));l=parseInt(v.data("height-onload"))-p}v.attr({"data-fixed-height-onload":l});var f=t(".et_fixed_nav.et_transparent_nav.et-db.et_full_width_page #left-area > .woocommerce-notices-wrapper");if(f.length>0&&"yes"!==f.attr("data-position-set")){var h=l;0===h&&v.attr("data-height-onload")&&(h=v.attr("data-height-onload")),f.css("marginTop",parseFloat(h)+"px"),f.animate({opacity:"1"}),f.attr("data-position-set","yes")}var w=t(document).height(),C=t(window).height()+y+200>w,k=parseInt(t(window).width())>980&&u;if(!window.et_is_transparent_nav||window.et_is_vertical_nav||k&&!C)a&&m.css("paddingTop",e+"px");else{t("body").hasClass("et-bfb")||i().addClass("et_pb_section_first");var j=i().length,T=j&&g.length,O=r.find(".et_post_meta_wrapper").first(),S=O.find("h1.entry-title"),P=t(".single.et_pb_pagebuilder_layout.et_full_width_page"),z=P.length&&S.length,I=P.length&&0===S.length,A=T&&t(".et-l--body").length,E=i().is(".et_pb_fullwidth_section"),B=s<=980&&r.length,M=t("body").hasClass("single-project");if(A||!T||I&&E||M)if(E){var F=i().children(".et_pb_module:visible").first();if(I&&E&&s>980&&(e-=58),F.is(".et_pb_slider")){var W=F.find(".et_pb_slide_image"),q=F.find(".et_pb_slide"),N=F.find(".et_pb_slide .et_pb_container"),$=0-parseInt(W.height())/2,V=F.find(".et-pb-slider-arrows a"),R=V.height();L(q,"paddingTop"),q.css({paddingTop:e+"px"}),N.css({"min-height":""}),L(W,"marginTop"),W.css({marginTop:$+"px"}),L(V,"marginTop"),V.css({marginTop:e/2-R/2+"px"});var Q=0;F.find(".et_pb_slide").each((function(){var e=t(this),n=e.find(".et_pb_container");e.show(),n.css({"min-height":""});var i=n.innerHeight();Q<i&&(Q=i),e.is(':not(".et-pb-active-slide")')&&e.hide()})),L(N,"min-height"),N.css({"min-height":Q+"px"})}else if(F.is(".et_pb_fullwidth_header")){F.removeAttr("style");var U=parseInt(F.css("paddingTop"));L(F,"paddingTop"),F.css({paddingTop:e+U+"px"})}else if(F.is(".et_pb_fullwidth_portfolio"))L(F,"paddingTop"),F.css({paddingTop:e+"px"});else if(F.is(".et_pb_map_container")){var Z=F.find(".et_pb_map");Z.css({height:""}),F.find(".et_pb_map").css({height:e+parseInt(Z.css("height"))+"px"}),F.addClass("et_beneath_transparent_nav")}else if(F.is(".et_pb_menu")||F.is(".et_pb_fullwidth_menu"))L(F,"marginTop"),F.css({marginTop:e+"px"});else if(F.is(".et_pb_fullwidth_code")){var Y=F;Y.css({paddingTop:""});var G=parseInt(Y.css("paddingTop"));L(Y,"paddingTop"),Y.css({paddingTop:e+G+"px"})}else if(F.is(".et_pb_post_title")){L(F,"paddingTop"),F.css({paddingTop:e+50+"px"})}else F.length||(n=parseFloat(i().css("paddingTop")),L(i(),"paddingTop"),i().data("is_hide_nav")||i().css({paddingTop:n+e+"px"}),clearTimeout(window.et_fallback_transparent_adjustment_timeout),window.et_fallback_transparent_adjustment_timeout=setTimeout((function(){var a=t("body").hasClass("et_hide_nav")&&"matrix(1, 0, 0, 1, 0, 0)"!==t("#main-header").css("transform");a?i().css({paddingTop:""}):i().css({paddingTop:n+e+"px"}),i().data("is_hide_nav",a)}),300))}else if(j){i().css({paddingTop:""});var X,J=D(i().attr("data-padding"),0),K=D(i().attr("data-padding-tablet"),0),tt=D(i().attr("data-padding-phone"),0);J||K||tt?(s>980&&J?i().css({paddingTop:"number"==typeof J?J+"px":J}):s>767&&K?i().css({paddingTop:"number"==typeof K?K+"px":K}):tt&&i().css({paddingTop:"number"==typeof tt?tt+"px":tt}),X=parseInt(i().css("paddingTop")),i().css({paddingTop:e+X+"px"})):(n=e+parseInt(i().css("paddingTop")),L(i(),"paddingTop"),i().css({paddingTop:n+"px"}))}else B?r.css({paddingTop:e+"px"}):t("#main-content .container:first-child").css({paddingTop:e+"px"});else r.css({paddingTop:""}),s<980&&(e+=40),E&&i().css({paddingTop:"0px"}),z?O.css({paddingTop:e+"px"}):I?(L(i(),"paddingTop"),i().css({paddingTop:""}),i().css({paddingTop:"calc("+(e-58)+"px + "+i().css("paddingTop")+")"})):(L(r,"paddingTop"),r.css({paddingTop:e+"px"}));t("#et_fix_page_container_position").length||t("<style />",{id:"et_fix_page_container_position",text:"#page-container{ padding-top: 0 !important;}"}).appendTo("head");var et=t(".et_pb_section:visible").first(),nt=et.find(".et_pb_row:visible").first(),it=et.find(".et_pb_module:visible").first(),at=et.hasClass("et_pb_section_parallax"),ot=nt.hasClass("et_pb_section_parallax"),rt=it.hasClass("et_pb_section_parallax");(at||ot||rt)&&t(window).trigger("resize.etTrueParallaxBackground")}_.remove(),H(0),t(document).trigger("et-pb-header-height-calculated")}window.et_change_primary_nav_position=H,window.et_fix_page_container_position=W,j.data("previous-width",parseInt(j.width()));var q=s((function(){W(),"function"==typeof et_fix_fullscreen_section&&et_fix_fullscreen_section()}),200);function N(){if(a&&et_calculate_header_values(),setTimeout((function(){W()}),0),window.et_is_minified_js&&window.et_is_transparent_nav&&!window.et_is_vertical_nav&&t(window).trigger("resize"),window.hasOwnProperty("et_location_hash")&&""!==window.et_location_hash&&function(){var e=window.et_location_hash.replace(/(\|)/g,"\\$1");if(0!==t(e).length){var n=t(e+" .et_pb_map_container"),i=n.children(".et_pb_map"),a=t(e);void 0!==window.et_location_hash_style&&a.css("display",window.et_location_hash_style);var o=(void 0!==a.offset().top?a.offset().top:0)>4e3?1600:800;n.length&&google.maps.event.trigger(i[0],"resize"),a.parents().hasClass("commentlist")&&t(".reviews_tab").trigger("click").animate({scrollTop:a.offset().top},700),setTimeout((function(){et_pb_smooth_scroll(a,!1,o,"swing"),setTimeout((function(){et_pb_smooth_scroll(a,!1,150,"linear")}),o+25)}),700)}}(),h&&!window.et_is_vertical_nav){var e=parseInt(t("#logo").width());_?x.css("padding-right",e+30+"px"):x.css("padding-left",e+30+"px")}if(t("p.demo_store").length&&t("p.demo_store").is(":visible")&&(t("#footer-bottom").css("margin-bottom",t("p.demo_store").innerHeight()+"px"),t(".woocommerce-store-notice__dismiss-link").on("click",(function(){t("#footer-bottom").css("margin-bottom","")}))),t.fn.waypoint){var s;if(l&&(s=t("#main-content")).waypoint({handler:function(e){c(),"down"===e?t("#main-header").addClass("et-fixed-header"):t("#main-header").removeClass("et-fixed-header")}}),a){var d=(i().length>0?i().offset().top:0)<=(t("#wpadminbar").length?t("#wpadminbar").height():0);d&&window.et_is_transparent_nav&&!window.et_is_vertical_nav&&i().length?(s=i().is(".et_pb_fullwidth_section")?i().children(".et_pb_module:visible").first():i().find(".et_pb_row:visible").first()).length||(s=t(".et-l .et_pb_module:visible").first()):s=d&&window.et_is_transparent_nav&&!window.et_is_vertical_nav&&r.length?t("#content-area"):t("#main-content");var p=!0;setTimeout((function(){p=!1}),0),s.waypoint({offset:function(){if(w&&(setTimeout((function(){et_calculate_header_values()}),200),w=!1),u)return n-y-200;var t=s.offset();return t.top<n&&(n=0-(n-t.top)),n},handler:function(e){if(c(),"down"===e){if(p&&0===o.scrollTop())return;if(v.addClass("et-fixed-header"),m.addClass("et-animated-content"),b.addClass("et-fixed-header"),!u&&!window.et_is_transparent_nav&&!t(".mobile_menu_bar_toggle").is(":visible")){var n,i,a,r=b.length?parseInt(b.height()):0;n=v.clone().addClass("et-fixed-header, et_header_clone").css({transition:"none",display:"none"}),i=parseInt(n.prependTo("body").height()),window.et_is_vertical_nav||(a=parseInt(m.css("padding-top"))-i-r+1,m.css("margin-top",-a+"px")),t(".et_header_clone").remove()}}else a=1,v.removeClass("et-fixed-header"),b.removeClass("et-fixed-header"),m.css("margin-top",-a+"px");window.dispatchEvent(new CustomEvent("ETDiviFixedHeaderTransitionStart",{detail:{marginTop:-a}})),setTimeout((function(){Z(),window.dispatchEvent(new CustomEvent("ETDiviFixedHeaderTransitionEnd",{detail:{marginTop:-a}}))}),400)}})}u&&F()}}t(window).on("resize",(function(){var n,i,r=parseInt(o.width()),s=j.length>0,c=s&&parseInt(j.data("previous-width"))||0,l=j.css("width"),_=void 0!==l?"%"!==l.substr(-1,1):"",d=s?_?parseInt(j.width()):parseInt((parseInt(j.width())/100).toFixed(0))*r:0,p=j.length&&c!==d,h=t(".et_slide_in_menu_container"),b=f?e.jQuery("#wpadminbar"):t("#wpadminbar"),g=t("body").hasClass("rtl");(a&&p&&(q(),j.data("previous-width",d)),u&&F(),(b.length&&a&&r>=740&&r<=782||f)&&(et_calculate_header_values(),H(0)),Z(),h.length&&!t("body").hasClass("et_pb_slide_menu_active")&&(g?h.css({left:"-"+parseInt(h.innerWidth())+"px",right:"unset"}):h.css({right:"-"+parseInt(h.innerWidth())+"px"}),t("body").hasClass("et_boxed_layout")&&a&&(g?(n=m.css("margin-right"),v.css({right:n})):(n=m.css("margin-left"),v.css({left:n})))),h.length&&t("body").hasClass("et_pb_slide_menu_active"))&&(t("body").hasClass("et_boxed_layout")?(n=parseFloat(m.css("margin-left")),m.css({left:"-"+(parseInt(h.innerWidth())-n)+"px"}),a&&(i=0>parseInt(h.innerWidth())-2*n?Math.abs(h.innerWidth()-2*n):"-"+(h.innerWidth()-2*n))<parseInt(h.innerWidth())&&v.css({left:i+"px"})):g?t("#page-container, .et_fixed_nav #main-header").css({right:"-"+parseInt(h.innerWidth())+"px"}):t("#page-container, .et_fixed_nav #main-header").css({left:"-"+parseInt(h.innerWidth())+"px"}));if(h.length&&t("body").hasClass("et_header_style_fullscreen")){var w=parseInt(h.find(".et_slide_menu_top").innerHeight());h.css({"padding-top":w+20+"px"})}I()})),f&&jQuery(".et_header_style_fullscreen .et_slide_in_menu_container").length>0&&jQuery(window).on("resize",p),t((function(){t.fn.fitVids&&t("#main-content").fitVids({customSelector:"iframe[src^='http://www.hulu.com'], iframe[src^='http://www.dailymotion.com'], iframe[src^='http://www.funnyordie.com'], iframe[src^='https://embed-ssl.ted.com'], iframe[src^='http://embed.revision3.com'], iframe[src^='https://flickr.com'], iframe[src^='http://blip.tv'], iframe[src^='http://www.collegehumor.com']"})})),t('a[href*="#"]:not([href="#"]), .mobile_nav').on("click",(function(e){var n=t(this),i=n.closest(".et_smooth_scroll_disabled").length,a=n.closest(".woocommerce-tabs").length&&n.closest(".tabs").length,o=n.closest(".tt_tabs_navigation").length,r=n.closest(".eab-shortcode_calendar-navigation-link").length,s=n.closest(".view-cart-lnk").length,c=n.hasClass("acomment-reply"),l=n.hasClass("woocommerce-review-link"),_=i||s||a||r||c||l||o;if((n.hasClass("mobile_nav")||location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname)&&!_){var p=t(this.hash);if(n.hasClass("mobile_nav")&&(p=t("#"+e.target.hash.slice(1)),t(e.target).parent().hasClass("pum-trigger"))){e.preventDefault();var u=t(e.target).parent().attr("class").split(" ").filter((function(t){return t.includes("popmake")}))[0].split("-")[1];t("#pum-".concat(u)).css({opacity:"1",display:"block"}),t("#popmake-".concat(u)).css({opacity:"1",display:"block"})}if(!p.length&&this.hash&&(p=t("[name="+this.hash.slice(1)+"]")),p.length)return t(this).parents().hasClass("widget_recent_reviews")&&t(".reviews_tab").trigger("click").animate({scrollTop:p.offset().top},700),n.closest(".et_pb_fullscreen_menu_opened").length>0&&d(),setTimeout((function(){et_pb_smooth_scroll(p,!1,800)}),0),!t("#main-header").hasClass("et-fixed-header")&&t("body").hasClass("et_fixed_nav")&&t(window).width()>980&&setTimeout((function(){et_pb_smooth_scroll(p,!1,40,"linear")}),780),!1}}));var $,V,R,Q=function(){var e,n=t(".et-l--post"),i=t(".et-l--body .et_pb_section:visible").not(".et-l--post .et_pb_section");return e=f?n.find(".et-fb-post-content > .et_pb_section"):n.find(".et_builder_inner_content > .et_pb_section:visible"),0===i.length||e.length>1?e:i};function U(){t(".et_search_form_container").hasClass("et_pb_is_animating")||(t(".et_menu_container").removeClass("et_pb_menu_hidden et_pb_no_animation").addClass("et_pb_menu_visible"),t(".et_search_form_container").removeClass("et_pb_search_visible et_pb_no_animation").addClass("et_pb_search_form_hidden et_pb_is_animating"),setTimeout((function(){t(".et_menu_container").addClass("et_pb_no_animation"),t(".et_search_form_container").addClass("et_pb_no_animation").removeClass("et_pb_is_animating")}),1e3))}function Z(){var e=t(".et_search_form_container");if(e.hasClass("et_pb_search_visible")){var n=t("body"),i=t("#main-header").innerHeight(),a=t("#top-menu").width(),o=t("#top-menu li a").css("font-size");e.css({height:i+"px"}),e.find("input").css("font-size",o),n.hasClass("et_header_style_left")?e.find("form").css("max-width",a+60+"px"):e.css("max-width",a+60+"px")}}if(window.et_pb_window_side_nav_scroll_init=function(){if(!0!==window.et_calculating_scroll_position&&!1!==window.et_side_nav_links_initialized){var e=Q();window.et_calculating_scroll_position=!0;var n,i=t(".et-l--header").length||t(".et-l--body").length||!t("#main-header").length?0:-90,a=t("body").hasClass("et_fixed_nav")?20:i,o=t("#top-header").length>0?parseInt(t("#top-header").height()):0,r=t("#main-header").length>0?parseInt(t("#main-header").height()):0;t("#wpadminbar").length>0&&parseInt(t(window).width())>600&&(a+=parseInt(t("#wpadminbar").outerHeight())),n=window.et_is_vertical_nav?o+a+60:o+r+a;for(var s=parseInt(t(window).height()),c=parseInt(t(window).scrollTop()),l=s+c===parseInt(t(document).height()),_=t(".side_nav_item a").length-1,d=0;d<=_;d++){var p=e.eq(d),u=void 0===p.offset(),f=t(".side_nav_item a.active").parent().index(),h=null,b=!1===u?p.offset().top-n:0;u?h=0:l?h=_:c>=b&&(h=d),null!==h&&h!==f&&(t(".side_nav_item a").removeClass("active"),t("a#side_nav_item_id_"+h).addClass("active"))}window.et_calculating_scroll_position=!1}},window.et_pb_side_nav_page_init=function(e){if(t(".et_pb_side_nav_page").length){var n=Q(),i=n.length,a=parseInt((20*i+40)/2);window.et_side_nav_links_initialized=!1,window.et_calculating_scroll_position=!1,i>1&&t(".et_pb_side_nav_page").length&&(e?t(".et_pb_side_nav").empty():t("#main-content").append('<ul class="et_pb_side_nav"></ul>'),n.each((function(e,n){var a=0===e?"active":"";t(".et_pb_side_nav").append('<li class="side_nav_item"><a href="#" id="side_nav_item_id_'+e+'" class="'+a+'">'+e+"</a></li>"),i-1===e&&(window.et_side_nav_links_initialized=!0)})),t("ul.et_pb_side_nav").css("marginTop","-"+a+"px"),t(".et_pb_side_nav").addClass("et-visible"),t(".et_pb_side_nav a").on("click",(function(){var e=parseInt(t(this).text()),i=n.eq(e),a="0"==t(this).text()&&!t(".et-l--body").length;return et_pb_smooth_scroll(i,a,800),!t("#main-header").hasClass("et-fixed-header")&&t("body").hasClass("et_fixed_nav")&&parseInt(t(window).width())>980&&setTimeout((function(){et_pb_smooth_scroll(i,a,200)}),500),!1})),t(window).on("scroll",et_pb_window_side_nav_scroll_init))}},t(window).on("resize",(function(){et_pb_side_nav_page_init(!0)})),t("body").is(".et-fb, .et-bfb")&&(window.et_pb_side_nav_page_init=s(window.et_pb_side_nav_page_init,200)),et_pb_side_nav_page_init(),t(".et_pb_scroll_top").length&&(t(window).on("scroll",(function(){t(this).scrollTop()>800?t(".et_pb_scroll_top").show().removeClass("et-hidden").addClass("et-visible"):t(".et_pb_scroll_top").removeClass("et-visible").addClass("et-hidden")})),t(".et_pb_scroll_top").on("click",(function(){t("html, body").animate({scrollTop:0},800)}))),t(".comment-reply-link").length&&t(".comment-reply-link").addClass("et_pb_button"),t("#et_top_search").on("click",(function(){var e=t(".et_search_form_container");e.hasClass("et_pb_is_animating")||(t(".et_menu_container").removeClass("et_pb_menu_visible et_pb_no_animation").addClass("et_pb_menu_hidden"),e.removeClass("et_pb_search_form_hidden et_pb_no_animation").addClass("et_pb_search_visible et_pb_is_animating"),setTimeout((function(){t(".et_menu_container").addClass("et_pb_no_animation"),e.addClass("et_pb_no_animation").removeClass("et_pb_is_animating")}),1e3),e.find("input").trigger("focus"),Z())})),t(".et_close_search_field").on("click",(function(){U()})),t(document).on("mouseup",(function(e){var n=t("#main-header");t(".et_menu_container").hasClass("et_pb_menu_hidden")&&(n.is(e.target)||0!==n.has(e.target).length||U())})),C.length){var Y=C.is("img")?C.attr("src"):C.find("img").attr("src");$=Y,V=function(){var e,n,i,a="svg"===(C.is("img")?C.attr("src"):C.find("img").attr("src")).substr(-3,3);t("body").append(t("<div />",{id:"et-define-logo-wrap",style:"position: fixed; bottom: 0; opacity: 0;"})),e=t("#et-define-logo-wrap"),a&&e.addClass("svg-logo"),e.html(C.clone().css({display:"block"}).removeAttr("id")),n=e.find("img").width(),i=e.find("img").height(),C.attr({"data-actual-width":n,"data-actual-height":i}),e.remove(),c(!0)},(R=new Image).onLoad=V,R.onload=V,R.src=$}function G(){t(window).off("scroll",window.et_pb_window_side_nav_scroll_init),t("#main-content .et_pb_side_nav").off("click",".et_pb_side_nav a"),t("#main-content .et_pb_side_nav").remove(),et_pb_side_nav_page_init()}t(".footer-widget").each((function(){var e=t(this),n=e.width(),i=e.find(".widget_adsensewidget ins");i.length&&i.width(n)})),t("body").is(".et-fb")?(t(window).on("et_fb_root_did_mount",(function(){G(),N()})),t(window).on("et_fb_section_content_change",G)):window.addEventListener("load",N)})),t("#main-header").on("click",".et_toggle_slide_menu",(function(){l()})),a&&(o.on("swipeleft",(function(t){30>=parseInt(o.width())-parseInt(t.swipestart.coords[0])&&l("open")})),o.on("swiperight",(function(e){t("body").hasClass("et_pb_slide_menu_active")&&l("close")}))),t("#page-container").on("click",".et_toggle_fullscreen_menu",(function(){d()})),t(window).on("visibilitychange",(function(){t("body").hasClass("et_pb_fullscreen_menu_active")&&t(".et_toggle_fullscreen_menu").trigger("click")})),t(".et_pb_fullscreen_nav_container").on("click","li.menu-item-has-children > a",(function(){var e=t(this).closest("li"),n=e.find(">a .et_mobile_menu_arrow"),i=e.find(">ul"),a=n.hasClass("et_pb_submenu_opened");return n.toggleClass("et_pb_submenu_opened"),a?(i.removeClass("et_pb_slide_dropdown_opened"),i.slideToggle(700,"easeInOutCubic")):(i.slideToggle(700,"easeInOutCubic"),i.addClass("et_pb_slide_dropdown_opened")),!1})),t("body").hasClass("et_header_style_fullscreen")){var u=t(".et_header_style_fullscreen .et_slide_in_menu_container");if(u.length){var h=u.find(".et_slide_menu_top").innerHeight();u.css({"padding-top":h+20+"px"})}}t(document.body).on("checkout_error",(function(){_()})),t(document.body).on("updated_checkout",(function(t){"failure"===t.result&&_()})),o.on("et_fb_init",(function(){var t=e.wp;if(t&&t.hooks&&t.hooks.addFilter){var n=window.DIVI.row_selector;t.hooks.addFilter("et.pb.row.css.selector","divi.et.pb.row.css.selector",(function(t){return t.replace("%%row_selector%%",n)}))}}))}(jQuery)}]);
!function(){"use strict";var r,n={},e={};function o(r){var t=e[r];if(void 0!==t)return t.exports;var i=e[r]={exports:{}};return n[r](i,i.exports,o),i.exports}o.m=n,r=[],o.O=function(n,e,t,i){if(!e){var u=1/0;for(v=0;v<r.length;v++){e=r[v][0],t=r[v][1],i=r[v][2];for(var f=!0,a=0;a<e.length;a++)(!1&i||u>=i)&&Object.keys(o.O).every((function(r){return o.O[r](e[a])}))?e.splice(a--,1):(f=!1,i<u&&(u=i));if(f){r.splice(v--,1);var c=t();void 0!==c&&(n=c)}}return n}i=i||0;for(var v=r.length;v>0&&r[v-1][2]>i;v--)r[v]=r[v-1];r[v]=[e,t,i]},o.o=function(r,n){return Object.prototype.hasOwnProperty.call(r,n)},o.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},function(){var r={210:0};o.O.j=function(n){return 0===r[n]};var n=function(n,e){var t,i,u=e[0],f=e[1],a=e[2],c=0;if(u.some((function(n){return 0!==r[n]}))){for(t in f)o.o(f,t)&&(o.m[t]=f[t]);if(a)var v=a(o)}for(n&&n(e);c<u.length;c++)i=u[c],o.o(r,i)&&r[i]&&r[i][0](),r[i]=0;return o.O(v)},e=window.webpackChunkdivi_areas_pro=window.webpackChunkdivi_areas_pro||[];e.forEach(n.bind(null,0)),e.push=n.bind(null,e.push.bind(e))}();var t=o.O(void 0,[959,102,256,352,58,932,43],(function(){return o(526)}));t=o.O(t)}();