!function(m){"use strict";m(window).on("elementor/frontend/init",function(){t.init(),n.init(),o()});var e=!1;function o(){return e||"undefined"!=typeof elementorFrontend&&elementorFrontend.elements&&elementorFrontend.elements.$document&&(elementorFrontend.elements.$document.on("elementor/popup/show",function(e,o,t){try{var n,i,d,r=null;if(r=!(r=t&&"function"==typeof t.getModal&&(n=t.getModal())&&"function"==typeof n.getElements&&(i=n.getElements("widgetContent"))&&i.length?i[0]:r)&&o&&(d=m("#elementor-popup-modal-"+o).find(".dialog-widget-content")).length?d[0]:r){var s=m(r);if(s&&s.length&&"undefined"!=typeof qodefAddonsCore&&qodefAddonsCore.shortcodes)for(var l in qodefAddonsCore.shortcodes)if(Object.prototype.hasOwnProperty.call(qodefAddonsCore.shortcodes,l)){var f,c=s.find(".elementor-widget-"+l);if(c.length)for(var a in qodefAddonsCore.shortcodes[l])Object.prototype.hasOwnProperty.call(qodefAddonsCore.shortcodes[l],a)&&void 0!==(f=qodefAddonsCore.shortcodes[l][a])&&c.each(function(){var e,o=m(this);"function"==typeof f.initSlider?(e=o.find(".qodef-qi-swiper-container")).length&&e.each(function(){f.initSlider(m(this))}):"function"==typeof f.initItem&&o.find(".qodef-shortcode").length?f.initItem(o.find(".qodef-shortcode")):"function"==typeof f.init&&f.init()})}}}catch(e){}}),e=!0)}!function e(){o()||setTimeout(e,250)}();var t={init:function(){if(Boolean(elementorFrontend.isEditMode()))for(var e in qodefAddonsCore.shortcodes)for(var o in qodefAddonsCore.shortcodes[e])t.reInitShortcode(e,o)},reInitShortcode:function(t,n){elementorFrontend.hooks.addAction("frontend/element_ready/"+t+".default",function(e){var o;void 0===qodefAddonsCore.shortcodes[t][n]?console.log(n):"function"==typeof qodefAddonsCore.shortcodes[t][n].initSlider?(o=e.find(".qodef-qi-swiper-container")).length&&o.each(function(){qodefAddonsCore.shortcodes[t][n].initSlider(m(this))}):"function"==typeof qodefAddonsCore.shortcodes[t][n].initItem&&e.find(".qodef-shortcode").length?qodefAddonsCore.shortcodes[t][n].initItem(e.find(".qodef-shortcode")):qodefAddonsCore.shortcodes[t][n].init()})}},n={init:function(){"undefined"!=typeof elementor&&elementor.hooks.addFilter("panel/elements/regionViews",function(e){var o=e.elements.view,t=e.categories.view,n={className:function(){var e="elementor-element-wrapper";return this.isEditable()||(e+=" elementor-element--promotion",this.isQodeWidget()&&(e+=" qodef-element--promotion")),e},isQodeWidget:function(){if(void 0!==this.model.get("name"))return 0===this.model.get("name").indexOf("qi_")},getElementObj:function(t){return elementor.config.promotionWidgets.find(function(e,o){if(e.name==t)return!0})},onMouseDown:function(){var e,o=elementor.config.elementPromotionURL.replace("%s",this.model.get("name")),t=this.model.get("title"),n=sprintf(wp.i18n.__("Use %s widget and dozens more pro features to extend your toolbox and build sites faster and better.","qi-addons-for-elementor"),t),i=elementor.config.promotion.elements;this.isQodeWidget()&&(void 0!==(e=this.getElementObj(this.model.get("name"))).helpUrl&&(o=e.helpUrl),n=sprintf(wp.i18n.__("The %s comes with advanced professional functionalities and an even smoother website-making experience. %s Upgrade Qi Addons for Elementor %s","qi-addons-for-elementor"),t,'<a class="qodef-dialog-box-link" target="_blank" href="https://qodeinteractive.com/products/plugins/">',"</a>")),elementor.promotion.showDialog({title:sprintf(wp.i18n.__("%s Widget","qi-addons-for-elementor"),t),content:n,position:{blockStart:"-7"},targetElement:this.el,actionButton:{url:o,text:i.action_button.text,classes:i.action_button.classes||["elementor-button","go-pro"]}})}};return e.elements.view=o.extend({childView:o.prototype.childView.extend(n)}),e.categories.view=t.extend({childView:t.prototype.childView.extend({childView:t.prototype.childView.prototype.childView.extend(n)})}),e})}}}(jQuery);
(r=>{r(window).on("elementor/frontend/init",function(){t.init(),o.init(),d.init(),e.init(),_.init(),a.init(),n.init()});var t={init:function(){if(Boolean(elementorFrontend.isEditMode()))for(var o in qodefCore.shortcodes)for(var e in qodefCore.shortcodes[o])t.reInitShortcode(o,e)},reInitShortcode:function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+e+".default",function(o){void 0===qodefCore.shortcodes[e][t]?console.log(t):"function"==typeof qodefCore.shortcodes[e][t].initSlider&&o.find(".qodef-instagram-swiper-container").length?qodefCore.shortcodes[e][t].initSlider(o.find(".qodef-instagram-swiper-container"),!1):"function"==typeof qodefCore.shortcodes[e][t].initSlider?o.find(".qodef-swiper-container").length&&qodefCore.shortcodes[e][t].initSlider(o.find(".qodef-swiper-container")):"function"==typeof qodefCore.shortcodes[e][t].initPopup&&o.find(".qodef-magnific-popup").length?qodefCore.shortcodes[e][t].initPopup(o.find(".qodef-magnific-popup")):"function"==typeof qodefCore.shortcodes[e][t].initItem&&o.find(".qodef-shortcode").length?qodefCore.shortcodes[e][t].initItem(o.find(".qodef-shortcode")):qodefCore.shortcodes[e][t].init()})}},o={init:function(){elementorFrontend.hooks.addAction("frontend/element_ready/section",d.init)}},d={init:function(o){var t,a,l=o,e=Boolean(elementorFrontend.isEditMode()),i=[],_={};e&&void 0!==o?(e=window.elementor.elements,t=l.data("id"),a=l.hasClass("elementor-inner-section"),r.each(e.models,function(o,e){t==e.id?_=e.attributes.settings.attributes:a&&void 0!==e.attributes.elements.models&&e.attributes.elements.models.length&&r.each(e.attributes.elements.models,function(o,e){void 0!==e.attributes.elements.models[0]&&void 0!==e.attributes.elements.models[0].attributes.settings.attributes&&t==e.attributes.elements.models[0].attributes.id&&(_=e.attributes.elements.models[0].attributes.settings.attributes)})}),void 0!==_.qodef_parallax_type&&(i.enable_parallax=_.qodef_parallax_type),void 0!==_.qodef_parallax_image&&_.qodef_parallax_image.url&&(i.parallax_image_url=_.qodef_parallax_image.url),void 0!==_.qodef_blop_type&&(i.enable_blop=_.qodef_blop_type),void 0!==_.qodef_blop_shape&&(i.blop_shape=_.qodef_blop_shape),void 0!==_.qodef_blop_shape_color&&(i.blop_shape_color=_.qodef_blop_shape_color),void 0!==_.qodef_blop_vertical_anchor&&(i.blop_vertical_anchor=_.qodef_blop_vertical_anchor),void 0!==_.qodef_blop_vertical_position&&(i.blop_vertical_position=_.qodef_blop_vertical_position),void 0!==_.qodef_blop_horizontal_anchor&&(i.blop_horizontal_anchor=_.qodef_blop_horizontal_anchor),void 0!==_.qodef_blop_horizontal_position&&(i.blop_horizontal_position=_.qodef_blop_horizontal_position),void 0!==_.qodef_blop_two_type&&(i.enable_blop_two=_.qodef_blop_two_type),void 0!==_.qodef_blop_two_shape&&(i.blop_two_shape=_.qodef_blop_two_shape),void 0!==_.qodef_blop_two_shape_color&&(i.blop_two_shape_color=_.qodef_blop_two_shape_color),void 0!==_.qodef_blop_two_vertical_anchor&&(i.blop_two_vertical_anchor=_.qodef_blop_two_vertical_anchor),void 0!==_.qodef_blop_two_vertical_position&&(i.blop_two_vertical_position=_.qodef_blop_two_vertical_position),void 0!==_.qodef_blop_two_horizontal_anchor&&(i.blop_two_horizontal_anchor=_.qodef_blop_two_horizontal_anchor),void 0!==_.qodef_blop_two_horizontal_position&&(i.blop_two_horizontal_position=_.qodef_blop_two_horizontal_position),void 0!==_.qodef_offset_type&&(i.enable_offset=_.qodef_offset_type),void 0!==_.qodef_offset_image&&_.qodef_offset_image.url&&(i.offset_image_url=_.qodef_offset_image.url),void 0!==_.qodef_offset_parallax&&(i.offset_parallax=_.qodef_offset_parallax),void 0!==_.qodef_offset_vertical_anchor&&(i.offset_vertical_anchor=_.qodef_offset_vertical_anchor),void 0!==_.qodef_offset_vertical_position&&(i.offset_vertical_position=_.qodef_offset_vertical_position),void 0!==_.qodef_offset_horizontal_anchor&&(i.offset_horizontal_anchor=_.qodef_offset_horizontal_anchor),void 0!==_.qodef_offset_horizontal_position&&(i.offset_horizontal_position=_.qodef_offset_horizontal_position),void 0!==_.qodef_particles_type&&(i.enable_particles=_.qodef_particles_type),void 0!==_.qodef_particles_color&&(i.particles_color=_.qodef_particles_color),void 0!==l&&d.generateOutput(l,i)):(o=qodefElementorGlobal.vars.elementorSectionHandler,r.each(o,function(e,o){o.forEach(function(o){void 0!==o.parallax_type&&"parallax"===o.parallax_type&&(l=r('[data-id="'+e+'"]'),i.parallax_type=o.parallax_type,i.parallax_image_url=o.parallax_image.url,void 0!==i.parallax_image_url)&&(i.enable_parallax="parallax"),void 0!==o.blop_type&&"blop"===o.blop_type&&(l=r('[data-id="'+e+'"]'),i.blop_type=o.blop_type,i.blop_shape=o.blop_shape,i.blop_shape_color=o.blop_shape_color,i.blop_vertical_anchor=o.blop_vertical_anchor,i.blop_vertical_position=o.blop_vertical_position,i.blop_horizontal_anchor=o.blop_horizontal_anchor,i.blop_horizontal_position=o.blop_horizontal_position,void 0!==i.blop_shape)&&(i.enable_blop="blop"),void 0!==o.blop_two_type&&"blop"===o.blop_two_type&&(l=r('[data-id="'+e+'"]'),i.blop_two_type=o.blop_two_type,i.blop_two_shape=o.blop_two_shape,i.blop_two_shape_color=o.blop_two_shape_color,i.blop_two_vertical_anchor=o.blop_two_vertical_anchor,i.blop_two_vertical_position=o.blop_two_vertical_position,i.blop_two_horizontal_anchor=o.blop_two_horizontal_anchor,i.blop_two_horizontal_position=o.blop_two_horizontal_position,void 0!==i.blop_two_shape)&&(i.enable_blop_two="blop"),void 0!==o.offset_type&&"offset"===o.offset_type&&(l=r('[data-id="'+e+'"]'),i.offset_type=o.offset_type,i.offset_image_url=o.offset_image.url,i.offset_parallax=o.offset_parallax,i.offset_vertical_anchor=o.offset_vertical_anchor,i.offset_vertical_position=o.offset_vertical_position,i.offset_horizontal_anchor=o.offset_horizontal_anchor,i.offset_horizontal_position=o.offset_horizontal_position,void 0!==i.offset_image_url)&&(i.enable_offset="offset"),void 0!==o.particles_type&&"particles"===o.particles_type&&(l=r('[data-id="'+e+'"]'),i.particles_type=o.particles_type,i.particles_color=o.particles_color,void 0!==i.particles_type)&&(i.enable_particles="particles")}),void 0===l||l.hasClass("qodef-parallax--init")||(d.generateOutput(l,i),i=[])}))},generateOutput:function(o,e){var t,a;void 0!==e.enable_parallax&&"parallax"===e.enable_parallax&&void 0!==e.parallax_image_url&&(r(".qodef-parallax-row-holder",o).remove(),o.removeClass("qodef-parallax qodef--parallax-row"),o.addClass("qodef-parallax qodef--parallax-row"),r('<div class="qodef-parallax-row-holder"><div class="qodef-parallax-img-holder"><div class="qodef-parallax-img-wrapper"><img class="qodef-parallax-img" src="'+e.parallax_image_url+'" alt="Parallax Image"></div></div></div>').prependTo(o),e.parallax_speed&&o.find(".qodef-parallax-row-holder").attr("data-speed",e.parallax_speed),(a=new Image).onload=function(){o.find("img.qodef-parallax-img").attr("src",this.src),qodefCore.qodefParallaxBackground.ready(o)},a.src=e.parallax_image_url),void 0!==e.enable_blop&&"blop"===e.enable_blop&&void 0!==e.blop_shape&&(r(".qodef-e-blob-element",o).remove(),o.removeClass("qodef-blob-shape"),t="","shape-1"===e.blop_shape?t='<svg xmlns="http://www.w3.org/2000/svg" class="qodef-blop-shape-1" width="1139" height="889" viewBox="0 0 1139 889"><g transform="translate(352 -696)" opacity=".69" fill="currentColor"><path d="M96.5 918c164.857 0 298.5 115.734 298.5 258.5S261.357 1435 96.5 1435-202 1319.266-202 1176.5-68.357 918 96.5 918Z" opacity=".85"/><path d="M318.5 947c175.9 0 318.5 66.933 318.5 149.5S494.4 1246 318.5 1246 0 1179.067 0 1096.5 142.6 947 318.5 947Z" opacity=".85"/><ellipse cx="78" cy="112" rx="78" ry="112" transform="translate(369 1134)" opacity=".85"/><path d="M233 846c75.111 0 136 66.933 136 149.5S308.111 1145 233 1145 97 1078.067 97 995.5 157.889 846 233 846Z" opacity=".85"/></g></svg>':"shape-2"===e.blop_shape?t='<svg xmlns="http://www.w3.org/2000/svg" class="qodef-blop-shape-2" width="1113" height="888" viewBox="0 0 1113 888"><g opacity=".76" fill="currentColor"><path d="M415 341c146.355 0 265 66.933 265 149.5S561.355 640 415 640s-265-66.933-265-149.5S268.645 341 415 341Z" opacity=".85"/><path d="M465.5 150c62.132 0 112.5 66.933 112.5 149.5S527.632 449 465.5 449 353 382.067 353 299.5 403.368 150 465.5 150Z" opacity=".85"/><path data-name="Path 746" d="M628.5 243C813.239 243 963 353.81 963 490.5S813.239 738 628.5 738 294 627.19 294 490.5 443.761 243 628.5 243Z" opacity=".88"/></g></svg>':"shape-3"===e.blop_shape&&(t='<svg xmlns="http://www.w3.org/2000/svg" class="qodef-blop-shape-3" width="1234.65" height="1100.38" viewBox="0 0 1234.65 1100.38"><g opacity=".78" fill="currentColor"><path d="M488.5 273.38c186.948 0 338.5 151.552 338.5 338.5s-151.552 338.5-338.5 338.5S150 798.828 150 611.88s151.552-338.5 338.5-338.5Z" opacity=".78"/><path d="M889.9326939 371.56623847c30.72876843 45.55727269 6.64357335 115.53753906-53.79326569 156.30270173s-134.34388504 36.88149747-165.07265347-8.67577521-6.64357336-115.53753907 53.79326568-156.30270173 134.34388504-36.88149748 165.07265348 8.6757752Z" opacity=".85"/></g></svg>'),o.addClass("qodef-blob-shape"),r('<div class="qodef-e-blob-element" style="position: absolute; z-index: 0; color:'+e.blop_shape_color+";"+e.blop_vertical_anchor+":"+e.blop_vertical_position+";"+e.blop_horizontal_anchor+":"+e.blop_horizontal_position+'">'+t+"</div>").prependTo(o),document.body.classList.contains("elementor-editor-active"))&&qodefCore.qodefBlobItem.init(),void 0!==e.enable_blop_two&&"blop"===e.enable_blop_two&&void 0!==e.blop_two_shape&&(r(".qodef-e-blob-two-element",o).remove(),o.removeClass("qodef-blob-two-shape"),t="","shape-1"===e.blop_two_shape?t='<svg xmlns="http://www.w3.org/2000/svg" class="qodef-blop-shape-1" width="1139" height="889" viewBox="0 0 1139 889"><g transform="translate(352 -696)" opacity=".69" fill="currentColor"><path d="M96.5 918c164.857 0 298.5 115.734 298.5 258.5S261.357 1435 96.5 1435-202 1319.266-202 1176.5-68.357 918 96.5 918Z" opacity=".85"/><path d="M318.5 947c175.9 0 318.5 66.933 318.5 149.5S494.4 1246 318.5 1246 0 1179.067 0 1096.5 142.6 947 318.5 947Z" opacity=".85"/><ellipse cx="78" cy="112" rx="78" ry="112" transform="translate(369 1134)" opacity=".85"/><path d="M233 846c75.111 0 136 66.933 136 149.5S308.111 1145 233 1145 97 1078.067 97 995.5 157.889 846 233 846Z" opacity=".85"/></g></svg>':"shape-2"===e.blop_two_shape?t='<svg xmlns="http://www.w3.org/2000/svg" class="qodef-blop-shape-2" width="1113" height="888" viewBox="0 0 1113 888"><g opacity=".76" fill="currentColor"><path d="M415 341c146.355 0 265 66.933 265 149.5S561.355 640 415 640s-265-66.933-265-149.5S268.645 341 415 341Z" opacity=".85"/><path d="M465.5 150c62.132 0 112.5 66.933 112.5 149.5S527.632 449 465.5 449 353 382.067 353 299.5 403.368 150 465.5 150Z" opacity=".85"/><path data-name="Path 746" d="M628.5 243C813.239 243 963 353.81 963 490.5S813.239 738 628.5 738 294 627.19 294 490.5 443.761 243 628.5 243Z" opacity=".88"/></g></svg>':"shape-3"===e.blop_two_shape&&(t='<svg xmlns="http://www.w3.org/2000/svg" class="qodef-blop-shape-3" width="1234.65" height="1100.38" viewBox="0 0 1234.65 1100.38"><g opacity=".78" fill="currentColor"><path d="M488.5 273.38c186.948 0 338.5 151.552 338.5 338.5s-151.552 338.5-338.5 338.5S150 798.828 150 611.88s151.552-338.5 338.5-338.5Z" opacity=".78"/><path d="M889.9326939 371.56623847c30.72876843 45.55727269 6.64357335 115.53753906-53.79326569 156.30270173s-134.34388504 36.88149747-165.07265347-8.67577521-6.64357336-115.53753907 53.79326568-156.30270173 134.34388504-36.88149748 165.07265348 8.6757752Z" opacity=".85"/></g></svg>'),o.addClass("qodef-blob-two-shape"),r('<div class="qodef-e-blob-two-element" style="position: absolute; z-index: 0; color:'+e.blop_two_shape_color+";"+e.blop_two_vertical_anchor+":"+e.blop_two_vertical_position+";"+e.blop_two_horizontal_anchor+":"+e.blop_two_horizontal_position+'">'+t+"</div>").prependTo(o),document.body.classList.contains("elementor-editor-active"))&&qodefCore.qodefBlobItem.init(),void 0!==e.enable_offset&&"offset"===e.enable_offset&&void 0!==e.offset_image_url&&(r(".qodef-offset-image-holder",o).remove(),o.removeClass("qodef-offset-image"),a="",void 0!==e.offset_parallax&&"yes"===e.offset_parallax&&(a=" qodef-parallax-item"),o.addClass("qodef-offset-image"),r('<div class="qodef-offset-image-holder" style="position: absolute; z-index: 5; '+e.offset_vertical_anchor+":"+e.offset_vertical_position+";"+e.offset_horizontal_anchor+":"+e.offset_horizontal_position+'"><div class="qodef-offset-image-wrapper'+a+'"><img src="'+e.offset_image_url+'" alt="Offset Image"></div></div>').prependTo(o)),void 0!==e.enable_particles&&"particles"===e.enable_particles&&(r(".qodef-p-particles-container",o).remove(),o.removeClass("qodef-particles-background"),o.addClass("qodef-particles-background"),r('<div class="qodef-p-particles-container" data-particles-color="'+e.particles_color+'"></div>').prependTo(o),document.body.classList.contains("elementor-editor-active"))&&qodefCore.qodefParticles.init()}},e={init:function(){elementorFrontend.hooks.addAction("frontend/element_ready/column",_.init)}},_={init:function(o){var t=o,e=Boolean(elementorFrontend.isEditMode()),a=[],l={};if(e&&void 0!==o){var e=window.elementor.elements,i=t.data("id");if(!e.models)return!1;r.each(e.models,function(o,e){r.each(e.attributes.elements.models,function(o,e){i==e.id&&(l=e.attributes.settings.attributes)})}),void 0!==l.qodef_background_text_enable&&l.qodef_background_text_enable.length&&(a.background_text_enable=l.qodef_background_text_enable),void 0!==l.qodef_background_text&&l.qodef_background_text.length&&(a.background_text=l.qodef_background_text),void 0!==l.qodef_background_text_color&&l.qodef_background_text_color.length&&(a.background_text_color=l.qodef_background_text_color),void 0!==l.qodef_background_text_size&&l.qodef_background_text_size.length&&(a.background_text_size=l.qodef_background_text_size),void 0!==l.qodef_background_text_size_1440&&l.qodef_background_text_size_1440.length&&(a.background_text_size_1440=l.qodef_background_text_size_1440),void 0!==l.qodef_background_text_size_1366&&l.qodef_background_text_size_1366.length&&(a.background_text_size_1366=l.qodef_background_text_size_1366),void 0!==l.qodef_background_text_size_1024&&l.qodef_background_text_size_1024.length&&(a.background_text_size_1024=l.qodef_background_text_size_1024),void 0!==l.qodef_background_text_vertical_offset&&l.qodef_background_text_vertical_offset.length&&(a.background_text_vertical_offset=l.qodef_background_text_vertical_offset),void 0!==l.qodef_background_text_vertical_offset_1440&&l.qodef_background_text_vertical_offset_1440.length&&(a.background_text_vertical_offset_1440=l.qodef_background_text_vertical_offset_1440),void 0!==l.qodef_background_text_vertical_offset_1366&&l.qodef_background_text_vertical_offset_1366.length&&(a.background_text_vertical_offset_1366=l.qodef_background_text_vertical_offset_1366),void 0!==l.qodef_background_text_vertical_offset_1024&&l.qodef_background_text_vertical_offset_1024.length&&(a.background_text_vertical_offset_1024=l.qodef_background_text_vertical_offset_1024),void 0!==l.qodef_background_text_horizontal_align&&l.qodef_background_text_horizontal_align.length&&(a.background_text_horizontal_align=l.qodef_background_text_horizontal_align),void 0!==l.qodef_background_text_vertical_align&&l.qodef_background_text_vertical_align.length&&(a.background_text_vertical_align=l.qodef_background_text_vertical_align)}else{o=qodefElementorGlobal.vars.elementorColumnHandler;r.each(o,function(o,e){t=r('[data-id="'+o+'"]'),a.background_text=e[0],a.background_text_color=e[1],a.background_text_size=e[2],a.background_text_size_1440=e[3],a.background_text_size_1366=e[4],a.background_text_size_1024=e[5],a.background_text_vertical_offset=e[6],a.background_text_vertical_offset_1440=e[7],a.background_text_vertical_offset_1366=e[8],a.background_text_vertical_offset_1024=e[9],a.background_text_horizontal_align=e[10],a.background_text_vertical_align=e[11],void 0!==a.background_text&&(a.background_text_enable="yes"),void 0!==t&&t.length&&_.generateOutput(t,a)})}void 0!==t&&_.generateOutput(t,a)},generateOutput:function(o,e){void 0!==e.background_text_enable&&"yes"==e.background_text_enable&&void 0!==e.background_text&&(r(".qodef-m-background-text-holder",o).remove(),o.removeClass("qodef-background-text"),o.addClass("qodef-background-text"),r('<div class="qodef-m-background-text-holder"><span class="qodef-m-background-text">'+e.background_text+"</span></div>").prependTo(o),o.find(".qodef-m-background-text").css({color:e.background_text_color}),o.find(".qodef-m-background-text-holder").css({"justify-content":e.background_text_horizontal_align,"align-items":e.background_text_vertical_align}),o.find(".qodef-m-background-text").attr("data-size-3840",e.background_text_size),o.find(".qodef-m-background-text").attr("data-size-1440",e.background_text_size_1440),o.find(".qodef-m-background-text").attr("data-size-1366",e.background_text_size_1366),o.find(".qodef-m-background-text").attr("data-size-1024",e.background_text_size_1024),o.find(".qodef-m-background-text").attr("data-vertical-offset-3840",e.background_text_vertical_offset),o.find(".qodef-m-background-text").attr("data-vertical-offset-1440",e.background_text_vertical_offset_1440),o.find(".qodef-m-background-text").attr("data-vertical-offset-1366",e.background_text_vertical_offset_1366),o.find(".qodef-m-background-text").attr("data-vertical-offset-1024",e.background_text_vertical_offset_1024),qodefBackgroundText.init())}},a={init:function(){elementorFrontend.hooks.addAction("frontend/element_ready/container",n.init)}},n={init:function(o){var t,a,l=o,e=Boolean(elementorFrontend.isEditMode()),i=[],_={};e&&void 0!==o?(e=window.elementor.elements,t=l.data("id"),a=l.hasClass("e-con--column"),r.each(e.models,function(o,e){t==e.id?_=e.attributes.settings.attributes:a&&void 0!==e.attributes.elements.models&&e.attributes.elements.models.length&&r.each(e.attributes.elements.models,function(o,e){void 0!==e.attributes.settings.attributes&&t==e.attributes.id&&(_=e.attributes.settings.attributes)})}),void 0!==_.qodef_parallax_type&&(i.enable_parallax=_.qodef_parallax_type),void 0!==_.qodef_parallax_image&&_.qodef_parallax_image.url&&(i.parallax_image_url=_.qodef_parallax_image.url),void 0!==_.qodef_offset_type&&(i.enable_offset=_.qodef_offset_type),void 0!==_.qodef_offset_image_items&&(i.offset_image_items=_.qodef_offset_image_items),void 0!==l&&n.generateOutput(l,i)):(o=qodefElementorContainerGlobal.vars.elementorContainerHandler,r.each(o,function(e,o){o.forEach(function(o){void 0!==o.parallax_type&&"parallax"===o.parallax_type&&(l=r('[data-id="'+e+'"]'),i.parallax_type=o.parallax_type,i.parallax_image_url=o.parallax_image.url,void 0!==i.parallax_image_url)&&(i.enable_parallax="parallax"),void 0!==o.offset_type&&"offset"===o.offset_type&&(l=r('[data-id="'+e+'"]'),i.offset_type=o.offset_type,i.offset_image_items=o.offset_image_items,void 0!==i.offset_image_items)&&(i.enable_offset="offset")}),void 0===l||l.hasClass("qodef-parallax--init")||(n.generateOutput(l,i),i=[])}))},generateOutput:function(o,e){var t;void 0!==e.enable_parallax&&"parallax"===e.enable_parallax&&void 0!==e.parallax_image_url&&(r(".qodef-parallax-row-holder",o).remove(),o.removeClass("qodef-parallax qodef--parallax-row"),o.addClass("qodef-parallax qodef--parallax-row"),r('<div class="qodef-parallax-row-holder"><div class="qodef-parallax-img-holder"><div class="qodef-parallax-img-wrapper"><img class="qodef-parallax-img" src="'+e.parallax_image_url+'" alt="Parallax Image"></div></div></div>').prependTo(o),e.parallax_speed&&o.find(".qodef-parallax-row-holder").attr("data-speed",e.parallax_speed),(t=new Image).onload=function(){o.find("img.qodef-parallax-img").attr("src",this.src),qodefCore.qodefParallaxBackground.ready(o)},t.src=e.parallax_image_url),void 0!==e.enable_offset&&"offset"===e.enable_offset&&void 0!==e.offset_image_url&&(r(".qodef-offset-image-holder",o).remove(),o.removeClass("qodef-offset-image"),t="",void 0!==e.offset_parallax&&"yes"===e.offset_parallax&&(t=" qodef-parallax-item"),o.addClass("qodef-offset-image"),r('<div class="qodef-offset-image-holder" style="position: absolute; z-index: 5; '+e.offset_vertical_anchor+":"+e.offset_vertical_position+";"+e.offset_horizontal_anchor+":"+e.offset_horizontal_position+'"><div class="qodef-offset-image-wrapper'+t+'"><img src="'+e.offset_image_url+'" alt="Offset Image"></div></div>').prependTo(o))}}})(jQuery);