!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e(t.bootstrap={},t.jQuery)}(this,function(t,e){"use strict";function M(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function o(){return(o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,o=arguments[e];for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])}return t}).apply(this,arguments)}e=e&&e.hasOwnProperty("default")?e.default:e;i=e,n=!1,s={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");"#"===(e=e&&"#"!==e?e:t.getAttribute("href")||"").charAt(0)&&(t=e,e=t="function"==typeof i.escapeSelector?i.escapeSelector(t).substr(1):t.replace(/(:|\.|\[|\]|,|=|@)/g,"\\$1"));try{return 0<i(document).find(e).length?e:null}catch(t){return null}},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){i(t).trigger(n.end)},supportsTransitionEnd:function(){return Boolean(n)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var i=n[o],r=e[o],r=r&&s.isElement(r)?"element":{}.toString.call(r).match(/\s([a-zA-Z]+)/)[1].toLowerCase();if(!new RegExp(i).test(r))throw new Error(t.toUpperCase()+': Option "'+o+'" provided type "'+r+'" but expected type "'+i+'".')}}},n=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},i.fn.emulateTransitionEnd=H,s.supportsTransitionEnd()&&(i.event.special[s.TRANSITION_END]={bindType:n.end,delegateType:n.end,handle:function(t){if(i(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}});var i,n,s,r=s;function H(t){var e=this,n=!1;return i(this).one(s.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||s.triggerTransitionEnd(e)},t),this}for(var U="undefined"!=typeof window&&"undefined"!=typeof document,W=["Edge","Trident","Firefox"],B=0,a=0;a<W.length;a+=1)if(U&&0<=navigator.userAgent.indexOf(W[a])){B=1;break}var F=U&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},B))}};function R(t){return t&&"[object Function]"==={}.toString.call(t)}function u(t,e){return 1!==t.nodeType?[]:(t=getComputedStyle(t,null),e?t[e]:t)}function p(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function h(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=u(t),n=e.overflow,o=e.overflowX,e=e.overflowY;return/(auto|scroll)/.test(n+e+o)?t:h(p(t))}function c(t){var e=t&&t.offsetParent,n=e&&e.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TD","TABLE"].indexOf(e.nodeName)&&"static"===u(e,"position")?c(e):e:(t?t.ownerDocument:document).documentElement}function l(t){return null!==t.parentNode?l(t.parentNode):t}function d(t,e){var n,o,i;return t&&t.nodeType&&e&&e.nodeType?(o=(i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)?t:e,i=i?e:t,(n=document.createRange()).setStart(o,0),n.setEnd(i,0),t!==(n=n.commonAncestorContainer)&&e!==n||o.contains(i)?"BODY"===(i=(o=n).nodeName)||"HTML"!==i&&c(o.firstElementChild)!==o?c(n):n:(i=l(t)).host?d(i.host,e):d(t,l(e).host)):document.documentElement}function m(t,e){var e="top"===(1<arguments.length&&void 0!==e?e:"top")?"scrollTop":"scrollLeft",n=t.nodeName;return("BODY"===n||"HTML"===n?(n=t.ownerDocument.documentElement,t.ownerDocument.scrollingElement||n):t)[e]}function Y(t,e){var e="x"===e?"Left":"Top",n="Left"==e?"Right":"Bottom";return parseFloat(t["border"+e+"Width"],10)+parseFloat(t["border"+n+"Width"],10)}var f=void 0,g=function(){return f=void 0===f?-1!==navigator.appVersion.indexOf("MSIE 10"):f};function q(t,e,n,o){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],g()?n["offset"+t]+o["margin"+("Height"===t?"Top":"Left")]+o["margin"+("Height"===t?"Bottom":"Right")]:0)}function K(){var t=document.body,e=document.documentElement,n=g()&&getComputedStyle(e);return{height:q("Height",t,e,n),width:q("Width",t,e,n)}}var V=function(t,e,n){return e&&Q(t.prototype,e),n&&Q(t,n),t};function Q(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var b=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,o=arguments[e];for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])}return t};function y(t){return b({},t,{right:t.left+t.width,bottom:t.top+t.height})}function z(t){var e={};if(g())try{var e=t.getBoundingClientRect(),n=m(t,"top"),o=m(t,"left");e.top+=n,e.left+=o,e.bottom+=n,e.right+=o}catch(t){}else e=t.getBoundingClientRect();n={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?K():{},e=o.width||t.clientWidth||n.right-n.left,o=o.height||t.clientHeight||n.bottom-n.top,e=t.offsetWidth-e,o=t.offsetHeight-o;return(e||o)&&(e-=Y(t=u(t),"x"),o-=Y(t,"y"),n.width-=e,n.height-=o),y(n)}function G(t,e){var n=g(),o="HTML"===e.nodeName,i=z(t),r=z(e),t=h(t),s=u(e),a=parseFloat(s.borderTopWidth,10),l=parseFloat(s.borderLeftWidth,10),r=y({top:i.top-r.top-a,left:i.left-r.left-l,width:i.width,height:i.height});return r.marginTop=0,r.marginLeft=0,!n&&o&&(i=parseFloat(s.marginTop,10),o=parseFloat(s.marginLeft,10),r.top-=a-i,r.bottom-=a-i,r.left-=l-o,r.right-=l-o,r.marginTop=i,r.marginLeft=o),r=(n?e.contains(t):e===t&&"BODY"!==t.nodeName)?function(t,e,n){var n=2<arguments.length&&void 0!==n&&n,o=m(e,"top"),e=m(e,"left"),n=n?-1:1;return t.top+=o*n,t.bottom+=o*n,t.left+=e*n,t.right+=e*n,t}(r,e):r}function J(t,e,n,o){var i,r,s,a,l,f={top:0,left:0},c=d(t,e);return"viewport"===o?(r=(i=c).ownerDocument.documentElement,i=G(i,r),s=Math.max(r.clientWidth,window.innerWidth||0),a=Math.max(r.clientHeight,window.innerHeight||0),l=m(r),r=m(r,"left"),f=y({top:l-i.top+i.marginTop,left:r-i.left+i.marginLeft,width:s,height:a})):(l=void 0,"scrollParent"===o?"BODY"===(l=h(p(e))).nodeName&&(l=t.ownerDocument.documentElement):l="window"===o?t.ownerDocument.documentElement:o,r=G(l,c),"HTML"!==l.nodeName||function t(e){var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===u(e,"position")||t(p(e)))}(c)?f=r:(s=(i=K()).height,a=i.width,f.top+=r.top-r.marginTop,f.bottom=s+r.top,f.left+=r.left-r.marginLeft,f.right=a+r.left)),f.left+=n,f.top+=n,f.right-=n,f.bottom-=n,f}function X(t,e,n,o,i,r){var s,r=5<arguments.length&&void 0!==r?r:0;return-1===t.indexOf("auto")?t:(o=J(n,o,r,i),s={top:{width:o.width,height:e.top-o.top},right:{width:o.right-e.right,height:o.height},bottom:{width:o.width,height:o.bottom-e.bottom},left:{width:e.left-o.left,height:o.height}},(0<(i=(r=Object.keys(s).map(function(t){return b({key:t},s[t],{area:(t=s[t]).width*t.height})}).sort(function(t,e){return e.area-t.area})).filter(function(t){var e=t.width,t=t.height;return e>=n.clientWidth&&t>=n.clientHeight})).length?i:r)[0].key+((e=t.split("-")[1])?"-"+e:""))}function Z(t,e,n){return G(n,d(e,n))}function $(t){var e=getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),e=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+e,height:t.offsetHeight+n}}function E(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function tt(t,e,n){n=n.split("-")[0];var t=$(t),o={width:t.width,height:t.height},i=-1!==["right","left"].indexOf(n),r=i?"top":"left",s=i?"left":"top",a=i?"height":"width",i=i?"width":"height";return o[r]=e[r]+e[a]/2-t[a]/2,o[s]=n===s?e[s]-t[i]:e[E(s)],o}function w(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function et(t,n,e){var o,i;return(void 0===e?t:t.slice(0,(t=t,o="name",i=e,Array.prototype.findIndex?t.findIndex(function(t){return t[o]===i}):(e=w(t,function(t){return t[o]===i}),t.indexOf(e))))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var e=t.function||t.fn;t.enabled&&R(e)&&(n.offsets.popper=y(n.offsets.popper),n.offsets.reference=y(n.offsets.reference),n=e(n,t))}),n}function nt(t,n){return t.some(function(t){var e=t.name;return t.enabled&&e===n})}function ot(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),o=0;o<e.length-1;o++){var i=e[o],i=i?""+i+n:t;if(void 0!==document.body.style[i])return i}return null}function it(t){t=t.ownerDocument;return t?t.defaultView:window}function rt(t,e,n,o){n.updateBound=o,it(t).addEventListener("resize",n.updateBound,{passive:!0});o=h(t);return function t(e,n,o,i){var r="BODY"===e.nodeName,e=r?e.ownerDocument.defaultView:e;e.addEventListener(n,o,{passive:!0}),r||t(h(e.parentNode),n,o,i),i.push(e)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function st(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,it(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function at(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function lt(n,o){Object.keys(o).forEach(function(t){var e="";-1!==["width","height","top","right","bottom","left"].indexOf(t)&&at(o[t])&&(e="px"),n.style[t]=o[t]+e})}function ft(t,e,n){var o,i=w(t,function(t){return t.name===e}),t=!!i&&t.some(function(t){return t.name===n&&t.enabled&&t.order<i.order});return t||(o="`"+e+"`",console.warn("`"+n+"`"+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")),t}var T=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ct=T.slice(3);function ut(t,e){e=1<arguments.length&&void 0!==e&&e,t=ct.indexOf(t),t=ct.slice(t+1).concat(ct.slice(0,t));return e?t.reverse():t}var pt="flip",ht="clockwise",dt="counterclockwise";function mt(t,a,l,e){var i=[0,0],o=-1!==["right","left"].indexOf(e),e=t.split(/(\+|\-)/).map(function(t){return t.trim()}),t=e.indexOf(w(e,function(t){return-1!==t.search(/,|\s/)})),n=(e[t]&&-1===e[t].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),/\s*,\s*|\s+/);return(-1!==t?[e.slice(0,t).concat([e[t].split(n)[0]]),[e[t].split(n)[1]].concat(e.slice(t+1))]:[e]).map(function(t,e){var s=(1===e?!o:o)?"height":"width",n=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,n=!0,t):n?(t[t.length-1]+=e,n=!1,t):t.concat(e)},[]).map(function(t){return e=s,n=a,o=l,i=+(r=(t=t).match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[1],r=r[2],i?0===r.indexOf("%")?y("%p"===r?n:o)[e]/100*i:"vh"===r||"vw"===r?("vh"===r?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i:i:t;var e,n,o,i,r})}).forEach(function(n,o){n.forEach(function(t,e){at(t)&&(i[o]+=t*("-"===n[e-1]?-1:1))})}),i}var gt={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e,n,o,i=t.placement,r=i.split("-")[0];return(i=i.split("-")[1])&&(e=(n=t.offsets).reference,n=n.popper,o=(r=-1!==["bottom","top"].indexOf(r))?"width":"height",r={start:v({},r=r?"left":"top",e[r]),end:v({},r,e[r]+e[o]-n[o])},t.offsets.popper=b({},n,r[i])),t}},offset:{order:200,enabled:!0,fn:function(t,e){var e=e.offset,n=t.placement,o=(i=t.offsets).popper,i=i.reference,n=n.split("-")[0],r=void 0,r=at(+e)?[+e,0]:mt(e,o,i,n);return"left"===n?(o.top+=r[0],o.left-=r[1]):"right"===n?(o.top+=r[0],o.left+=r[1]):"top"===n?(o.left+=r[0],o.top-=r[1]):"bottom"===n&&(o.left+=r[0],o.top+=r[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,o){var e=o.boundariesElement||c(t.instance.popper),i=(t.instance.reference===e&&(e=c(e)),J(t.instance.popper,t.instance.reference,o.padding,e)),e=(o.boundaries=i,o.priority),r=t.offsets.popper,n={primary:function(t){var e=r[t];return r[t]<i[t]&&!o.escapeWithReference&&(e=Math.max(r[t],i[t])),v({},t,e)},secondary:function(t){var e="right"===t?"left":"top",n=r[e];return r[t]>i[t]&&!o.escapeWithReference&&(n=Math.min(r[e],i[t]-("right"===t?r.width:r.height))),v({},e,n)}};return e.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";r=b({},r,n[e](t))}),t.offsets.popper=r,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=(n=t.offsets).popper,n=n.reference,o=t.placement.split("-")[0],i=Math.floor,r=(o=-1!==["top","bottom"].indexOf(o))?"right":"bottom",s=o?"left":"top",o=o?"width":"height";return e[r]<i(n[s])&&(t.offsets.popper[s]=i(n[s])-e[o]),e[s]>i(n[r])&&(t.offsets.popper[s]=i(n[r])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){if(ft(t.instance.modifiers,"arrow","keepTogether")){e=e.element;if("string"==typeof e){if(!(e=t.instance.popper.querySelector(e)))return t}else if(!t.instance.popper.contains(e))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var n=t.placement.split("-")[0],o=t.offsets,i=o.popper,o=o.reference,n=-1!==["left","right"].indexOf(n),r=n?"height":"width",s=n?"Top":"Left",a=s.toLowerCase(),l=n?"left":"top",n=n?"bottom":"right",f=$(e)[r],n=(o[n]-f<i[a]&&(t.offsets.popper[a]-=i[a]-(o[n]-f)),o[a]+f>i[n]&&(t.offsets.popper[a]+=o[a]+f-i[n]),t.offsets.popper=y(t.offsets.popper),o[a]+o[r]/2-f/2),o=u(t.instance.popper),c=parseFloat(o["margin"+s],10),o=parseFloat(o["border"+s+"Width"],10),s=n-t.offsets.popper[a]-c-o,s=Math.max(Math.min(i[r]-f,s),0);t.arrowElement=e,t.offsets.arrow=(v(n={},a,Math.round(s)),v(n,l,""),n)}return t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(l,f){if(!(nt(l.instance.modifiers,"inner")||l.flipped&&l.placement===l.originalPlacement)){var c=J(l.instance.popper,l.instance.reference,f.padding,f.boundariesElement),u=l.placement.split("-")[0],p=E(u),h=l.placement.split("-")[1]||"",d=[];switch(f.behavior){case pt:d=[u,p];break;case ht:d=ut(u);break;case dt:d=ut(u,!0);break;default:d=f.behavior}d.forEach(function(t,e){if(u!==t||d.length===e+1)return l;u=l.placement.split("-")[0],p=E(u);var t=l.offsets.popper,n=l.offsets.reference,o=Math.floor,n="left"===u&&o(t.right)>o(n.left)||"right"===u&&o(t.left)<o(n.right)||"top"===u&&o(t.bottom)>o(n.top)||"bottom"===u&&o(t.top)<o(n.bottom),i=o(t.left)<o(c.left),r=o(t.right)>o(c.right),s=o(t.top)<o(c.top),t=o(t.bottom)>o(c.bottom),o="left"===u&&i||"right"===u&&r||"top"===u&&s||"bottom"===u&&t,a=-1!==["top","bottom"].indexOf(u),i=!!f.flipVariations&&(a&&"start"===h&&i||a&&"end"===h&&r||!a&&"start"===h&&s||!a&&"end"===h&&t);(n||o||i)&&(l.flipped=!0,(n||o)&&(u=d[e+1]),i&&(h="end"===(r=h)?"start":"start"===r?"end":r),l.placement=u+(h?"-"+h:""),l.offsets.popper=b({},l.offsets.popper,tt(l.instance.popper,l.offsets.reference,l.placement)),l=et(l.instance.modifiers,l,"flip"))})}return l},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],o=(i=t.offsets).popper,i=i.reference,r=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[r?"left":"top"]=i[n]-(s?o[r?"width":"height"]:0),t.placement=E(e),t.offsets.popper=y(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(ft(t.instance.modifiers,"hide","preventOverflow")){var e=t.offsets.reference,n=w(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,o=e.y,i=t.offsets.popper,r=(void 0!==(r=w(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration)&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!"),void 0!==r?r:e.gpuAcceleration),e=z(c(t.instance.popper)),s={position:i.position},i={left:Math.floor(i.left),top:Math.floor(i.top),bottom:Math.floor(i.bottom),right:Math.floor(i.right)},n="bottom"===n?"top":"bottom",o="right"===o?"left":"right",a=ot("transform"),l=void 0,f=void 0,f="bottom"==n?-e.height+i.bottom:i.top,l="right"==o?-e.width+i.right:i.left,i=(r&&a?(s[a]="translate3d("+l+"px, "+f+"px, 0)",s[n]=0,s[o]=0,s.willChange="transform"):(e="right"==o?-1:1,s[n]=f*("bottom"==n?-1:1),s[o]=l*e,s.willChange=n+", "+o),{"x-placement":t.placement});return t.attributes=b({},i,t.attributes),t.styles=b({},s,t.styles),t.arrowStyles=b({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return lt(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach(function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&lt(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,o,i){var r=Z(0,e,t),r=X(n.placement,r,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",r),lt(e,{position:"absolute"}),n},gpuAcceleration:void 0}}},_=(V(O,[{key:"update",value:function(){return function(){var t;this.state.isDestroyed||((t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}}).offsets.reference=Z(this.state,this.popper,this.reference),t.placement=X(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.offsets.popper=tt(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position="absolute",t=et(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t)))}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,nt(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[ot("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=rt(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return st.call(this)}}]),O);function O(t,e){var n=this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},i=this,r=O;if(!(i instanceof r))throw new TypeError("Cannot call a class as a function");this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=F(this.update.bind(this)),this.options=b({},O.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(b({},O.Defaults.modifiers,o.modifiers)).forEach(function(t){n.options.modifiers[t]=b({},O.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return b({name:t},n.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&R(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)}),this.update();i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}_.Utils=("undefined"!=typeof window?window:global).PopperUtils,_.placements=T,_.Defaults=gt;A="tooltip",N="."+(D="bs.tooltip"),vt=(C=e).fn[A],bt="bs-tooltip",yt=new RegExp("(^|\\s)"+bt+"\\S+","g"),Tt={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!(wt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(Et={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},x="out",_t={HIDE:"hide"+N,HIDDEN:"hidden"+N,SHOW:(S="show")+N,SHOWN:"shown"+N,INSERTED:"inserted"+N,CLICK:"click"+N,FOCUSIN:"focusin"+N,FOCUSOUT:"focusout"+N,MOUSEENTER:"mouseenter"+N,MOUSELEAVE:"mouseleave"+N},L="fade",k="show",Ot=".tooltip-inner",Ct=".arrow",I="hover",P="focus",At="click",Dt="manual",j=function(){function i(t,e){if(void 0===_)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var t,e,n=i.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(t){var e,n;this._isEnabled&&(t?(e=this.constructor.DATA_KEY,(n=C(t.currentTarget).data(e))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),C(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)):C(this.getTipElement()).hasClass(k)?this._leave(null,this):this._enter(null,this))},n.dispose=function(){clearTimeout(this._timeout),C.removeData(this.element,this.constructor.DATA_KEY),C(this.element).off(this.constructor.EVENT_KEY),C(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&C(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},n.show=function(){var e=this;if("none"===C(this.element).css("display"))throw new Error("Please use show on visible elements");var t,n,o=C.Event(this.constructor.Event.SHOW);this.isWithContent()&&this._isEnabled&&(C(this.element).trigger(o),t=C.contains(this.element.ownerDocument.documentElement,this.element),!o.isDefaultPrevented())&&t&&(o=this.getTipElement(),t=r.getUID(this.constructor.NAME),o.setAttribute("id",t),this.element.setAttribute("aria-describedby",t),this.setContent(),this.config.animation&&C(o).addClass(L),t="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,t=this._getAttachment(t),this.addAttachmentClass(t),n=!1===this.config.container?document.body:C(this.config.container),C(o).data(this.constructor.DATA_KEY,this),C.contains(this.element.ownerDocument.documentElement,this.tip)||C(o).appendTo(n),C(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new _(this.element,o,{placement:t,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:Ct},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),C(o).addClass(k),"ontouchstart"in document.documentElement&&C("body").children().on("mouseover",null,C.noop),n=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,C(e.element).trigger(e.constructor.Event.SHOWN),t===x&&e._leave(null,e)},r.supportsTransitionEnd()&&C(this.tip).hasClass(L)?C(this.tip).one(r.TRANSITION_END,n).emulateTransitionEnd(i._TRANSITION_DURATION):n())},n.hide=function(t){function e(){n._hoverState!==S&&o.parentNode&&o.parentNode.removeChild(o),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),C(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()}var n=this,o=this.getTipElement(),i=C.Event(this.constructor.Event.HIDE);C(this.element).trigger(i),i.isDefaultPrevented()||(C(o).removeClass(k),"ontouchstart"in document.documentElement&&C("body").children().off("mouseover",null,C.noop),this._activeTrigger[At]=!1,this._activeTrigger[P]=!1,this._activeTrigger[I]=!1,r.supportsTransitionEnd()&&C(this.tip).hasClass(L)?C(o).one(r.TRANSITION_END,e).emulateTransitionEnd(150):e(),this._hoverState="")},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(t){C(this.getTipElement()).addClass(bt+"-"+t)},n.getTipElement=function(){return this.tip=this.tip||C(this.config.template)[0],this.tip},n.setContent=function(){var t=C(this.getTipElement());this.setElementContent(t.find(Ot),this.getTitle()),t.removeClass(L+" "+k)},n.setElementContent=function(t,e){var n=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?n?C(e).parent().is(t)||t.empty().append(e):t.text(C(e).text()):t[n?"html":"text"](e)},n.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},n._getAttachment=function(t){return wt[t.toUpperCase()]},n._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){var e;"click"===t?C(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)}):t!==Dt&&(e=t===I?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,t=t===I?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,C(n.element).on(e,n.config.selector,function(t){return n._enter(t)}).on(t,n.config.selector,function(t){return n._leave(t)})),C(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})}),this.config.selector?this.config=o({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==t||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||C(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),C(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?P:I]=!0),C(e.getTipElement()).hasClass(k)||e._hoverState===S?e._hoverState=S:(clearTimeout(e._timeout),e._hoverState=S,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===S&&e.show()},e.config.delay.show):e.show())},n._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||C(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),C(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?P:I]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=x,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===x&&e.hide()},e.config.delay.hide):e.hide())},n._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},n._getConfig=function(t){return"number"==typeof(t=o({},this.constructor.Default,C(this.element).data(),t)).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),r.typeCheckConfig(A,t,this.constructor.DefaultType),t},n._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},n._cleanTipClass=function(){var t=C(this.getTipElement()),e=t.attr("class").match(yt);null!==e&&0<e.length&&t.removeClass(e.join(""))},n._handlePopperPlacementChange=function(t){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},n._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(C(t).removeClass(L),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},i._jQueryInterface=function(n){return this.each(function(){var t=C(this).data(D),e="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),C(this).data(D,t)),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},n=i,e=[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return Tt}},{key:"NAME",get:function(){return A}},{key:"DATA_KEY",get:function(){return D}},{key:"Event",get:function(){return _t}},{key:"EVENT_KEY",get:function(){return N}},{key:"DefaultType",get:function(){return Et}}],(t=null)&&M(n.prototype,t),e&&M(n,e),i}(),C.fn[A]=j._jQueryInterface,C.fn[A].Constructor=j,C.fn[A].noConflict=function(){return C.fn[A]=vt,j._jQueryInterface};var C,A,D,N,vt,bt,yt,Et,wt,Tt,S,x,_t,L,k,Ot,Ct,I,P,At,Dt,j,V=j,T=e;if(void 0===T)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");if((T=T.fn.jquery.split(" ")[0].split("."))[0]<2&&T[1]<9||1===T[0]&&9===T[1]&&T[2]<1||4<=T[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");t.Util=r,t.Tooltip=V,Object.defineProperty(t,"__esModule",{value:!0})});
!function(o){woodmartThemeModule.$document.on("wdBackHistory wdProductsTabsLoaded wdSearchFullScreenContentLoaded wdActionAfterAddToCart wdShopPageInit wdArrowsLoadProducts wdLoadMoreLoadProducts wdUpdateWishlist wdQuickViewOpen wdQuickShopSuccess wdProductBaseHoverIconsResize wdRecentlyViewedProductLoaded updated_checkout updated_cart_totals",function(){woodmartThemeModule.btnsToolTips()}),woodmartThemeModule.$document.on("wdUpdateTooltip",function(t,o){woodmartThemeModule.updateTooltip(o)}),o.each(["frontend/element_ready/wd_products.default","frontend/element_ready/wd_products_tabs.default","frontend/element_ready/wd_single_product_nav.default","frontend/element_ready/wd_single_product_size_guide_button.default","frontend/element_ready/wd_single_product_compare_button.default","frontend/element_ready/wd_single_product_wishlist_button.default"],function(t,o){woodmartThemeModule.wdElementorAddAction(o,function(){woodmartThemeModule.btnsToolTips()})}),woodmartThemeModule.btnsToolTips=function(){o('.woodmart-css-tooltip, .wd-buttons[class*="wd-pos-r"] div > a').on("mouseenter touchstart",function(){var t=o(this);t.hasClass("wd-tooltip-inited")||(t.find(".wd-tooltip-label").remove(),t.addClass("wd-tltp").prepend('<span class="wd-tooltip-label">'+t.text()+"</span>"),t.addClass("wd-tooltip-inited"))}),o(".wd-tooltip, .wd-hover-icons .wd-buttons .wd-action-btn:not(.wd-add-btn) > a, .wd-hover-icons .wd-buttons .wd-add-btn, body:not(.catalog-mode-on):not(.login-see-prices) .wd-hover-base .wd-bottom-actions .wd-action-btn.wd-style-icon:not(.wd-add-btn) > a, body:not(.catalog-mode-on):not(.login-see-prices) .wd-hover-base .wd-bottom-actions .wd-action-btn.wd-style-icon.wd-add-btn, .wd-hover-base .wd-compare-btn > a, .wd-products-nav .wd-btn-back, .wd-single-action-btn .wd-action-btn.wd-style-icon a").on("mouseenter touchstart",function(){var t=o(this);!t.hasClass("wd-hint")&&woodmartThemeModule.windowWidth<=1024||t.hasClass("wd-tooltip-inited")||(t.tooltip({animation:!1,container:"body",trigger:"hover",boundary:"window",title:function(){var t=o(this);return(0<t.find(".added_to_cart").length||0<t.find(".add_to_cart_button").length?t.find(".add_to_cart_button"):0<t.find(".wd-swatch-text").length?t.find(".wd-swatch-text"):t).text()}}),t.tooltip("show"),t.addClass("wd-tooltip-inited"))})},woodmartThemeModule.updateTooltip=function(t){t=o(t);t.hasClass("wd-tooltip-inited")||(t=t.parent(".wd-tooltip-inited")),woodmartThemeModule.windowWidth<=1024||!t.hasClass("wd-tooltip-inited")||void 0===o.fn.tooltip||!t.is(":hover")||t.tooltip("update").tooltip("show")},o(document).ready(function(){woodmartThemeModule.btnsToolTips()})}(jQuery);
!function(v){woodmartThemeModule.$document.on("wdQuickShopSuccess wdQuickViewOpen wdUpdateWishlist",function(){woodmartThemeModule.swatchesVariations()}),v.each(["frontend/element_ready/wd_single_product_add_to_cart.default"],function(a,e){woodmartThemeModule.wdElementorAddAction(e,function(a){a.find(".variations_form").each(function(){v(this).wc_variation_form()}),woodmartThemeModule.swatchesVariations()})}),woodmartThemeModule.swatchesVariations=function(){woodmartThemeModule.setupMainCarouselArg();var a=v(".variations_form"),n=!1,t=!1===a.data("product_variations"),r=(v(".variations_form .label").on("click",function(a){v(this).siblings(".value").hasClass("with-swatches")&&a.preventDefault()}),a.each(function(){var a,s=v(this);s.data("swatches")||s.hasClass("wd-quick-shop-2")||(s.data("swatches",!0),s.data("product_variations")||s.find(".wd-swatches-product").find("> .wd-swatch").addClass("wd-enabled"),v(".wd-swatches-product > div").hasClass("wd-active")&&(s.addClass("variation-swatch-selected"),g(s)),(a=s.find("select.wd-changes-variation-image")).on("change",function(){var t,o,i,a=v(this),r=a.attr("name"),d=a.val(),a=s.data("product_variations"),e=!1;s.find("select").each(function(){if(!v(this).val())return!(e=!0)}),e&&d&&a&&(t=s.parents(".product, .main-page-wrapper"),o=t.find(".thumbnails .product-image-thumbnail img").first(),i=t.find(".woocommerce-product-gallery .woocommerce-product-gallery__image > a .wp-post-image").first(),v.each(a,function(a,e){if(e.attributes[r]===d)return setTimeout(function(){s.wc_variations_image_update(e),w(e.variation_id,s)||o.attr("src")===e.image.thumb_src&&o.attr("srcset")===e.image.thumb_src||((o=t.find(".thumbnails .product-image-thumbnail img").first()).wc_set_variation_attr("src",e.image.src),o.wc_set_variation_attr("srcset",e.image.src),i.attr("data-o_src",e.image.src),i.attr("data-o_srcset",e.image.src),o.siblings("source").length&&o.siblings("source").attr("srcset",e.image.src),woodmartThemeModule.$document.trigger("wdResetVariation"))}),!1}))}),a.val()&&a.trigger("change"),s.on("click",".wd-swatches-single > .wd-swatch",function(){var a=v(this),e=a.data("value"),t=a.parent().data("id");a.data("title");r(s),a.parents(".wd-swatches-limited").length&&a.parents(".wd-swatches-limited").find(".wd-swatch-divider").trigger("click"),a.hasClass("wd-active")||a.hasClass("wd-disabled")||(s.find("select#"+t).val(e).trigger("change"),a.parent().find(".wd-active").removeClass("wd-active"),a.addClass("wd-active"),r(s),_())}).on("woocommerce_update_variation_values",function(){_(),r(s)}).on("click",".reset_variations",function(){s.find(".wd-active").removeClass("wd-active"),("yes"===woodmart_settings.swatches_labels_name&&769<=woodmartThemeModule.$window.width()||woodmartThemeModule.$window.width()<=768)&&s.find(".wd-attr-selected").html("")}).on("reset_data",function(){var e=v(this),t=!0,o=!0,a=(s.find(".variations select").each(function(){var a=v(this);0===(e.val()||"").length&&(t=!1),a.has("wd-changes-variation-image")&&a.val()&&(o=!1)}),t&&e.parent().find(".wd-active").removeClass("wd-active"),s.removeClass("variation-swatch-selected"),s.find(".woocommerce-variation").removeClass("wd-show"),v(".woocommerce-product-gallery__wrapper.owl-carousel")),i=v(".woocommerce-product-gallery");r(s),o&&w("default",s),a.hasClass("owl-carousel")&&("yes"===woodmart_settings.product_slider_auto_height?(!l()&&m("default",s)&&n&&a.trigger("destroy.owl.carousel"),v(".product-images").imagesLoaded(function(){(a=a.owlCarousel(woodmartThemeModule.mainCarouselArg)).trigger("refresh.owl.carousel")})):(a=a.owlCarousel(woodmartThemeModule.mainCarouselArg)).trigger("refresh.owl.carousel"),i=i.hasClass("thumbs-position-centered")?woodmart_settings.centered_gallery_start:0,l()&&(i=0),a.trigger("to.owl.carousel",i)),woodmartThemeModule.$document.trigger("wdResetVariation")}).on("found_variation",function(a,e){t&&w(e.variation_id,s,e)}).on("reset_image",function(){var a=v(".thumbnails .product-image-thumbnail img").first();l()||c(s)||a.wc_reset_variation_attr("src")}).on("show_variation",function(a,e){var t,o,i,r,d;s.find(".wd-swatch").length&&!s.find(".wd-swatch.wd-active").length&&s.find("select").each(function(){var a=v(this),e=a.val();e&&a.siblings(".wd-swatches-product").find(".wd-swatch[data-value="+e+"]").addClass("wd-active")}),_(),s.addClass("variation-swatch-selected"),void 0!==e&&e.image.src&&(d=0<(i=s.parents(".product, .main-page-wrapper")).find('.thumbnails .product-image-thumbnail img[data-o_src="'+e.image.thumb_src+'"]').length,o=(t=i.find(".thumbnails .product-image-thumbnail img").first()).siblings("source"),i=i.find(".woocommerce-product-gallery .woocommerce-product-gallery__image > a").first().data("o_href"),d&&t.wc_reset_variation_attr("src"),c(s)||w(e.variation_id,s)||(t.attr("src")!==e.image.thumb_src&&(t.wc_set_variation_attr("src",e.image.src),e.image.srcset.length&&t.wc_set_variation_attr("srcset",e.image.srcset),o.length)&&(e.image.srcset.length?o.attr("srcset",e.image.srcset):o.attr("srcset",e.image.src)),woodmartThemeModule.$document.trigger("wdShowVariationNotQuickView")),g(s),c(s)||l()||i===e.image.full_src||u(),(r=v(".woocommerce-product-gallery__wrapper.owl-carousel")).hasClass("owl-carousel"))&&("yes"===woodmart_settings.product_slider_auto_height?(!l()&&m(e.variation_id,s)&&n&&r.trigger("destroy.owl.carousel"),v(".product-images").imagesLoaded(function(){(r=r.owlCarousel(woodmartThemeModule.mainCarouselArg)).trigger("refresh.owl.carousel")})):(r=r.owlCarousel(woodmartThemeModule.mainCarouselArg)).trigger("refresh.owl.carousel"),d=v(".images .thumbnails"),r.trigger("to.owl.carousel",0),d.hasClass("owl-carousel")?(d.owlCarousel().trigger("to.owl.carousel",0),d.find(".active-thumb").removeClass("active-thumb"),d.find(".product-image-thumbnail").eq(0).addClass("active-thumb")):d.hasClass("slick-slider")&&(d.slick("slickGoTo",0),d.find(".product-image-thumbnail").eq(0).hasClass("active-thumb")||(d.find(".active-thumb").removeClass("active-thumb"),d.find(".product-image-thumbnail").eq(0).addClass("active-thumb"))))}))}),function(a){a.data("product_variations")&&a.find(".variations select").each(function(){var a=v(this),e=a.parent().find(".wd-swatches-product"),a=a.html(),a=v(a);e.find(".wd-swatch").removeClass("wd-enabled").addClass("wd-disabled"),a.each(function(){var a=v(this).val();v(this).hasClass("enabled")?e.find('div[data-value="'+a+'"]').removeClass("wd-disabled").addClass("wd-enabled"):e.find('div[data-value="'+a+'"]').addClass("wd-disabled").removeClass("wd-enabled")})})}),l=function(){return v(".single-product-content").hasClass("product-quick-view")},c=function(a){return a.parent().hasClass("quick-shop-form")},m=function(a,e){return"old"===woodmart_settings.variation_gallery_storage_method?o(a):i(a,e)},o=function(a){var e;if("undefined"!=typeof woodmart_variation_gallery_data||"undefined"!=typeof woodmart_qv_variation_gallery_data)return void 0!==(e=l()?woodmart_qv_variation_gallery_data:woodmart_variation_gallery_data)&&e&&e[a]},i=function(a,e){e=d(e);return void 0!==e&&e&&e[a]&&1<e[a].length||"default"===a},u=function(){var a;0!==v(".woocommerce-product-gallery__wrapper").length&&("yes"===woodmart_settings.swatches_scroll_top_desktop&&1024<=woodmartThemeModule.$window.width()||"yes"===woodmart_settings.swatches_scroll_top_mobile&&woodmartThemeModule.$window.width()<=1024)&&((a=v("html, body")).stop(!0),woodmartThemeModule.$window.on("mousedown wheel DOMMouseScroll mousewheel keyup touchmove",function(){a.stop(!0)}),a.animate({scrollTop:v(".woocommerce-product-gallery__wrapper").offset().top-150},800),v(".wd-swatch").tooltip("hide"))},d=function(a,e){void 0===e&&(e=!1);var t=a.data("product_variations"),o=(t=(t=e?e:t)||a.data("wd_product_variations"),[]);return t&&("object"!=typeof t||Array.isArray(t)?(t="string"==typeof t?JSON.parse(t):t).forEach(function(a){o[a.variation_id]=a.additional_variation_images,o.default=a.additional_variation_images_default}):(o[t.variation_id]=t.additional_variation_images,o.default=t.additional_variation_images_default,a.data("wd_product_variations",JSON.stringify([{additional_variation_images_default:t.additional_variation_images_default}])))),o},w=function(a,e,t){if(void 0===t&&(t=!1),"old"===woodmart_settings.variation_gallery_storage_method){if(!m(a,e)||c(e)||"default"===a&&!n)return!1;s(a,e)}else{if(!m(a,e)&&!t||t&&(o=a,!(void 0!==(i=t)&&i&&i.additional_variation_images&&1<i.additional_variation_images.length||"default"===o))||c(e)||"default"===a&&!n)return!1;i=d(e,t);h(i[a],e,a)}var o,i;return v(".woocommerce-product-gallery__image").trigger("zoom.destroy"),woodmartThemeModule.$document.trigger("wdReplaceMainGallery"),l()||woodmartThemeModule.$document.trigger("wdReplaceMainGalleryNotQuickView"),n="default"!==a,woodmartThemeModule.$window.trigger("resize"),!0},s=function(a,e){var t=(l()?woodmart_qv_variation_gallery_data:woodmart_variation_gallery_data)[a],e=e.parents(".product, .main-page-wrapper"),o=e.find(".woocommerce-product-gallery__wrapper");1<t.length?e.find(".woocommerce-product-gallery").addClass("wd-has-thumb"):e.find(".woocommerce-product-gallery").removeClass("wd-has-thumb"),o.empty();for(var i=0;i<t.length;i++){var r="",r=(l()||"default"!==a||void 0===t[i].video||void 0===t[i].video.classes||(r+=t[i].video.classes),'<div class="product-image-wrap'+r+'">');r+='<figure data-thumb="'+t[i].data_thumb+'" class="woocommerce-product-gallery__image">',l()||"default"!==a||void 0===t[i].video||void 0===t[i].video.controls||(r+=t[i].video.controls),l()||(r+='<a href="'+t[i].href+'">'),r+=t[i].image,l()||(r+="</a>"),l()||"default"!==a||void 0===t[i].video||void 0===t[i].video.content||(r+=t[i].video.content),r+="</figure></div>",o.append(r)}},h=function(a,e,t=""){var o,i,r,e=e.parents(".product, .main-page-wrapper"),d=e.find(".woocommerce-product-gallery__wrapper");for(o in d.empty(),1<a.length?e.find(".woocommerce-product-gallery").addClass("wd-has-thumb"):e.find(".woocommerce-product-gallery").removeClass("wd-has-thumb"),a)a.hasOwnProperty(o)&&(i="",l()||"default"!==t||void 0===a[o].video||void 0===a[o].video.classes||(i+=a[o].video.classes),i='<div class="product-image-wrap'+i+'">',l()||"default"!==t||void 0===a[o].video||void 0===a[o].video.controls||(i+=a[o].video.controls),i+='<figure class="woocommerce-product-gallery__image" data-thumb="'+a[o].thumbnail_src+'">',l()||(i+='<a href="'+a[o].full_src+'" data-elementor-open-lightbox="no">'),r=a[o].srcset?'srcset="'+a[o].srcset+'"':"",i+='<img width="'+a[o].width+'" height="'+a[o].height+'" src="'+a[o].src+'" class="'+a[o].class+'" alt="'+a[o].alt+'" title="'+a[o].title+'" data-caption="'+a[o].data_caption+'" data-src="'+a[o].data_src+'"  data-large_image="'+a[o].data_large_image+'" data-large_image_width="'+a[o].data_large_image_width+'" data-large_image_height="'+a[o].data_large_image_height+'" '+r+' sizes="'+a[o].sizes+'" />',l()||(i+="</a>"),l()||"default"!==t||void 0===a[o].video||void 0===a[o].video.content||(i+=a[o].video.content),i+="</figure></div>",d.append(i))};function g(a){var a=a.find(".woocommerce-variation"),e=!1;a.length&&(a.find("> *").each(function(){v(this).is(":empty")||(e=!0)}),e)&&a.addClass("wd-show")}function _(){var e=!1;v(".variations_form").each(function(){var a=v(this);("yes"===woodmart_settings.swatches_labels_name&&769<=woodmartThemeModule.$window.width()||woodmartThemeModule.$window.width()<=768)&&!e&&(a.find(".wd-active").each(function(){var a=v(this),e=a.data("title"),t=a.parents("tr").find(".wd-attr-selected");t.length?t.html(e):a.parents("tr").find(" > th").append('<span class="wd-attr-selected">'+e+"</span>")}),e=!0)})}},v(document).ready(function(){woodmartThemeModule.swatchesVariations()})}(jQuery);
!function(r){woodmartThemeModule.addToCartAllTypes=function(){0!=woodmart_settings.ajax_add_to_cart&&(woodmartThemeModule.$body.on("submit","form.cart",function(a){var d,t=r(this),o=t.parents(".single-product-page");(o=0===o.length?t.parents(".product-quick-view"):o).hasClass("product-type-external")||o.hasClass("product-type-zakeke")||o.hasClass("product-type-gift-card")||void 0!==a.originalEvent&&r(a.originalEvent.submitter).hasClass("wd-buy-now-btn")||(a.preventDefault(),d=t.find(".single_add_to_cart_button"),o=t.serialize(),o+="&action=woodmart_ajax_add_to_cart",d.val()&&(o+="&add-to-cart="+d.val()),d.removeClass("added not-added"),d.addClass("loading"),woodmartThemeModule.$body.trigger("adding_to_cart",[d,o]),r.ajax({url:woodmart_settings.ajaxurl,data:o,method:"POST",success:function(a){var t,o,e;a&&(window.location.toString().replace("add-to-cart","added-to-cart"),a.error&&a.product_url?window.location=a.product_url:"yes"===woodmart_settings.cart_redirect_after_add?window.location=woodmart_settings.cart_url:(d.removeClass("loading"),t=a.fragments,o=a.cart_hash,t&&r.each(t,function(a){r(a).addClass("updating")}),t&&r.each(t,function(a,t){r(a).replaceWith(t)}),(e=r(".woocommerce-notices-wrapper")).empty(),0<a.notices.indexOf("error")?(e.append(a.notices),d.addClass("not-added")):(void 0!==r.fn.magnificPopup&&"widget"===woodmart_settings.add_to_cart_action&&r.magnificPopup.close(),d.addClass("added"),woodmartThemeModule.$body.trigger("added_to_cart",[t,o,d]))))},error:function(){console.log("ajax adding to cart error")},complete:function(){}}))}),woodmartThemeModule.$body.on("click",".variations_form .wd-buy-now-btn",function(a){var t=r(this).siblings(".single_add_to_cart_button");"undefined"!=typeof wc_add_to_cart_variation_params&&t.hasClass("disabled")&&(a.preventDefault(),t.hasClass("wc-variation-is-unavailable")?alert(wc_add_to_cart_variation_params.i18n_unavailable_text):t.hasClass("wc-variation-selection-needed")&&alert(wc_add_to_cart_variation_params.i18n_make_a_selection_text))}))},r(document).ready(function(){woodmartThemeModule.addToCartAllTypes()})}(jQuery);
!function(a){a.each(["frontend/element_ready/wd_products.default","frontend/element_ready/wd_products_tabs.default"],function(t,o){woodmartThemeModule.wdElementorAddAction(o,function(){woodmartThemeModule.addToCart()})}),woodmartThemeModule.addToCart=function(){var t,e=0,d=(woodmartThemeModule.$body.on("added_to_cart",function(t,o){if(o.stop_reload||o.e_manually_triggered)return!1;"popup"===woodmart_settings.add_to_cart_action?(o=['<div class="added-to-cart">',"<h3>"+woodmart_settings.added_to_cart+"</h3>",'<a href="#" class="btn btn-style-link btn-color-default close-popup">'+woodmart_settings.continue_shopping+"</a>",'<a href="'+woodmart_settings.cart_url+'" class="btn btn-color-primary view-cart">'+woodmart_settings.view_cart+"</a>","</div>"].join(""),a.magnificPopup.open({removalDelay:500,tClose:woodmart_settings.close,tLoading:woodmart_settings.loading,callbacks:{beforeOpen:function(){this.st.mainClass="mfp-move-horizontal cart-popup-wrapper"}},items:{src:'<div class="mfp-with-anim wd-popup popup-added_to_cart wd-close-btn-inset">'+o+"</div>",type:"inline"}}),a(".popup-added_to_cart").on("click",".close-popup",function(t){t.preventDefault(),a.magnificPopup.close()}),d()):"widget"===woodmart_settings.add_to_cart_action&&(clearTimeout(e),(0<(o=a(".act-scroll .wd-header-cart .wd-dropdown-cart, .whb-sticked .wd-header-cart .wd-dropdown-cart")).length?o:a(".whb-header .wd-header-cart .wd-dropdown-cart")).addClass("wd-opened"),0<(o=a(".cart-widget-opener")).length&&o.first().trigger("click"),e=setTimeout(function(){a(".wd-dropdown-cart").removeClass("wd-opened")},3500),d()),woodmartThemeModule.$document.trigger("wdActionAfterAddToCart")}),function(){if("yes"!==woodmart_settings.add_to_cart_action_timeout)return!1;clearTimeout(t),t=setTimeout(function(){a(".wd-close-side").trigger("click"),a.magnificPopup.close()},1e3*parseInt(woodmart_settings.add_to_cart_action_timeout_number))})},a(document).ready(function(){woodmartThemeModule.addToCart()})}(jQuery);
!function(m){woodmartThemeModule.$document.on("wdShopPageInit wdUpdateWishlist wdArrowsLoadProducts wdLoadMoreLoadProducts wdProductsTabsLoaded wdSearchFullScreenContentLoaded wdBackHistory wdRecentlyViewedProductLoaded",function(){woodmartThemeModule.woodmartCompareUpdateState()}),woodmartThemeModule.woodmartCompare=function(){var r="woodmart_compare_list";if(woodmart_settings.is_multisite&&(r+="_"+woodmart_settings.current_blog_id),"undefined"!=typeof Cookies){var e,o=woodmartThemeModule.$body,t=m(".wd-header-compare"),a=Cookies.get(r);if(0<t.length){if(void 0!==a)try{var n=JSON.parse(a);t.find(".wd-tools-count").text(n.length)}catch(e){console.log("cant parse cookies json")}else t.find(".wd-tools-count").text(0);if(void 0!==woodmart_settings.compare_by_category&&"yes"===woodmart_settings.compare_by_category)try{woodmartThemeModule.supports_html5_storage&&(e=JSON.parse(sessionStorage.getItem(r+"_fragments")),e="undefined"==typeof actions||"1"!==actions.is_lang_switched&&"1"!==actions.force_reset?e:"")?m.each(e,function(e,o){m(e).replaceWith(o)}):i()}catch(e){i()}}o.on("click",".wd-compare-btn a",function(e){var t=m(this),o=t.data("id"),a=m(".wd-header-compare");if(t.hasClass("added"))return!0;e.preventDefault(),a.find(".wd-dropdown-compare").length?(t.addClass("loading"),jQuery.ajax({url:woodmart_settings.ajaxurl,data:{action:"woodmart_add_to_compare",id:o},dataType:"json",method:"GET",success:function(e){var o;e.count?(0<(o=m(".wd-header-compare")).length&&o.find(".wd-tools-count").text(e.count),c(t)):console.log("something wrong loading compare data ",e),e.fragments&&(m.each(e.fragments,function(e,o){m(e).replaceWith(o)}),sessionStorage.setItem(r+"_fragments",JSON.stringify(e.fragments)))},error:function(){console.log("We cant add to compare. Something wrong with AJAX response. Probably some PHP conflict.")},complete:function(){t.removeClass("loading")}})):(e=[],(e=void 0!==(a=Cookies.get(r))&&a?Object.values(JSON.parse(a)):e).length&&-1!==e.indexOf(o.toString())||e.push(o.toString()),a=e.length,o=a,0<(a=m(".wd-header-compare")).length&&a.find(".wd-tools-count").text(o),Cookies.set(r,JSON.stringify(e),{expires:7,path:woodmart_settings.cookie_path,secure:woodmart_settings.cookie_secure_param}),c(t))}),o.on("click",".wd-compare-remove",function(e){e.preventDefault();var o=m(this),e=o.data("id"),t="";void 0!==woodmart_settings.compare_by_category&&"yes"===woodmart_settings.compare_by_category&&(t=o.parents(".wd-compare-table").data("category-id"))&&o.parents(".compare-value").siblings().length<=1?d(t,o.parents(".wd-compare-page")):(o.addClass("loading"),jQuery.ajax({url:woodmart_settings.ajaxurl,data:{action:"woodmart_remove_from_compare",id:e,category_id:t,key:woodmart_settings.compare_page_nonce},dataType:"json",method:"GET",success:function(e){e.table?(s(e),e.fragments&&(m.each(e.fragments,function(e,o){m(e).replaceWith(o)}),sessionStorage.setItem(r+"_fragments",JSON.stringify(e.fragments)))):console.log("something wrong loading compare data ",e)},error:function(){console.log("We cant remove product compare. Something wrong with AJAX response. Probably some PHP conflict.")},complete:function(){o.remove("loading")}}))}),o.on("change",".wd-compare-select",function(e){e.preventDefault();var e=m(this),o=e.parents(".wd-compare-page"),t=o.find(".wd-compare-table[data-category-id="+e.val()+"]"),a=o.find(".wd-compare-table.wd-active");o.find(".wd-compare-cat-link").attr("href",t.data("category-url")),a.removeClass("wd-in"),setTimeout(function(){a.removeClass("wd-active")},100),setTimeout(function(){t.addClass("wd-active")},100),setTimeout(function(){t.addClass("wd-in"),woodmartThemeModule.$document.trigger("wood-images-loaded")},200)}),o.on("click",".wd-compare-remove-cat",function(e){e.preventDefault();e=m(this);d(e.parents(".wd-compare-header").find(".wd-compare-select").val(),e.parents(".wd-compare-page"))})}function d(e,o){var t=o.find(".wd-loader-overlay");t.addClass("wd-loading"),jQuery.ajax({url:woodmart_settings.ajaxurl,data:{action:"woodmart_remove_category_from_compare",category_id:e,key:woodmart_settings.compare_page_nonce},dataType:"json",method:"GET",success:function(e){e.table?(s(e),e.fragments&&(m.each(e.fragments,function(e,o){m(e).replaceWith(o)}),sessionStorage.setItem(r+"_fragments",JSON.stringify(e.fragments)))):console.log("something wrong loading compare data ",e)},error:function(){console.log("We cant remove product compare. Something wrong with AJAX response. Probably some PHP conflict.")},complete:function(){t.removeClass("wd-loading");var e=m(".wd-compare-table").first();setTimeout(function(){e.addClass("wd-active")},100),setTimeout(function(){e.addClass("wd-in"),woodmartThemeModule.$document.trigger("wood-images-loaded")},200)}})}function s(e){var o=m(".wd-header-compare");0<o.length&&o.find(".wd-tools-count").text(e.count),woodmartThemeModule.removeDuplicatedStylesFromHTML(e.table,function(e){var o=m(".wd-compare-page"),t=m(".wd-compare-table");0<o.length?o.replaceWith(e):0<t.length&&t.replaceWith(e)}),void 0!==woodmart_settings.compare_by_category&&"yes"===woodmart_settings.compare_by_category&&woodmartThemeModule.$document.trigger("wdTabsInit")}function i(){jQuery.ajax({url:woodmart_settings.ajaxurl,data:{action:"woodmart_get_fragment_product_category_compare"},dataType:"json",method:"GET",success:function(e){e.fragments?(m.each(e.fragments,function(e,o){m(e).replaceWith(o)}),sessionStorage.setItem(r+"_fragments",JSON.stringify(e.fragments))):console.log("something wrong loading compare data ",e)},error:function(){console.log("We cant remove product compare. Something wrong with AJAX response. Probably some PHP conflict.")}})}function c(e){var o=e.data("added-text");(0<e.find("span").length?e.find("span"):e).text(o),e.addClass("added"),woodmartThemeModule.$document.trigger("added_to_compare"),woodmartThemeModule.$document.trigger("wdUpdateTooltip",e)}},woodmartThemeModule.woodmartCompareUpdateState=function(){var e,o;void 0!==woodmart_settings.compare_save_button_state&&"yes"===woodmart_settings.compare_save_button_state&&"undefined"!=typeof Cookies&&(o="woodmart_compare_list",e=[],woodmart_settings.is_multisite&&(o+="_"+woodmart_settings.current_blog_id),(e=void 0!==(o=Cookies.get(o))&&o?Object.values(JSON.parse(o)):e).length)&&m.each(e,function(e,o){var t,o=m(".wd-compare-btn a[data-id="+o+"]");o.length&&!o.hasClass("added")&&(o.addClass("added"),t=o.data("added-text"),(0<o.find("span").length?o.find("span"):o).text(t))})},m(document).ready(function(){woodmartThemeModule.woodmartCompare(),woodmartThemeModule.woodmartCompareUpdateState()})}(jQuery);
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}(function(l){function e(){}function d(e,t){m.ev.on(n+e+b,t)}function u(e,t,n,i){var o=document.createElement("div");return o.className="mfp-"+e,n&&(o.innerHTML=n),i?t&&t.appendChild(o):(o=l(o),t&&o.appendTo(t)),o}function p(e,t){m.ev.triggerHandler(n+e,t),m.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),m.st.callbacks[e])&&m.st.callbacks[e].apply(m,Array.isArray(t)?t:[t])}function f(e){return e===j&&m.currTemplate.closeBtn||(m.currTemplate.closeBtn=l(m.st.closeMarkup.replace("%title%",m.st.tClose)),j=e),m.currTemplate.closeBtn}function r(){l.magnificPopup.instance||((m=new e).init(),l.magnificPopup.instance=m)}function L(){v&&(c.after(v.addClass(s)).detach(),v=null)}function o(){t&&l(document.body).removeClass(t)}function F(){o(),m.req&&m.req.abort()}var m,i,g,a,h,j,s,c,v,t,y="Close",N="BeforeClose",C="MarkupParse",w="Open",W="Change",n="mfp",b="."+n,I="mfp-ready",R="mfp-removing",x="mfp-prevent-close",k=!!window.jQuery,T=l(window),S=(l.magnificPopup={instance:null,proto:e.prototype={constructor:e,init:function(){var e=navigator.appVersion;m.isIE7=-1!==e.indexOf("MSIE 7."),m.isIE8=-1!==e.indexOf("MSIE 8."),m.isLowIE=m.isIE7||m.isIE8,m.isAndroid=/android/gi.test(e),m.isIOS=/iphone|ipad|ipod/gi.test(e),m.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),m.probablyMobile=m.isAndroid||m.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),g=l(document),m.popupsCache={}},open:function(e){if(!1===e.isObj){m.items=e.items.toArray(),m.index=0;for(var t,n=e.items,i=0;i<n.length;i++)if((t=(t=n[i]).parsed?t.el[0]:t)===e.el[0]){m.index=i;break}}else m.items=Array.isArray(e.items)?e.items:[e.items],m.index=e.index||0;if(!m.isOpen){m.types=[],h="",e.mainEl&&e.mainEl.length?m.ev=e.mainEl.eq(0):m.ev=g,e.key?(m.popupsCache[e.key]||(m.popupsCache[e.key]={}),m.currTemplate=m.popupsCache[e.key]):m.currTemplate={},m.st=l.extend(!0,{},l.magnificPopup.defaults,e),m.fixedContentPos="auto"===m.st.fixedContentPos?!m.probablyMobile:m.st.fixedContentPos,m.st.modal&&(m.st.closeOnContentClick=!1,m.st.closeOnBgClick=!1,m.st.showCloseBtn=!1,m.st.enableEscapeKey=!1),m.bgOverlay||(m.bgOverlay=u("bg").on("click"+b,function(){m.close()}),m.wrap=u("wrap").attr("tabindex",-1).on("click"+b,function(e){m._checkIfClose(e.target)&&m.close()}),m.container=u("container",m.wrap)),m.contentContainer=u("content"),m.st.preloader&&(m.preloader=u("preloader",m.container,m.st.tLoading));var o=l.magnificPopup.modules;for(i=0;i<o.length;i++){var r=(r=o[i]).charAt(0).toUpperCase()+r.slice(1);m["init"+r].call(m)}p("BeforeOpen"),m.st.showCloseBtn&&(m.st.closeBtnInside?(d(C,function(e,t,n,i){n.close_replaceWith=f(i.type)}),h+=" mfp-close-btn-in"):m.wrap.append(f())),m.st.alignTop&&(h+=" mfp-align-top"),m.fixedContentPos?m.wrap.css({overflow:m.st.overflowY,overflowX:"hidden",overflowY:m.st.overflowY}):m.wrap.css({top:T.scrollTop(),position:"absolute"}),!1!==m.st.fixedBgPos&&("auto"!==m.st.fixedBgPos||m.fixedContentPos)||m.bgOverlay.css({height:g.height(),position:"absolute"}),m.st.enableEscapeKey&&g.on("keyup"+b,function(e){27===e.keyCode&&m.close()}),T.on("resize"+b,function(){m.updateSize()}),m.st.closeOnContentClick||(h+=" mfp-auto-cursor"),h&&m.wrap.addClass(h);var a=m.wH=T.height(),s={},c=(m.fixedContentPos&&m._hasScrollBar(a)&&(c=m._getScrollbarSize())&&(s.marginRight=c),m.fixedContentPos&&(m.isIE7?l("body, html").css("overflow","hidden"):s.overflow="hidden"),m.st.mainClass);return m.isIE7&&(c+=" mfp-ie7"),c&&m._addClassToMFP(c),m.updateItemHTML(),p("BuildControls"),l("html").css(s),m.bgOverlay.add(m.wrap).prependTo(m.st.prependTo||l(document.body)),m._lastFocusedEl=document.activeElement,setTimeout(function(){m.content?(m._addClassToMFP(I),m._setFocus()):m.bgOverlay.addClass(I),g.on("focusin"+b,m._onFocusIn)},16),m.isOpen=!0,m.updateSize(a),p(w),e}m.updateItemHTML()},close:function(){m.isOpen&&(p(N),m.isOpen=!1,m.st.removalDelay&&!m.isLowIE&&m.supportsTransition?(m._addClassToMFP(R),setTimeout(function(){m._close()},m.st.removalDelay)):m._close())},_close:function(){p(y);var e=R+" "+I+" ";m.bgOverlay.detach(),m.wrap.detach(),m.container.empty(),m.st.mainClass&&(e+=m.st.mainClass+" "),m._removeClassFromMFP(e),m.fixedContentPos&&(e={marginRight:""},m.isIE7?l("body, html").css("overflow",""):e.overflow="",l("html").css(e)),g.off("keyup.mfp focusin"+b),m.ev.off(b),m.wrap.attr("class","mfp-wrap").removeAttr("style"),m.bgOverlay.attr("class","mfp-bg"),m.container.attr("class","mfp-container"),!m.st.showCloseBtn||m.st.closeBtnInside&&!0!==m.currTemplate[m.currItem.type]||m.currTemplate.closeBtn&&m.currTemplate.closeBtn.detach(),m.currItem=null,m.content=null,m.currTemplate=null,m.prevHeight=0,p("AfterClose")},updateSize:function(e){var t;m.isIOS?(t=document.documentElement.clientWidth/window.innerWidth,t=window.innerHeight*t,m.wrap.css("height",t),m.wH=t):m.wH=e||T.height(),m.fixedContentPos||m.wrap.css("height",m.wH),p("Resize")},updateItemHTML:function(){var e=m.items[m.index],t=(m.contentContainer.detach(),m.content&&m.content.detach(),(e=e.parsed?e:m.parseEl(m.index)).type),n=(p("BeforeChange",[m.currItem?m.currItem.type:"",t]),m.currItem=e,m.currTemplate[t]||(n=!!m.st[t]&&m.st[t].markup,p("FirstMarkupParse",n),m.currTemplate[t]=!n||l(n)),a&&a!==e.type&&m.container.removeClass("mfp-"+a+"-holder"),m["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,m.currTemplate[t]));m.appendContent(n,t),e.preloaded=!0,p(W,e),a=e.type,m.container.prepend(m.contentContainer),p("AfterChange")},appendContent:function(e,t){(m.content=e)?m.st.showCloseBtn&&m.st.closeBtnInside&&!0===m.currTemplate[t]?m.content.find(".mfp-close").length||m.content.append(f()):m.content=e:m.content="",p("BeforeAppend"),m.container.addClass("mfp-"+t+"-holder"),m.contentContainer.append(m.content)},parseEl:function(e){var t,n=m.items[e];if((n=n.tagName?{el:l(n)}:(t=n.type,{data:n,src:n.src})).el){for(var i=m.types,o=0;o<i.length;o++)if(n.el.hasClass("mfp-"+i[o])){t=i[o];break}n.src=n.el.attr("data-mfp-src"),n.src||(n.src=n.el.attr("href"))}return n.type=t||m.st.type||"inline",n.index=e,n.parsed=!0,m.items[e]=n,p("ElementParse",n),m.items[e]},addGroup:function(t,n){function e(e){e.mfpEl=this,m._openClick(e,t,n)}var i="click.magnificPopup";(n=n||{}).mainEl=t,n.items?(n.isObj=!0,t.off(i).on(i,e)):(n.isObj=!1,n.delegate?t.off(i).on(i,n.delegate,e):(n.items=t).off(i).on(i,e))},_openClick:function(e,t,n){if((void 0!==n.midClick?n:l.magnificPopup.defaults).midClick||2!==e.which&&!e.ctrlKey&&!e.metaKey){var i=(void 0!==n.disableOn?n:l.magnificPopup.defaults).disableOn;if(i)if("function"==typeof i){if(!i.call(m))return!0}else if(T.width()<i)return!0;e.type&&(e.preventDefault(),m.isOpen)&&e.stopPropagation(),n.el=l(e.mfpEl),n.delegate&&(n.items=t.find(n.delegate)),m.open(n)}},updateStatus:function(e,t){var n;m.preloader&&(i!==e&&m.container.removeClass("mfp-s-"+i),n={status:e,text:t=t||"loading"!==e?t:m.st.tLoading},p("UpdateStatus",n),e=n.status,m.preloader.html(t=n.text),m.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),m.container.addClass("mfp-s-"+e),i=e)},_checkIfClose:function(e){if(!l(e).hasClass(x)){var t=m.st.closeOnContentClick,n=m.st.closeOnBgClick;if(t&&n)return!0;if(!m.content||l(e).hasClass("mfp-close")||m.preloader&&e===m.preloader[0])return!0;if(e===m.content[0]||l.contains(m.content[0],e)){if(t)return!0}else if(n&&l.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){m.bgOverlay.addClass(e),m.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),m.wrap.removeClass(e)},_hasScrollBar:function(e){return(m.isIE7?g.height():document.body.scrollHeight)>(e||T.height())},_setFocus:function(){(m.st.focus?m.content.find(m.st.focus).eq(0):m.wrap).trigger("focus")},_onFocusIn:function(e){if(e.target!==m.wrap[0]&&!l.contains(m.wrap[0],e.target))return m._setFocus(),!1},_parseMarkup:function(o,e,t){var r;t.data&&(e=l.extend(t.data,e)),p(C,[o,e,t]),l.each(e,function(e,t){if(void 0===t||!1===t)return!0;var n,i;1<(r=e.split("_")).length?0<(n=o.find(b+"-"+r[0])).length&&("replaceWith"===(i=r[1])?n[0]!==t[0]&&n.replaceWith(t):"img"===i?n.is("img")?n.attr("src",t):n.replaceWith('<img src="'+t+'" class="'+n.attr("class")+'" />'):n.attr(r[1],t)):o.find(b+"-"+e).html(t)})},_getScrollbarSize:function(){var e;return void 0===m.scrollbarSize&&((e=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),m.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),m.scrollbarSize}},modules:[],open:function(e,t){return r(),(e=e?l.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return l.magnificPopup.instance&&l.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(l.magnificPopup.defaults[e]=t.options),l.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},l.fn.magnificPopup=function(e){r();var t,n,i,o=l(this);return"string"==typeof e?"open"===e?(t=k?o.data("magnificPopup"):o[0].magnificPopup,n=parseInt(arguments[1],10)||0,i=t.items?t.items[n]:(i=o,(i=t.delegate?i.find(t.delegate):i).eq(n)),m._openClick({mfpEl:i},o,t)):m.isOpen&&m[e].apply(m,Array.prototype.slice.call(arguments,1)):(e=l.extend(!0,{},e),k?o.data("magnificPopup",e):o[0].magnificPopup=e,m.addGroup(o,e)),o},"inline"),_=(l.magnificPopup.registerModule(S,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){m.types.push(S),d(y+"."+S,function(){L()})},getInline:function(e,t){var n,i,o;return L(),e.src?(n=m.st.inline,(i=l(e.src)).length?((o=i[0].parentNode)&&o.tagName&&(c||(s=n.hiddenClass,c=u(s),s="mfp-"+s),v=i.after(c).detach().removeClass(s)),m.updateStatus("ready")):(m.updateStatus("error",n.tNotFound),i=l("<div>")),e.inlineElement=i):(m.updateStatus("ready"),m._parseMarkup(t,{},e),t)}}}),"ajax");l.magnificPopup.registerModule(_,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){m.types.push(_),t=m.st.ajax.cursor,d(y+"."+_,F),d("BeforeChange."+_,F)},getAjax:function(i){t&&l(document.body).addClass(t),m.updateStatus("loading");var e=l.extend({url:i.src,success:function(e,t,n){e={data:e,xhr:n};p("ParseAjax",e),m.appendContent(l(e.data),_),i.finished=!0,o(),m._setFocus(),setTimeout(function(){m.wrap.addClass(I)},16),m.updateStatus("ready"),p("AjaxContentAdded")},error:function(){o(),i.finished=i.loadError=!0,m.updateStatus("error",m.st.ajax.tError.replace("%url%",i.src))}},m.st.ajax.settings);return m.req=l.ajax(e),""}}});var E;l.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=m.st.image,t=".image";m.types.push("image"),d(w+t,function(){"image"===m.currItem.type&&e.cursor&&l(document.body).addClass(e.cursor)}),d(y+t,function(){e.cursor&&l(document.body).removeClass(e.cursor),T.off("resize"+b)}),d("Resize"+t,m.resizeImage),m.isLowIE&&d("AfterChange",m.resizeImage)},resizeImage:function(){var e,t=m.currItem;t&&t.img&&m.st.image.verticalFit&&(e=0,m.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",m.wH-e))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,E&&clearInterval(E),e.isCheckingImgSize=!1,p("ImageHasSize",e),e.imgHidden)&&(m.content&&m.content.removeClass("mfp-loading"),e.imgHidden=!1)},findImageSize:function(t){function n(e){E&&clearInterval(E),E=setInterval(function(){0<o.naturalWidth?m._onImageHasSize(t):(200<i&&clearInterval(E),3===++i?n(10):40===i?n(50):100===i&&n(500))},e)}var i=0,o=t.img[0];n(1)},getImage:function(e,t){function n(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===m.currItem&&(m._onImageHasSize(e),m.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,p("ImageLoadComplete")):++r<200?setTimeout(n,100):i())}function i(){e&&(e.img.off(".mfploader"),e===m.currItem&&(m._onImageHasSize(e),m.updateStatus("error",a.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)}var o,r=0,a=m.st.image,s=t.find(".mfp-img");return s.length&&((o=document.createElement("img")).className="mfp-img",e.el&&e.el.find("img").length&&(o.alt=e.el.find("img").attr("alt")),e.img=l(o).on("load.mfploader",n).on("error.mfploader",i),o.src=e.src,s.is("img")&&(e.img=e.img.clone()),0<(o=e.img[0]).naturalWidth?e.hasSize=!0:o.width||(e.hasSize=!1)),m._parseMarkup(t,{title:function(e){if(e.data&&void 0!==e.data.title)return e.data.title;var t=m.st.image.titleSrc;if(t){if("function"==typeof t)return t.call(m,e);if(e.el)return e.el.attr(t)||""}return""}(e),img_replaceWith:e.img},e),m.resizeImage(),e.hasSize?(E&&clearInterval(E),e.loadError?(t.addClass("mfp-loading"),m.updateStatus("error",a.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),m.updateStatus("ready"))):(m.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),m.findImageSize(e))),t}}});function P(e){var t;m.currTemplate[A]&&(t=m.currTemplate[A].find("iframe")).length&&(e||(t[0].src="//about:blank"),m.isIE8)&&t.css("display",e?"block":"none")}function z(e){var t=m.items.length;return t-1<e?e-t:e<0?t+e:e}function Z(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)}l.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,t,n,i,o,r,a=m.st.zoom,s=".zoom";a.enabled&&m.supportsTransition&&(t=a.duration,n=function(e){var e=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),t="all "+a.duration/1e3+"s "+a.easing,n={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},i="transition";return n["-webkit-"+i]=n["-moz-"+i]=n["-o-"+i]=n[i]=t,e.css(n),e},i=function(){m.content.css("visibility","visible")},d("BuildControls"+s,function(){m._allowZoom()&&(clearTimeout(o),m.content.css("visibility","hidden"),(e=m._getItemToZoom())?((r=n(e)).css(m._getOffset()),m.wrap.append(r),o=setTimeout(function(){r.css(m._getOffset(!0)),o=setTimeout(function(){i(),setTimeout(function(){r.remove(),e=r=null,p("ZoomAnimationEnded")},16)},t)},16)):i())}),d(N+s,function(){if(m._allowZoom()){if(clearTimeout(o),m.st.removalDelay=t,!e){if(!(e=m._getItemToZoom()))return;r=n(e)}r.css(m._getOffset(!0)),m.wrap.append(r),m.content.css("visibility","hidden"),setTimeout(function(){r.css(m._getOffset())},16)}}),d(y+s,function(){m._allowZoom()&&(i(),r&&r.remove(),e=null)}))},_allowZoom:function(){return"image"===m.currItem.type},_getItemToZoom:function(){return!!m.currItem.hasSize&&m.currItem.img},_getOffset:function(e){var e=e?m.currItem.img:m.st.zoom.opener(m.currItem.el||m.currItem),t=e.offset(),n=parseInt(e.css("padding-top"),10),i=parseInt(e.css("padding-bottom"),10),e=(t.top-=l(window).scrollTop()-n,{width:e.width(),height:(k?e.innerHeight():e[0].offsetHeight)-i-n});return(O=void 0===O?void 0!==document.createElement("p").style.MozTransform:O)?e["-moz-transform"]=e.transform="translate("+t.left+"px,"+t.top+"px)":(e.left=t.left,e.top=t.top),e}}});var O,M,B,A="iframe",H=(l.magnificPopup.registerModule(A,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){m.types.push(A),d("BeforeChange",function(e,t,n){t!==n&&(t===A?P():n===A&&P(!0))}),d(y+"."+A,function(){P()})},getIframe:function(e,t){var n=e.src,i=m.st.iframe,o=(l.each(i.patterns,function(){if(-1<n.indexOf(this.index))return this.id&&(n="string"==typeof this.id?n.substr(n.lastIndexOf(this.id)+this.id.length,n.length):this.id.call(this,n)),n=this.src.replace("%id%",n),!1}),{});return i.srcAction&&(o[i.srcAction]=n),m._parseMarkup(t,o,e),m.updateStatus("ready"),t}}}),l.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var r=m.st.gallery,e=".mfp-gallery",i=Boolean(l.fn.mfpFastClick);if(m.direction=!0,!r||!r.enabled)return!1;h+=" mfp-gallery",d(w+e,function(){r.navigateByImgClick&&m.wrap.on("click"+e,".mfp-img",function(){if(1<m.items.length)return m.next(),!1}),g.on("keydown"+e,function(e){37===e.keyCode?m.prev():39===e.keyCode&&m.next()})}),d("UpdateStatus"+e,function(e,t){t.text&&(t.text=Z(t.text,m.currItem.index,m.items.length))}),d(C+e,function(e,t,n,i){var o=m.items.length;n.counter=1<o?Z(r.tCounter,i.index,o):""}),d("BuildControls"+e,function(){var e,t,n;1<m.items.length&&r.arrows&&!m.arrowLeft&&(t=r.arrowMarkup,e=m.arrowLeft=l(t.replace(/%title%/gi,r.tPrev).replace(/%dir%/gi,"left")).addClass(x),t=m.arrowRight=l(t.replace(/%title%/gi,r.tNext).replace(/%dir%/gi,"right")).addClass(x),e[n=i?"mfpFastClick":"click"](function(){m.prev()}),t[n](function(){m.next()}),m.isIE7&&(u("b",e[0],!1,!0),u("a",e[0],!1,!0),u("b",t[0],!1,!0),u("a",t[0],!1,!0)),m.container.append(e.add(t)))}),d(W+e,function(){m._preloadTimeout&&clearTimeout(m._preloadTimeout),m._preloadTimeout=setTimeout(function(){m.preloadNearbyImages(),m._preloadTimeout=null},16)}),d(y+e,function(){g.off(e),m.wrap.off("click"+e),m.arrowLeft&&i&&m.arrowLeft.add(m.arrowRight).destroyMfpFastClick(),m.arrowRight=m.arrowLeft=null})},next:function(){m.direction=!0,m.index=z(m.index+1),m.updateItemHTML()},prev:function(){m.direction=!1,m.index=z(m.index-1),m.updateItemHTML()},goTo:function(e){m.direction=e>=m.index,m.index=e,m.updateItemHTML()},preloadNearbyImages:function(){for(var e=m.st.gallery.preload,t=Math.min(e[0],m.items.length),n=Math.min(e[1],m.items.length),i=1;i<=(m.direction?n:t);i++)m._preloadItem(m.index+i);for(i=1;i<=(m.direction?t:n);i++)m._preloadItem(m.index-i)},_preloadItem:function(e){var t;e=z(e),m.items[e].preloaded||((t=m.items[e]).parsed||(t=m.parseEl(e)),p("LazyLoad",t),"image"===t.type&&(t.img=l('<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,p("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0)}}}),"retina");function q(){T.off("touchmove"+B+" touchend"+B)}l.magnificPopup.registerModule(H,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){var n,i;1<window.devicePixelRatio&&(n=m.st.retina,i=n.ratio,1<(i=isNaN(i)?i():i))&&(d("ImageHasSize."+H,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/i,width:"100%"})}),d("ElementParse."+H,function(e,t){t.src=n.replaceSrc(t,i)}))}}}),M="ontouchstart"in window,B=".mfpFastClick",l.fn.mfpFastClick=function(c){return l(this).each(function(){var t,n,i,o,r,a,s,e=l(this);M&&e.on("touchstart"+B,function(e){r=!1,s=1,a=(e.originalEvent||e).touches[0],i=a.clientX,o=a.clientY,T.on("touchmove"+B,function(e){a=(e.originalEvent||e).touches,s=a.length,a=a[0],(10<Math.abs(a.clientX-i)||10<Math.abs(a.clientY-o))&&(r=!0,q())}).on("touchend"+B,function(e){q(),r||1<s||(t=!0,e.preventDefault(),clearTimeout(n),n=setTimeout(function(){t=!1},1e3),c())})}),e.on("click"+B,function(){t||c()})})},l.fn.destroyMfpFastClick=function(){l(this).off("touchstart"+B+" click"+B),M&&T.off("touchmove"+B+" touchend"+B)},r()});
!function(o){o.each(["frontend/element_ready/wd_popup.default"],function(o,e){woodmartThemeModule.wdElementorAddAction(e,function(){woodmartThemeModule.contentPopup()})}),woodmartThemeModule.$document.on("wdShopPageInit",function(){woodmartThemeModule.contentPopup()}),woodmartThemeModule.contentPopup=function(){void 0!==o.fn.magnificPopup&&o(".wd-open-popup").magnificPopup({type:"inline",removalDelay:500,tClose:woodmart_settings.close,tLoading:woodmart_settings.loading,callbacks:{beforeOpen:function(){this.st.mainClass="mfp-move-horizontal content-popup-wrapper"},open:function(){woodmartThemeModule.$document.trigger("wood-images-loaded"),woodmartThemeModule.$document.trigger("wdOpenPopup")}}})},o(document).ready(function(){woodmartThemeModule.contentPopup()})}(jQuery);
!function(t){woodmartThemeModule.woocommerceComments=function(){var o=window.location.hash,e=window.location.href;(0<=o.toLowerCase().indexOf("comment-")||"#reviews"===o||"#tab-reviews"===o||0<e.indexOf("comment-page-")||0<e.indexOf("cpage=")||"#tab-wd_additional_tab"===o||"#tab-wd_custom_tab"===o)&&(setTimeout(function(){window.scrollTo(0,0)},1),t(".single-product-page").hasClass("reviews-location-separate")&&("#reviews"===o||"#tab-reviews"===o||0<=o.toLowerCase().indexOf("comment-")||0<e.indexOf("comment-page-")||0<e.indexOf("cpage="))&&woodmartThemeModule.$body.find(".wc-tabs, ul.tabs").first().find("li:first a").click(),setTimeout(function(){var e;0<t(o).length&&((e=t(".woocommerce-tabs a[href="+o+"]")).length&&e.trigger("click"),setTimeout(function(){t("html, body").stop().animate({scrollTop:t(o).offset().top-woodmart_settings.ajax_scroll_offset},400)},400))},10)),t(".wd-builder-on .woocommerce-review-link").on("click",function(){var e=t(".wd-single-tabs .wd-accordion .wd-accordion-title.tab-title-reviews");e.length&&(e.trigger("click"),setTimeout(function(){t("html, body").stop().animate({scrollTop:e.offset().top-woodmart_settings.ajax_scroll_offset},400)},400))})},t(document).ready(function(){woodmartThemeModule.woocommerceComments()})}(jQuery);
!function(i){i.each(["frontend/element_ready/wd_products.default","frontend/element_ready/wd_products_tabs.default"],function(o,e){woodmartThemeModule.wdElementorAddAction(e,function(){woodmartThemeModule.quickShop()})}),woodmartThemeModule.quickShop=function(){"no"!==woodmart_settings.quick_shop&&(woodmartThemeModule.$document.on("click",".product-grid-item.product-type-variable .add_to_cart_button",function(o){o.preventDefault();var e=i(this),d=e.parents(".product").first(),t=d.find(".wd-quick-shop"),o=d.data("id"),a="btn-loading";e.hasClass(a)||(d.hasClass("quick-shop-loaded")?(d.addClass("quick-shop-shown"),woodmartThemeModule.$body.trigger("woodmart-quick-view-displayed")):(e.addClass(a),d.addClass("wd-loading-quick-shop"),i.ajax({url:woodmart_settings.ajaxurl,data:{action:"woodmart_quick_shop",id:o},method:"get",success:function(o){woodmartThemeModule.removeDuplicatedStylesFromHTML(o,function(o){t.append(o),(o=d).find(".variations_form").wc_variation_form().find(".variations select:eq(0)").trigger("change"),o.find(".variations_form").trigger("wc_variation_form"),woodmartThemeModule.$document.trigger("wdQuickShopSuccess"),e.removeClass(a),d.removeClass("wd-loading-quick-shop"),d.addClass("quick-shop-shown quick-shop-loaded"),woodmartThemeModule.$body.trigger("woodmart-quick-view-displayed")})}})))}).on("click",".quick-shop-close",function(o){o.preventDefault(),i(this).parents(".product").removeClass("quick-shop-shown")}),woodmartThemeModule.$body.on("added_to_cart",function(){i(".product").removeClass("quick-shop-shown")}))},i(document).ready(function(){woodmartThemeModule.quickShop()})}(jQuery);
!function(o){woodmartThemeModule.$document.on("wdInstagramAjaxSuccess wdLoadDropdownsSuccess wdProductsTabsLoaded wdSearchFullScreenContentLoaded wdShopPageInit wdRecentlyViewedProductLoaded",function(){woodmartThemeModule.owlCarouselInit()}),o.each(["frontend/element_ready/wd_products.default","frontend/element_ready/wd_products_tabs.default","frontend/element_ready/wd_product_categories.default","frontend/element_ready/wd_products_brands.default","frontend/element_ready/wd_blog.default","frontend/element_ready/wd_portfolio.default","frontend/element_ready/wd_images_gallery.default","frontend/element_ready/wd_product_categories.default","frontend/element_ready/wd_banner_carousel.default","frontend/element_ready/wd_infobox_carousel.default","frontend/element_ready/wd_instagram.default","frontend/element_ready/wd_testimonials.default","frontend/element_ready/wd_nested_carousel.default"],function(e,a){woodmartThemeModule.wdElementorAddAction(a,function(){woodmartThemeModule.owlCarouselInit()})}),woodmartThemeModule.owlCarouselInit=function(){function e(e){var a,d=e.find(".owl-carousel");function t(){var e=d.find(".owl-item.active").find(".wd-slide").attr("id"),e=d.find('[id="'+e+'"]');d.find(".owl-item.pseudo-active").removeClass("pseudo-active"),e.each(function(){var e=o(this);e.parent().hasClass("active")||e.parent().addClass("pseudo-active")})}woodmartThemeModule.windowWidth<=1024&&e.hasClass("disable-owl-mobile")||d.hasClass("owl-loaded")||(a={rtl:woodmartThemeModule.$body.hasClass("rtl"),items:e.data("desktop")?e.data("desktop"):1,responsive:{1025:{items:e.data("desktop")?e.data("desktop"):1},769:{items:e.data("tablet_landscape")?e.data("tablet_landscape"):1},577:{items:e.data("tablet")?e.data("tablet"):1},0:{items:e.data("mobile")?e.data("mobile"):1}},autoplay:"yes"===e.data("autoplay"),autoplayHoverPause:"yes"===e.data("autoplay"),autoplayTimeout:e.data("speed")?e.data("speed"):5e3,dots:"yes"!==e.data("hide_pagination_control"),nav:"yes"!==e.data("hide_prev_next_buttons"),autoHeight:"yes"===e.data("autoheight"),slideBy:void 0!==e.data("scroll_per_page")?1:"page",navText:!1,navClass:["owl-prev wd-btn-arrow","owl-next wd-btn-arrow"],center:"yes"===e.data("center_mode"),loop:"yes"===e.data("wrap"),dragEndSpeed:e.data("dragendspeed")?e.data("dragendspeed"):200,rewind:!0},e.data("sliding_speed")&&(a.smartSpeed=e.data("sliding_speed"),a.dragEndSpeed=e.data("sliding_speed")),e.data("animation")&&(a.animateOut=e.data("animation"),a.mouseDrag=!0),e.data("content_animation")&&(t(),a.onTranslated=function(){t()}),woodmartThemeModule.$window.on("vc_js",function(){d.trigger("refresh.owl.carousel")}),d.find("link").appendTo("head"),d.owlCarousel(a),"yes"===e.data("autoheight")&&d.imagesLoaded(function(){d.trigger("refresh.owl.carousel")}))}o("[data-owl-carousel]:not(.scroll-init):not(.wd-slider-wrapper)").each(function(){e(o(this))}),void 0!==o.fn.waypoint&&o("[data-owl-carousel].scroll-init:not(.wd-slider-wrapper)").waypoint(function(){e(o(o(this)[0].element))},{offset:"100%"})},o(document).ready(function(){woodmartThemeModule.owlCarouselInit()})}(jQuery);
!function(l){woodmartThemeModule.scrollTop=function(){var o=l(".scrollToTop");woodmartThemeModule.$window.on("scroll",function(){100<l(this).scrollTop()?o.addClass("button-show"):o.removeClass("button-show")}),o.on("click",function(){return l("html, body").animate({scrollTop:0},800),!1})},l(document).ready(function(){woodmartThemeModule.scrollTop()})}(jQuery);
!function(n){woodmartThemeModule.$document.on("wdCloseMobileMenu",function(){woodmartThemeModule.closeMobileNavigation()}),woodmartThemeModule.mobileNavigation=function(){var e=woodmartThemeModule.$body,o=n(".mobile-nav"),d=n(".mobile-nav .wd-nav-mobile .menu-item-has-children"),a=n(".wd-close-side");d.append('<span class="wd-nav-opener"></span>'),o.on("click",".wd-nav-opener",function(e){e.preventDefault();e=n(this).parent();e.hasClass("opener-page")?(e.removeClass("opener-page").find("> ul, > .wd-sub-menu").slideUp(200),e.removeClass("opener-page").find(".wd-dropdown-menu .container > ul, .wd-dropdown-menu > ul").slideUp(200),e.find("> .wd-nav-opener").removeClass("wd-active")):(e.addClass("opener-page").find("> ul, > .wd-sub-menu").slideDown(200),e.addClass("opener-page").find(".wd-dropdown-menu .container > ul, .wd-dropdown-menu > ul").slideDown(200),e.find("> .wd-nav-opener").addClass("wd-active")),woodmartThemeModule.$document.trigger("wood-images-loaded")}),o.on("click",".wd-nav-mob-tab li",function(e){e.preventDefault();var e=n(this),o=e.data("menu");e.hasClass("wd-active")||(e.parent().find(".wd-active").removeClass("wd-active"),e.addClass("wd-active"),n(".wd-nav-mobile").removeClass("wd-active"),n(".mobile-"+o+"-menu").addClass("wd-active"),woodmartThemeModule.$document.trigger("wood-images-loaded"))}),e.on("click",".wd-header-mobile-nav > a",function(e){e.preventDefault(),o.hasClass("wd-opened")?woodmartThemeModule.closeMobileNavigation():(n(this).parent().addClass("wd-opened"),o.addClass("wd-opened"),a.addClass("wd-close-side-opened"),woodmartThemeModule.$document.trigger("wood-images-loaded"))}),e.on("click touchstart",".wd-close-side",function(e){e.preventDefault(),woodmartThemeModule.closeMobileNavigation()}),e.on("click",".mobile-nav .login-side-opener, .mobile-nav .close-side-widget",function(e){e.preventDefault(),woodmartThemeModule.closeMobileNavigation()})},woodmartThemeModule.closeMobileNavigation=function(){n(".wd-header-mobile-nav").removeClass("wd-opened"),n(".mobile-nav").removeClass("wd-opened"),n(".wd-close-side").removeClass("wd-close-side-opened"),n(".mobile-nav .searchform input[type=text]").blur()},n(document).ready(function(){woodmartThemeModule.mobileNavigation()})}(jQuery);
!function(s){woodmartThemeModule.cartWidget=function(){var e=woodmartThemeModule.$body,o=s(".cart-widget-side"),d=s(".wd-close-side"),t=(e.on("click",".cart-widget-opener",function(e){u()||r()||e.preventDefault(),c()?t():setTimeout(function(){n()},10)}),e.on("click touchstart",".wd-close-side",function(){c()&&t()}),e.on("click",".close-side-widget",function(e){e.preventDefault(),c()&&t()}),woodmartThemeModule.$document.on("keyup",function(e){27===e.keyCode&&c()&&t()}),function(){o.removeClass("wd-opened"),d.removeClass("wd-close-side-opened")}),n=function(){if(u()||r())return!1;o.addClass("wd-opened"),d.addClass("wd-close-side-opened")},c=function(){return o.hasClass("wd-opened")},u=function(){return woodmartThemeModule.$body.hasClass("woocommerce-cart")},r=function(){return woodmartThemeModule.$body.hasClass("woocommerce-checkout")}},s(document).ready(function(){woodmartThemeModule.cartWidget()})}(jQuery);
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()})});
!function(a){woodmartThemeModule.stickyAddToCart=function(){var o,d,t,e=a("form.cart, .out-of-stock"),n=a(".wd-sticky-btn");n.length<=0||e.length<=0||woodmartThemeModule.$window.width()<=768&&!woodmartThemeModule.$body.hasClass("wd-sticky-btn-on-mb")||((t=function(){woodmartThemeModule.$window.width()<=768&&woodmartThemeModule.$body.hasClass("wd-sticky-btn-on-mb")?n.addClass("wd-quantity-overlap"):n.removeClass("wd-quantity-overlap")})(),woodmartThemeModule.$window.on("resize",t),o=e.offset().top+e.outerHeight(),d=a(".scrollToTop"),(t=function(){var t=woodmartThemeModule.$window.scrollTop();o<t?(n.addClass("wd-sticky-btn-shown"),d.addClass("wd-sticky-btn-shown")):t<o&&(n.removeClass("wd-sticky-btn-shown"),d.removeClass("wd-sticky-btn-shown"))})(),woodmartThemeModule.$window.on("scroll",t),a(".wd-sticky-add-to-cart, .wd-sticky-btn .wd-buy-now-btn").on("click",function(t){t.preventDefault(),a("html, body").animate({scrollTop:a(".elementor-widget-woocommerce-product-title,.summary-inner .product_title,.elementor-widget-wd_single_product_title, .wd-single-title").offset().top},800)}),a(".wd-sticky-btn .wd-wishlist-btn a").on("click",function(t){a(this).hasClass("added")||t.preventDefault(),a(".summary-inner > .wd-wishlist-btn a").trigger("click")}),woodmartThemeModule.$document.on("added_to_wishlist",function(){a(".wd-sticky-btn .wd-wishlist-btn a").addClass("added")}),a(".wd-sticky-btn .wd-compare-btn a").on("click",function(t){a(this).hasClass("added")||t.preventDefault(),a(".summary-inner > .wd-compare-btn a").trigger("click")}),woodmartThemeModule.$document.on("added_to_compare",function(){a(".wd-sticky-btn .wd-compare-btn a").addClass("added")}),a(".wd-sticky-btn-cart .qty").on("change",function(){a(".summary-inner .qty").val(a(this).val())}),a(".summary-inner .qty").on("change",function(){a(".wd-sticky-btn-cart .qty").val(a(this).val())}))},a(document).ready(function(){woodmartThemeModule.stickyAddToCart()})}(jQuery);
!function(o){woodmartThemeModule.$document.on("wdPjaxStart wdBackHistory",function(){woodmartThemeModule.hideShopSidebar()}),window.addEventListener("popstate",function(){woodmartThemeModule.hideShopSidebar()}),woodmartThemeModule.$document.on("wdShopPageInit",function(){woodmartThemeModule.hiddenSidebar()}),woodmartThemeModule.hiddenSidebar=function(){var e=woodmartThemeModule.$body.hasClass("rtl")?"right":"left",d=((woodmartThemeModule.$body.hasClass("offcanvas-sidebar-desktop")&&1024<woodmartThemeModule.windowWidth||woodmartThemeModule.$body.hasClass("offcanvas-sidebar-tablet")&&woodmartThemeModule.windowWidth<=1024)&&(o(".area-sidebar-shop").addClass("wd-side-hidden wd-"+e+" wd-inited wd-scroll"),o(".area-sidebar-shop .widget-area").addClass("wd-scroll-content")),woodmartThemeModule.$body.hasClass("offcanvas-sidebar-mobile")&&woodmartThemeModule.windowWidth<=768&&(o(".sidebar-container").addClass("wd-side-hidden wd-"+e+" wd-inited wd-scroll"),o(".sidebar-container .widget-area").addClass("wd-scroll-content")),woodmartThemeModule.$body.off("click",".wd-show-sidebar-btn, .wd-sidebar-opener").on("click",".wd-show-sidebar-btn, .wd-sidebar-opener",function(e){e.preventDefault();e=o(".wd-show-sidebar-btn, .wd-sidebar-opener");o(".sidebar-container").hasClass("wd-opened")?(e.removeClass("wd-opened"),woodmartThemeModule.hideShopSidebar()):(e.addClass("wd-opened"),d())}),woodmartThemeModule.$body.on("click touchstart",".wd-close-side, .close-side-widget",function(e){e.preventDefault(),woodmartThemeModule.hideShopSidebar()}),function(){o(".sidebar-container").addClass("wd-opened"),o(".wd-close-side").addClass("wd-close-side-opened")});woodmartThemeModule.$document.trigger("wdHiddenSidebarsInited")},woodmartThemeModule.hideShopSidebar=function(){o(".sidebar-container").removeClass("wd-opened"),o(".wd-close-side").removeClass("wd-close-side-opened")},o(document).ready(function(){woodmartThemeModule.hiddenSidebar()})}(jQuery);
!function(t){woodmartThemeModule.$document.on("wdShopPageInit",function(){woodmartThemeModule.stickySidebarBtn()}),woodmartThemeModule.stickySidebarBtn=function(){var o,e=t(".wd-show-sidebar-btn"),d=t(".wd-sidebar-opener.wd-on-shop:not(.toolbar)");d.length<=0||e.length<=0||1024<=woodmartThemeModule.$window.width()||((o=function(){e.offset().top+e.outerHeight()<woodmartThemeModule.$window.scrollTop()?d.addClass("wd-shown"):d.removeClass("wd-shown")})(),woodmartThemeModule.$window.on("scroll",o),woodmartThemeModule.$window.on("resize",o))},t(document).ready(function(){woodmartThemeModule.stickySidebarBtn()})}(jQuery);