!function(s){"use strict";s(window).on("load",function(){if(s(".is-menu a, .is-menu a svg").on("click",function(e){if(e.stopPropagation(),e.preventDefault(),"static"===s(this).closest("ul").css("position")&&s(this).closest("ul").css("position","relative"),s(this).closest(".is-menu-wrapper").length&&(s(this).closest(".is-menu").hasClass("sliding")||s(this).closest(".is-menu").hasClass("full-width-menu"))&&s(this).closest(".is-menu-wrapper").addClass("is-expanded"),s(this).closest(".is-menu").hasClass("sliding")||s(this).closest(".is-menu").hasClass("full-width-menu")){s(this).closest(".is-menu").find("button.is-search-submit").hide();var i=s(this).closest("li.is-menu").outerHeight();i/=2,s(this).closest(".is-menu").find("form").css({top:i-18+"px"}),s(this).closest(".is-menu").find(".search-close").css({top:i-10+"px"})}if(s(this).closest(".is-menu").hasClass("is-dropdown"))s(this).closest(".is-menu").find("form").fadeIn();else if(s(this).closest(".is-menu").hasClass("sliding"))s(this).closest(".is-menu").find("form").animate({width:"310"},function(){s(this).closest(".is-menu").addClass("open"),s(this).closest(".is-menu").find("button.is-search-submit").show()});else if(s(this).closest(".is-menu").hasClass("full-width-menu")){var t=s(this).closest("ul").outerWidth();if(s(this).closest(".is-menu-wrapper").hasClass("is-expanded"))t=s(window).width(),s(this).closest(".is-menu").find("form").css("right","-5px"),s(this).closest(".is-menu").find(".search-close").hide();else{var a=s(this).offset();if(!s(this).closest(".is-menu").hasClass("is-first")&&a.leftt&&(t=n)}}s(this).closest(".is-menu").find("form").animate({width:t+"px"},function(){s(this).closest(".is-menu").addClass("active-search"),s(this).closest(".is-menu").addClass("open"),s(this).closest(".is-menu").find("button.is-search-submit").show()})}else s(this).closest(".is-menu").hasClass("popup")&&(s("#is-popup-wrapper").fadeIn(),s('#is-popup-wrapper form input[type="text"], #is-popup-wrapper form input[type="search"]').focus());(s(this).closest(".is-menu").hasClass("sliding")||s(this).closest(".is-menu").hasClass("full-width-menu"))&&s(this).closest(".is-menu").find('form input[type="search"], form input[type="text"]').focus(),s(this).closest(".is-menu").find('form input[type="search"], form input[type="text"]').focus()}),s("#is-popup-wrapper .popup-search-close").on("click",function(e){s("#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details").fadeOut()}),"undefined"!=typeof IvorySearchVars&&void 0!==IvorySearchVars.is_analytics_enabled&&void 0!==IvorySearchVars.is_search&&(IvorySearchVars.is_search,1)){var e,i=void 0!==IvorySearchVars.is_id?IvorySearchVars.is_id:"Default";ivory_search_analytics(i,void 0!==IvorySearchVars.is_label?IvorySearchVars.is_label:"",void 0!==IvorySearchVars.is_cat?IvorySearchVars.is_cat:"")}window.matchMedia("(max-width: 1024px)").matches&&s(".is-menu a").attr("href",""),s(window).resize(function(){window.matchMedia("(max-width: 1024px)").matches&&s(".is-menu a").attr("href","")})}),s(document).keyup(function(e){27===e.keyCode&&s("#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details").hide()}),s('.is-menu form input[type="search"], .is-menu form input[type="text"]').on("click",function(s){return s.stopPropagation(),!1}),s("form.is-search-form, form.search-form").on("mouseover",function(e){s(this).next(".is-link-container").length&&s(this).append(s(this).next(".is-link-container").remove())}),s(window).click(function(e){0===e.button&&0===s(e.target).closest(".is-search-input").length&&0===s(e.target).closest(".is-search-submit").length&&0===s(e.target).closest(".is-ajax-search-result").length&&0===s(e.target).closest(".is-ajax-search-details").length&&(s(".is-menu").hasClass("open")?(s(".is-menu button.is-search-submit").hide(),s(".is-menu form").animate({width:"0"},400,function(){s(".is-menu").removeClass("active-search"),s(".is-menu").removeClass("open"),s(".is-menu-wrapper").removeClass("is-expanded")}),s(".is-ajax-search-result, .is-ajax-search-details").hide()):s(".is-menu").hasClass("is-dropdown")&&(s(".is-menu form").fadeOut(),s(".is-ajax-search-result, .is-ajax-search-details").hide()))})}(jQuery);function ivory_search_analytics(s,e,i){try{var t="function"==typeof __gaTracker?__gaTracker:"function"==typeof ga&&ga,a="function"==typeof gtag&>ag;if(!1!==a){a("event","Ivory Search - "+s,{event_label:e,event_category:i});return}!1!==t&&t("send",{hitType:"event",eventCategory:i,eventAction:"Ivory Search - "+s,eventLabel:e})}catch(n){}}; window.IVS_AJAX_JS_LOAD=function(){"use strict";jQuery(document).ready(function(t){var e,i=null,r="",s=-1,n=t(document.activeElement).closest("form");function a(i,n){n||(n=1);var a=t(i),o=a.val()||"",l=a.parents(".is-ajax-search"),c=l.attr("data-min-no-for-search")||"",u=l.attr("data-result-box-max-height")||"400",h=t(l).attr("data-form-id");if(t(".is-form-id-"+h+" .is-search-input").val(o),""===r||r!==o.trim()||s!==h)r=o.trim(),s=h;else if(1===n){t("#is-ajax-search-result-"+h).show();return}if(1===n&&l.addClass("processing"),o.length>=c){if(1===n){if(t("#is-ajax-search-result-"+h+", #is-ajax-search-details-"+h).hide(),l.hasClass("is-form-style-1")){var f=l.find(".is-search-submit").outerWidth()+5;l.find(".is-loader-image").css("right",f+"px")}l.find(".is-loader-image").show()}var d={action:"is_ajax_load_posts",page:n,security:IvoryAjaxVars.ajax_nonce},p=l.serialize()+"&"+t.param(d);0===l.find('input[name="id"]').length&&(p+="&id="+h),e&&4!==e.readystate&&e.abort(),e=t.ajax({url:IvoryAjaxVars.ajaxurl,data:p,type:"POST",success:function(e){if("undefined"!=typeof IvorySearchVars&&void 0!==IvorySearchVars.is_analytics_enabled){var i=t(e).find(".is-ajax-search-no-result").length?"Nothing Found":"Results Found";ivory_search_analytics(h,o,i)}if(l.find(".is-loader-image").hide(),l.removeClass("processing"),1===n){var r=l.offset(),s=l.innerHeight(),a=l.outerWidth();a=a<500?500:a,0===t("#is-ajax-search-result-"+h).length&&t("body").append('
'),t("#is-ajax-search-result-"+h).css({width:a-10+"px"});var c=t("#is-ajax-search-result-"+h).outerWidth(),f=t(window).width(),d=0;if(r.left+c>f&&(d=r.left+c-f),t("#is-ajax-search-result-"+h).css({top:r.top+s+"px",left:r.left-d+"px",width:a-10+"px"}),t("#is-ajax-search-result-"+h).show().html(e),0!==t("#is-ajax-search-details-"+h).length&&t("body > #is-ajax-search-details-"+h).remove(),0!==t("#is-ajax-search-result-"+h+" .is-ajax-search-details").length){t("body").append('
'+t("#is-ajax-search-result-"+h+" .is-ajax-search-details").html()+"
"),t("#is-ajax-search-result-"+h+" .is-ajax-search-details").remove();var p=t("#is-ajax-search-details-"+h).outerWidth(),v=r.left+c;if(r.left+c+p>f+30){var g=r.left-(d+p);g>-30&&(v=g)}t("#is-ajax-search-details-"+h).css({top:r.top+s+"px",left:v+"px"})}}else t("#is-ajax-search-result-"+h+" .is-show-more-results").remove(),t("#is-ajax-search-result-"+h+" .is-ajax-search-posts").append(e),0!==t("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results").length&&(t("#is-ajax-search-result-"+h).append(t("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results")[0].outerHTML),t("#is-ajax-search-result-"+h+" .is-ajax-search-posts .is-show-more-results").remove()),t("#is-ajax-search-details-"+h+" .is-ajax-search-posts-details").append(t("#is-ajax-search-result-"+h+" .is-ajax-search-items .is-ajax-search-posts-details").html()),t("#is-ajax-search-result-"+h+" .is-ajax-search-items .is-ajax-search-details").remove();var x=o.trim().split(" ");if(0!=x.length&&t.isFunction(t.fn.is_highlight)){var $,m,y,b=[".is-ajax-search-result"],E=jQuery.support.opacity?"mark":"span";for(y in b)if(0!=($=t(b[y])).length){for(m in x)$.is_highlight(x[m],E,"is-highlight term-"+m),$.find("*").is_highlight(x[m],E,"is-highlight term-"+m);break}}t("#is-ajax-search-result-"+h+" .is-ajax-search-items, #is-ajax-search-details-"+h+" .is-ajax-search-items").css("max-height",u+"px"),t(".is-ajax-search-items").each(function(t,e){new SimpleBar(e)}),t(".is-ajax-search-result .is-ajax-search-post a").on("click",function(e){t("#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details").fadeOut("slow")}),t(".is-ajax-woocommerce-actions .qty").on("change",function(){t(this).parent().next().find(".add_to_cart_button").attr("data-quantity",t(this).val())})},error:function(t,e,i){console.log(t.statusText),"abort"!==t.statusText&&console.log("AJAX request aborted")}})}else t("#is-ajax-search-result-"+h).hide(),l.removeClass("processing")}t("body").on("mouseover",".is-ajax-search-tags > div, .is-ajax-search-categories > div, .is-ajax-search-post.is-product",function(e){var i=t(window).outerWidth();if(parseInt(i)>=910){var r=t(this).attr("data-id")||"",s=t(e.target).closest(".is-ajax-search-result").attr("id").split(/[-]+/).pop(),n=t("#is-ajax-search-result-"+s).offset(),a=t(".is-form-id-"+s).attr("data-result-box-max-height")||"400";t("#is-ajax-search-details-"+s).css({top:n.top+"px"}),t("#is-ajax-search-details-"+s+" .is-ajax-search-items").css("height",a+"px"),t("#is-ajax-search-details-"+s+" .is-ajax-search-items > div").css("min-height",a+"px"),t(this).parents("div").hasClass("is-ajax-search-tags")&&t("#is-ajax-search-details-"+s+" .is-ajax-search-tags-details").length&&t("#is-ajax-search-details-"+s+' .is-ajax-search-tags-details > div[data-id="'+r+'"]').length?(t("#is-ajax-search-details-"+s+" .is-ajax-search-tags-details, #is-ajax-search-details-"+s).show(),t("#is-ajax-search-details-"+s+" .is-ajax-search-categories-details, #is-ajax-search-details-"+s+" .is-ajax-search-posts-details").hide(),t("#is-ajax-search-details-"+s+" .is-ajax-search-tags-details").find(" > div ").hide(),t("#is-ajax-search-details-"+s+" .is-ajax-search-tags-details").find(' > div[data-id="'+r+'"] ').show()):t(this).parents("div").hasClass("is-ajax-search-categories")&&t("#is-ajax-search-details-"+s+" .is-ajax-search-categories-details").length&&t("#is-ajax-search-details-"+s+' .is-ajax-search-categories-details > div[data-id="'+r+'"]').length?(t("#is-ajax-search-details-"+s+" .is-ajax-search-categories-details, #is-ajax-search-details-"+s).show(),t("#is-ajax-search-details-"+s+" .is-ajax-search-tags-details, #is-ajax-search-details-"+s+" .is-ajax-search-posts-details").hide(),t("#is-ajax-search-details-"+s+" .is-ajax-search-categories-details").find("> div ").hide(),t("#is-ajax-search-details-"+s+" .is-ajax-search-categories-details").find('> div[data-id="'+r+'"] ').show()):t(this).parents("div").hasClass("is-ajax-search-posts")&&(t("#is-ajax-search-details-"+s+" .is-ajax-search-tags-details, #is-ajax-search-details-"+s+" .is-ajax-search-categories-details").hide(),t("#is-ajax-search-details-"+s+" .is-ajax-search-posts-details").find("> div ").hide(),t("#is-ajax-search-details-"+s+" .is-ajax-search-posts-details, #is-ajax-search-details-"+s).show(),t("#is-ajax-search-details-"+s+" .is-ajax-search-posts-details").find('> div[data-id="'+r+'"] ').show())}}),t(".is-ajax-search .is-search-input").on("focusin, click",function(e){if(n=t(this).closest("form"),""!==t(this).val()&&0===t(e.target).closest("form.processing").length){var i=t(e.target).closest(".is-ajax-search").attr("data-form-id"),r=t(e.target).closest(".is-ajax-search").outerWidth();r=r<500?500:r,t("#is-ajax-search-result-"+i).css({width:r-10+"px"});var s=t(e.target).closest(".is-ajax-search").offset(),a=t(e.target).closest(".is-ajax-search").innerHeight(),o=t("#is-ajax-search-result-"+i).outerWidth(),l=t(window).width(),c=0;if(s.left+o>l&&(c=s.left+o-l),t("#is-ajax-search-result-"+i).css({top:s.top+a+"px",left:s.left-c+"px"}),t(".is-ajax-search-result, .is-ajax-search-details").hide(),t("#is-ajax-search-result-"+i).show(),0!==t("#is-ajax-search-details-"+i).length){var u=t("#is-ajax-search-details-"+i).outerWidth(),h=s.left+o;if(s.left+o+u>l+30){var f=s.left-(c+u);f>-30&&(h=f)}t("#is-ajax-search-details-"+i).css({top:s.top+a+"px",left:h+"px"})}}}),t("body").on("mousedown",function(e){0===e.button&&"s"!==t(e.target).attr("name")&&0===t(e.target).closest(".is-ajax-search-result").length&&0===t(e.target).closest(".is-ajax-search-details").length&&(t(".is-ajax-search-result, .is-ajax-search-details").hide(),n=!1)}),t(".is-disable-submit .is-search-submit").on("click",function(e){return t(this).parent().find(".is-search-input").trigger("keyup"),e.stopPropagation(),e.preventDefault(),!1}),t(document).on("click",".is-show-more-results",function(e){var i=t(e.target).closest(".is-ajax-search-result").attr("id").split(/[-]+/).pop();if(t(this).hasClass("redirect-tosr")){t(".is-form-id-"+i).submit();return}t(this).find(".is-show-more-results-text").hide(),t(this).find(".is-load-more-image").show();var r=t(".is-form-id-"+i+" .is-search-input"),s=t(this).attr("data-page")||"";a(r,s)}),t(window).on("resize scroll",function(){if(t(n).hasClass("is-ajax-search")&&""!==t(n).find(".is-search-input").val()){var e=t(n).attr("data-form-id");if(0!==t("#is-ajax-search-result-"+e).length){var i=t(n).offset(),r=t(n).innerHeight(),s=t("#is-ajax-search-result-"+e).outerWidth(),a=t(window).width(),o=0;if(i.left+s>a&&(o=i.left+s-a),t("#is-ajax-search-result-"+e).css({top:i.top+r+"px",left:i.left-o+"px"}),t("#is-ajax-search-result-"+e).show(),0!==t("#is-ajax-search-details-"+e).length){var l=t("#is-ajax-search-details-"+e).outerWidth(),c=i.left+s;if(i.left+s+l>a+30){var u=i.left-(o+l);u>-30&&(c=u)}t("#is-ajax-search-details-"+e).css({top:i.top+r+"px",left:c+"px"})}}}}),t(".is-ajax-search .is-search-input").on("paste",function(){t(this).trigger("keyup")}),t(".is-ajax-search").each(function(e,r){t(r).find(".is-search-input").on("keyup",function(e){if(n=t(this).closest("form"),32!==e.which){var r=this;window.clearTimeout(i),i=window.setTimeout(function(){i=null,a(r)},500)}if(13===e.which)return e.stopPropagation(),e.preventDefault(),!1})}),t("form.is-ajax-search.is-disable-submit").on("submit",function(e){if(!t(".is-show-more-results.redirect-tosr").length)return e.stopPropagation(),e.preventDefault(),!1})})},IVS_AJAX_JS_LOAD(),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).SimpleBar=e()}(this,function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var i,r,s,n="object",a=function(t){return t&&t.Math==Math&&t},o=a(typeof globalThis==n&&globalThis)||a(typeof window==n&&window)||a(typeof self==n&&self)||a(typeof t==n&&t)||Function("return this")(),l=function(t){try{return!!t()}catch(e){return!0}},c=!l(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),u={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,f={f:h&&!u.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:u},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},p={}.toString,v=function(t){return p.call(t).slice(8,-1)},g="".split,x=l(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==v(t)?g.call(t,""):Object(t)}:Object,$=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=function(t){return x($(t))},y=function(t){return"object"==typeof t?null!==t:"function"==typeof t},b=function(t,e){var i,r;if(!y(t))return t;if(e&&"function"==typeof(i=t.toString)&&!y(r=i.call(t))||"function"==typeof(i=t.valueOf)&&!y(r=i.call(t))||!e&&"function"==typeof(i=t.toString)&&!y(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")},E={}.hasOwnProperty,w=function(t,e){return E.call(t,e)},S=o.document,j=y(S)&&y(S.createElement),_=function(t){return j?S.createElement(t):{}},O=!c&&!l(function(){return 7!=Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a}),k=Object.getOwnPropertyDescriptor,A={f:c?k:function(t,e){if(t=m(t),e=b(e,!0),O)try{return k(t,e)}catch(i){}if(w(t,e))return d(!f.f.call(t,e),t[e])}},L=function(t){if(!y(t))throw TypeError(String(t)+" is not an object");return t},z=Object.defineProperty,T={f:c?z:function(t,e,i){if(L(t),e=b(e,!0),L(i),O)try{return z(t,e,i)}catch(r){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},C=c?function(t,e,i){return T.f(t,e,d(1,i))}:function(t,e,i){return t[e]=i,t},R=function(t,e){try{C(o,t,e)}catch(i){o[t]=e}return e},W=e(function(t){var e=o["__core-js_shared__"]||R("__core-js_shared__",{});(t.exports=function(t,i){return e[t]||(e[t]=void 0!==i?i:{})})("versions",[]).push({version:"3.2.1",mode:"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})}),M=W("native-function-to-string",Function.toString),N=o.WeakMap,I="function"==typeof N&&/native code/.test(M.call(N)),D=0,B=Math.random(),P=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++D+B).toString(36)},V=W("keys"),F=function(t){return V[t]||(V[t]=P(t))},H={},X=o.WeakMap;if(I){var q=new X,Y=q.get,G=q.has,U=q.set;i=function(t,e){return U.call(q,t,e),e},r=function(t){return Y.call(q,t)||{}},s=function(t){return G.call(q,t)}}else{var J=F("state");H[J]=!0,i=function(t,e){return C(t,J,e),e},r=function(t){return w(t,J)?t[J]:{}},s=function(t){return w(t,J)}}var Q={set:i,get:r,has:s,enforce:function(t){return s(t)?r(t):i(t,{})},getterFor:function(t){return function(e){var i;if(!y(e)||(i=r(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}},K=e(function(t){var e=Q.get,i=Q.enforce,r=String(M).split("toString");W("inspectSource",function(t){return M.call(t)}),(t.exports=function(t,e,s,n){var a=!!n&&!!n.unsafe,l=!!n&&!!n.enumerable,c=!!n&&!!n.noTargetGet;"function"==typeof s&&("string"!=typeof e||w(s,"name")||C(s,"name",e),i(s).source=r.join("string"==typeof e?e:"")),t!==o?(a?!c&&t[e]&&(l=!0):delete t[e],l?t[e]=s:C(t,e,s)):l?t[e]=s:R(e,s)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||M.call(this)})}),Z=o,tt=function(t){return"function"==typeof t?t:void 0},te=function(t,e){return arguments.length<2?tt(Z[t])||tt(o[t]):Z[t]&&Z[t][e]||o[t]&&o[t][e]},ti=Math.ceil,tr=Math.floor,ts=function(t){return isNaN(t=+t)?0:(t>0?tr:ti)(t)},tn=Math.min,ta=function(t){return t>0?tn(ts(t),9007199254740991):0},to=Math.max,tl=Math.min,tc=function(t){return function(e,i,r){var s,n,a,o,l=m(e),c=ta(l.length),u=(s=r,n=c,(a=ts(s))<0?to(a+n,0):tl(a,n));if(t&&i!=i){for(;c>u;)if((o=l[u++])!=o)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===i)return t||u||0;return!t&&-1}},tu={includes:tc(!0),indexOf:tc(!1)}.indexOf,th=function(t,e){var i,r=m(t),s=0,n=[];for(i in r)!w(H,i)&&w(r,i)&&n.push(i);for(;e.length>s;)w(r,i=e[s++])&&(~tu(n,i)||n.push(i));return n},tf=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],td=tf.concat("length","prototype"),tp={f:Object.getOwnPropertyNames||function(t){return th(t,td)}},tv={f:Object.getOwnPropertySymbols},tg=te("Reflect","ownKeys")||function(t){var e=tp.f(L(t)),i=tv.f;return i?e.concat(i(t)):e},tx=function(t,e){for(var i=tg(e),r=T.f,s=A.f,n=0;n$;$++)if((a||$ in p)&&(f=v(h=p[$],$,d),t)){if(e)y[$]=f;else if(f)switch(t){case 3:return!0;case 5:return h;case 6:return $;case 2:tM.call(y,h)}else if(s)return!1}return n?-1:r||s?s:y}},tI={forEach:tN(0),map:tN(1),filter:tN(2),some:tN(3),every:tN(4),find:tN(5),findIndex:tN(6)},tD=function(t,e){var i=[][t];return!i||!l(function(){i.call(null,e||function(){throw 1},1)})},tB=tI.forEach,tP=tD("forEach")?function(t){return tB(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach;t_({target:"Array",proto:!0,forced:[].forEach!=tP},{forEach:tP});var tV={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var t0 in tV){var tF=o[t0],tH=tF&&tF.prototype;if(tH&&tH.forEach!==tP)try{C(tH,"forEach",tP)}catch(tX){tH.forEach=tP}}var tq=!("undefined"==typeof window||!window.document||!window.document.createElement),t1=tC("species"),t3=tI.filter;t_({target:"Array",proto:!0,forced:!!l(function(){var t=[];return(t.constructor={})[t1]=function(){return{foo:1}},1!==t.filter(Boolean).foo})},{filter:function(t){return t3(this,t,arguments.length>1?arguments[1]:void 0)}});var t9=Object.keys||function(t){return th(t,tf)},tY=c?Object.defineProperties:function(t,e){L(t);for(var i,r=t9(e),s=r.length,n=0;s>n;)T.f(t,i=r[n++],e[i]);return t},t4=te("document","documentElement"),t7=F("IE_PROTO"),tG=function(){},t5=function(){var t,e=_("iframe"),i=tf.length;for(e.style.display="none",t4.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(""),t.close(),t5=t.F;i--;)delete t5.prototype[tf[i]];return t5()},t2=Object.create||function(t,e){var i;return null!==t?(tG.prototype=L(t),i=new tG,tG.prototype=null,i[t7]=t):i=t5(),void 0===e?i:tY(i,e)};H[t7]=!0;var tU=tC("unscopables"),t6=Array.prototype;null==t6[tU]&&C(t6,tU,t2(null));var tJ,tQ,tK,tZ=function(t){t6[tU][t]=!0},et={},ee=!l(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),ei=F("IE_PROTO"),er=Object.prototype,es=ee?Object.getPrototypeOf:function(t){return t=tA(t),w(t,ei)?t[ei]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?er:null},en=tC("iterator"),ea=!1;[].keys&&("next"in(tK=[].keys())?(tQ=es(es(tK)))!==Object.prototype&&(tJ=tQ):ea=!0),null==tJ&&(tJ={}),w(tJ,en)||C(tJ,en,function(){return this});var eo={IteratorPrototype:tJ,BUGGY_SAFARI_ITERATORS:ea},el=T.f,ec=tC("toStringTag"),eu=function(t,e,i){t&&!w(t=i?t:t.prototype,ec)&&el(t,ec,{configurable:!0,value:e})},eh=eo.IteratorPrototype,ef=function(){return this},ed=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(i,[]),e=i instanceof Array}catch(r){}return function(i,r){return L(i),function(t){if(!y(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(r),e?t.call(i,r):i.__proto__=r,i}}():void 0),ep=eo.IteratorPrototype,ev=eo.BUGGY_SAFARI_ITERATORS,eg=tC("iterator"),ex=function(){return this},e$=function(t,e,i,r,s,n,a){o=i,l=e,c=r,u=l+" Iterator",o.prototype=t2(eh,{next:d(1,c)}),eu(o,u,!1),et[u]=ef;var o,l,c,u,h,f,p,v=function(t){if(t===s&&m)return m;if(!ev&&t in x)return x[t];switch(t){case"keys":case"values":case"entries":return function(){return new i(this,t)}}return function(){return new i(this)}},g=!1,x=t.prototype,$=x[eg]||x["@@iterator"]||s&&x[s],m=!ev&&$||v(s),y="Array"==e&&x.entries||$;if(y&&(h=es(y.call(new t)),ep!==Object.prototype&&h.next&&(es(h)!==ep&&(ed?ed(h,ep):"function"!=typeof h[eg]&&C(h,eg,ex)),eu(h,e+" Iterator",!0))),"values"==s&&$&&"values"!==$.name&&(g=!0,m=function(){return $.call(this)}),x[eg]!==m&&C(x,eg,m),et[e]=m,s){if(f={values:v("values"),keys:n?m:v("keys"),entries:v("entries")},a)for(p in f)!ev&&!g&&p in x||K(x,p,f[p]);else t_({target:e,proto:!0,forced:ev||g},f)}return f},em=Q.set,ey=Q.getterFor("Array Iterator"),eb=e$(Array,"Array",function(t,e){em(this,{type:"Array Iterator",target:m(t),index:0,kind:e})},function(){var t=ey(this),e=t.target,i=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:r,done:!1}:"values"==i?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values");et.Arguments=et.Array,tZ("keys"),tZ("values"),tZ("entries");var eE=Object.assign,ew=!eE||l(function(){var t={},e={},i=Symbol();return t[i]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=eE({},t)[i]||"abcdefghijklmnopqrst"!=t9(eE({},e)).join("")})?function(t,e){for(var i=tA(t),r=arguments.length,s=1,n=tv.f,a=f.f;r>s;)for(var o,l=x(arguments[s++]),u=n?t9(l).concat(n(l)):t9(l),h=u.length,d=0;h>d;)o=u[d++],c&&!a.call(l,o)||(i[o]=l[o]);return i}:eE;t_({target:"Object",stat:!0,forced:Object.assign!==ew},{assign:ew});var eS=tC("toStringTag"),ej="Arguments"==v(function(){return arguments}()),e_=function(t){var e,i,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(i){}}(e=Object(t),eS))?i:ej?v(e):"Object"==(r=v(e))&&"function"==typeof e.callee?"Arguments":r},eO={};eO[tC("toStringTag")]="z";var ek="[object z]"!==String(eO)?function(){return"[object "+e_(this)+"]"}:eO.toString,eA=Object.prototype;ek!==eA.toString&&K(eA,"toString",ek,{unsafe:!0});var eL=" \n\v\f\r                \u2028\u2029\uFEFF",e8="["+eL+"]",ez=RegExp("^"+e8+e8+"*"),eT=RegExp(e8+e8+"*$"),eC=function(t){return function(e){var i=String($(e));return 1&t&&(i=i.replace(ez,"")),2&t&&(i=i.replace(eT,"")),i}},eR={start:eC(1),end:eC(2),trim:eC(3)}.trim,eW=o.parseInt,eM=/^[+-]?0[Xx]/,eN=8!==eW(eL+"08")||22!==eW(eL+"0x16")?function(t,e){var i=eR(String(t));return eW(i,e>>>0||(eM.test(i)?16:10))}:eW;t_({global:!0,forced:parseInt!=eN},{parseInt:eN});var eI=function(t){return function(e,i){var r,s,n=String($(e)),a=ts(i),o=n.length;return a<0||a>=o?t?"":void 0:(r=n.charCodeAt(a))<55296||r>56319||a+1===o||(s=n.charCodeAt(a+1))<56320||s>57343?t?n.charAt(a):r:t?n.slice(a,a+2):s-56320+(r-55296<<10)+65536}},eD={codeAt:eI(!1),charAt:eI(!0)},eB=eD.charAt,eP=Q.set,eV=Q.getterFor("String Iterator");e$(String,"String",function(t){eP(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,e=eV(this),i=e.string,r=e.index;return r>=i.length?{value:void 0,done:!0}:(t=eB(i,r),e.index+=t.length,{value:t,done:!1})});var e0=function(t,e,i){for(var r in e)K(t,r,e[r],i);return t},eF=!l(function(){return Object.isExtensible(Object.preventExtensions({}))}),eH=e(function(t){var e=T.f,i=P("meta"),r=0,s=Object.isExtensible||function(){return!0},n=function(t){e(t,i,{value:{objectID:"O"+ ++r,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!y(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!w(t,i)){if(!s(t))return"F";if(!e)return"E";n(t)}return t[i].objectID},getWeakData:function(t,e){if(!w(t,i)){if(!s(t))return!0;if(!e)return!1;n(t)}return t[i].weakData},onFreeze:function(t){return eF&&a.REQUIRED&&s(t)&&!w(t,i)&&n(t),t}};H[i]=!0}),eX=(eH.REQUIRED,eH.fastKey,eH.getWeakData,eH.onFreeze,tC("iterator")),eq=Array.prototype,e1=tC("iterator"),e3=function(t,e,i,r){try{return r?e(L(i)[0],i[1]):e(i)}catch(s){var n=t.return;throw void 0!==n&&L(n.call(t)),s}},e9=e(function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,i,r,s,n){var a,o,l,c,u,h,f,d=tk(i,r,s?2:1);if(n)a=t;else{if("function"!=typeof(o=function(t){if(null!=t)return t[e1]||t["@@iterator"]||et[e_(t)]}(t)))throw TypeError("Target is not iterable");if(void 0!==(f=o)&&(et.Array===f||eq[eX]===f)){for(l=0,c=ta(t.length);c>l;l++)if((u=s?d(L(h=t[l])[0],h[1]):d(t[l]))&&u instanceof e)return u;return new e(!1)}a=o.call(t)}for(;!(h=a.next()).done;)if((u=e3(a,d,h.value,s))&&u instanceof e)return u;return new e(!1)}).stop=function(t){return new e(!0,t)}}),eY=function(t,e,i){if(!(t instanceof e))throw TypeError("Incorrect "+(i?i+" ":"")+"invocation");return t},e4=tC("iterator"),e7=!1;try{var eG=0,e5={next:function(){return{done:!!eG++}},return:function(){e7=!0}};e5[e4]=function(){return this},Array.from(e5,function(){throw 2})}catch(e2){}var eU=function(t,e,i,r,s){var n=o[t],a=n&&n.prototype,c=n,u=r?"set":"add",h={},f=function(t){var e=a[t];K(a,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(s&&!y(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return s&&!y(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(s&&!y(t))&&e.call(this,0===t?0:t)}:function(t,i){return e.call(this,0===t?0:t,i),this})};if(tS(t,"function"!=typeof n||!(s||a.forEach&&!l(function(){(new n).entries().next()}))))c=i.getConstructor(e,t,r,u),eH.REQUIRED=!0;else if(tS(t,!0)){var d=new c,p=d[u](s?{}:-0,1)!=d,v=l(function(){d.has(1)}),g=function(t,e){if(!e7)return!1;var i=!1;try{var r={};r[e4]=function(){return{next:function(){return{done:i=!0}}}},t(r)}catch(s){}return i}(function(t){new n(t)}),x=!s&&l(function(){for(var t=new n,e=5;e--;)t[u](e,e);return!t.has(-0)});g||((c=e(function(e,i){eY(e,c,t);var s,a,o,l,h,f=(s=new n,a=e,o=c,ed&&"function"==typeof(l=a.constructor)&&l!==o&&y(h=l.prototype)&&h!==o.prototype&&ed(s,h),s);return null!=i&&e9(i,f[u],f,r),f})).prototype=a,a.constructor=c),(v||x)&&(f("delete"),f("has"),r&&f("get")),(x||p)&&f(u),s&&a.clear&&delete a.clear}return h[t]=c,t_({global:!0,forced:c!=n},h),eu(c,t),s||i.setStrong(c,t,r),c},e6=eH.getWeakData,eJ=Q.set,eQ=Q.getterFor,eK=tI.find,eZ=tI.findIndex,it=0,ie=function(t){return t.frozen||(t.frozen=new ii)},ii=function(){this.entries=[]},ir=function(t,e){return eK(t.entries,function(t){return t[0]===e})};ii.prototype={get:function(t){var e=ir(this,t);if(e)return e[1]},has:function(t){return!!ir(this,t)},set:function(t,e){var i=ir(this,t);i?i[1]=e:this.entries.push([t,e])},delete:function(t){var e=eZ(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}};var is={getConstructor:function(t,e,i,r){var s=t(function(t,n){eY(t,s,e),eJ(t,{type:e,id:it++,frozen:void 0}),null!=n&&e9(n,t[r],t,i)}),n=eQ(e),a=function(t,e,i){var r=n(t),s=e6(L(e),!0);return!0===s?ie(r).set(e,i):s[r.id]=i,t};return e0(s.prototype,{delete:function(t){var e=n(this);if(!y(t))return!1;var i=e6(t);return!0===i?ie(e).delete(t):i&&w(i,e.id)&&delete i[e.id]},has:function(t){var e=n(this);if(!y(t))return!1;var i=e6(t);return!0===i?ie(e).has(t):i&&w(i,e.id)}}),e0(s.prototype,i?{get:function(t){var e=n(this);if(y(t)){var i=e6(t);return!0===i?ie(e).get(t):i?i[e.id]:void 0}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),s}},ia=(e(function(t){var e,i=Q.enforce,r=!o.ActiveXObject&&"ActiveXObject"in o,s=Object.isExtensible,n=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},a=t.exports=eU("WeakMap",n,is,!0,!0);if(I&&r){e=is.getConstructor(n,"WeakMap",!0),eH.REQUIRED=!0;var l=a.prototype,c=l.delete,u=l.has,h=l.get,f=l.set;e0(l,{delete:function(t){if(y(t)&&!s(t)){var r=i(this);return r.frozen||(r.frozen=new e),c.call(this,t)||r.frozen.delete(t)}return c.call(this,t)},has:function(t){if(y(t)&&!s(t)){var r=i(this);return r.frozen||(r.frozen=new e),u.call(this,t)||r.frozen.has(t)}return u.call(this,t)},get:function(t){if(y(t)&&!s(t)){var r=i(this);return r.frozen||(r.frozen=new e),u.call(this,t)?h.call(this,t):r.frozen.get(t)}return h.call(this,t)},set:function(t,r){if(y(t)&&!s(t)){var n=i(this);n.frozen||(n.frozen=new e),u.call(this,t)?f.call(this,t,r):n.frozen.set(t,r)}else f.call(this,t,r);return this}})}}),tC("iterator")),io=tC("toStringTag"),il=eb.values;for(var ic in tV){var iu=o[ic],ih=iu&&iu.prototype;if(ih){if(ih[ia]!==il)try{C(ih,ia,il)}catch(id){ih[ia]=il}if(ih[io]||C(ih,io,ic),tV[ic]){for(var ip in eb)if(ih[ip]!==eb[ip])try{C(ih,ip,eb[ip])}catch(iv){ih[ip]=eb[ip]}}}}var ig="Expected a function",ix=NaN,i$=/^\s+|\s+$/g,im=/^[-+]0x[0-9a-f]+$/i,iy=/^0b[01]+$/i,ib=/^0o[0-7]+$/i,iE=parseInt,iw="object"==typeof t&&t&&t.Object===Object&&t,iS="object"==typeof self&&self&&self.Object===Object&&self,ij=iw||iS||Function("return this")(),i_=Object.prototype.toString,iO=Math.max,ik=Math.min,iA=function(){return ij.Date.now()};function iL(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function i8(t){if("number"==typeof t)return t;if("symbol"==typeof(e=t)||(i=e)&&"object"==typeof i&&"[object Symbol]"==i_.call(e))return ix;if(iL(t)){var e,i,r="function"==typeof t.valueOf?t.valueOf():t;t=iL(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(i$,"");var s=iy.test(t);return s||ib.test(t)?iE(t.slice(2),s?2:8):im.test(t)?ix:+t}var iz=function(t,e,i){var r=!0,s=!0;if("function"!=typeof t)throw TypeError(ig);return iL(i)&&(r="leading"in i?!!i.leading:r,s="trailing"in i?!!i.trailing:s),function t(e,i,r){var s,n,a,o,l,c,u=0,h=!1,f=!1,d=!0;if("function"!=typeof e)throw TypeError(ig);function p(t){var i=s,r=n;return s=n=void 0,u=t,o=e.apply(r,i)}function v(t){var e=t-c;return void 0===c||e>=i||e<0||f&&t-u>=a}function g(){var t,e,r=iA();if(v(r))return x(r);l=setTimeout(g,(t=r,e=i-(t-c),f?ik(e,a-(t-u)):e))}function x(t){return l=void 0,d&&s?p(t):(s=n=void 0,o)}function $(){var t,e=iA(),r=v(e);if(s=arguments,n=this,c=e,r){if(void 0===l)return u=t=c,l=setTimeout(g,i),h?p(t):o;if(f)return l=setTimeout(g,i),p(c)}return void 0===l&&(l=setTimeout(g,i)),o}return i=i8(i)||0,iL(r)&&(h=!!r.leading,a=(f="maxWait"in r)?iO(i8(r.maxWait)||0,i):a,d="trailing"in r?!!r.trailing:d),$.cancel=function(){void 0!==l&&clearTimeout(l),u=0,s=c=n=l=void 0},$.flush=function(){return void 0===l?o:x(iA())},$}(t,e,{leading:r,maxWait:e,trailing:s})},iT=NaN,iC=/^\s+|\s+$/g,iR=/^[-+]0x[0-9a-f]+$/i,iW=/^0b[01]+$/i,iM=/^0o[0-7]+$/i,iN=parseInt,iI="object"==typeof t&&t&&t.Object===Object&&t,iD="object"==typeof self&&self&&self.Object===Object&&self,iB=iI||iD||Function("return this")(),iP=Object.prototype.toString,iV=Math.max,i0=Math.min,iF=function(){return iB.Date.now()};function iH(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function iX(t){if("number"==typeof t)return t;if("symbol"==typeof(e=t)||(i=e)&&"object"==typeof i&&"[object Symbol]"==iP.call(e))return iT;if(iH(t)){var e,i,r="function"==typeof t.valueOf?t.valueOf():t;t=iH(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(iC,"");var s=iW.test(t);return s||iM.test(t)?iN(t.slice(2),s?2:8):iR.test(t)?iT:+t}var iq,i1=function(t,e,i){var r,s,n,a,o,l,c=0,u=!1,h=!1,f=!0;if("function"!=typeof t)throw TypeError("Expected a function");function d(e){var i=r,n=s;return r=s=void 0,c=e,a=t.apply(n,i)}function p(t){var i=t-l;return void 0===l||i>=e||i<0||h&&t-c>=n}function v(){var t,i,r=iF();if(p(r))return g(r);o=setTimeout(v,(t=r,i=e-(t-l),h?i0(i,n-(t-c)):i))}function g(t){return o=void 0,f&&r?d(t):(r=s=void 0,a)}function x(){var t,i=iF(),n=p(i);if(r=arguments,s=this,l=i,n){if(void 0===o)return c=t=l,o=setTimeout(v,e),u?d(t):a;if(h)return o=setTimeout(v,e),d(l)}return void 0===o&&(o=setTimeout(v,e)),a}return e=iX(e)||0,iH(i)&&(u=!!i.leading,n=(h="maxWait"in i)?iV(iX(i.maxWait)||0,e):n,f="trailing"in i?!!i.trailing:f),x.cancel=function(){void 0!==o&&clearTimeout(o),c=0,r=l=s=o=void 0},x.flush=function(){return void 0===o?a:g(iF())},x},i3="__lodash_hash_undefined__",i9=/^\[object .+?Constructor\]$/,iY="object"==typeof t&&t&&t.Object===Object&&t,i4="object"==typeof self&&self&&self.Object===Object&&self,i7=iY||i4||Function("return this")(),iG=Array.prototype,i5=Function.prototype,i2=Object.prototype,iU=i7["__core-js_shared__"],i6=(iq=/[^.]+$/.exec(iU&&iU.keys&&iU.keys.IE_PROTO||""))?"Symbol(src)_1."+iq:"",iJ=i5.toString,iQ=i2.hasOwnProperty,iK=i2.toString,iZ=RegExp("^"+iJ.call(iQ).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=iG.splice,re=rl(i7,"Map"),ri=rl(Object,"create");function rr(t){var e=-1,i=t?t.length:0;for(this.clear();++e-1},rs.prototype.set=function(t,e){var i=this.__data__,r=ra(i,t);return r<0?i.push([t,e]):i[r][1]=e,this},rn.prototype.clear=function(){this.__data__={hash:new rr,map:new(re||rs),string:new rr}},rn.prototype.delete=function(t){return ro(this,t).delete(t)},rn.prototype.get=function(t){return ro(this,t).get(t)},rn.prototype.has=function(t){return ro(this,t).has(t)},rn.prototype.set=function(t,e){return ro(this,t).set(t,e),this},rc.Cache=rn;var rh,rf,rd=rc,rp=[],rv="ResizeObserver loop completed with undelivered notifications.";(rf=rh||(rh={})).BORDER_BOX="border-box",rf.CONTENT_BOX="content-box",rf.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var rg,rx=function(t){return Object.freeze(t)},r$=function(t,e){this.inlineSize=t,this.blockSize=e,rx(this)},rm=function(){function t(t,e,i,r){return this.x=t,this.y=e,this.width=i,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,rx(this)}return t.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),ry=function(t){return t instanceof SVGElement&&"getBBox"in t},rb=function(t){if(ry(t)){var e=t.getBBox(),i=e.width,r=e.height;return!i&&!r}var s=t,n=s.offsetWidth,a=s.offsetHeight;return!(n||a||t.getClientRects().length)},rE=function(t){if(t instanceof Element)return!0;var e,i,r=null===(i=null===(e=t)||void 0===e?void 0:e.ownerDocument)||void 0===i?void 0:i.defaultView;return!!(r&&t instanceof r.Element)},rw="undefined"!=typeof window?window:{},rS=new WeakMap,rj=/auto|scroll/,r_=/^tb|vertical/,rO=/msie|trident/i.test(rw.navigator&&rw.navigator.userAgent),rk=function(t){return parseFloat(t||"0")},rA=function(t,e,i){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=!1),new r$((i?e:t)||0,(i?t:e)||0)},rL=rx({devicePixelContentBoxSize:rA(),borderBoxSize:rA(),contentBoxSize:rA(),contentRect:new rm(0,0,0,0)}),r8=function(t,e){if(void 0===e&&(e=!1),rS.has(t)&&!e)return rS.get(t);if(rb(t))return rS.set(t,rL),rL;var i=getComputedStyle(t),r=ry(t)&&t.ownerSVGElement&&t.getBBox(),s=!rO&&"border-box"===i.boxSizing,n=r_.test(i.writingMode||""),a=!r&&rj.test(i.overflowY||""),o=!r&&rj.test(i.overflowX||""),l=r?0:rk(i.paddingTop),c=r?0:rk(i.paddingRight),u=r?0:rk(i.paddingBottom),h=r?0:rk(i.paddingLeft),f=r?0:rk(i.borderTopWidth),d=r?0:rk(i.borderRightWidth),p=r?0:rk(i.borderBottomWidth),v=h+c,g=l+u,x=(r?0:rk(i.borderLeftWidth))+d,$=f+p,m=o?t.offsetHeight-$-t.clientHeight:0,y=a?t.offsetWidth-x-t.clientWidth:0,b=r?r.width:rk(i.width)-(s?v+x:0)-y,E=r?r.height:rk(i.height)-(s?g+$:0)-m,w=rx({devicePixelContentBoxSize:rA(Math.round(b*devicePixelRatio),Math.round(E*devicePixelRatio),n),borderBoxSize:rA(b+v+y+x,E+g+m+$,n),contentBoxSize:rA(b,E,n),contentRect:new rm(h,l,b,E)});return rS.set(t,w),w},rz=function(t,e,i){var r=r8(t,i),s=r.borderBoxSize,n=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(e){case rh.DEVICE_PIXEL_CONTENT_BOX:return a;case rh.BORDER_BOX:return s;default:return n}},rT=function(t){var e=r8(t);this.target=t,this.contentRect=e.contentRect,this.borderBoxSize=rx([e.borderBoxSize]),this.contentBoxSize=rx([e.contentBoxSize]),this.devicePixelContentBoxSize=rx([e.devicePixelContentBoxSize])},rC=function(t){if(rb(t))return 1/0;for(var e=0,i=t.parentNode;i;)e+=1,i=i.parentNode;return e},rR=function(){var t=1/0,e=[];rp.forEach(function(i){if(0!==i.activeTargets.length){var r=[];i.activeTargets.forEach(function(e){var i=new rT(e.target),s=rC(e.target);r.push(i),e.lastReportedSize=rz(e.target,e.observedBox),st?e.activeTargets.push(i):e.skippedTargets.push(i))})})},rM=function(){var t,e=0;for(rW(e);rp.some(function(t){return t.activeTargets.length>0});)e=rR(),rW(e);return rp.some(function(t){return t.skippedTargets.length>0})&&("function"==typeof ErrorEvent?t=new ErrorEvent("error",{message:rv}):((t=document.createEvent("Event")).initEvent("error",!1,!1),t.message=rv),window.dispatchEvent(t)),e>0},rN=[],rI=function(t){if(!rg){var e=0,i=document.createTextNode("");new MutationObserver(function(){return rN.splice(0).forEach(function(t){return t()})}).observe(i,{characterData:!0}),rg=function(){i.textContent=""+(e?e--:e++)}}rN.push(t),rg()},rD=0,rB={attributes:!0,characterData:!0,childList:!0,subtree:!0},rP=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],rV=function(t){return void 0===t&&(t=0),Date.now()+t},r0=!1,rF=new(function(){function t(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return t.prototype.run=function(t){var e=this;if(void 0===t&&(t=250),!r0){r0=!0;var i,r=rV(t);i=function(){var i=!1;try{i=rM()}finally{if(r0=!1,t=r-rV(),!rD)return;i?e.run(1e3):t>0?e.run(t):e.start()}},rI(function(){requestAnimationFrame(i)})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var t=this,e=function(){return t.observer&&t.observer.observe(document.body,rB)};document.body?e():rw.addEventListener("DOMContentLoaded",e)},t.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),rP.forEach(function(e){return rw.addEventListener(e,t.listener,!0)}))},t.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),rP.forEach(function(e){return rw.removeEventListener(e,t.listener,!0)}),this.stopped=!0)},t}()),rH=function(t){!rD&&t>0&&rF.start(),(rD+=t)||rF.stop()},rX=function(){function t(t,e){this.target=t,this.observedBox=e||rh.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var t,e=rz(this.target,this.observedBox,!0);return ry(t=this.target)||function(t){switch(t.tagName){case"INPUT":if("image"!==t.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(t)||"inline"!==getComputedStyle(t).display||(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),rq=function(t,e){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=e},r1=new WeakMap,r3=function(t,e){for(var i=0;ir3(r.observationTargets,e)&&(s&&rp.push(r),r.observationTargets.push(new rX(e,i&&i.box)),rH(1),rF.schedule())},t.unobserve=function(t,e){var i=r1.get(t),r=r3(i.observationTargets,e),s=1===i.observationTargets.length;r>=0&&(s&&rp.splice(rp.indexOf(i),1),i.observationTargets.splice(r,1),rH(-1))},t.disconnect=function(t){var e=this,i=r1.get(t);i.observationTargets.slice().forEach(function(i){return e.unobserve(t,i.target)}),i.activeTargets.splice(0,i.activeTargets.length)},t}(),rY=function(){function t(t){if(0===arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof t)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");r9.connect(this,t)}return t.prototype.observe=function(t,e){if(0===arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!rE(t))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");r9.observe(this,t,e)},t.prototype.unobserve=function(t){if(0===arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!rE(t))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");r9.unobserve(this,t)},t.prototype.disconnect=function(){r9.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}(),r4=function(t){return function(e,i,r,s){tO(i);var n=tA(e),a=x(n),o=ta(n.length),l=t?o-1:0,c=t?-1:1;if(r<2)for(;;){if(l in a){s=a[l],l+=c;break}if(l+=c,t?l<0:o<=l)throw TypeError("Reduce of empty array with no initial value")}for(;t?l>=0:o>l;l+=c)l in a&&(s=i(s,a[l],l,n));return s}},r7={left:r4(!1),right:r4(!0)}.left;t_({target:"Array",proto:!0,forced:tD("reduce")},{reduce:function(t){return r7(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var rG=T.f,r5=Function.prototype,r2=r5.toString,rU=/^\s*function ([^ (]*)/;!c||"name"in r5||rG(r5,"name",{configurable:!0,get:function(){try{return r2.call(this).match(rU)[1]}catch(t){return""}}});var r6,rJ,rQ=function(){var t=L(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},rK=RegExp.prototype.exec,rZ=String.prototype.replace,st=rK,se=(r6=/a/,rJ=/b*/g,rK.call(r6,"a"),rK.call(rJ,"a"),0!==r6.lastIndex||0!==rJ.lastIndex),si=void 0!==/()??/.exec("")[1];(se||si)&&(st=function(t){var e,i,r,s,n=this;return si&&(i=RegExp("^"+n.source+"$(?!\\s)",rQ.call(n))),se&&(e=n.lastIndex),r=rK.call(n,t),se&&r&&(n.lastIndex=n.global?r.index+r[0].length:e),si&&r&&r.length>1&&rZ.call(r[0],i,function(){for(s=1;s")}),sa=!l(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]}),so=function(t,e,i,r){var s=tC(t),n=!l(function(){var e={};return e[s]=function(){return 7},7!=""[t](e)}),a=n&&!l(function(){var e=!1,i=/a/;return i.exec=function(){return e=!0,null},"split"===t&&(i.constructor={},i.constructor[ss]=function(){return i}),i[s](""),!e});if(!n||!a||"replace"===t&&!sn||"split"===t&&!sa){var o=/./[s],c=i(s,""[t],function(t,e,i,r,s){return e.exec===sr?n&&!s?{done:!0,value:o.call(e,i,r)}:{done:!0,value:t.call(i,e,r)}:{done:!1}}),u=c[0],h=c[1];K(String.prototype,t,u),K(RegExp.prototype,s,2==e?function(t,e){return h.call(t,this,e)}:function(t){return h.call(t,this)}),r&&C(RegExp.prototype[s],"sham",!0)}},sl=eD.charAt,sc=function(t,e,i){return e+(i?sl(t,e).length:1)},su=function(t,e){var i=t.exec;if("function"==typeof i){var r=i.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==v(t))throw TypeError("RegExp#exec called on incompatible receiver");return sr.call(t,e)};so("match",1,function(t,e,i){return[function(e){var i=$(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,i):RegExp(e)[t](String(i))},function(t){var r=i(e,t,this);if(r.done)return r.value;var s=L(t),n=String(this);if(!s.global)return su(s,n);var a=s.unicode;s.lastIndex=0;for(var o,l=[],c=0;null!==(o=su(s,n));){var u=String(o[0]);l[c]=u,""===u&&(s.lastIndex=sc(n,ta(s.lastIndex),a)),c++}return 0===c?null:l}]});var sh=Math.max,sf=Math.min,sd=Math.floor,sp=/\$([$&'`]|\d\d?|<[^>]*>)/g,sv=/\$([$&'`]|\d\d?)/g;so("replace",2,function(t,e,i){return[function(i,r){var s=$(this),n=null==i?void 0:i[t];return void 0!==n?n.call(i,s,r):e.call(String(s),i,r)},function(t,s){var n=i(e,t,this,s);if(n.done)return n.value;var a=L(t),o=String(this),l="function"==typeof s;l||(s=String(s));var c=a.global;if(c){var u=a.unicode;a.lastIndex=0}for(var h=[];;){var f=su(a,o);if(null===f||(h.push(f),!c))break;""===String(f[0])&&(a.lastIndex=sc(o,ta(a.lastIndex),u))}for(var d,p="",v=0,g=0;g=v&&(p+=o.slice(v,$)+w,v=$+x.length)}return p+o.slice(v)}];function r(t,i,r,s,n,a){var o=r+t.length,l=s.length,c=sv;return void 0!==n&&(n=tA(n),c=sp),e.call(a,c,function(e,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return i.slice(0,r);case"'":return i.slice(o);case"<":c=n[a.slice(1,-1)];break;default:var u=+a;if(0===u)return e;if(u>l){var h=sd(u/10);return 0===h?e:h<=l?void 0===s[h-1]?a.charAt(1):s[h-1]+a.charAt(1):e}c=s[u-1]}return void 0===c?"":c})}});var sg=function(t){return Array.prototype.reduce.call(t,function(t,e){var i=e.name.match(/data-simplebar-(.+)/);if(i){var r=i[1].replace(/\W+(.)/g,function(t,e){return e.toUpperCase()});switch(e.value){case"true":case void 0:t[r]=!0;break;case"false":t[r]=!1;break;default:t[r]=e.value}}return t},{})};function sx(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}function s$(t){return t&&t.ownerDocument?t.ownerDocument:document}var sm=null,sy=null;function sb(t){if(null===sm){var e=s$(t);if(void 0===e)return sm=0;var i=e.body,r=e.createElement("div");r.classList.add("simplebar-hide-scrollbar"),i.appendChild(r);var s=r.getBoundingClientRect().right;i.removeChild(r),sm=s}return sm}tq&&window.addEventListener("resize",function(){sy!==window.devicePixelRatio&&(sy=window.devicePixelRatio,sm=null)});var sE=function(){function t(e,i){var r=this;this.onScroll=function(){var t=sx(r.el);r.scrollXTicking||(t.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(t.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0)},this.scrollX=function(){r.axis.x.isOverflowing&&(r.showScrollbar("x"),r.positionScrollbar("x")),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&(r.showScrollbar("y"),r.positionScrollbar("y")),r.scrollYTicking=!1},this.onMouseEnter=function(){r.showScrollbar("x"),r.showScrollbar("y")},this.onMouseMove=function(t){r.mouseX=t.clientX,r.mouseY=t.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this.onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.hideScrollbars=function(){r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.track.rect)||(r.axis.y.scrollbar.el.classList.remove(r.classNames.visible),r.axis.y.isVisible=!1),r.isWithinBounds(r.axis.x.track.rect)||(r.axis.x.scrollbar.el.classList.remove(r.classNames.visible),r.axis.x.isVisible=!1)},this.onPointerEvent=function(t){var e,i;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(e=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(i=r.isWithinBounds(r.axis.y.track.rect)),(e||i)&&(t.preventDefault(),t.stopPropagation(),"mousedown"===t.type&&(e&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(t,"x"):r.onTrackClick(t,"x")),i&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(t,"y"):r.onTrackClick(t,"y"))))},this.drag=function(e){var i=r.axis[r.draggedAxis].track,s=i.rect[r.axis[r.draggedAxis].sizeAttr],n=r.axis[r.draggedAxis].scrollbar,a=r.contentWrapperEl[r.axis[r.draggedAxis].scrollSizeAttr],o=parseInt(r.elStyles[r.axis[r.draggedAxis].sizeAttr],10);e.preventDefault(),e.stopPropagation();var l=(("y"===r.draggedAxis?e.pageY:e.pageX)-i.rect[r.axis[r.draggedAxis].offsetAttr]-r.axis[r.draggedAxis].dragOffset)/(s-n.size)*(a-o);"x"===r.draggedAxis&&(l=r.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?l-(s+n.size):l,l=r.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-l:l),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=l},this.onEndDrag=function(t){var e=s$(r.el),i=sx(r.el);t.preventDefault(),t.stopPropagation(),r.el.classList.remove(r.classNames.dragging),e.removeEventListener("mousemove",r.drag,!0),e.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=i.setTimeout(function(){e.removeEventListener("click",r.preventClick,!0),e.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(t){t.preventDefault(),t.stopPropagation()},this.el=e,this.minScrollbarWidth=20,this.options=Object.assign({},t.defaultOptions,{},i),this.classNames=Object.assign({},t.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,t.instances.has(this.el)||(this.recalculate=iz(this.recalculate.bind(this),64),this.onMouseMove=iz(this.onMouseMove.bind(this),64),this.hideScrollbars=i1(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=i1(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=rd(t.getRtlHelpers),this.init())}t.getRtlHelpers=function(){var e=document.createElement("div");e.innerHTML='
';var i=e.firstElementChild;document.body.appendChild(i);var r=i.firstElementChild;i.scrollLeft=0;var s=t.getOffset(i),n=t.getOffset(r);i.scrollLeft=999;var a=t.getOffset(r);return{isRtlScrollingInverted:s.left!==n.left&&n.left-a.left!=0,isRtlScrollbarInverted:s.left!==n.left}},t.getOffset=function(t){var e=t.getBoundingClientRect(),i=s$(t),r=sx(t);return{top:e.top+(r.pageYOffset||i.documentElement.scrollTop),left:e.left+(r.pageXOffset||i.documentElement.scrollLeft)}};var e=t.prototype;return e.init=function(){t.instances.set(this.el,this),tq&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.initDOM=function(){var t=this;if(Array.prototype.filter.call(this.el.children,function(e){return e.classList.contains(t.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var e=document.createElement("div"),i=document.createElement("div");e.classList.add(this.classNames.track),i.classList.add(this.classNames.scrollbar),e.appendChild(i),this.axis.x.track.el=e.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=e.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},e.initListeners=function(){var t=this,e=sx(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(e){t.el.addEventListener(e,t.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(e){t.el.addEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),e.addEventListener("resize",this.onWindowResize);var i=!1,r=e.ResizeObserver||rY;this.resizeObserver=new r(function(){i&&t.recalculate()}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),e.requestAnimationFrame(function(){i=!0}),this.mutationObserver=new e.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){var t=sx(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var e=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1,r=this.contentEl.offsetWidth,s=this.contentWrapperEl.offsetWidth,n=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var o=this.contentEl.scrollHeight,l=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=e?"auto":"100%",this.placeholderEl.style.width=i?r+"px":"auto",this.placeholderEl.style.height=o+"px";var c=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=l>r,this.axis.y.isOverflowing=o>c,this.axis.x.isOverflowing="hidden"!==n&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var u=this.axis.x.isOverflowing?this.scrollbarWidth:0,h=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&l>s-h,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&o>c-u,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},e.getScrollbarSize=function(t){if(void 0===t&&(t="y"),!this.axis[t].isOverflowing)return 0;var e,i=this.contentEl[this.axis[t].scrollSizeAttr],r=this.axis[t].track.el[this.axis[t].offsetSizeAttr];return e=Math.max(~~(r/i*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(e=Math.min(e,this.options.scrollbarMaxSize)),e},e.positionScrollbar=function(e){if(void 0===e&&(e="y"),this.axis[e].isOverflowing){var i=this.contentWrapperEl[this.axis[e].scrollSizeAttr],r=this.axis[e].track.el[this.axis[e].offsetSizeAttr],s=parseInt(this.elStyles[this.axis[e].sizeAttr],10),n=this.axis[e].scrollbar,a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],o=(a="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-a:a)/(i-s),l=~~((r-n.size)*o);l="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?l+(r-n.size):l,n.el.style.transform="x"===e?"translate3d("+l+"px, 0, 0)":"translate3d(0, "+l+"px, 0)"}},e.toggleTrackVisibility=function(t){void 0===t&&(t="y");var e=this.axis[t].track.el,i=this.axis[t].scrollbar.el;this.axis[t].isOverflowing||this.axis[t].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll"):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden"),this.axis[t].isOverflowing?i.style.display="block":i.style.display="none"},e.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},e.onMouseMoveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.rect=this.axis[t].track.el.getBoundingClientRect(),this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[t].scrollbar.rect)?this.axis[t].scrollbar.el.classList.add(this.classNames.hover):this.axis[t].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[t].track.rect)?(this.showScrollbar(t),this.axis[t].track.el.classList.add(this.classNames.hover)):this.axis[t].track.el.classList.remove(this.classNames.hover)},e.onMouseLeaveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.el.classList.remove(this.classNames.hover),this.axis[t].scrollbar.el.classList.remove(this.classNames.hover)},e.showScrollbar=function(t){void 0===t&&(t="y");var e=this.axis[t].scrollbar.el;this.axis[t].isVisible||(e.classList.add(this.classNames.visible),this.axis[t].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},e.onDragStart=function(t,e){void 0===e&&(e="y");var i=s$(this.el),r=sx(this.el),s=this.axis[e].scrollbar,n="y"===e?t.pageY:t.pageX;this.axis[e].dragOffset=n-s.rect[this.axis[e].offsetAttr],this.draggedAxis=e,this.el.classList.add(this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(t,e){var i=this;if(void 0===e&&(e="y"),this.options.clickOnTrack){var r=sx(this.el);this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect();var s=this.axis[e].scrollbar.rect[this.axis[e].offsetAttr],n=parseInt(this.elStyles[this.axis[e].sizeAttr],10),a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],o=("y"===e?this.mouseY-s:this.mouseX-s)<0?-1:1,l=-1===o?a-n:a+n;!function t(){var s,n;-1===o?a>l&&(a-=i.options.clickOnTrackSpeed,i.contentWrapperEl.scrollTo(((s={})[i.axis[e].offsetAttr]=a,s)),r.requestAnimationFrame(t)):a=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.findChild=function(t,e){var i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(t){return i.call(t,e)})[0]},t}();return sE.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},sE.instances=new WeakMap,sE.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(t){"init"===t.getAttribute("data-simplebar")||sE.instances.has(t)||new sE(t,sg(t.attributes))})},sE.removeObserver=function(){this.globalObserver.disconnect()},sE.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(sE.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"!==document.readyState&&("loading"===document.readyState||document.documentElement.doScroll)?(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements)):window.setTimeout(this.initDOMLoadedElements)},sE.handleMutations=function(t){t.forEach(function(t){Array.prototype.forEach.call(t.addedNodes,function(t){1===t.nodeType&&(t.hasAttribute("data-simplebar")?!sE.instances.has(t)&&document.documentElement.contains(t)&&new sE(t,sg(t.attributes)):Array.prototype.forEach.call(t.querySelectorAll("[data-simplebar]"),function(t){"init"!==t.getAttribute("data-simplebar")&&!sE.instances.has(t)&&document.documentElement.contains(t)&&new sE(t,sg(t.attributes))}))}),Array.prototype.forEach.call(t.removedNodes,function(t){1===t.nodeType&&("init"===t.getAttribute("data-simplebar")?sE.instances.has(t)&&!document.documentElement.contains(t)&&sE.instances.get(t).unMount():Array.prototype.forEach.call(t.querySelectorAll('[data-simplebar="init"]'),function(t){sE.instances.has(t)&&!document.documentElement.contains(t)&&sE.instances.get(t).unMount()}))})})},sE.getOptions=sg,tq&&sE.initHtmlApi(),sE});; !function(){var e={4916:function(e){void 0===TCB_Front.js_modules.menu&&TCB_Front.setModuleLoadedStatus("menu",!1),function(t,n){if(TCB_Front.isModuleLoaded("menu"))return;const o=e=>["auto","scroll","hidden"].includes(e.css("overflow")),i=100;let s;function a(e){return t(e).closest(".thrv_widget_menu")}const r={init(){tve_frontend_options.is_editor_page||r.frontendInit(),r.customMenuSwitchIcon(),s||(s=r.customMenuSwitchIcon.bind(this,!1),n.addResizeCallback(s)),r.zIndexOrder(),t(".thrv_widget_menu").each(((e,t)=>{r.addMutationListener(t)})),r.handleHiddenItems()},handleHiddenItems(){t(".thrv_widget_menu ul").each(((e,n)=>{const o=t(n),i=o.closest("li").find("> a .tve-item-dropdown-trigger"),s=this.hasVisibleItems(o);s||n.style.setProperty("display","none","important"),i.toggle(s)}))},hasVisibleItems(e){let t=!1;return e.find("> li").each(((e,n)=>{getComputedStyle(n).getPropertyValue("display").includes("none")||(t=!0)})),t},zIndexOrder(){const e=t("ul.tve_w_menu");n.highestZIndex=e.length+6;let o=n.highestZIndex;e.each((function(){this.style.zIndex=o+5;const e=t(this),n=e.closest("#content");e.find("ul").css("z-index",o+6).parent().addClass("menu-item-has-children"),e.parentsUntil("body,#wrapper,#tve_editor").each((function(){const e=t(this);let n=parseInt(e.css("z-index"));isNaN(n)&&(n=0),n=800===n&&e.is(".thrv_widget_menu")&&!e.hasClass("tve-mobile-dropdown")?o+7:Math.max(n,o+7),"static"!==e.css("position")&&(this.style.setProperty("z-index",n,"important"),this.classList.add("tcb-mp"))})),n.length&&"static"!==n.css("position")&&n.css("z-index",o+7).addClass("tcb-mp"),o--}))},frontendInit(e){const s=this;function a(e,o){const i=e.attr("href"),s=e[0]?e[0].hash:"",a=e.attr("target");if(s){let o;try{o=t(s)}catch(e){}o&&o.length&&n.jumpScrollTo(o,e[0])}a||o.ctrlKey||o.metaKey?window.open(i,a||"_blank"):location.href=i}(e=e||n.$document).off("click.menu-disable-links").on("click.menu-disable-links",".tve-active-disabled .tve_w_menu .tve-state-active",(function(e){const n=t(this).closest("li");if(!r.isHamburger(this)||!n.hasClass("menu-item-has-children"))return e.tvePreventNavigation=!0,!1})),e.off("menu_item_anchor_clicked").on("menu_item_anchor_clicked",".tve_w_menu li",(function(){const e=t(this);r.isHamburger(e)&&requestAnimationFrame((()=>{r.toggleState(e,!1)}))})),e.off("click.menu_item_click").on("click.menu_item_click",".tve_w_menu li:not(.tve-regular .tcb-mega-drop li)",(function(e){if(e.tvePreventNavigation)return!0;if(e.stopPropagation(),t(e.target).closest(".tve-regular .tcb-mega-drop").length)return!0;const n=t(this),l=n.children("a").first(),d=l[0],c=!!n.find("ul").length,u=t(e.target).closest(".tve-item-dropdown-trigger").length||t(e.clickedTarget).closest(".tve-item-dropdown-trigger").length,h=n.closest(".thrv_widget_menu").attr("class").includes("tve-custom-menu-switch-icon-"),m=n.closest(".tve_w_menu").hasClass("tve_vertical");if((h||m)&&c){if(!u&&n.hasClass("expand-children")&&function(e){const t=e.attr("href");return t&&"#"!==t&&0!==t.indexOf("javascript:")}(l))return l.hasClass("tve-jump-scroll")?l.trigger("click"):a(l,e),!1;n.toggleClass("expand-children");const t=n.find("ul").first(),r=n.hasClass("expand-children");s.hasVisibleItems(t)&&t[r?"slideDown":"slideUp"](i);const d=t.closest(".section-content,.tve-cb");if(o(d)){let e={top:"",left:"",width:""};if(r){const{top:n,left:o,width:i}=t[0].getBoundingClientRect();e={top:n,left:o,width:i},t.data("fixed-position",{top:n,scrollTop:d.scrollTop()})}t.toggleClass("fixed-menu-item",r).css(e)}return!1}if(c&&u)return!1;const g=n.children(".tve_et_click");return g.length>0?(g.trigger("click"),!0):!!l.attr("href")&&(l.hasClass("tve-jump-scroll")?(l.trigger("click"),!0):(a(l,e),void(r.isHamburger(n)&&d.pathname===window.location.pathname&&d.host===window.location.host&&d.protocol===window.location.protocol&&requestAnimationFrame((()=>{r.toggleState(n,!1)})))))})),e.off("click.prevent_navigation").on("click.prevent_navigation",".tve_w_menu li a:not(.thrv_text_element a):not(.tve-regular .tcb-mega-drop a)",(function(e){e.preventDefault()})),e.off("click.custom_menu").on("click.custom_menu",".tve-m-trigger",(function(){return r.toggleState(this),!1})),e.off("mousedown.close_menu").on("mousedown.close_menu",(e=>{t(e.target).closest(".thrv_widget_menu").length||r.closeAll()})),n.addResizeCallback(r.customMenuResponsive),n.addResizeCallback(r.mobileResponsiveToggle),r.customMenuResponsive(),r.refreshActiveStates(e),TCB_Front.$window.off("hashchange.tcb").on("hashchange.tcb",r.refreshActiveStates.bind(r,TCB_Front.$body)),r.positionLogo(e),r.mobileResponsiveToggle(),e.find(".section-content,.tve-cb").each(((e,n)=>{const i=t(n);o(i)&&i.off("scroll.menu").on("scroll.menu",(e=>{i.find(".fixed-menu-item").each(((n,o)=>{const i=t(o),s=i.data("fixed-position"),a=parseInt(s.top)+(s.scrollTop-e.currentTarget.scrollTop);i.css("top",`${a}px`)}))}))}))},mobileResponsiveToggle(){"mobile"===n.getDisplayType()?(n.$body.find(".vmd-right").attr("data-toggle-dir","vmd-right").removeClass("vmd-right").addClass("vmd-toggle"),n.$body.find(".vmd-left").attr("data-toggle-dir","vmd-left").removeClass("vmd-left").addClass("vmd-toggle")):n.$body.find(".vmd-toggle").each(((e,t)=>{const n=t.getAttribute("data-toggle-dir");n&&(t.classList.remove("vmd-toggle"),t.classList.add(n))}))},refreshActiveStates(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:TCB_Front.$body).find(".tve-custom-menu-type li > a").each((function(){if(!this.getAttribute("href")||"#"===this.getAttribute("href")||0===this.getAttribute("href").indexOf("javascript"))return;const e=t(this),n=location.protocol===this.protocol&&location.hostname===this.hostname&&location.pathname===this.pathname&&location.hash===this.hash;e.toggleClass("tve-state-active",n),e.parent().toggleClass("tve-state-active",n)}))},customMenuResponsive(){t(".tve-m-trigger:visible").length?t(".tve-m-trigger").each((function(){const e=t(this).parent().find("> ul");if(!e.data("tve-colors-added")&&e.find("ul a").attr("data-tve-custom-colour")){const n=e.find("ul a").attr("data-tve-custom-colour");e.find("> li > a").each((function(){const e=t(this);e.attr("data-tve-custom-colour")&&(e.attr("data-o-color",e.attr("data-tve-custom-colour")),e.attr("data-tve-custom-colour",n))}))}e.data("tve-colors-added",!0)})):(t(".tve-m-expanded").removeClass("tve-m-expanded"),t(".tve-m-trigger").each((function(){const e=t(this).parent().find("> ul");if(!e.data("tve-colors-added")&&e.find("> li > a").attr("data-o-color")){const t=e.find("> li > a"),n=t.attr("data-o-color");t.attr("data-tve-custom-colour",n).removeAttr("data-o-color")}e.data("tve-colors-added",!1)})))},customMenuSwitchIcon(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const o=n.getDisplayType();t(".thrv_widget_menu").each((function(){const n=t(this),i=n.attr("data-tve-allhoriz");let s=n.attr("data-tve-switch-icon"),a=!1;const l=n.data("tve-frontend-init");n.data("tve-frontend-init",!0),s||i||(s="tablet,mobile");const d=s.split(","),c=n.hasClass("tve-regular")||!l&&!n.find(".tve-m-trigger").is(":visible");if(n.removeClass("tve-custom-menu-switch-icon-desktop tve-custom-menu-switch-icon-tablet tve-custom-menu-switch-icon-mobile"),e&&n.find("ul:not(.tcb-masonry.masonry)").removeAttr("style"),d.includes(o)?n.addClass(`tve-custom-menu-switch-icon-${o}`):a=!0,n.toggleClass("tve-regular",a),n.toggleClass("tve-dropdown",!a),n.find("li.menu-item").toggleClass("tcb-menu-img-hamburger",!a),l&&a&&c)return void r.ensureOnScreenDropdown(n);n.toggleClass("tve-regular",a),n.toggleClass("tve-dropdown",!a);const u=n.find(":not(.tve-ham-wrap) > ul.tve_w_menu, .tve-ham-wrap");if(a)r.ensureRegularLogoSplit(n),n.find("ul").removeAttr("style"),n.find("li").removeClass("expand-children"),n.find(".tve-m-expanded").removeClass("tve-m-expanded"),u.removeAttr("style"),setTimeout((()=>n.find(".tcb-masonry").masonry()),1e3);else{if(r.ensureHamburgerLogoSplit(n),n.find(".tcb-masonry").each((function(){const e=t(this);e.data("masonry")&&e.masonry("destroy")})),!n.data("calc-dimensions")){n.find(".sub-menu").slideDown(0).slideUp(0).removeAttr("style"),n.data("calc-dimensions",!0);const e=u.attr("style","height: auto !important;max-height:none !important").outerHeight();u.removeAttr("style"),n.data("calc-height",e)}e?r.toggleState(n,!1):r.reposition(n)}r.ensureOnScreenDropdown(n)}))},isHamburger(e){const t=a(e);return t.length>0&&t.attr("class").includes("tve-custom-menu-switch-icon-")},isVertical(e){const t=a(e);return t.length>0&&t.find(".tve_vertical").length>0},toggleState(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i;const s=a(e),l=s.find("ul").first();let d=s.find(".tve-ham-wrap");0===d.length&&(d=l);const c=d.hasClass("tve-m-expanded");let u=!c;if(!this.hasVisibleItems(l))return s;if(void 0!==t&&(u=t),u===c)return s;if(s.hasClass("tve-mobile-side-fullscreen")&&n.$body.toggleClass("tve-fullscreen-menu",u),s.find(".tve-m-trigger").toggleClass("tve-triggered-icon",t),u&&s.parents(".tcb-mp").addBack().css("z-index",800),!s.hasClass("tve-mobile-dropdown")){if(u){if(tve_frontend_options.is_editor_page){const e=s.find(".tve-m-trigger");e.hasClass("close-offscreen-icon-available")||e.append(e.find(".tcb-icon-close").clone().removeClass("tcb-icon-close").addClass("tcb-icon-close-offscreen")).addClass("close-offscreen-icon-available ")}}else setTimeout((()=>{r.zIndexOrder()}),i);return d.toggleClass("tve-m-expanded",t).removeAttr("style"),s}if(u){d.css("display","flex");const e=this.getMenuPositionalParent(s),t=parseInt(s.data("calc-height")||"500")+"px",n=e.outerWidth(),i=this.getMenuDropdownPosition(s,d,n);d.attr("style",`visibility: visible;display: flex;margin-left: 0 !important;${i}width:${n}px !important;max-height:${t}px`),d.addClass("tve-m-expanded"),setTimeout((()=>{d.css("max-height","none")}),o)}else s.data("calc-height",d.outerHeight()),d.stop().slideUp(o,(()=>{d.removeClass("tve-m-expanded").removeAttr("style"),d.css("visibility","hidden")}));return s},getMenuDropdownPosition(e,t,o){const i=n.getDisplayType();let s=n.getMediaAttr(e,"data-dropdown-position",i);const a=e.find(".tve-m-trigger .tcb-icon-close"),r=a.offset(),l=e.offset();let d="";switch(t.is("ul")&&(t=this.getMenuPositionalParent(e),s="full"),"mobile"===i&&(s="full"),s){case"left":d=`right: ${parseInt(l.left+e.outerWidth()-r.left-a.outerWidth())}px;left: unset;`;break;case"right":d=`left: ${parseInt(r.left-l.left)}px;right:unset;`;break;case"full":d=`left:${this.getMenuPositionalParent(e).offset().left-l.left}px;`;break;default:if(void 0!==s&&1===parseInt(e.attr("data-offscreen-width-setup"))){let e=t.css("max-width");(e.includes("%")||"none"===e)&&(e=t.outerWidth()),o=Math.min(o,parseInt(e))}d=`left: ${parseInt(r.left-l.left-o/2+a.outerWidth()/2)}px;right:unset;`}return d},getMenuPositionalParent:e=>e.closest(".tve-page-section-in, #tve_editor, #wrapper, .section-content"),reposition(e){const t=a(e),n=t.find(".tve-m-expanded").first(),o=n.length>0;if(t.find(".tve-m-trigger").toggleClass("tve-triggered-icon",o&&t.attr("class").includes("tve-mobile-")),o&&t.hasClass("tve-mobile-dropdown")){const e=this.getMenuPositionalParent(t),o=parseInt(t.data("calc-height")||"500")+"px",s=e.outerWidth(),a=this.getMenuDropdownPosition(t,n,s);let r=n.css("display");"none"===r&&(r="flex"),n.attr("style",`visibility: visible;margin-left: 0 !important;${a}width:${s}px !important;max-height:${o}px;display:${r}`),setTimeout((()=>{n.css("max-height","none")}),i)}return t},closeAll(){t(".thrv_widget_menu").each(((e,t)=>{r.toggleState(t,!1)}))},positionLogo(e){(e||n.$body).find(".tcb-menu-logo-wrap").each(((e,n)=>{const o=t(n),i=o.siblings(),s=Math.floor(i.length/2);i.eq(s).before(o)}))},ensureLogoSplit(e){const t=a(e);t.hasClass("tcb-logo-split")&&(r.isHamburger(t)?r.ensureHamburgerLogoSplit(e):r.ensureRegularLogoSplit(e))},ensureHamburgerLogoSplit(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a(e).find("li.tcb-menu-logo-wrap");const o=a(e);if(n.children().length){o.find(".tcb-hamburger-logo").remove();const e=t('');e.append(n.children()),o.find(".thrive-shortcode-html").prepend(e)}},ensureRegularLogoSplit(e){const t=a(e),n=t.find(".tcb-hamburger-logo .tcb-logo"),o=t.find("li.tcb-menu-logo-wrap");n.length&&o.length&&o.empty().append(n),r.handleLogoOverflow(t)},handleLogoOverflow(e){const t=e.find("li.tcb-menu-logo-wrap");if(t.length)if(r.menuOverflows(e)){const e=t.outerHeight(!0),n=t.outerWidth();t.closest(".thrive-shortcode-html").css("padding-top",e+"px"),t.css({top:`-${e}px`,left:`calc(50% - ${Math.round(n/2)}px)`,position:"absolute"})}else t.removeAttr("style"),t.closest(".thrive-shortcode-html").css("padding-top","");else e.find(".thrive-shortcode-html").css("padding-top","")},menuOverflows(e){let n=0;return e.find(".tve_w_menu > li").each((function(){n+=t(this).outerWidth(!0)})),n>e.parent().width()-5},addMutationListener(e){const t=a(e);let o;const i=()=>{cancelAnimationFrame(o),o=requestAnimationFrame(r.handleLogoOverflow.bind(this,t))};if(window.ResizeObserver){const e=t.find("ul.tve_w_menu")[0];if(!e)return;const o=new ResizeObserver(i);if(!t.data("resize-observer")){o.observe(e),t.data("resize-observer",o);const n=new MutationObserver((e=>{Array.from(e).forEach((e=>{e.target.classList.contains("tcb-menu-logo-wrap")||"UL"===e.target.tagName&&"childList"===e.type&&e.addedNodes.length&&Array.from(e.addedNodes).forEach((e=>n.observe(e,{attributes:!0})))})),t.hasClass("tve-regular")&&i()}));t.find(".tve_w_menu > li:not(.tcb-menu-logo-wrap)").each(((e,t)=>{n.observe(t,{attributes:!0})}))}const s=t.find("li.tcb-menu-logo-wrap");if(s.length&&!s.data("resize-observer")&&(s.data("resize-observer",o),o.observe(s[0])),t.hasClass("tcb-mega-std")&&!t.data("mega-resize-observer")){let e;const o=new ResizeObserver((()=>{cancelAnimationFrame(e),e=requestAnimationFrame(r.handleMegaMenuPosition.bind(this,t))}));t.find(".tcb-mega-drop").each(((e,t)=>{n.inlineCssVariable(t,"top","var(--mega-menu-top,100%)")})),o.observe(t[0]),t.data("mega-resize-observer",o)}}},handleMegaMenuPosition(e){const t=e.find(".tve_w_menu");if(t.length){const o=e[0].getBoundingClientRect().bottom,i=getComputedStyle(t[0]),s=parseInt(i.getPropertyValue("border-bottom-width"));e.find(".menu-item.menu-item-has-children.lvl-0").each(((e,t)=>{const i=t.getBoundingClientRect().bottom,a=o-i-s;a>0?n.inlineCssVariable(t,"--mega-menu-top",`calc(100% - ${a}px)`):n.inlineCssVariable(t,"--mega-menu-top","")}))}},ensureOnScreenDropdown(e){const o=a(e),i=o.hasClass("tve-regular"),s=o.hasClass("tve-vertical-menu"),r=o.offset().left+o.outerWidth();o.find("li:last-child > ul").each(((e,n)=>{const o=t(n),s=o.offset().left+o.outerWidth();Math.ceil(s-r)>=0&&i&&s li li").each(((e,t)=>{let o;s&&(o=t.parentNode.closest("li"),o&&o.classList.add("expand-children"));const a=t.getBoundingClientRect();let r=parseFloat(t.getAttribute("data-init-width"));if(r||(r=a.width,t.setAttribute("data-init-width",r)),r+a.left>document.body.offsetWidth){const e=document.body.offsetWidth-a.left,o=r-e;i&&r>e&&n.inlineCssVariable(t.parentNode,{left:`calc(100% - ${o}px)`})}else n.inlineCssVariable(t,{"max-width":"","min-width":""});o&&o.classList.remove("expand-children")})):o.find(".tve_w_menu > li li").each(((e,t)=>{n.inlineCssVariable(t,{"max-width":"","min-width":""})}))}};t(window).on("tcb_after_dom_ready",(()=>r.init())),window.addEventListener("load",(()=>r.init())),window.TCB_Front.menu=r,e.exports=r,TCB_Front.setModuleLoadedStatus("menu",!0)}(ThriveGlobal.$j,TCB_Front)}},t={};!function n(o){var i=t[o];if(void 0!==i)return i.exports;var s=t[o]={exports:{}};return e[o](s,s.exports,n),s.exports}(4916)}();; !function(){var t={94698:function(t,e,o){((e,n)=>{const s=o(47617),a=o(90333),i={init:()=>{TCB_Front.Utils.isEditorPage()||(e(".thrv_social.thrv_social_custom").each(((t,o)=>i.initUI(e(o)))),i.initButtons(),e("body").on("click",".thrv_social_custom:not(.thrv_social_follow) .tve_s_item",(function(){const t=e(this),o=t.attr("data-s");a[o]&&a[o](t)})),e(".thrv_social_follow").each(((t,o)=>{let n=!0;e(o).find(".tve_s_item").each(((t,o)=>{const s=e(o);s.find("a").attr("href")?n=!1:s.hide()})),n&&o.style.setProperty("display","none","important")}))),s.initShareCounts()},initUI:t=>{const e=n.Utils.jsonParse(t,"data-device-config"),o=n.getDisplayType();if(e[o]){const n=e[o],s=n.button_type||"tve_social_itb",a=1===parseInt(n.isFullWidth),i=n.showCount,r=1===parseInt(n.isVertical),c=t.find(".tve_social_items").attr("class").replace(/(tve_social_items|tve_social_custom)/g,"").match(/(\s+)?tve_social_([a-z]{2,3})/),d=c?"tve_social_"+c[2]:"tve_social_itb";d!==s&&t.find(".tve_social_items").removeClass(d).addClass(s),a&&t.toggleClass("tcb-social-full-width",a),0===parseInt(i)&&t.find(".tve_s_share_count").remove(),n.isVertical&&t.toggleClass("tcb-social-vertical",r)}},initButtons:()=>{window.FB&&setTimeout((function(){e(".thrv_social_default .tve_s_fb_share, .thrv_social_default .tve_s_fb_like").each((function(){FB.XFBML.parse(this)}))}),200)}};window.TCB_Front.onSocialCustomClick=a,t.exports=i})(ThriveGlobal.$j,TCB_Front)},90333:function(t){const e={wnd(t,e,o){const n=void 0!==window.screenLeft?window.screenLeft:screen.left,s=void 0!==window.screenTop?window.screenTop:screen.top;let a,i;a=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,i=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height;const r=a/2-e/2+n,c=i/2-o/2+s,d=window.open(t,"Thrive Share","scrollbars=yes,resizable=yes,toolbar=no,menubar=no,scrollbars=no,location=no,directories=no,width="+e+", height="+o+", top="+c+", left="+r);return window.focus&&d.focus(),d},fb_share(t){const o=t.data();if(o.href||(o.href=location.href),o.type&&"feed"!==o.type)e.wnd("https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(o.href),650,500);else{let t="";o.name&&(t+="&title="+encodeURIComponent(o.name)),o.description&&(t+="&description="+encodeURIComponent(o.description)),o.href&&(t+="&u="+encodeURIComponent(o.href)),o.caption&&(t+="&caption="+encodeURIComponent(o.caption)),o.image&&(t+="&picture="+encodeURIComponent(o.image)),t="?"+t.substr(1),e.wnd("https://www.facebook.com/sharer.php"+t,650,500)}return!1},t_share(t){const o=t.data();o.href||(o.href=location.href),e.wnd("https://twitter.com/intent/tweet?url="+encodeURIComponent(o.href)+(o.tweet?"&text="+encodeURIComponent(o.tweet):"")+(o.via?"&via="+o.via:""),550,450)},x_share(t){const o=t.data();o.href||(o.href=location.href),e.wnd("https://twitter.com/intent/tweet?url="+encodeURIComponent(o.href)+(o.post?"&text="+encodeURIComponent(o.post):"")+(o.via?"&via="+o.via:""),550,450)},in_share(t){const o=t.data();o.href||(o.href=location.href),e.wnd("https://www.linkedin.com/shareArticle?mini=true&url="+encodeURIComponent(o.href),550,400)},pin_share(t){const o=t.data();o.href||(o.href=location.href),e.wnd("https://pinterest.com/pin/create/button/?url="+encodeURIComponent(o.href)+(o.media?"&media="+encodeURIComponent(o.media):"")+(o.description?"&description="+encodeURIComponent(o.description):""),600,600)},xing_share(t){const o=t.data();o.href||(o.href=location.href),e.wnd("https://www.xing.com/spi/shares/new?url="+encodeURIComponent(o.href),600,500)}};t.exports=e},47617:function(t){(e=>{const o={initShareCounts:()=>{!window.TVE_Dash||TVE_Dash.ajax_sent?o.getShareCounts():TCB_Front.$document.on("tve-dash.load",(function(){const t=o.getShareCounts(e("body"),{},!0);t&&TVE_Dash.add_load_item("tcb_social",t[0],t[1])}))},getShareCounts:(t,o,n)=>{const s=(t=t||e("body")).find(".tve_social_items.tve_social_custom");if(!s.length)return;const a={action:"tve_social_count",for:[]};if(void 0!==o?e.each(o,(function(t,e){a[t]=e})):"undefined"!=typeof tve_path_params&&tve_path_params.post_id&&(a.post_id=tve_path_params.post_id),s.each((function(t){const o=e(this),n={};if(o.data("tve-social-counts")||!o.hasClass("tve_social_cb")&&"1"!==o.parent().attr("data-counts"))return void o.data("tve-social-counts",1);o.data("tve-social-counts",1);const s=o.prev(".tve_s_share_count"),i=o.children(".tve_s_item").each((function(){const t=e(this).addClass("tve_count_loading");n[t.attr("data-s")]=t.attr("data-href")}));if(n.hasOwnProperty("t_share")&&1===i.length)return i.removeClass("tve_count_loading"),s.remove(),void o.parent().removeAttr("data-counts");a.for[t]=n})),!a.for.length)return null;TCB_Front.total_share_counts={};const i=function(t){t&&t.counts&&t.totals&&s.each((function(o){const n=e(this),s=n.prev(".tve_s_share_count"),a=n.children(".tve_s_item");e.each(t.counts[o],(function(t,e){a.filter(".tve_s_"+t).find(".tve_s_count").html(e.formatted)})),a.removeClass("tve_count_loading");let i=s.length?window.getComputedStyle(s[0]).display:"flex";if(t.totals&&t.totals[o]&&"1"===n.parent().attr("data-counts")){let e=parseInt(n.parent().attr("data-minShares"));e=isNaN(e)?0:e,s.find(".tve_s_cnt").html(t.totals[o].formatted),parseInt(tve_frontend_options.is_editor_page)||(i=e{if(TCB_Front.isModuleLoaded("social-share"))return;const e=o(94698);t(window).on("tcb_after_dom_ready",(()=>e.init())),TCB_Front.setModuleLoadedStatus("social-share",!0)})(ThriveGlobal.$j)}();;