'),glareelementwrapper=t(this).find(".js-tilt-glare"),glareelement=t(this).find(".js-tilt-glare-inner"),!e){var i={position:"absolute",top:"0",left:"0",width:"100%",height:"100%"};css(i).css({overflow:"hidden","pointer-events":"none"}),css({position:"absolute",top:"50%",left:"50%","background-image":"linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%)",width:""+2*t(this).outerWidth(),height:""+2*t(this).outerWidth(),transform:"rotate(180deg) translate(-50%, -50%)","transform-origin":"0% 0%",opacity:"0"})}},d=function(){css({width:""+2*t(this).outerWidth(),height:""+2*t(this).outerWidth()})};return destroy=function(){t(this).each((function(){t(this).find(".js-tilt-glare").remove(),t(this).css({"will-change":"",transform:""}),t(this).off("mousemove mouseenter mouseleave")}))},getvalues=function(){var e=[];return t(this).each((function(){mousepositions=call(this),push(call(this))})),e},reset=function(){t(this).each((function(){var e=this;mousepositions=call(this),settings=t(this).data("settings"),call(this),setTimeout((function(){reset=!1}),transition)}))},each((function(){var i=this;settings=extend({maxTilt:t(this).is("[data-tilt-max]")?t(this).data("tilt-max"):20,perspective:t(this).is("[data-tilt-perspective]")?t(this).data("tilt-perspective"):300,easing:t(this).is("[data-tilt-easing]")?t(this).data("tilt-easing"):"cubic-bezier(.03,.98,.52,.99)",scale:t(this).is("[data-tilt-scale]")?t(this).data("tilt-scale"):"1",speed:t(this).is("[data-tilt-speed]")?t(this).data("tilt-speed"):"400",transition:!t(this).is("[data-tilt-transition]")||t(this).data("tilt-transition"),disableAxis:t(this).is("[data-tilt-disable-axis]")?t(this).data("tilt-disable-axis"):null,axis:t(this).is("[data-tilt-axis]")?t(this).data("tilt-axis"):null,reset:!t(this).is("[data-tilt-reset]")||t(this).data("tilt-reset"),glare:!!t(this).is("[data-tilt-glare]")&&t(this).data("tilt-glare"),maxGlare:t(this).is("[data-tilt-maxglare]")?t(this).data("tilt-maxglare"):1},e),null!==axis&&(warn("js: the axis setting has been renamed to disableAxis. See https://github/gijsroge/js/pull/26 for more information"),disableaxis=axis),init=function(){t(i).data("settings",settings),glare&&call(i),call(i)},init()}))},t("[data-tilt]").tilt(),!0},(s="function"==typeof n?apply(e,o):n)===undefined||(exports=s)},244:function(t,e,i){var n,o,s,r;function a(t){return a="function"==typeof Symbol&&"symbol"==typeof iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&constructor===Symbol&&t!==prototype?"symbol":typeof t},a(t)}r=function(t,e,i){"use strict";function n(t,e){for(var i=0;i0?i:null}catch(t){return null}},reflow:function(t){return offsetheight},triggerTransitionEnd:function(i){t(i).trigger(end)},supportsTransitionEnd:function(){return Boolean(e)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var o in n)if(call(n,o)){var s=n[o],r=e[o],a=r&&iselement(r)?"element":(h=r,{}call(h).match(/\s([a-zA-Z]+)/)[1].toLowerCase());if(!new RegExp(s).test(a))throw new Error(touppercase()+': Option "'+o+'" provided type "'+a+'" but expected type "'+s+'".')}var h}};return e=("undefined"==typeof window||!qunit)&&{end:"transitionend"},emulatetransitionend=function(e){var n=this,o=!1;return t(this).one(transition_END,(function(){o=!0})),setTimeout((function(){o||triggertransitionend(n)}),e),this},supportstransitionend()&&(special[transition_END]={bindType:end,delegateType:end,handle:function(e){if(t(target).is(this))return apply(this,arguments)}}),i}(e),h=function(t){var e="collapse",i="collapse",n=fn[e],h={toggle:!0,parent:""},l={toggle:"boolean",parent:"(string|element)"},c="collapse",u="collapse",d="collapse",f="collapse",p="data-api",m="show",g="collapse",v="collapsing",y="collapsed",_="width",w=".show, .collapsing",b='[data-ekit-toggle="collapse"]',x=function(){function n(e,i){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(i),this._triggerArray=makearray(t('[data-ekit-toggle="collapse"][href="#'+id+'"],[data-ekit-toggle="collapse"][data-target="#'+id+'"]'));for(var n=t(b),o=0;o0&&(this._selector=a,push(s))}this._parent=parent?this._getParent():null,parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),toggle&&toggle()}var p=prototype;return toggle=function(){t(this._element).hasClass(m)?hide():show()},show=function(){var e,o,s=this;if(!(this._isTransitioning||t(this._element).hasClass(m)||(this._parent&&0===(e=makearray(t(this._parent).find(w).filter('[data-parent="'+parent+'"]'))).length&&(e=null),e&&(o=t(e).not(this._selector).data(i))&&o._isTransitioning))){var a=event(c);if(t(this._element).trigger(a),!isdefaultprevented()){e&&(call(t(e).not(this._selector),"hide"),o||t(e).data(i,null));var h=this._getDimension();t(this._element).removeClass(g).addClass(v),style[h]=0,length>0&&t(this._triggerArray).removeClass(y).attr("aria-expanded",!0),settransitioning(!0);var l=function(){t(s._element).removeClass(v).addClass(g).addClass(m),style[h]="",settransitioning(!1),t(s._element).trigger(u)};if(supportstransitionend()){var d="scroll"+(h[0].toUpperCase()+slice(1));t(this._element).one(transition_END,l).emulateTransitionEnd(600),style[h]=this._element[d]+"px"}else l()}}},hide=function(){var e=this;if(!this._isTransitioning&&t(this._element).hasClass(m)){var i=event(d);if(t(this._element).trigger(i),!isdefaultprevented()){var n=this._getDimension();if(style[n]=getboundingclientrect()[n]+"px",reflow(this._element),t(this._element).addClass(v).removeClass(g).removeClass(m),length>0)for(var o=0;o0&&t(i).toggleClass(y,!n).attr("aria-expanded",n)}},n._getTargetFromElement=function(e){var i=getselectorfromelement(e);return i?t(i)[0]:null},n._jQueryInterface=function(e){return each((function(){var o=t(this),r=data(i),l=s({},h,data(),"object"==a(e)&&e);if(!r&&toggle&&/show|hide/.test(e)&&(toggle=!1),r||(r=new n(this,l),data(i,r)),"string"==typeof e){if(void 0===r[e])throw new TypeError('No method named "'+e+'"');r[e]()}}))},o(n,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return h}}]),n}();return t(document).on(p,b,(function(e){"A"===tagname&&preventdefault();var n=t(this),o=getselectorfromelement(this);t(o).each((function(){var e=t(this),o=data(i)?"toggle":data();call(e,o)}))})),fn[e]=x._jQueryInterface,fn[e].Constructor=x,fn[e].noConflict=function(){return fn[e]=n,x._jQueryInterface},x}(e),l=function(t){var e=tab,i="tab",n="tab",s="tab",a="tab",h="data-api",l="active",c="show",u=".active",d="> li > .active",f=function(){function e(t){this._element=t}var h=prototype;return show=function(){var e=this;if(!(parentnode&&nodetype===element_NODE&&t(this._element).hasClass(l)||t(this._element).hasClass("disabled"))){var o,h,c=t(this._element).closest(".nav, .list-group")[0],f=getselectorfromelement(this._element);if(c){var p="UL"===nodename?d:u;h=(h=makearray(t(c).find(p)))[length-1]}var m=event(i,{relatedTarget:this._element}),g=event(s,{relatedTarget:h});if(h&&t(h).trigger(m),t(this._element).trigger(g),!isdefaultprevented()&&!isdefaultprevented()){f&&(o=t(f)[0]),this._activate(this._element,c);var v=function(){var i=event(n,{relatedTarget:e._element}),o=event(a,{relatedTarget:h});t(h).trigger(i),t(e._element).trigger(o)};o?this._activate(o,parentnode,v):v()}}},dispose=function(){removedata(this._element,"tab"),this._element=null},h._activate=function(e,i,n){var o=this,s=("UL"===nodename?t(i).find(d):t(i).children(u))[0],a=n&&supportstransitionend()&&s&&t(s).hasClass("fade"),h=function(){return o._transitionComplete(e,s,n)};s&&a?t(s).one(transition_END,h).emulateTransitionEnd(150):h()},h._transitionComplete=function(e,i,n){if(i){t(i).removeClass(c+" "+l);var o=t(parentnode).find("> .dropdown-menu .active")[0];o&&t(o).removeClass(l),"tab"===getattribute("role")&&setattribute("aria-selected",!1)}if(t(e).addClass(l),"tab"===getattribute("role")&&setattribute("aria-selected",!0),reflow(e),t(e).addClass(c),parentnode&&t(parentnode).hasClass("dropdown-menu")){var s=t(e).closest(".dropdown")[0];s&&t(s).find(".dropdown-toggle").addClass(l),setattribute("aria-expanded",!0)}n&&n()},e._jQueryInterface=function(i){return each((function(){var n=t(this),o=data("tab");if(o||(o=new e(this),data("tab",o)),"string"==typeof i){if(void 0===o[i])throw new TypeError('No method named "'+i+'"');o[i]()}}))},o(e,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),e}();return t(document).on(h,'[data-ekit-toggle="tab"], [data-ekit-toggle="pill"], [data-ekit-toggle="list"]',(function(e){preventdefault(),call(t(this),"show")})),tab=f._jQueryInterface,constructor=f,noconflict=function(){return tab=e,f._jQueryInterface},f}(e);!function(t){if(void 0===t)throw new TypeError("Ekit Prefixed Bootstrap's JavaScript requires jQuery. jQuery must be included before Ekit Prefixed Bootstrap's JavaScript.");var e=split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw new Error("Ekit Prefixed UI's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(e),util=r,collapse=h,tab=l,defineproperty(t,"__esModule",{value:!0})},"object"==a(e)?r(e,i(669)):(o=[e,i(669)],(s="function"==typeof(n=r)?apply(e,o):n)===undefined||(exports=s))},669:function(t){"use strict";exports=jQuery}},e={};function i(n){var o=e[n];if(o!==undefined)return exports;var s=e[n]={exports:{}};return t[n].call(exports,s,exports,i),exports}i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&defineproperty(t,n,{enumerable:!0,get:e[n]})},i.o=function(t,e){return call(t,e)},function(){"use strict";i(6),i(683),i(209),i(828),i(213),i(491),i(846),i(795),i(827),i(321),i(123),i(33),i(244),i(160),i(444)}()}();
(()=>{(function(e){"use strict";if(type==="link"){let p=function(a,t,r){var i=attr("alt"),l=split(/\s+/),n="";log(l),each(l,function(c,w){match(/postid-/gi)&&(n=replace("postid-","",w))});var s=new URL(r);set("referrer",n),tostring();var d=attr("class");wrap(''),parent(".wpa-ld").addClass(d),attr("alt","").attr("class",""),parent(".wpa-ld").append('Description of'+i+"")},o=function(a){var t=attr("class").replace("wp-image-",""),r=url+"/"+t;get(r).done(function(i){var l={attachment:i},n=rendered;if(n=replace(/(<([^>]+)>)/gi,"").trim(),n!==""){var s=new URL(link);set("longdesc",t),tostring(),p(a,t,s)}}).fail(function(){log("cannot load media for longdesc on "+t)})};e("img[longdesc]").each(function(){var a=e(this).attr("longdesc"),t=e(this).attr("alt"),r=e(this).attr("class");e(this).wrap(''),e(this).parent(".wpa-ld").addClass(r),e(this).attr("alt","").attr("class",""),e(this).parent(".wpa-ld").append('Description of'+t+"")}),e("is-style-longdesc").each(function(){var a=e(this).find("img");o(a)})}else{let p=function(a,t,r,i){var l=attr("class");attr("class","").attr("longdesc",r),attr("id","longdesc-return-"+t),wrap(''),parent(".wpa-ld").addClass(l),parent(".wpa-ld").append('"),parent(".wpa-ld").append('');var n=parent(".wpa-ld").children(".longdesc");hide(),load(r+" #desc_"+t,{limit:25},function(s,d,c){d==="error"&&html(i)}),parent(".wpa-ld").children("button").on("click",function(s){preventdefault();var d=is(":visible");d?(e(this).attr("aria-expanded","false"),hide()):(e(this).attr("aria-expanded","true"),show(150))})},o=function(a){var t=attr("class");t===""&&(t=parent(".wpa-alt").attr("class").replace("wpa-alt ",""));var r=replace("wp-image-",""),i=url+"/"+r;get(i).done(function(l){var n={attachment:l},s=rendered;if(s=replace(/(<([^>]+)>)/gi,"").trim(),s!==""){var d=new URL(link);set("longdesc",r),tostring(),p(a,r,d,s)}}).fail(function(){log("cannot load media for longdesc on "+r)})};e("img[longdesc]").each(function(){var a=e(this).attr("longdesc"),t=e(this),r=attr("class"),i=attr("class").match(/\S+/g),l="";if(each(i,function(d,c){match(/wp-image-/gi)&&(l=c)}),l===""){var n=attr("id");l=replace("longdesc-return-","")}attr("class",""),wrap(''),parent(".wpa-ld").addClass(r),parent(".wpa-ld").append('"),parent(".wpa-ld").append('');var s=parent(".wpa-ld").children(".longdesc");hide(),load(a+" #desc_"+l),parent(".wpa-ld").children("button").on("click",function(d){var c=is(":visible");c?(e(this).attr("aria-expanded","false"),hide()):(e(this).attr("aria-expanded","true"),show(150))})}),e("is-style-longdesc").each(function(){var a=e(this).find("img");o(a)})}})(jQuery);})();
;
(()=>{(function(t){"use strict";var l=queryselector("html"),r=[];if(lang){var d=getattribute("lang");d||(t("html").attr("lang",lang),(errors||tracking)&&(push("html-lang"),log("HTML language set by WP Accessibility")))}if(dir){var T=getattribute("dir");T||(t("html").attr("dir",dir),(errors||tracking)&&(push("html-lang-direction"),log("HTML language direction set by WP Accessibility")))}var p=queryselector('meta[name="viewport"]');if(p){var f=getattribute("content"),u=getattribute("content");search(/user-scalable=no/g)&&(u=replace("user-scalable=no","user-scalable=yes"),setattribute("content",u),(errors||tracking)&&u!=f&&(push("viewport-scalable"),log("Viewport made scalable by WP Accessibility"))),search(/maximum-scale=1/g)&&(u=replace("maximum-scale=1","maximum-scale=5"),u=replace("maximum-scale=0","maximum-scale=5"),setattribute("content",u),(errors||tracking)&&u!=f&&(push("viewport-maxscale"),log("Viewport maximum scale set by WP Accessibility")))}if(enabled&&(t("body").prepend(output),(errors||tracking)&&(push("skiplinks"),log("Skip links added by WP Accessibility"))),current&&(t(function(){t(".current-menu-item a, .current_page_item a").attr("aria-current","page")}),(errors||tracking)&&(push("aria-current"),log("ARIA current added by WP Accessibility"))),labels){var S=["s","author","email","url","comment"];each(S,function(i,a){if(a=="comment")var e=t("textarea[name="+a+"]");else var e=t("input[name="+a+"]").not("#adminbar-search");if(length!==0){var s=attr("id"),o=t(e).parent("label"),c=t(e).attr("aria-label"),n=t(e).attr("aria-labelledby"),b={};n&&(b=t("#"+n));var W=!(c==""||typeof c>"u"),g=!(n==""||typeof n>"u");if(!W&&!g||!W&&g&&length===0)if(s){var w=t("label[for="+s+"]"),j=text();length&&!j&&(text(wpalabels[a]),(errors||tracking)&&(push(["empty-label",wpalabels[a]]),log("Empty label on "+wpalabels[a]+" added by WP Accessibility"))),!length&&!length&&(before(""),(errors||tracking)&&(push(["explicit-label",wpalabels[a]]),log("Explicit label on "+wpalabels[a]+" added by WP Accessibility")))}else length||(attr("id","wpa_label_"+a).before(""),(errors||tracking)&&(push(["implicit-label",wpalabels[a]]),log("Implicit label on "+wpalabels[a]+" added by WP Accessibility")))}})}if(titles){var m=0,h=0,y=0;let i=!1;queryselectorall("img, a, input, textarea, select, button").forEach(e=>{var s=getattribute("title");if(contains("nturl")&&(i=!0),s&&s!=="")switch(tagname){case"IMG":var o=getattribute("alt");(!o||o==="")&&setattribute("alt",s),removeattribute("title"),m++;break;case"A":case"BUTTON":var c=v(e);if(!c||c===""){var n=getattribute("aria-label");(!n||n==="")&&(setattribute("aria-label",s),i||removeattribute("title"))}else removeattribute("title");h++;break;case"INPUT":case"SELECT":case"TEXTAREA":var n=getattribute("aria-label"),b=getattribute("aria-labelledby"),W=b?getelementbyid(b):!1,g=getattribute("id"),w=g?queryselector('label[for="'+g+'"]'):!1,j=closest("label"),U=!!(n&&n!==""),V=!!(w&&v(w)!==""),F=!!(j&&v(j)!==""),H=!!(W&&v(arialabeller)!=="");U||V||F||H||setattribute("aria-label",s),removeattribute("title"),y++;break}}),(errors||tracking)&&(m>0&&(push(["images-titles",m]),log(m+" title attributes removed from images by WP Accessibility")),h>0&&(push(["control-titles",h]),log(h+" title attributes removed from links and buttons by WP Accessibility")),y>0&&(push(["input-titles",y]),log(y+" title attributes removed from input fields by WP Accessibility")))}if(target){var q=t("a:not(.wpa-allow-target)"),x=0;each(function(){var i=t(this).attr("target"),a=t(this).attr("href");if(i)try{var e=new URL(a),s=hostname;includes("facebook")||(t(this).removeAttr("target"),x++)}catch(o){}}),x>0&&(errors||tracking)&&(push(["link-targets",x]),log(x+" target attributes removed from links by WP Accessibility"))}if(tabindex){var N=t("input,a,select,textarea,button").not("a:not([href])"),A=0;each(function(){var i=t(this).attr("tabindex");i&&(t(this).removeAttr("tabindex"),A++)}),A>0&&(errors||tracking)&&(push(["control-tabindex",A]),log(A+" tabindex attributes removed from links, buttons and inputs by WP Accessibility"));var k=t('div[role="button"]').not("div[tabindex]"),P=t('a[role="button"]').not("a[tabindex],a[href]");attr("tabindex","0").addClass("wpa-focusable"),length>0&&(errors||tracking)&&(push(["button-add-tabindex",length]),log(length+" tabindex attributes added to divs with the button role by WP Accessibility")),attr("tabindex","0").addClass("wpa-focusable"),length>0&&(errors||tracking)&&(push(["link-add-tabindex",length]),log(length+" tabindex attributes added to anchor elements with the button role and no href value by WP Accessibility"))}var _=new Fingerprint().get();if(url!=="disabled"&&(t(".toggle-contrast").on("click",function(i){if(t(this).attr("id")=="is_normal_contrast")var a={contrast:"disabled"};else var a={contrast:"enabled"};var e={action:action,security:security,stats:a,post_id:post_id,title:_,type:"event"};post(ajaxurl,e,function(){},"json")}),t(".toggle-fontsize").on("click",function(i){if(t(this).attr("id")=="is_normal_fontsize")var a={fontsize:"disabled"};else var a={fontsize:"enabled"};var e={action:action,security:security,stats:a,post_id:post_id,title:_,type:"event"};post(ajaxurl,e,function(){},"json")}),O(".wpa-ld button").then(i=>{t(".wpa-ld button").on("click",function(a){var e=t(this).attr("aria-expanded")==="true";if(e){var s=t(this).parent("div"),o=attr("class").replace("wpa-ld wp-image-",""),c={longdesc:o},n={action:action,security:security,stats:c,post_id:post_id,title:_,type:"event"};post(ajaxurl,n,function(b){log(b)},"json")}})}),t(".wpa-alt button").on("click",function(i){var a=t(this).attr("aria-expanded")==="true";if(a){var e=t(this).parent("div");log(e);var s=attr("class").replace("wpa-alt wp-image-",""),o={alttext:s},c={action:action,security:security,stats:o,post_id:post_id,title:_,type:"event"};post(ajaxurl,c,function(n){log(n)},"json")}}),tracking&&length>=1)){var C={action:action,security:security,stats:r,post_id:post_id,title:url,type:"view"};post(ajaxurl,C,function(i){log(i)},"json")}if(enabled){var E=t(target).css("outline-width"),z=t(target).css("outline-offset"),L=t(target).css("color"),M=t(target).css("outline-color");t(target).not("nav "+target).css("text-decoration","underline"),t(target).on("mouseenter",function(){t(this).css("text-decoration","none")}),t(target).on("mouseleave",function(){t(this).css("text-decoration","underline")}),t(target).on("focusin",function(){var i="2px";E=="2px"&&(i="4px"),t(this).css("outline-width",i),t(this).css("outline-color",L),t(this).css("outline-offset","2px")}),t(target).on("focusout",function(){t(this).css("outline-width",E),t(this).css("outline-color",M),t(this).css("outline-offset",z)})}})(jQuery);function v(t){var l="";if(nodetype===3||nodetype===4)l=nodevalue;else if(nodetype===1&&(tolowercase()=="img"||tolowercase()=="area"||tolowercase()=="input"&&getattribute("type")&&getattribute("type").toLowerCase()=="image"))l=getattribute("alt")||"";else if(nodetype===1&&!match(/^(script|style)$/i))for(var r=childnodes,d=0,T=length;d{if(queryselector(t))return l(queryselector(t));let r=new MutationObserver(d=>{queryselector(t)&&(disconnect(),l(queryselector(t)))});observe(body,{childList:!0,subtree:!0})})}})();
;
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(exports,o,exports,r),o.l=!0,exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||defineproperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&tostringtag&&defineproperty(e,tostringtag,{value:"Module"}),defineproperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=create(null);if(r.r(n),defineproperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return call(e,t)},r.p="",r(r.s=101)}({101:function(e,t,r){"use strict";r.r(t);var n=function(e){return"string"!=typeof e||""===e?(error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var o=function(e){return"string"!=typeof e||""===e?(error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var i=function(e,t){return function(r,i,a){var s=length>3&&void 0!==arguments[3]?arguments[3]:10,l=e[t];if(o(r)&&n(i))if("function"==typeof a)if("number"==typeof s){var c={callback:a,priority:s,namespace:i};if(l[r]){var u,d=l[r].handlers;for(u=length;u>0&&!(s>=d[u-1].priority);u--);u===length?d[u]=c:splice(u,0,c),foreach((function(e){name===r&¤tindex>=u&¤tindex++}))}else l[r]={handlers:[c],runs:0};"hookAdded"!==r&&doaction("hookAdded",r,i,a,s)}else error("If specified, the hook priority must be a number.");else error("The hook callback must be a function.")}};var a=function(e,t){var r=length>2&&void 0!==arguments[2]&&arguments[2];return function(i,a){var s=e[t];if(o(i)&&(r||n(a))){if(!s[i])return 0;var l=0;if(r)l=s[i]length,s[i]={runs:s[i].runs,handlers:[]};else for(var c=s[i].handlers,u=function(e){c[e].namespace===a&&(splice(e,1),l++,foreach((function(t){name===i&¤tindex>=e&¤tindex--})))},d=length-1;d>=0;d--)u(d);return"hookRemoved"!==i&&doaction("hookRemoved",i,a),l}}};var s=function(e,t){return function(r,n){var o=e[t];return void 0!==n?r in o&&o[r]some((function(e){return namespace===n})):r in o}};var l=function(e,t){var r=length>2&&void 0!==arguments[2]&&arguments[2];return function(n){var o=e[t];o[n]||(o[n]={handlers:[],runs:0}),o[n].runs++;var i=o[n].handlers;for(var a=length,s=new Array(a>1?a-1:0),l=1;l0){var s=data("custom-id-offset");s=s?parseFloat(s):0,e("html, body").animate({scrollTop:e(o).offset().top-s},300)}}}catch(e){}})),e(document).on("click",".e-n-tab-title",(function(){setTimeout((function(){dispatchevent(new Event("resize"))}),100)}))}(jQuery),(b=jQuery)(document).on("click",".theme-savoy .eael-product-popup .nm-qty-minus, .theme-savoy .eael-product-popup .nm-qty-plus",(function(e){var t=b(this),r=closest(".quantity").find(".qty"),n=parseFloat(val()),o=parseFloat(attr("max")),i=parseFloat(attr("min")),a=attr("step");n&&""!==n&&"NaN"!==n||(n=0),""!==o&&"NaN"!==o||(o=""),""!==i&&"NaN"!==i||(i=0),"any"!==a&&""!==a&&void 0!==a&&"NaN"!==parseFloat(a)||(a=1),hasclass("nm-qty-plus")?o&&(o==n||n>o)?val(o):val(n+parseFloat(a)):i&&(i==n||n0&&val(n-parseFloat(a))})),function(e){isinviewport=function(){if(e(this).length<1)return!1;var t=e(this).offset().top,r=t+e(this).outerHeight()/2,n=e(window).scrollTop(),o=n+e(window).height()/2;return r>n&&t