!function(a,e){"use strict";var t={init:function(){e.hooks.addAction("frontend/element_ready/section",t.elementorSection),new WOW({animateClass:"animated",offset:100,mobile:!1,duration:1e3}).init()},elementorSection:function(a){Boolean(e.isEditMode()),new l(a).init()}},l=function(a){var e=this,t=a.data("id"),l=a.data("nx_parallax"),i=a.data("dl_move"),d=document.querySelector("#nx_parallax_ele-"+t);if(a.data("nx_parallax")||d&&(l=JSON.parse(d.getAttribute("data-nx_parallax")),i=JSON.parse(d.getAttribute("data-dl_move"))),!d){a.prepend('
');d=document.querySelector("#nx_parallax_ele-"+t)}e.init=function(){Array.isArray(l)&&d&&(l.forEach(function(a,t){var l=a._id,i=a.item_source,n=document.createElement("div");if(n.setAttribute("class","nx_parallax_element elementor-repeater-item-"+l),n.setAttribute("style","position: absolute;"),"hidden-tablet"==a.dl_hide_tablet){n.classList.add("nx-hidden-tablet");var _=window.matchMedia("(max-width: 1024px) and (min-width: 768px)");e.tablateMedia(_),_.addListener(e.tablateMedia)}if("hidden-phone"==a.dl_hide_mobile){n.classList.add("nx-hidden-mobile");var r=window.matchMedia("(max-width: 767px)");e.mobileMedia(r),r.addListener(e.mobileMedia)}a.dl_wow_enable&&(n.classList.add("wow"),null!=a.dl_animation&&n.classList.add(a.dl_animation),""!=a.dl_animation_delay&&n.setAttribute("data-wow-delay",a.dl_animation_delay+"s"),""!=a.dl_animation_duration&&n.setAttribute("data-wow-duration",a.dl_animation_duration+"s"));var o=document.createElement("div");o.setAttribute("class","layer"),o.classList.add("layer"+t),a.dl_item_depth&&o.setAttribute("data-depth",a.dl_item_depth);var x={};if(a.nx_parallax_data_popup&&(""!=a.nx_translate_x_axix&&(x.x=a.nx_translate_x_axix),""!=a.nx_translate_y_axix&&(x.y=a.nx_translate_y_axix),""!=a.dl_rotate_x_axix&&(x.rotateX=a.dl_rotate_x_axix),""!=a.dl_rotate_y_axix&&(x.rotateY=a.dl_rotate_y_axix),""!=a.dl_rotate_z_axix&&(x.rotateZ=a.dl_rotate_z_axix),""!=a.dl_scale_x_axix&&(x.scaleX=a.dl_scale_x_axix),""!=a.dl_scale_y_axix&&(x.scaleX=a.dl_scale_y_axix),""!=a.dl_scale_x_axix&&(x.scaleX=a.dl_scale_x_axix),""!=a.dl_scale_y_axix&&(x.scaleX=a.dl_scale_y_axix),""!=a.dl_scale_z_axix&&(x.scaleZ=a.dl_scale_z_axix)),"text"==i);else if("icon"==i);else{var s=document.createElement("img");s.setAttribute("src",a.image.url),s.setAttribute("alt","")}s.setAttribute("data-parallax",JSON.stringify(x)),o.appendChild(s),n.appendChild(o),d.appendChild(n)}),"yes"==i.nx_parallaxmove_enable&&a.parallax({scalarX:i.dl_scalar_x_axix,scalarY:i.dl_scalar_y_axix}))},e.tablateMedia=function(a){a.matches?document.querySelectorAll(".nx-hidden-tablet").forEach(function(a){a.style.display="none"}):document.querySelectorAll(".nx-hidden-tablet").forEach(function(a){a.style.display="block"})},e.mobileMedia=function(a){a.matches?document.querySelectorAll(".nx-hidden-mobile").forEach(function(a){a.style.display="none"}):document.querySelectorAll(".nx-hidden-mobile").forEach(function(a){a.style.display="block"})}};a(window).on("elementor/frontend/init",t.init)}(jQuery,window.elementorFrontend)