File: /home/lesanew/www/wp-content/plugins/neobeat-core/assets/js/neobeat-core.min.js
!function(l){"use strict";"object"!=typeof qodef&&(window.qodef={}),window.qodefCore={},qodefCore.shortcodes={},qodefCore.listShortcodesScripts={qodefSwiper:qodef.qodefSwiper,qodefPagination:qodef.qodefPagination,qodefFilter:qodef.qodefFilter,qodefMasonryLayout:qodef.qodefMasonryLayout,qodefJustifiedGallery:qodef.qodefJustifiedGallery},qodefCore.body=l("body"),qodefCore.html=l("html"),qodefCore.windowWidth=l(window).width(),qodefCore.windowHeight=l(window).height(),qodefCore.scroll=0,l(document).ready(function(){qodefCore.scroll=l(window).scrollTop(),e.init(),setTimeout(function(){t.init()},10)}),l(window).resize(function(){qodefCore.windowWidth=l(window).width(),qodefCore.windowHeight=l(window).height()}),l(window).scroll(function(){qodefCore.scroll=l(window).scrollTop()});var n={disable:function(){window.addEventListener&&window.addEventListener("wheel",n.preventDefaultValue,{passive:!1}),document.onkeydown=n.keyDown},enable:function(){window.removeEventListener&&window.removeEventListener("wheel",n.preventDefaultValue,{passive:!1}),window.onmousewheel=document.onmousewheel=document.onkeydown=null},preventDefaultValue:function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1},keyDown:function(e){for(var o=[37,38,39,40],t=o.length;t--;)if(e.keyCode===o[t])return void n.preventDefaultValue(e)}};qodefCore.qodefScroll=n;var o={init:function(e){e.length&&o.qodefInitScroll(e)},qodefInitScroll:function(e){var o=new PerfectScrollbar(e[0],{wheelSpeed:.6,suppressScrollX:!0});l(window).resize(function(){o.update()})}};qodefCore.qodefPerfectScrollbar=o;var e={init:function(){var e;this.holder=l("#neobeat-core-page-inline-style"),!this.holder.length||(e=this.holder.data("style")).length&&l("head").append('<style type="text/css">'+e+"</style>")}},t={init:function(e,r,a,d){var s=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,c=window.cancelAnimationFrame||window.mozCancelAnimationFrame;r=r||".qodef-e-blur-target img",a=a||5,d=d||.05,l(e=e||".qodef--enabled-blur .qodef-e-blur-trigger").on("mouseenter",function(){var t,n=l(this),i=0;s(function e(){var o=a*(Math.sin(i+=d)+1/a);if(0!=Math.round(t)){if(n.find(r).css({filter:"blur("+o+"px)"}),t=o,!(Math.round(t)<=a+1/a))return c(e),!1;s(e)}}),l(e).on("mouseleave",function(){s(function e(){var o=a*(Math.sin(i-=1.5*d)+1/a);if(0!=Math.round(t)){if(n.find(r).css({filter:"blur("+o+"px)"}),t=o,!(0<Math.round(t)))return n.find(r).css({filter:"blur(0px)"}),c(e),!1;s(e)}})})})}};qodefCore.qodefBlur=t}(jQuery),function(r){"use strict";r(document).ready(function(){a.init()});var a={init:function(){this.holder=r("#qodef-back-to-top"),this.holder.length&&(this.holder.on("click",function(e){e.preventDefault(),a.animateScrollToTop()}),a.showHideBackToTop(),a.changeSkin())},animateScrollToTop:function(){function o(){var e;0!==i&&(i<1e-4&&(i=0),e=a.easingFunction((n-i)/n),r("html, body").scrollTop(n-(n-i)*e),i*=.9,t=requestAnimationFrame(o))}var t,n=qodef.scroll,i=qodef.scroll;o(),r(window).one("wheel touchstart",function(){cancelAnimationFrame(t)})},easingFunction:function(e){return 0==e?0:Math.pow(1024,e-1)},showHideBackToTop:function(){r(window).scroll(function(){var e=r(this),o=e.scrollTop(),e=e.height(),e=0<o?o+e/2:1;e<1e3?a.addClass("off"):a.addClass("on")})},addClass:function(e){this.holder.removeClass("qodef--off qodef--on"),"on"===e?this.holder.addClass("qodef--on"):this.holder.addClass("qodef--off")},changeSkin:function(){var t=r("#qodef-back-to-top"),e=r(".qodef-row-btt-light, #qodef-page-footer:not(.qodef-footer--light)"),o=!1,n=new Array;t.length&&e.length&&r(window).scroll(function(){e.length&&(e.each(function(e){var o=r(this);qodef.scroll+t.position().top>=o.offset().top&&qodef.scroll+t.position().top<=o.offset().top+o.outerHeight()?n[e]=!0:n[e]=!1}),-1!=jQuery.inArray(!0,n)?o||(t.addClass("qodef-light"),o=!0):o&&(t.removeClass("qodef-light"),o=!1))})}}}(jQuery),function(t){"use strict";t(document).ready(function(){n.init()});var n={init:function(){var e=t("a.qodef-fullscreen-menu-opener"),o=t(".qodef-fullscreen-menu-holder nav ul li a");e.on("click",function(e){e.preventDefault(),qodef.body.hasClass("qodef-fullscreen-menu--opened")?n.closeFullscreen():(n.openFullscreen(),t(document).keyup(function(e){27===e.keyCode&&n.closeFullscreen()}))}),o.on("tap click",function(e){var o=t(this);o.parent().hasClass("menu-item-has-children")?(e.preventDefault(),n.clickItemWithChild(o)):"http://#"!==t(this).attr("href")&&"#"!==t(this).attr("href")&&n.closeFullscreen()})},openFullscreen:function(){qodef.body.removeClass("qodef-fullscreen-menu-animate--out").addClass("qodef-fullscreen-menu--opened qodef-fullscreen-menu-animate--in"),qodefCore.qodefScroll.disable()},closeFullscreen:function(){qodef.body.removeClass("qodef-fullscreen-menu--opened qodef-fullscreen-menu-animate--in").addClass("qodef-fullscreen-menu-animate--out"),qodefCore.qodefScroll.enable(),t("nav.qodef-fullscreen-menu ul.sub_menu").slideUp(200)},clickItemWithChild:function(e){var o=e.parent(),e=o.find(".sub-menu").first();e.is(":visible")?e.slideUp(300):(e.slideDown(300),o.siblings().find(".sub-menu").slideUp(400))}}}(jQuery),function(){"use strict";jQuery(document).ready(function(){e.init()});var e={appearanceType:function(){return-1!==qodefCore.body.attr("class").indexOf("qodef-header-appearance--")?qodefCore.body.attr("class").match(/qodef-header-appearance--([\w]+)/)[1]:""},init:function(){var e=this.appearanceType();""!==e&&"none"!==e&&qodefCore[e+"HeaderAppearance"]()}}}(),function(d){"use strict";d(document).ready(function(){e.init()});var e={init:function(){e.dropdownBehavior(),e.wideDropdownPosition(),e.dropdownPosition()},dropdownBehavior:function(){d(".qodef-header-navigation > ul > li").each(function(){var t=d(this);t.find(".qodef-drop-down-second").length&&t.waitForImages(function(){var e=t.find(".qodef-drop-down-second"),o=e.find(".qodef-drop-down-second-inner ul").outerHeight();navigator.userAgent.match(/(iPod|iPhone|iPad)/)?t.on("touchstart mouseenter",function(){e.css({height:o,overflow:"visible",visibility:"visible",opacity:"1"})}).on("mouseleave",function(){e.css({height:"0px",overflow:"hidden",visibility:"hidden",opacity:"0"})}):qodefCore.body.hasClass("qodef-drop-down-second--animate-height")?t.hoverIntent({interval:0,over:function(){setTimeout(function(){e.addClass("qodef-drop-down--start").css({visibility:"visible",height:"0",opacity:"1"}),e.stop().animate({height:o},400,"easeInOutQuint",function(){e.css("overflow","visible")})},100)},timeout:100,out:function(){e.stop().animate({height:"0",opacity:0},100,function(){e.css({overflow:"hidden",visibility:"hidden"})}),e.removeClass("qodef-drop-down--start")}}):t.hoverIntent({interval:0,over:function(){setTimeout(function(){e.addClass("qodef-drop-down--start").stop().css({height:o})},150)},timeout:150,out:function(){e.stop().css({height:"0"}).removeClass("qodef-drop-down--start")}})})})},wideDropdownPosition:function(){var e=d(".qodef-header-navigation > ul > li.qodef-menu-item--wide");e.length&&e.each(function(){var e,o,t=d(this).find(".qodef-drop-down-second");t.length&&(t.css("left",0),e=t.offset().left,qodefCore.body.hasClass("qodef--boxed")?(o=d(".qodef--boxed #qodef-page-wrapper").outerWidth(),e-=(qodefCore.windowWidth-o)/2,t.css({left:-e,width:o})):qodefCore.body.hasClass("qodef-drop-down-second--full-width")?t.css({left:-e}):t.css({left:-e+(qodefCore.windowWidth-t.width())/2}))})},dropdownPosition:function(){var e=d(".qodef-header-navigation > ul > li.qodef-menu-item--narrow.menu-item-has-children");e.length&&e.each(function(){var e,o=d(this),t=o.offset().left,n=o.find(".qodef-drop-down-second"),i=n.find(".qodef-drop-down-second-inner ul"),r=i.outerWidth(),a=d(window).width()-t;qodef.body.hasClass("qodef--boxed")&&(a=d(".qodef--boxed #qodef-page-wrapper").outerWidth()-t),0<o.find("li.menu-item-has-children").length&&(e=a-r),n.removeClass("qodef-drop-down--right"),i.removeClass("qodef-drop-down--right"),(a<r||e<r)&&(n.addClass("qodef-drop-down--right"),i.addClass("qodef-drop-down--right"))})}}}(jQuery),function(n){"use strict";n(document).ready(function(){i.init()});var i={init:function(){var e=n("a.qodef-side-area-opener"),o=n("#qodef-side-area-close"),t=n("#qodef-side-area");i.openerHoverColor(e),e.on("click",function(e){e.preventDefault(),qodef.body.hasClass("qodef-side-area--opened")?i.closeSideArea():(i.openSideArea(),n(document).keyup(function(e){27===e.keyCode&&i.closeSideArea()}))}),o.on("click",function(e){e.preventDefault(),i.closeSideArea()}),t.length&&"object"==typeof window.qodefCore.qodefPerfectScrollbar&&window.qodefCore.qodefPerfectScrollbar.init(t)},openSideArea:function(){var e=n("#qodef-page-wrapper"),o=n(window).scrollTop();n(".qodef-side-area-cover").remove(),e.prepend('<div class="qodef-side-area-cover"/>'),qodef.body.removeClass("qodef-side-area-animate--out").addClass("qodef-side-area--opened qodef-side-area-animate--in"),n(".qodef-side-area-cover").on("click",function(e){e.preventDefault(),i.closeSideArea()}),n(window).scroll(function(){400<Math.abs(qodef.scroll-o)&&i.closeSideArea()})},closeSideArea:function(){qodef.body.removeClass("qodef-side-area--opened qodef-side-area-animate--in").addClass("qodef-side-area-animate--out")},openerHoverColor:function(e){var o,t;void 0!==e.data("hover-color")&&(o=e.data("hover-color"),t=e.css("color"),e.on("mouseenter",function(){e.css("color",o)}).on("mouseleave",function(){e.css("color",t)}))}}}(jQuery),function(n){"use strict";n(document).ready(function(){i.init()});var i={init:function(){var e,o,t;qodef.body.hasClass("qodef-mobile-header-appearance--sticky")&&(e=qodef.scroll,o=qodefGlobal.vars.mobileHeaderHeight+qodefGlobal.vars.adminBarHeight,t=n("#qodef-page-outer"),i.showHideMobileHeader(e,o,t),n(window).scroll(function(){i.showHideMobileHeader(e,o,t),e=qodef.scroll}),n(window).resize(function(){t.css("padding-top",0),i.showHideMobileHeader(e,o,t)}))},showHideMobileHeader:function(e,o,t){qodef.windowWidth<=1024&&(qodef.scroll>2*o?(qodef.body.addClass("qodef-mobile-header--sticky"),setTimeout(function(){qodef.body.addClass("qodef-mobile-header--sticky-animation")},300),t.css("padding-top",qodefGlobal.vars.mobileHeaderHeight)):(qodef.body.removeClass("qodef-mobile-header--sticky"),setTimeout(function(){qodef.body.removeClass("qodef-mobile-header--sticky-animation")},300),t.css("padding-top",0)),qodef.scroll>e&&qodef.scroll>o||qodef.scroll<3*o?qodef.body.removeClass("qodef-mobile-header--sticky-display"):qodef.body.addClass("qodef-mobile-header--sticky-display"))}}}(jQuery),function(i){"use strict";i(window).on("elementor/frontend/init",function(){Boolean(elementorFrontend.isEditMode())&&t.fadeOutLoader(i("#qodef-page-spinner:not(.qodef--custom-spinner)"))}),i(document).ready(function(){t.init()});var t={init:function(){this.holder=i("#qodef-page-spinner:not(.qodef--custom-spinner)"),this.holder.length&&t.animateSpinner(this.holder)},animateSpinner:function(e){e.hasClass("qodef-layout--predefined")&&(setTimeout(function(){e.find(".qodef-m-predefined").addClass("qodef-visible")},10),setTimeout(function(){e.find(".qodef-m-predefined-spinner-image img").css({filter:"none"})},20));var o=i("#qodef-main-rev-holder");i(window).on("load",function(){t.fadeOutLoader(e),o.length&&setTimeout(function(){o.find("rs-module").revstart()},1800)})},fadeOutLoader:function(o,t,e,n){t=t||900,n=n||"swing",o.delay(e=e||1700).fadeOut(t,n),i(window).on("bind","pageshow",function(e){e.originalEvent.persisted&&o.fadeOut(t,n)})}}}(jQuery),function(n){"use strict";n(window).on("load",function(){i.init()});var i={init:function(e){this.$sections=n(".qodef-parallax"),n.extend(this.$sections,e);e=!qodefCore.html.hasClass("touchevents")&&!qodefCore.body.hasClass("qodef-browser--edge")&&!qodefCore.body.hasClass("qodef-browser--ms-explorer");this.$sections.length&&e&&this.$sections.each(function(){i.ready(n(this))})},ready:function(e){e.$imgHolder=e.find(".qodef-parallax-img-holder"),e.$imgWrapper=e.find(".qodef-parallax-img-wrapper"),e.$img=e.find("img");var o=e.height(),t=e.$imgWrapper.height();e.movement=100*(t-o)/o/2,e.buffer=window.pageYOffset,e.scrollBuffer=null,requestAnimationFrame(function(){e.$imgHolder.animate({opacity:1},100),i.calc(e),i.loop(e)}),n(window).on("resize",function(){i.calc(e)})},calc:function(e){var o=e.$imgWrapper.height(),t=e.$imgWrapper.width();e.$img.width()<t&&e.$img.css({width:"100%",height:"auto"}),e.$img.height()<o&&e.$img.css({height:"100%",width:"auto","max-width":"unset"})},loop:function(e){if(e.scrollBuffer===Math.round(window.pageYOffset))return requestAnimationFrame(function(){i.loop(e)}),!1;e.scrollBuffer=Math.round(window.pageYOffset);var o=window.outerHeight,t=e.offset().top,n=e.height();e.scrollBuffer+1.2*o>t&&e.scrollBuffer<t+n&&(n=((o=(Math.abs(e.scrollBuffer+o-t)/(o+n)).toFixed(4))*e.movement*1.6).toFixed(4),e.buffer!==o&&e.$imgWrapper.css("transform","translate3d(0,"+n+"%, 0)"),e.buffer=o),requestAnimationFrame(function(){i.loop(e)})}};qodefCore.qodefParallaxBackground=i}(jQuery),function(r){"use strict";r(document).ready(function(){t.init()});var t={init:function(){var e=r(".qodef-website-song"),o=e.find("audio").get(0);e.length&&(e.each(function(){e.on("click",function(){e.hasClass("qodef-track-in-progress")?(o.pause(),e.addClass("qodef-track-paused").removeClass("qodef-track-in-progress"),r(".qodef-equalizer-bar").addClass("noAnim")):(e.hasClass("qodef-track-paused")?(o.play(),e.addClass("qodef-track-playing qodef-track-in-progress").removeClass("qodef-track-paused")):(o.play(),e.addClass("qodef-track-playing qodef-track-in-progress")),r(".qodef-equalizer-bar").removeClass("noAnim"))}),e.find("audio").on("bind","ended",function(){o.play()})}),t.changeSkin())},changeSkin:function(){function e(){o.length&&(o.each(function(e){var o=r(this);qodef.scroll+t.position().top>=o.offset().top&&qodef.scroll+t.position().top<=o.offset().top+o.outerHeight()?i[e]=!0:i[e]=!1}),-1!=jQuery.inArray(!0,i)?n||(t.addClass("qodef-light"),n=!0):n&&(t.removeClass("qodef-light"),n=!1))}var t=r(".qodef-m-website-song"),o=r(".qodef-row-btt-light, #qodef-page-footer:not(.qodef-footer--light)"),n=!1,i=new Array;t.length&&o.length&&(r(document).ready(function(){e()}),r(window).scroll(function(){e()}))}}}(jQuery),function(n){"use strict";qodefCore.shortcodes.neobeat_core_accordion={},n(document).ready(function(){o.init()});var o={init:function(){this.holder=n(".qodef-accordion"),this.holder.length&&this.holder.each(function(){var e=n(this);e.hasClass("qodef-behavior--accordion")&&o.initAccordion(e),e.hasClass("qodef-behavior--toggle")&&o.initToggle(e),e.addClass("qodef--init")})},initAccordion:function(e){e.accordion({animate:"swing",collapsible:!0,active:0,icons:"",heightStyle:"content"})},initToggle:function(e){var o=e.find(".qodef-accordion-title"),t=o.next();e.addClass("accordion ui-accordion ui-accordion-icons ui-widget ui-helper-reset"),o.addClass("ui-accordion-header ui-state-default ui-corner-top ui-corner-bottom"),t.addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),o.each(function(){var e=n(this);e.hover(function(){e.toggleClass("ui-state-hover")}),e.on("click",function(){e.toggleClass("ui-accordion-header-active ui-state-active ui-state-default ui-corner-bottom"),e.next().toggleClass("ui-accordion-content-active").slideToggle(400)})})}};qodefCore.shortcodes.neobeat_core_accordion.qodefAccordion=o}(jQuery),function(o){"use strict";qodefCore.shortcodes.neobeat_core_button={},o(document).ready(function(){n.init()});var n={init:function(){this.buttons=o(".qodef-button"),this.buttons.length&&this.buttons.each(function(){var e=o(this);n.buttonHoverColor(e),n.buttonHoverBgColor(e),n.buttonHoverBorderColor(e),n.buttonHoverShadowColor(e)})},buttonHoverColor:function(e){var o,t;void 0!==e.data("hover-color")&&(o=e.data("hover-color"),t=e.css("color"),e.on("mouseenter",function(){n.changeColor(e,"color",o)}),e.on("mouseleave",function(){n.changeColor(e,"color",t)}))},buttonHoverBgColor:function(e){var o,t;void 0!==e.data("hover-background-color")&&(o=e.data("hover-background-color"),t=e.css("background-color"),e.on("mouseenter",function(){n.changeColor(e,"background-color",o)}),e.on("mouseleave",function(){n.changeColor(e,"background-color",t)}))},buttonHoverBorderColor:function(e){var o,t;void 0!==e.data("hover-border-color")&&(o=e.data("hover-border-color"),t=e.css("borderTopColor"),e.on("mouseenter",function(){n.changeColor(e,"border-color",o)}),e.on("mouseleave",function(){n.changeColor(e,"border-color",t)}))},buttonHoverShadowColor:function(e){var o,t;void 0!==e.data("shadow-color")&&(o=e.data("shadow-color"),t=e.css("box-shadow"),e.on("mouseenter",function(){e.css("box-shadow","0px 10px 25px 0px "+o)}),e.on("mouseleave",function(){e.css("box-shadow",t)}))},changeColor:function(e,o,t){e.css(o,t)}};qodefCore.shortcodes.neobeat_core_button.qodefButton=n}(jQuery),function(a){"use strict";qodefCore.shortcodes.neobeat_core_countdown={},a(document).ready(function(){t.init()});var t={init:function(){this.countdowns=a(".qodef-countdown"),this.countdowns.length&&this.countdowns.each(function(){var e=a(this),o=e.find(".qodef-m-date"),e=t.generateOptions(e);t.initCountdown(o,e)})},generateOptions:function(e){var o={};return o.date=void 0!==e.data("date")?e.data("date"):null,o.dayLabel=void 0!==e.data("day-label")?e.data("day-label"):"",o.dayLabelPlural=void 0!==e.data("day-label-plural")?e.data("day-label-plural"):"",o.hourLabel=void 0!==e.data("hour-label")?e.data("hour-label"):"",o.hourLabelPlural=void 0!==e.data("hour-label-plural")?e.data("hour-label-plural"):"",o.minuteLabel=void 0!==e.data("minute-label")?e.data("minute-label"):"",o.minuteLabelPlural=void 0!==e.data("minute-label-plural")?e.data("minute-label-plural"):"",o.secondLabel=void 0!==e.data("second-label")?e.data("second-label"):"",o.secondLabelPlural=void 0!==e.data("second-label-plural")?e.data("second-label-plural"):"",o},initCountdown:function(e,o){var t='<span class="qodef-digit-wrapper"><span class="qodef-digit">%D</span><span class="qodef-label">%!D:'+o.dayLabel+","+o.dayLabelPlural+";</span></span>",n='<span class="qodef-digit-wrapper"><span class="qodef-digit">%H</span><span class="qodef-label">%!H:'+o.hourLabel+","+o.hourLabelPlural+";</span></span>",i='<span class="qodef-digit-wrapper"><span class="qodef-digit">%M</span><span class="qodef-label">%!M:'+o.minuteLabel+","+o.minuteLabelPlural+";</span></span>",r='<span class="qodef-digit-wrapper"><span class="qodef-digit">%S</span><span class="qodef-label">%!S:'+o.secondLabel+","+o.secondLabelPlural+";</span></span>";e.countdown(o.date,function(e){a(this).html(e.strftime(t+n+i+r))})}};qodefCore.shortcodes.neobeat_core_countdown.qodefCountdown=t}(jQuery),function(r){"use strict";qodefCore.shortcodes.neobeat_core_counter={},r(document).ready(function(){t.init()});var t={init:function(){this.counters=r(".qodef-counter"),this.counters.length&&this.counters.each(function(){var e=r(this),o=e.find(".qodef-m-digit"),e=t.generateOptions(e);t.counterScript(o,e)})},generateOptions:function(e){var o={};return o.start=void 0!==e.data("start-digit")&&""!==e.data("start-digit")?e.data("start-digit"):0,o.end=void 0!==e.data("end-digit")&&""!==e.data("end-digit")?e.data("end-digit"):null,o.step=void 0!==e.data("step-digit")&&""!==e.data("step-digit")?e.data("step-digit"):1,o.delay=void 0!==e.data("step-delay")&&""!==e.data("step-delay")?parseInt(e.data("step-delay"),10):100,o.txt=void 0!==e.data("digit-label")&&""!==e.data("digit-label")?e.data("digit-label"):"",o},counterScript:function(e,o){var t=r.extend({start:0,end:null,step:1,delay:100,txt:""},o||{}),n=t.start,i=t.end;e.text(n+t.txt);setInterval(function(){null!==i&&i<=n||(n+=t.step,i<=n&&(n=i),e.text(n+t.txt))},t.delay)}};qodefCore.shortcodes.neobeat_core_counter.qodefCounter=t}(jQuery),function(e){"use strict";qodefCore.shortcodes.neobeat_core_custom_font={},e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-custom-font.qodef-has-animation"),this.holder.length&&this.holder.each(function(){o.qodefCustomFontAppear(e(this))})},qodefCustomFontAppear:function(e){e.appear(function(){e.addClass("qodef--appear")},{accX:0,accY:100})}};qodefCore.shortcodes.neobeat_core_custom_font.qodefCustomFont=o}(jQuery),function(e){"use strict";qodefCore.shortcodes.neobeat_core_google_map={},e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-google-map"),this.holder.length&&this.holder.each(function(){void 0!==qodefCore.qodefGoogleMap&&qodefCore.qodefGoogleMap.initMap(e(this).find(".qodef-m-map"))})}};qodefCore.shortcodes.neobeat_core_google_map.qodefGoogleMap=o}(jQuery),function(o){"use strict";qodefCore.shortcodes.neobeat_core_icon={},o(document).ready(function(){r.init()});var r={init:function(){this.icons=o(".qodef-icon-holder"),this.icons.length&&this.icons.each(function(){var e=o(this);r.iconStroke(e),r.iconHoverColor(e),r.iconHoverBgColor(e),r.iconHoverBorderColor(e)})},iconStroke:function(e){var o,t,n,i;e.hasClass("qodef-has--circle-hover")&&(o=e.find("span").css("color"),t=e.data("hover-color"),i=(n=e.find("svg")).css("width").replace(/[^-\d\.]/g,""),i=Math.ceil(3.15*i),r.changeStroke(n,i),setTimeout(function(){r.changeColor(n,"opacity",.5)},500),void 0!==e.data("hover-color")&&(e.on("mouseenter",function(){r.changeColor(n,"color",t)}),e.on("mouseleave",function(){r.changeColor(n,"color",o)})))},iconHoverColor:function(e){var o,t,n;void 0!==e.data("hover-color")&&(o=e.find("span"),t=o.css("color"),n=e.data("hover-color"),e.on("mouseenter",function(){r.changeColor(o,"color",n)}),e.on("mouseleave",function(){r.changeColor(o,"color",t)}))},iconHoverBgColor:function(e){var o,t;void 0!==e.data("hover-background-color")&&(o=e.data("hover-background-color"),t=e.css("background-color"),e.on("mouseenter",function(){r.changeColor(e,"background-color",o)}),e.on("mouseleave",function(){r.changeColor(e,"background-color",t)}))},iconHoverBorderColor:function(e){var o,t;void 0!==e.data("hover-border-color")&&(o=e.data("hover-border-color"),t=e.css("borderTopColor"),e.on("mouseenter",function(){r.changeColor(e,"border-color",o)}),e.on("mouseleave",function(){r.changeColor(e,"border-color",t)}))},changeColor:function(e,o,t){e.css(o,t)},changeStroke:function(e,o){e.css({"stroke-dashoffset":o,"stroke-dasharray":o})}};qodefCore.shortcodes.neobeat_core_icon.qodefIcon=r}(jQuery),function(){"use strict";qodefCore.shortcodes.neobeat_core_icon_with_text={},qodefCore.shortcodes.neobeat_core_icon_with_text.qodefAppear=qodef.qodefAppear}(jQuery),function(){"use strict";qodefCore.shortcodes.neobeat_core_image_gallery={},qodefCore.shortcodes.neobeat_core_image_gallery.qodefSwiper=qodef.qodefSwiper,qodefCore.shortcodes.neobeat_core_image_gallery.qodefMasonryLayout=qodef.qodefMasonryLayout}(jQuery),function(){"use strict";qodefCore.shortcodes.neobeat_core_image_with_text={},qodefCore.shortcodes.neobeat_core_image_with_text.qodefMagnificPopup=qodef.qodefMagnificPopup,qodefCore.shortcodes.neobeat_core_image_with_text.qodefAppear=qodef.qodefAppear}(jQuery),function(e){"use strict";qodefCore.shortcodes.neobeat_core_progress_bar={},e(document).ready(function(){r.init()});var r={init:function(){this.holder=e(".qodef-progress-bar"),this.holder.length&&this.holder.each(function(){var n=e(this),i=n.data("layout");n.appear(function(){n.addClass("qodef--init");var e=n.find(".qodef-m-canvas"),o=r.generateBarData(n,i),t=n.data("number")/100;switch(i){case"circle":r.initCircleBar(e,o,t);break;case"semi-circle":r.initSemiCircleBar(e,o,t);break;case"line":o=r.generateLineData(n,t),r.initLineBar(e,o);break;case"custom":r.initCustomBar(e,o,t)}})})},generateBarData:function(e,t){var o=e.data("active-line-width"),n=e.data("active-line-color"),i=e.data("inactive-line-width"),r=e.data("inactive-line-color");return{strokeWidth:o,color:n,trailWidth:i,trailColor:r,easing:"linear",duration:void 0!==e.data("duration")&&""!==e.data("duration")?parseInt(e.data("duration"),10):1600,svgStyle:{width:"100%",height:"100%"},text:{style:{color:e.data("text-color")},autoStyleContainer:!1},from:{color:r},to:{color:n},step:function(e,o){"custom"!==t&&o.setText(Math.round(100*o.value())+"%")}}},generateLineData:function(e,o){var t=e.data("active-line-width"),n=e.data("active-line-color"),i=e.data("inactive-line-width"),r=e.data("inactive-line-color"),a=void 0!==e.data("duration")&&""!==e.data("duration")?parseInt(e.data("duration"),10):1600,d=e.data("text-color");return{percentage:100*o,duration:a,fillBackgroundColor:n,backgroundColor:r,height:t,inactiveHeight:i,followText:e.hasClass("qodef-percentage--floating"),textColor:d}},initCircleBar:function(e,o,t){new ProgressBar.Circle(e[0],o).animate(t)},initSemiCircleBar:function(e,o,t){new ProgressBar.SemiCircle(e[0],o).animate(t)},initCustomBar:function(e,o,t){o=new ProgressBar.Path(e[0],o);o.set(0),o.animate(t)},initLineBar:function(e,o){e.LineProgressbar(o)}};qodefCore.shortcodes.neobeat_core_progress_bar.qodefProgressBar=r}(jQuery),function(o){"use strict";qodefCore.shortcodes.neobeat_core_stacked_images={},o(document).ready(function(){t.init()});var t={init:function(){this.images=o(".qodef-stacked-images"),this.images.length&&this.images.each(function(){var e=o(this);t.animate(e)})},animate:function(e){var o=e.find(".qodef-m-images");e.animate({opacity:1},300),setTimeout(function(){e.appear(function(){o.addClass("qodef--appeared")})},200)}};qodefCore.shortcodes.neobeat_core_stacked_images.qodefStackedImages=t}(jQuery),function(n){"use strict";qodefCore.shortcodes.neobeat_core_tabs={},n(document).ready(function(){e.init()});var e={init:function(){this.holder=n(".qodef-tabs"),this.holder.length&&this.holder.each(function(){e.initTabs(n(this))})},initTabs:function(e){e.children(".qodef-tabs-content").each(function(e){e+=1;var o=n(this),t=o.attr("id"),o=o.parent().find(".qodef-tabs-navigation li:nth-child("+e+") a"),e=o.attr("href");-1<(t="#"+t).indexOf(e)&&o.attr("href",t)}),e.addClass("qodef--init").tabs()}};qodefCore.shortcodes.neobeat_core_tabs.qodefTabs=e}(jQuery),function(o){"use strict";qodefCore.shortcodes.neobeat_core_textual_icon_list={},o(document).ready(function(){i.init()});var i={init:function(){this.icons=o(".qodef-textual-icon-list .qodef-grid-item-inner"),this.icons.length&&this.icons.each(function(){var e=o(this);i.iconHoverColor(e)})},iconHoverColor:function(e){var o,t,n;void 0!==e.find(".qodef-m-icon").data("hover-color")&&(o=e.find(".qodef-m-icon"),t=o.css("color"),n=o.data("hover-color"),e.on("mouseenter",function(){i.changeColor(o,"color",n)}),e.on("mouseleave",function(){i.changeColor(o,"color",t)}))},changeColor:function(e,o,t){e.css(o,t)}};qodefCore.shortcodes.neobeat_core_textual_icon_list.qodefTextualIconList=i}(jQuery),function(n){"use strict";qodefCore.shortcodes.neobeat_vertical_split_slider={},n(document).ready(function(){i.init()});var i={init:function(){var e=n(".qodef-vertical-split-slider"),o=i.getBreakpoint(e),t="";qodef.body.hasClass("qodef-header--light")?t="light":qodef.body.hasClass("qodef-header--dark")&&(t="dark"),e.length&&(e.multiscroll({navigation:!0,navigationPosition:"right",afterRender:function(){qodef.body.addClass("qodef-vertical-split-slider--initialized"),i.bodyClassHandler(n(".ms-left .ms-section:first-child").data("header-skin"),t)},onLeave:function(e,o){i.bodyClassHandler(n(n(".ms-left .ms-section")[o-1]).data("header-skin"),t)}}),e.height(qodef.windowHeight),i.buildAndDestroy(o),n(window).resize(function(){i.buildAndDestroy(o)}))},getBreakpoint:function(e){return e.hasClass("qodef-disable-below--768")?768:1024},buildAndDestroy:function(e){qodef.windowWidth<=e?(n.fn.multiscroll.destroy(),n("html, body").css("overflow","initial"),qodef.body.removeClass("qodef-vertical-split-slider--initialized")):(n.fn.multiscroll.build(),qodef.body.addClass("qodef-vertical-split-slider--initialized"))},bodyClassHandler:function(e,o){void 0!==e&&""!==e||""!==o?qodef.body.removeClass("qodef-header--light qodef-header--dark").addClass("qodef-header--"+e):qodef.body.removeClass("qodef-header--light qodef-header--dark")}};qodefCore.shortcodes.neobeat_vertical_split_slider.qodefVerticalSplitSlider=i}(jQuery),function(){"use strict";qodefCore.shortcodes.masterds_core_video_button={},qodefCore.shortcodes.masterds_core_video_button.qodefMagnificPopup=qodef.qodefMagnificPopup}(jQuery),function(){"use strict";qodefCore.shortcodes.neobeat_core_video_slider={},qodefCore.shortcodes.neobeat_core_video_slider.qodefSwiper=qodef.qodefSwiper}(jQuery),function(){"use strict";qodefCore.shortcodes.neobeat_core_social_icon_list={}}(jQuery),function(e){"use strict";var t="neobeat_core_blog_list";qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&e.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o})}(jQuery),function(a){"use strict";a(document).ready(function(){o.init()});var o={initNavigation:function(e){e=e.find(".qodef-header-vertical-navigation");e.hasClass("qodef-vertical-drop-down--below")?o.dropdownClickToggle(e):e.hasClass("qodef-vertical-drop-down--side")&&o.dropdownFloat(e)},dropdownClickToggle:function(e){var r=e.find("ul li.menu-item-has-children");r.each(function(){var o=a(this).find(" > .qodef-drop-down-second, > ul"),t=this,n=a(this).find("> a"),i="fast";n.on("click tap",function(e){e.preventDefault(),e.stopPropagation(),o.is(":visible")?(a(t).removeClass("qodef-menu-item--open"),o.slideUp(i)):(n.parent().parent().children().hasClass("qodef-menu-item--open")&&n.parent().parent().parent().hasClass("qodef-vertical-menu")?(a(this).parent().parent().children().removeClass("qodef-menu-item--open"),a(this).parent().parent().children().find(" > .qodef-drop-down-second").slideUp(i)):(a(this).parents("li").hasClass("qodef-menu-item--open")||(r.removeClass("qodef-menu-item--open"),r.find(" > .qodef-drop-down-second, > ul").slideUp(i)),a(this).parent().parent().children().hasClass("qodef-menu-item--open")&&(a(this).parent().parent().children().removeClass("qodef-menu-item--open"),a(this).parent().parent().children().find(" > .qodef-drop-down-second, > ul").slideUp(i))),a(t).addClass("qodef-menu-item--open"),o.slideDown("slow"))})})},dropdownFloat:function(e){var n=e.find("ul li.menu-item-has-children"),i=n.find(" > .qodef-drop-down-second > .qodef-drop-down-second-inner > ul, > ul");n.each(function(){var o=a(this).find(" > .qodef-drop-down-second > .qodef-drop-down-second-inner > ul, > ul"),t=this;Modernizr.touch?a(this).find("> a").on("click tap",function(e){e.preventDefault(),e.stopPropagation(),o.hasClass("qodef-float--open")?(o.removeClass("qodef-float--open"),a(t).removeClass("qodef-menu-item--open")):(a(this).parents("li").hasClass("qodef-menu-item--open")||(n.removeClass("qodef-menu-item--open"),i.removeClass("qodef-float--open")),o.addClass("qodef-float--open"),a(t).addClass("qodef-menu-item--open"))}):a(this).hoverIntent({over:function(){o.addClass("qodef-float--open"),a(t).addClass("qodef-menu-item--open")},out:function(){o.removeClass("qodef-float--open"),a(t).removeClass("qodef-menu-item--open")},timeout:300})})},verticalAreaScrollable:function(e){return e.hasClass("qodef-with-scroll")},initVerticalAreaScroll:function(e){o.verticalAreaScrollable(e)&&window.qodefCore.qodefPerfectScrollbar.init(e)},init:function(){var e=a(".qodef-header--vertical #qodef-page-header");e.length&&(o.initNavigation(e),o.initVerticalAreaScroll(e))}}}(jQuery),function(a){"use strict";a(document).ready(function(){o.init()});var o={initNavigation:function(e){e=e.find(".qodef-header-vertical-navigation");e.hasClass("qodef-vertical-drop-down--below")?o.dropdownClickToggle(e):e.hasClass("qodef-vertical-drop-down--side")&&o.dropdownFloat(e)},dropdownClickToggle:function(e){var r=e.find("ul li.menu-item-has-children");r.each(function(){var o=a(this).find(" > .qodef-drop-down-second, > ul"),t=this,n=a(this).find("> a"),i="fast";n.on("click tap",function(e){e.preventDefault(),e.stopPropagation(),o.is(":visible")?(a(t).removeClass("qodef-menu-item--open"),o.slideUp(i)):(n.parent().parent().children().hasClass("qodef-menu-item--open")&&n.parent().parent().parent().hasClass("qodef-vertical-menu")?(a(this).parent().parent().children().removeClass("qodef-menu-item--open"),a(this).parent().parent().children().find(" > .qodef-drop-down-second").slideUp(i)):(a(this).parents("li").hasClass("qodef-menu-item--open")||(r.removeClass("qodef-menu-item--open"),r.find(" > .qodef-drop-down-second, > ul").slideUp(i)),a(this).parent().parent().children().hasClass("qodef-menu-item--open")&&(a(this).parent().parent().children().removeClass("qodef-menu-item--open"),a(this).parent().parent().children().find(" > .qodef-drop-down-second, > ul").slideUp(i))),a(t).addClass("qodef-menu-item--open"),o.slideDown("slow"))})})},dropdownFloat:function(e){var n=e.find("ul li.menu-item-has-children"),i=n.find(" > .qodef-drop-down-second > .qodef-drop-down-second-inner > ul, > ul");n.each(function(){var o=a(this).find(" > .qodef-drop-down-second > .qodef-drop-down-second-inner > ul, > ul"),t=this;Modernizr.touch?a(this).find("> a").on("click tap",function(e){e.preventDefault(),e.stopPropagation(),o.hasClass("qodef-float--open")?(o.removeClass("qodef-float--open"),a(t).removeClass("qodef-menu-item--open")):(a(this).parents("li").hasClass("qodef-menu-item--open")||(n.removeClass("qodef-menu-item--open"),i.removeClass("qodef-float--open")),o.addClass("qodef-float--open"),a(t).addClass("qodef-menu-item--open"))}):a(this).hoverIntent({over:function(){o.addClass("qodef-float--open"),a(t).addClass("qodef-menu-item--open")},out:function(){o.removeClass("qodef-float--open"),a(t).removeClass("qodef-menu-item--open")},timeout:300})})},verticalAreaScrollable:function(e){return e.hasClass("qodef-with-scroll")},initVerticalAreaScroll:function(e){o.verticalAreaScrollable(e)&&window.qodefCore.qodefPerfectScrollbar.init(e)},initHiddenVerticalArea:function(e){var o=a(".edge-vertical-area-bottom-logo"),t=e.find(".qodef-vertical-closed-menu-opener"),n=0;function i(){e.removeClass("active"),o.length&&o.removeClass("active")}t.on("click tap",function(){(e.hasClass("active")?i:function(){e.addClass("active"),o.length&&o.addClass("active");n=a(window).scrollTop()})()}),a(window).scroll(function(){400<Math.abs(a(window).scrollTop()-n)&&i()})},init:function(){var e=a(".qodef-header--vertical-closed #qodef-page-header");e.length&&(o.initNavigation(e),o.initVerticalAreaScroll(e),o.initHiddenVerticalArea(e))}}}(jQuery),function(t){"use strict";var n={showHideHeader:function(e,o){1024<qodefCore.windowWidth&&(qodefCore.scroll<=0?(qodefCore.body.removeClass("qodef-header--fixed-display"),e.css("padding-top","0"),o.css("margin-top","0")):(qodefCore.body.addClass("qodef-header--fixed-display"),e.css("padding-top",parseInt(qodefGlobal.vars.headerHeight+qodefGlobal.vars.topAreaHeight)+"px"),o.css("margin-top",parseInt(qodefGlobal.vars.topAreaHeight)+"px")))},init:function(){var e,o;qodefCore.body.hasClass("qodef-header--vertical")||(e=t("#qodef-page-outer"),o=t("#qodef-page-header"),n.showHideHeader(e,o),t(window).scroll(function(){n.showHideHeader(e,o)}),t(window).resize(function(){e.css("padding-top","0"),n.showHideHeader(e,o)}))}};qodefCore.fixedHeaderAppearance=n.init}(jQuery),function(o){"use strict";var t={displayAmount:function(){return 0!==qodefGlobal.vars.qodefStickyHeaderScrollAmount?parseInt(qodefGlobal.vars.qodefStickyHeaderScrollAmount,10):parseInt(qodefGlobal.vars.headerHeight+qodefGlobal.vars.adminBarHeight,10)},showHideHeader:function(e){qodefCore.scroll<e?qodefCore.body.removeClass("qodef-header--sticky-display"):qodefCore.body.addClass("qodef-header--sticky-display")},init:function(){var e=t.displayAmount();t.showHideHeader(e),o(window).scroll(function(){t.showHideHeader(e)})}};qodefCore.stickyHeaderAppearance=t.init}(jQuery),function(e){"use strict";var t="neobeat_core_instagram_list";qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&e.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o}),e(document).ready(function(){o.init()});var o={init:function(){e(".qodef-instagram-list").find(".sbi_photo_wrap").addClass("qodef-e-blur-trigger").find("a").addClass("qodef-e-blur-target")}};qodefCore.shortcodes.neobeat_core_instagram_list.qodefAddBlurClasses=o}(jQuery),function(n){"use strict";n(document).ready(function(){i.init()});var i={init:function(){var e=n("a.qodef-search-opener"),o=n(".qodef-search-cover"),t=o.find(".qodef-search-close");e.length&&o.length&&(e.on("click",function(e){e.preventDefault(),i.openCoversHeader(o)}),t.on("click",function(e){e.preventDefault(),i.closeCoversHeader(o)}))},openCoversHeader:function(e){qodefCore.body.addClass("qodef-covers-search--opened qodef-covers-search--fadein"),qodefCore.body.removeClass("qodef-covers-search--fadeout"),setTimeout(function(){e.find(".qodef-m-form-field").focus()},600)},closeCoversHeader:function(e){qodefCore.body.removeClass("qodef-covers-search--opened qodef-covers-search--fadein"),qodefCore.body.addClass("qodef-covers-search--fadeout"),setTimeout(function(){e.find(".qodef-m-form-field").val(""),e.find(".qodef-m-form-field").blur(),qodefCore.body.removeClass("qodef-covers-search--fadeout")},300)}}}(jQuery),function(n){"use strict";n(document).ready(function(){i.init()});var i={init:function(){var e=n("a.qodef-search-opener"),o=n(".qodef-fullscreen-search-holder"),t=n(".qodef-search-close");e.length&&o.length&&(e.on("click",function(e){e.preventDefault(),qodef.body.hasClass("qodef-fullscreen-search--opened")?i.closeFullscreen(o):i.openFullscreen(o)}),t.on("click",function(e){e.preventDefault(),i.closeFullscreen(o)}),n(document).keyup(function(e){27===e.keyCode&&i.closeFullscreen(o)}))},openFullscreen:function(e){qodef.body.removeClass("qodef-fullscreen-search--fadeout"),qodef.body.addClass("qodef-fullscreen-search--opened qodef-fullscreen-search--fadein"),setTimeout(function(){e.find(".qodef-search-field").focus()},900),qodefCore.qodefScroll.disable()},closeFullscreen:function(e){qodef.body.removeClass("qodef-fullscreen-search--opened qodef-fullscreen-search--fadein"),qodef.body.addClass("qodef-fullscreen-search--fadeout"),setTimeout(function(){e.find(".qodef-search-field").val(""),e.find(".qodef-search-field").blur(),qodef.body.removeClass("qodef-fullscreen-search--fadeout")},300),qodefCore.qodefScroll.enable()}}}(jQuery),function(a){"use strict";a(document).ready(function(){d.init()});var d={percentNumber:0,init:function(){this.holder=a("#qodef-page-spinner.qodef-layout--progress-bar"),this.holder.length&&d.animateSpinner(this.holder)},animateSpinner:function(e){var o,t=e.find(".qodef-m-spinner-number-label"),n=e.find(".qodef-m-spinner-line-front"),i=!1;n.animate({width:"100%"},1e4,"linear");var r=setInterval(function(){d.animatePercent(t,d.percentNumber),i&&clearInterval(r)},100);a(window).on("load",function(){i=!0,o=setInterval(function(){100<=d.percentNumber?(clearInterval(o),n.stop().animate({width:"100%"},500),setTimeout(function(){e.addClass("qodef--finished"),setTimeout(function(){d.fadeOutLoader(e)},1e3)},600)):d.animatePercent(t,d.percentNumber)},6)})},animatePercent:function(e,o){o<100&&(e.text(o+=5),d.percentNumber=o)},fadeOutLoader:function(o,t,e,n){t=t||600,n=n||"swing",o.delay(e=e||0).fadeOut(t,n),a(window).on("bind","pageshow",function(e){e.originalEvent.persisted&&o.fadeOut(t,n)})}}}(jQuery),function(){"use strict";qodefCore.shortcodes.neobeat_core_product_categories_list={},qodefCore.shortcodes.neobeat_core_product_categories_list.qodefMasonryLayout=qodef.qodefMasonryLayout,qodefCore.shortcodes.neobeat_core_product_categories_list.qodefSwiper=qodef.qodefSwiper}(jQuery),function(e){"use strict";var t="neobeat_core_product_list";qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&e.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o})}(jQuery),function(r){"use strict";var t="neobeat_core_album_list";qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&r.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o}),r(document).ready(function(){e.init()});var e={init:function(){function e(o,i){o.each(function(){var e=r(this);e.data("y",0),e.data("c",Math.random())}),requestAnimationFrame(function e(){o.filter(function(){return n(r(this))}).each(function(){var e,o,t=r(this),n=(t.offset().top-window.scrollY)/window.innerHeight-1;t.data("y",(e=t.data("y"),o=n,(1-(n=.1*t.data("c")))*e+n*o)),t.css({transform:"translate3d(0,"+(i*t.data("y")).toFixed(2)+"%,0)"})}),requestAnimationFrame(e)})}var o=r(".qodef-album-list.qodef-parallax-scroll .qodef-e:nth-child(2n)"),t=r(".qodef-album-list.qodef-parallax-scroll .qodef-e:nth-child(2n+1)"),n=function(e){return window.scrollY+window.innerHeight>e.offset().top&&window.scrollY<e.offset().top+e.outerHeight()};t.length&&!Modernizr.touch&&680<=qodefCore.windowWidth&&e(t,13),o.length&&!Modernizr.touch&&680<=qodefCore.windowWidth&&e(o,22)}};qodefCore.shortcodes[t].qodefAlbumList=qodef.qodefAlbumList}(jQuery),function(r){"use strict";qodefCore.shortcodes.neobeat_core_album_player={},qodefCore.shortcodes.neobeat_core_album_player_rev_slider={},r(document).ready(function(){a.init()}),r(document).on("neobeat_core_trigger_tracks_list_event",function(e,o,t,n){a.triggerPlayerEvent(o,t,n)});var a={players:[],init:function(){this.holder=r(".qodef-album-player"),this.holder.length&&this.holder.each(function(){var e=r(this);a.triggerPlayer(e)})},triggerPlayer:function(o){o.addClass("qodef--loading"),r.ajax({type:"GET",url:qodefGlobal.vars.restUrl+qodefGlobal.vars.getAlbumSongRestRoute,data:{album_id:o.children(".qodef-m-album").data("album-id")},success:function(e){"success"===e.status?a.initPlayer(o,e.data):console.log(e.message)},complete:function(){o.removeClass("qodef--loading")}})},initPlayer:function(e,o){e.addClass("qodef--init");var t=new jPlayerPlaylist({jPlayer:"#"+e.children(".qodef-m-album").attr("id"),cssSelectorAncestor:"#"+e.children(".qodef-m-player").attr("id")},o,{supplied:"mp3",wmode:"window",useStateClassSkin:!0,autoBlur:!1,smoothPlayBar:!0,keyEnabled:!0,ready:function(){a.setTrackDetails(t,e),qodefCore.body.trigger("neobeat_core_trigger_album_player_event",[t,"ready"])},pause:function(){qodefCore.body.trigger("neobeat_core_trigger_album_player_event",[t,"pause"]),r(".qodef-album-player .qodef-m-album-image").removeClass("qodef-disc-rotating")},play:function(){a.setTrackDetails(t,e),qodefCore.body.trigger("neobeat_core_trigger_album_player_event",[t,"play"]),r(".qodef-album-player .qodef-m-album-image").addClass("qodef-disc-rotating")}});a.players.push(t)},setTrackDetails:function(e,o){o=o.find(".qodef-m-player-track-title");o.length&&o.html(e.original[e.current].title)},triggerPlayerEvent:function(t,n,i){"object"==typeof a.players&&void 0!==t&&void 0!==i&&r.each(a.players,function(e,o){if(o.cssSelector.jPlayer==="#qodef-m-album-"+t)switch(i){case"pause":o.pause(n);break;case"play":o.play(n)}})}};qodefCore.shortcodes.neobeat_core_album_player.qodefAlbumPlayer=a,qodefCore.shortcodes.neobeat_core_album_player_rev_slider.qodefAlbumPlayer=a}(jQuery),function(){"use strict";qodefCore.shortcodes.neobeat_core_album_player_slider={},qodefCore.shortcodes.neobeat_core_album_player_slider.qodefSwiper=qodef.qodefSwiper,qodefCore.shortcodes.neobeat_core_album_player_slider.qodefAlbumPlayer=qodefCore.shortcodes.neobeat_core_album_player.qodefAlbumPlayer}(jQuery),function(r){"use strict";var t="neobeat_core_artists_list";qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&r.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o}),r(document).ready(function(){e.init()});var e={init:function(){function e(o,i){o.each(function(){var e=r(this);e.data("y",0),e.data("c",Math.random())}),requestAnimationFrame(function e(){o.filter(function(){return n(r(this))}).each(function(){var e,o,t=r(this),n=(t.offset().top-window.scrollY)/window.innerHeight-1;t.data("y",(e=t.data("y"),o=n,(1-(n=.1*t.data("c")))*e+n*o)),t.css({transform:"translate3d(0,"+(i*t.data("y")).toFixed(2)+"%,0)"})}),requestAnimationFrame(e)})}var o=r(".qodef-artists-list.qodef-parallax-scroll .qodef-e:nth-child(2n)"),t=r(".qodef-artists-list.qodef-parallax-scroll .qodef-e:nth-child(2n+1)"),n=function(e){return window.scrollY+window.innerHeight>e.offset().top&&window.scrollY<e.offset().top+e.outerHeight()};t.length&&!Modernizr.touch&&680<=qodefCore.windowWidth&&e(t,13),o.length&&!Modernizr.touch&&680<=qodefCore.windowWidth&&e(o,22)}};qodefCore.shortcodes[t].qodefAppear=qodef.qodefAppear,qodefCore.shortcodes[t].qodefArtistList=e}(jQuery),function(n){"use strict";qodefCore.shortcodes.neobeat_core_tracks_list={},n(document).ready(function(){i.init()}),n(document).on("neobeat_core_trigger_album_player_event",function(e,o,t){i.initTriggered(o,t)});var i={init:function(){this.holder=n(".qodef-tracks-list"),this.holder.length&&this.holder.each(function(){var e=n(this);qodefCore.body.hasClass("single-album")?i.triggerTrackClick(e):i.triggerPlayer(e)})},triggerPlayer:function(o){n.ajax({type:"GET",url:qodefGlobal.vars.restUrl+qodefGlobal.vars.getAlbumSongRestRoute,data:{album_id:o.data("album-id")},success:function(e){"success"===e.status?i.initPlayer(o,e.data):console.log(e.message)}})},initPlayer:function(e,o){var t=new jPlayerPlaylist({jPlayer:"#"+e.children(".qodef-m-track-player").attr("id"),cssSelectorAncestor:"#"+e.children(".qodef-m-track-player").attr("id")},o,{supplied:"mp3",wmode:"window",useStateClassSkin:!0,autoBlur:!1,smoothPlayBar:!0,ready:function(){i.triggerTrackClick(e,t)},pause:function(){i.initTriggered(t,"pause")},play:function(){i.initTriggered(t,"play")}})},initTriggered:function(o,t){this.holder=n(".qodef-tracks-list"),this.holder.length&&this.holder.each(function(){var e=n(this);if(void 0!==t)switch(t){case"pause":case"play":i.setActiveTrack(e,o,t)}})},triggerTrackClick:function(o,t){o.find(".qodef-e-heading-title, .qodef-e-action-control.qodef--play").on("click",function(e){e.preventDefault();e=n(this).parents(".qodef-m-tracks-list-item");e.hasClass("qodef--active")?(e.removeClass("qodef--active"),i.triggerPlayerEvent(t,e.data("track-index"),"pause"),qodefCore.body.trigger("neobeat_core_trigger_tracks_list_event",[o.data("album-id"),e.data("track-index"),"pause"])):(i.triggerPlayerEvent(t,e.data("track-index"),"play"),qodefCore.body.trigger("neobeat_core_trigger_tracks_list_event",[o.data("album-id"),e.data("track-index"),"play"]))})},setActiveTrack:function(e,o,t){o=o.original[o.current].unique_id;e.find(".qodef-m-tracks-list-item").removeClass("qodef--active"),"pause"!==t&&e.find('.qodef-m-tracks-list-item[data-track-id="'+o+'"]').addClass("qodef--active")},triggerPlayerEvent:function(e,o,t){if(!qodefCore.body.hasClass("single-album"))switch(t){case"pause":e.pause(o);break;case"play":e.play(o)}}};qodefCore.shortcodes.neobeat_core_tracks_list.qodefTracksList=i}(jQuery),function(){"use strict";qodefCore.shortcodes.neobeat_core_clients_list={},qodefCore.shortcodes.neobeat_core_clients_list.qodefSwiper=qodef.qodefSwiper}(jQuery),function(e){"use strict";var t="neobeat_core_events_list";qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&e.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o})}(jQuery),function(){"use strict";qodefCore.shortcodes.neobeat_core_testimonials_list={},qodefCore.shortcodes.neobeat_core_testimonials_list.qodefSwiper=qodef.qodefSwiper}(jQuery),function(n){"use strict";n(document).ready(function(){i.init()});var i={init:function(){var e=n(".qodef-album-player-slider.qodef-layout--predefined.qodef-swiper-container"),o=n(".qodef-album-player-slider.qodef-layout--predefined.qodef-swiper-container .swiper-wrapper .swiper-slide .qodef-e-media-image");o.length&&o.each(function(){var e=n(this),o=e.width();e.css({"max-height":o,"max-width":o})}),e.length&&e.each(function(){var e=n(this),o=e.find(".swiper-slide");o.each(function(e){e++;var o=n(this),t=o.find(".qodef--background-svg");t.length&&(t.find("linearGradient").attr("id","qodef-svg-gradient-"+e),e=i.initWave(t,e),o.data("animation-data",e))}),i.animateActiveItemWave(e,o)})},animateActiveItemWave:function(e,o){function t(){o.each(function(){var e,o=n(this),t=n(this).data("animation-data");t&&(e=function(){o.hasClass("swiper-slide-active")&&(t.animateSVG(),window.requestAnimationFrame(e))})()})}e=e[0].swiper;e.on("slideChange",function(){setTimeout(function(){t()},100)}),n(document).ready(function(){setTimeout(function(){t()},100)})},initWave:function(e,o){function t(){d.attr("d",function(e){return e(a)})}var n=d3.selectAll(e),i=e.width(),e=e.height(),r=i,e=e,a=d3.range(0,2*Math.PI,Math.PI/300),d=n.append("g").attr("transform","translate("+r/2+","+e/2+")").attr("fill","none").attr("stroke-width",1).attr("stroke-linejoin","round").selectAll("path").data(["url(#qodef-svg-gradient-"+o+")"]).enter().append("path").attr("stroke",function(e){return e}).datum(function(e,t){return d3.radialLine().curve(d3.curveLinearClosed).angle(function(e){return-1*e}).radius(function(e){var o=d3.now()/500;return r/4+r/6+Math.cos(12*e-2*t*Math.PI/3+o)*Math.pow((1+Math.cos(10*e-o))/2,2)*20})});return t(),{animateSVG:t}}};qodefCore.shortcodes.neobeat_core_album_player_slider.qodefAlbumSlider=i}(jQuery),function(o){"use strict";o(document).ready(function(){e.init()}),o(document).on("neobeat_trigger_get_new_posts",function(){e.init()});var e={init:function(){var e=o(".qodef-hover-animation--direction-aware");e.length&&e.each(function(){o(this).find("article").each(function(){o(this).hoverdir({hoverElem:"div.qodef-e-content",speed:330,hoverDelay:35,easing:"ease"})})})}}}(jQuery);