text: !function(e){"use strict";(new WOW).init(),e(window).on("load",function(){e("[data-bgimg]").each(function(){var t=e(this).data("bgimg");e(this).css({"background-image":"url("+t+")"})})}),e(window).on("scroll",function(){e(window).scrollTop()<100?e(".sticky-header").removeClass("sticky"):e(".sticky-header").addClass("sticky")}),e(window).load(function(){e(".preloader").fadeOut(),e("#preloader_overlayer").fadeOut()}),e(".mobile-menu nav").meanmenu({meanScreenWidth:"9901",meanMenuContainer:".mobile-menu",onePage:!0}),e(".slider_area").owlCarousel({animateOut:"fadeOut",autoplay:!0,loop:!0,nav:!1,autoplayTimeout:8e3,items:1,dots:!0,navText:['<i class="ion-ios-arrow-left"></i>','<i class="ion-ios-arrow-right"></i>']}),window.innerWidth<768&&e(".slider_overlay").css({"background-color":"black",position:"absolute",width:"100%",height:"100%",top:0,left:0,"z-index":0,opacity:".6"}),e(".buy_one_carousel").on("changed.owl.carousel initialized.owl.carousel",function(t){e(t.target).find(".owl-item").removeClass("last").eq(t.item.index+t.page.size-1).addClass("last")}).owlCarousel({nimateOut:"fadeOut",autoplay:!0,loop:!0,nav:!0,autoplayTimeout:8e3,items:3,margin:20,dots:!1,navText:['<i class="ion-ios-arrow-left"></i>','<i class="ion-ios-arrow-right"></i>'],responsiveClass:!0,responsive:{0:{items:1},576:{items:2},768:{items:2},992:{items:3},1200:{items:3}}}),e(".gallery").on("changed.owl.carousel initialized.owl.carousel",function(t){e(t.target).find(".owl-item").removeClass("last").eq(t.item.index+t.page.size-1).addClass("last")}).owlCarousel({autoplay:!0,loop:!0,nav:!0,autoplayTimeout:8e3,items:3,margin:20,dots:!1,navText:['<i class="ion-ios-arrow-left"></i>','<i class="ion-ios-arrow-right"></i>'],responsiveClass:!0,responsive:{0:{items:1},576:{items:2},768:{items:2},992:{items:3},1200:{items:3}}}),e(".product_column5").on("changed.owl.carousel initialized.owl.carousel",function(t){e(t.target).find(".owl-item").removeClass("last").eq(t.item.index+t.page.size-1).addClass("last")}).owlCarousel({autoplay:!0,loop:!0,nav:!0,autoplayTimeout:8e3,items:4,margin:20,dots:!1,navText:['<i class="ion-ios-arrow-left"></i>','<i class="ion-ios-arrow-right"></i>'],responsiveClass:!0,responsive:{0:{items:1},576:{items:2},768:{items:2},992:{items:4},1200:{items:4}}}),e(".packages").on("changed.owl.carousel initialized.owl.carousel",function(t){e(t.target).find(".owl-item").removeClass("last").eq(t.item.index+t.page.size-1).addClass("last")}).owlCarousel({autoplay:!0,loop:!0,nav:!0,autoplayTimeout:8e3,items:4,margin:20,dots:!1,navText:['<i class="ion-ios-arrow-left"></i>','<i class="ion-ios-arrow-right"></i>'],responsiveClass:!0,responsive:{0:{items:1},576:{items:2},768:{items:2},992:{items:3},1200:{items:3}}}),e(".blog_column4").owlCarousel({loop:!0,nav:!0,autoplay:!0,autoplayTimeout:8e3,items:3,dots:!0,margin:15,navText:['<i class="ion-ios-arrow-left"></i>','<i class="ion-ios-arrow-right"></i>'],responsiveClass:!0,responsive:{0:{items:1},768:{items:2},992:{items:3},1200:{items:3}}}),e("#login").validate(),e("#reset-password").validate(),e("#register").validate({rules:{name:"required",email:{required:!0,email:!0},phone_number:"required",password:{required:!0,minlength:5},confirm_password:{required:!0,minlength:5,equalTo:"#password"}},messages:{name:"Please enter your name",email:"Please enter a valid email",phone_number:"Please enter your phone number",password:{required:"Please provide a password",minlength:"Your password must be at least 5 characters long"},confirm_password:{required:"Please provide a password",minlength:"Your password must be at least 5 characters long",equalTo:"Please enter the same password as above"}}}),e("#change-password").validate({rules:{old_password:{required:!0},new_password:{required:!0,minlength:5},confirm_password:{required:!0,minlength:5,equalTo:"#new_password"}},messages:{old_password:"Please enter your old password",new_password:{required:"Please provide a password",minlength:"Your password must be at least 5 characters long"},confirm_password:{required:"Please provide a password",minlength:"Your password must be at least 5 characters long",equalTo:"Please enter the same password as above"}}}),e("#register").validate({rules:{name:"required",email:{required:!0,email:!0},phone_number:"required",password:{required:!0,minlength:5},confirm_password:{required:!0,minlength:5,equalTo:"#password"}},messages:{name:"Please enter your name",email:"Please enter a valid email",phone_number:"Please enter your phone number",password:{required:"Please provide a password",minlength:"Your password must be at least 5 characters long"},confirm_password:{required:"Please provide a password",minlength:"Your password must be at least 5 characters long",equalTo:"Please enter the same password as above"}}}),e("#flavoer_1").hover(function(){e(".flavor_ice img").attr("src","./assets/img/product/learge_ice_cream/1.png")}),e("#flavoer_2").mouseover(function(){e(".flavor_ice img").attr("src","./assets/img/product/learge_ice_cream/2.png")}),e("#flavoer_3").mouseover(function(){e(".flavor_ice img").attr("src","./assets/img/product/learge_ice_cream/3.png")}),e("#flavoer_4").mouseover(function(){e(".flavor_ice img").attr("src","./assets/img/product/learge_ice_cream/4.png")}),e("#flavoer_5").mouseover(function(){e(".flavor_ice img").attr("src","./assets/img/product/learge_ice_cream/5.png")}),e("#flavoer_6").mouseover(function(){e(".flavor_ice img").attr("src","./assets/img/product/learge_ice_cream/6.png")}),e(".single-product-active").owlCarousel({autoplay:!0,loop:!0,nav:!0,autoplayTimeout:8e3,items:4,margin:15,dots:!1,navText:['<i class="fa fa-angle-left"></i>','<i class="fa fa-angle-right"></i>'],responsiveClass:!0,responsive:{0:{items:1},320:{items:2},992:{items:3},1200:{items:4}}}),e(".product_navactive").owlCarousel({autoplay:!0,loop:!0,nav:!0,autoplay:!1,autoplayTimeout:8e3,items:4,dots:!1,navText:['<i class="fa fa-angle-left"></i>','<i class="fa fa-angle-right"></i>'],responsiveClass:!0,responsive:{0:{items:1},250:{items:2},480:{items:3},768:{items:4}}}),e(".modal").on("shown.bs.modal",function(t){e(".product_navactive").resize()}),e(".product_navactive a").on("click",function(t){t.preventDefault();var i=e(this).attr("href");e(".product_navactive a").removeClass("active"),e(this).addClass("active"),e(".product-details-large .tab-pane").removeClass("active show"),e(".product-details-large "+i).addClass("active show")}),e(".action_links ul li a,.add_to_cart a,.footer_social_link ul li a").tooltip({animated:"fade",placement:"top",container:"body"}),e(".select_option").niceSelect(),e(".faequently-accordion").collapse({accordion:!0,open:function(){this.slideDown(300)},close:function(){this.slideUp(300)}}),e.scrollUp({scrollText:'<i class="fa fa-angle-double-up"></i>',easingType:"linear",scrollSpeed:900,animation:"fade",zIndex:9}),e("[data-countdown]").each(function(){var t=e(this),i=e(this).data("countdown");t.countdown(i,function(e){t.html(e.strftime('<div class="countdown_area"><div class="single_countdown"><div class="countdown_number">%D</div><div class="countdown_title">days</div></div><div class="single_countdown"><div class="countdown_number">%H</div><div class="countdown_title">hours</div></div><div class="single_countdown"><div class="countdown_number">%M</div><div class="countdown_title">mins</div></div><div class="single_countdown"><div class="countdown_number">%S</div><div class="countdown_title">secs</div></div></div>'))})}),e(".niceselect_option").niceSelect();e(".custom-file-input").on("change",function(){!function(t){if(t.files&&t.files[0]){var i=new FileReader;i.onload=function(t){e(".image-preview").attr("src",t.target.result)},i.readAsDataURL(t.files[0])}}(this)}),e(".mini_cart_wrapper > a, span ").on("click",function(t){e(window).width()<991&&e(".mini_cart").slideToggle("medium")}),e(".categories_title").on("click",function(){e(this).toggleClass("active"),e(".categories_menu_toggle").slideToggle("medium")}),e(".flavor_title").on("click",function(){e(this).toggleClass("active"),e(".flavor_menu_toggle").slideToggle("medium")}),e(".widget_sub_categories > a").on("click",function(){e(this).toggleClass("active"),e(".widget_dropdown_categories").slideToggle("medium")}),e("#cat_toggle.has-sub > a").on("click",function(){e(this).removeAttr("href"),e(this).toggleClass("open").next(".categorie_sub").toggleClass("open"),e(this).parents().siblings().find("#cat_toggle.has-sub > a").removeClass("open")}),e(".categories_menu_toggle li.menu_item_children > a").on("click",function(){if(e(window).width()<991){e(this).removeAttr("href");var t=e(this).parent("li");t.hasClass("open")?(t.removeClass("open"),t.find("li").removeClass("open"),t.find("ul").slideUp()):(t.addClass("open"),t.children("ul").slideDown(),t.siblings("li").children("ul").slideUp(),t.siblings("li").removeClass("open"),t.siblings("li").find("li").removeClass("open"),t.siblings("li").find("ul").slideUp())}}),e(".categories_menu_toggle li.menu_item_children > a").append('<span class="expand"></span>'),e(".shop_toolbar_btn > button").on("click",function(t){t.preventDefault(),e(".shop_toolbar_btn > button").removeClass("active"),e(this).addClass("active");var i=e(".shop_wrapper"),s=e(this).data("role");i.removeClass("grid_3 grid_4 grid_5 grid_list").addClass(s),"grid_3"==s&&i.children().addClass("col-lg-4 col-md-4 col-sm-6").removeClass("col-lg-3 col-cust-5 col-12"),"grid_4"==s&&i.children().addClass("col-lg-3 col-md-4 col-sm-6").removeClass("col-lg-4 col-cust-5 col-12"),"grid_list"==s&&i.children().addClass("col-12").removeClass("col-lg-3 col-lg-4 col-md-4 col-sm-6 col-cust-5")}),e(".canvas_open").on("click",function(){e(".Offcanvas_menu_wrapper,.off_canvars_overlay").addClass("active")}),e(".canvas_close,.off_canvars_overlay").on("click",function(){e(".Offcanvas_menu_wrapper,.off_canvars_overlay").removeClass("active")});var t=e(".offcanvas_main_menu"),i=t.find(".sub-menu");i.parent().prepend('<span class="menu-expand"><i class="fa fa-angle-down"></i></span>'),i.slideUp(),t.on("click","li a, li .menu-expand",function(t){var i=e(this);i.parent().attr("class").match(/\b(menu-item-has-children|has-children|has-sub-menu)\b/)&&("#"===i.attr("href")||i.hasClass("menu-expand"))&&(t.preventDefault(),i.siblings("ul:visible").length?i.siblings("ul").slideUp("slow"):(i.closest("li").siblings("li").find("ul:visible").slideUp("slow"),i.siblings("ul").slideDown("slow"))),i.is("a")||i.is("span")||i.attr("clas").match(/\b(menu-expand)\b/)?i.parent().toggleClass("menu-open"):i.is("li")&&i.attr("class").match(/\b('menu-item-has-children')\b/)&&i.toggleClass("menu-open")})}(jQuery),function(){var e,t,i,s,n,o=function(e,t){return function(){return e.apply(t,arguments)}},a=[].indexOf||function(e){for(var t=0,i=this.length;t<i;t++)if(t in this&&this[t]===e)return t;return-1};t=function(){function e(){}return e.prototype.extend=function(e,t){var i,s;for(i in t)s=t[i],null==e[i]&&(e[i]=s);return e},e.prototype.isMobile=function(e){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e)},e.prototype.createEvent=function(e,t,i,s){var n;return null==t&&(t=!1),null==i&&(i=!1),null==s&&(s=null),null!=document.createEvent?(n=document.createEvent("CustomEvent")).initCustomEvent(e,t,i,s):null!=document.createEventObject?(n=document.createEventObject()).eventType=e:n.eventName=e,n},e.prototype.emitEvent=function(e,t){return null!=e.dispatchEvent?e.dispatchEvent(t):t in(null!=e)?e[t]():"on"+t in(null!=e)?e["on"+t]():void 0},e.prototype.addEvent=function(e,t,i){return null!=e.addEventListener?e.addEventListener(t,i,!1):null!=e.attachEvent?e.attachEvent("on"+t,i):e[t]=i},e.prototype.removeEvent=function(e,t,i){return null!=e.removeEventListener?e.removeEventListener(t,i,!1):null!=e.detachEvent?e.detachEvent("on"+t,i):delete e[t]},e.prototype.innerHeight=function(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight},e}(),i=this.WeakMap||this.MozWeakMap||(i=function(){function e(){this.keys=[],this.values=[]}return e.prototype.get=function(e){var t,i,s,n;for(t=i=0,s=(n=this.keys).length;i<s;t=++i)if(n[t]===e)return this.values[t]},e.prototype.set=function(e,t){var i,s,n,o;for(i=s=0,n=(o=this.keys).length;s<n;i=++s)if(o[i]===e)return void(this.values[i]=t);return this.keys.push(e),this.values.push(t)},e}()),e=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(e=function(){function e(){"undefined"!=typeof console&&null!==console&&console.warn("MutationObserver is not supported by your browser."),"undefined"!=typeof console&&null!==console&&console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")}return e.notSupported=!0,e.prototype.observe=function(){},e}()),s=this.getComputedStyle||function(e,t){return this.getPropertyValue=function(t){var i;return"float"===t&&(t="styleFloat"),n.test(t)&&t.replace(n,function(e,t){return t.toUpperCase()}),(null!=(i=e.currentStyle)?i[t]:void 0)||null},this},n=/(\-([a-z]){1})/g,this.WOW=function(){function n(e){null==e&&(e={}),this.scrollCallback=o(this.scrollCallback,this),this.scrollHandler=o(this.scrollHandler,this),this.resetAnimation=o(this.resetAnimation,this),this.start=o(this.start,this),this.scrolled=!0,this.config=this.util().extend(e,this.defaults),null!=e.scrollContainer&&(this.config.scrollContainer=document.querySelector(e.scrollContainer)),this.animationNameCache=new i,this.wowEvent=this.util().createEvent(this.config.boxClass)}return n.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null,scrollContainer:null},n.prototype.init=function(){var e;return this.element=window.document.documentElement,"interactive"===(e=document.readyState)||"complete"===e?this.start():this.util().addEvent(document,"DOMContentLoaded",this.start),this.finished=[]},n.prototype.start=function(){var t,i,s,n,o;if(this.stopped=!1,this.boxes=function(){var e,i,s,n;for(n=[],e=0,i=(s=this.element.querySelectorAll("."+this.config.boxClass)).length;e<i;e++)t=s[e],n.push(t);return n}.call(this),this.all=function(){var e,i,s,n;for(n=[],e=0,i=(s=this.boxes).length;e<i;e++)t=s[e],n.push(t);return n}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else for(i=0,s=(n=this.boxes).length;i<s;i++)t=n[i],this.applyStyle(t,!0);if(this.disabled()||(this.util().addEvent(this.config.scrollContainer||window,"scroll",this.scrollHandler),this.util().addEvent(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live)return new e((o=this,function(e){var t,i,s,n,a;for(a=[],t=0,i=e.length;t<i;t++)n=e[t],a.push(function(){var e,t,i,o;for(o=[],e=0,t=(i=n.addedNodes||[]).length;e<t;e++)s=i[e],o.push(this.doSync(s));return o}.call(o));return a})).observe(document.body,{childList:!0,subtree:!0})},n.prototype.stop=function(){if(this.stopped=!0,this.util().removeEvent(this.config.scrollContainer||window,"scroll",this.scrollHandler),this.util().removeEvent(window,"resize",this.scrollHandler),null!=this.interval)return clearInterval(this.interval)},n.prototype.sync=function(t){if(e.notSupported)return this.doSync(this.element)},n.prototype.doSync=function(e){var t,i,s,n,o;if(null==e&&(e=this.element),1===e.nodeType){for(o=[],i=0,s=(n=(e=e.parentNode||e).querySelectorAll("."+this.config.boxClass)).length;i<s;i++)t=n[i],a.call(this.all,t)<0?(this.boxes.push(t),this.all.push(t),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(t,!0),o.push(this.scrolled=!0)):o.push(void 0);return o}},n.prototype.show=function(e){return this.applyStyle(e),e.className=e.className+" "+this.config.animateClass,null!=this.config.callback&&this.config.callback(e),this.util().emitEvent(e,this.wowEvent),this.util().addEvent(e,"animationend",this.resetAnimation),this.util().addEvent(e,"oanimationend",this.resetAnimation),this.util().addEvent(e,"webkitAnimationEnd",this.resetAnimation),this.util().addEvent(e,"MSAnimationEnd",this.resetAnimation),e},n.prototype.applyStyle=function(e,t){var i,s,n,o;return s=e.getAttribute("data-wow-duration"),i=e.getAttribute("data-wow-delay"),n=e.getAttribute("data-wow-iteration"),this.animate((o=this,function(){return o.customStyle(e,t,s,i,n)}))},n.prototype.animate="requestAnimationFrame"in window?function(e){return window.requestAnimationFrame(e)}:function(e){return e()},n.prototype.resetStyle=function(){var e,t,i,s,n;for(n=[],t=0,i=(s=this.boxes).length;t<i;t++)e=s[t],n.push(e.style.visibility="visible");return n},n.prototype.resetAnimation=function(e){var t;if(e.type.toLowerCase().indexOf("animationend")>=0)return(t=e.target||e.srcElement).className=t.className.replace(this.config.animateClass,"").trim()},n.prototype.customStyle=function(e,t,i,s,n){return t&&this.cacheAnimationName(e),e.style.visibility=t?"hidden":"visible",i&&this.vendorSet(e.style,{animationDuration:i}),s&&this.vendorSet(e.style,{animationDelay:s}),n&&this.vendorSet(e.style,{animationIterationCount:n}),this.vendorSet(e.style,{animationName:t?"none":this.cachedAnimationName(e)}),e},n.prototype.vendors=["moz","webkit"],n.prototype.vendorSet=function(e,t){var i,s,n,o;for(i in s=[],t)n=t[i],e[""+i]=n,s.push(function(){var t,s,a,l;for(l=[],t=0,s=(a=this.vendors).length;t<s;t++)o=a[t],l.push(e[""+o+i.charAt(0).toUpperCase()+i.substr(1)]=n);return l}.call(this));return s},n.prototype.vendorCSS=function(e,t){var i,n,o,a,l,r;for(a=(l=s(e)).getPropertyCSSValue(t),i=0,n=(o=this.vendors).length;i<n;i++)r=o[i],a=a||l.getPropertyCSSValue("-"+r+"-"+t);return a},n.prototype.animationName=function(e){var t;try{t=this.vendorCSS(e,"animation-name").cssText}catch(i){t=s(e).getPropertyValue("animation-name")}return"none"===t?"":t},n.prototype.cacheAnimationName=function(e){return this.animationNameCache.set(e,this.animationName(e))},n.prototype.cachedAnimationName=function(e){return this.animationNameCache.get(e)},n.prototype.scrollHandler=function(){return this.scrolled=!0},n.prototype.scrollCallback=function(){var e;if(this.scrolled&&(this.scrolled=!1,this.boxes=function(){var t,i,s,n;for(n=[],t=0,i=(s=this.boxes).length;t<i;t++)(e=s[t])&&(this.isVisible(e)?this.show(e):n.push(e));return n}.call(this),!this.boxes.length&&!this.config.live))return this.stop()},n.prototype.offsetTop=function(e){for(var t;void 0===e.offsetTop;)e=e.parentNode;for(t=e.offsetTop;e=e.offsetParent;)t+=e.offsetTop;return t},n.prototype.isVisible=function(e){var t,i,s,n,o;return i=e.getAttribute("data-wow-offset")||this.config.offset,n=(o=this.config.scrollContainer&&this.config.scrollContainer.scrollTop||window.pageYOffset)+Math.min(this.element.clientHeight,this.util().innerHeight())-i,t=(s=this.offsetTop(e))+e.clientHeight,s<=n&&t>=o},n.prototype.util=function(){return null!=this._util?this._util:this._util=new t},n.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},n}()}.call(this);