/*! * jQuery Mobile v1.4.5 * Copyright 2010, 2014 jQuery Foundation, Inc. * jquery.org/license * * Modified to adapt the latest jQuery version (v3 above) included on WordPress 5.6: * - (2020-12-11) - Try to access `.concat` of undefined `$.event.props` - removed. * - (2021-02-04) - jQuery bind method is deprecated. * - (2021-02-04) - jQuery unbind method is deprecated. */ (function(e,t,n){typeof define=="function"&&define.amd?define(["jquery"],function(r){return n(r,e,t),r.mobile}):n(e.jQuery,e,t)})(this,document,function(e,t,n,r){(function(e,t,n,r){function T(e){while(e&&typeof e.originalEvent!="undefined")e=e.originalEvent;return e}function N(t,n){var i=t.type,s,o,a,l,c,h,p,d,v;t=e.Event(t),t.type=n,s=t.originalEvent,o=[],i.search(/^(mouse|click)/)>-1&&(o=f);if(s)for(p=o.length,l;p;)l=o[--p],t[l]=s[l];i.search(/mouse(down|up)|click/)>-1&&!t.which&&(t.which=1);if(i.search(/^touch/)!==-1){a=T(s),i=a.touches,c=a.changedTouches,h=i&&i.length?i[0]:c&&c.length?c[0]:r;if(h)for(d=0,v=u.length;di||Math.abs(n.pageY-p)>i,d&&!r&&P("vmousecancel",t,s),P("vmousemove",t,s),_()}function I(e){if(g)return;A();var t=C(e.target),n,r;P("vmouseup",e,t),d||(n=P("vclick",e,t),n&&n.isDefaultPrevented()&&(r=T(e).changedTouches[0],v.push({touchID:E,x:r.clientX,y:r.clientY}),m=!0)),P("vmouseout",e,t),d=!1,_()}function q(t){var n=e.data(t,i),r;if(n)for(r in n)if(n[r])return!0;return!1}function R(){}function U(t){var n=t.substr(1);return{setup:function(){q(this)||e.data(this,i,{});var r=e.data(this,i);r[t]=!0,l[t]=(l[t]||0)+1,l[t]===1&&b.on(n,H),e(this).on(n,R),y&&(l.touchstart=(l.touchstart||0)+1,l.touchstart===1&&b.on("touchstart",B).on("touchend",I).on("touchmove",F).on("scroll",j))},teardown:function(){--l[t],l[t]||b.off(n,H),y&&(--l.touchstart,l.touchstart||b.off("touchstart",B).off("touchmove",F).off("touchend",I).off("scroll",j));var r=e(this),s=e.data(this,i);s&&(s[t]=!1),r.off(n,R),q(this)||r.removeData(i)}}}var i="virtualMouseBindings",s="virtualTouchID",o="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),u="clientX clientY pageX pageY screenX screenY".split(" "),a=e.event.mouseHooks?e.event.mouseHooks.props:[],f=[],l={},c=0,h=0,p=0,d=!1,v=[],m=!1,g=!1,y="addEventListener"in n,b=e(n),w=1,E=0,S,x;e.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};for(x=0;xMath.floor(e.pageY)||e.pageX===0&&Math.floor(i)>Math.floor(e.pageX))i-=n,s-=r;else if(se.event.special.swipe.horizontalDistanceThreshold&&Math.abs(t.coords[1]-n.coords[1])n.coords[0]?"swipeleft":"swiperight";return l(r,"swipe",e.Event("swipe",{target:i,swipestart:t,swipestop:n}),!0),l(r,s,e.Event(s,{target:i,swipestart:t,swipestop:n}),!0),!0}return!1},eventInProgress:!1,setup:function(){var t,n=this,r=e(n),s={};t=e.data(this,"mobile-events"),t||(t={length:0},e.data(this,"mobile-events",t)),t.length++,t.swipe=s,s.start=function(t){if(e.event.special.swipe.eventInProgress)return;e.event.special.swipe.eventInProgress=!0;var r,o=e.event.special.swipe.start(t),u=t.target,l=!1;s.move=function(t){if(!o||t.isDefaultPrevented())return;r=e.event.special.swipe.stop(t),l||(l=e.event.special.swipe.handleSwipe(o,r,n,u),l&&(e.event.special.swipe.eventInProgress=!1)),Math.abs(o.coords[0]-r.coords[0])>e.event.special.swipe.scrollSupressionThreshold&&t.preventDefault()},s.stop=function(){l=!0,e.event.special.swipe.eventInProgress=!1,i.off(f,s.move),s.move=null},i.on(f,s.move).one(a,s.stop)},r.on(u,s.start)},teardown:function(){var t,n;t=e.data(this,"mobile-events"),t&&(n=t.swipe,delete t.swipe,t.length--,t.length===0&&e.removeData(this,"mobile-events")),n&&(n.start&&e(this).off(u,n.start),n.move&&i.off(f,n.move),n.stop&&i.off(a,n.stop))}},e.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe.left",swiperight:"swipe.right"},function(t,n){e.event.special[t]={setup:function(){e(this).on(n,e.noop)},teardown:function(){e(this).off(n)}}})}(e,this)});; /*! * Magnific Popup v1.0.1 by Dmitry Semenov * The MIT License (MIT) * Copyright (c) 2014-2015 Dmitry Semenov, http://dimsemenov.com * http://bit.ly/magnific-popup#build=inline+image+ajax+iframe+gallery+retina+imagezoom+fastclick * * Modified to adapt the latest jQuery version (v3 above) included on WordPress 5.6: * - (2020-12-15) - jQuery isFunction method is deprecated. * - (2021-02-01) - Number type value passed to css method is deprecated. * - (2021-02-04) - jQuery focus event shorthand is deprecated. * - (2020-02-27) - jQuery isArray method is deprecated. */ /* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,Array.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isIE7=-1!==c.indexOf("MSIE 7."),b.isIE8=-1!==c.indexOf("MSIE 8."),b.isLowIE=b.isIE7||b.isIE8,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).trigger("focus")},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(a,c){if(void 0===c||c===!1)return!0;if(e=a.split("_"),e.length>1){var d=b.find(p+"-"+e[0]);if(d.length>0){var f=e[1];"replaceWith"===f?d[0]!==c[0]&&d.replaceWith(c):"img"===f?d.is("img")?d.attr("src",c):d.replaceWith(''):d.attr(e[1],c)}}else b.find(p+"-"+a).html(c)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},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:'',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("
");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if("function"==typeof d)return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'
',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c+"px")}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width()+"px",height:(u?d.innerHeight():d[0].offsetHeight)-g-f+"px"};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'
',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(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',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 c=b.st.gallery,e=".mfp-gallery",g=Boolean(a.fn.mfpFastClick);return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s),h=g?"mfpFastClick":"click";e[h](function(){b.prev()}),f[h](function(){b.next()}),b.isIE7&&(x("b",e[0],!1,!0),x("a",e[0],!1,!0),x("b",f[0],!1,!0),x("a",f[0],!1,!0)),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowLeft&&g&&b.arrowLeft.add(b.arrowRight).destroyMfpFastClick(),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c+"px",width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),function(){var b=1e3,c="ontouchstart"in window,d=function(){v.off("touchmove"+f+" touchend"+f)},e="mfpFastClick",f="."+e;a.fn.mfpFastClick=function(e){return a(this).each(function(){var g,h=a(this);if(c){var i,j,k,l,m,n;h.on("touchstart"+f,function(a){l=!1,n=1,m=a.originalEvent?a.originalEvent.touches[0]:a.touches[0],j=m.clientX,k=m.clientY,v.on("touchmove"+f,function(a){m=a.originalEvent?a.originalEvent.touches:a.touches,n=m.length,m=m[0],(Math.abs(m.clientX-j)>10||Math.abs(m.clientY-k)>10)&&(l=!0,d())}).on("touchend"+f,function(a){d(),l||n>1||(g=!0,a.preventDefault(),clearTimeout(i),i=setTimeout(function(){g=!1},b),e())})})}h.on("click"+f,function(){g||e()})})},a.fn.destroyMfpFastClick=function(){a(this).off("touchstart"+f+" click"+f),c&&v.off("touchmove"+f+" touchend"+f)}}(),A()});; !function(t){var e={};function n(i){if(e[i])return e[i].exports;var a=e[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(i,a,function(e){return t[e]}.bind(null,a));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=5)}([,,function(t,e){!function(){"use strict";function t(i){if(!i)throw new Error("No options passed to Waypoint constructor");if(!i.element)throw new Error("No element option passed to Waypoint constructor");if(!i.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,i),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=i.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),n[this.key]=this,e+=1}var e=0,n={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete n[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var i in n)e.push(n[i]);for(var a=0,o=e.length;o>a;a++)e[a][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=a.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+n,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,i[t.waypointContextKey]=this,n+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var n=0,i={},a=window.Waypoint,o=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete i[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",(function(){e.didResize||(e.didResize=!0,a.requestAnimationFrame(t))}))},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",(function(){(!e.didScroll||a.isTouch)&&(e.didScroll=!0,a.requestAnimationFrame(t))}))},e.prototype.handleResize=function(){a.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var n in e){var i=e[n],a=i.newScroll>i.oldScroll?i.forward:i.backward;for(var o in this.waypoints[n]){var r=this.waypoints[n][o],s=i.oldScroll=r.triggerPoint;(s&&c||!s&&!c)&&(r.queueTrigger(a),t[r.group.id]=r.group)}}for(var l in t)t[l].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?a.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?a.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var n in this.waypoints[e])t.push(this.waypoints[e][n]);for(var i=0,a=t.length;a>i;i++)t[i].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,n=e?void 0:this.adapter.offset(),i={};for(var o in this.handleScroll(),t={horizontal:{contextOffset:e?0:n.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:n.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var r=t[o];for(var s in this.waypoints[o]){var c,l,_,d,u=this.waypoints[o][s],p=u.options.offset,f=u.triggerPoint,h=0,b=null==f;u.element!==u.element.window&&(h=u.adapter.offset()[r.offsetProp]),"function"==typeof p?p=p.apply(u):"string"==typeof p&&(p=parseFloat(p),u.options.offset.indexOf("%")>-1&&(p=Math.ceil(r.contextDimension*p/100))),c=r.contextScroll-r.contextOffset,u.triggerPoint=h+c-p,l=f=r.oldScroll,d=!l&&!_,!b&&(l&&_)?(u.queueTrigger(r.backward),i[u.group.id]=u.group):(!b&&d||b&&r.oldScroll>=u.triggerPoint)&&(u.queueTrigger(r.forward),i[u.group.id]=u.group)}}return a.requestAnimationFrame((function(){for(var t in i)i[t].flushTriggers()})),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in i)i[t].refresh()},e.findByElement=function(t){return i[t.waypointContextKey]},window.onload=function(){o&&o(),e.refreshAll()},a.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},a.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function n(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}var i={vertical:{},horizontal:{}},a=window.Waypoint;n.prototype.add=function(t){this.waypoints.push(t)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var n in this.triggerQueues){var i=this.triggerQueues[n],a="up"===n||"left"===n;i.sort(a?e:t);for(var o=0,r=i.length;r>o;o+=1){var s=i[o];(s.options.continuous||o===i.length-1)&&s.trigger([n])}}this.clearTriggerQueues()},n.prototype.next=function(e){this.waypoints.sort(t);var n=a.Adapter.inArray(e,this.waypoints);return n===this.waypoints.length-1?null:this.waypoints[n+1]},n.prototype.previous=function(e){this.waypoints.sort(t);var n=a.Adapter.inArray(e,this.waypoints);return n?this.waypoints[n-1]:null},n.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},n.prototype.remove=function(t){var e=a.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(t){return i[t.axis][t.name]||new n(t)},a.Group=n}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,n=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(e,n){t.prototype[n]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[n].apply(this.$element,t)}})),e.each(["extend","inArray","isEmptyObject"],(function(n,i){t[i]=e[i]})),n.adapters.push({name:"jquery",Adapter:t}),n.Adapter=t}(),function(){"use strict";function t(t){return function(){var n=[],i=arguments[0];return"function"==typeof arguments[0]&&((i=t.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var a=t.extend({},i,{element:this});"string"==typeof a.context&&(a.context=t(this).closest(a.context)[0]),n.push(new e(a))})),n}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}()},function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t,e){for(var n in e)t[n]=e[n]}(window,function(t){var e={};function i(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,i),a.l=!0,a.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==n(t)&&t&&t.__esModule)return t;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(a,o,function(e){return t[e]}.bind(null,o));return a},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/",i(i.s=1458)}({1:function(t,e,n){var i=n(92);t.exports=function(t,e,n){var a=null==t?void 0:i(t,e);return void 0===a?n:a}},100:function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},101:function(t,e,i){(function(t){var a=i(139),o=e&&!e.nodeType&&e,r=o&&"object"==n(t)&&t&&!t.nodeType&&t,s=r&&r.exports===o&&a.process,c=function(){try{return r&&r.require&&r.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c}).call(this,i(97)(t))},102:function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length;++n_))return!1;var u=c.get(t),p=c.get(e);if(u&&p)return u==e&&p==t;var f=-1,h=!0,b=2&n?new i:void 0;for(c.set(t,e),c.set(e,t);++f<_;){var v=t[f],m=e[f];if(r)var g=l?r(m,v,f,e,t,c):r(v,m,f,t,e,c);if(void 0!==g){if(g)continue;h=!1;break}if(b){if(!a(e,(function(t,e){if(!o(b,e)&&(v===t||s(v,t,n,r,c)))return b.push(e)}))){h=!1;break}}else if(v!==m&&!s(v,m,n,r,c)){h=!1;break}}return c.delete(t),c.delete(e),h}},142:function(t,e,n){var i=n(120),a=n(167),o=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols,s=r?function(t){return null==t?[]:(t=Object(t),i(r(t),(function(e){return o.call(t,e)})))}:a;t.exports=s},1458:function(t,e,n){"use strict";(function(t){var e=n(357),i=n(356),a=n(1459);!function(n){var o=n("body").hasClass("et-block-layout-preview"),r=n(".et-l--header").first(),s=0;if(window.et_pb_debounce=function(t,e,n){var i,a,o,r,s,c=Date.now||(new Date).getTime(),l=function l(){var _=c-r;_=0?i=setTimeout(l,e-_):(i=null,n||(s=t.apply(o,a),i||(o=a=null)))};return function(){o=this,a=arguments,r=c;var _=n&&!i;return i||(i=setTimeout(l,e)),_&&(s=t.apply(o,a),o=a=null),s}},r.length){var c=r.find(".et_builder_inner_content").children(".et_pb_section--fixed"),l=et_pb_debounce((function(t){s=0,n.each(c,(function(t,e){var i=n(e).outerHeight(!0);s+=i;var a=n(e).offset().top;a<0&&Math.abs(a)>s?s=0:a<0&&(s+=a)}))}),300);n(window).on("resize",l)}window.et_pb_smooth_scroll=function(t,e,i,o){var c=t.offset().top,l=n(window).width(),_=0,d=0,u="",p="",f=r.find(".et_pb_section");if(!(0,a.isTargetStickyState)(t)){_=n("body").hasClass("et_fixed_nav")&&l>980?(n("#top-header").outerHeight()||0)+(n("#main-header").outerHeight()||0)-1:0,n("#wpadminbar").length&&l>600&&(_+=n("#wpadminbar").outerHeight()||0),r.length&&(f.hasClass("et_pb_section--fixed")&&(u=Math.ceil(parseFloat(f.css("left"))),p=Math.ceil(parseFloat(f.css("right"))),l<980&&(_+=90)),0===u+p&&(_+=s));var h=(0,a.getClosestStickyModuleOffsetTop)(t);h&&(_+=h),d=e?0:Math.round(c)-_,void 0===o&&(o="swing"),n("html, body").animate({scrollTop:d},i,o)}},window.et_pb_form_placeholders_init=function(e){e.find('input:text, input[type="email"], input[type="url"], textarea').each((function(e,n){var i=t(n),a=i.siblings("label"),o=i.siblings("label").text();a.length&&(a.hide(),i.siblings("span.required")&&(o+=i.siblings("span.required").text(),i.siblings("span.required").hide()),i.val(o))})).on("focus",(function(){var e=t(this).siblings("label").text();t(this).siblings("span.required").length&&(e+=t(this).siblings("span.required").text()),t(this).val()===e&&t(this).val("")})).on("blur",(function(){var e=t(this).siblings("label").text();t(this).siblings("span.required").length&&(e+=t(this).siblings("span.required").text()),""===t(this).val()&&t(this).val(e)}))},window.et_duplicate_menu=function(t,e,a,o,r){e.each((function(){var e,s=n(this);if(!s.find("#".concat(a)).length&&(""!==t&&t.clone().attr("id",a).removeClass().attr("class",o).appendTo(s),(e=s.find("> ul")).find(".menu_slide").remove(),e.find(".et_pb_menu__logo-slot").remove(),e.find("li").first().addClass("et_first_mobile_item"),e.find("a").on("click",(function(){n(this).parents(".et_mobile_menu").siblings(".mobile_menu_bar").trigger("click")})),"no_click_event"!==r)){i.isBuilder&&s.off("click");var c=s.closest(".et_pb_section"),l=s.closest(".et_pb_row"),_="0px"!==c.css("border-radius"),d="0px"!==l.css("border-radius");s.on("click",".mobile_menu_bar",(function(){return n(".mobile_nav.opened .mobile_menu_bar").not(n(this)).trigger("click"),s.hasClass("closed")?(s.removeClass("closed").addClass("opened"),(_||d)&&(c.css("overflow","visible"),l.css("overflow","visible")),e.stop().slideDown(500)):(s.removeClass("opened").addClass("closed"),e.stop().slideUp(500),(_||d)&&setTimeout((function(){c.css("overflow","hidden"),l.css("overflow","hidden")}),500)),!1}))}})),n("#mobile_menu .centered-inline-logo-wrap").remove()},window.et_pb_remove_placeholder_text=function(e){e.find("input:text, textarea").each((function(e,n){var i=t(n),a=i.siblings("label");i.siblings("label").text(),a.length&&a.is(":hidden")&&a.text()==i.val()&&i.val("")}))},window.et_fix_fullscreen_section=function(){var t=n(o?e.top_window:window);n("section.et_pb_fullscreen").each((function(){var e=n(this);et_calc_fullscreen_section.bind(e),t.on("resize",et_calc_fullscreen_section.bind(e))}))},window.et_bar_counters_init=function(t){t.length&&t.css({width:"".concat(parseFloat(t.attr("data-width")),"%")})},window.et_fix_pricing_currency_position=function(t){setTimeout((function(){var e=void 0!==t?t:n(".et_pb_pricing_table");e.length&&e.each((function(){var t=n(this).find(".et_pb_et_price"),e=!!t.length&&t.find(".et_pb_dollar_sign"),i=!!t.length&&t.find(".et_pb_sum");e&&i&&e.css({marginLeft:"".concat(-e.width(),"px")})}))}),1)},window.et_pb_set_responsive_grid=function(t,e){setTimeout((function(){var i=t.innerWidth(),a=t.find(e),o=a.outerWidth(!0),r=o-a.outerWidth(),s=Math.round((i+r)/o),c=1,l=1,_=n();if(a.removeClass("last_in_row first_in_row on_last_row"),a.filter(":visible").each((function(){var t=n(this);t.hasClass("inactive")||(l===c?(t.addClass("first_in_row"),_=t):0==c%s&&(t.addClass("last_in_row"),l=c+1),c++)})),_.length){var d=_.parents(".et_pb_module");if(d.is(":last-child")){var u=_.parents(".et_pb_column")[0];n(u).find(".et_pb_grid_item").removeClass("on_last_row");var p=d.find(".et_pb_gallery_pagination");0===p.length&&(p=d.find(".et_pb_portofolio_pagination")),(0===p.length||p.length>0&&!p.is(":visible"))&&(s>1&&_.addClass("on_last_row"),_.nextAll().addClass("on_last_row"))}}}),1)},window.et_pb_set_tabs_height=function(t){void 0===t&&(t=n(".et_pb_tabs")),t.length&&t.each((function(){var t=n(this).find(".et_pb_tabs_controls"),e=t.find("li"),i=0,a=n(this).parents(".et_pb_column_1_3, .et_pb_column_1_4, .et_pb_column_3_8").length>0,o=parseFloat(n(window).width())<768,r=a||o;r&&n(this).addClass("et_pb_tabs_vertically_stacked"),e.length&&(t.children("li").removeAttr("style"),e.each((function(){var t=n(this).outerHeight();r||t>i&&(i=t)}))),0!==i&&t.children("li").css("height","".concat(i,"px"))}))},window.et_pb_box_shadow_apply_overlay=function(t){void 0!==document.body.style.pointerEvents&&(void 0===document.documentMode||document.documentMode>=11)?n(t).each((function(){n(this).children(".box-shadow-overlay").length||n(this).addClass("has-box-shadow-overlay").prepend('
')})):n(t).addClass(".et-box-shadow-no-overlay")},window.et_pb_init_nav_menu=function(t){t.each((function(){var t=n(this);t.data("et-is-menu-ready")||(t.find("li").on("mouseenter",(function(){window.et_pb_toggle_nav_menu(n(this),"open")})).on("mouseleave",(function(){window.et_pb_toggle_nav_menu(n(this),"close",0)})),n("body").on("touchend",(function(t){n(t.target).closest("ul.nav, ul.menu").length<1&&n(".et-hover").length>0&&window.et_pb_toggle_nav_menu(n(".et-hover"),"close")})),t.find("li.menu-item-has-children").on("touchend",(function(t){var e=n(t.target).closest(".menu-item");if(e.hasClass("menu-item-has-children")){var i=n(this),a=e.closest(".mega-menu-parent.et-touch-hover").length>0;if(i.hasClass("et-touch-hover")||a)void 0!==i.find(">a").attr("href")&&(window.location=i.find(">a").attr("href"));else{var o=n(t.target),r=o.closest(".menu-item").siblings(".et-touch-hover");if(o.closest(".et-touch-hover").length<1&&window.et_pb_toggle_nav_menu(n(".et-hover"),"close",0),i.addClass("et-touch-hover"),r.length>0){var s=r.find(".et-touch-hover");window.et_pb_toggle_nav_menu(r,"close"),window.et_pb_toggle_nav_menu(s,"close")}window.et_pb_toggle_nav_menu(i,"open")}t.preventDefault(),t.stopPropagation()}})),t.find("li.mega-menu").each((function(){var t=n(this),e=t.children("ul").children("li").length;e<4&&t.addClass("mega-menu-parent mega-menu-parent-".concat(e))})),t.data("et-is-menu-ready","ready"))}))},window.et_pb_toggle_nav_menu=function(t,e,n){if("open"===e)t.closest("li.mega-menu").length&&!t.hasClass("mega-menu")||(t.addClass("et-show-dropdown"),t.removeClass("et-hover").addClass("et-hover"));else{var i=void 0!==n?n:200;t.removeClass("et-show-dropdown"),t.removeClass("et-touch-hover"),setTimeout((function(){t.hasClass("et-show-dropdown")||t.removeClass("et-hover")}),i)}},window.et_pb_apply_sticky_image_effect=function(t){var e=t.closest(".et_pb_row"),n=e.closest(".et_pb_section"),i=t.closest(".et_pb_column"),a="et_pb_section_sticky",o="et_pb_section_sticky_mobile",r=n.children(".et_pb_row").last(),s=e.children(".et_pb_column").last(),c=i.children(".et_pb_module").last();return!e.is(r)||(r.addClass("et-last-child"),!t.is(c)||(n.hasClass(a)||n.addClass(a),i.addClass("et_pb_row_sticky"),void(!n.hasClass(o)&&i.is(s)&&n.addClass(o))))},window.et_pb_menu_inject_inline_centered_logo=function(t){var e=n(t).find("nav > ul > li"),i=Math.round(e.length/2),a=window.et_pb_menu_inject_item(t,i,!0);return a&&n(a).addClass("et_pb_menu__logo-slot"),a},window.et_pb_menu_inject_item=function(t,e,i){i=void 0===i||i,e=Math.max(e,0);var a=n(t).find("nav > ul").first();if(0===a.length)return null;var o=a.find("> li"),r=n("
  • ");if(0===o.length)a.append(r);else{var s=i?"before":"after",c=i?o.eq(e):o.eq(o.length-1-e);0===c.length&&(s=i?"after":"before",c=i?o.last():o.first()),c[s](r)}return r.get(0)},window.et_pb_reposition_menu_module_dropdowns=et_pb_debounce((function(t){n(t||".et_pb_menu, .et_pb_fullwidth_menu").each((function(){var t=n(this).find(".et_pb_row").first();if(0===t.length)return!0;var e=t.offset().top,i=n(this).attr("class").replace(/^.*?(et_pb(?:_fullwidth)?_menu_\d+[^\s]*).*$/i,"$1"),a=n(this).find(".et_pb_menu__menu ul").first().hasClass("upwards"),o="";n(this).find(".et_pb_menu__menu > nav > ul > li.mega-menu.menu-item-has-children").each((function(){var r=n(this),s=r.attr("class").replace(/^.*?(menu-item-\d+).*$/i,"$1"),c=".".concat(i," li.").concat(s," > .sub-menu");if(a){var l=Math.floor(e+t.outerHeight()-r.offset().top)-1;o+="".concat(c,"{ bottom: ").concat(l.toString(),"px !important; }")}else l=Math.floor(r.offset().top+r.outerHeight()-e)-1,o+="".concat(c,"{ top: ").concat(l.toString(),"px !important; }")}));var r=n("style.et-menu-style-".concat(i)).first();0===r.length&&((r=n("")).addClass("et-menu-style"),r.addClass("et-menu-style-".concat(i)),r.appendTo(n("head")));var s=r.html();o!==s&&r.html(o)}))}),200)}(t)}).call(this,n(8))},1459:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.trimTransitionValue=e.isTargetStickyState=e.getStickyStyles=e.getLimitSelector=e.getLimit=e.getClosestStickyModuleOffsetTop=e.filterInvalidModules=void 0;var i=u(n(65)),a=u(n(9)),o=u(n(1)),r=u(n(147)),s=u(n(7)),c=u(n(5)),l=u(n(37)),_=u(n(8)),d=n(356);function u(t){return t&&t.__esModule?t:{default:t}}function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function f(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},n={};return(0,a.default)(t,(function(t,i){(0,_.default)(t.selector).parents(".et_pb_sticky_module").length>0||(!(0,c.default)(e)&&e[i]?n[i]=f(f({},e[i]),t):n[i]=t)})),n},e.getStickyStyles=function(t,e,n){var i=e.clone().addClass("et_pb_sticky et_pb_sticky_style_dom").attr({"data-sticky-style-dom-id":t,style:""}).css({opacity:0,transition:"none",animation:"none"});i.find("img").each((function(t){var n=(0,_.default)(this),i=e.find("img").eq(t),a=(0,o.default)(i,[0,"naturalWidth"],e.find("img").eq(t).outerWidth()),r=(0,o.default)(i,[0,"naturalHeight"],e.find("img").eq(t).outerHeight());n.attr({scrset:"",src:'data:image/svg+xml;utf8,')})})),e.after(i);var a=function(t){var a="margin".concat(t),o=e.hasClass("et_pb_sticky")?n:e;return parseFloat(i.css(a))-parseFloat(o.css(a))},r=e.parent().hasClass("et_pb_equal_columns");r&&(e.hide(),n.hide());var s={height:i.outerHeight(),width:i.outerWidth(),marginRight:a("Right"),marginLeft:a("Left"),padding:i.css("padding")};return r&&(e.show(),n.show()),(0,_.default)('.et_pb_sticky_style_dom[data-sticky-style-dom-id="'.concat(t,'"]')).remove(),s},e.trimTransitionValue=function(t,e){(0,l.default)(t)||(t="");var n=t.split(", "),a=(0,i.default)(n,(function(t){return!(0,s.default)(e,(0,r.default)(t.split(" ")))}));return(0,c.default)(a)?"none":a.join(", ")},e.getClosestStickyModuleOffsetTop=function(t){var e=t.offset();e.right=e.left+t.outerWidth();var n=null,i=0,r=(0,o.default)(window.ET_FE,"stores.sticky.modules",{});if((0,a.default)(r,(function(i){if((0,s.default)(["top_bottom","top"],i.position)&&!t.is((0,o.default)(i,"selector"))&&!((0,o.default)(i,"offsets.right",0)e.right||(0,o.default)(i,"offsets.top",0)>e.top)){var a=(0,o.default)(i,"bottomLimitSettings.offsets.bottom");a&&a-1}},240:function(t,e,n){var i=n(78);t.exports=function(t,e){var n=this.__data__,a=i(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this}},241:function(t,e,n){var i=n(79);t.exports=function(t){var e=i(this,t).delete(t);return this.size-=e?1:0,e}},242:function(t,e){t.exports=function(t){var e=n(t);return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},243:function(t,e,n){var i=n(79);t.exports=function(t){return i(this,t).get(t)}},244:function(t,e,n){var i=n(79);t.exports=function(t){return i(this,t).has(t)}},245:function(t,e,n){var i=n(79);t.exports=function(t,e){var n=i(this,t),a=n.size;return n.set(t,e),this.size+=n.size==a?0:1,this}},246:function(t,e,n){var i=n(108),a=n(118);t.exports=function(t,e,n,o){var r=n.length,s=r,c=!o;if(null==t)return!s;for(t=Object(t);r--;){var l=n[r];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=C&&t.hasClass("et_pb_sticky")&&"fixed"!==t.css("position"),a=t.data("et-offsets"),r=t.data("et-offsets-device"),s=(0,o.default)(window.ET_FE,"stores.window.breakpoint","");if(i&&void 0!==a&&r===s)return a;var c=t.offset();if(void 0===c)return{};var l=C?t.children('.et-fb-custom-css-output[data-sticky-has-transform="on"]').length>0:t.hasClass("et_pb_sticky--has-transform"),_=void 0===c.top?0:c.top,d=void 0===c.left?0:c.left;if(l){var u=t.parent().offset(),p={top:c.top-u.top,left:c.left-u.left},f={top:t[0].offsetTop,left:t[0].offsetLeft};_+=f.top-p.top,c.top=_,d+=f.left-p.left,c.left=d}return c.right=d+e,c.bottom=_+n,t.data("et-offsets",c),""!==s&&t.data("et-offsets-device",c),c},e.maybeIncreaseEmitterMaxListeners=function(t,e){var n=t.listenerCount(e),i=t.getMaxListeners();n===i&&t.setMaxListeners(i+1)},e.maybeDecreaseEmitterMaxListeners=function(t,e){var n=t.listenerCount(e);t.getMaxListeners()>10&&t.setMaxListeners(n)},e.registerFrontendComponent=function(t,e,n){void 0===window.ET_FE&&(window.ET_FE={}),"object"!==l(window.ET_FE[t])&&(window.ET_FE[t]={}),window.ET_FE[t][e]=n},e.setImportantInlineValue=function(t,e,n){t.css(e,"");var i=t.attr("style");t.attr("style","".concat(i," ").concat(e,": ").concat(n," !important;"))}},357:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.top_window=e.is_iframe=void 0;var i=window;e.top_window=i;var a,o=!1;e.is_iframe=o;try{a=!!window.top.document&&window.top}catch(t){a=!1}a&&a.__Cypress__?window.parent===a?(e.top_window=i=window,e.is_iframe=o=!1):(e.top_window=i=window.parent,e.is_iframe=o=!0):a&&(e.top_window=i=a,e.is_iframe=o=a!==window.self)},36:function(t,e,n){var i=n(61),a=n(221),o=n(222),r=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":r&&r in Object(t)?a(t):o(t)}},37:function(t,e,n){var i=n(36),a=n(4),o=n(30);t.exports=function(t){return"string"==typeof t||!a(t)&&o(t)&&"[object String]"==i(t)}},38:function(t,e,n){var i=n(35),a=n(100);t.exports=function(t){return null!=t&&a(t.length)&&!i(t)}},4:function(t,e){var n=Array.isArray;t.exports=n},44:function(t,e,n){var i=n(202),a=n(224);t.exports=function(t,e){var n=a(t,e);return i(n)?n:void 0}},45:function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,a=Array(i);++n-1:!!_&&i(t,e,n)>-1}},70:function(t,e){var i=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var a=n(t);return!!(e=null==e?9007199254740991:e)&&("number"==a||"symbol"!=a&&i.test(t))&&t>-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991}},101:function(t,e,n){(function(t){var a=n(139),o=e&&!e.nodeType&&e,r=o&&"object"==i(t)&&t&&!t.nodeType&&t,s=r&&r.exports===o&&a.process,c=function(){try{return r&&r.require&&r.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c}).call(this,n(97)(t))},102:function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length;++na?0:a+e),(n=n>a?a:n)<0&&(n+=a),a=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(a);++i_))return!1;var u=c.get(t),p=c.get(e);if(u&&p)return u==e&&p==t;var f=-1,h=!0,b=2&n?new i:void 0;for(c.set(t,e),c.set(e,t);++f<_;){var v=t[f],m=e[f];if(r)var g=l?r(m,v,f,e,t,c):r(v,m,f,t,e,c);if(void 0!==g){if(g)continue;h=!1;break}if(b){if(!a(e,(function(t,e){if(!o(b,e)&&(v===t||s(v,t,n,r,c)))return b.push(e)}))){h=!1;break}}else if(v!==m&&!s(v,m,n,r,c)){h=!1;break}}return c.delete(t),c.delete(e),h}},142:function(t,e,n){var i=n(120),a=n(167),o=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols,s=r?function(t){return null==t?[]:(t=Object(t),i(r(t),(function(e){return o.call(t,e)})))}:a;t.exports=s},1460:function(t,e,n){"use strict";(function(t){var e=u(n(7)),a=u(n(11)),o=u(n(4)),r=u(n(1)),s=u(n(56)),c=u(n(9)),l=u(n(287)),_=n(331),d=n(356);function u(t){return t&&t.__esModule?t:{default:t}}function p(t){return(p="function"==typeof Symbol&&"symbol"==i(Symbol.iterator)?function(t){return i(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":i(t)})(t)}n(1461),et_pb_custom.page_id,function(n){var i=void 0!==window.ETBlockLayoutModulesScript&&n("body").hasClass("et-block-layout-preview"),u=d.isBuilder||i?ET_Builder.Frames.top:window,f=n(window),h=n(i?u:window),b=d.isBuilder?u.jQuery(u):n(window),v=n("body").hasClass("et-tb"),m=n("body").hasClass("et-bfb"),g=d.isBuilder&&!m,w=function(){return!i&&g&&(n("html").is(".et-fb-preview--wireframe")||n("html").is(".et-fb-preview--desktop"))},y=function(){return d.isBuilder&&n("html").is(".et-fb-preview--zoom")},x=function(t){return t.closest("#et-fb-app").length>0};window.et_load_event_fired=!1,window.et_is_transparent_nav=n("body").hasClass("et_transparent_nav"),window.et_is_vertical_nav=n("body").hasClass("et_vertical_nav"),window.et_is_fixed_nav=n("body").hasClass("et_fixed_nav"),window.et_is_minified_js=n("body").hasClass("et_minified_js"),window.et_is_minified_css=n("body").hasClass("et_minified_css"),window.et_force_width_container_change=!1,t.fn.reverse=[].reverse,t.fn.closest_descendent=function(t){for(var e,n=this.children();n.length&&!(e=n.filter(t)).length;)n=n.children();return e},window.et_pb_init_woo_star_rating=function(t){var e=t.closest("div").find("p.stars");e.length>0&&e.remove(),t.hide().before('

    \t\t\t\t\t\t\t\t\t1\t\t\t\t\t2\t\t\t\t\t3\t\t\t\t\t4\t\t\t\t\t5\t\t\t\t\t\t\t

    ')},window.et_pb_wrap_woo_attribute_fields_in_span=function(){var t=n("form.variations_form");n.each(t,(function(t,e){var i=n(e),a=i.find(".variations select"),o=i.find(".variations select").parent("td.value"),r=i.find(".reset_variations");0===o.length||o.attr("data-is-span-added")||(o.attr("data-is-span-added","1"),n(a).wrap(""),g&&r.length>0&&n(r).remove())}))};var C=!1;function k(){return n(".et-l:not(.et-l--footer) .et_pb_section:visible").first()}function j(){var t=n(".et_pb_blog_grid");if(0!==t.length)var e=t.find(".et_pb_salvattore_content"),i=setInterval((function(){e.each((function(){var t=n(this),e=t[0],a=getComputedStyle(e,":before").content;"none"!==a&&clearInterval(i),t.children(".column").length||"none"!==a&&(t.children("div").length&&!t.children("div")[0].classList.length?salvattore.recreateColumns(e):salvattore.registerGrid(e))}))}),100)}if(window.et_calculate_fullscreen_section_size=function(){n("section.et_pb_fullscreen").each((function(){et_calc_fullscreen_section.bind(n(this))()})),d.isBuilder||(clearTimeout(C),C=setTimeout((function(){h.off("resize",et_calculate_fullscreen_section_size),h.off("et-pb-header-height-calculated",et_calculate_fullscreen_section_size),h.trigger("resize"),h.on("resize",et_calculate_fullscreen_section_size),h.on("et-pb-header-height-calculated",et_calculate_fullscreen_section_size)})))},window.et_pb_init_modules=function(){n.et_pb_simple_slider=function(t,e){var i,a,o,r=n.extend({slide:".et-slide",arrows:".et-pb-slider-arrows",prev_arrow:".et-pb-arrow-prev",next_arrow:".et-pb-arrow-next",controls:".et-pb-controllers a",carousel_controls:".et_pb_carousel_item",control_active_class:"et-pb-active-control",previous_text:et_pb_custom.previous,next_text:et_pb_custom.next,fade_speed:500,use_arrows:!0,use_controls:!0,manual_arrows:"",append_controls_to:"",controls_below:!1,controls_class:"et-pb-controllers",slideshow:!1,slideshow_speed:7e3,show_progress_bar:!1,tabs_animation:!1,use_carousel:!1,active_slide:0},e),s=n(t),c=s.closest_descendent(r.slide),l=c.length,_=r.fade_speed,u=r.active_slide,p="",h="",b=(s.find(".et_pb_container").width(),s.hasClass("et_pb_post_slider")),v=!1;if(s.et_animation_running=!1,n.data(t,"et_pb_simple_slider",s),c.eq(0).addClass("et-pb-active-slide"),s.attr("data-active-slide",c.data("slide-id")),r.tabs_animation||s.hasClass("et_pb_bg_layout_dark")||s.hasClass("et_pb_bg_layout_light")||s.addClass(C(c.eq(0))),r.use_arrows&&l>1&&(""==r.manual_arrows?r.hasOwnProperty("slide")&&".et_pb_gallery_item"===r.slide?s.append("".concat('"):s.append("".concat('"):s.append(r.manual_arrows),s.find(r.arrows),s.find(r.prev_arrow),s.find(r.next_arrow),s.on("click.et_pb_simple_slider",r.next_arrow,(function(){return s.et_animation_running||s.et_slider_move_to("next"),!1})),s.on("click.et_pb_simple_slider",r.prev_arrow,(function(){return s.et_animation_running||s.et_slider_move_to("previous"),!1})),s.on("swipeleft.et_pb_simple_slider",r.slide,(function(t){n(t.target).closest(".et-fb-popover-tinymce").length||n(t.target).closest(".et-fb-editable-element").length||s.et_slider_move_to("next")})),s.on("swiperight.et_pb_simple_slider",r.slide,(function(t){n(t.target).closest(".et-fb-popover-tinymce").length||n(t.target).closest(".et-fb-editable-element").length||s.et_slider_move_to("previous")}))),r.use_controls&&l>1){for(var m=1;m<=l;m++)p+='").concat(m,"");s.find("video").length>0&&(r.controls_class+=" et-pb-controllers-has-video-tag"),p='
    ').concat(p,"
    "),""==r.append_controls_to?s.append(p):n(r.append_controls_to).append(p),(i=r.controls_below?s.parent().find(r.controls):s.find(r.controls)).on("click.et_pb_simple_slider",(function(){return s.et_animation_running||s.et_slider_move_to(n(this).index()),!1}))}if(r.use_carousel&&l>1){for(m=1;m<=l;m++){var g=m-1,w=void 0!==c.eq(g).data("image")?"url(".concat(c.eq(g).data("image"),")"):"none";h+=''}h="".concat('",s.after(h),(a=s.siblings(".et_pb_carousel").find(r.carousel_controls)).on("click.et_pb_simple_slider",(function(){if(s.et_animation_running)return!1;var t=n(this);return s.et_slider_move_to(t.data("slide-id")),!1}))}function y(){v||(s.hasClass("et_pb_pause_slider")?setTimeout((function(){y()}),2e3):r.slideshow&&l>1&&!s.hasClass("et_slider_hovered")&&(o=setTimeout((function(){s.et_slider_move_to("next")}),r.slideshow_speed)))}function x(){var t=s,e=t.find(".et-pb-active-slide .et_pb_slide_image"),n=e.find("img"),i=t.find(".et-pb-active-slide .et_pb_slide_video"),a=e.closest(".et_pb_slide"),o=a.closest(".et_pb_slider"),r=parseFloat(o.innerHeight()),c=parseFloat(.8*r),l=parseFloat(e.height()),_=parseFloat(i.height()),d=k().children(".et_pb_module:visible").first(),u=d.find(".et_pb_slide .et_pb_container"),p=k().is(".et_pb_fullwidth_section"),f=parseFloat(u.height()),h=parseFloat(.8*f);isNaN(c)||(e.find("img").css("maxHeight","".concat(c,"px")),l=parseInt(e.height()),window.et_is_transparent_nav&&d.is(".et_pb_slider")&&p&&(e.find("img").css("maxHeight","".concat(h,"px")),l=parseInt(e.height()))),!isNaN(l)&&a.hasClass("et_pb_media_alignment_center")&&(e.css("marginTop","-".concat(l/2,"px")),n.data("hasLoadEvent")||(n.data("hasLoadEvent",!0),n.on("load",(function(){l=parseFloat(e.height()),e.css("marginTop","-".concat(l/2,"px"))})))),isNaN(_)||i.css("marginTop","-".concat(_/2,"px"))}function C(t){return t.hasClass("et_pb_bg_layout_light")?"et_pb_bg_layout_light":"et_pb_bg_layout_dark"}r.slideshow&&l>1&&s.on("mouseenter.et_pb_simple_slider",(function(){s.hasClass("et_slider_auto_ignore_hover")||(s.addClass("et_slider_hovered"),void 0!==o&&clearTimeout(o))})).on("mouseleave.et_pb_simple_slider",(function(){s.hasClass("et_slider_auto_ignore_hover")||(s.removeClass("et_slider_hovered"),y())})),y(),s.et_slider_destroy=function(){void 0!==o&&clearTimeout(o),v=!0,s.off(".et_pb_simple_slider"),s.find(".et_pb_slide").css({"z-index":"",display:"",opacity:""}),s.find(".et-pb-active-slide").removeClass("et-pb-active-slide"),s.find(".et-pb-moved-slide").removeClass("et-pb-moved-slide"),s.find(".et-pb-slider-arrows, .et-pb-controllers").remove(),s.siblings(".et_pb_carousel, .et-pb-controllers").remove(),s.removeData("et_pb_simple_slider")},s.et_fix_slider_content_images=x,window.et_load_event_fired?"function"==typeof et_fix_slider_height&&et_fix_slider_height(s):f.on("load",(function(){"function"==typeof et_fix_slider_height&&et_fix_slider_height(s)})),f.on("resize.et_simple_slider",(function(){et_fix_slider_height(s)})),s.et_slider_move_to=function(t){var e=(c=s.closest_descendent(r.slide)).eq(u);if(s.et_animation_running=!0,s.removeClass("et_slide_transition_to_next et_slide_transition_to_previous").addClass("et_slide_transition_to_".concat(t)),s.find(".et-pb-moved-slide").removeClass("et-pb-moved-slide"),"next"===t||"previous"===t)u="next"===t?u+1=0?u-1:l-1;else{if(u===t)return s.find(".et-pb-inactive-slide").css({"z-index":"",display:"",opacity:0}),e.css({display:"block",opacity:1}).data("slide-status","active"),void(s.et_animation_running=!1);u=t}s.attr("data-active-slide",c.eq(u).data("slide-id")),void 0!==o&&clearTimeout(o);var p=c.eq(u);s.trigger("slide",{current:e,next:p}),void 0!==e.find("video")[0]&&void 0!==e.find("video")[0].player&&e.find("video")[0].player.pause(),void 0!==p.find("video")[0]&&void 0!==p.find("video")[0].player&&p.find("video")[0].player.play();var f,h,v,m=e.find(".et_pb_video_box iframe");if(m.length){var g=m.attr("src");g=(g=(g=g.replace(/\?autoplay=1$/,"")).replace(/\?autoplay=1&(amp;)?/,"?")).replace(/&(amp;)?autoplay=1/,""),setTimeout((function(){m.attr({src:g})}),r.fade_speed),m.parents(".et_pb_video_box").next(".et_pb_video_overlay").css({display:"block",opacity:1})}s.trigger("simple_slider_before_move_to",{direction:t,next_slide:p}),c.each((function(){n(this).css("zIndex",1)})),e.css("zIndex",2).removeClass("et-pb-active-slide").addClass("et-pb-moved-slide").data("slide-status","inactive"),p.css({display:"block",opacity:0}).addClass("et-pb-active-slide").data("slide-status","active"),h=(f=s).find(".et-pb-active-slide .et_pb_slide_video"),v=parseFloat(h.height()),f.find(".et_pb_slide_video .wp-video-shortcode").css({width:"",height:""}),isNaN(v)||h.css("marginTop","-".concat(v/2,"px")),x(),b&&setTimeout((function(){var t=n(".et_pb_circle_counter"),e=n(".et_pb_number_counter");window.et_fix_testimonial_inner_width(),t.length&&window.et_pb_reinit_circle_counters(t),e.length&&window.et_pb_reinit_number_counters(e),window.et_reinit_waypoint_modules()}),1e3),r.use_controls&&i.removeClass(r.control_active_class).eq(u).addClass(r.control_active_class),r.use_carousel&&a&&a.removeClass(r.control_active_class).eq(u).addClass(r.control_active_class),r.tabs_animation?(p.css({display:"none",opacity:0}),e.addClass("et_slide_transition").css({display:"block",opacity:1}).animate({opacity:0},_,(function(){n(this).css("display","none").removeClass("et_slide_transition"),p.css({display:"block",opacity:0}).animate({opacity:1},_,(function(){s.et_animation_running=!1,s.trigger("simple_slider_after_move_to",{next_slide:p}),n(window).trigger("resize")}))}))):(p.stop(!0,!0).animate({opacity:1},_),e.stop(!0,!0).addClass("et_slide_transition").css({display:"list-item",opacity:1}).animate({opacity:0},_,(function(){var t,i,a,o=C(e),r=C(p);d.isBuilder?n(this).removeClass("et_slide_transition"):n(this).css("display","none").removeClass("et_slide_transition"),(t=e).has("iframe").length?(a=(i=t.find("iframe")).attr("src"),i.attr("src",""),i.attr("src",a)):t.has("video").length&&(t.find(".et_pb_section_video_bg").length||(i=t.find("video"))[0].pause()),s.removeClass(o).addClass(r),s.et_animation_running=!1,s.hasClass("et_pb_gallery")&&"none"===p.css("maxHeight")&&p.css("maxHeight",p.outerHeight()),s.trigger("simple_slider_after_move_to",{next_slide:p})}))),p.find(".et_parallax_bg").length&&window.et_pb_parallax_init(p.find(".et_parallax_bg")),y()}},n.fn.et_pb_simple_slider=function(t){return this.each((function(){return n.data(this,"et_pb_simple_slider")||new n.et_pb_simple_slider(this,t)}))};var e="||",l="|";function C(t){var i=t.split(l)[0];if(n("#".concat(i)).length){if(window.location.hash){var a=window.location.hash.substring(1),o=[];if(-1!==a.indexOf(e,0)){for(var r=a.split(e),s=!1,c=0;c0||e.find("audio").mediaelementplayer(window._wpmejsSettings)}))}n.et_pb_simple_carousel=function(t,e){var i=n.extend({slide_duration:500},e),a=n(t),o=a.find(".et_pb_carousel_items"),r=o.find(".et_pb_carousel_item");function s(t){r.width();var e=r.height();t.parent().hasClass("et_pb_with_border")&&(e=r.outerHeight()),o.css("height","".concat(e,"px"))}function c(t){var e=3,i=t.parents('.et_pb_column:not(".et_pb_specialty_column")');if(i.hasClass("et_pb_column_4_4")||i.hasClass("et_pb_column_3_4")||i.hasClass("et_pb_column_2_3")?f.width()>=768&&(e=4):i.hasClass("et_pb_column_1_4")?f.width()<=480&&f.width()>=980&&(e=2):i.hasClass("et_pb_column_3_5")?e=4:(i.hasClass("et_pb_column_1_5")||i.hasClass("et_pb_column_1_6"))&&(e=2),e!==o.data("portfolio-columns")&&!t.data("columns_setting_up")){t.data("columns_setting_up",!0),o.removeClass("columns-".concat(o.data("portfolio-columns"))),o.addClass("columns-".concat(e)),o.data("portfolio-columns",e),o.find(".et-carousel-group").length&&(r.appendTo(o),o.find(".et-carousel-group").remove());var a=o.data("items"),s=n('"),c(a),s(a),a.find(".et-pb-arrow-next"),a.find(".et-pb-arrow-prev"),a.on("click",".et-pb-arrow-next",(function(){return a.et_animation_running||a.et_carousel_move_to("next"),!1})),a.on("click",".et-pb-arrow-prev",(function(){return a.et_animation_running||a.et_carousel_move_to("previous"),!1})),a.on("swipeleft",(function(){a.et_carousel_move_to("next")})),a.on("swiperight",(function(){a.et_carousel_move_to("previous")})),a.et_carousel_move_to=function(t){var e=o.find(".et-carousel-group.active"),s=o.data("items"),c=o.data("portfolio-columns");a.et_animation_running=!0;var l=0;e.children().each((function(){n(this).css({position:"absolute",left:"".concat(l,"px")}),l+=n(this).outerWidth(!0)})),n("body").addClass("et-pb-is-sliding-carousel");var _=e.find(".et_pb_carousel_item").length,d=0;if("next"==t){var u,p=1,f=1,h=C=(x=s.indexOf(e.children().first()[0]))+c,b=h+c;(u=n('