!function(e,n){"use strict";var t=function(e,n){var t=e.find(".bdt-heading > *"),i=t.find(".bdt-animated-heading"),o=i.data("settings");if(t.length){if("animated"===o.layout)elementorFrontend.waypoint(t,(function(){n(i).Morphext(o)}),{offset:"bottom-in-view"});else if("typed"===o.layout)elementorFrontend.waypoint(t,(function(){var e=n(i).attr("id");new Typed("#"+e,o)}),{offset:"bottom-in-view"});else if("split_text"===o.layout){var a=n(t),r=gsap.timeline(),s=new SplitText(a,{type:"chars, words, lines"});gsap.set(a,{perspective:o.anim_perspective}),elementorFrontend.waypoint(t,(function(){!function(){var e=gsap.timeline(),n=new SplitText(a,{type:"chars, words, lines"});e.clear().time(0),n.revert()}(),s.split({type:"chars, words, lines"});var e="";e="lines"==o.animation_on?s.lines:"chars"==o.animation_on?s.chars:s.words,r.staggerFrom(e,.5,{opacity:0,scale:o.anim_scale,y:o.anim_rotation_y,rotationX:o.anim_rotation_x,transformOrigin:o.anim_transform_origin},o.anim_duration)}),{offset:"bottom-in-view",triggerOnce:o.anim_repeat})}n(t).animate({easing:"slow",opacity:1},500)}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-animated-heading.default",t)}))}(jQuery,window.elementorFrontend);