1!function(e){"use strict";window.qodef={},window.qodefEmptyCallback=function(){},qodef.body=e("body"),qodef.html=e("html"),qodef.htmlAndBody=e("html, body"),qodef.windowWidth=e(window).width(),qodef.windowHeight=e(window).height(),qodef.scroll=0,e(document).ready(function(){qodef.scroll=e(window).scrollTop(),i.init(),o.init(),n.init(),a.init(),l.init()}),e(window).on("load",function(){t.init(),s.init(),d.init()}),e(window).resize(function(){qodef.windowWidth=e(window).width(),qodef.windowHeight=e(window).height()}),e(window).scroll(function(){qodef.scroll=e(window).scrollTop()}),e(document).on("lekker_trigger_get_new_posts",function(){t.init(),o.init(),qodefStickyColumn.init("resize"),s.init(!0),d.init(!0),a.init()});var i={init:function(){i.addBodyClassName()},isBrowser:function(e){var i=!1;switch(e){case"chrome":i=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor);break;case"safari":i=/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor);break;case"firefox":i=navigator.userAgent.toLowerCase().indexOf("firefox")>-1;break;case"ie":i=window.navigator.userAgent.indexOf("MSIE ")>0||!!navigator.userAgent.match(/Trident.*rv\:11\./);break;case"edge":i=/Edge\/\d./i.test(navigator.userAgent)}return i},addBodyClassName:function(){e.each(["chrome","safari","firefox","ie","edge"],function(e,t){i.isBrowser(t)&&void 0!==qodef.body&&("ie"===t&&(t="ms-explorer"),qodef.body.addClass("qodef-browser--"+t))})}},t={init:function(i){this.holder=e(".qodef-swiper-container"),e.extend(this.holder,i),this.holder.length&&this.holder.each(function(){t.createSlider(e(this))})},createSlider:function(i){var o=t.getOptions(i),n=t.getEvents(i,o);new Swiper(i[0],e.extend(o,n))},getOptions:function(i){var o=void 0!==i.data("options")?i.data("options"):{},n=void 0!==o.spaceBetween&&""!==o.spaceBetween?o.spaceBetween:0,a=void 0!==o.slidesPerView&&""!==o.slidesPerView?o.slidesPerView:1,d=void 0!==o.centeredSlides&&""!==o.centeredSlides&&o.centeredSlides,s=void 0===o.loop||""===o.loop||o.loop,r=void 0===o.autoplay||""===o.autoplay||o.autoplay,l=void 0!==o.speed&&""!==o.speed?parseInt(o.speed,10):2e3,f=void 0!==o.speedAnimation&&""!==o.speedAnimation?parseInt(o.speedAnimation,10):600,c=void 0!==o.slideAnimation&&""!==o.slideAnimation?o.slideAnimation:"",h=void 0!==o.customStages&&""!==o.customStages&&o.customStages,u=void 0!==o.outsideNavigation&&"yes"===o.outsideNavigation,g=u?".swiper-button-next-"+o.unique:i.children(".swiper-button-next").length?i.children(".swiper-button-next")[0]:null,p=u?".swiper-button-prev-"+o.unique:i.children(".swiper-button-prev").length?i.children(".swiper-button-prev")[0]:null,m=void 0!==o.direction&&""!==o.direction?o.direction:"horizontal",q=void 0!==o.mousewheel&&""!==o.mousewheel&&o.mousewheel,v=i.children(".swiper-pagination").length?i.children(".swiper-pagination")[0]:null,w=void 0!==o.sliderScroll&&""!==o.sliderScroll&&o.sliderScroll;!1!==r&&5e3!==l&&(r={delay:l,disableOnInteraction:!1});var y=void 0!==o.slidesPerView1440&&""!==o.slidesPerView1440?o.slidesPerView1440:5,_=void 0!==o.slidesPerView1366&&""!==o.slidesPerView1366?o.slidesPerView1366:4,C=void 0!==o.slidesPerView1024&&""!==o.slidesPerView1024?o.slidesPerView1024:3,b=void 0!==o.slidesPerView768&&""!==o.slidesPerView768?o.slidesPerView768:2,P=void 0!==o.slidesPerView680&&""!==o.slidesPerView680?o.slidesPerView680:1;h||(a<2?(y=a,_=a,C=a,b=a):a<3?(y=a,_=a,C=a):a<4?(y=a,_=a):a<5&&(y=a));var S={slidesPerView:a,centeredSlides:d,spaceBetween:n,sliderScroll:w,autoplay:r,direction:m,mousewheel:q,loop:s,speed:f,navigation:{nextEl:g,prevEl:p},pagination:{el:v,type:"bullets",clickable:!0},breakpoints:{0:{slidesPerView:void 0!==o.slidesPerView480&&""!==o.slidesPerView480?o.slidesPerView480:1},481:{slidesPerView:P},681:{slidesPerView:b},769:{slidesPerView:C},1025:{slidesPerView:_},1367:{slidesPerView:y},1441:{slidesPerView:a}}};if(c.length&&"fade"===c)S.effect="fade",S.fadeEffect={crossFade:!0};return e.extend(S,t.getSliderDatas(i))},getSliderDatas:function(e){var i=e.data(),t={};for(var o in i)i.hasOwnProperty(o)&&"options"!==o&&void 0!==i[o]&&""!==i[o]&&(t[o]=i[o]);return t},getEvents:function(e,i){return{on:{init:function(){if(e.addClass("qodef-swiper--initialized"),i.sliderScroll){var t=!1;e.on("mousewheel",function(i){i.preventDefault(),t||(t=!0,i.deltaY<0?e[0].swiper.slideNext():e[0].swiper.slidePrev(),setTimeout(function(){t=!1},500))})}}}}}};qodef.qodefSwiper=t;var o={init:function(i){this.holder=e(".qodef-magnific-popup"),e.extend(this.holder,i),e.extend(this.holder,i),this.holder.length&&this.holder.each(function(){var i=e(this);i.hasClass("qodef-popup-item")?o.initSingleImagePopup(i):i.hasClass("qodef-popup-gallery")&&o.initGalleryPopup(i)})},initSingleImagePopup:function(e){var i=e.data("type");e.magnificPopup({type:i,titleSrc:"title",image:{cursor:null}})},initGalleryPopup:function(i){var t=i.find(".qodef-popup-item"),n=o.generateGalleryItems(t);t.each(function(i){e(this).magnificPopup({items:n,gallery:{enabled:!0},index:i,type:"image",image:{cursor:null}})})},generateGalleryItems:function(i){var t=[];return i.length&&i.each(function(){var i=e(this),o={src:i.attr("href"),title:i.attr("title"),type:i.data("type")};t.push(o)}),t}};qodef.qodefMagnificPopup=o;var n={items:"",init:function(i){this.holder=e(".qodef-anchor"),e.extend(this.holder,i),this.holder.length&&(n.items=this.holder,n.clickTrigger(),e(window).on("load",function(){n.checkAnchorOnScroll(),n.checkAnchorOnLoad()}))},clickTrigger:function(){n.items.on("click",function(e){e.preventDefault();var i=n.getAnchorItem(this),t=i.prop("hash").split("#")[1];n.animateScroll(i,t)})},checkAnchorOnLoad:function(){var e=window.location.hash.split("#")[1];""!==e&&n.items.length&&n.items.each(function(){var i=n.getAnchorItem(this);i.attr("href").indexOf(e)>-1&&n.animateScroll(i,e)})},checkAnchorOnScroll:function(){if(qodef.windowWidth>1024){var i=e("#qodef-page-inner *[id]");i.length&&i.each(function(){var i=e(this),t=e('[href*="#'+i.attr("id")+'"]');t.length&&(n.isTargetInView(i)&&n.setActiveState(t),e(window).scroll(function(){n.isTargetInView(i)?n.setActiveState(t):t.removeClass(n.getItemClasses(t))}))})}},isTargetInView:function(e){var i=e[0].getBoundingClientRect(),t=window.innerHeight||document.documentElement.clientHeight;return!(Math.floor(100-(i.top>=0?0:i.top)/(+-i.height/1)*100)<20||Math.floor(100-(i.bottom-t)/i.height*100)<20)},getAnchorItem:function(i){return"A"===i.tagName?e(i):e(i).children("a")},animateScroll:function(i,t){var o=""!==t?e('[id="'+t+'"]'):"";if(o.length){var a=o.offset().top-n.getHeaderHeight()-qodefGlobal.vars.adminBarHeight;return n.setActiveState(i),qodef.html.stop().animate({scrollTop:Math.round(a)},1e3,function(){history.pushState&&history.pushState(null,"","#"+t)}),!1}},getHeaderHeight:function(){var e=0;return qodef.windowWidth>1024&&null!==qodefGlobal.vars.headerHeight&&""!==qodefGlobal.vars.headerHeight&&(e=parseInt(qodefGlobal.vars.headerHeight,10)),e},setActiveState:function(e){var i=!e.parent().hasClass("qodef-anchor"),t=n.getItemClasses(e);n.items.removeClass(t),i?e.addClass(t):e.parent().addClass(t)},getItemClasses:function(e){return"qodef-anchor--active"+(e.parents("#qodef-page-header")?" current-menu-item current_page_item":"")}};qodef.qodefAnchor=n;var a={init:function(){var i=e(".qodef-video-button, .qodef-portfolio-list.qodef-item-layout--info-image-divided .qodef-e");i.length&&i.each(function(){var i=e(this);i.appear(function(){i.addClass("qodef--appear")},{accX:0,accY:0})})}},d={init:function(i){var t=e(".qodef-layout--masonry.qodef-hover-animation--fade-in .qodef-e");t.length&&t.each(function(){var t=e(this);if(i)setTimeout(function(){t.addClass("qodef--appear-masonry"),setTimeout(function(){t.addClass("qodef--isLoaded")},800)},50);else{var o=qodef.qodefGetRandomIntegerInRange.init(0,100);
1t.appear(function(){setTimeout(function(){t.addClass("qodef--appear-masonry"),setTimeout(function(){t.addClass("qodef--isLoaded")},800)},o)},{accX:0,accY:0})}})}},s={init:function(i){var t=e(".qodef-layout--masonry:not(.qodef-hover-animation--fade-in) .qodef-e-inner");t.length&&t.each(function(){var t=e(this);i?(t.addClass("qodef--isNewPost"),setTimeout(function(){t.addClass("qodef--appear-masonry")},50)):t.appear(function(){t.addClass("qodef--appear-masonry")},{accX:0,accY:0})})}},r={init:function(e,i){return e=Math.ceil(e),i=Math.floor(i),Math.floor(Math.random()*(i-e))+e}};qodef.qodefGetRandomIntegerInRange=r;var l={init:function(){[[".qodef-clients-list",".qodef-e",300,0,"random"],[".qodef-image-with-text",".qodef-m-image-inner-holder, .qodef-m-content",500,200,"random"],[".qodef-layout--masonry.qodef-portfolio-list.qodef-item-layout--image-only",".qodef-e .qodef-e-inner",30,0,"ascending"],[".qodef-interactive-link-showcase.qodef-layout--list",".qodef-m-item",100,0,"ascending"]].forEach(function(i){var t=e(i[0]);if(t.length){var o=t.find(i[1]);o.length&&t.appear(function(){o.each(function(t){var o,n=e(this);"random"===i[4]?o=qodef.qodefGetRandomIntegerInRange.init(0,i[2]):"ascending"===i[4]&&(o=t*i[2]),setTimeout(function(){n.addClass("qodef--appear")},o)})},{accX:0,accY:i[3]})}})}},f={check:function(e,i){if(e.length){var t=e.find("img"),o=t.length;if(o)for(var n=0,a=0;a<o;a++){var d=t[a];if(d.complete)++n===t.length&&i.call(e);else{var s=new Image;s.addEventListener("load",function(){if(++n===t.length)return i.call(e),!1},!1),s.src=d.src}}else i.call(e)}}};qodef.qodefWaitForImages=f}(jQuery),function(e){"use strict";e(document).ready(function(){t.init()}),e(window).on("resize",function(){t.init()}),e(document).on("lekker_trigger_get_new_posts",function(e,o){o.hasClass("qodef-blog")&&(i.init(o),t.resize(o))});var i={init:function(i){var t=i.find(".wp-video-shortcode, .wp-audio-shortcode").not(".mejs-container");t.length&&t.each(function(){var i=e(this);"function"==typeof i.mediaelementplayer&&i.mediaelementplayer()})}},t={init:function(){var i=e(".qodef-blog");i.length&&t.resize(i)},resize:function(i){var t=i.find(".qodef-e-media iframe");t.length&&t.each(function(){var i=e(this),t=i.attr("width"),o=i.attr("height"),n=i.width()/t*o;i.css("height",n)})}}}(jQuery),function(e){"use strict";e(document).ready(function(){i.init()}),e(document).on("lekker_trigger_get_new_posts",function(e,t){t.hasClass("qodef-filter--on")&&i.setVisibility(t,t.find(".qodef-m-filter-item.qodef--active"),!0)});var i={init:function(t){this.holder=e(".qodef-filter--on"),e.extend(this.holder,t),this.holder.length&&this.holder.each(function(){var t=e(this),o=t.find(".qodef-m-filter-item");i.extendListHTML(t),i.clickEvent(t,o)})},extendListHTML:function(e){e.children(".qodef-hidden-filter-items").length||i.isMasonryLayout(e)||e.append('<div class="qodef-hidden-filter-items"></div>')},clickEvent:function(t,o){o.on("click",function(n){n.preventDefault();var a=e(this);a.hasClass("qodef--active")||(t.addClass("qodef--filter-loading"),o.removeClass("qodef--active"),a.addClass("qodef--active"),i.setVisibility(t,a))})},setVisibility:function(t,o,n){var a=t.children(".qodef-hidden-filter-items"),d=a.length,s=d?a.children(".qodef-grid-item"):"",r=t.find(".qodef-grid-inner"),l=r.children(".qodef-grid-item"),f=o.data("taxonomy"),c=o.data("filter"),h="*"===c,u=h?c:f+"-"+c,g=l.hasClass(u);d&&!g&&s.hasClass(u)&&(g=!0),n&&h||(h||g||!i.hasLoadMore(t)?(i.isMasonryLayout(t)?r.isotope({filter:h?"":"."+u}):(h||l.each(function(){var i=e(this);-1===i.attr("class").indexOf(u)&&i.hide(300,"linear",function(){i.appendTo(a)})}),s.length&&s.each(function(){var i=e(this),t=i.attr("class");(h||-1!==t.indexOf(u))&&i.appendTo(r).show(300,"linear")})),t.removeClass("qodef--filter-loading")):qodef.body.trigger("lekker_trigger_load_more",[t]))},isMasonryLayout:function(e){return e.hasClass("qodef-layout--masonry")},hasLoadMore:function(e){return e.hasClass("qodef-pagination-type--load-more")}};qodef.qodefFilter=i}(jQuery),function(e){"use strict";e(document).ready(function(){i.init()}),e(document).on("lekker_trigger_get_new_posts",function(){i.init()});var i={init:function(){var t=e(".qodef-layout--justified-gallery");t.length&&t.each(function(){i.setJustifyGallery(e(this))})},setJustifyGallery:function(i){var t=i.data("options"),o=i.children(".qodef-grid-inner"),n=void 0!==t.justified_gallery_row_height&&""!==t.justified_gallery_row_height?t.justified_gallery_row_height:150,a=void 0!==t.justified_gallery_row_height_max&&""!==t.justified_gallery_row_height_max&&t.justified_gallery_row_height_max,d=2*t.space_value,s=void 0!==t.justified_gallery_treshold&&""!==t.justified_gallery_treshold?t.justified_gallery_treshold:.75;o.waitForImages(function(){"function"==typeof o.justifiedGallery&&o.justifiedGallery({captions:!1,rowHeight:n,maxRowHeight:a,margins:d,border:0,lastRow:"nojustify",justifyThreshold:s,selector:".qodef-grid-item"}).on("jg.complete jg.rowflush",function(){var i=e(this),t=!1;
1i.find(".qodef-grid-item").addClass("show").each(function(){var o=e(this);o.height(Math.round(o.height())),t||0!==o.width()||(i.height(i.height()-o.height()-d),t=!0)})}),i.addClass("qodef--justified-gallery-init")})}};qodef.qodefJustifiedGallery=i}(jQuery),function(e){"use strict";e(document).ready(function(){i.init()}),e(document).on("lekker_trigger_get_new_posts",function(e,t){t.hasClass("qodef-layout--masonry")&&i.init()});var i={init:function(t){this.holder=e(".qodef-layout--masonry"),e.extend(this.holder,t),this.holder.length&&this.holder.each(function(){i.createMasonry(e(this))})},createMasonry:function(e){var t=e.find(".qodef-grid-inner"),o=t.find(".qodef-grid-item"),n=t.find(".qodef-grid-masonry-sizer").width();t.waitForImages(function(){"function"==typeof t.isotope&&(t.isotope({layoutMode:"packery",itemSelector:".qodef-grid-item",percentPosition:!0,masonry:{columnWidth:".qodef-grid-masonry-sizer",gutter:".qodef-grid-masonry-gutter"}}),e.hasClass("qodef-items--fixed")&&i.setFixedImageProportionSize(t,o,n),t.isotope("layout")),t.addClass("qodef--masonry-init")})},setFixedImageProportionSize:function(e,i,t){var o=parseInt(i.css("paddingLeft"),10),n=t-2*o,a=e.find(".qodef-item--square"),d=e.find(".qodef-item--landscape"),s=e.find(".qodef-item--portrait"),r=e.find(".qodef-item--huge-square");a.css("height",n),s.css("height",Math.round(2*(n+o))),qodef.windowWidth>680?(d.css("height",n),r.css("height",Math.round(2*(n+o)))):(d.css("height",Math.round(n/2)),r.css("height",n))}};qodef.qodefMasonryLayout=i}(jQuery),function(e){"use strict";e(document).ready(function(){i.init()});var i={init:function(){var t=e("#qodef-page-mobile-header");t.length&&(i.initMobileHeaderOpener(t),i.initDropDownMobileMenu())},initMobileHeaderOpener:function(e){var i=e.find(".qodef-mobile-header-opener");if(i.length){var t=e.find(".qodef-mobile-header-navigation");i.on("tap click",function(e){e.preventDefault(),t.is(":visible")?(t.slideUp(450),i.removeClass("qodef--opened")):(t.slideDown(450),i.addClass("qodef--opened"))})}},initDropDownMobileMenu:function(){var i=e(".qodef-mobile-header-navigation .menu-item-has-children > a");i.length&&i.each(function(){var i=e(this);i.on("tap click",function(e){e.preventDefault();var t=i.parent(),o=t.siblings(".menu-item-has-children");if(t.hasClass("menu-item-has-children")){var n=t.find("ul.sub-menu").first();n.is(":visible")?(n.slideUp(450),t.removeClass("qodef--opened")):(t.addClass("qodef--opened"),0===o.length?t.find(".sub-menu").slideUp(400,function(){n.slideDown(400)}):t.siblings().removeClass("qodef--opened").find(".sub-menu").slideUp(400,function(){n.slideDown(400)}))}})})}}}(jQuery),function(e){e(document).ready(function(){i.init()});var i={init:function(){var i=e(".qodef-header-navigation.qodef-header-navigation-initial > ul > li.qodef-menu-item--narrow.menu-item-has-children");i.length&&i.each(function(i){var t,o=e(this),n=o.offset().left,a=o.find(" > ul"),d=a.outerWidth(),s=e(window).width()-n;o.find("li.menu-item-has-children").length>0&&(t=s-d),a.removeClass("qodef-drop-down--right"),(s<d||t<d)&&a.addClass("qodef-drop-down--right")})}}}(jQuery),function(e){"use strict";e(document).ready(function(){i.init()}),e(window).scroll(function(){i.scroll()}),e(document).on("lekker_trigger_load_more",function(e,t,o){i.triggerLoadMore(t,o)});var i={init:function(t){this.holder=e(".qodef-pagination--on"),e.extend(this.holder,t),this.holder.length&&this.holder.each(function(){var t=e(this);i.initPaginationType(t)})},scroll:function(t){this.holder=e(".qodef-pagination--on"),e.extend(this.holder,t),this.holder.length&&this.holder.each(function(){var t=e(this);t.hasClass("qodef-pagination-type--infinite-scroll")&&i.initInfiniteScroll(t)})},initPaginationType:function(e){e.hasClass("qodef-pagination-type--standard")?i.initStandard(e):e.hasClass("qodef-pagination-type--load-more")?i.initLoadMore(e):e.hasClass("qodef-pagination-type--infinite-scroll")&&i.initInfiniteScroll(e)},initStandard:function(t){var o=t.find(".qodef-m-pagination-items");if(o.length){var n=t.data("options");o.children().each(function(){var o=e(this),a=o.children("a");i.changeStandardState(t,n.max_pages_num,1),a.on("click",function(e){e.preventDefault(),o.hasClass("qodef--active")||i.getNewPosts(t,a.data("paged"))})})}},changeStandardState:function(e,i,t){if(e.hasClass("qodef-pagination-type--standard")){var o=e.find(".qodef-m-pagination-items"),n=o.children(".qodef--number"),a=o.children(".qodef--prev"),d=o.children(".qodef--next");n.removeClass("qodef--active").eq(t-1).addClass("qodef--active"),a.children().data("paged",t-1),t>1?a.show():a.hide(),d.children().data("paged",t+1),t===i?d.hide():d.show()}},initLoadMore:function(e){e.find(".qodef-load-more-button").on("click",function(t){t.preventDefault(),i.getNewPosts(e)})},triggerLoadMore:function(e,t){i.getNewPosts(e,t)},hideLoadMoreButton:function(e,i){e.hasClass("qodef-pagination-type--load-more")&&i.next_page>i.max_pages_num&&e.find(".qodef-load-more-button").hide()},initInfiniteScroll:function(e){var t=e.outerHeight()+e.offset().top,o=qodef.scroll+qodef.windowHeight,n=e.data("options");!e.hasClass("qodef--loading")&&o>t&&n.max_pages_num>=n.next_page&&i.getNewPosts(e)},getNewPosts:function(t,o){t.addClass("qodef--loading");var n=t.children(".qodef-grid-inner"),a=t.data("options");
1i.setNextPageValue(a,o,!1),e.ajax({type:"GET",url:qodefGlobal.vars.restUrl+qodefGlobal.vars.paginationRestRoute,data:{options:a},beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",qodefGlobal.vars.paginationNonce)},success:function(e){"success"===e.status?(i.setNextPageValue(a,o,!0),i.changeStandardState(t,a.max_pages_num,o),n.waitForImages(function(){i.addPosts(n,e.data,o),i.reInitMasonryPosts(t,n),qodef.body.trigger("lekker_trigger_get_new_posts",[t])}),i.hideLoadMoreButton(t,a)):console.log(e.message)},complete:function(){t.removeClass("qodef--loading")}})},setNextPageValue:function(e,i,t){void 0===i||""===i||t?t&&(e.next_page=parseInt(e.next_page,10)+1):e.next_page=i},addPosts:function(e,i,t){void 0!==t&&""!==t?e.html(i):e.append(i)},reInitMasonryPosts:function(e,i){e.hasClass("qodef-layout--masonry")&&(e.hasClass("qodef-item-layout--info-on-side")||e.hasClass("qodef-hover-animation--fade-in")?i.isotope("reloadItems").isotope({sortBy:"original-order",transitionDuration:0}):i.isotope("reloadItems").isotope({sortBy:"original-order"}),setTimeout(function(){i.isotope("layout")},200))}};qodef.qodefPagination=i}(jQuery),function(e){"use strict";e(document).ready(function(){i.init(),t.init(),o.init()});var i={init:function(t){this.holder=[],this.holder.push({holder:e("#qodef-woo-page .woocommerce-ordering select"),options:{minimumResultsForSearch:1/0}}),this.holder.push({holder:e("#qodef-woo-page .variations select"),options:{minimumResultsForSearch:1/0}}),this.holder.push({holder:e("#qodef-woo-page #calc_shipping_country"),options:{}}),this.holder.push({holder:e("#qodef-woo-page .shipping select#calc_shipping_state"),options:{}}),this.holder.push({holder:e(".widget.widget_archive select"),options:{}}),this.holder.push({holder:e(".widget.widget_categories select"),options:{}}),this.holder.push({holder:e(".widget.widget_text select"),options:{}}),e.extend(this.holder,t),"object"==typeof this.holder&&e.each(this.holder,function(e,t){i.createSelect2(t.holder,t.options)})},createSelect2:function(e,i){"function"==typeof e.select2&&e.select2(i)}},t={init:function(){e(document).on("click",".qodef-quantity-minus, .qodef-quantity-plus",function(i){i.stopPropagation();var t,o=e(this),n=o.siblings(".qodef-quantity-input"),a=parseFloat(n.data("step")),d=parseFloat(n.data("max")),s=parseFloat(n.data("min")),r=!1,l="function"==typeof Number.isNaN&&Number.isNaN(parseFloat(n.val()))?s:parseFloat(n.val());o.hasClass("qodef-quantity-minus")&&(r=!0),r?(t=l-a)>=1?n.val(t):n.val(0):(t=l+a,void 0===d?n.val(t):t>=d?n.val(d):n.val(t)),n.trigger("change")})}},o={init:function(){if("object"==typeof qodef.qodefMagnificPopup){var i=e(".qodef--single.qodef-magnific-popup.qodef-popup-gallery .woocommerce-product-gallery__image");i.length&&(i.each(function(){e(this).children("a").attr("data-type","image").addClass("qodef-popup-item")}),qodef.qodefMagnificPopup.init())}}};qodef.qodefWooMagnificPopup=o}(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.