(function(html){html.className=html.className.replace(/\bno-js\b/,'js')})(document.documentElement);var wboostsales_ajax_url="https://deathnote.store/wp-admin/admin-ajax.php";/*!
 * jQuery blockUI plugin
 * Version 2.70.0-2014.11.23
 * Requires jQuery v1.7 or later
 *
 * Examples at: http://malsup.com/jquery/block/
 * Copyright (c) 2007-2013 M. Alsup
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 * Thanks to Amir-Hossein Sobhi for some excellent contributions!
 */
!function(){"use strict";function e(e){e.fn._fadeIn=e.fn.fadeIn;var t=e.noop||function(){},o=/MSIE/.test(navigator.userAgent),n=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),i=(document.documentMode,"function"==typeof document.createElement("div").style.setExpression&&document.createElement("div").style.setExpression);e.blockUI=function(e){d(window,e)},e.unblockUI=function(e){a(window,e)},e.growlUI=function(t,o,n,i){var s=e('<div class="growlUI"></div>');t&&s.append("<h1>"+t+"</h1>"),o&&s.append("<h2>"+o+"</h2>"),n===undefined&&(n=3e3);var l=function(t){t=t||{},e.blockUI({message:s,fadeIn:"undefined"!=typeof t.fadeIn?t.fadeIn:700,fadeOut:"undefined"!=typeof t.fadeOut?t.fadeOut:1e3,timeout:"undefined"!=typeof t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:i,css:e.blockUI.defaults.growlCSS})};l();s.css("opacity");s.on("mouseover",function(){l({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)}).on("mouseout",function(){e(".blockMsg").fadeOut(1e3)})},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var o=e.extend({},e.blockUI.defaults,t||{});return this.each(function(){var t=e(this);o.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,d(this,t)})},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each(function(){a(this,t)})},e.blockUI.version=2.7,e.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var s=null,l=[];function d(d,c){var u,b,h=d==window,k=c&&c.message!==undefined?c.message:undefined;if(!(c=e.extend({},e.blockUI.defaults,c||{})).ignoreIfBlocked||!e(d).data("blockUI.isBlocked")){if(c.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,c.overlayCSS||{}),u=e.extend({},e.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),b=e.extend({},e.blockUI.defaults.themedCSS,c.themedCSS||{}),k=k===undefined?c.message:k,h&&s&&a(window,{fadeOut:0}),k&&"string"!=typeof k&&(k.parentNode||k.jquery)){var y=k.jquery?k[0]:k,m={};e(d).data("blockUI.history",m),m.el=y,m.parent=y.parentNode,m.display=y.style.display,m.position=y.style.position,m.parent&&m.parent.removeChild(y)}e(d).data("blockUI.onUnblock",c.onUnblock);var g,v,I,w,U=c.baseZ;g=o||c.forceIframe?e('<iframe class="blockUI" style="z-index:'+U+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+c.iframeSrc+'"></iframe>'):e('<div class="blockUI" style="display:none"></div>'),v=c.theme?e('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+U+++';display:none"></div>'):e('<div class="blockUI blockOverlay" style="z-index:'+U+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),c.theme&&h?(w='<div class="blockUI '+c.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(U+10)+';display:none;position:fixed">',c.title&&(w+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),w+='<div class="ui-widget-content ui-dialog-content"></div>',w+="</div>"):c.theme?(w='<div class="blockUI '+c.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(U+10)+';display:none;position:absolute">',c.title&&(w+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),w+='<div class="ui-widget-content ui-dialog-content"></div>',w+="</div>"):w=h?'<div class="blockUI '+c.blockMsgClass+' blockPage" style="z-index:'+(U+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+c.blockMsgClass+' blockElement" style="z-index:'+(U+10)+';display:none;position:absolute"></div>',I=e(w),k&&(c.theme?(I.css(b),I.addClass("ui-widget-content")):I.css(u)),c.theme||v.css(c.overlayCSS),v.css("position",h?"fixed":"absolute"),(o||c.forceIframe)&&g.css("opacity",0);var x=[g,v,I],C=e(h?"body":d);e.each(x,function(){this.appendTo(C)}),c.theme&&c.draggable&&e.fn.draggable&&I.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var S=i&&(!e.support.boxModel||e("object,embed",h?null:d).length>0);if(n||S){if(h&&c.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(n||!e.support.boxModel)&&!h)var E=p(d,"borderTopWidth"),O=p(d,"borderLeftWidth"),T=E?"(0 - "+E+")":0,M=O?"(0 - "+O+")":0;e.each(x,function(e,t){var o=t[0].style;if(o.position="absolute",e<2)h?o.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):o.setExpression("height",'this.parentNode.offsetHeight + "px"'),h?o.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):o.setExpression("width",'this.parentNode.offsetWidth + "px"'),M&&o.setExpression("left",M),T&&o.setExpression("top",T);else if(c.centerY)h&&o.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),o.marginTop=0;else if(!c.centerY&&h){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';o.setExpression("top",n)}})}if(k&&(c.theme?I.find(".ui-widget-content").append(k):I.append(k),(k.jquery||k.nodeType)&&e(k).show()),(o||c.forceIframe)&&c.showOverlay&&g.show(),c.fadeIn){var B=c.onBlock?c.onBlock:t,j=c.showOverlay&&!k?B:t,H=k?B:t;c.showOverlay&&v._fadeIn(c.fadeIn,j),k&&I._fadeIn(c.fadeIn,H)}else c.showOverlay&&v.show(),k&&I.show(),c.onBlock&&c.onBlock.bind(I)();if(r(1,d,c),h?(s=I[0],l=e(c.focusableElements,s),c.focusInput&&setTimeout(f,20)):function(e,t,o){var n=e.parentNode,i=e.style,s=(n.offsetWidth-e.offsetWidth)/2-p(n,"borderLeftWidth"),l=(n.offsetHeight-e.offsetHeight)/2-p(n,"borderTopWidth");t&&(i.left=s>0?s+"px":"0");o&&(i.top=l>0?l+"px":"0")}(I[0],c.centerX,c.centerY),c.timeout){var z=setTimeout(function(){h?e.unblockUI(c):e(d).unblock(c)},c.timeout);e(d).data("blockUI.timeout",z)}}}function a(t,o){var n,i,d=t==window,a=e(t),u=a.data("blockUI.history"),f=a.data("blockUI.timeout");f&&(clearTimeout(f),a.removeData("blockUI.timeout")),o=e.extend({},e.blockUI.defaults,o||{}),r(0,t,o),null===o.onUnblock&&(o.onUnblock=a.data("blockUI.onUnblock"),a.removeData("blockUI.onUnblock")),i=d?e(document.body).children().filter(".blockUI").add("body > .blockUI"):a.find(">.blockUI"),o.cursorReset&&(i.length>1&&(i[1].style.cursor=o.cursorReset),i.length>2&&(i[2].style.cursor=o.cursorReset)),d&&(s=l=null),o.fadeOut?(n=i.length,i.stop().fadeOut(o.fadeOut,function(){0==--n&&c(i,u,o,t)})):c(i,u,o,t)}function c(t,o,n,i){var s=e(i);if(!s.data("blockUI.isBlocked")){t.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.el.style.cursor="default",o.parent&&o.parent.appendChild(o.el),s.removeData("blockUI.history")),s.data("blockUI.static")&&s.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(i,n);var l=e(document.body),d=l.width(),a=l[0].style.width;l.width(d-1).width(d),l[0].style.width=a}}function r(t,o,n){var i=o==window,l=e(o);if((t||(!i||s)&&(i||l.data("blockUI.isBlocked")))&&(l.data("blockUI.isBlocked",t),i&&n.bindEvents&&(!t||n.showOverlay))){var d="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).on(d,n,u):e(document).off(d,u)}}function u(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&s&&t.data.constrainTabKey){var o=l,n=!t.shiftKey&&t.target===o[o.length-1],i=t.shiftKey&&t.target===o[0];if(n||i)return setTimeout(function(){f(i)},10),!1}var d=t.data,a=e(t.target);return a.hasClass("blockOverlay")&&d.onOverlayClick&&d.onOverlayClick(t),a.parents("div."+d.blockMsgClass).length>0||0===a.parents().children().filter("div.blockUI").length}function f(e){if(l){var t=l[!0===e?l.length-1:0];t&&t.trigger("focus")}}function p(t,o){return parseInt(e.css(t,o),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}();jQuery(function(t){if("undefined"==typeof wc_add_to_cart_params)return!1;var a=function(){this.requests=[],this.addRequest=this.addRequest.bind(this),this.run=this.run.bind(this),t(document.body).on("click",".add_to_cart_button:not(.wc-interactive)",{addToCartHandler:this},this.onAddToCart).on("click",".remove_from_cart_button",{addToCartHandler:this},this.onRemoveFromCart).on("added_to_cart",this.updateButton).on("ajax_request_not_sent.adding_to_cart",this.updateButton).on("added_to_cart removed_from_cart",{addToCartHandler:this},this.updateFragments)};a.prototype.addRequest=function(t){this.requests.push(t),1===this.requests.length&&this.run()},a.prototype.run=function(){var a=this,e=a.requests[0].complete;a.requests[0].complete=function(){"function"==typeof e&&e(),a.requests.shift(),a.requests.length>0&&a.run()},t.ajax(this.requests[0])},a.prototype.onAddToCart=function(a){var e=t(this);if(e.is(".ajax_add_to_cart")){if(!e.attr("data-product_id"))return!0;if(a.preventDefault(),e.removeClass("added"),e.addClass("loading"),!1===t(document.body).triggerHandler("should_send_ajax_request.adding_to_cart",[e]))return t(document.body).trigger("ajax_request_not_sent.adding_to_cart",[!1,!1,e]),!0;var r={};t.each(e.data(),function(t,a){r[t]=a}),t.each(e[0].dataset,function(t,a){r[t]=a}),t(document.body).trigger("adding_to_cart",[e,r]),a.data.addToCartHandler.addRequest({type:"POST",url:wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%","add_to_cart"),data:r,success:function(a){a&&(a.error&&a.product_url?window.location=a.product_url:"yes"!==wc_add_to_cart_params.cart_redirect_after_add?t(document.body).trigger("added_to_cart",[a.fragments,a.cart_hash,e]):window.location=wc_add_to_cart_params.cart_url)},dataType:"json"})}},a.prototype.onRemoveFromCart=function(a){var e=t(this),r=e.closest(".woocommerce-mini-cart-item");a.preventDefault(),r.block({message:null,overlayCSS:{opacity:.6}}),a.data.addToCartHandler.addRequest({type:"POST",url:wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%","remove_from_cart"),data:{cart_item_key:e.data("cart_item_key")},success:function(a){a&&a.fragments?t(document.body).trigger("removed_from_cart",[a.fragments,a.cart_hash,e]):window.location=e.attr("href")},error:function(){window.location=e.attr("href")},dataType:"json"})},a.prototype.updateButton=function(a,e,r,d){(d=void 0!==d&&d)&&(d.removeClass("loading"),e&&d.addClass("added"),e&&!wc_add_to_cart_params.is_cart&&0===d.parent().find(".added_to_cart").length&&d.after('<a href="'+wc_add_to_cart_params.cart_url+'" class="added_to_cart wc-forward" title="'+wc_add_to_cart_params.i18n_view_cart+'">'+wc_add_to_cart_params.i18n_view_cart+"</a>"),t(document.body).trigger("wc_cart_button_updated",[d]))},a.prototype.updateFragments=function(a,e){e&&(t.each(e,function(a){t(a).addClass("updating").fadeTo("400","0.6").block({message:null,overlayCSS:{opacity:.6}})}),t.each(e,function(a,e){t(a).replaceWith(e),t(a).stop(!0).css("opacity","1").unblock()}),t(document.body).trigger("wc_fragments_loaded"))},new a});/*! js-cookie v3.0.5 | MIT */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self,function(){var n=e.Cookies,o=e.Cookies=t();o.noConflict=function(){return e.Cookies=n,o}}())}(this,function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}return function t(n,o){function r(t,r,i){if("undefined"!=typeof document){"number"==typeof(i=e({},o,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var u in i)i[u]&&(c+="; "+u,!0!==i[u]&&(c+="="+i[u].split(";")[0]));return document.cookie=t+"="+n.write(r,t)+c}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],o={},r=0;r<t.length;r++){var i=t[r].split("="),c=i.slice(1).join("=");try{var u=decodeURIComponent(i[0]);if(o[u]=n.read(c,u),e===u)break}catch(f){}}return e?o[e]:o}},remove:function(t,n){r(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})});(function(){var c=document.body.className;c=c.replace(/woocommerce-no-js/,'woocommerce-js');document.body.className=c})();jQuery(function(o){o(".woocommerce-ordering").on("change","select.orderby",function(){o(this).closest("form").trigger("submit")}),o("input.qty:not(.product-quantity input.qty)").each(function(){var e=parseFloat(o(this).attr("min"));e>=0&&parseFloat(o(this).val())<e&&o(this).val(e)});var e="store_notice"+(o(".woocommerce-store-notice").data("noticeId")||"");"hidden"===Cookies.get(e)?o(".woocommerce-store-notice").hide():o(".woocommerce-store-notice").show(),o(".woocommerce-store-notice__dismiss-link").on("click",function(s){Cookies.set(e,"hidden",{path:"/"}),o(".woocommerce-store-notice").hide(),s.preventDefault()}),o(".woocommerce-input-wrapper span.description").length&&o(document.body).on("click",function(){o(".woocommerce-input-wrapper span.description:visible").prop("aria-hidden",!0).slideUp(250)}),o(".woocommerce-input-wrapper").on("click",function(o){o.stopPropagation()}),o(".woocommerce-input-wrapper :input").on("keydown",function(e){var s=o(this).parent().find("span.description");if(27===e.which&&s.length&&s.is(":visible"))return s.prop("aria-hidden",!0).slideUp(250),e.preventDefault(),!1}).on("click focus",function(){var e=o(this).parent(),s=e.find("span.description");e.addClass("currentTarget"),o(".woocommerce-input-wrapper:not(.currentTarget) span.description:visible").prop("aria-hidden",!0).slideUp(250),s.length&&s.is(":hidden")&&s.prop("aria-hidden",!1).slideDown(250),e.removeClass("currentTarget")}),o.scroll_to_notices=function(e){e.length&&o("html, body").animate({scrollTop:e.offset().top-100},1e3)},o('.woocommerce form .woocommerce-Input[type="password"]').wrap('<span class="password-input"></span>'),o(".woocommerce form input").filter(":password").parent("span").addClass("password-input"),o(".password-input").append('<span class="show-password-input"></span>'),o(".show-password-input").on("click",function(){o(this).hasClass("display-password")?o(this).removeClass("display-password"):o(this).addClass("display-password"),o(this).hasClass("display-password")?o(this).siblings(['input[type="password"]']).prop("type","text"):o(this).siblings('input[type="text"]').prop("type","password")}),o("a.coming-soon-footer-banner-dismiss").on("click",function(e){var s=o(e.target);o.ajax({type:"post",url:s.data("rest-url"),data:{meta:{woocommerce_coming_soon_banner_dismissed:"yes"}},beforeSend:function(o){o.setRequestHeader("X-WP-Nonce",s.data("rest-nonce"))},complete:function(){o("#coming-soon-footer-banner").hide()}})})});!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.sbjs=e()}}(function(){return function e(t,r,n){function i(s,o){if(!r[s]){if(!t[s]){var c="function"==typeof require&&require;if(!o&&c)return c(s,!0);if(a)return a(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var p=r[s]={exports:{}};t[s][0].call(p.exports,function(e){var r=t[s][1][e];return i(r||e)},p,p.exports,e,t,r,n)}return r[s].exports}for(var a="function"==typeof require&&require,s=0;s<n.length;s++)i(n[s]);return i}({1:[function(e,t,r){"use strict";var n=e("./init"),i={init:function(e){this.get=n(e),e&&e.callback&&"function"==typeof e.callback&&e.callback(this.get)}};t.exports=i},{"./init":6}],2:[function(e,t,r){"use strict";var n=e("./terms"),i=e("./helpers/utils"),a={containers:{current:"sbjs_current",current_extra:"sbjs_current_add",first:"sbjs_first",first_extra:"sbjs_first_add",session:"sbjs_session",udata:"sbjs_udata",promocode:"sbjs_promo"},service:{migrations:"sbjs_migrations"},delimiter:"|||",aliases:{main:{type:"typ",source:"src",medium:"mdm",campaign:"cmp",content:"cnt",term:"trm",id:"id"},extra:{fire_date:"fd",entrance_point:"ep",referer:"rf"},session:{pages_seen:"pgs",current_page:"cpg"},udata:{visits:"vst",ip:"uip",agent:"uag"},promo:"code"},pack:{main:function(e){return a.aliases.main.type+"="+e.type+a.delimiter+a.aliases.main.source+"="+e.source+a.delimiter+a.aliases.main.medium+"="+e.medium+a.delimiter+a.aliases.main.campaign+"="+e.campaign+a.delimiter+a.aliases.main.content+"="+e.content+a.delimiter+a.aliases.main.term+"="+e.term+a.delimiter+a.aliases.main.id+"="+e.id},extra:function(e){return a.aliases.extra.fire_date+"="+i.setDate(new Date,e)+a.delimiter+a.aliases.extra.entrance_point+"="+document.location.href+a.delimiter+a.aliases.extra.referer+"="+(document.referrer||n.none)},user:function(e,t){return a.aliases.udata.visits+"="+e+a.delimiter+a.aliases.udata.ip+"="+t+a.delimiter+a.aliases.udata.agent+"="+navigator.userAgent},session:function(e){return a.aliases.session.pages_seen+"="+e+a.delimiter+a.aliases.session.current_page+"="+document.location.href},promo:function(e){return a.aliases.promo+"="+i.setLeadingZeroToInt(i.randomInt(e.min,e.max),e.max.toString().length)}}};t.exports=a},{"./helpers/utils":5,"./terms":9}],3:[function(e,t,r){"use strict";var n=e("../data").delimiter;t.exports={encodeData:function(e){return encodeURIComponent(e).replace(/\!/g,"%21").replace(/\~/g,"%7E").replace(/\*/g,"%2A").replace(/\'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29")},decodeData:function(e){try{return decodeURIComponent(e).replace(/\%21/g,"!").replace(/\%7E/g,"~").replace(/\%2A/g,"*").replace(/\%27/g,"'").replace(/\%28/g,"(").replace(/\%29/g,")")}catch(t){try{return unescape(e)}catch(r){return""}}},set:function(e,t,r,n,i){var a,s;if(r){var o=new Date;o.setTime(o.getTime()+60*r*1e3),a="; expires="+o.toGMTString()}else a="";s=n&&!i?";domain=."+n:"",document.cookie=this.encodeData(e)+"="+this.encodeData(t)+a+s+"; path=/"},get:function(e){for(var t=this.encodeData(e)+"=",r=document.cookie.split(";"),n=0;n<r.length;n++){for(var i=r[n];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return this.decodeData(i.substring(t.length,i.length))}return null},destroy:function(e,t,r){this.set(e,"",-1,t,r)},parse:function(e){var t=[],r={};if("string"==typeof e)t.push(e);else for(var i in e)e.hasOwnProperty(i)&&t.push(e[i]);for(var a=0;a<t.length;a++){var s;r[this.unsbjs(t[a])]={},s=this.get(t[a])?this.get(t[a]).split(n):[];for(var o=0;o<s.length;o++){var c=s[o].split("="),u=c.splice(0,1);u.push(c.join("=")),r[this.unsbjs(t[a])][u[0]]=this.decodeData(u[1])}}return r},unsbjs:function(e){return e.replace("sbjs_","")}}},{"../data":2}],4:[function(e,t,r){"use strict";t.exports={parse:function(e){for(var t=this.parseOptions,r=t.parser[t.strictMode?"strict":"loose"].exec(e),n={},i=14;i--;)n[t.key[i]]=r[i]||"";return n[t.q.name]={},n[t.key[12]].replace(t.q.parser,function(e,r,i){r&&(n[t.q.name][r]=i)}),n},parseOptions:{strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}},getParam:function(e){for(var t={},r=(e||window.location.search.substring(1)).split("&"),n=0;n<r.length;n++){var i=r[n].split("=");if("undefined"==typeof t[i[0]])t[i[0]]=i[1];else if("string"==typeof t[i[0]]){var a=[t[i[0]],i[1]];t[i[0]]=a}else t[i[0]].push(i[1])}return t},getHost:function(e){return this.parse(e).host.replace("www.","")}}},{}],5:[function(e,t,r){"use strict";t.exports={escapeRegexp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},setDate:function(e,t){var r=e.getTimezoneOffset()/60,n=e.getHours(),i=t||0===t?t:-r;return e.setHours(n+r+i),e.getFullYear()+"-"+this.setLeadingZeroToInt(e.getMonth()+1,2)+"-"+this.setLeadingZeroToInt(e.getDate(),2)+" "+this.setLeadingZeroToInt(e.getHours(),2)+":"+this.setLeadingZeroToInt(e.getMinutes(),2)+":"+this.setLeadingZeroToInt(e.getSeconds(),2)},setLeadingZeroToInt:function(e,t){for(var r=e+"";r.length<t;)r="0"+r;return r},randomInt:function(e,t){return Math.floor(Math.random()*(t-e+1))+e}}},{}],6:[function(e,t,r){"use strict";var n=e("./data"),i=e("./terms"),a=e("./helpers/cookies"),s=e("./helpers/uri"),o=e("./helpers/utils"),c=e("./params"),u=e("./migrations");t.exports=function(e){var t,r,p,f,m,d,l,g,h,y,_=c.fetch(e),v=s.getParam(),x=_.domain.host,b=_.domain.isolate,k=_.lifetime;function w(e){switch(e){case i.traffic.utm:t=i.traffic.utm,r="undefined"!=typeof v.utm_source?v.utm_source:"undefined"!=typeof v.gclid?"google":"undefined"!=typeof v.yclid?"yandex":i.none,p="undefined"!=typeof v.utm_medium?v.utm_medium:"undefined"!=typeof v.gclid?"cpc":"undefined"!=typeof v.yclid?"cpc":i.none,f="undefined"!=typeof v.utm_campaign?v.utm_campaign:"undefined"!=typeof v[_.campaign_param]?v[_.campaign_param]:"undefined"!=typeof v.gclid?"google_cpc":"undefined"!=typeof v.yclid?"yandex_cpc":i.none,m="undefined"!=typeof v.utm_content?v.utm_content:"undefined"!=typeof v[_.content_param]?v[_.content_param]:i.none,l=v.utm_id||i.none,d="undefined"!=typeof v.utm_term?v.utm_term:"undefined"!=typeof v[_.term_param]?v[_.term_param]:function(){var e=document.referrer;if(v.utm_term)return v.utm_term;if(!(e&&s.parse(e).host&&s.parse(e).host.match(/^(?:.*\.)?yandex\..{2,9}$/i)))return!1;try{return s.getParam(s.parse(document.referrer).query).text}catch(t){return!1}}()||i.none;break;case i.traffic.organic:t=i.traffic.organic,r=r||s.getHost(document.referrer),p=i.referer.organic,f=i.none,m=i.none,d=i.none,l=i.none;break;case i.traffic.referral:t=i.traffic.referral,r=r||s.getHost(document.referrer),p=p||i.referer.referral,f=i.none,m=s.parse(document.referrer).path,d=i.none,l=i.none;break;case i.traffic.typein:t=i.traffic.typein,r=_.typein_attributes.source,p=_.typein_attributes.medium,f=i.none,m=i.none,d=i.none,l=i.none;break;default:t=i.oops,r=i.oops,p=i.oops,f=i.oops,m=i.oops,d=i.oops,l=i.oops}var a={type:t,source:r,medium:p,campaign:f,content:m,term:d,id:l};return n.pack.main(a)}function q(e){var t=document.referrer;switch(e){case i.traffic.organic:return!!t&&I(t)&&function(e){var t=new RegExp("^(?:.*\\.)?"+o.escapeRegexp("yandex")+"\\..{2,9}$"),n=new RegExp(".*"+o.escapeRegexp("text")+"=.*"),i=new RegExp("^(?:www\\.)?"+o.escapeRegexp("google")+"\\..{2,9}$");if(s.parse(e).query&&s.parse(e).host.match(t)&&s.parse(e).query.match(n))return r="yandex",!0;if(s.parse(e).host.match(i))return r="google",!0;if(!s.parse(e).query)return!1;for(var a=0;a<_.organics.length;a++){if(s.parse(e).host.match(new RegExp("^(?:.*\\.)?"+o.escapeRegexp(_.organics[a].host)+"$","i"))&&s.parse(e).query.match(new RegExp(".*"+o.escapeRegexp(_.organics[a].param)+"=.*","i")))return r=_.organics[a].display||_.organics[a].host,!0;if(a+1===_.organics.length)return!1}}(t);case i.traffic.referral:return!!t&&I(t)&&function(e){if(!(_.referrals.length>0))return r=s.getHost(e),!0;for(var t=0;t<_.referrals.length;t++){if(s.parse(e).host.match(new RegExp("^(?:.*\\.)?"+o.escapeRegexp(_.referrals[t].host)+"$","i")))return r=_.referrals[t].display||_.referrals[t].host,p=_.referrals[t].medium||i.referer.referral,!0;if(t+1===_.referrals.length)return r=s.getHost(e),!0}}(t);default:return!1}}function I(e){if(_.domain){if(b)return s.getHost(e)!==s.getHost(x);var t=new RegExp("^(?:.*\\.)?"+o.escapeRegexp(x)+"$","i");return!s.getHost(e).match(t)}return s.getHost(e)!==s.getHost(document.location.href)}function j(){a.set(n.containers.current_extra,n.pack.extra(_.timezone_offset),k,x,b),a.get(n.containers.first_extra)||a.set(n.containers.first_extra,n.pack.extra(_.timezone_offset),k,x,b)}return u.go(k,x,b),a.set(n.containers.current,function(){var e;if("undefined"!=typeof v.utm_source||"undefined"!=typeof v.utm_medium||"undefined"!=typeof v.utm_campaign||"undefined"!=typeof v.utm_content||"undefined"!=typeof v.utm_term||"undefined"!=typeof v.utm_id||"undefined"!=typeof v.gclid||"undefined"!=typeof v.yclid||"undefined"!=typeof v[_.campaign_param]||"undefined"!=typeof v[_.term_param]||"undefined"!=typeof v[_.content_param])j(),e=w(i.traffic.utm);else if(q(i.traffic.organic))j(),e=w(i.traffic.organic);else if(!a.get(n.containers.session)&&q(i.traffic.referral))j(),e=w(i.traffic.referral);else{if(a.get(n.containers.first)||a.get(n.containers.current))return a.get(n.containers.current);j(),e=w(i.traffic.typein)}return e}(),k,x,b),a.get(n.containers.first)||a.set(n.containers.first,a.get(n.containers.current),k,x,b),a.get(n.containers.udata)?(g=parseInt(a.parse(n.containers.udata)[a.unsbjs(n.containers.udata)][n.aliases.udata.visits])||1,g=a.get(n.containers.session)?g:g+1,h=n.pack.user(g,_.user_ip)):(g=1,h=n.pack.user(g,_.user_ip)),a.set(n.containers.udata,h,k,x,b),a.get(n.containers.session)?(y=parseInt(a.parse(n.containers.session)[a.unsbjs(n.containers.session)][n.aliases.session.pages_seen])||1,y+=1):y=1,a.set(n.containers.session,n.pack.session(y),_.session_length,x,b),_.promocode&&!a.get(n.containers.promocode)&&a.set(n.containers.promocode,n.pack.promo(_.promocode),k,x,b),a.parse(n.containers)}},{"./data":2,"./helpers/cookies":3,"./helpers/uri":4,"./helpers/utils":5,"./migrations":7,"./params":8,"./terms":9}],7:[function(e,t,r){"use strict";var n=e("./data"),i=e("./helpers/cookies");t.exports={go:function(e,t,r){var a,s=this.migrations,o={l:e,d:t,i:r};if(i.get(n.containers.first)||i.get(n.service.migrations)){if(!i.get(n.service.migrations))for(a=0;a<s.length;a++)s[a].go(s[a].id,o)}else{var c=[];for(a=0;a<s.length;a++)c.push(s[a].id);var u="";for(a=0;a<c.length;a++)u+=c[a]+"=1",a<c.length-1&&(u+=n.delimiter);i.set(n.service.migrations,u,o.l,o.d,o.i)}},migrations:[{id:"1418474375998",version:"1.0.0-beta",go:function(e,t){var r=e+"=1",a=e+"=0",s=function(e,t,r){return t||r?e:n.delimiter};try{var o=[];for(var c in n.containers)n.containers.hasOwnProperty(c)&&o.push(n.containers[c]);for(var u=0;u<o.length;u++)if(i.get(o[u])){var p=i.get(o[u]).replace(/(\|)?\|(\|)?/g,s);i.destroy(o[u],t.d,t.i),i.destroy(o[u],t.d,!t.i),i.set(o[u],p,t.l,t.d,t.i)}i.get(n.containers.session)&&i.set(n.containers.session,n.pack.session(0),t.l,t.d,t.i),i.set(n.service.migrations,r,t.l,t.d,t.i)}catch(f){i.set(n.service.migrations,a,t.l,t.d,t.i)}}}]}},{"./data":2,"./helpers/cookies":3}],8:[function(e,t,r){"use strict";var n=e("./terms"),i=e("./helpers/uri");t.exports={fetch:function(e){var t=e||{},r={};if(r.lifetime=this.validate.checkFloat(t.lifetime)||6,r.lifetime=parseInt(30*r.lifetime*24*60),r.session_length=this.validate.checkInt(t.session_length)||30,r.timezone_offset=this.validate.checkInt(t.timezone_offset),r.campaign_param=t.campaign_param||!1,r.term_param=t.term_param||!1,r.content_param=t.content_param||!1,r.user_ip=t.user_ip||n.none,t.promocode?(r.promocode={},r.promocode.min=parseInt(t.promocode.min)||1e5,r.promocode.max=parseInt(t.promocode.max)||999999):r.promocode=!1,t.typein_attributes&&t.typein_attributes.source&&t.typein_attributes.medium?(r.typein_attributes={},r.typein_attributes.source=t.typein_attributes.source,r.typein_attributes.medium=t.typein_attributes.medium):r.typein_attributes={source:"(direct)",medium:"(none)"},t.domain&&this.validate.isString(t.domain)?r.domain={host:t.domain,isolate:!1}:t.domain&&t.domain.host?r.domain=t.domain:r.domain={host:i.getHost(document.location.hostname),isolate:!1},r.referrals=[],t.referrals&&t.referrals.length>0)for(var a=0;a<t.referrals.length;a++)t.referrals[a].host&&r.referrals.push(t.referrals[a]);if(r.organics=[],t.organics&&t.organics.length>0)for(var s=0;s<t.organics.length;s++)t.organics[s].host&&t.organics[s].param&&r.organics.push(t.organics[s]);return r.organics.push({host:"bing.com",param:"q",display:"bing"}),r.organics.push({host:"yahoo.com",param:"p",display:"yahoo"}),r.organics.push({host:"about.com",param:"q",display:"about"}),r.organics.push({host:"aol.com",param:"q",display:"aol"}),r.organics.push({host:"ask.com",param:"q",display:"ask"}),r.organics.push({host:"globososo.com",param:"q",display:"globo"}),r.organics.push({host:"go.mail.ru",param:"q",display:"go.mail.ru"}),r.organics.push({host:"rambler.ru",param:"query",display:"rambler"}),r.organics.push({host:"tut.by",param:"query",display:"tut.by"}),r.referrals.push({host:"t.co",display:"twitter.com"}),r.referrals.push({host:"plus.url.google.com",display:"plus.google.com"}),r},validate:{checkFloat:function(e){return!(!e||!this.isNumeric(parseFloat(e)))&&parseFloat(e)},checkInt:function(e){return!(!e||!this.isNumeric(parseInt(e)))&&parseInt(e)},isNumeric:function(e){return!isNaN(e)},isString:function(e){return"[object String]"===Object.prototype.toString.call(e)}}}},{"./helpers/uri":4,"./terms":9}],9:[function(e,t,r){"use strict";t.exports={traffic:{utm:"utm",organic:"organic",referral:"referral",typein:"typein"},referer:{referral:"referral",organic:"organic",social:"social"},none:"(none)",oops:"(Houston, we have a problem)"}},{}]},{},[1])(1)});var wc_order_attribution={"params":{"lifetime":1.0e-5,"session":30,"ajaxurl":"https:\/\/deathnote.store\/wp-admin\/admin-ajax.php","prefix":"wc_order_attribution_","allowTracking":!0},"fields":{"source_type":"current.typ","referrer":"current_add.rf","utm_campaign":"current.cmp","utm_source":"current.src","utm_medium":"current.mdm","utm_content":"current.cnt","utm_id":"current.id","utm_term":"current.trm","session_entry":"current_add.ep","session_start_time":"current_add.fd","session_pages":"session.pgs","session_count":"udata.vst","user_agent":"udata.uag"}};!function(e){"use strict";const t=e.params,n=(document.querySelector.bind(document),(e,t)=>t.split(".").reduce((e,t)=>e&&e[t],e)),s=()=>null,i=e=>null===e||e===undefined?"":e,o="wc/store/checkout";function a(){const i=t.allowTracking?n:s,o=Object.entries(e.fields).map(([e,t])=>[e,i(sbjs.get,t)]);return Object.fromEntries(o)}function c(e){window.wp&&window.wp.data&&window.wp.data.dispatch&&window.wc&&window.wc.wcBlocksData&&window.wp.data.dispatch(window.wc.wcBlocksData.CHECKOUT_STORE_KEY).__internalSetExtensionData("woocommerce/order-attribution",e,!0)}function r(){if(window.wp&&window.wp.data&&"function"==typeof window.wp.data.subscribe){const e=window.wp.data.subscribe(function(){e(),c(a())},o)}}e.setOrderTracking=function(e){if(t.allowTracking=e,e){if("undefined"==typeof sbjs)return;sbjs.init({lifetime:Number(t.lifetime),session_length:Number(t.session),timezone_offset:"0"})}else!function(){const e=window.location.hostname;["sbjs_current","sbjs_current_add","sbjs_first","sbjs_first_add","sbjs_session","sbjs_udata","sbjs_migrations","sbjs_promo"].forEach(t=>{document.cookie=`${t}=; path=/; max-age=-999; domain=.${e};`})}();const n=a();!function(e){for(const t of document.querySelectorAll("wc-order-attribution-inputs"))t.values=e}(n),c(n)},e.setOrderTracking(t.allowTracking),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",r):r(),window.customElements.define("wc-order-attribution-inputs",class extends HTMLElement{constructor(){if(super(),this._fieldNames=Object.keys(e.fields),this.hasOwnProperty("_values")){let e=this.values;delete this.values,this.values=e||{}}}connectedCallback(){this.innerHTML="";const e=new DocumentFragment;for(const n of this._fieldNames){const s=document.createElement("input");s.type="hidden",s.name=`${t.prefix}${n}`,s.value=i(this.values&&this.values[n]||""),e.appendChild(s)}this.appendChild(e)}set values(e){if(this._values=e,this.isConnected)for(const e of this._fieldNames){const n=this.querySelector(`input[name="${t.prefix}${e}"]`);n?n.value=i(this.values[e]):console.warn(`Field "${e}" not found. Most likely, the '<wc-order-attribution-inputs>' element was manipulated.`)}}get values(){return this._values}})}(window.wc_order_attribution);!function(d,t,m){"use strict";d.fn.yit_infinitescroll=function(e){var s=d.extend({nextSelector:!1,navSelector:!1,itemSelector:!1,contentSelector:!1,maxPage:!1,loader:!1,is_shop:!1},e),a=!1,c=!1,f=d(s.nextSelector).attr("href");d(s.nextSelector).length&&d(s.navSelector).length&&d(s.itemSelector).length&&d(s.contentSelector).length?d(s.navSelector).hide():c=!0;var h=d(s.contentSelector).find(s.itemSelector).first().nextUntil(".first",s.itemSelector).length+1,i=function(){var o=d(s.contentSelector).find(s.itemSelector).last();s.loader&&d(s.navSelector).after('<div class="yith-infs-loader">'+s.loader+"</div>"),a=!0,f=(f=decodeURIComponent(f)).replace(/^(?:\/\/|[^\/]+)*\//,"/"),d.ajax({url:f,dataType:"html",cache:!1,success:function(e){var t,i,n,e=d(e),r=e.find(s.itemSelector),e=e.find(s.nextSelector),l=f;e.length?f=e.attr("href"):(c=!0,d(m).trigger("yith-infs-scroll-finished")),!o.hasClass("last")&&s.is_shop&&(e=r,i=(t=h)-o.prevUntil(".last",s.itemSelector).length,n=0,e.each(function(){var e=d(this);n++,e.removeClass("first"),e.removeClass("last"),(n-i)%t==0?e.addClass("first"):(n-(i-1))%t==0&&e.addClass("last")})),o.after(r),d(".yith-infs-loader").remove(),d(m).trigger("yith_infs_adding_elem",[r,l]),r.addClass("yith-infs-animated"),setTimeout(function(){a=!1,r.removeClass("yith-infs-animated"),d(m).trigger("yith_infs_added_elem",[r,l])},1e3)}})};d(t).on("scroll touchstart",function(){d(this).trigger("yith_infs_start")}),d(t).on("yith_infs_start",function(){var e=d(this),t=d(s.itemSelector).last();void 0!==t&&!a&&!c&&e.scrollTop()+e.height()>=t.offset().top-2*t.height()&&i()})}}(jQuery,window,document);var yith_infs={"navSelector":"nav.woocommerce-pagination","nextSelector":"nav.woocommerce-pagination a.next","itemSelector":".product.product-small","contentSelector":".shop-container","loader":"https:\/\/deathnote.store\/wp-content\/plugins\/yith-infinite-scrolling\/assets\/images\/loader.gif","shop":""};!function(t){"use strict";var n;"undefined"!=typeof yith_infs&&(n={nextSelector:yith_infs.nextSelector,navSelector:yith_infs.navSelector,itemSelector:yith_infs.itemSelector,contentSelector:yith_infs.contentSelector,loader:'<img src="'+yith_infs.loader+'">',is_shop:yith_infs.shop},t(yith_infs.contentSelector).yit_infinitescroll(n),t(document).on("yith-wcan-ajax-loading",function(){t(window).unbind("yith_infs_start")}),t(document).on("yith-wcan-ajax-filtered",function(){t(yith_infs.contentSelector).yit_infinitescroll(n)}))}(jQuery);/*! This file is auto-generated */
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):jQuery&&!jQuery.fn.hoverIntent&&e(jQuery)}(function(f){"use strict";function u(e){return"function"==typeof e}var i,r,v={interval:100,sensitivity:6,timeout:0},s=0,a=function(e){i=e.pageX,r=e.pageY},p=function(e,t,n,o){if(Math.sqrt((n.pX-i)*(n.pX-i)+(n.pY-r)*(n.pY-r))<o.sensitivity)return t.off(n.event,a),delete n.timeoutId,n.isActive=!0,e.pageX=i,e.pageY=r,delete n.pX,delete n.pY,o.over.apply(t[0],[e]);n.pX=i,n.pY=r,n.timeoutId=setTimeout(function(){p(e,t,n,o)},o.interval)};f.fn.hoverIntent=function(e,t,n){function o(e){var u=f.extend({},e),r=f(this),v=((t=r.data("hoverIntent"))||r.data("hoverIntent",t={}),t[i]),t=(v||(t[i]=v={id:i}),v.timeoutId&&(v.timeoutId=clearTimeout(v.timeoutId)),v.event="mousemove.hoverIntent.hoverIntent"+i);"mouseenter"===e.type?v.isActive||(v.pX=u.pageX,v.pY=u.pageY,r.off(t,a).on(t,a),v.timeoutId=setTimeout(function(){p(u,r,v,d)},d.interval)):v.isActive&&(r.off(t,a),v.timeoutId=setTimeout(function(){var e,t,n,o,i;e=u,t=r,n=v,o=d.out,(i=t.data("hoverIntent"))&&delete i[n.id],o.apply(t[0],[e])},d.timeout))}var i=s++,d=f.extend({},v);f.isPlainObject(e)?(d=f.extend(d,e),u(d.out)||(d.out=d.over)):d=u(t)?f.extend(d,{over:e,out:t,selector:n}):f.extend(d,{over:e,out:e,selector:t});return this.on({"mouseenter.hoverIntent":o,"mouseleave.hoverIntent":o},d.selector)}});!function(){var e,t,n,o,i={7387:function(){Flatsome.behavior("back-to-top",{attach(e){const t=jQuery(".back-to-top",e);if(!t.length)return;let n=null;window.addEventListener("scroll",(()=>{var e;const o=jQuery(window).scrollTop();n=null!==(e=n)&&void 0!==e?e:jQuery(window).height(),t.toggleClass("active",o>=n)}),{passive:!0})}})},1478:function(){Flatsome.behavior("commons",{attach(e){jQuery("select.resizeselect").resizeselect(),jQuery("[data-parallax]",e).flatsomeParallax(),jQuery.fn.packery&&(jQuery("[data-packery-options], .has-packery",e).each((function(){let e=jQuery(this);e.packery({originLeft:!flatsomeVars.rtl}),setTimeout((function(){e.imagesLoaded((function(){e.packery("layout")}))}),100)})),jQuery(".banner-grid-wrapper").imagesLoaded((function(){jQuery(this.elements).removeClass("processing")}))),"objectFitPolyfill"in window&&window.objectFitPolyfill()},detach(e){}})},9086:function(){Flatsome.behavior("nav-hover",{attach(e){const t=jQuery(".ux-body-overlay",e);t.length&&jQuery([".nav-prompts-overlay li.menu-item",".nav-prompts-overlay .header-vertical-menu__opener"].join(", "),e).on({mouseenter:()=>{t.addClass("ux-body-overlay--hover-active")},mouseleave:()=>{t.removeClass("ux-body-overlay--hover-active")}})}})},7725:function(){function e(e){e.attr("aria-hidden","true"),e.find("> li > a, > li > button").attr("tabindex","-1")}Flatsome.behavior("sidebar-slider",{attach(t){const n=jQuery("body").hasClass("mobile-submenu-toggle");jQuery(".mobile-sidebar-slide",t).each(((t,o)=>{const i=parseInt(jQuery(o).data("levels"),10)||1,a=jQuery(".sidebar-menu",o),r=jQuery(".nav-sidebar",o);jQuery(["> li > ul.children","> li > .sub-menu",i>1?"> li > ul.children > li > ul":null].filter(Boolean).join(", "),r).each(((t,o)=>{const i=jQuery(o),r=i.parent(),s=r.parents("ul:first"),l=jQuery(["> .toggle",'> a[href="#"]',n&&"> a"].filter(Boolean).join(","),r),c=r.find("> a").text().trim(),u=i.parents("ul").length,d=Boolean(window.flatsomeVars.rtl),h=jQuery(`\n            <li class="nav-slide-header pt-half pb-half">\n              <button class="toggle">\n                <i class="icon-angle-left"></i>\n                ${c||window.flatsomeVars.i18n.mainMenu}\n              </button>\n            </li>\n          `);i.prepend(h),e(i);let f=null;l.off("click").on("click",(e=>{var t;r.attr("aria-expanded","true"),s.addClass("is-current-parent"),i.addClass("is-current-slide"),a.css("transform",`translateX(${d?"":"-"}${100*u}%)`),(t=i).attr("aria-hidden","false"),t.find("> li > a, > li > button").attr("tabindex",""),clearTimeout(f),e.preventDefault()})),h.find(".toggle").on("click",(()=>{a.css("transform",`translateX(${d?"":"-"}${100*(u-1)}%)`),e(i),f=setTimeout((()=>{i.removeClass("is-current-slide"),s.removeClass("is-current-parent")}),300),r.removeClass("active"),r.attr("aria-expanded","false")}))}))}))}})},1284:function(){Flatsome.behavior("sidebar-tabs",{attach(e){jQuery(".sidebar-menu-tabs",e).each(((e,t)=>{const n=jQuery(t),o=n.find(".sidebar-menu-tabs__tab"),i=n.parent().find("ul.nav-sidebar");o.each(((e,t)=>{jQuery(t).on("click",(function(t){!function(e,t,n){t.each(((t,n)=>jQuery(n).toggleClass("active",t===e))),n.each(((t,n)=>jQuery(n).toggleClass("hidden",t===e)))}(e,o,i),t.preventDefault(),t.stopPropagation()}))}))}))}})},2394:function(){Flatsome.behavior("scroll-to",{attach(){const e=jQuery("span.scroll-to"),t=parseInt(flatsomeVars.sticky_height,10),n=jQuery("#wpadminbar");if(!e.length)return;let o=jQuery(".scroll-to-bullets");o.length?(o.children().lazyTooltipster("destroy"),o.empty()):(o=jQuery('<div class="scroll-to-bullets hide-for-medium"/>'),jQuery("body").append(o)),jQuery("li.scroll-to-link").remove(),e.each((function(e,t){const i=jQuery(t),a=i.data("link"),r=i.data("title"),s=`a[href*="${a||"<nolink>"}"]`;if(i.data("bullet")){const e=jQuery(`\n          <a href="${a}" data-title="${r}" title="${r}">\n          <strong></strong>\n          </a>\n        `);e.lazyTooltipster({position:"left",delay:50,contentAsHTML:!0,touchDevices:!1}),o.append(e)}const l=jQuery(`\n          <li class="scroll-to-link"><a data-animate="fadeIn" href="${a}" data-title="${r}" title="${r}">\n          ${r}\n          </a></li>\n        `);jQuery("li.nav-single-page").before(l),setTimeout((function(){jQuery(".scroll-to-link a").attr("data-animated","true")}),300),jQuery(s).off("click").on("click",(function(e){const t=jQuery(this).attr("href").split("#")[1];if(!t)return;let o=i.attr("data-offset");o&&n.length&&n.is(":visible")&&(o=Number(o)+Number(n.height())),setTimeout((()=>{jQuery.scrollTo(`a[name="${t}"]`,{...!isNaN(o)&&{offset:-o}})}),0),jQuery.fn.magnificPopup&&jQuery.magnificPopup.close(),e.preventDefault()}))}));let i=0;const a=()=>{clearTimeout(i),i=setTimeout((()=>{const n=e.get().map((e=>e.getBoundingClientRect().y));o.find("a").each(((e,o)=>{const i=n[e],a=n[e+1]||window.innerHeight,r=i<=t+100&&a>t+100;jQuery(o).toggleClass("active",r)}))}),100)};if(window.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",a),a(),location.hash){const e=decodeURIComponent(location.hash.replace("#",""));let t=jQuery(`a[name="${e}"]`).closest(".scroll-to").attr("data-offset");t&&n.length&&n.is(":visible")&&(t=Number(t)+Number(n.height())),jQuery.scrollTo(`a[name="${e}"]`,{...!isNaN(t)&&{offset:-t}})}},detach(){jQuery("span.scroll-to").length&&setTimeout(this.attach,0)}})},5855:function(){function e(e,t,n){t.each(((t,n)=>{jQuery(n).toggleClass("active",t===e),jQuery(n).find("> a").attr("aria-selected",t===e?"true":"false").attr("tabindex",t===e?null:"-1")})),n.each(((t,n)=>jQuery(n).toggleClass("active",t===e))),jQuery.fn.packery&&jQuery("[data-packery-options]",n[e]).packery("layout")}Flatsome.behavior("tabs",{attach(t){const n=window.location.hash;let o=!1;jQuery(".tabbed-content",t).each((function(t,i){const a=jQuery(i),r=a.find("> .nav > li"),s=a.find("> .tab-panels > .panel"),l=a.find("> .nav").hasClass("active-on-hover"),c=a.find("> .nav").hasClass("nav-vertical");s.removeAttr("style"),r.each((function(t,i){const u=jQuery(i).find("a");u.on("click",(function(n){e(t,r,s),n.preventDefault(),n.stopPropagation()})),u.on("keydown",(e=>{let n;switch(e.key){case c?"ArrowDown":"ArrowRight":n=r.eq((t+1)%r.length);break;case c?"ArrowUp":"ArrowLeft":n=r.eq((t-1)%r.length);break;case"Home":n=r.first();break;case"End":n=r.last()}n&&(n.find("> a").trigger("focus"),e.stopPropagation(),e.preventDefault())})),l&&u.hoverIntent({sensitivity:3,interval:20,timeout:70,over(n){e(t,r,s)},out(){}}),!n.substring(1).length||decodeURIComponent(n.substring(1))!==u.attr("href")?.split("#")[1]&&n.substring(1)!==u.attr("href")?.split("#")[1]||(e(t,r,s),o||(o=!0,setTimeout((()=>{jQuery.scrollTo(a)}),500)))}))}))}})},1092:function(){Flatsome.behavior("toggle",{attach(e){function t(e){const t=jQuery(e.currentTarget).parent();t.toggleClass("active"),t.attr("aria-expanded","false"===t.attr("aria-expanded")?"true":"false"),e.preventDefault()}jQuery([".widget ul.children",".nav ul.children",".menu .sub-menu",".mobile-sidebar-levels-2 .nav ul.children > li > ul"].join(", "),e).each((function(){const e=jQuery(this).parents(".nav-slide").length?"right":"down";jQuery(this).parent().addClass("has-child").attr("aria-expanded","false"),jQuery(this).before(`<button class="toggle" aria-label="${window.flatsomeVars.i18n.toggleButton}"><i class="icon-angle-${e}"></i></button>`)})),jQuery(".current-cat-parent",e).addClass("active").attr("aria-expanded","true").removeClass("current-cat-parent"),jQuery(".toggle",e).on("click",t);const n=jQuery("body").hasClass("mobile-submenu-toggle");jQuery(".sidebar-menu li.menu-item.has-child",e).each((function(){let e=jQuery(this),o=e.find("> a:first");"#"===o.attr("href")?o.on("click",(function(t){t.preventDefault(),e.toggleClass("active"),e.attr("aria-expanded","false"===e.attr("aria-expanded")?"true":"false")})):n&&o.next(".toggle").length&&o.on("click",t)}))}})},5560:function(){Flatsome.behavior("tooltips",{attach(e){jQuery(".tooltip, .has-tooltip, .tip-top, li.chosen a",e).lazyTooltipster(),jQuery(".tooltip-as-html",e).lazyTooltipster({interactive:!0,contentAsHTML:!0})}})},9075:function(){Flatsome.behavior("youtube",{attach(e){var t,n,o,i,a,r=jQuery(".ux-youtube",e);0!==r.length&&(window.onYouTubePlayerAPIReady=function(){r.each((function(){var e=jQuery(this),t=e.attr("id"),n=e.data("videoid"),o=e.data("loop"),i=e.data("audio");new YT.Player(t,{height:"100%",width:"100%",playerVars:{html5:1,autoplay:1,controls:0,rel:0,modestbranding:1,playsinline:1,showinfo:0,fs:0,loop:o,el:0,playlist:o?n:void 0},videoId:n,events:{onReady:function(e){0===i&&e.target.mute()}}})}))},n="script",o="youtube-jssdk",a=(t=document).getElementsByTagName(n)[0],t.getElementById(o)||((i=t.createElement(n)).id=o,i.src="https://www.youtube.com/player_api",a.parentNode.insertBefore(i,a)))}})},9343:function(e,t,n){n.g.Flatsome={behaviors:{},plugin(e,t,n){n=n||{},jQuery.fn[e]=function(o){if("string"==typeof arguments[0]){var i=null,a=arguments[0],r=Array.prototype.slice.call(arguments,1);return this.each((function(){if(!jQuery.data(this,"plugin_"+e)||"function"!=typeof jQuery.data(this,"plugin_"+e)[a])throw new Error("Method "+a+" does not exist on jQuery."+e);i=jQuery.data(this,"plugin_"+e)[a].apply(this,r)})),"destroy"===a&&this.each((function(){jQuery(this).removeData("plugin_"+e)})),void 0!==i?i:this}if("object"==typeof o||!o)return this.each((function(){jQuery.data(this,"plugin_"+e)||(o=jQuery.extend({},n,o),jQuery.data(this,"plugin_"+e,new t(this,o)))}))}},behavior(e,t){this.behaviors[e]=t},attach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;if("string"==typeof e)return this.behaviors.hasOwnProperty(e)&&"function"==typeof this.behaviors[e].attach?this.behaviors[e].attach(t||document):null;for(let e in this.behaviors)"function"==typeof this.behaviors[e].attach&&this.behaviors[e].attach(t||document)},detach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;if("string"==typeof e)return this.behaviors.hasOwnProperty(e)&&"function"==typeof this.behaviors[e].detach?this.behaviors[e].detach(t||document):null;for(let e in this.behaviors)"function"==typeof this.behaviors[e].detach&&this.behaviors[e].detach(t||document)}}},5299:function(){jQuery(".section .loading-spin, .banner .loading-spin, .page-loader").fadeOut(),jQuery("#top-link").on("click",(function(e){jQuery.scrollTo(0),e.preventDefault()})),jQuery(".scroll-for-more").on("click",(function(){jQuery.scrollTo(jQuery(this))})),jQuery(".search-dropdown button").on("click",(function(e){jQuery(this).parent().find("input").trigger("focus"),e.preventDefault()})),jQuery(".current-cat").addClass("active"),jQuery("html").removeClass("loading-site"),setTimeout((function(){jQuery(".page-loader").remove()}),1e3),jQuery(".resize-select").resizeselect(),flatsomeVars.user.can_edit_pages&&jQuery(".block-edit-link").each((function(){const e=jQuery(this);let t=e.data("link");const n=e.data("backend"),o=e.data("title"),i=e.parents('[id^="menu-item-"]');if(i.length&&i.hasClass("menu-item-has-block")){const e=i.attr("id").match(/menu-item-(\d+)/);e&&e[1]&&(t+=`&menu_id=${e[1]}`)}jQuery(this).next().addClass("has-block").lazyTooltipster({distance:-15,repositionOnScroll:!0,interactive:!0,contentAsHTML:!0,content:o+'<br/><a class="button edit-block-button edit-block-button-builder" href="'+t+'">UX Builder</a><a class="button edit-block-button edit-block-button edit-block-button-backend" href="'+n+'">WP Editor</a>'}),jQuery(this).remove()})),document.addEventListener("uxb_app_ready",(()=>{const e=new URLSearchParams(window.top.location.search),t=parseInt(e.get("menu_id"));t&&setTimeout((()=>{const e=jQuery(`#menu-item-${t}`),n=e.parent().hasClass("ux-nav-vertical-menu");e.hasClass("menu-item-has-block has-dropdown")&&!e.hasClass("current-dropdown")&&(n&&jQuery(".header-vertical-menu__fly-out").addClass("header-vertical-menu__fly-out--open"),jQuery(`#menu-item-${t} a:first`).trigger("click"))}),1e3)})),jQuery("#hotspot").on("click",(function(e){e.preventDefault()})),jQuery(".wpcf7-form .wpcf7-submit").on("click",(function(e){jQuery(this).parent().parent().addClass("processing")})),jQuery(".wpcf7").on("wpcf7invalid wpcf7spam wpcf7mailsent wpcf7mailfailed",(function(e){jQuery(".processing").removeClass("processing")})),jQuery(document).ajaxComplete((function(e,t,n){jQuery(".processing").removeClass("processing")}))},5402:function(e,t,n){jQuery.fn.lazyTooltipster=function(e){return this.each(((t,o)=>{const i=jQuery(o);"string"==typeof e?jQuery.fn.tooltipster&&i.hasClass("tooltipstered")&&i.tooltipster(e):i.one("mouseenter",(t=>{!function(e,t){(jQuery.fn.tooltipster?Promise.resolve():n.e(255).then(n.t.bind(n,8382,23))).then((()=>{e.hasClass("tooltipstered")||e.tooltipster({theme:"tooltipster-default",delay:10,animationDuration:300,...t}),e.tooltipster("show")}))}(i,e)}))}))}},8417:function(){Flatsome.plugin("resizeselect",(function(e,t){jQuery(e).on("change",(function(){var e=jQuery(this),t=e.find("option:selected").val(),n=e.find("option:selected").text(),o=jQuery('<span class="select-resize-ghost">').html(n);o.appendTo(e.parent());var i=o.width();o.remove(),e.width(i+7),t&&e.parent().parent().find("input.search-field").focus()})).trigger("change")}))},4944:function(e,t,n){var o,i;"undefined"!=typeof window&&window,void 0===(i="function"==typeof(o=function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},o=n[e]=n[e]||[];return-1==o.indexOf(t)&&o.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var o=n.indexOf(t);return-1!=o&&n.splice(o,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){n=n.slice(0),t=t||[];for(var o=this._onceEvents&&this._onceEvents[e],i=0;i<n.length;i++){var a=n[i];o&&o[a]&&(this.off(e,a),delete o[a]),a.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e})?o.call(t,n,t,e):o)||(e.exports=i)},7243:function(){!function(){var e=window.MutationObserver||window.WebKitMutationObserver,t="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch;if(void 0===document.documentElement.style["touch-action"]&&!document.documentElement.style["-ms-touch-action"]&&t&&e){window.Hammer=window.Hammer||{};var n=/touch-action[:][\s]*(none)[^;'"]*/,o=/touch-action[:][\s]*(manipulation)[^;'"]*/,i=/touch-action/,a=/(iP(ad|hone|od))/.test(navigator.userAgent)&&("indexedDB"in window||!!window.performance);window.Hammer.time={getTouchAction:function(e){return this.checkStyleString(e.getAttribute("style"))},checkStyleString:function(e){if(i.test(e))return n.test(e)?"none":!o.test(e)||"manipulation"},shouldHammer:function(e){var t=e.target.hasParent;return!(!t||a&&!(Date.now()-e.target.lastStart<125))&&t},touchHandler:function(e){var t=this.shouldHammer(e);if("none"===t)this.dropHammer(e);else if("manipulation"===t){var n=e.target.getBoundingClientRect();n.top===this.pos.top&&n.left===this.pos.left&&this.dropHammer(e)}this.scrolled=!1,delete e.target.lastStart,delete e.target.hasParent},dropHammer:function(e){"touchend"===e.type&&(e.target.focus(),setTimeout((function(){e.target.click()}),0)),e.preventDefault()},touchStart:function(e){this.pos=e.target.getBoundingClientRect(),e.target.hasParent=this.hasParent(e.target),a&&e.target.hasParent&&(e.target.lastStart=Date.now())},styleWatcher:function(e){e.forEach(this.styleUpdater,this)},styleUpdater:function(e){if(e.target.updateNext)e.target.updateNext=!1;else{var t=this.getTouchAction(e.target);t?"none"!==t&&(e.target.hadTouchNone=!1):!t&&(e.oldValue&&this.checkStyleString(e.oldValue)||e.target.hadTouchNone)&&(e.target.hadTouchNone=!0,e.target.updateNext=!1,e.target.setAttribute("style",e.target.getAttribute("style")+" touch-action: none;"))}},hasParent:function(e){for(var t,n=e;n&&n.parentNode;n=n.parentNode)if(t=this.getTouchAction(n))return t;return!1},installStartEvents:function(){document.addEventListener("touchstart",this.touchStart.bind(this)),document.addEventListener("mousedown",this.touchStart.bind(this))},installEndEvents:function(){document.addEventListener("touchend",this.touchHandler.bind(this),!0),document.addEventListener("mouseup",this.touchHandler.bind(this),!0)},installObserver:function(){this.observer=new e(this.styleWatcher.bind(this)).observe(document,{subtree:!0,attributes:!0,attributeOldValue:!0,attributeFilter:["style"]})},install:function(){this.installEndEvents(),this.installStartEvents(),this.installObserver()}},window.Hammer.time.install()}}()},7681:function(e,t,n){var o,i;!function(a,r){"use strict";o=[n(4944)],i=function(e){return function(e,t){var n=e.jQuery,o=e.console;function i(e,t){for(var n in t)e[n]=t[n];return e}var a=Array.prototype.slice;function r(e,t,s){if(!(this instanceof r))return new r(e,t,s);var l,c=e;"string"==typeof e&&(c=document.querySelectorAll(e)),c?(this.elements=(l=c,Array.isArray(l)?l:"object"==typeof l&&"number"==typeof l.length?a.call(l):[l]),this.options=i({},this.options),"function"==typeof t?s=t:i(this.options,t),s&&this.on("always",s),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):o.error("Bad element for imagesLoaded "+(c||e))}r.prototype=Object.create(t.prototype),r.prototype.options={},r.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},r.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&s[t]){for(var n=e.querySelectorAll("img"),o=0;o<n.length;o++){var i=n[o];this.addImage(i)}if("string"==typeof this.options.background){var a=e.querySelectorAll(this.options.background);for(o=0;o<a.length;o++){var r=a[o];this.addElementBackgroundImages(r)}}}};var s={1:!0,9:!0,11:!0};function l(e){this.img=e}function c(e,t){this.url=e,this.element=t,this.img=new Image}return r.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var n=/url\((['"])?(.*?)\1\)/gi,o=n.exec(t.backgroundImage);null!==o;){var i=o&&o[2];i&&this.addBackground(i,e),o=n.exec(t.backgroundImage)}},r.prototype.addImage=function(e){var t=new l(e);this.images.push(t)},r.prototype.addBackground=function(e,t){var n=new c(e,t);this.images.push(n)},r.prototype.check=function(){var e=this;function t(t,n,o){setTimeout((function(){e.progress(t,n,o)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(e){e.once("progress",t),e.check()})):this.complete()},r.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&o&&o.log("progress: "+n,e,t)},r.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},l.prototype=Object.create(t.prototype),l.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},l.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype=Object.create(l.prototype),c.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},r.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((n=t).fn.imagesLoaded=function(e,t){return new r(this,e,t).jqDeferred.promise(n(this))})},r.makeJQueryPlugin(),r}(a,e)}.apply(t,o),void 0===i||(e.exports=i)}("undefined"!=typeof window?window:this)},5114:function(e,t,n){var o,i,a;!function(r){"use strict";i=[n(9567)],void 0===(a="function"==typeof(o=function(e){var t=e.scrollTo=function(t,n,o){return e(window).scrollTo(t,n,o)};function n(t){return!t.nodeName||-1!==e.inArray(t.nodeName.toLowerCase(),["iframe","#document","html","body"])}function o(e){return"function"==typeof e}function i(t){return o(t)||e.isPlainObject(t)?t:{top:t,left:t}}return t.defaults={axis:"xy",duration:0,limit:!0},e.fn.scrollTo=function(a,r,s){"object"==typeof r&&(s=r,r=0),"function"==typeof s&&(s={onAfter:s}),"max"===a&&(a=9e9),s=e.extend({},t.defaults,s),r=r||s.duration;var l=s.queue&&s.axis.length>1;return l&&(r/=2),s.offset=i(s.offset),s.over=i(s.over),this.each((function(){if(null!==a){var c,u=n(this),d=u?this.contentWindow||window:this,h=e(d),f=a,p={};switch(typeof f){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(f)){f=i(f);break}f=u?e(f):e(f,d);case"object":if(0===f.length)return;(f.is||f.style)&&(c=(f=e(f)).offset())}var y=o(s.offset)&&s.offset(d,f)||s.offset;e.each(s.axis.split(""),(function(e,n){var o="x"===n?"Left":"Top",i=o.toLowerCase(),a="scroll"+o,r=h[a](),g=t.max(d,n);if(c)p[a]=c[i]+(u?0:r-h.offset()[i]),s.margin&&(p[a]-=parseInt(f.css("margin"+o),10)||0,p[a]-=parseInt(f.css("border"+o+"Width"),10)||0),p[a]+=y[i]||0,s.over[i]&&(p[a]+=f["x"===n?"width":"height"]()*s.over[i]);else{var v=f[i];p[a]=v.slice&&"%"===v.slice(-1)?parseFloat(v)/100*g:v}s.limit&&/^\d+$/.test(p[a])&&(p[a]=p[a]<=0?0:Math.min(p[a],g)),!e&&s.axis.length>1&&(r===p[a]?p={}:l&&(m(s.onAfterFirst),p={}))})),m(s.onAfter)}function m(t){var n=e.extend({},s,{queue:!0,duration:r,complete:t&&function(){t.call(d,f,s)}});h.animate(p,n)}}))},t.max=function(t,o){var i="x"===o?"Width":"Height",a="scroll"+i;if(!n(t))return t[a]-e(t)[i.toLowerCase()]();var r="client"+i,s=t.ownerDocument||t.document,l=s.documentElement,c=s.body;return Math.max(l[a],c[a])-Math.min(l[r],c[r])},e.Tween.propHooks.scrollLeft=e.Tween.propHooks.scrollTop={get:function(t){return e(t.elem)[t.prop]()},set:function(t){var n=this.get(t);if(t.options.interrupt&&t._last&&t._last!==n)return e(t.elem).stop();var o=Math.round(t.now);n!==o&&(e(t.elem)[t.prop](o),t._last=this.get(t))}},t})?o.apply(t,i):o)||(e.exports=a)}()},9567:function(e){"use strict";e.exports=window.jQuery}},a={};function r(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return i[e].call(n.exports,n,n.exports,r),n.exports}r.m=i,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){a[e]=function(){return n[e]}}));return a.default=function(){return n},r.d(i,a),i},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=function(e){return Promise.all(Object.keys(r.f).reduce((function(t,n){return r.f[n](e,t),t}),[]))},r.u=function(e){return"js/chunk."+{255:"tooltips",288:"lottie",309:"slider",408:"countup",964:"popups"}[e]+".js"},r.miniCssF=function(e){},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},o="flatsome:",r.l=function(e,t,i,a){if(n[e])n[e].push(t);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==o+i){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,r.nc&&s.setAttribute("nonce",r.nc),s.setAttribute("data-webpack",o+i),s.src=e),n[e]=[t];var h=function(t,o){s.onerror=s.onload=null,clearTimeout(f);var i=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((function(e){return e(o)})),t)return t(o)},f=setTimeout(h.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),l&&document.head.appendChild(s)}},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){const e=r.u;r.u=t=>{const n=e(t),o=globalThis.flatsomeVars?.theme.version;return n+(o?"?ver="+o:"")}}(),r.p=globalThis.flatsomeVars?.assets_url??"/",function(){var e={259:0};r.f.j=function(t,n){var o=r.o(e,t)?e[t]:void 0;if(0!==o)if(o)n.push(o[2]);else{var i=new Promise((function(n,i){o=e[t]=[n,i]}));n.push(o[2]=i);var a=r.p+r.u(t),s=new Error;r.l(a,(function(n){if(r.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,o[1](s)}}),"chunk-"+t,t)}};var t=function(t,n){var o,i,a=n[0],s=n[1],l=n[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(o in s)r.o(s,o)&&(r.m[o]=s[o]);l&&l(r)}for(t&&t(n);c<a.length;c++)i=a[c],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self.flatsomeChunks=self.flatsomeChunks||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";r(7681),r(7243),r(5114),r(9343);const e=document.body,t="body-scroll-lock--active",n=/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent);let o=0;function i(){if(!n)return;o=window.pageYOffset;const i=document.getElementById("wpadminbar"),a=o-(i?i.offsetHeight:0);e.style.overflow="hidden",e.style.position="fixed",e.style.top=`-${a}px`,e.style.width="100%",e.classList.add(t)}function a(){n&&(e.style.removeProperty("overflow"),e.style.removeProperty("position"),e.style.removeProperty("top"),e.style.removeProperty("width"),window.scrollTo(0,o),e.classList.remove(t))}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=0;const o=t=>{const o=window.scrollY;e(t,{direction:o>n?"down":"up",scrollY:o}),n=o};return window.addEventListener("scroll",o,{...t,passive:!0}),()=>{window.removeEventListener("scroll",o)}}let l,c,u,d=jQuery("#header"),h=d.find(".header-wrapper"),f=jQuery(".header-top",d),p=jQuery(".header-main",d),y=d.hasClass("has-sticky"),m=d.hasClass("sticky-hide-on-scroll");function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"down",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];void 0===c&&void 0===u&&(d.hasClass("sticky-shrink")?(c=f.hasClass("hide-for-sticky")?f.height():0,c+=p.hasClass("hide-for-sticky")?p.height():0,u=1+c):(c=h.height()+100,u=f.hasClass("hide-for-sticky")?f.height()+1:1)),m?"down"===t||e<u?e<u?b():(l=setTimeout(b,100),d.addClass("sticky-hide-on-scroll--active")):e>c&&(l=setTimeout((()=>v(n)),100),d.removeClass("sticky-hide-on-scroll--active")):e>c?v(n):e<u&&b()}function v(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(h.hasClass("stuck"))return;const t=d.height();jQuery(document).trigger("flatsome-header-sticky"),h.addClass("stuck"),h.toggleClass("ux-no-animation",e),d.height(t),jQuery(".has-transparent").removeClass("transparent"),jQuery(".toggle-nav-dark").removeClass("nav-dark")}function b(){h.hasClass("stuck")&&(d.height(""),h.removeClass(["stuck","ux-no-animation"]),jQuery(".has-transparent").addClass("transparent"),jQuery(".toggle-nav-dark").addClass("nav-dark"))}y&&(document.addEventListener("DOMContentLoaded",(()=>{s(((n,o)=>{let{scrollY:i,direction:a}=o;l&&(clearTimeout(l),l=void 0),e.classList.contains(t)||g(i,a)})),l=setTimeout((()=>{window.scrollY&&g(window.scrollY)}),100)})),jQuery("body").on("experimental-flatsome-pjax-request-done",(()=>{d=jQuery("#header"),h=d.find(".header-wrapper"),f=jQuery(".header-top",d),p=jQuery(".header-main",d),y=d.hasClass("has-sticky"),m=d.hasClass("sticky-hide-on-scroll"),window.scrollY&&g(window.scrollY,void 0,!0)})));const j=window.matchMedia("(prefers-reduced-motion: reduce)");let w=!1;function k(){w="undefined"==typeof UxBuilder&&j.matches}k(),j.addEventListener?.("change",k);const Q=[];let x;function C(){Q.length&&(cancelAnimationFrame(x),x=requestAnimationFrame((()=>{for(let e=0;e<Q.length;e++)Q[e].element.offsetParent?E(Q[e]):Q.splice(e,1)})))}function E(e){!function(e){let{element:t,type:n}=e,o=I(t.dataset.parallax),i=P(t),a=(window.innerHeight-i.offsetHeight)*o;switch(n){case"backgroundImage":t.style.backgroundSize=o?"100% auto":null;break;case"backgroundElement":t.style.height=o?`${i.offsetHeight+a}px`:null}}(e),function(e){let{element:t,type:n}=e,o=I(t.dataset.parallax||t.dataset.parallaxBackground),i=window.innerHeight,a=P(t),r=t.offsetHeight-a.offsetHeight,s=t.getBoundingClientRect(),l=a!==t?a.getBoundingClientRect():s,c=s.top+t.offsetHeight/2,u=i/2-c,d=i/2-(l.top+a.offsetHeight/2),h=c+T()<i/2?T():u,f=(Math.abs(u),Math.abs(h)/(i/2)),p=0;var y;if(!(l.top>i||l.top+a.offsetHeight<0))switch(n){case"backgroundImage":p=l.top*o,t.style.backgroundPosition=o?`50% ${p.toFixed(0)}px`:null,t.style.backgroundAttachment=o?"fixed":null;break;case"backgroundElement":p=d*o-r/2,t.style.transform=o?`translate3d(0, ${p.toFixed(2)}px, 0)`:null,t.style.backfaceVisibility=o?"hidden":null;break;case"element":p=h*o,t.style.transform=o?`translate3d(0, ${p.toFixed(2)}px, 0)`:null,t.style.backfaceVisibility=o?"hidden":null,void 0!==t.dataset.parallaxFade&&(t.style.opacity=o?(y=1-f,y*(2-y)).toFixed(2):null)}}(e)}function L(e){return void 0!==e.dataset.parallaxBackground?"backgroundElement":void 0!==e.dataset.parallaxElemenet?"element":""!==e.style.backgroundImage?"backgroundImage":"element"}function T(){return document.documentElement.scrollTop||document.body.scrollTop}function P(e){return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;for(;e&&!_(e).call(e,t);)e=e.parentElement;return e}(e,e.dataset.parallaxContainer||"[data-parallax-container]")||e}function _(e){return e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector}function I(e){return e/10*-1/(2-Math.abs(e)/10)}function F(e){return new IntersectionObserver((function(t){for(let n=0;n<t.length;n++)e(t[n])}),{rootMargin:"0px",threshold:.1,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}})}function O(){return console.warn("Flatsome: Flickity is lazy loaded. Use 'lazyFlickity()' to instantiate and 'flatsome-flickity-ready' event to interact with Flickity instead."),this}function A(){return jQuery.fn.magnificPopup?Promise.resolve():r.e(964).then(r.t.bind(r,4343,23))}window.addEventListener("scroll",C,{passive:!0}),window.addEventListener("resize",C),new MutationObserver(C).observe(document.body,{childList:!0}),window.jQuery&&(window.jQuery.fn.flatsomeParallax=function(e){w||"destroy"!==e&&this.each(((e,t)=>function(e){e.classList.add("parallax-active"),!document.querySelector("body").classList.contains("parallax-mobile")&&/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)||e.classList&&e.dataset&&(Q.push({element:e,type:L(e)}),E(Q[Q.length-1]))}(t)))}),r(8417),jQuery.fn.flickity||(O.isFlickityStub=!0,jQuery.fn.flickity=O),jQuery.fn.lazyFlickity=function(e){const t=F((n=>{if(n.isIntersecting){if(t.unobserve(n.target),!jQuery.fn.flickity||jQuery.fn.flickity===O)return r.e(309).then(r.t.bind(r,2066,23)).then((()=>{jQuery(n.target).flickity(e),jQuery(n.target).trigger("flatsome-flickity-ready")}));jQuery(n.target).flickity(e),jQuery(n.target).trigger("flatsome-flickity-ready")}}));return this.each(((n,o)=>{"string"==typeof e?jQuery.fn.flickity&&jQuery(o).flickity(e):t.observe(o)}))},jQuery.loadMagnificPopup=A,jQuery.fn.lazyMagnificPopup=function(e){const t=jQuery(this),n=e.delegate?t.find(e.delegate):t;return n.one("click",(o=>{o.preventDefault(),A().then((()=>{t.data("magnificPopup")||t.magnificPopup(e),t.magnificPopup("open",n.index(o.currentTarget)||0)}))})),t},r(5402),r(5299);const B=F((e=>{if(e.intersectionRatio>0){B.unobserve(e.target);const t=jQuery(e.target);t.removeAttr("data-animate-transition"),t.removeAttr("data-animated"),window.requestAnimationFrame((()=>{t.attr("data-animate-transform","true"),window.requestAnimationFrame((()=>{t.attr("data-animate-transition","true"),setTimeout((()=>{t.attr("data-animated","true")}),300)}))}))}}));Flatsome.behavior("animate",{attach(e){const t="uxBuilder"===jQuery("html").attr("ng-app");jQuery("[data-animate]",e).each(((e,n)=>{const o=jQuery(n),i=o.data("animate");if(t||0===i.length||w)return o.attr("data-animated","true");B.observe(n)}))},detach(e){jQuery("[data-animate]",e).each(((e,t)=>{jQuery(t).attr("data-animated","false"),B.unobserve(t)}))}}),r(1478);const M=F((e=>{if(e.intersectionRatio>0){M.unobserve(e.target);const t=jQuery(e.target);r.e(408).then(r.bind(r,5288)).then((e=>{let{CountUp:n}=e;const o=parseInt(t.text());new n(t.get(0),o,{decimalPlaces:0,duration:4}).start(),t.addClass("active")}))}}));function D(e){e.addClass("current-dropdown"),e.find(".nav-top-link").attr("aria-expanded",!0),function(e){const t=e,n=t.closest(".container").width(),o=t.closest("li.menu-item"),i=o.hasClass("menu-item-design-full-width"),a=o.hasClass("menu-item-design-container-width"),s=o.parent().hasClass("ux-nav-vertical-menu"),l=!i&&!a,c=r.g.flatsomeVars.rtl;if(l&&!s){if(n<750)return!1;var u=t.outerWidth(),d=t.offset(),h=Math.max(document.documentElement.clientWidth,window.innerWidth||0),f=d.left-(h-n)/2;c&&(f=jQuery(window).width()-(d.left+u)-(h-n)/2);var p=t.width(),y=n-(f+p),m=!1;f>y&&f<p&&(m=(f+y)/3),y<0&&(m=-y),m&&c?t.css("margin-right",-m):m&&t.css("margin-left",-m),p>n&&t.addClass("nav-dropdown-full")}if(a){t.css({inset:"0"});const e=t.closest(".container").get(0).getBoundingClientRect(),i=t.get(0).getBoundingClientRect();t.css({width:s?n-o.width():n,...!c&&{left:e.left-i.left+15},...c&&{right:15-(e.right-i.right)}})}if(i){t.css({inset:"0"});const e=document.body,n=e.getBoundingClientRect(),i=t.get(0).getBoundingClientRect(),a=e.clientWidth;t.css({...!c&&{width:s?a-o.get(0).getBoundingClientRect().right:a},...c&&{width:s?o.get(0).getBoundingClientRect().left:a},...!c&&{left:n.left-i.left},...c&&{right:-(n.right-i.right)}})}if((a||i)&&!s){let e=null;if(o.closest("#top-bar").length&&(e=document.querySelector("#top-bar")),o.closest("#masthead").length&&(e=document.querySelector("#masthead")),o.closest("#wide-nav").length&&(e=document.querySelector("#wide-nav")),null!==e){const n=e.getBoundingClientRect(),i=o.get(0).getBoundingClientRect();t.css({top:n.bottom-i.bottom+i.height})}}s&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&t.css({minHeight:t.closest(".header-vertical-menu__fly-out").outerHeight()})}(e.find(".nav-dropdown"))}function S(e){e.removeClass("current-dropdown"),e.find(".nav-top-link").attr("aria-expanded",!1),e.find(".nav-dropdown").attr("style","")}function $(e){e.each(((e,t)=>{const n=jQuery(t);n.hasClass("current-dropdown")&&S(n)}))}function H(e,t){e.length&&e.addClass(`ux-body-overlay--${t}-active`)}function z(e,t){e.length&&e.removeClass(`ux-body-overlay--${t}-active`)}Flatsome.behavior("count-up",{attach(e){jQuery("span.count-up",e).each(((e,t)=>{M.observe(t)}))}}),Flatsome.behavior("dropdown",{attach(e){const t=jQuery(".nav li.has-dropdown",e),n="uxBuilder"===jQuery("html").attr("ng-app"),o=jQuery(".ux-body-overlay"),i="ontouchstart"in window;let a=!1,r=null;jQuery(".header-nav > li > a, .top-bar-nav > li > a",e).on("focus",(()=>{$(t)})),t.each((function(e,s){const l=jQuery(s),c=l.hasClass("nav-dropdown-toggle")&&!i;let u=!1,d=!1;l.on("touchstart click",(function(e){"touchstart"===e.type&&(u=!0),"click"===e.type&&u&&(u&&!d&&e.preventDefault(),d=!0)})),n||c?(a=!0,l.on("click","a:first",(function(e){if(e.preventDefault(),r=l,l.hasClass("current-dropdown"))return S(l),void z(o,"click");$(t),D(l),H(o,"click"),jQuery(document).trigger("flatsome-dropdown-opened",[l])}))):(l.on("keydown","a:first",(function(e){"Space"===e.code&&(e.preventDefault(),l.hasClass("current-dropdown")?(S(l),z(o,"click")):($(t),D(l),H(o,"click"),jQuery(document).trigger("flatsome-dropdown-opened",[l])))})),l.hoverIntent({sensitivity:3,interval:20,timeout:70,over(e){$(t),D(l),z(o,"click"),jQuery(document).trigger("flatsome-dropdown-opened",[l])},out(){d=!1,u=!1,S(l)}}))})),!n&&a&&jQuery(document).on("click",(function(e){null===r||r===e.target||r.has(e.target).length||(S(r),z(o,"click"))})),jQuery(document).on("flatsome-dropdown-opened",(function(e,t){t.hasClass("menu-item-has-block")&&jQuery.fn.packery&&t.find("[data-packery-options]").packery("layout")})),jQuery(document).on("flatsome-header-sticky",(function(){$(t),z(o,"click")}))}}),Flatsome.behavior("instagram",{attach(e){const t=F((e=>{if(e.intersectionRatio>0){t.unobserve(e.target);const n=jQuery(e.target),o=n.data("flatsome-instagram"),i=e=>{jQuery("body").hasClass("admin-bar")&&n.before('<div class="container error"><p>Instagram error: '+e+"</p></div>"),console.error("Instagram error:",e)};if("string"!=typeof o)return i("Invalid data");jQuery.ajax({url:flatsomeVars.ajaxurl,data:{action:"flatsome_load_instagram",data:o},success(e){if(!e.success)return i(e.data);if("string"!=typeof e.data)return console.error("Invalid Instagram response:",e.data);const t=jQuery(e.data);Flatsome.detach(n),n.replaceWith(t),Flatsome.attach(t)},error(e){i(e)}})}}));jQuery("[data-flatsome-instagram]",e).each(((e,n)=>{t.observe(n)}))}}),Flatsome.behavior("lightbox-gallery",{attach(e){const t={delegate:"a",type:"image",closeBtnInside:flatsomeVars.lightbox.close_btn_inside,closeMarkup:flatsomeVars.lightbox.close_markup,tLoading:'<div class="loading-spin centered dark"></div>',removalDelay:300,gallery:{enabled:!0,navigateByImgClick:!0,arrowMarkup:'<button class="mfp-arrow mfp-arrow-%dir%" title="%title%"><i class="icon-angle-%dir%"></i></button>',preload:[0,1]},image:{tError:'<a href="%url%">The image #%curr%</a> could not be loaded.',verticalFit:!1},callbacks:{beforeOpen:function(){i()},beforeClose:function(){a()}}};jQuery('.lightbox .gallery a[href*=".jpg"], .lightbox .gallery a[href*=".jpeg"], .lightbox .gallery a[href*=".png"], .lightbox a.lightbox-gallery',e).parent().lazyMagnificPopup(t),jQuery(".lightbox .lightbox-multi-gallery",e).length&&jQuery(".lightbox-multi-gallery",e).each((function(){jQuery(this).lazyMagnificPopup(t)}))}}),Flatsome.behavior("lightbox-image",{attach(e){jQuery(['.lightbox *[id^="attachment"] a[href*=".jpg"]','.lightbox *[id^="attachment"] a[href*=".jpeg"]','.lightbox *[id^="attachment"] a[href*=".png"]','.lightbox .wp-block-image a[href*=".jpg"]:not([target="_blank"])','.lightbox .wp-block-image a[href*=".jpeg"]:not([target="_blank"])','.lightbox .wp-block-image a[href*=".png"]:not([target="_blank"])',".lightbox a.image-lightbox",'.lightbox .entry-content a[href*=".jpg"]','.lightbox .entry-content a[href*=".jpeg"]','.lightbox .entry-content a[href*=".png"]'].join(","),e).not([".lightbox a.lightbox-gallery",'.lightbox .gallery a[href*=".jpg"]','.lightbox .gallery a[href*=".jpeg"]','.lightbox .gallery a[href*=".png"]','.lightbox .lightbox-multi-gallery a[href*=".jpg"]','.lightbox .lightbox-multi-gallery a[href*=".jpeg"]','.lightbox .lightbox-multi-gallery a[href*=".png"]'].join(",")).lazyMagnificPopup({type:"image",tLoading:'<div class="loading-spin centered dark"></div>',closeOnContentClick:!0,closeBtnInside:flatsomeVars.lightbox.close_btn_inside,closeMarkup:flatsomeVars.lightbox.close_markup,removalDelay:300,image:{verticalFit:!1},callbacks:{beforeOpen:function(){i()},beforeClose:function(){a()}}})}}),Flatsome.behavior("lightboxes-link",{attach(e){jQuery(".lightbox-by-id",e).each((function(){const t=jQuery(this).attr("id");jQuery('a[href="#'+t+'"]',e).on("click",(e=>{e.preventDefault();const t=jQuery(e.currentTarget);A().then((()=>{let e=t.attr("href").substring(1),n=jQuery(`#${e}.lightbox-by-id`);if(e&&n.length>0){let e=n[0],t=jQuery.magnificPopup.open?300:0;t&&jQuery.magnificPopup.close(),setTimeout((function(){jQuery.magnificPopup.open({removalDelay:300,closeBtnInside:flatsomeVars.lightbox.close_btn_inside,closeMarkup:flatsomeVars.lightbox.close_markup,items:{src:e,type:"inline",tLoading:'<div class="loading-spin dark"></div>'},callbacks:{beforeOpen:function(){i()},open:function(){if(Flatsome.attach(this.content),jQuery.fn.flickity&&jQuery("[data-flickity-options].flickity-enabled",this.content).each(((e,t)=>{jQuery(t).flickity("resize")})),jQuery.fn.packery){const e=jQuery("[data-packery-options]",this.content);e&&e.imagesLoaded((function(){e.packery("layout")}))}},beforeClose:function(){a()}}})}),t)}}))}))}))}}),Flatsome.behavior("lightbox-video",{attach(e){jQuery('a.open-video, a.button[href*="vimeo"]:not(.product_type_external), a.button[href*="youtube.com/watch"]:not(.product_type_external)',e).lazyMagnificPopup({type:"iframe",closeBtnInside:flatsomeVars.lightbox.close_btn_inside,mainClass:"my-mfp-video",closeMarkup:flatsomeVars.lightbox.close_markup,tLoading:'<div class="loading-spin centered dark"></div>',removalDelay:300,preloader:!0,callbacks:{elementParse:function(e){/^.*\.(mp4)$/i.test(e.src)&&(e.type="inline",e.src='<div class="ux-mfp-inline-content ux-mfp-inline-content--video"><video autoplay controls playsinline width="100%" height="auto" name="media"><source src="'+e.src+'" type="video/mp4"></video></div>')},beforeOpen:function(){i()},open:function(){jQuery(".slider .is-selected .video").trigger("pause")},beforeClose:function(){a()},close:function(){jQuery(".slider .is-selected .video").trigger("play")}}})}}),Flatsome.behavior("lightboxes",{attach(e){jQuery("[data-open]",e).on("click",(e=>{e.preventDefault();const t=jQuery(e.currentTarget);A().then((()=>{var e=t.data("open"),n=t.data("color"),o=t.data("bg"),r=t.data("pos"),s=t.data("visible-after"),l=t.data("class"),c=t.attr("data-focus");t.offset(),t.addClass("current-lightbox-clicked"),"#product-sidebar"===e&&void 0===s&&(s=!jQuery(e).hasClass("mfp-hide")),jQuery.magnificPopup.open({items:{src:e,type:"inline",tLoading:'<div class="loading-spin dark"></div>'},removalDelay:300,closeBtnInside:flatsomeVars.lightbox.close_btn_inside,closeMarkup:flatsomeVars.lightbox.close_markup,focus:c,callbacks:{beforeOpen:function(){this.st.mainClass=`off-canvas ${n||""} off-canvas-${r}`,i()},open:function(){jQuery("html").addClass("has-off-canvas"),jQuery("html").addClass("has-off-canvas-"+r),l&&jQuery(".mfp-content").addClass(l),o&&jQuery(".mfp-bg").addClass(o),jQuery(".mfp-content .resize-select").change(),jQuery.fn.packery&&jQuery("[data-packery-options], .has-packery").packery("layout"),jQuery(".equalize-box",this.content).length&&Flatsome.attach("equalize-box",this.content)},beforeClose:function(){jQuery("html").removeClass("has-off-canvas"),a()},afterClose:function(){jQuery("html").removeClass("has-off-canvas-"+r),jQuery(".current-lightbox-clicked").removeClass("current-lightbox-clicked"),s&&jQuery(e).removeClass("mfp-hide")}}})}))}))}}),Flatsome.behavior("slider",{attach(e){var t;(t=jQuery(e).data("flickityOptions")?jQuery(e):jQuery("[data-flickity-options]",e)).length&&t.each(((e,t)=>{var n=jQuery(t),o=n.closest(".slider-wrapper"),i=n.data("flickity-options");if("undefined"!=typeof UxBuilder&&(i.draggable=!1),!0===i.watchCSS)return;let a=!1,r=!1;const s=e=>{try{a=t.contains(e.target),"number"!=typeof i.autoPlay||!i.pauseAutoPlayOnHover||a||r||n.flickity("playPlayer")}catch(e){}};n.on("flatsome-flickity-ready",(function(){n.find(".flickity-slider > :not(.is-selected) .video-bg").trigger("pause"),n.find(".is-selected .video-bg").trigger("play"),"requestAnimationFrame"in window&&(n.removeClass("flickity-enabled"),window.requestAnimationFrame((()=>{n.addClass("flickity-enabled")})));const e=n.data("flickity");if(e&&i.parallax){const t=n.find(".bg, .flickity-slider > .img img");n.addClass("slider-has-parallax"),n.on("scroll.flickity",(function(n,o){e.slides.forEach((function(n,o){const a=t[o],r=-1*(n.target+e.x)/i.parallax;a&&(a.style.transform="translateX( "+r+"px)")}))}))}document.addEventListener("touchstart",s,{passive:!0})})),w&&(i.friction=1,i.selectedAttraction=1,i.autoPlay=!1),n.lazyFlickity(i),n.imagesLoaded((function(){o.find(".loading-spin").fadeOut()})),n.on("change.flickity",(function(){a&&(r=!0),n.find(".flickity-slider > :not(.is-selected) .video-bg").trigger("pause"),n.find(".is-selected .video-bg").trigger("play")})),n.on("dragStart.flickity",(function(){document.ontouchmove=e=>e.preventDefault(),n.addClass("is-dragging")})),n.on("dragEnd.flickity",(function(){document.ontouchmove=()=>!0,n.removeClass("is-dragging")})),n.on("destroy.flickity",(()=>{document.removeEventListener("touchstart",s)}))}))},detach(e){jQuery.fn.flickity&&!jQuery.fn.flickity.isFlickityStub&&(jQuery(e).data("flickityOptions")?jQuery(e).flickity("destroy"):jQuery("[data-flickity-options]",e).each((function(){jQuery(this).data("flickity")&&jQuery(this).flickity("destroy")})))}}),r(5855),r(1092),r(7725),r(1284),r(9086),r(7387),r(2394),Flatsome.behavior("accordion-title",{attach(e){const t=window.location.hash;let n=!1;jQuery(".accordion-title",e).each((function(){jQuery(this).off("click.flatsome").on("click.flatsome",(function(e){const t=w?0:200;jQuery(this).next().is(":hidden")?(jQuery(this).parent().parent().find(".accordion-title").attr("aria-expanded",!1).removeClass("active").next().slideUp(t),jQuery(this).attr("aria-expanded",!jQuery(this).hasClass("active")).toggleClass("active").next().slideDown(t,(function(){/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)&&jQuery.scrollTo(jQuery(this).prev())})),window.requestAnimationFrame((()=>{jQuery.fn.flickity&&jQuery(this).next().find("[data-flickity-options].flickity-enabled").each(((e,t)=>{jQuery(t).flickity("resize")})),jQuery.fn.packery&&jQuery(this).next().find("[data-packery-options]").packery("layout")}))):jQuery(this).parent().parent().find(".accordion-title").attr("aria-expanded",!1).removeClass("active").next().slideUp(t),e.preventDefault()})),!t.substring(1).length||decodeURIComponent(t.substring(1))!==jQuery(this).attr("href")?.split("#")[1]&&t.substring(1)!==jQuery(this).attr("href")?.split("#")[1]||(jQuery(this).hasClass("active")||jQuery(this).trigger("click"),n||(n=!0,setTimeout((()=>{jQuery.scrollTo(jQuery(this).parent())}),500)))}))}}),r(5560);const V=F((e=>{e.intersectionRatio>0&&(V.unobserve(e.target),jQuery(e.target).addClass("bg-loaded"))}));Flatsome.behavior("lazy-load-bg",{attach(e){jQuery(".bg",e).each(((e,t)=>{V.observe(t)}))}});const R="flatsome-sticky-sidebar";function q(e){const t=e.getBoundingClientRect();return new DOMRect(t.width,t.top+window.scrollY,0,t.height)}Flatsome.behavior("sticky-sidebar",{attach(e){jQuery('.is-sticky-column[data-sticky-mode="javascript"]',e).each(((e,t)=>{"ResizeObserver"in window&&t.offsetParent&&t.offsetParent!==document.body?jQuery(t).data(R,function(e){const{offsetParent:t}=e,n=parseInt(flatsomeVars.sticky_height,10)+30,o={passive:!0,capture:!1};if(!t||t===document.body)return;let{innerHeight:i}=window,a=null,r=null,l=0,c=null,u=null;const d=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"down";const o=window.scrollY+n-Math.round(a?.top),s=i+l-n-Math.round(r?.height),d=Math.max(Math.min(s,Math.round(a?.height-r?.height)),0);let h=null,f=null;!a||r?.height<i-n?f=n:"down"===t?o<=l?h=d:r?.height-o<=i&&(f=i-Math.round(r?.height),l=o):"up"===t&&(o<=s?(f=n,l=o+Math.round(r?.height)-i+n):h=d),h===c&&f===u||(e.style.top="number"==typeof f?`${f}px`:f,e.style.transform="number"==typeof h?`translateY(${h}px)`:h),u=f,c=h},h=function(e){if("ResizeObserver"in window)return new ResizeObserver((function(t){for(let n=0;n<t.length;n++)e(t[n])}))}((n=>{let{target:o,contentRect:i}=n;if(o===t){const e=q(t),{x:n,y:o,width:r,height:s}=i;a=new DOMRect(e.x+n,e.y+o,r,s)}else o===e&&(r=q(e),d())})),f=s(((e,t)=>{let{direction:n}=t;return d(n)}),o),p=()=>{i=window.innerHeight,d()};return h?.observe(t),h?.observe(e),window.addEventListener("resize",p,o),()=>{f(),h?.disconnect(),window.removeEventListener("resize",p)}}(t)):jQuery(t).removeAttr("data-sticky-mode")}))},detach(e){jQuery('.is-sticky-column[data-sticky-mode="javascript"]',e).each(((e,t)=>{jQuery(t).data(R)?.()}))}}),r(9075),Flatsome.behavior("lottie",{attach(e){if("uxBuilder"===jQuery("html").attr("ng-app"))return;const t=jQuery(".ux-lottie__player",e);if(0===t.length)return;const n=F((e=>{e.isIntersecting&&(n.unobserve(e.target),function(e){const t=e,n=JSON.parse(t.dataset.params);let o=null,i=null,a=!1;function s(e){if(0===parseInt(e))return i.ip;if(100===parseInt(e))return i.op;const t=parseInt(i.ip),n=e*(parseInt(i.op)-t)/100+t;return Math.ceil(n)}Promise.all([r.e(288).then(r.bind(r,4600)),r.e(288).then(r.bind(r,5534))]).then((e=>{let[,{create:r}]=e;t.load(n.src),t.addEventListener("ready",(()=>{o=t.getLottie(),i=o.animationData;const{autoplay:e,controls:l,direction:c,end:u,id:d,loop:h,mouseout:f,speed:p,start:y,trigger:m,scrollActionType:g,visibilityEnd:v,visibilityStart:b}=n;t.__controls=l,t.setLooping(h),t.setSpeed(parseFloat(p)),t.setDirection(c),"true"!==e&&"scroll"===m||o.playSegments([s(y),s(u)],!0),e||(t.pause(),"scroll"===m&&r({player:`#${d} .ux-lottie__player`,mode:"scroll",actions:[{visibility:[b/100,v/100],type:g,frames:[s(y),s(u)]}]}),"hover"===m&&(t.addEventListener("mouseenter",(()=>{"reverse"===f?(t.setDirection(c),t.play()):t.play()})),t.addEventListener("mouseleave",(()=>{"reverse"===f?(t.setDirection(-1===c?1:-1),t.play()):t.pause()}))),"click"===m&&t.addEventListener("click",(()=>{if(a)return t.pause(),void(a=!1);t.play(),a=!0})))}))}))}(e.target))}));t.each(((e,t)=>{n.observe(t)}))}}),w&&window.flatsomeVars.user.can_edit_pages&&("Prefer reduced motion is active on your OS","The prefers-reduced-motion media feature is used to detect if the user has requested the system minimize the amount of non-essential motion it uses. With this option enabled, slides & animations are reduced on the frontend.\nCheck your OS documentation on how to disable reduced motion.",console.groupCollapsed("%cFlatsome%c: Prefer reduced motion is active on your OS","color: #0693e3; font-weight: bold;","color: inherit;"),console.log("The prefers-reduced-motion media feature is used to detect if the user has requested the system minimize the amount of non-essential motion it uses. With this option enabled, slides & animations are reduced on the frontend.\nCheck your OS documentation on how to disable reduced motion."),console.groupEnd());let N=0;let W=0;const U="scrollBehavior"in document.documentElement.style,Y=window.getComputedStyle(document.documentElement)["scroll-behavior"];function X(){window.removeEventListener("keydown",X),window.removeEventListener("pointermove",X),window.removeEventListener("touchstart",X),function(){const e=jQuery("#header");if(!e.hasClass("has-sticky"))return;const t=e.clone();t.attr("id","header-clone").css("visibility","hidden");const n=t.find(".header-wrapper");n.addClass("stuck"),jQuery("body").append(t),N=Math.round(n.height()),t.remove(),window.flatsomeVars.stickyHeaderHeight=N,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";t&&document.documentElement.style.setProperty(e,t),window.getComputedStyle(document.documentElement).getPropertyValue(e)}("--flatsome--header--sticky-height",`${N}px`)}(),function(){const e=jQuery("#wpadminbar"),t=e.length&&e.is(":visible")?e.height():0;W=Math.round(window.flatsomeVars.stickyHeaderHeight+t),window.flatsomeVars.scrollPaddingTop=W,jQuery.extend(jQuery.easing,{fsEaseInOutExpo:function(e){return 0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2}}),jQuery.extend(jQuery.scrollTo.defaults,{axis:"y",duration:w||U&&"smooth"===Y?0:1e3,offset:-W,easing:"fsEaseInOutExpo"})}()}document.addEventListener("DOMContentLoaded",(()=>{window.location.hash||window.scrollY>200?X():(window.addEventListener("keydown",X,{once:!0}),window.addEventListener("pointermove",X,{once:!0}),window.addEventListener("touchstart",X,{once:!0}))}));for(const e of["touchstart","touchmove"])jQuery.event.special[e]={setup(t,n,o){this.addEventListener&&this.addEventListener(e,o,{passive:!n.includes("noPreventDefault")})}};for(const e of["wheel","mousewheel"])jQuery.event.special[e]={setup(t,n,o){this.addEventListener&&this.addEventListener(e,o,{passive:!0})}};jQuery((()=>r.g.Flatsome.attach(document))),r.g.cookie=function(e,t,n){if(void 0===t){const t=("; "+window.document.cookie).split(`; ${e}=`);return 2===t.length?t.pop().split(";").shift():null}{!1===t&&(n=-1);let o="";if(n){const e=new Date;e.setTime(e.getTime()+24*n*60*60*1e3),o=`; expires=${e.toGMTString()}`}window.document.cookie=`${e}=${t}${o}; path=/`}}}()}();Flatsome.behavior('wp-rocket-lazy-load-packery',{attach:function(context){var $lazyLoad=jQuery('.has-packery .lazy-load',context)
if(!$lazyLoad.length)return
var observer=new IntersectionObserver(function(entries){entries.forEach(function(entry){if(entry.intersectionRatio>0){observer.unobserve(entry.target)
jQuery(entry.target).imagesLoaded(function(){jQuery('.has-packery').packery('layout')})}})},{rootMargin:'0px',threshold:0.1})
$lazyLoad.each(function(i,el){observer.observe(el)})}});!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports&&"function"==typeof require?t(require("jquery")):t(jQuery)}(function(t){"use strict";var e={escapeRegExChars:function(t){return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")},createNode:function(t){var e=document.createElement("div");return e.className=t,e.style.position="absolute",e.style.display="none",e}},s=27,i=9,n=13,o=38,a=39,u=40,l=t.noop;function r(e,s){this.element=e,this.el=t(e),this.suggestions=[],this.badQueries=[],this.selectedIndex=-1,this.currentValue=this.element.value,this.timeoutId=null,this.cachedResponse={},this.onChangeTimeout=null,this.onChange=null,this.isLocal=!1,this.suggestionsContainer=null,this.noSuggestionsContainer=null,this.options=t.extend(!0,{},r.defaults,s),this.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"},this.hint=null,this.hintValue="",this.selection=null,this.initialize(),this.setOptions(s)}r.utils=e,t.Autocomplete=r,r.defaults={ajaxSettings:{},autoSelectFirst:!1,appendTo:"body",serviceUrl:null,lookup:null,onSelect:null,onHint:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:function(t,s){if(!s)return t.value;var i="("+e.escapeRegExChars(s)+")";return t.value.replace(new RegExp(i,"gi"),"<strong>$1</strong>").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/&lt;(\/?strong)&gt;/g,"<$1>")},formatGroup:function(t,e){return'<div class="autocomplete-group">'+e+"</div>"},delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:l,onSearchComplete:l,onSearchError:l,preserveInput:!1,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!0,lookupFilter:function(t,e,s){return-1!==t.value.toLowerCase().indexOf(s)},paramName:"query",transformResult:function(e){return"string"==typeof e?t.parseJSON(e):e},showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1},r.prototype={initialize:function(){var e,s=this,i="."+s.classes.suggestion,n=s.classes.selected,o=s.options;s.element.setAttribute("autocomplete","off"),s.noSuggestionsContainer=t('<div class="autocomplete-no-suggestion"></div>').html(this.options.noSuggestionNotice).get(0),s.suggestionsContainer=r.utils.createNode(o.containerClass),(e=t(s.suggestionsContainer)).appendTo(o.appendTo||"body"),"auto"!==o.width&&e.css("width",o.width),e.on("mouseover.autocomplete",i,function(){s.activate(t(this).data("index"))}),e.on("mouseout.autocomplete",function(){s.selectedIndex=-1,e.children("."+n).removeClass(n)}),e.on("click.autocomplete",i,function(){s.select(t(this).data("index"))}),e.on("click.autocomplete",function(){clearTimeout(s.blurTimeoutId)}),s.fixPositionCapture=function(){s.visible&&s.fixPosition()},t(window).on("resize.autocomplete",s.fixPositionCapture),s.el.on("keydown.autocomplete",function(t){s.onKeyPress(t)}),s.el.on("keyup.autocomplete",function(t){s.onKeyUp(t)}),s.el.on("blur.autocomplete",function(){s.onBlur()}),s.el.on("focus.autocomplete",function(){s.onFocus()}),s.el.on("change.autocomplete",function(t){s.onKeyUp(t)}),s.el.on("input.autocomplete",function(t){s.onKeyUp(t)})},onFocus:function(){this.disabled||(this.fixPosition(),this.el.val().length>=this.options.minChars&&this.onValueChange())},onBlur:function(){var e=this,s=e.options,i=e.el.val(),n=e.getQuery(i);e.blurTimeoutId=setTimeout(function(){e.hide(),e.selection&&e.currentValue!==n&&(s.onInvalidateSelection||t.noop).call(e.element)},200)},abortAjax:function(){this.currentRequest&&(this.currentRequest.abort(),this.currentRequest=null)},setOptions:function(e){var s=t.extend({},this.options,e);this.isLocal=Array.isArray(s.lookup),this.isLocal&&(s.lookup=this.verifySuggestionsFormat(s.lookup)),s.orientation=this.validateOrientation(s.orientation,"bottom"),t(this.suggestionsContainer).css({"max-height":s.maxHeight+"px",width:s.width+"px","z-index":s.zIndex}),this.options=s},clearCache:function(){this.cachedResponse={},this.badQueries=[]},clear:function(){this.clearCache(),this.currentValue="",this.suggestions=[]},disable:function(){this.disabled=!0,clearTimeout(this.onChangeTimeout),this.abortAjax()},enable:function(){this.disabled=!1},fixPosition:function(){var e=t(this.suggestionsContainer),s=e.parent().get(0);if(s===document.body||this.options.forceFixPosition){var i=this.options.orientation,n=e.outerHeight(),o=this.el.outerHeight(),a=this.el.offset(),u={top:a.top,left:a.left};if("auto"===i){var l=t(window).height(),r=t(window).scrollTop(),h=-r+a.top-n,c=r+l-(a.top+o+n);i=Math.max(h,c)===h?"top":"bottom"}if(u.top+="top"===i?-n:o,s!==document.body){var g,d=e.css("opacity");this.visible||e.css("opacity",0).show(),g=e.offsetParent().offset(),u.top-=g.top,u.top+=s.scrollTop,u.left-=g.left,this.visible||e.css("opacity",d).hide()}"auto"===this.options.width&&(u.width=this.el.outerWidth()+"px"),e.css(u)}},isCursorAtEnd:function(){var t,e=this.el.val().length,s=this.element.selectionStart;return"number"==typeof s?s===e:!document.selection||((t=document.selection.createRange()).moveStart("character",-e),e===t.text.length)},onKeyPress:function(t){if(this.disabled||this.visible||t.which!==u||!this.currentValue){if(!this.disabled&&this.visible){switch(t.which){case s:this.el.val(this.currentValue),this.hide();break;case a:if(this.hint&&this.options.onHint&&this.isCursorAtEnd()){this.selectHint();break}return;case i:if(this.hint&&this.options.onHint)return void this.selectHint();if(-1===this.selectedIndex)return void this.hide();if(this.select(this.selectedIndex),!1===this.options.tabDisabled)return;break;case n:if(-1===this.selectedIndex)return void this.hide();this.select(this.selectedIndex);break;case o:this.moveUp();break;case u:this.moveDown();break;default:return}t.stopImmediatePropagation(),t.preventDefault()}}else this.suggest()},onKeyUp:function(t){var e=this;if(!e.disabled){switch(t.which){case o:case u:return}clearTimeout(e.onChangeTimeout),e.currentValue!==e.el.val()&&(e.findBestHint(),e.options.deferRequestBy>0?e.onChangeTimeout=setTimeout(function(){e.onValueChange()},e.options.deferRequestBy):e.onValueChange())}},onValueChange:function(){if(this.ignoreValueChange)this.ignoreValueChange=!1;else{var e=this.options,s=this.el.val(),i=this.getQuery(s);this.selection&&this.currentValue!==i&&(this.selection=null,(e.onInvalidateSelection||t.noop).call(this.element)),clearTimeout(this.onChangeTimeout),this.currentValue=s,this.selectedIndex=-1,e.triggerSelectOnValidInput&&this.isExactMatch(i)?this.select(0):i.length<e.minChars?this.hide():this.getSuggestions(i)}},isExactMatch:function(t){var e=this.suggestions;return 1===e.length&&e[0].value.toLowerCase()===t.toLowerCase()},getQuery:function(e){var s,i=this.options.delimiter;return i?(s=e.split(i),t.trim(s[s.length-1])):e},getSuggestionsLocal:function(e){var s,i=this.options,n=e.toLowerCase(),o=i.lookupFilter,a=parseInt(i.lookupLimit,10);return s={suggestions:t.grep(i.lookup,function(t){return o(t,e,n)})},a&&s.suggestions.length>a&&(s.suggestions=s.suggestions.slice(0,a)),s},getSuggestions:function(e){var s,i,n,o,a=this,u=a.options,l=u.serviceUrl;u.params[u.paramName]=e,!1!==u.onSearchStart.call(a.element,u.params)&&(i=u.ignoreParams?null:u.params,t.isFunction(u.lookup)?u.lookup(e,function(t){a.suggestions=t.suggestions,a.suggest(),u.onSearchComplete.call(a.element,e,t.suggestions)}):(a.isLocal?s=a.getSuggestionsLocal(e):(t.isFunction(l)&&(l=l.call(a.element,e)),n=l+"?"+t.param(i||{}),s=a.cachedResponse[n]),s&&Array.isArray(s.suggestions)?(a.suggestions=s.suggestions,a.suggest(),u.onSearchComplete.call(a.element,e,s.suggestions)):a.isBadQuery(e)?u.onSearchComplete.call(a.element,e,[]):(a.abortAjax(),o={url:l,data:i,type:u.type,dataType:u.dataType},t.extend(o,u.ajaxSettings),a.currentRequest=t.ajax(o).done(function(t){var s;a.currentRequest=null,s=u.transformResult(t,e),a.processResponse(s,e,n),u.onSearchComplete.call(a.element,e,s.suggestions)}).fail(function(t,s,i){u.onSearchError.call(a.element,e,t,s,i)}))))},isBadQuery:function(t){if(!this.options.preventBadQueries)return!1;for(var e=this.badQueries,s=e.length;s--;)if(0===t.indexOf(e[s]))return!0;return!1},hide:function(){var e=t(this.suggestionsContainer);t.isFunction(this.options.onHide)&&this.visible&&this.options.onHide.call(this.element,e),this.visible=!1,this.selectedIndex=-1,clearTimeout(this.onChangeTimeout),t(this.suggestionsContainer).hide(),this.onHint(null)},suggest:function(){if(this.suggestions.length){var e,s=this.options,i=s.groupBy,n=s.formatResult,o=this.getQuery(this.currentValue),a=this.classes.suggestion,u=this.classes.selected,l=t(this.suggestionsContainer),r=t(this.noSuggestionsContainer),h=s.beforeRender,c="";s.triggerSelectOnValidInput&&this.isExactMatch(o)?this.select(0):(t.each(this.suggestions,function(t,u){i&&(c+=function(t,n){var o=t.data[i];return e===o?"":(e=o,s.formatGroup(t,e))}(u,0)),c+='<div class="'+a+'" data-index="'+t+'">'+n(u,o,t)+"</div>"}),this.adjustContainerWidth(),r.detach(),l.html(c),t.isFunction(h)&&h.call(this.element,l,this.suggestions),this.fixPosition(),l.show(),s.autoSelectFirst&&(this.selectedIndex=0,l.scrollTop(0),l.children("."+a).first().addClass(u)),this.visible=!0,this.findBestHint())}else this.options.showNoSuggestionNotice?this.noSuggestions():this.hide()},noSuggestions:function(){var e=this.options.beforeRender,s=t(this.suggestionsContainer),i=t(this.noSuggestionsContainer);this.adjustContainerWidth(),i.detach(),s.empty(),s.append(i),t.isFunction(e)&&e.call(this.element,s,this.suggestions),this.fixPosition(),s.show(),this.visible=!0},adjustContainerWidth:function(){var e,s=this.options,i=t(this.suggestionsContainer);"auto"===s.width?(e=this.el.outerWidth(),i.css("width",e>0?e:300)):"flex"===s.width&&i.css("width","")},findBestHint:function(){var e=this.el.val().toLowerCase(),s=null;e&&(t.each(this.suggestions,function(t,i){var n=0===i.value.toLowerCase().indexOf(e);return n&&(s=i),!n}),this.onHint(s))},onHint:function(e){var s=this.options.onHint,i="";e&&(i=this.currentValue+e.value.substr(this.currentValue.length)),this.hintValue!==i&&(this.hintValue=i,this.hint=e,t.isFunction(s)&&s.call(this.element,i))},verifySuggestionsFormat:function(e){return e.length&&"string"==typeof e[0]?t.map(e,function(t){return{value:t,data:null}}):e},validateOrientation:function(e,s){return e=t.trim(e||"").toLowerCase(),-1===t.inArray(e,["auto","bottom","top"])&&(e=s),e},processResponse:function(t,e,s){var i=this.options;t.suggestions=this.verifySuggestionsFormat(t.suggestions),i.noCache||(this.cachedResponse[s]=t,i.preventBadQueries&&!t.suggestions.length&&this.badQueries.push(e)),e===this.getQuery(this.currentValue)&&(this.suggestions=t.suggestions,this.suggest())},activate:function(e){var s,i=this.classes.selected,n=t(this.suggestionsContainer),o=n.find("."+this.classes.suggestion);return n.find("."+i).removeClass(i),this.selectedIndex=e,-1!==this.selectedIndex&&o.length>this.selectedIndex?(s=o.get(this.selectedIndex),t(s).addClass(i),s):null},selectHint:function(){var e=t.inArray(this.hint,this.suggestions);this.select(e)},select:function(t){this.hide(),this.onSelect(t)},moveUp:function(){if(-1!==this.selectedIndex)return 0===this.selectedIndex?(t(this.suggestionsContainer).children("."+this.classes.suggestion).first().removeClass(this.classes.selected),this.selectedIndex=-1,this.ignoreValueChange=!1,this.el.val(this.currentValue),void this.findBestHint()):void this.adjustScroll(this.selectedIndex-1)},moveDown:function(){this.selectedIndex!==this.suggestions.length-1&&this.adjustScroll(this.selectedIndex+1)},adjustScroll:function(e){var s=this.activate(e);if(s){var i,n,o,a=t(s).outerHeight();i=s.offsetTop,o=(n=t(this.suggestionsContainer).scrollTop())+this.options.maxHeight-a,i<n?t(this.suggestionsContainer).scrollTop(i):i>o&&t(this.suggestionsContainer).scrollTop(i-this.options.maxHeight+a),this.options.preserveInput||(this.ignoreValueChange=!0,this.el.val(this.getValue(this.suggestions[e].value))),this.onHint(null)}},onSelect:function(e){var s=this.options.onSelect,i=this.suggestions[e];this.currentValue=this.getValue(i.value),this.currentValue===this.el.val()||this.options.preserveInput||this.el.val(this.currentValue),this.onHint(null),this.suggestions=[],this.selection=i,t.isFunction(s)&&s.call(this.element,i)},getValue:function(t){var e,s,i=this.options.delimiter;return i?1===(s=(e=this.currentValue).split(i)).length?t:e.substr(0,e.length-s[s.length-1].length)+t:t},dispose:function(){this.el.off(".autocomplete").removeData("autocomplete"),t(window).off("resize.autocomplete",this.fixPositionCapture),t(this.suggestionsContainer).remove()}},t.fn.devbridgeAutocomplete=function(e,s){return arguments.length?this.each(function(){var i=t(this),n=i.data("autocomplete");"string"==typeof e?n&&"function"==typeof n[e]&&n[e](s):(n&&n.dispose&&n.dispose(),n=new r(this,e),i.data("autocomplete",n))}):this.first().data("autocomplete")},t.fn.autocomplete||(t.fn.autocomplete=t.fn.devbridgeAutocomplete)});jQuery(document).ready(function($){"use strict";$('.searchform').each(function(){var append=$(this).find('.live-search-results');var search_categories=$(this).find('.search_categories');var serviceUrl=flatsomeVars.ajaxurl+'?action=flatsome_ajax_search_products';var product_cat='';if(search_categories.length&&search_categories.val()!==''){serviceUrl+='&product_cat='+search_categories.val()}
$(this).find('.search-field').devbridgeAutocomplete({minChars:3,appendTo:append,triggerSelectOnValidInput:!1,serviceUrl:serviceUrl,deferRequestBy:parseInt(flatsomeVars.options.search_result_latency),onSearchStart:function(){$('.submit-button').removeClass('loading');$('.submit-button').addClass('loading')},onSelect:function(suggestion){if(suggestion.id!=-1){window.location.href=suggestion.url}},onSearchComplete:function(){$('.submit-button').removeClass('loading')},beforeRender:function(container){$(container).removeAttr('style')},formatResult:function(suggestion,currentValue){var pattern='('+$.Autocomplete.utils.escapeRegExChars(currentValue)+')';var html='';if(suggestion.img)html+='<img class="search-image" src="'+suggestion.img+'">';html+='<div class="search-name">'+suggestion.value.replace(new RegExp(pattern,'gi'),'<strong>$1<\/strong>')+'</div>';if(suggestion.price)html+='<span class="search-price">'+suggestion.price+'<span>';return html}});if(search_categories.length){var searchForm=$(this).find('.search-field').devbridgeAutocomplete();search_categories.on('change',function(e){if(search_categories.val()!=''){searchForm.setOptions({serviceUrl:flatsomeVars.ajaxurl+'?action=flatsome_ajax_search_products&product_cat='+search_categories.val()})}else{searchForm.setOptions({serviceUrl:flatsomeVars.ajaxurl+'?action=flatsome_ajax_search_products'})}
searchForm.hide();searchForm.onValueChange()})}})});(function($,window,document){'use strict';$('form.checkout').on('click','input[name="payment_method"]',function(){if($('#payment').find('.wc-gateway-ppec-cancel').length){return}
var isPPEC=$(this).is('#payment_method_ppec_paypal');var togglePPEC=isPPEC?'show':'hide';var toggleSubmit=isPPEC?'hide':'show';$('#woo_pp_ec_button_checkout').animate({opacity:togglePPEC,height:togglePPEC,padding:togglePPEC},230);$('#place_order').animate({opacity:toggleSubmit,height:toggleSubmit,padding:toggleSubmit},230)})})(jQuery,window,document);var wpcf7_recaptcha={"sitekey":"6Lc3S5AfAAAAACv5iryoA8eoKY6H5EFQOltenXS4","actions":{"homepage":"homepage","contactform":"contactform"}};document.addEventListener("DOMContentLoaded",(e=>{var t;wpcf7_recaptcha={...null!==(t=wpcf7_recaptcha)&&void 0!==t?t:{}};const c=wpcf7_recaptcha.sitekey,{homepage:n,contactform:a}=wpcf7_recaptcha.actions,o=e=>{const{action:t,func:n,params:a}=e;grecaptcha.execute(c,{action:t}).then((e=>{const c=new CustomEvent("wpcf7grecaptchaexecuted",{detail:{action:t,token:e}});document.dispatchEvent(c)})).then((()=>{"function"==typeof n&&n(...a)})).catch((e=>console.error(e)))};if(grecaptcha.ready((()=>{o({action:n})})),document.addEventListener("change",(e=>{o({action:a})})),"undefined"!=typeof wpcf7&&"function"==typeof wpcf7.submit){const e=wpcf7.submit;wpcf7.submit=(t,c={})=>{o({action:a,func:e,params:[t,c]})}}document.addEventListener("wpcf7grecaptchaexecuted",(e=>{const t=document.querySelectorAll('form.wpcf7-form input[name="_wpcf7_recaptcha_response"]');for(let c=0;c<t.length;c++)t[c].setAttribute("value",e.detail.token)}))}));;var vi_wpvs_frontend_param=[];function viwpvs_frontend_init(){jQuery(".vi_wpvs_variation_form:not(.vi_wpvs_variation_form_init)").each(function(){jQuery(this).addClass("vi_wpvs_variation_form_init").viwpvs_woo_product_variation_swatches()}),jQuery(".variations_form:not(.vi_wpvs_variation_form),.variations_form:not(.vi_wpvs_variation_form_init)").each(function(){jQuery(this).addClass("vi_wpvs_variation_form vi_wpvs_variation_form_init").viwpvs_woo_product_variation_swatches()}),vi_wpvs_frontend_param.wjecf_wc_discounts&&vi_wpvs_frontend_param.is_checkout&&jQuery(".variations").each(function(){jQuery(this).addClass("vi_wpvs_variation_form vi_wpvs_variation_form_init").viwpvs_woo_product_variation_swatches()})}jQuery(document).ready(function(i){"use strict";jQuery(document).on("click",".vi-wpvs-variation-style",function(i){jQuery(".vi-wpvs-variation-wrap-option-available").remove(),jQuery(".vi-wpvs-variation-wrap-option.vi-wpvs-variation-wrap-option-show").removeClass("vi-wpvs-variation-wrap-option-show"),i.preventDefault(),i.stopPropagation(),i.stopImmediatePropagation()}),jQuery(document).on("click","body",function(i){jQuery(".vi-wpvs-variation-wrap-option-available").remove(),jQuery(".vi-wpvs-variation-wrap-option.vi-wpvs-variation-wrap-option-show").removeClass("vi-wpvs-variation-wrap-option-show")}),jQuery(document).on("click",".vi-wpvs-variation-wrap-option-available .vi-wpvs-option-wrap",function(i){if(i.preventDefault(),i.stopPropagation(),i.stopImmediatePropagation(),jQuery(this).hasClass("vi-wpvs-option-wrap-disable"))return!1;let t=jQuery(".vi-wpvs-variation-wrap-option-available .vi-wpvs-option-wrap").index(jQuery(this));jQuery(".vi-wpvs-variation-wrap-option.vi-wpvs-variation-wrap-option-show").removeClass("vi-wpvs-variation-wrap-option-show").find(".vi-wpvs-option-wrap").eq(t).trigger("click"),jQuery(".vi-wpvs-variation-wrap-option-available").remove()}),jQuery(document).on("mouseenter",".vi-wpvs-variation-wrap-option-available .vi-wpvs-option-wrap",function(i){jQuery(this).hasClass("vi-wpvs-option-wrap-selected")||jQuery(this).hasClass("vi-wpvs-option-wrap-disable")||jQuery(this).hasClass("vi-wpvs-product-link")||jQuery(this).removeClass("vi-wpvs-option-wrap-default").addClass("vi-wpvs-option-wrap-hover")}),jQuery(document).on("mouseleave",".vi-wpvs-variation-wrap-option-available .vi-wpvs-option-wrap",function(i){jQuery(this).hasClass("vi-wpvs-option-wrap-selected")||jQuery(this).hasClass("vi-wpvs-option-wrap-disable")||jQuery(this).removeClass("vi-wpvs-option-wrap-hover").addClass("vi-wpvs-option-wrap-default")}),jQuery(document.body).on("vi_wpvs_variation_form",function(){jQuery(".vi_wpvs_variation_form:not(.vi_wpvs_variation_form_init)").each(function(){jQuery(this).addClass("vi_wpvs_variation_form_init").viwpvs_woo_product_variation_swatches()})}),viwpvs_frontend_init(),jQuery(document).on("woodmart-quick-view-displayed",function(i,t,a){viwpvs_frontend_init()});let t=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(){this.addEventListener("load",function(){this.responseURL.includes("/wp-admin/admin-ajax.php")&&viwpvs_frontend_init()}),t.apply(this,arguments)},jQuery(document).on("ajaxComplete",function(i,t,a){return viwpvs_frontend_init(),!1})}),jQuery(window).on("load",function(){"use strict";viwpvs_frontend_init()});let vi_wpvs_frontend=function(i){this.form=i,this.variationData=i.data("product_variations"),this.init()};function viwpvs_to_string(i){return i?i.toString():""}vi_wpvs_frontend.prototype.init=function(){let i=this,t=this.form;this.variationData&&t.find(".vi-wpvs-option-wrap.vi-wpvs-option-wrap-selected").length&&t.find(".vi-wpvs-option-wrap.vi-wpvs-option-wrap-selected").length===t.find(".vi-wpvs-select-attribute select").length&&(t.addClass("vi_wpvs_variation_form_has_selected"),t.on("reset_data",function(){t.hasClass("vi_wpvs_variation_form_has_selected")&&(t.removeClass("vi_wpvs_variation_form_has_selected"),i.hide_variation())})),t.on("woocommerce_update_variation_values",function(){i.select_variation_item()}),i.design_variation_item(),t.find(".vi-wpvs-variation-wrap-select-wrap").length&&t.find(".vi-wpvs-variation-wrap-select-wrap").each(function(i,t){jQuery(t).parent().parent().parent().css({width:"100%"});let a,s;(a=jQuery(t).find(".vi-wpvs-variation-wrap-option")).attr("data-offset_height")||a.attr("data-offset_height",a.outerHeight()).removeClass("vi-wpvs-select-hidden").addClass("vi-wpvs-hidden"),s=jQuery(t).find(".vi-wpvs-variation-button-select"),a.find(".vi-wpvs-option-wrap-selected").length&&s.find("span").html(a.find(".vi-wpvs-option-wrap-selected .vi-wpvs-option-select").html()),s.on("click",function(i){if(i.preventDefault(),i.stopPropagation(),a.hasClass("vi-wpvs-variation-wrap-option-show"))jQuery(".vi-wpvs-variation-wrap-option-available").remove(),a.removeClass("vi-wpvs-variation-wrap-option-show");else{let s,o,v,e;s=parseFloat(a.attr("data-offset_height")),o=jQuery(window).scrollTop(),v=jQuery(window).outerHeight(),e=jQuery(this).offset().top-o,jQuery(".vi-wpvs-variation-wrap-option.vi-wpvs-variation-wrap-option-show").removeClass("vi-wpvs-variation-wrap-option-show"),a.addClass("vi-wpvs-variation-wrap-option-show"),jQuery(".vi-wpvs-variation-wrap-option-available").remove();let n=jQuery(t).closest(".vi-wpvs-variation-wrap").clone();n.find(".vi-wpvs-variation-button-select").remove(),n.find(".vi-wpvs-variation-wrap-option").removeClass("vi-wpvs-hidden vi-wpvs-variation-wrap-option-show"),n.addClass("vi-wpvs-variation-wrap-option-available").css({width:jQuery(this).outerWidth(),left:jQuery(this).offset().left}),o>e||o<s||v>e+s+40?(n.toggleClass("vi-wpvs-variation-wrap-select-bottom"),n.css({top:jQuery(this).offset().top+jQuery(this).outerHeight()})):(n.toggleClass("vi-wpvs-variation-wrap-select-top"),n.css({top:jQuery(this).offset().top-a.outerHeight()})),jQuery("body").append(n)}})}),t.find(".vi-wpvs-option-wrap").each(function(i,a){let s,o,v,e;0===(o=(s=jQuery(a).closest(".vi-wpvs-variation-wrap-wrap")).find("select.vi-wpvs-select-attribute")).length&&(o=s.find(".vi-wpvs-select-attribute select").eq(0)),o.find("option").removeClass("vi-wpvs-option-disabled"),jQuery(a).on("mouseenter",function(){jQuery(this).hasClass("vi-wpvs-option-wrap-selected")||jQuery(this).hasClass("vi-wpvs-option-wrap-disable")||jQuery(this).removeClass("vi-wpvs-option-wrap-default").addClass("vi-wpvs-option-wrap-hover")}).on("mouseleave",function(){jQuery(this).hasClass("vi-wpvs-option-wrap-selected")||jQuery(this).hasClass("vi-wpvs-option-wrap-disable")||jQuery(this).removeClass("vi-wpvs-option-wrap-hover").addClass("vi-wpvs-option-wrap-default")}).on("click",function(i){if(i.stopPropagation(),jQuery(this).hasClass("vi-wpvs-option-wrap-disable"))return i.preventDefault(),i.stopPropagation(),!1;jQuery(this).parent().hasClass("vi-wpvs-variation-wrap-radio")||(i.preventDefault(),i.stopPropagation()),jQuery(".vi-wpvs-variation-wrap-option").addClass("vi-wpvs-hidden"),t.find(".reset_variations").removeClass("vi-wpvs-hidden"),s.find(".vi-wpvs-option-wrap").removeClass("vi-wpvs-option-wrap-selected vi-wpvs-option-wrap-hover").addClass("vi-wpvs-option-wrap-default"),s.find(".vi-wpvs-variation-wrap").hasClass("vi-wpvs-variation-wrap-select")&&s.find(".vi-wpvs-variation-button-select >span ").html(jQuery(this).find(".vi-wpvs-option-select").html()),jQuery(this).find(".vi-wpvs-option-radio").length>0&&(s.find(".vi-wpvs-option-radio").prop("checked",!1),jQuery(this).find(".vi-wpvs-option-radio").prop("checked",!0),jQuery(this).removeClass("vi-wpvs-option-wrap-default").addClass("vi-wpvs-option-wrap-selected")),v=viwpvs_to_string(o.val()),(e=viwpvs_to_string(jQuery(this).data("attribute_value")))!==v?(jQuery(this).removeClass("vi-wpvs-option-wrap-default").addClass("vi-wpvs-option-wrap-selected"),o.val(e).trigger("change")):jQuery(this).parent().hasClass("vi-wpvs-variation-wrap-radio")||(t.hasClass("vi_wpvs_loop_variation_form")?t.data("wpvs_double_click")?o.val("").trigger("change"):jQuery(this).removeClass("vi-wpvs-option-wrap-default").addClass("vi-wpvs-option-wrap-selected"):s.data("wpvs_double_click")?o.val("").trigger("change"):jQuery(this).removeClass("vi-wpvs-option-wrap-default").addClass("vi-wpvs-option-wrap-selected")),i.stopPropagation()})}),t.find("select:not(.vi-wpvs-select-attribute):not(.vi-wpvs-variation-style-select)").on("change",function(){setTimeout(function(){i.select_variation_item()},500)}),t.find(".reset_variations").on("click",function(){i.select_variation_item(),i.hide_variation()})},vi_wpvs_frontend.prototype.design_variation_item=function(){let i=this.form;i.find(".vi-wpvs-variation-wrap-wrap").each(function(){let i=jQuery(this),t=i.parent().parent();i.parent().addClass("vi-wpvs-variation-style-content"),i.find(`div.vi-wpvs-select-attribute select[data-attribute_name="${i.data("wpvs_attribute_name")}"]`).addClass("vi-wpvs-select-attribute"),vi_wpvs_frontend_param.wjecf_wc_discounts&&vi_wpvs_frontend_param.is_checkout||t.addClass(i.data("display_type")),i.data("wpvs_attr_title")||t.find(".label").addClass("vi-wpvs-hidden")}),i.find(".vi-wpvs-option.vi-wpvs-option-color").each(function(i,t){let a=jQuery(t).data("option_color");jQuery(t).css({background:a})}),i.find(".vi-wpvs-variation-wrap-wrap").removeClass("vi-wpvs-hidden")},vi_wpvs_frontend.prototype.select_variation_item=function(){let i=this.form,t=this.variationData;i.find(".vi-wpvs-label-selected").addClass("vi-wpvs-hidden"),i.find(".vi-wpvs-option-wrap-out-of-stock").removeClass("vi-wpvs-option-wrap-out-of-stock"),i.find(".vi-wpvs-variation-wrap-wrap").each(function(a,s){let o=jQuery(this);if(o.data("hide_outofstock")){let v=jQuery(s).find("select option:not(.vi-wpvs-option-disabled)").map(function(){return jQuery(this).val()});jQuery(s).find(".vi-wpvs-option-wrap:not(.vi-wpvs-product-link)").each(function(i,t){let a=viwpvs_to_string(jQuery(t).data("attribute_value"));jQuery.inArray(a,v)>-1?jQuery(t).removeClass("vi-wpvs-option-wrap-disable"):jQuery(t).removeClass("vi-wpvs-option-wrap-selected").addClass("vi-wpvs-option-wrap-default vi-wpvs-option-wrap-disable")})}else{let e=jQuery(s).find("select option:not(.vi-wpvs-option-disabled)").map(function(){return jQuery(this).val()});if(jQuery(s).find(".vi-wpvs-option-wrap:not(.vi-wpvs-product-link)").each(function(i,t){let a=viwpvs_to_string(jQuery(t).data("attribute_value"));jQuery.inArray(a,e)>-1?jQuery(t).removeClass("vi-wpvs-hidden"):jQuery(t).removeClass("vi-wpvs-option-wrap-selected").addClass("vi-wpvs-option-wrap-default vi-wpvs-hidden")}),t){let n="viwpvs_default"===o.data("swatch_type")?o.find(`select[name="${o.data("wpvs_attribute_name")}"]`):o.find("select.vi-wpvs-select-attribute"),p=viwpvs_to_string(n.data("attribute_name")),r=n.val();if(!o.hasClass("vi-wpvs-option-wrap-out-of-stock-attribute-checked")&&(o.find(".vi-wpvs-variation-wrap").find(".vi-wpvs-option-wrap").each(function(){let i=jQuery(this),a=viwpvs_to_string(i.data("attribute_value"));if(a){let s=0,o=0;for(let v in t)if(t.hasOwnProperty(v)){let e=t[v];null!==e.attributes&&void 0!==e.attributes&&(""===e.attributes[p]?(s++,(e.hasOwnProperty("is_purchasable")&&!e.is_purchasable||e.hasOwnProperty("is_in_stock")&&!e.is_in_stock||e.hasOwnProperty("viwpvs_not_available"))&&o++):viwpvs_to_string(e.attributes[p])===a&&(s++,e.hasOwnProperty("viwpvs_not_available")&&o++))}s===o&&i.addClass("vi-wpvs-option-wrap-out-of-stock-attribute")}}),o.addClass("vi-wpvs-option-wrap-out-of-stock-attribute-checked")),r){for(let w in t)if(t.hasOwnProperty(w)){let l=t[w];if(l.attributes[p]===r&&l.hasOwnProperty("viwpvs_not_available"))for(let d in l.attributes){let c=l.attributes[d];d!==p&&i.find(`.vi-wpvs-variation-wrap[data-attribute="${d}"]`).find(".vi-wpvs-option-wrap").each(function(){let i=jQuery(this);if(!i.hasClass("vi-wpvs-option-wrap-out-of-stock-attribute")&&!i.hasClass("vi-wpvs-option-wrap-out-of-stock")&&viwpvs_to_string(i.data("attribute_value"))===c){let a=!0;for(let s in t)if(t.hasOwnProperty(s)){let o=t[s];if(o.attributes[p]===r&&o.attributes[d]===viwpvs_to_string(i.data("attribute_value"))&&!o.hasOwnProperty("viwpvs_not_available")){a=!1;break}}return a&&i.addClass("vi-wpvs-option-wrap-out-of-stock"),!1}})}}}}}if(jQuery(s).data("show_selected_item")&&jQuery(s).find(".vi-wpvs-option-wrap-selected").length){if(jQuery(s).parent().parent().find(".vi-wpvs-label-selected").length)jQuery(s).parent().parent().find(".vi-wpvs-label-selected").html(jQuery(s).find(".vi-wpvs-option-wrap-selected").data("attribute_label")).removeClass("vi-wpvs-hidden");else{let f=jQuery(s).parent().parent().find(".label");f.length||(f=jQuery(s).parent().parent().find("label")),f.css({display:"inline-flex",flexWrap:"wrap",alignItems:"center"}).append('<span class="vi-wpvs-label-selected">'+jQuery(s).find(".vi-wpvs-option-wrap-selected").data("attribute_label")+"</span>")}}})},vi_wpvs_frontend.prototype.hide_variation=function(){let i=this.form;i.find(".reset_variations").addClass("vi-wpvs-hidden"),i.find(".vi-wpvs-option-wrap").removeClass("vi-wpvs-option-wrap-selected vi-wpvs-option-wrap-out-of-stock").addClass("vi-wpvs-option-wrap-default"),i.find(".vi-wpvs-option-radio").prop("checked",!1),i.find(".vi-wpvs-variation-wrap-option").addClass("vi-wpvs-hidden"),i.find(".vi-wpvs-variation-button-select >span ").html(i.find(".vi-wpvs-option-select:first-child").html()),i.find(".vi-wpvs-variation-style .vi-wpvs-label-selected").addClass("vi-wpvs-hidden")},jQuery.fn.viwpvs_woo_product_variation_swatches=function(){return new vi_wpvs_frontend(this),this};!function(){var t,e,o,i,r={634:function(){Flatsome.behavior("equalize-box",{attach(t){let e={ScreenSize:{LARGE:1,MEDIUM:2,SMALL:3},equalizeItems:function(t){const e=this;e.maxHeight=0,e.rowEnd=e.disablePerRow?e.boxCount:e.colPerRow,e.$items=[],e.rating={present:!1,height:0,dummy:null},e.swatches={present:!1,height:0,dummy:null},jQuery(t,e.currentElement).each((function(t){const o=jQuery(this);e.$items.push(o),o.height(""),o.children(".js-star-rating").remove();const i=o.children(".star-rating");var r;i.length&&(e.rating.present=!0,e.rating.height=i.height(),e.rating.dummy=null!==(r=e.rating.dummy)&&void 0!==r?r:'<div class="js-star-rating '+i.attr("class")+'" style="opacity: 0; visibility: hidden"></div>'),o.children(".js-ux-swatches").remove();const n=o.children(".ux-swatches.ux-swatches-in-loop");var a;n.length&&(e.swatches.present=!0,e.swatches.height=n.height(),e.swatches.dummy=null!==(a=e.swatches.dummy)&&void 0!==a?a:'<div class="js-ux-swatches '+n.attr("class")+'" style="opacity: 0; visibility: hidden"><div class="'+n.find(".ux-swatch").attr("class")+'"></div></div>'),o.height()>e.maxHeight&&(e.maxHeight=o.height()),t!==e.rowEnd-1&&t!==e.boxCount-1||(e.$items.forEach((function(t){t.height(e.maxHeight),e.maybeAddDummyRating(t),e.maybeAddDummySwatches(t)})),e.rowEnd+=e.colPerRow,e.maxHeight=0,e.$items=[],e.rating.present=!1,e.swatches.present=!1)}))},getColsPerRow:function(){const t=jQuery(this.currentElement).attr("class"),e=/large-columns-(\d+)/g,o=/medium-columns-(\d+)/g,i=/small-columns-(\d+)/g;let r;switch(this.getScreenSize()){case this.ScreenSize.LARGE:return r=e.exec(t),r?parseInt(r[1]):3;case this.ScreenSize.MEDIUM:return r=o.exec(t),r?parseInt(r[1]):3;case this.ScreenSize.SMALL:return r=i.exec(t),r?parseInt(r[1]):2}},maybeAddDummyRating:function(t){let e=t;this.rating.present&&e.hasClass("price-wrapper")&&(e.children(".star-rating").length||(e.prepend(this.rating.dummy),e.children(".js-star-rating").height(this.rating.height)))},maybeAddDummySwatches:function(t){const e=t;this.swatches.present&&(e.children(".ux-swatches.ux-swatches-in-loop").length||(e.prepend(this.swatches.dummy),e.children(".js-ux-swatches").height(this.swatches.height)))},getScreenSize:function(){return window.matchMedia("(min-width: 850px)").matches?this.ScreenSize.LARGE:window.matchMedia("(min-width: 550px) and (max-width: 849px)").matches?this.ScreenSize.MEDIUM:window.matchMedia("(max-width: 549px)").matches?this.ScreenSize.SMALL:void 0},init:function(){const e=this,o=[".product-title",".price-wrapper",".box-excerpt",".add-to-cart-button"];jQuery(".equalize-box",t).each(((t,i)=>{e.currentElement=i,e.colPerRow=e.getColsPerRow(),1!==e.colPerRow&&(e.disablePerRow=jQuery(i).hasClass("row-slider")||jQuery(i).hasClass("row-grid"),e.boxCount=jQuery(".box-text",e.currentElement).length,o.forEach((t=>{e.equalizeItems(".box-text "+t)})),e.equalizeItems(".box-text"))}))}};e.init(),jQuery(window).on("resize",(()=>{e.init()})),jQuery(document).on("flatsome-equalize-box",(()=>{e.init()}))}})},9222:function(){Flatsome.behavior("add-qty",{attach(t){jQuery(".quantity",t).addQty()}})},6619:function(){Flatsome.plugin("addQty",(function(t,e){const o=jQuery(t);String.prototype.uxGetDecimals||(String.prototype.uxGetDecimals=function(){const t=(""+this).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}),o.off("click.flatsome",".plus, .minus").on("click.flatsome",".plus, .minus",(function(){const t=jQuery(this),e=t.closest(".quantity").find(".qty");let o=parseFloat(e.val()),i=parseFloat(e.attr("max")),r=parseFloat(e.attr("min")),n=e.attr("step");o&&""!==o&&"NaN"!==o||(o=0),""!==i&&"NaN"!==i||(i=""),""!==r&&"NaN"!==r||(r=0),"any"!==n&&""!==n&&void 0!==n&&"NaN"!==parseFloat(n)||(n=1),t.is(".plus")?i&&(i===o||o>i)?e.val(i):e.val((o+parseFloat(n)).toFixed(n.uxGetDecimals())):r&&(r===o||o<r)?e.val(r):o>0&&e.val((o-parseFloat(n)).toFixed(n.uxGetDecimals())),e.trigger("input"),e.trigger("change")}))}))},9791:function(){setTimeout((function(){jQuery(document.body).on("country_to_state_changed",(function(){"undefined"!=typeof floatlabels&&floatlabels.rebuild()}))}),500)},86:function(){jQuery((function(t){t(document.body).on("change",".woocommerce-mini-cart-item .qty",(function(){var e;(e=t(this))[0].checkValidity()?function(e,o){const i=e.find(".remove_from_cart_button").attr("data-cart_item_key");i&&(e.block({message:null}),t.post(flatsomeVars.ajaxurl,{action:"flatsome_ajax_cart_item_alter_quantity",quantity:o,cart_item_key:i}).done((()=>{t(document.body).trigger("updated_wc_div"),t(document.body).trigger("added_to_cart"),e.unblock(),e=null})))}(e.closest(".woocommerce-mini-cart-item"),e.val()):e[0].reportValidity()}))}))},8484:function(){jQuery(document).ready((function(){if(!jQuery(".custom-product-page").length)return;const t=jQuery("#respond p.stars");if(t.length>1){const e=t[0].outerHTML;t.remove(),jQuery('select[id="rating"]').hide().before(e)}}))},4850:function(){jQuery(document).on("yith_infs_adding_elem",(function(t){Flatsome.attach(jQuery(".shop-container"))}))},4168:function(t,e,o){var i,r;!function(n,a){"use strict";i=[o(9567)],r=function(t){!function(t){var e,o,i,r,n,a,s={loadingNotice:"Loading image",errorNotice:"The image could not be loaded",errorDuration:2500,linkAttribute:"href",preventClicks:!0,beforeShow:t.noop,beforeHide:t.noop,onShow:t.noop,onHide:t.noop,onMove:t.noop};function c(e,o){this.$target=t(e),this.opts=t.extend({},s,o,this.$target.data()),void 0===this.isOpen&&this._init()}c.prototype._init=function(){this.$link=this.$target.find("a"),this.$image=this.$target.find("img"),this.$flyout=t('<div class="easyzoom-flyout" />'),this.$notice=t('<div class="easyzoom-notice" />'),this.$target.on({"mousemove.easyzoom touchmove.easyzoom":t.proxy(this._onMove,this),"mouseleave.easyzoom touchend.easyzoom":t.proxy(this._onLeave,this),"mouseenter.easyzoom touchstart.easyzoom":t.proxy(this._onEnter,this)}),this.opts.preventClicks&&this.$target.on("click.easyzoom",(function(t){t.preventDefault()}))},c.prototype.show=function(t,n){var a=this;if(!1!==this.opts.beforeShow.call(this)){if(!this.isReady)return this._loadImage(this.$link.attr(this.opts.linkAttribute),(function(){!a.isMouseOver&&n||a.show(t)}));this.$target.append(this.$flyout);var s=this.$target.outerWidth(),c=this.$target.outerHeight(),l=this.$flyout.width(),u=this.$flyout.height(),d=this.$zoom.width(),h=this.$zoom.height();e=Math.ceil(d-l),o=Math.ceil(h-u),i=(e=e<0?0:e)/s,r=(o=o<0?0:o)/c,this.isOpen=!0,this.opts.onShow.call(this),t&&this._move(t)}},c.prototype._onEnter=function(t){var e=t.originalEvent.touches;this.isMouseOver=!0,e&&1!=e.length||(t.preventDefault(),this.show(t,!0))},c.prototype._onMove=function(t){this.isOpen&&(t.preventDefault(),this._move(t))},c.prototype._onLeave=function(){this.isMouseOver=!1,this.isOpen&&this.hide()},c.prototype._onLoad=function(t){t.currentTarget.width&&(this.isReady=!0,this.$notice.detach(),this.$flyout.html(this.$zoom),this.$target.removeClass("is-loading").addClass("is-ready"),t.data.call&&t.data())},c.prototype._onError=function(){var t=this;this.$notice.text(this.opts.errorNotice),this.$target.removeClass("is-loading").addClass("is-error"),this.detachNotice=setTimeout((function(){t.$notice.detach(),t.detachNotice=null}),this.opts.errorDuration)},c.prototype._loadImage=function(e,o){var i=new Image;this.$target.addClass("is-loading").append(this.$notice.text(this.opts.loadingNotice)),this.$zoom=t(i).on("error",t.proxy(this._onError,this)).on("load",o,t.proxy(this._onLoad,this)),i.style.position="absolute",i.src=e},c.prototype._move=function(t){a=0===t.type.indexOf("touch")?(s=t.touches||t.originalEvent.touches,n=s[0].pageX,s[0].pageY):(n=t.pageX||n,t.pageY||a);var s=this.$target.offset();t=n-s.left,s=a-s.top,t=Math.ceil(t*i),s=Math.ceil(s*r),t<0||s<0||e<t||o<s?this.hide():(s*=-1,t*=-1,"transform"in document.body.style?this.$zoom.css({transform:"translate("+t+"px, "+s+"px)"}):this.$zoom.css({top:s,left:t}),this.opts.onMove.call(this,s,t))},c.prototype.hide=function(){this.isOpen&&!1!==this.opts.beforeHide.call(this)&&(this.$flyout.detach(),this.isOpen=!1,this.opts.onHide.call(this))},c.prototype.swap=function(e,o,i){this.hide(),this.isReady=!1,this.detachNotice&&clearTimeout(this.detachNotice),this.$notice.parent().length&&this.$notice.detach(),this.$target.removeClass("is-loading is-ready is-error"),this.$image.attr({src:e,srcset:t.isArray(i)?i.join():i}),this.$link.attr(this.opts.linkAttribute,o)},c.prototype.teardown=function(){this.hide(),this.$target.off(".easyzoom").removeClass("is-loading is-ready is-error"),this.detachNotice&&clearTimeout(this.detachNotice),delete this.$link,delete this.$zoom,delete this.$image,delete this.$notice,delete this.$flyout,delete this.isOpen,delete this.isReady},t.fn.easyZoom=function(e){return this.each((function(){var o=t.data(this,"easyZoom");o?void 0===o.isOpen&&o._init():t.data(this,"easyZoom",new c(this,e))}))}}(t)}.apply(e,i),void 0===r||(t.exports=r)}()},9567:function(t){"use strict";t.exports=window.jQuery}},n={};function a(t){var e=n[t];if(void 0!==e)return e.exports;var o=n[t]={exports:{}};return r[t].call(o.exports,o,o.exports,a),o.exports}a.m=r,e=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},a.t=function(o,i){if(1&i&&(o=this(o)),8&i)return o;if("object"==typeof o&&o){if(4&i&&o.__esModule)return o;if(16&i&&"function"==typeof o.then)return o}var r=Object.create(null);a.r(r);var n={};t=t||[null,e({}),e([]),e(e)];for(var s=2&i&&o;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((function(t){n[t]=function(){return o[t]}}));return n.default=function(){return o},a.d(r,n),r},a.d=function(t,e){for(var o in e)a.o(e,o)&&!a.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},a.f={},a.e=function(t){return Promise.all(Object.keys(a.f).reduce((function(e,o){return a.f[o](t,e),e}),[]))},a.u=function(t){return"js/chunk.popups.js"},a.miniCssF=function(t){},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o={},i="flatsome:",a.l=function(t,e,r,n){if(o[t])o[t].push(e);else{var s,c;if(void 0!==r)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var d=l[u];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==i+r){s=d;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",i+r),s.src=t),o[t]=[e];var h=function(e,i){s.onerror=s.onload=null,clearTimeout(m);var r=o[t];if(delete o[t],s.parentNode&&s.parentNode.removeChild(s),r&&r.forEach((function(t){return t(i)})),e)return e(i)},m=setTimeout(h.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),c&&document.head.appendChild(s)}},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){const t=a.u;a.u=e=>{const o=t(e),i=globalThis.flatsomeVars?.theme.version;return o+(i?"?ver="+i:"")}}(),a.p=globalThis.flatsomeVars?.assets_url??"/",function(){var t={960:0};a.f.j=function(e,o){var i=a.o(t,e)?t[e]:void 0;if(0!==i)if(i)o.push(i[2]);else{var r=new Promise((function(o,r){i=t[e]=[o,r]}));o.push(i[2]=r);var n=a.p+a.u(e),s=new Error;a.l(n,(function(o){if(a.o(t,e)&&(0!==(i=t[e])&&(t[e]=void 0),i)){var r=o&&("load"===o.type?"missing":o.type),n=o&&o.target&&o.target.src;s.message="Loading chunk "+e+" failed.\n("+r+": "+n+")",s.name="ChunkLoadError",s.type=r,s.request=n,i[1](s)}}),"chunk-"+e,e)}};var e=function(e,o){var i,r,n=o[0],s=o[1],c=o[2],l=0;if(n.some((function(e){return 0!==t[e]}))){for(i in s)a.o(s,i)&&(a.m[i]=s[i]);c&&c(a)}for(e&&e(o);l<n.length;l++)r=n[l],a.o(t,r)&&t[r]&&t[r][0](),t[r]=0},o=self.flatsomeChunks=self.flatsomeChunks||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))}(),function(){"use strict";a(6619),a(9222),a(634);const t=window.matchMedia("(prefers-reduced-motion: reduce)");let e=!1;function o(){e="undefined"==typeof UxBuilder&&t.matches}function i(){return jQuery.fn.magnificPopup?Promise.resolve():a.e(964).then(a.t.bind(a,4343,23))}o(),t.addEventListener?.("change",o),jQuery.loadMagnificPopup=i,jQuery.fn.lazyMagnificPopup=function(t){const e=jQuery(this),o=t.delegate?e.find(t.delegate):e;return o.one("click",(r=>{r.preventDefault(),i().then((()=>{e.data("magnificPopup")||e.magnificPopup(t),e.magnificPopup("open",o.index(r.currentTarget)||0)}))})),e},Flatsome.behavior("quick-view",{attach:function(t){"uxBuilder"!==jQuery("html").attr("ng-app")&&jQuery(".quick-view",t).each((function(t,o){jQuery(o).hasClass("quick-view-added")||(jQuery(o).on("click",(function(t){if(""!=jQuery(this).attr("data-prod")){jQuery(this).parent().parent().addClass("processing");var r={action:"flatsome_quickview",product:jQuery(this).attr("data-prod")};jQuery.post(flatsomeVars.ajaxurl,r,(function(t){i().then((()=>{jQuery(".processing").removeClass("processing"),jQuery.magnificPopup.open({removalDelay:300,autoFocusLast:!1,closeMarkup:flatsomeVars.lightbox.close_markup,closeBtnInside:flatsomeVars.lightbox.close_btn_inside,items:{src:'<div class="product-lightbox lightbox-content">'+t+"</div>",type:"inline"},callbacks:{afterClose:()=>{jQuery(o).closest(".box").find(".box-text a:first").trigger("focus")}}}),setTimeout((function(){const t=jQuery(".product-lightbox");t.imagesLoaded((function(){const t={cellAlign:"left",wrapAround:!0,autoPlay:!1,prevNextButtons:!0,adaptiveHeight:!0,imagesLoaded:!0,dragThreshold:15,rightToLeft:flatsomeVars.rtl};e&&(t.friction=1,t.selectedAttraction=1),jQuery(".product-lightbox .slider").lazyFlickity(t)})),Flatsome.attach("tooltips",t)}),300);let i=jQuery(".product-lightbox form.variations_form");jQuery(".product-lightbox form").hasClass("variations_form")&&i.wc_variation_form();let r=jQuery(".product-lightbox .product-gallery-slider"),n=jQuery(".product-lightbox .product-gallery-slider .slide.first img"),a=jQuery(".product-lightbox .product-gallery-slider .slide.first a"),s=n.attr("data-src")?n.attr("data-src"):n.attr("src");const c=jQuery.Deferred();r.one("flatsome-flickity-ready",(()=>c.resolve()));let l=function(){r.data("flickity")&&r.flickity("select",0)},u=function(){r.data("flickity")&&r.imagesLoaded((function(){r.flickity("resize")}))};jQuery.when(c).done((()=>{i.on("hide_variation",(function(t,e){n.attr("src",s).attr("srcset",""),u()})),i.on("click",".reset_variations",(function(){n.attr("src",s).attr("srcset",""),l(),u()}))})),i.on("show_variation",(function(t,e){jQuery.when(c).done((()=>{e.image.src?(n.attr("src",e.image.src).attr("srcset",""),a.attr("href",e.image_link),l(),u()):e.image_src&&(n.attr("src",e.image_src).attr("srcset",""),a.attr("href",e.image_link),l(),u())}))})),jQuery(".product-lightbox .quantity").addQty()}))})),t.preventDefault()}})),jQuery(o).addClass("quick-view-added"))}))}}),a(9791),a(86),a(4168);var r=!1;const n=/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent);function s(){return window.flatsomeVars.scrollPaddingTop}function c(t){if(jQuery(".cart-item .nav-dropdown").length)jQuery(".cart-item").addClass("current-dropdown cart-active"),jQuery(".shop-container").on("click",(function(){jQuery(".cart-item").removeClass("current-dropdown cart-active")})),jQuery(".cart-item").hover((function(){jQuery(".cart-active").removeClass("cart-active")})),setTimeout((function(){jQuery(".cart-active").removeClass("current-dropdown")}),t);else{let t=0;if(jQuery.fn.magnificPopup){if(t=jQuery.magnificPopup.open?300:0,t&&"#cart-popup"===jQuery.magnificPopup.instance?.currItem?.src)return;t&&jQuery.magnificPopup.close()}setTimeout((function(){jQuery(".cart-item .off-canvas-toggle").trigger("click")}),t)}}jQuery(document).on("flatsome-product-gallery-tools-init",(()=>{n||(r=jQuery(".has-image-zoom .slide").easyZoom({loadingNotice:"",preventClicks:!1})),jQuery(".zoom-button").off("click.flatsome").on("click.flatsome",(function(t){jQuery(".product-gallery-slider").find(".is-selected a").trigger("click"),t.preventDefault()})),jQuery(".has-lightbox .product-gallery-slider").each((function(){jQuery(this).lazyMagnificPopup({delegate:"a",type:"image",tLoading:'<div class="loading-spin centered dark"></div>',closeMarkup:flatsomeVars.lightbox.close_markup,closeBtnInside:flatsomeVars.lightbox.close_btn_inside,gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1],arrowMarkup:'<button class="mfp-arrow mfp-arrow-%dir%" title="%title%"><i class="icon-angle-%dir%"></i></button>'},image:{tError:'<a href="%url%">The image #%curr%</a> could not be loaded.',verticalFit:!1}})}))})),jQuery((function(t){const e=t(".product-thumbnails .first img").attr("data-src")?t(".product-thumbnails .first img").attr("data-src"):t(".product-thumbnails .first img").attr("src"),o=t("form.variations_form"),i=t(".product-gallery-slider"),a=t(".product-thumbnails");let s=null;const c=t.Deferred(),l=t.Deferred();i.one("flatsome-flickity-ready",(()=>c.resolve())),a.one("flatsome-flickity-ready",(()=>l.resolve())),a.length&&!a.is(":hidden")||l.resolve();const u=function(){r&&r.length&&(s=r.filter(".has-image-zoom .slide.first").data("easyZoom"),s.swap(t(".has-image-zoom .slide.first img").attr("src"),t(".has-image-zoom .slide.first img").attr("data-large_image")))},d=function(){i.data("flickity")&&i.flickity("select",0)},h=function(){i.data("flickity")&&i.imagesLoaded((function(){i.flickity("resize")}))};t.when(c).then((()=>{t(document).trigger("flatsome-product-gallery-tools-init")}));const m=t.when(c,l).then((()=>{n&&h(),o.on("hide_variation",(function(o,i){t(".product-thumbnails .first img, .sticky-add-to-cart-img").attr("src",e),h()})),o.on("click",".reset_variations",(function(){t(".product-thumbnails .first img, .sticky-add-to-cart-img").attr("src",e),d(),u(),h()}))}));o.on("show_variation",(function(o,i){t.when(m).done((()=>{i.hasOwnProperty("image")&&i.image.thumb_src?(t(".product-gallery-slider-old .slide.first img, .sticky-add-to-cart-img, .product-thumbnails .first img, .product-gallery-slider .slide.first .zoomImg").attr("src",i.image.thumb_src).attr("srcset",""),d(),u(),h()):(t(".product-thumbnails .first img").attr("src",e),h())}))}))})),document.documentElement.style,window.getComputedStyle(document.documentElement)["scroll-behavior"],jQuery((function(t){if(!document.body.classList.contains("single-product"))return;const e=window.location.hash,o=window.location.href;function i(){!function(){const e=t(".reviews_tab"),o=e.length?e:t("#reviews").closest(".accordion-item");o.length&&o.find("a:not(.active):first").trigger("click")}(),setTimeout((()=>{t.scrollTo("#reviews",{offset:-s()-15})}),500)}(e.toLowerCase().indexOf("comment-")>=0||"#comments"===e||"#reviews"===e||"#tab-reviews"===e||o.indexOf("comment-page-")>0||o.indexOf("cpage=")>0)&&i(),t("a.woocommerce-review-link").on("click",(function(t){t.preventDefault(),history.pushState(null,null,"#reviews"),i()}))})),a(8484),jQuery((function(t){const e=t(".sticky-add-to-cart");if(!e.length)return;const o=function(t){return new IntersectionObserver((function(e){for(let o=0;o<e.length;o++)t(e[o])}),{rootMargin:"0px",threshold:.1,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}})}((o=>{const{top:i}=o.boundingClientRect,r=o.intersectionRatio<=0&&i<=0;e.toggleClass("sticky-add-to-cart--active",r),t("body").toggleClass("has-sticky-product-cart",r)}),{threshold:0});t(".sticky-add-to-cart-select-options-button",e).on("click",(function(e){e.preventDefault(),t.scrollTo(".product form.variations_form",{offset:-s()-15})}));const i=e.data("product-id")||0;function r(e,o){e.on("change",(function(){o.val(t(this).val())}))}t(`#product-${i} button.single_add_to_cart_button:visible`).first().each(((i,n)=>{const a=t(n).closest("form.cart");r(t(".qty",e),t(".qty",a)),r(t(".qty",a),t(".qty",e)),o.observe(n)}))})),a(4850),jQuery("table.my_account_orders").wrap('<div class="touch-scroll-table"/>'),jQuery(".single_add_to_cart_button").on("click",(function(){let t=jQuery(this),e=t.closest("form.cart");e?e.on("submit",(function(){t.addClass("loading")})):t.hasClass("disabled")||t.addClass("loading"),jQuery(window).on("pageshow",(()=>{t.removeClass("loading")}))})),jQuery(document).on("flatsome-open-mini-cart",(()=>{c(5e3)})),flatsomeVars.is_mini_cart_reveal&&(jQuery("body").on("added_to_cart",(function(){c("5000");const t=jQuery("#header"),e=t.hasClass("has-sticky"),o=jQuery(".header-wrapper",t);e&&jQuery(".cart-item.has-dropdown").length&&t.hasClass("sticky-hide-on-scroll--active")&&(o.addClass("stuck"),t.removeClass("sticky-hide-on-scroll--active"))})),jQuery(document).ready((function(){jQuery("span.added-to-cart").length&&c("5000")}))),jQuery(document.body).on("updated_cart_totals",(function(){jQuery(document).trigger("yith_wcwl_reload_fragments");const t=jQuery(".cart-wrapper");Flatsome.attach("lazy-load-images",t),Flatsome.attach("quick-view",t),Flatsome.attach("wishlist",t),Flatsome.attach("cart-refresh",t),Flatsome.attach("equalize-box",t)})),jQuery(document).ajaxComplete((function(){Flatsome.attach("add-qty",jQuery(".quantity").parent()),Flatsome.attach("lightboxes-link",jQuery(".woocommerce-checkout .woocommerce-terms-and-conditions-wrapper"))})),jQuery(document.body).on("wc_fragments_refreshed wc_fragments_loaded",(function(){Flatsome.attach("add-qty",jQuery(".quantity").parent())})),jQuery(document.body).on("updated_checkout",(function(){Flatsome.attach("lightboxes-link",jQuery(".woocommerce-checkout .woocommerce-terms-and-conditions-wrapper"))})),jQuery(".disable-lightbox a").on("click",(function(t){t.preventDefault()})),jQuery((function(t){t.scroll_to_notices=function(e){t.scrollTo(e)}})),jQuery((function(t){t("#login-form-popup").find(".woocommerce-notices-wrapper > ul").length>0&&t('[data-open="#login-form-popup"]').trigger("click")}))}()}();jQuery(function(e){if("undefined"==typeof wc_cart_fragments_params)return!1;var t=!0,r=wc_cart_fragments_params.cart_hash_key;try{t="sessionStorage"in window&&null!==window.sessionStorage,window.sessionStorage.setItem("wc","test"),window.sessionStorage.removeItem("wc"),window.localStorage.setItem("wc","test"),window.localStorage.removeItem("wc")}catch(f){t=!1}function n(){t&&sessionStorage.setItem("wc_cart_created",(new Date).getTime())}function o(e){t&&(localStorage.setItem(r,e),sessionStorage.setItem(r,e))}var a={url:wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%","get_refreshed_fragments"),type:"POST",data:{time:(new Date).getTime()},timeout:wc_cart_fragments_params.request_timeout,success:function(r){r&&r.fragments&&(e.each(r.fragments,function(t,r){e(t).replaceWith(r)}),t&&(sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(r.fragments)),o(r.cart_hash),r.cart_hash&&n()),e(document.body).trigger("wc_fragments_refreshed"))},error:function(){e(document.body).trigger("wc_fragments_ajax_error")}};function s(){e.ajax(a)}if(t){var i=null;e(document.body).on("wc_fragment_refresh updated_wc_div",function(){s()}),e(document.body).on("added_to_cart removed_from_cart",function(e,t,a){var s=sessionStorage.getItem(r);null!==s&&s!==undefined&&""!==s||n(),sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(t)),o(a)}),e(document.body).on("wc_fragments_refreshed",function(){clearTimeout(i),i=setTimeout(s,864e5)}),e(window).on("storage onstorage",function(e){r===e.originalEvent.key&&localStorage.getItem(r)!==sessionStorage.getItem(r)&&s()}),e(window).on("pageshow",function(t){t.originalEvent.persisted&&(e(".widget_shopping_cart_content").empty(),e(document.body).trigger("wc_fragment_refresh"))});try{var c=JSON.parse(sessionStorage.getItem(wc_cart_fragments_params.fragment_name)),_=sessionStorage.getItem(r),g=Cookies.get("woocommerce_cart_hash"),m=sessionStorage.getItem("wc_cart_created");if(null!==_&&_!==undefined&&""!==_||(_=""),null!==g&&g!==undefined&&""!==g||(g=""),_&&(null===m||m===undefined||""===m))throw"No cart_created";if(m){var d=1*m+864e5,w=(new Date).getTime();if(d<w)throw"Fragment expired";i=setTimeout(s,d-w)}if(!c||!c["div.widget_shopping_cart_content"]||_!==g)throw"No fragment";e.each(c,function(t,r){e(t).replaceWith(r)}),e(document.body).trigger("wc_fragments_loaded")}catch(f){s()}}else s();Cookies.get("woocommerce_items_in_cart")>0?e(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show():e(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").hide(),e(document.body).on("adding_to_cart",function(){e(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show()}),"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.widgetsPreview&&wp.customize.widgetsPreview.WidgetPartial&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(){s()})});var gfp_aff_toolbar;window.__goaffpro={"pre_checkout_ref_input_data":{"input_label":"Referred By?","input_placeholder":"Referral Code"},"shop":"QVzQXnn0LxQV","cookie_duration":604800,"checkout_page_callback":!0,"scripts":[],"first_touch_or_last":"last_touch","identifiers":["ref","aff","wpam_id","click_id"],"noref_cookie_identifiers":["noref"],"integration":"woocommerce","force_callback":!0,"partner_portal_subdomain":"technoblademerch.goaffpro.com","aff_bar_config":{"copy_btn_text":"Copy Link","copied_btn_text":"Copied","bgColor":"#eee","textColor":"#3c5a99","social_icons":["fb","wa","tw","pt"],"dashboard_text":"Dashboard","fb_color":"#3c5a99","tw_color":"#1da1f2","pt_color":"#bd081c","wa_color":"#4ac959"},"customer_affiliate_connect_auto":!1,"use_local_storage":!1,"autolink_ref_parameter":"ref"};var goaffpro_identifiers=["gfp_ref","ref","aff","wpam_id","click_id"],source_identifiers=["gfp_sub_id","sub_id","source","utm_source","tx_id","public_id"],gfp_additional=window.__goaffpro&&window.__goaffpro.identifiers,isFirstTouch=window.__goaffpro&&("first_touch"===window.__goaffpro.first_touch_or_last||"first_touch_nonblocking"===window.__goaffpro.first_touch_or_last),gfp_setOrganic=window.__goaffpro&&"first_touch"===window.__goaffpro.first_touch_or_last,useLocalStorage=window.__goaffpro&&window.__goaffpro.use_local_storage,gfp_discount_code_cookie="dcode",gfp_no_ref_cookies=window.__goaffpro&&window.__goaffpro.noref_cookie_identifiers||["noref"];gfp_additional&&gfp_additional.forEach(function(o){goaffpro_identifiers.push(o)});var gfp_api_server="https://api2.goaffpro.com";window.goaffproOrder&&!window.goaffpro_order&&(window.goaffpro_order=window.goaffproOrder);var gfp_cookieManager={getCookie:function(o){if(useLocalStorage)return localStorage.getItem(o);const e=document.cookie.split("; ")||[];const r={};for(var i,t=0;t<e.length;t++){var f=e[t].split("="),a=f.slice(1).join("=");try{var n=decodeURIComponent(f[0]);if(r[n]=(i='"'===(i=a)[0]?i.slice(1,-1):i).replace(/(%[\dA-F]{2})+/gi,decodeURIComponent),o===n)break}catch(o){}}return r[o]},deleteCookie:function(o){gfp_cookieManager.setCookie(o,"",-1e3)},setCookie:function(o,e,r){var i=r||(window.__goaffpro&&-1<window.__goaffpro.cookie_duration?window.__goaffpro.cookie_duration:604800);useLocalStorage&&localStorage.setItem(o,e),"ref"===o&&i&&gfpSetCookie("gfp_ref_expires",Date.now()+1e3*i);var t=";";i&&(t="; expires="+new Date((new Date).getTime()+1e3*i).toUTCString()+";");r=location.hostname,i=r.split(".");1===i.length?document.cookie=o+"="+e+t+"; path=/":(i.shift(),i="."+i.join("."),document.cookie=o+"="+e+t+"path=/; domain="+i,!gfpGetCookie(o)!==e&&(i="."+r,document.cookie=o+"="+e+t+"path=/; domain="+i))}};function gfpGetCookie(o){return gfp_cookieManager.getCookie(o)}function gfpDeleteCookie(o){return gfp_cookieManager.deleteCookie(o)}function gfpSetCookie(o,e){return gfp_cookieManager.setCookie(o,e)}function getRefCode(){if(isFirstTouch&&gfpGetCookie("ref"))return gfpGetCookie("ref");var o=searchInQuery(goaffpro_identifiers,document.location.search);return o||((o=searchInQuery(goaffpro_identifiers,document.location.hash))||(o=regexSearch(goaffpro_identifiers))||(o=searchInQuery(goaffpro_identifiers,goaffproShopifyStVariableFix()))?o:-1<goaffpro_identifiers.indexOf("hash")?document.location.hash&&document.location.hash.substring(1):-1<goaffpro_identifiers.indexOf("subdomain")?document.location.host.split(".")[0]:isFirstTouch&&gfp_setOrganic?"organic":null)}function regexSearch(o){for(var e=o.filter(function(o){return o.startsWith("regexp:")}).map(function(o){return o.substr(7)}),r=0;r<e.length;r++){var i=e[r],i=document.location.href.match(new RegExp(i,"i"));if(i&&0<i.length)return i[1]}}function getSourceId(){return isFirstTouch&&gfpGetCookie("source")?gfpGetCookie("source"):searchInQuery(source_identifiers,document.location.search)}function searchInQuery(o,e){if(o&&0!==o.length){e=e||document.location.search;if(0<e.length){const f=new URLSearchParams(e),a={};for(var[r,i]of f.entries())a[r.toLowerCase()]=i;for(var t of o)if(a[t.toLowerCase()])return a[t.toLowerCase()]}}}function getShop(){var e=void 0;return Object.keys(document.scripts).forEach(function(o){o=document.scripts[o];o.src&&o.src.startsWith("https://static.goaffpro.com/reftracker.js")&&(e=o.src.replace("https://static.goaffpro.com/reftracker.js?shop=",""))}),e||window.__goaffpro&&window.__goaffpro.shop||document.location.host}function trackVisit(){var r=gfpGetCookie("ref"),i=gfpGetCookie(gfp_discount_code_cookie)||gfpGetCookie("discount_code"),o=gfpGetCookie("source"),e=gfpGetCookie("gfp_v_id");if(r||i){const t=new URL(gfp_api_server+"/shop"),f={sub_id:o,ref:r,shop:getShop(),location:document.location.href,navigator:navigator.userAgent,referrer:document.referrer,discount_code:i,visit_id:e};return Object.keys(f).forEach(function(o){void 0!==f[o]&&t.searchParams.append(o,f[o])}),fetch(t.href).then(function(o){return 420===o.status?(gfp_remove_cookies(),{}):o.json()}).then(function(o){var e;o.discount_code&&i!==o.discount_code&&(gfpGetCookie(gfp_discount_code_cookie)!==o.discount_code&&gfpSetCookie(gfp_discount_code_cookie,o.discount_code),"woocommerce"===window.__goaffpro.integration?gfp_cookieManager.setCookie(gfp_discount_code_cookie,o.discount_code):(e=new XMLHttpRequest,o.apply_discount_on_myshopify?e.open("GET","https://"+o.website+"/discount/"+encodeURIComponent(o.discount_code)):e.open("GET","/discount/"+encodeURIComponent(o.discount_code)),e.send())),o.visit_id&&gfp_cookieManager.setCookie("gfp_v_id",""+o.visit_id),o.cookie_duration&&(r&&gfp_cookieManager.setCookie("ref",r,o.cookie_duration),i&&gfp_cookieManager.setCookie(gfp_discount_code_cookie,i,o.cookie_duration),source&&gfp_cookieManager.setCookie("source",""+source,o.cookie_duration),o.visit_id&&gfp_cookieManager.setCookie("gfp_v_id",""+o.visit_id,o.cookie_duration))}).catch(function(o){})}return Promise.resolve()}function checkoutPageCallback(){if(window.__goaffpro){var o=window.__goaffpro.integration;if("undefined"!=typeof Shopify&&(Shopify.checkout||Shopify.Checkout)&&window.__goaffpro.checkout_page_callback){var e=Shopify.checkout?Shopify.checkout.order_id||Shopify.checkout.id:null;(e=e||new URL(document.location.href).searchParams.get("gid"))&&doCallback(e,Shopify.checkout||Shopify.Checkout)}else if(void 0!==window.__big)doCallback(window.__big.order_id,window.__big);else if(void 0!==window.Goaffpro&&window.Goaffpro.data)doCallback(window.Goaffpro.data.order_id,window.Goaffpro.data);else if("bigcommerce"===o){e=document.body.innerHTML.split(" ").join(""),e=/orderId:'(.*?)'/gm.exec(e);e&&0<e.length&&doCallback(e[1],{})}else if("squarespace"===o){var r=searchInQuery(["oid"]);if(r||window.goaffpro_order)return doCallback(r||window.goaffpro_order.id,window.goaffpro_order)}else if("webflow"===o){r=searchInQuery(["orderid"]);r&&doCallback(r,{id:r})}else if("woocommerce"===o&&window.order){var i=window.order;i&&doCallback(i.id,i)}else{if(window.goaffpro_order&&(window.goaffpro_order.id||window.goaffpro_order.number))return doCallback(window.goaffpro_order.id||window.goaffpro_order.number,window.goaffpro_order);document.getElementById("goaffpro_order_elem")&&(i=(o=document.getElementById("goaffpro_order_elem")).getAttribute("data-order-id"),o=o.getAttribute("data-increment-id"),i&&doCallback(i,{id:i,increment_id:o}))}}}function goaffproTrackConversion(o){doCallback("string"==typeof o?void 0:o.id,o)}function goaffproTrackConversionSync(o){doCallback("string"==typeof o?void 0:o.id,o,!0)}function respondToOpeningPageForMembershipPlans(o){try{window.opener&&window.opener.postMessage(JSON.stringify({id:o,type:"goaffpro"}),"*")}catch(o){}}var gfpCallbackMade=!1;function doCallback(o,e,r=!1){var i=gfpGetCookie("ref"),t=gfpGetCookie(gfp_discount_code_cookie),f=gfpGetCookie("source"),a=gfpGetCookie("gfp_v_id");if(i||t||window.__goaffpro.force_callback){if(gfpCallbackMade)return;gfpCallbackMade=!0;e=JSON.stringify({sub_id:f,ref:i,shop:getShop(),location:document.location,navigator:navigator.userAgent,referrer:document.referrer,discount_code:t,order_id:o,visit_id:a,data:e});if(r)navigator.sendBeacon("https://beacon.goaffpro.workers.dev/",e);else{const n=new XMLHttpRequest;n.open("POST",gfp_api_server+"/order_complete"),n.setRequestHeader("Content-Type","application/json;charset=UTF-8"),n.send(e)}gfp_cookieManager.deleteCookie("gfp_v_id")}window.__goaffpro&&window.__goaffpro.remove_tracking_post_order&&gfp_remove_cookies(),respondToOpeningPageForMembershipPlans(o)}function gfp_remove_cookies(o=["ref","source",gfp_discount_code_cookie,"discount_code","sitestripe","gfp_v_id","gfp_ref_expires"]){o.forEach(gfp_cookieManager.deleteCookie),window.__goaffpro&&"shopify"===window.__goaffpro.integration&&window.__goaffpro.cart_level_tracking&&removeRefFromCart()}var refcode=getRefCode();function testForExpiration(){var o=gfp_cookieManager.getCookie("gfp_ref_expires");o&&0<Date.now()-new Date(Number(o))&&gfp_remove_cookies()}function gfpSetSource(){var o=getSourceId();o&&gfp_cookieManager.setCookie("source",o)}function addRefToCart(){var o=gfpGetCookie("ref");if(o){const r=new URLSearchParams;var e=gfpGetCookie("gfp_v_id");return r.append("attributes[__ref]",o),e&&r.append("attributes[__visit_id]",e),fetch("/cart/update.js",{method:"POST",body:r}).then(()=>{})}}function removeRefFromCart(){const o=new URLSearchParams;return o.append("attributes[__ref]",""),o.append("attributes[__visit_id]",""),fetch("/cart/update.js",{method:"POST",body:o}).then(()=>{})}function gfpLoadScript(o,e){const r=document.createElement("script");r.src=o,r.async=!0,e&&(r.type=e),document.head.appendChild(r)}function showSiteStripeToolbar(){var o;gfp_aff_toolbar||!window.__goaffpro.aff_bar_config||(o=searchInQuery(["toolbar"],document.location.search)||gfpGetCookie("sitestripe"))&&(gfp_aff_toolbar=window.__goaffpro.aff_bar_config,gfp_aff_toolbar.affiliate_portal_link="https://"+window.__goaffpro.partner_portal_subdomain,gfp_aff_toolbar.ref_code=o,gfpLoadScript("https://static.goaffpro.com/sitestripe2.js"),gfp_cookieManager.setCookie("sitestripe",o))}function gfpConnectCustomer(){var o,e,r;window&&window.GFPConnect&&window.GFPConnect.customer&&window.__goaffpro.customer_affiliate_connect_auto&&(o=gfpGetCookie("ref"),e=gfpGetCookie(gfp_discount_code_cookie),(o||e)&&((r=new XMLHttpRequest).open("POST",gfp_api_server+"/connect_customer"),r.setRequestHeader("Content-Type","application/json;charset=UTF-8"),r.send(JSON.stringify({ref:o,shop:getShop(),discount_code:e,customer:window.GFPConnect.customer}))))}function goaffproShopifyStVariableFix(){if(window.__goaffpro.shopify_use_st_variable&&window.__st&&window.__st.pageurl&&!gfpGetCookie("ref"))return new URL(`https://${window.__st.pageurl}`).search}refcode&&refcode!==gfpGetCookie("ref")&&(gfp_cookieManager.setCookie("ref",refcode),gfp_remove_cookies(["source",gfp_discount_code_cookie,"discount_code","gfp_v_id"])),gfpSetSource(),testForExpiration(),-1<gfp_no_ref_cookies.indexOf(refcode)||"shareasale"===gfpGetCookie("source")?gfp_remove_cookies():(trackVisit(),window.__goaffpro&&"shopify"===window.__goaffpro.integration&&window.__goaffpro.cart_level_tracking&&addRefToCart(),checkoutPageCallback()),refcode=gfpGetCookie("ref"),window.__goaffpro.scripts&&Array.isArray(window.__goaffpro.scripts)&&window.__goaffpro.scripts.forEach(function({src:o,type:e}){gfpLoadScript(o,e)}),showSiteStripeToolbar(),gfpConnectCustomer(),window.addEventListener("message",function(o){o.data&&o.data.goaffproOrder?goaffproTrackConversion(o.data.goaffproOrder):o.data&&o.data.ref&&gfpGetCookie("ref")!==o.data.ref&&(gfpSetCookie("ref",o.data.ref),trackVisit().then(()=>{checkoutPageCallback()}))}),window.addEventListener("goaffproTrackConversion",o=>{o&&o.detail&&goaffproTrackConversion(o.detail)}),window.addEventListener("goaffproReferralCode",o=>{o&&o.detail&&void 0!==o.detail.ref&&gfpGetCookie("ref")!==o.detail.ref&&(null===o.detail.ref||-1<gfp_no_ref_cookies.indexOf(o.detail.ref)?gfp_remove_cookies():(gfpSetCookie("ref",o.detail.ref),trackVisit().then(()=>{checkoutPageCallback()})))});!function(){let a;function t(){if(a=gfpGetCookie("ref"),a&&"organic"!==a){const o=window.__goaffpro.autolink_ref_parameter;if(o){var t=[];if(document.querySelectorAll("a").forEach(function(e){t.push(e)}),t&&0!==t.length){const r=/fb|messenger|twitter|instagram|musical_ly|bytedance/gim.test(navigator.userAgent);t.forEach(function(e){const t=e.href;if(t&&"string"==typeof t&&t.startsWith("http")){const n=new URL(e.href);!r&&n.hostname===document.location.hostname||n.searchParams.get(o)===encodeURIComponent(a)||(n.searchParams.set(o,a),e.href=n.href)}})}}}}var e;e=function(){t();const e=new MutationObserver(()=>function(n,o){let r=0;return(...e)=>{var t=(new Date).getTime();if(t-r>o)return r=t,n(...e)}}(t,2e3));e.observe(document.body,{attributes:!0,childList:!0,subtree:!0})},"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e),window.addEventListener("goaffproReferralCode",e=>{e&&e.detail&&void 0!==e.detail.ref&&a!==e.detail.ref&&t(e.detail.ref)})}();undefined;function lazyLoadThumb(e,alt){var t='<img data-lazy-src="https://i.ytimg.com/vi/ID/hqdefault.jpg" alt="" width="480" height="360"><noscript><img src="https://i.ytimg.com/vi/ID/hqdefault.jpg" alt="" width="480" height="360"></noscript>',a='<button class="play" aria-label="play Youtube video"></button>';t=t.replace('alt=""','alt="'+alt+'"');return t.replace("ID",e)+a}function lazyLoadYoutubeIframe(){var e=document.createElement("iframe"),t="ID?autoplay=1";t+=0===this.parentNode.dataset.query.length?'':'&'+this.parentNode.dataset.query;e.setAttribute("src",t.replace("ID",this.parentNode.dataset.src)),e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen","1"),e.setAttribute("allow","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"),this.parentNode.parentNode.replaceChild(e,this.parentNode)}document.addEventListener("DOMContentLoaded",function(){var e,t,p,a=document.getElementsByClassName("rll-youtube-player");for(t=0;t<a.length;t++)e=document.createElement("div"),e.setAttribute("data-id",a[t].dataset.id),e.setAttribute("data-query",a[t].dataset.query),e.setAttribute("data-src",a[t].dataset.src),e.innerHTML=lazyLoadThumb(a[t].dataset.id,a[t].dataset.alt),a[t].appendChild(e),p=e.querySelector('.play'),p.onclick=lazyLoadYoutubeIframe});