%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/t/r/a/tradesc/www/relax/wp-content/uploads/elementor/js/
Upload File :
Create Path :
Current File : /home/t/r/a/tradesc/www/relax/wp-content/uploads/elementor/js/dce-frontend.min.js

/*ajaxmodal.min.js*/
;var urlAttuale;var titoloAttuale;var ajaxPage_init=function(elementSettings,scopeId){var tid=elementSettings.ajax_page_template;if(jQuery('#dce-wrap').length==0){jQuery('body').addClass('dce-ajax-page-open');jQuery('body').wrapInner('<div id="dce-outer-wrap"><div id="dce-wrap"></div></div>')}
jQuery('.ajax-open[data-id='+scopeId+']').on('click','.dce-wrapper a',function(e){urlAttuale=location.pathname;titoloAttuale=document.title;jQuery('body').addClass('modal-p-'+scopeId);var modale='<div class="modals-p modals-p-'+scopeId+'"><div class="wrap-p"><div class="modal-p"></div><a href="'+urlAttuale+'" class="close"><span class="dce-quit-ics"></span></a></div></div>';var loading='<div class="load-p"></div>';var linkHref=jQuery(this).attr('href');jQuery('body').append(modale).append(loading);newLocation=linkHref;jQuery.ajax({url:dceAjaxPath.ajaxurl,dataType:"html",type:'POST',data:{'action':'modale_action','post_href':linkHref,'template_id':tid},error:function(){erroreModale()},success:function(data,status,xhr){var $result=data;riempiModale($result,linkHref,scopeId)},});jQuery('.modals-p .wrap-p').find('.close').on('click',function(e){var linkHref=jQuery(this).attr('href');chiudiModale(linkHref,scopeId);return!1});jQuery(document).on('keyup',function(e){if(e.keyCode==27){chiudiModale(urlAttuale,scopeId)}});return!1})}
function googleAnalytics_view(path,title,scopeId){ga('set',{page:path,title:title});ga('send','pageview')}
function riempiModale(data,url,scopeId){if(0!=data){var posScroll=jQuery('body').scrollTop();jQuery('.load-p').remove();var titoloPagina=jQuery(data).find('.titolo-nativo').text();var quelloCheVoglio=jQuery(data).filter('.content-p');quelloCheVoglio.find('.titolo-nativo').remove();jQuery('body').addClass('modal-p-on');jQuery('.modals-p-'+scopeId+' .modal-p').html(quelloCheVoglio);jQuery('body.modal-p-on.modal-p-'+scopeId+' .wrap-p .modal-p').one('webkitAnimationEnd oanimationend msAnimationEnd animationend',function(el){jQuery('html, body').addClass('no-scroll');jQuery('body').addClass('cancella-body')});var element_el=quelloCheVoglio.find('.elementor-element');element_el.each(function(i){var el=jQuery(this).data('element_type');elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))});var stateObj={url:"bar"};if(url!=window.location){var elementSettings=get_Dyncontel_ElementSettings(jQuery(this));if(elementSettings.change_url){window.history.pushState(null,null,url)}
document.title=titoloPagina}}}
function chiudiModale(url,scopeId){jQuery('html, body').removeClass('no-scroll');jQuery('body').removeClass('modal-p-on cancella-body').addClass('modal-p-off');jQuery('body.modal-p-off.modal-p-'+scopeId+' .wrap-p .modal-p').one('webkitAnimationEnd oanimationend msAnimationEnd animationend',function(el){jQuery(document).off('keyup');jQuery('.modals-p .wrap-p').find('.close').off('click');jQuery('.modals-p-'+scopeId).remove();jQuery(el.currentTarget).off('webkitAnimationEnd oanimationend msAnimationEnd animationend');if(url!=window.location){window.history.pushState(null,null,url);document.title=titoloAttuale}});jQuery('body.modal-p-off.modal-p-'+scopeId+' #dce-wrap').one('webkitAnimationEnd oanimationend msAnimationEnd animationend',function(el){jQuery('body').removeClass('modal-p-off modal-p-'+scopeId);jQuery(el.currentTarget).off('webkitAnimationEnd oanimationend msAnimationEnd animationend')})}
function erroreModale(){jQuery('.modals-p').html('<p>An error has occurred</p>')}
function requestContent(file){jQuery('.content').load(file+' .content')}(function($){$(window).on('elementor/frontend/init',function(){if(jQuery('.ajax-open').length>0){jQuery('.ajax-open').each(function(i,el){var elementSettings_ajaxOpen=get_Dyncontel_ElementSettings(jQuery(this));ajaxPage_init(elementSettings_ajaxOpen,jQuery(this).attr('data-id'))})}})})(jQuery)
/*dce-advancedvideo.min.js*/
;(function($){var WidgetElements_AdvancedVideoHandler=function($scope,$){var elementSettings=get_Dyncontel_ElementSettings($scope);var id_scope=$scope.attr('data-id');var customControls=elementSettings.dce_video_custom_controls;if(customControls){var showImageOverlay=Boolean(elementSettings.show_image_overlay);var videoType=elementSettings.video_type;var autoplay=Boolean(elementSettings.autoplay);var lightbox=Boolean(elementSettings.lightbox);var muted=Boolean(elementSettings.mute);var loop=Boolean(elementSettings.loop);var controls=elementSettings.dce_video_controls;var generatePlyrVideo=function(){var videoContainer='.elementor-element-'+id_scope;var videoSelector=videoContainer+' .elementor-wrapper';if(videoType=='hosted'){videoSelector=videoContainer+' .elementor-video'}
if(lightbox){videoContainer='#elementor-lightbox-'+id_scope;videoSelector=videoContainer+' .elementor-video-container > div'}
var player=new Plyr(videoSelector,{controls:controls,autoplay:autoplay,muted:muted,loop:{active:loop},disableContextMenu:!1,hideControls:!1})}
if($scope.find('.elementor-custom-embed-image-overlay').length){$scope.on('mouseup','.elementor-custom-embed-image-overlay',function(){if(lightbox){setTimeout(function(){generatePlyrVideo()},1000)}else{setTimeout(function(){generatePlyrVideo()},100)}})}else{generatePlyrVideo()}}};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/video.default',WidgetElements_AdvancedVideoHandler)})})(jQuery)
/*dce-cookie.min.js*/
;var fn='dce_getCookie';if(typeof fn!=='function'){function dce_getCookie(cname){var name=cname+"=";var decodedCookie=decodeURIComponent(document.cookie);var ca=decodedCookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' '){c=c.substring(1)}
if(c.indexOf(name)==0){return c.substring(name.length,c.length)}}
return""}}
var fn='dce_setCookie';if(typeof fn!=='function'){function dce_setCookie(cname,cvalue,exdays){var d=new Date();d.setTime(d.getTime()+(exdays*24*60*60*1000));var expires="expires="+d.toUTCString();document.cookie=cname+"="+cvalue+";"+expires+";path=/"}}
/*dce-cursorTracker.min.js*/
;(function($){var WidgetElements_CursorTrackerHandler=function($scope,$){var elementSettings=get_Dyncontel_ElementSettings($scope);var id_scope=$scope.attr('data-id');var cursorTarget=$scope.find('#cursors-'+id_scope);var init_cursortracker=function(){var progressTracker=elementSettings.cursortracker_scroll;if(progressTracker){var progressPath=document.querySelector('.progress-wrap path.dce-cursortrack-path1');var pathLength=progressPath.getTotalLength();progressPath.style.transition=progressPath.style.WebkitTransition='none';progressPath.style.strokeDasharray=pathLength+' '+pathLength;progressPath.style.strokeDashoffset=pathLength;progressPath.getBoundingClientRect();progressPath.style.transition=progressPath.style.WebkitTransition='stroke-dashoffset 10ms linear';window.removeEventListener('scroll',updateProgress);var updateProgress=function(){var scroll=$(window).scrollTop();var height=$(document).height()-$(window).height();var progress=pathLength-(scroll*pathLength/height);progressPath.style.strokeDashoffset=progress}
updateProgress();window.addEventListener('scroll',updateProgress)}
if(elementorFrontend.isEditMode()){if($('body > .cursors').length){$('body > .cursors').remove()}}
cursorTarget.prependTo("body");var container=document.getElementsByTagName("body")[0];var cursors=cursorTarget[0];var cursorswrap=cursorTarget.find('.cursor-wrap');function positionCircle(elem){var relX=elem.clientX;var relY=elem.clientY;TweenMax.to(cursors,1,{x:relX+"px",y:relY+"px"})}
container.addEventListener("mouseenter",function(n){TweenMax.to(cursors,0.5,{scale:1})});container.addEventListener("mouseleave",function(n){TweenMax.to(cursors,0.5,{scale:0})});container.addEventListener("mousemove",function(e){positionCircle(e)});var t=document.getElementById("cursor"),e=document.getElementById("cursor2"),i=document.getElementById("cursor3");function n(t){cursors.classList.add("hover")}
function s(t){cursors.classList.remove("hover")}
s();for(var r=document.querySelectorAll(".cursor-target"),a=r.length-1;a>=0;a--){o(r[a])}
function o(t){t.addEventListener("mouseover",n),t.addEventListener("mouseout",s)}}
var responsive_cursorTracker=elementSettings.responsive_cursorTracker;var deviceMode=$('body').attr('data-elementor-device-mode');if($.inArray(deviceMode,responsive_cursorTracker)>=0){init_cursortracker()}else{cursorTarget.remove()}};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-cursorTracker.default',WidgetElements_CursorTrackerHandler)})})(jQuery)
/*dce-form-step.min.js*/
;function dce_show_step(target,element,direction='next',scroll=!1){var form=jQuery('.elementor-element-'+element);var step=jQuery('.elementor-element-'+element+' #dce-form-step-'+target);jQuery('.elementor-element-'+element+' .elementor-error').removeClass('elementor-error');jQuery('.elementor-element-'+element+' .dce-form-step').hide().addClass('elementor-hidden');jQuery('.elementor-element-'+element+' .dce-step-active').removeClass('dce-step-active');jQuery('.elementor-element-'+element+' .dce-step-active-progressbar').removeClass('dce-step-active-progressbar');jQuery('.elementor-element-'+element+' #dce-form-step-'+target+'-progressbar').addClass('dce-step-active-progressbar');jQuery('.elementor-element-'+element+' .dce-step-active-summary').removeClass('dce-step-active-summary');jQuery('.elementor-element-'+element+' #dce-form-step-'+target+'-summary').addClass('dce-step-active-summary');jQuery('.elementor-element-'+element+' #dce-form-step-'+target+'-summary').addClass('dce-step-filled-summary');if(!jQuery('.elementor-element-'+element+' .dce-form-step-summary').not('.dce-step-filled-summary').length){jQuery('.elementor-element-'+element+' .dce-form-summary-wrapper .elementor-button-wrapper').show()}
if(step.hasClass('dce-form-visibility-step')){if((step.hasClass('dce-form-visibility-step-hide-init')&&!step.hasClass('dce-form-visibility-step-hide'))||(step.hasClass('dce-form-visibility-step-show-init')&&!step.hasClass('dce-form-visibility-step-show'))){dce_epro_applyStep(direction,step);console.log('skip step '+target+', direction '+direction);var new_target=step.find('.elementor-button-'+direction).attr('data-target');return dce_show_step(new_target,element,direction,scroll)}}
console.log('apply step '+target);dce_epro_applyStep(direction,step);console.log('show step '+target);step.css('display','flex').addClass('dce-step-active');step.removeClass('elementor-hidden');if(scroll){console.log('scroll to top');jQuery('html, body').animate({scrollTop:jQuery('.elementor-element-'+element).offset().top},500)}
return!0}
function dce_epro_applyStep(direction,step){if(direction=='next'){step_direction=step.prev()}else{step_direction=step.next()}
if(step_direction){console.log('applyStep '+step_direction.attr('id'));if(step_direction.find('.e-form__buttons__wrapper__button-'+direction).length){console.log('epro click');step_direction.find('.e-form__buttons__wrapper__button-'+direction).trigger('click');return!0}}
return!1}
function dce_valid_step(step){}
function dce_validate_step(step){var isValid=!0;step.find('.elementor-field-group [required]').each(function(index,el){if(!el.checkValidity()){el.reportValidity();return isValid=!1}});return isValid}
function dce_replace_field_shortcode(target,element,direction='next'){}
function dce_form_field_custom_id(type,id){var tmp=id.split('-');switch(type){case 'checkbox':case 'radio':tmp.pop();default:return tmp.pop()}
return id}
/*dce-form-summary.min.js*/
;(function($){var WidgetElements_FormHandler=function($scope,$){var elementSettings=get_Dyncontel_ElementSettings($scope);var id_scope=$scope.attr('data-id');var summary=elementSettings.dce_step_summary;if(summary){$scope.find('input, textarea, select').on('change',function(){var custom_id=jQuery(this).attr('name').replace("form_fields[","").replace("[","").replace("]","").replace("]","").replace("[]","");var input_type=jQuery(this).attr('type')?jQuery(this).attr('type'):jQuery(this).prop("tagName");var input_value='';switch(input_type){case 'radio':input_value=jQuery('.elementor-element-'+id_scope+' input[id^="form-field-'+custom_id+'-"]:checked').val();break;case 'checkbox':input_value=jQuery('.elementor-element-'+id_scope+' input[id^="form-field-'+custom_id+'-"]:checked').map(function(){return jQuery(this).val()}).get();if(input_value){input_value=input_value.join(', ')}
break;case 'select':input_value=jQuery(this).val();input_value=jQuery('.elementor-element-'+id_scope+' input[id="form-field-'+custom_id+'"] option:selected"').text()
break;case 'textarea':input_value=jQuery(this).val();if(input_value.length>20){input_value=input_value.substr(0,20);input_value+='...'}
break;default:input_value=jQuery(this).val()}
jQuery('.elementor-element-'+id_scope+' span[id="dce-summary-value-form-field-'+custom_id+'-'+id_scope+'"]').text(input_value);setTimeout(function(){jQuery('.elementor-element-'+id_scope+' .dce-form-step.dce-form-visibility-step').each(function(){var step=jQuery(this);var step_id=step.attr('data-custom_id');var step_summary=jQuery('.elementor-element-'+id_scope+' #dce-form-step-'+step_id+'-summary');if(step.hasClass('dce-form-visibility-step-show-init')){if(step.hasClass('dce-form-visibility-step-show')){step_summary.show()}else{step_summary.hide()}}
if(step.hasClass('dce-form-visibility-step-hide-init')){if(step.hasClass('dce-form-visibility-step-hide')){step_summary.hide()}else{step_summary.show()}}});jQuery('.elementor-element-'+id_scope+' *[name^="form_fields"]').each(function(){var custom_id=jQuery(this).attr('name').replace("form_fields[","").replace("[","").replace("]","").replace("]","").replace("[]","");if(jQuery(this).prop('disabled')){jQuery('.elementor-element-'+id_scope+' #dce-summary-form-field-'+custom_id).hide()}else{jQuery('.elementor-element-'+id_scope+' #dce-summary-form-field-'+custom_id).show()}})},100)});$scope.on('click','.dce-form-step-summary-edit',function(){var step_id=jQuery(this).attr('data-target');var element_id=jQuery(this).attr('data-element');dce_show_step(step_id,element_id)});$scope.on('click','.dce-form-summary-wrapper .elementor-button-submit',function(){$scope.find('.dce-form-summary-wrapper').slideUp();$scope.find('.elementor-field-type-submit button').trigger('click')})}};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/form.default',WidgetElements_FormHandler)})})(jQuery)
/*dce-settings.min.js*/
;function get_Dyncontel_ElementSettings($element){var elementSettings=[];var modelCID=$element.data('model-cid');if(elementorFrontend.isEditMode()&&modelCID){var settings=elementorFrontend.config.elements.data[modelCID];var type=settings.attributes.widgetType||settings.attributes.elType;var settingsKeys=elementorFrontend.config.elements.keys[type];if(!settingsKeys){settingsKeys=elementorFrontend.config.elements.keys[type]=[];jQuery.each(settings.controls,function(name,control){if(control.frontend_available){settingsKeys.push(name)}})}
jQuery.each(settings.getActiveControls(),function(controlKey){if(-1!==settingsKeys.indexOf(controlKey)){elementSettings[controlKey]=settings.attributes[controlKey]}})}else{elementSettings=$element.data('settings')||{}}
return elementSettings}(function($){var get_Dyncontel_ElementSettings=function($element){var elementSettings={};var modelCID=$element.data('model-cid');if(elementorFrontend.isEditMode()&&modelCID){var settings=elementorFrontend.config.elements.data[modelCID];var settingsKeys=elementorFrontend.config.elements.keys[settings.attributes.widgetType||settings.attributes.elType];var type=settings.attributes.widgetType||settings.attributes.elType;if(!settingsKeys){settingsKeys=elementorFrontend.config.elements.keys[type]=[];jQuery.each(settings.controls,function(name,control){if(control.frontend_available){settingsKeys.push(name)}})}
jQuery.each(settings.getActiveControls(),function(controlKey){if(-1!==settingsKeys.indexOf(controlKey)){elementSettings[controlKey]=settings.attributes[controlKey]}})}else{elementSettings=$element.data('settings')||[]}
return elementSettings}})(jQuery)
/*dce-svgblob.min.js*/
;(function($){var WidgetElements_SvgBlobHandler=function($scope,$){var elementSettings=get_Dyncontel_ElementSettings($scope);var id_scope=$scope.attr('data-id');var numPoints=elementSettings.numPoints.size;var minRadius=elementSettings.minmaxRadius.sizes.start;var maxRadius=elementSettings.minmaxRadius.sizes.end;var minDuration=elementSettings.minmaxDuration.sizes.start;var maxDuration=elementSettings.minmaxDuration.sizes.end;var is_showPoints=Boolean(elementSettings.show_points)||!1;var blob1=createBlob({element:document.querySelector("#path1-"+id_scope),numPoints:numPoints,centerX:(elementSettings.viewbox_width/2)||300,centerY:(elementSettings.viewbox_height/2)||300,minRadius:minRadius,maxRadius:maxRadius,minDuration:minDuration,maxDuration:maxDuration});var tensionPoints=elementSettings.tensionPoints.size;if(is_showPoints){createDots([blob1])}
function createBlob(options){var points=[];var path=options.element;var slice=(Math.PI*2)/options.numPoints;var startAngle=random(Math.PI*2);var tl=new TimelineMax({onUpdate:update});for(var i=0;i<options.numPoints;i++){var angle=startAngle+i*slice;var duration=random(options.minDuration,options.maxDuration);var point={x:options.centerX+Math.cos(angle)*options.minRadius,y:options.centerY+Math.sin(angle)*options.minRadius};var tween=TweenMax.to(point,duration,{x:options.centerX+Math.cos(angle)*options.maxRadius,y:options.centerY+Math.sin(angle)*options.maxRadius,repeat:-1,yoyo:!0,ease:Sine.easeInOut});tl.add(tween,-random(duration));points.push(point)}
options.tl=tl;options.points=points;function update(){path.setAttribute("d",cardinal(points,!0,tensionPoints))}
return options}
function cardinal(data,closed,tension){if(data.length<1)return"M0 0";if(tension==null)tension=1;var size=data.length-(closed?0:1);var path="M"+data[0].x+" "+data[0].y+" C";for(var i=0;i<size;i++){var p0,p1,p2,p3;if(closed){p0=data[(i-1+size)%size];p1=data[i];p2=data[(i+1)%size];p3=data[(i+2)%size]}else{p0=i==0?data[0]:data[i-1];p1=data[i];p2=data[i+1];p3=i==size-1?p2:data[i+2]}
var x1=p1.x+(p2.x-p0.x)/6*tension;var y1=p1.y+(p2.y-p0.y)/6*tension;var x2=p2.x-(p3.x-p1.x)/6*tension;var y2=p2.y-(p3.y-p1.y)/6*tension;path+=" "+x1+" "+y1+" "+x2+" "+y2+" "+p2.x+" "+p2.y}
return closed?path+"z":path}
function random(min,max){if(max==null){max=min;min=0}
if(min>max){var tmp=min;min=max;max=tmp}
return min+(max-min)*Math.random()}
function createDots(blobs){var dotContainer=$scope.find("#dot-container")[0];var showPoints=!0;var points=[];var dots=[];blobs.forEach(function(blob){blob.points.forEach(function(point){var dot=document.createElementNS("http://www.w3.org/2000/svg","circle");dot.setAttribute("r",elementSettings.dot_r.size);dot.setAttribute("fill",elementSettings.dot_color);dot.setAttribute("class","dot");dotContainer.appendChild(dot);dots.push(dot);points.push(point)})});if(is_showPoints){onChange();TweenLite.ticker.addEventListener("tick",update)}
function onChange(){if(is_showPoints){showPoints=!0}else{showPoints=!1}
dotContainer.style.setProperty("visibility",showPoints?"visible":"hidden")}
function update(){if(!showPoints){return}
for(var i=0;i<points.length;i++){var p=points[i];dots[i].setAttribute("transform","translate("+p.x+","+p.y+")")}}}};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-svgblob.default',WidgetElements_SvgBlobHandler)})})(jQuery)
/*dce-svgdistortion.min.js*/
;(function($){var WidgetElements_SvgDistortionHandler=function($scope,$){var elementSettings=get_Dyncontel_ElementSettings($scope);var id_scope=$scope.attr('data-id');var imgDisplacment=elementSettings.displacement_image.url;var image_url=$scope.find('.dce_distortion').attr('data-dispimage');if(!image_url){return}
var feDisp=$scope.find('feDisplacementMap#displacement-map')[0];var feImage=$scope.find('feImage#displacement-image')[0];var scaleMap=elementSettings.disp_factor.size;var scaleImage=elementSettings.disp_scale.size+'%';var posImage=((100-(Number(elementSettings.disp_scale.size)))/2)+'%';var random_animation=!1;var random_animation_range=0;if(elementSettings.svg_trigger=='rollover'||elementSettings.svg_trigger=='scroll'){var scaleMapTo=elementSettings.disp_factor_to.size||0;var scaleImageTo=elementSettings.disp_scale_to.size+'%'||'100%';var posImageTo=((100-(Number(elementSettings.disp_scale_to.size)))/2)+'%'||'0%'}
if(elementSettings.svg_trigger=='animation'){random_animation=Boolean(elementSettings.random_animation);if(random_animation){random_animation_range=Number(elementSettings.random_animation_range.size);var scaleMap_rand_min=Number(scaleMap-random_animation_range);var scaleMap_rand_max=Number(scaleMap+random_animation_range);var scaleImage_rand_min=Number(scaleImage-random_animation_range);var scaleImage_rand_max=Number(scaleImage+random_animation_range);var random_val_1=scaleMap;var random_val_2=getRandomValue(scaleMap_rand_min,scaleMap_rand_max)}}
if(elementSettings.svg_trigger!='static'){var animation_delay=elementSettings.delay_animation.size||1;var animation_speed=elementSettings.speed_animation.size||3;var easing_animation_ease=elementSettings.easing_animation_ease||'Power3';var easing_animation=elementSettings.easing_animation||'easeInOut';var easeFunction=easing_animation_ease+'.'+easing_animation}
var is_running=!1;var run=$('#dce-svg-'+id_scope).attr('data-run');if(elementorFrontend.isEditMode()){if(tl)tl.kill(feDisp);if(tli)tli.kill(feImage);$('.elementor-element[data-id='+id_scope+'] svg, .'+elementSettings.id_svg_class+' a').off('mouseenter');$('.elementor-element[data-id='+id_scope+'] svg, .'+elementSettings.id_svg_class+' a').off('mouseleave');$('.elementor-element[data-id='+id_scope+'] svg, .'+elementSettings.id_svg_class+' a').off('touchstart');$('.elementor-element[data-id='+id_scope+'] svg, .'+elementSettings.id_svg_class+' a').off('touchend')}
var svg_trigger=elementSettings.svg_trigger;var tl=new TimelineMax({repeat:-1,repeatDelay:animation_delay});var tli=new TimelineMax({repeat:-1,repeatDelay:animation_delay});var interrompi=function(){tl.pause();tli.pause();is_running=!1}
var ferma=function(){tl.stop();tli.stop();is_running=!1}
var riproduci=function(){tl.play();tli.play();is_running=!0}
var inverti=function(){tl.reverse();tli.reverse();is_running=!0}
var riprendi=function(){tl.restart();tli.restart();is_running=!0}
var playShapeEl=function(){function repeatOften(){if(run!=$('#dce-svg-'+id_scope).attr('data-run')){run=$('#dce-svg-'+id_scope).attr('data-run');if(run=='running'){riproduci()}else{ferma()}}
requestAnimationFrame(repeatOften)}
requestAnimationFrame(repeatOften)}
var moveFnComplete=function(){random_val_1=random_val_2;random_val_2=getRandomValue(scaleMap_rand_min,scaleMap_rand_max);createAnimation(!0)}
function createAnimation($random=!1){if($random){tl=new TimelineMax({repeat:0});tl.to(feDisp,animation_speed,{onComplete:moveFnComplete,attr:{scale:random_val_1},ease:easeFunction},0).to(feDisp,animation_speed,{attr:{scale:random_val_2},ease:easeFunction},animation_speed)}else{tl.to(feDisp,animation_speed,{attr:{scale:0},ease:easeFunction},0).to(feDisp,animation_speed,{attr:{scale:scaleMap},ease:easeFunction},animation_speed)}
is_running=!0;if(run=='paused'&&elementorFrontend.isEditMode()){ferma()}else{riproduci()}}
var mouseenterFn=function(){tl=new TimelineMax({repeat:0});tli=new TimelineMax({repeat:0});tl.to(feDisp,animation_speed,{attr:{scale:scaleMapTo},ease:easeFunction},0);tli.to(feImage,animation_speed,{attr:{x:posImageTo,y:posImageTo,width:scaleImageTo,height:scaleImageTo},ease:easeFunction},0)};var mouseleaveFn=function(){tl=new TimelineMax({repeat:0});tli=new TimelineMax({repeat:0});tl.to(feDisp,animation_speed,{attr:{scale:scaleMap},ease:easeFunction},0);tli.to(feImage,animation_speed,{attr:{x:posImage,y:posImage,width:scaleImage,height:scaleImage},ease:easeFunction},0)};var active_scrollAnalysi=function($el){if($el){tl=new TimelineMax({repeat:0,paused:!0,});var runAnim=function(dir){if(dir=='down'){tl.to(feDisp,animation_speed,{attr:{scale:scaleMapTo},ease:easeFunction},animation_delay);tli.to(feImage,animation_speed,{attr:{x:posImageTo,y:posImageTo,width:scaleImageTo,height:scaleImageTo},ease:easeFunction},animation_delay);tl.restart();tli.restart()}else if(dir=='up'){tl.to(feDisp,animation_speed,{attr:{scale:scaleMap},ease:easeFunction},animation_delay);tli.to(feImage,animation_speed,{attr:{x:posImage,y:posImage,width:scaleImage,height:scaleImage},ease:easeFunction},animation_delay);tl.restart();tli.restart()}}
var waypointOptions={triggerOnce:!1,continuous:!0};elementorFrontend.waypoint($($el),runAnim,waypointOptions)}}
if(elementSettings.svg_trigger=='animation'){createAnimation(random_animation);if(elementorFrontend.isEditMode())playShapeEl()}else if(elementSettings.svg_trigger=='rollover'){$('.elementor-element[data-id='+id_scope+'] svg, .'+elementSettings.id_svg_class+' a').on('mouseenter',mouseenterFn);$('.elementor-element[data-id='+id_scope+'] svg, .'+elementSettings.id_svg_class+' a').on('mouseleave',mouseleaveFn);$('.elementor-element[data-id='+id_scope+'] svg, .'+elementSettings.id_svg_class+' a').on('touchstart',mouseenterFn);$('.elementor-element[data-id='+id_scope+'] svg, .'+elementSettings.id_svg_class+' a').on('touchend',mouseleaveFn)}else if(elementSettings.svg_trigger=='scroll'){$('#dce-svg-'+id_scope).attr('data-run','paused')
active_scrollAnalysi('#dce-svg-'+id_scope)}
function getRandomValue(min,max){min=Math.ceil(min);max=Math.floor(max);return Math.floor(Math.random()*(max-min))+min}
function dce_toBase64(url,callback){var img=new Image();img.crossOrigin="anonymous";img.onload=function(){var canvas=document.createElement("canvas");var ctx=canvas.getContext("2d");canvas.height=this.height;canvas.width=this.width;ctx.drawImage(this,0,0);var dataURL=canvas.toDataURL("image/png");callback(dataURL);canvas=null};img.src=url}};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-svgdistortion.default',WidgetElements_SvgDistortionHandler)})})(jQuery)
/*dce-svgfe.min.js*/
;(function($){var WidgetElements_SvgFilterEffectsHandler=function($scope,$){var elementSettings=get_Dyncontel_ElementSettings($scope);var id_scope=$scope.attr('data-id');var valColor1='';var valColor2='';var valBroken='';var valBaseFrequency='';var valNumOctaves='';var valScale='';var valSeed='';var valSketch='';var glitch='';var feDisp=$scope.find('feDisplacementMap#displacement-map')[0];var feImage=$scope.find('feImage#displacement-image')[0];var scaleMapTo=0;var is_running=!1;var run=$('#dce-svg-'+id_scope).attr('data-run');var animation_delay=1;var animation_speed=3;var easing_animation_ease='Power3';var easing_animation='easeInOut';var easeFunction=easing_animation_ease+'.'+easing_animation;var svg_trigger=elementSettings.svg_trigger;var tl=new TimelineMax({repeat:-1,repeatDelay:animation_delay});var interrompi=function(){tl.pause();is_running=!1}
var ferma=function(){tl.stop();is_running=!1}
var riproduci=function(){tl.play();is_running=!0}
var inverti=function(){tl.reverse();is_running=!0}
var riprendi=function(){tl.restart();is_running=!0}
var playShapeEl=function(){function repeatOften(){if(run!=$('#dce-svg-'+id_scope).attr('data-run')){run=$('#dce-svg-'+id_scope).attr('data-run');if(run=='running'){riproduci()}else{ferma()}}
requestAnimationFrame(repeatOften)}
requestAnimationFrame(repeatOften)}
var mouseenterFn=function(){var tl=new TimelineMax({repeat:0});tl.to(feDisp,animation_speed,{attr:{scale:scaleMapTo},ease:easeFunction},0)};var mouseleaveFn=function(){var tl=new TimelineMax({repeat:0});tl.to(feDisp,animation_speed,{attr:{scale:scaleMap},ease:easeFunction},0)};var active_scrollAnalysi=function($el){if($el){var tl=new TimelineMax({repeat:0,paused:!0,});var runAnim=function(dir){if(dir=='down'){}else if(dir=='up'){}}
var waypointOptions={triggerOnce:!1,continuous:!0};elementorFrontend.waypoint($($el),runAnim,waypointOptions)}}
if(elementorFrontend.isEditMode()){if(tl)tl.kill(feDisp);$('.elementor-element[data-id='+id_scope+'] svg');$('.elementor-element[data-id='+id_scope+'] svg');$('.elementor-element[data-id='+id_scope+'] svg');$('.elementor-element[data-id='+id_scope+'] svg')}};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-filtereffects.default',WidgetElements_SvgFilterEffectsHandler)})})(jQuery)
/*dce-svgmorph.min.js*/
;(function($){var WidgetElements_SvgMorphHandler=function($scope,$){var elementSettings=get_Dyncontel_ElementSettings($scope);var id_scope=$scope.attr('data-id');var forma=elementSettings.type_of_shape;var playpause_control=elementSettings.playpause_control||'paused';var step=0;var run=$('#dce-svg-'+id_scope).attr('data-run');var is_running=!1;var trigger_svg=elementSettings.svg_trigger;var one_by_one=elementSettings.one_by_one;var enable_image=elementSettings.enable_image||0;var pattern_image='';if(enable_image)pattern_image=elementSettings.svg_image.id;var ripetitore='repeater_shape_'+forma;eval('var repeaterShape = elementSettings.'+ripetitore);var contentElemsTotal=repeaterShape.length;var numberOfElements=repeaterShape.length;var shapes=[];var dceshape="#forma-"+id_scope;var dceshape_svg="#dce-svg-"+id_scope;if(tl)tl.kill($(dceshape));var tl=null;tl=new TimelineMax();if(tlpos)tlpos.kill($(dceshape_svg));var tlpos=null;tlpos=new TimelineMax();var transitionImgAll=new TimelineMax();var transitionImg=new TimelineMax();var dceshape_delay=elementSettings.duration_morph.size||2,dceshape_speed=elementSettings.speed_morph.size||1;var easing_morph_ease=elementSettings.easing_morph_ease||'Power3',easing_morph=elementSettings.easing_morph||'easeInOut';var repeat_morph=elementSettings.repeat_morph;if(transitionTl)transitionTl.kill($(dceshape));var transitionTl=null;if(transitionTl)transitionTlpos.kill($(dceshape_svg));var transitionTlpos=null;var get_data_anim=function(){var duration_anim=elementSettings.duration_morph.size||3;var speed_anim=elementSettings.speed_morph.size||1;easing_morph_ease=elementSettings.easing_morph_ease;easing_morph=elementSettings.easing_morph;repeat_morph=elementSettings.repeat_morph;dceshape_delay=duration_anim;dceshape_speed=speed_anim}
var get_data_shape=function(){shapes=[];var ciccio=[];if(elementorFrontend.isEditMode()){ciccio=repeaterShape.models}else{ciccio=repeaterShape}
var old_points='';$.each(ciccio,function(i,el){var pippo=[];if(elementorFrontend.isEditMode()){pippo=repeaterShape.models[i].attributes}else{pippo=repeaterShape[i]}
var id_shape=pippo.id_shape;var points=pippo.shape_numbers;if(points==''){points=old_points}
old_points=points;var fillColor=pippo.fill_color;var strokeColor=pippo.stroke_color;var fillImage=pippo.fill_image.id;var strokeWidth=pippo.stroke_width.size||0;var shapeX=pippo.shape_x.size||0;var shapeY=pippo.shape_y.size||0;var shapeRotate=pippo.shape_rotation.size||0;var dceshape_delay=elementSettings.duration_morph.size||2,dceshape_speed=elementSettings.speed_morph.size||1;var objRep={points:points,path:{duration:pippo.duration_morph.size,speed:pippo.speed_morph.size,easing:pippo.easing_morph_ease,morph:pippo.easing_morph,elasticity:600,},fill:{color:fillColor,image:pippo.fill_image.id},stroke:{width:strokeWidth,color:strokeColor},svg:{x:shapeX,y:shapeY,rotate:shapeRotate,elasticity:600}}
shapes.push(objRep)})}
var getCustomData_speed=function(i){if(shapes[i].path.speed){dceshape_speed=shapes[i].path.speed}else{dceshape_speed=elementSettings.speed_morph.size}
return dceshape_speed}
var getCustomData_duration=function(i){if(shapes[i].path.duration){dceshape_delay=shapes[i].path.duration}else{dceshape_delay=elementSettings.duration_morph.size}
return dceshape_delay}
var getCustomData_easing=function(i){if(shapes[i].path.easing){easing_morph_ease=shapes[i].path.easing}else{easing_morph_ease=elementSettings.easing_morph_ease}
return easing_morph_ease}
var getCustomData_morph=function(i){if(shapes[i].path.morph){easing_morph=shapes[i].path.morph}else{easing_morph=elementSettings.easing_morph}
return easing_morph}
var getCustomData_image=function(i){if(shapes[i].fill.image){easing_morph=shapes[i].fill.image}else{easing_morph=elementSettings.easing_morph}
return easing_morph}
var createTween=function(){if($("#forma-"+id_scope).length){var tweenSVG='tlpos';var tweenString='tl';$.each(shapes,function(i,el){var fill_element='fill:"'+shapes[i].fill.color+'", ';if(enable_image&&(shapes[i].fill.image||pattern_image)){fill_element='';$(dceshape).attr('fill','url(#pattern-'+id_scope+')')}
if(i>0){tweenString+='.to("'+dceshape+'", '+getCustomData_speed(i)+', {onStart: moveFnStart, onStartParams:['+i+'], onComplete: myFunction1, onCompleteParams:['+i+'], morphSVG:`'+shapes[i].points+'`, ease: '+getCustomData_easing(i)+'.'+getCustomData_morph(i)+', attr:{'+fill_element+'"stroke-width":'+shapes[i].stroke.width+', stroke:"'+shapes[i].stroke.color+'"}}, "+='+getCustomData_duration(i)+'")';tweenSVG+='.to("'+dceshape_svg+'", '+getCustomData_speed(i)+', {rotation:'+shapes[i].svg.rotate+', x:'+shapes[i].svg.x+', y:'+shapes[i].svg.y+', ease: '+getCustomData_easing(i)+'.'+getCustomData_morph(i)+'}, "+='+getCustomData_duration(i)+'")'}});var fill_element='fill:"'+shapes[0].fill.color+'", ';if(enable_image&&(shapes[0].fill.image||pattern_image)){fill_element='';$(dceshape).attr('fill','url(#pattern-'+id_scope+')')}
tweenString+='.to("'+dceshape+'", '+getCustomData_speed(0)+', {onStart: moveFnStart, onStartParams:[0], onComplete: myFunction1, onCompleteParams:[0], morphSVG:`'+shapes[0].points+'`, ease: '+getCustomData_easing(0)+'.'+getCustomData_morph(0)+', attr:{'+fill_element+'"stroke-width":'+shapes[0].stroke.width+', stroke:"'+shapes[0].stroke.color+'"}}, "+='+getCustomData_duration(0)+'")';tweenString+=';';tweenSVG+='.to("'+dceshape_svg+'", '+getCustomData_speed(0)+', {rotation:'+shapes[0].svg.rotate+', x:'+shapes[0].svg.x+', y:'+shapes[0].svg.y+', ease: '+getCustomData_easing(0)+'.'+getCustomData_morph(0)+'}, "+='+getCustomData_duration(0)+'")';tweenSVG+=';'}
eval(tweenString);eval(tweenSVG);is_running=!0;if(run=='paused'&&elementorFrontend.isEditMode()){ferma()}
if(trigger_svg=='rollover'||trigger_svg=='scroll'){ferma()}
tl.eventCallback("onRepeat",myFunction,["param1","param2"]);if(repeat_morph!=0){tl.repeat(repeat_morph);tlpos.repeat(repeat_morph)}
if(elementSettings.yoyo){if(tl.reversed())tl.repeatDelay(elementSettings.duration_morph.size);if(tlpos.reversed())tlpos.repeatDelay(elementSettings.duration_morph.size);tl.yoyo(!0);tlpos.yoyo(!0)}}
var myFunction=function(a,b){}
var myFunction1=function(id_step){$('#dce-svg-'+id_scope).attr('data-morphid',id_step)}
var movetoFn=function(id_step){if(transitionTl)transitionTl.kill($(dceshape));if(transitionTlpos)transitionTl.kill($(dceshape_svg))}
var moveFnStart=function(id_step){if(enable_image){transitionImgAll=TweenMax.to('#dce-svg-'+id_scope+' pattern image.dce-shape-image',getCustomData_speed(id_step),{opacity:0,ease:+(getCustomData_easing(id_step)+'.'+getCustomData_morph(id_step))});transitionImg=TweenMax.to('#dce-svg-'+id_scope+' pattern image#img-patt-'+id_step,getCustomData_speed(id_step),{opacity:1,ease:+(getCustomData_easing(id_step)+'.'+getCustomData_morph(id_step))})}}
var interrompi=function(){tl.pause();tlpos.pause();is_running=!1}
var ferma=function(){if(transitionTl)transitionTl.stop();if(transitionTlpos)transitionTlpos.stop();tl.stop();tlpos.stop();is_running=!1}
var riproduci=function(){tl.play();tlpos.play();is_running=!0}
var inverti=function(){tl.reverse();tlpos.reverse();is_running=!0}
var riprendi=function(){tl.restart();tlpos.restart();is_running=!0}
var moveToStep=function(step){get_data_shape();if(typeof shapes[step]!=="undefined"){if(transitionTl)transitionTl.kill($(dceshape));if(transitionTlpos)transitionTlpos.kill($(dceshape_svg));var fill_element='fill:"'+shapes[step].fill.color+'", ';if(enable_image&&(shapes[step].fill.image||pattern_image)){fill_element='';$(dceshape).attr('fill','url(#pattern-'+id_scope+')')}
var tweenString='transitionTl.to("'+dceshape+'", '+getCustomData_speed(step)+', {onStart: moveFnStart, onStartParams:['+step+'], onComplete: movetoFn, onCompleteParams:['+step+'], morphSVG:`'+shapes[step].points+'`, ease: '+getCustomData_easing(step)+'.'+getCustomData_morph(step)+', attr:{'+fill_element+'"stroke-width":'+shapes[step].stroke.width+', stroke:"'+shapes[step].stroke.color+'"}});';var tweenStringPos='transitionTlpos.to("'+dceshape_svg+'", '+getCustomData_speed(step)+', {rotation: '+shapes[step].svg.rotate+', x:'+shapes[step].svg.x+', y:'+shapes[step].svg.y+', ease: '+getCustomData_easing(step)+'.'+getCustomData_morph(step)+'});';eval(tweenStringPos);eval(tweenString)}}
var playShapeEl=function(){if(transitionTl)transitionTl.kill($(dceshape));if(transitionTlpos)transitionTlpos.kill($(dceshape_svg));transitionTl=new TimelineMax();transitionTlpos=new TimelineMax();function repeatOften(){if(run!=$('#dce-svg-'+id_scope).attr('data-run')){get_data_anim();run=$('#dce-svg-'+id_scope).attr('data-run');if(run=='running'){riproduci()}else{ferma()}}
if(!is_running){if(step!=$('#dce-svg-'+id_scope).attr('data-morphid')){step=$('#dce-svg-'+id_scope).attr('data-morphid');moveToStep(step)}}
requestAnimationFrame(repeatOften)}
requestAnimationFrame(repeatOften)}
var active_scrollAnalysi=function($el){if($el){var runAnim=function(dir){step=$('#dce-svg-'+id_scope).attr('data-morphid');if(dir=='down'){if(one_by_one){if(step<numberOfElements-1){step ++}else{step=0}
moveToStep(step)}else{riproduci()}}else if(dir=='up'){if(one_by_one){}else{interrompi()}}
$('#dce-svg-'+id_scope).attr('data-morphid',step)}
var waypointOptions={offset:'100%',triggerOnce:!1};elementorFrontend.waypoint($($el),runAnim,waypointOptions)}}
var mouseenterFn=function(){step=1;$('#dce-svg-'+id_scope).attr('data-morphid',step);if(!is_running)
moveToStep(step)};var mouseleaveFn=function(){step=0;$('#dce-svg-'+id_scope).attr('data-morphid',step);if(!is_running)
moveToStep(step)};if(!elementorFrontend.isEditMode()&&contentElemsTotal>1&&elementSettings.svg_trigger=='animation'){$('#dce-svg-'+id_scope).attr('data-run','running')}
if(elementorFrontend.isEditMode()){if(transitionTl)transitionTl.kill($(dceshape));if(transitionTlpos)transitionTlpos.kill($(dceshape_svg));$('.elementor-element[data-id='+id_scope+']').off('mouseenter','svg');$('.elementor-element[data-id='+id_scope+']').off('mouseleave','svg');$('.elementor-element[data-id='+id_scope+']').off('touchstart','svg');$('.elementor-element[data-id='+id_scope+']').off('touchend','svg')}
setTimeout(function(){get_data_anim();get_data_shape();if(elementSettings.svg_trigger=='animation'){createTween();if(elementorFrontend.isEditMode()&&contentElemsTotal>1)playShapeEl()}else if(elementSettings.svg_trigger=='rollover'){if(transitionTl)transitionTl.kill($(dceshape));if(transitionTlpos)transitionTlpos.kill($(dceshape_svg));transitionTl=new TimelineMax();transitionTlpos=new TimelineMax();$('.elementor-element[data-id='+id_scope+']').on('mouseenter','svg',mouseenterFn);$('.elementor-element[data-id='+id_scope+']').on('mouseleave','svg',mouseleaveFn);$('.elementor-element[data-id='+id_scope+']').on('touchstart','svg',mouseenterFn);$('.elementor-element[data-id='+id_scope+']').on('touchend','svg',mouseleaveFn)}else if(elementSettings.svg_trigger=='scroll'){if(one_by_one){if(transitionTl)transitionTl.kill($(dceshape));if(transitionTlpos)transitionTlpos.kill($(dceshape_svg));transitionTl=new TimelineMax();transitionTlpos=new TimelineMax()}else{if(playpause_control=='paused'){ferma()}else{createTween()}
if(elementorFrontend.isEditMode()&&contentElemsTotal>1)playShapeEl()}
active_scrollAnalysi('#dce-svg-'+id_scope)}},100)};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-svgmorphing.default',WidgetElements_SvgMorphHandler)})})(jQuery)
/*elements-acfposts.min.js*/
;var isAdminBar=!1,isEditMode=!1;(function($){var WidgetElementsPostsDCEHandler=function($scope,$){var infScroll=null;var elementSettings=get_Dyncontel_ElementSettings($scope),id_scope=$scope.attr('data-id'),elementorElement='.elementor-element-'+id_scope,is_history=Boolean(elementSettings.infiniteScroll_enable_history)?'replace':!1
$block_acfposts='.acfposts-grid',$objBlock_acfposts=$scope.find($block_acfposts);var id_post=$scope.closest('.elementor').attr('data-post-id');if($objBlock_acfposts.data('style')=='swiper'||$objBlock_acfposts.data('style')=='carousel'){if(elementSettings.masking_enable){$objBlock_acfposts.closest('.elementor-section').css('overflow','hidden')}}
if($objBlock_acfposts.data('style')=='grid'){$layoutMode='masonry';if($objBlock_acfposts.data('fitrow'))
$layoutMode='fitRows';var $grid_dce_posts=$objBlock_acfposts.isotope({itemSelector:'.dce-post-item',layoutMode:$layoutMode,sortBy:'original-order',percentPosition:!0,masonry:{columnWidth:'.dce-post-item'}});$grid_dce_posts.imagesLoaded().progress(function(){$grid_dce_posts.isotope('layout')});$grid_dce_posts.imagesLoaded().always(function(){$grid_dce_posts.isotope('layout')});var iso=$grid_dce_posts.data('isotope');$scope.find('.dce-filters .filters-item').on('click','a',function(e){var filterValue=$(this).attr('data-filter');$(this).parent().siblings().removeClass('filter-active');$(this).parent().addClass('filter-active');$grid_dce_posts.isotope({filter:filterValue});if(elementSettings.infiniteScroll_enable){if($objBlock_acfposts.length){$objBlock_acfposts.infiniteScroll('loadNextPage')}}
return!1})}else if($($scope).find($block_acfposts).data('style')=='carousel'){var slidesToShow=elementSettings.slides_to_show||3,isSingleSlide=1===slidesToShow,centro=!0,cicloInfinito=!1;var slideNum=$scope.find('.dce-post-item').length;if(slideNum<Number(elementSettings.slides_to_show)){centroDiapo=!0;cicloInfinito=!1;slideInitNum=Math.ceil(slideNum/2)}else{centro=Boolean(elementSettings.carousel_center_enable);cicloInfinito=Boolean(elementSettings.carousel_infinite_enable)}
var slickOptions={dots:Boolean(elementSettings.carousel_dots_enable),arrows:Boolean(elementSettings.carousel_arrow_enable),prevArrow:'<button type="button" class="slick-prev"><i class="fa fa-angle-left" aria-hidden="true"></i></button>',nextArrow:'<button type="button" class="slick-next"><i class="fa fa-angle-right" aria-hidden="true"></i></button>',infinite:cicloInfinito,autoplay:Boolean(elementSettings.carousel_autoplay_enable),centerPadding:!1,centerMode:Boolean(centro),speed:elementSettings.carousel_speed||500,autoplaySpeed:elementSettings.carousel_autoplayspeed||3000,slidesToShow:Number(elementSettings.slides_to_show)||4,slidesToScroll:Number(elementSettings.slides_to_scroll)||4,responsive:[{breakpoint:992,settings:{slidesToShow:Number(elementSettings.slides_to_show_tablet)||2,slidesToScroll:Number(elementSettings.slides_to_scroll_tablet)||2,dots:Boolean(elementSettings.carousel_dots_enable_tablet),arrows:Boolean(elementSettings.carousel_arrow_enable_tablet),}},{breakpoint:480,settings:{slidesToShow:Number(elementSettings.slides_to_show_mobile)||1,slidesToScroll:Number(elementSettings.slides_to_scroll_mobile)||1,dots:Boolean(elementSettings.carousel_dots_enable_mobile),arrows:Boolean(elementSettings.carousel_arrow_enable_mobile),}}]};if(isSingleSlide){slickOptions.fade='fade'===elementSettings.carousel_effect}else{slickOptions.slidesToScroll=+elementSettings.slides_to_scroll}
$objBlock_acfposts.slick(slickOptions)}else if($($scope).find($block_acfposts).data('style')=='swiper'){var elementSettings=get_Dyncontel_ElementSettings($scope);var elementSwiper=$scope.find('.swiper-container')[0];var id_scope=$scope.attr('data-id');var centroDiapo=!1;var cicloInfinito=!1;var slideInitNum=0;var slidesPerView=Number(elementSettings.slidesPerView);var slideNum=$scope.find('.dce-post-item').length;centerDiapo=Boolean(elementSettings.centeredSlides);cicloInfinito=Boolean(elementSettings.loop);var elementorBreakpoints=elementorFrontend.config.breakpoints;var spaceBetween=0;if(elementSettings.spaceBetween){spaceBetween=elementSettings.spaceBetween}
var swiperOptions={direction:'horizontal',initialSlide:slideInitNum,speed:Number(elementSettings.speed_slider)||300,autoHeight:Boolean(elementSettings.autoHeight),roundLengths:Boolean(elementSettings.roundLengths),effect:elementSettings.effects||'slide',slidesPerView:slidesPerView||'auto',slidesPerGroup:Number(elementSettings.slidesPerGroup)||1,spaceBetween:spaceBetween,slidesOffsetBefore:0,slidesOffsetAfter:0,slidesPerColumn:Number(elementSettings.slidesColumn)||1,slidesPerColumnFill:'row',centerInsufficientSlides:!0,watchOverflow:!0,centeredSlides:centroDiapo,grabCursor:Boolean(elementSettings.grabCursor),freeMode:Boolean(elementSettings.freeMode),freeModeMomentum:Boolean(elementSettings.freeModeMomentum),freeModeMomentumRatio:Number(elementSettings.freeModeMomentumRatio)||1,freeModeMomentumVelocityRatio:Number(elementSettings.freeModeMomentumVelocityRatio)||1,freeModeMomentumBounce:Boolean(elementSettings.freeModeMomentumBounce),freeModeMomentumBounceRatio:Number(elementSettings.speed)||1,freeModeMinimumVelocity:Number(elementSettings.speed)||0.02,freeModeSticky:Boolean(elementSettings.freeModeSticky),loop:cicloInfinito,navigation:{nextEl:id_post?'.dce-elementor-post-'+id_post+' .elementor-element-'+id_scope+' .next-'+id_scope:'.next-'+id_scope,prevEl:id_post?'.dce-elementor-post-'+id_post+' .elementor-element-'+id_scope+' .prev-'+id_scope:'.prev-'+id_scope,},pagination:{el:id_post?'.dce-elementor-post-'+id_post+' .elementor-element-'+id_scope+' .pagination-'+id_scope:'.pagination-'+id_scope,clickable:!0,type:String(elementSettings.pagination_type)||'bullets',dynamicBullets:!0,renderFraction:function(currentClass,totalClass){return'<span class="'+currentClass+'"></span>'+'<span class="separator">'+String(elementSettings.fraction_separator)+'</span>'+'<span class="'+totalClass+'"></span>'},},mousewheel:Boolean(elementSettings.mousewheelControl),keyboard:{enabled:Boolean(elementSettings.keyboardControl),},on:{init:function(){$('body').attr('data-carousel-'+id_scope,this.realIndex)},slideChange:function(e){$('body').attr('data-carousel-'+id_scope,this.realIndex)},}};if(elementSettings.useAutoplay){swiperOptions=$.extend(swiperOptions,{autoplay:!0});var autoplayDelay=Number(elementSettings.autoplay);if(!autoplayDelay){autoplayDelay=3000}else{autoplayDelay=Number(elementSettings.autoplay)}
swiperOptions=$.extend(swiperOptions,{autoplay:{delay:autoplayDelay,disableOnInteraction:Boolean(elementSettings.autoplayDisableOnInteraction),stopOnLastSlide:Boolean(elementSettings.autoplayStopOnLast)}})}
var responsivePoints=swiperOptions.breakpoints={};responsivePoints[elementorBreakpoints.lg]={slidesPerView:Number(elementSettings.slidesPerView)||'auto',slidesPerGroup:Number(elementSettings.slidesPerGroup)||1,spaceBetween:Number(elementSettings.spaceBetween)||0,slidesPerColumn:Number(elementSettings.slidesColumn)||1,};responsivePoints[elementorBreakpoints.md]={slidesPerView:Number(elementSettings.slidesPerView_tablet)||Number(elementSettings.slidesPerView)||'auto',slidesPerGroup:Number(elementSettings.slidesPerGroup_tablet)||Number(elementSettings.slidesPerGroup)||1,spaceBetween:Number(elementSettings.spaceBetween_tablet)||0,slidesPerColumn:Number(elementSettings.slidesColumn_tablet)||Number(elementSettings.slidesColumn)||1,};responsivePoints[elementorBreakpoints.xs]={slidesPerView:Number(elementSettings.slidesPerView_mobile)||Number(elementSettings.slidesPerView_tablet)||Number(elementSettings.slidesPerView)||'auto',slidesPerGroup:Number(elementSettings.slidesPerGroup_mobile)||Number(elementSettings.slidesPerGroup_tablet)||Number(elementSettings.slidesPerGroup)||1,spaceBetween:Number(elementSettings.spaceBetween_mobile)||0,slidesPerColumn:Number(elementSettings.slidesColumn_mobile)||Number(elementSettings.slidesColumn_tablet)||Number(elementSettings.slidesColumn)||1,};swiperOptions=$.extend(swiperOptions,responsivePoints);var mySwiper=new Swiper(elementSwiper,swiperOptions);if(elementSettings.useAutoplay&&elementSettings.autoplayStopOnHover){$(elementSwiper).on({mouseenter:function(){mySwiper.autoplay.stop()},mouseleave:function(){mySwiper.autoplay.start()}})}}
if($objBlock_acfposts.data('style')=='grid'||$objBlock_acfposts.data('style')=='flexgrid'||$objBlock_acfposts.data('style')=='simple'){if(elementSettings.infiniteScroll_enable){if(jQuery(elementorElement+' .pagination__next').length){var infiniteScroll_options={path:elementorElement+' .pagination__next',history:is_history,append:elementorElement+' .dce-post-item',outlayer:iso,status:elementorElement+' .page-load-status',hideNav:elementorElement+'.pagination',scrollThreshold:'scroll'===elementSettings.infiniteScroll_trigger?!0:!1,loadOnScroll:'scroll'===elementSettings.infiniteScroll_trigger?!0:!1,onInit:function(){this.on('load',function(){})}}
if(elementSettings.infiniteScroll_trigger=='button'){infiniteScroll_options.button=elementorElement+' .view-more-button'}
infScroll=$objBlock_acfposts.infiniteScroll(infiniteScroll_options);var nElements=jQuery(elementorElement+' .dce-post-item:visible').length;$objBlock_acfposts.on('append.infiniteScroll',function(event,response,path,items){setTimeout(function(){var nElementsVisible=jQuery(elementorElement+' .dce-post-item:visible').length;if(nElementsVisible<=nElements){$objBlock_acfposts.infiniteScroll('loadNextPage')}},1000)})}}}
function VerticalTimeline(element){this.element=element;this.blocks=this.element.getElementsByClassName("js-cd-block");this.images=this.element.getElementsByClassName("js-cd-img");this.contents=this.element.getElementsByClassName("js-cd-content");this.offset=0.8;this.hideBlocks()};VerticalTimeline.prototype.hideBlocks=function(){if(!"classList" in document.documentElement){return}
var self=this;for(var i=0;i<this.blocks.length;i++){(function(i){if(self.blocks[i].getBoundingClientRect().top>window.innerHeight*self.offset){if(self.images[i]){self.images[i].classList.add("cd-is-hidden")}
if(self.contents[i]){self.contents[i].classList.add("cd-is-hidden")}}})(i)}};VerticalTimeline.prototype.showBlocks=function(){if(!"classList" in document.documentElement){return}
var self=this;if(self.contents.length){for(var i=0;i<this.blocks.length;i++){(function(i){if(self.contents[i].classList.contains("cd-is-hidden")&&self.blocks[i].getBoundingClientRect().top<=window.innerHeight*self.offset){self.images[i].classList.add("cd-timeline__img--bounce-in");self.contents[i].classList.add("cd-timeline__content--bounce-in");self.images[i].classList.remove("cd-is-hidden");self.contents[i].classList.remove("cd-is-hidden")}})(i)}}};var verticalTimelines=document.getElementsByClassName("js-cd-timeline"),verticalTimelinesArray=[],scrolling=!1;if(verticalTimelines.length>0){for(var i=0;i<verticalTimelines.length;i++){(function(i){verticalTimelinesArray.push(new VerticalTimeline(verticalTimelines[i]))})(i)}
jQuery('.wrap-p .modal-p').on("scroll",function(event){if(!scrolling){scrolling=!0;(!window.requestAnimationFrame)?setTimeout(checkTimelineScroll,250):window.requestAnimationFrame(checkTimelineScroll)}});window.addEventListener("scroll",function(event){if(!scrolling){scrolling=!0;(!window.requestAnimationFrame)?setTimeout(checkTimelineScroll,250):window.requestAnimationFrame(checkTimelineScroll)}})}
function checkTimelineScroll(){verticalTimelinesArray.forEach(function(timeline){timeline.showBlocks()});scrolling=!1}
if($scope.find('.dce-hover-effect').length){$scope.find('.dce-post-item').each(function(i,el){$(el).on("mouseenter touchstart",function(){$(this).find('.dce-hover-effect-content').removeClass('dce-close').addClass('dce-open')});$(el).on("mouseleave touchend",function(){$(this).find('.dce-hover-effect-content').removeClass('dce-open').addClass('dce-close')})})}};$(window).on('elementor/frontend/init',function(){if(elementorFrontend.isEditMode()){isEditMode=!0}
if($('body').is('.admin-bar')){isAdminBar=!0}
elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-acfposts.default',WidgetElementsPostsDCEHandler)});if($('.wow').length){var wow=new WOW({boxClass:'wow',animateClass:'animated',offset:0,mobile:!0,live:!0,callback:function(box){},scrollContainer:null});wow.init()}})(jQuery)
/*elements-animateText.min.js*/
;(function($){function random(min,max){return(Math.random()*(max-min))+min}
function curve(i){var n=i/numTitleChars*6.24;return(Math.cos(n))*-200}
var WidgetElements_AnimateTextHandler=function($scope,$){var elementSettings=get_Dyncontel_ElementSettings($scope);var id_scope=$scope.attr('data-id');var eff_in=elementSettings.animatetext_animationstyle_in;var eff_out=elementSettings.animatetext_animationstyle_out;var target=$scope.find('.dce-animatetext');var words=elementSettings.words;var type=elementSettings.animatetext_splittype;var repeater_words=elementSettings.words;var is_running=!1;var texts=[];var ids=[];var ciccio=[];if(elementorFrontend.isEditMode()){ciccio=repeater_words.models}else{ciccio=repeater_words}
$.each(ciccio,function(i,el){var pippo=[];if(elementorFrontend.isEditMode()){pippo=repeater_words.models[i].attributes}else{pippo=repeater_words[i]}
texts.push(pippo.text_word);ids.push(pippo._id)});var repeat=texts.length>1?elementSettings.animatetext_repeat:0;var splitOrigin_in=elementSettings.animatetext_splitorigin_in;var speed_in=elementSettings.speed_animation_in.size;var amount_in=elementSettings.amount_speed_in.size;var delaySteps_in=elementSettings.delay_animation_in.size;var anim_easing_in=elementSettings.animFrom_easing_ease_in+'.'+elementSettings.animFrom_easing_in;var splitOrigin_out=elementSettings.animatetext_splitorigin_out;var speed_out=elementSettings.speed_animation_out.size;var amount_out=elementSettings.amount_speed_out.size;var delaySteps_out=elementSettings.delay_animation_out.size;var anim_easing_out=elementSettings.animFrom_easing_ease_out+'.'+elementSettings.animFrom_easing_out;var splitter;var split;var tl=new TimelineMax({repeat:repeat,paused:!0});var interrompi=function(){tl.pause();is_running=!1}
var ferma=function(){tl.stop();is_running=!1}
var riproduci=function(){tl.play();is_running=!0}
var inverti=function(){tl.reverse();is_running=!0}
var riprendi=function(){tl.restart();is_running=!0}
var active_scrollAnalysi=function($el){if($el){var runAnim=function(dir){if(dir=='down'){riproduci()}else if(dir=='up'){interrompi()}}
var waypointOptions={offset:'100%',triggerOnce:!1};elementorFrontend.waypoint($($el),runAnim,waypointOptions)}}
var old_count=-1;var count=0;var changeText=function(){old_count=count;if(count<texts.length-1){count ++}else{count=0}
changeAndSplittingText(count,old_count)}
var changeAndSplittingText=function($i,$ii){target.empty().html(texts[$i]);target.removeClass('elementor-repeater-item-'+ids[$ii]).addClass('elementor-repeater-item-'+ids[$i]);split=new SplitText(target,{type:['chars','words','lines'],});switch(type){case 'chars':splitter=split.chars;break;case 'words':splitter=split.words;break;case 'lines':splitter=split.lines;break;default:break}
var staggerOpt_in={ease:Linear.easeNone,axis:null,amount:Math.floor(splitter.length/2)*(amount_in/100),from:splitOrigin_in,}
var staggerOpt_out={ease:Linear.easeNone,axis:null,amount:Math.floor(splitter.length/2)*(amount_out/100),from:splitOrigin_out,}
switch(eff_in){case 'fading':tl.staggerFrom(splitter,speed_in,{opacity:0,stagger:staggerOpt_in,delay:delaySteps_in,ease:anim_easing_out});break;case 'from_left':tl.staggerFrom(splitter,speed_in,{x:-100,opacity:0,delay:delaySteps_in,stagger:staggerOpt_in,ease:anim_easing_in});break;case 'from_right':tl.staggerFrom(splitter,speed_in,{x:100,opacity:0,delay:delaySteps_in,stagger:staggerOpt_in,ease:anim_easing_in});break;case 'from_top':tl.staggerFrom(splitter,speed_in,{y:-100,opacity:0,delay:delaySteps_in,stagger:staggerOpt_in,ease:anim_easing_in});break;case 'from_bottom':tl.staggerFrom(splitter,speed_in,{y:100,opacity:0,delay:delaySteps_in,stagger:staggerOpt_in,ease:anim_easing_in});break;case 'zoom_front':tl.staggerFrom(splitter,speed_in,{scale:1.6,opacity:0,delay:delaySteps_in,stagger:staggerOpt_in,ease:anim_easing_in});break;case 'zoom_back':tl.staggerFrom(splitter,speed_in,{scale:0.1,opacity:0,delay:delaySteps_in,stagger:staggerOpt_in,ease:anim_easing_in});break;case 'random_position':tl.staggerFrom(splitter,speed_in,{opacity:0,cycle:{scale:function(){return random(0.1,3)},x:function(){return random(-500,500)},y:function(){return random(-500,500)},z:function(){return random(-500,500)},rotation:function(){return random(-120,120)}},delay:delaySteps_in,stagger:staggerOpt_in,ease:anim_easing_in});break;case 'elastic':tl.staggerFrom(splitter,1,{y:100,rotation:90,opacity:0,stagger:{ease:Linear.easeNone,axis:null,amount:0.5,from:splitOrigin,},ease:Elastic.easeOut},0.03);break;default:break}
if(texts.length>1)
switch(eff_out){case 'fading':tl.staggerTo(splitter,speed_out,{opacity:0,delay:delaySteps_out,stagger:staggerOpt_out,ease:anim_easing_out},null,null,changeText);break;case 'to_left':tl.staggerTo(splitter,speed_out,{x:-100,opacity:0,delay:delaySteps_out,stagger:staggerOpt_out,ease:anim_easing_out},null,null,changeText);break;case 'to_right':tl.staggerTo(splitter,speed_out,{x:100,opacity:0,delay:delaySteps_out,stagger:staggerOpt_out,ease:anim_easing_out},null,null,changeText);break;case 'to_top':tl.staggerTo(splitter,speed_out,{y:-100,opacity:0,delay:delaySteps_out,stagger:staggerOpt_out,ease:anim_easing_out},null,null,changeText);break;case 'to_bottom':tl.staggerTo(splitter,speed_out,{y:100,opacity:0,delay:delaySteps_out,stagger:staggerOpt_out,ease:anim_easing_out},null,null,changeText);break;case 'zoom_front':tl.staggerTo(splitter,speed_out,{scale:1.6,opacity:0,delay:delaySteps_out,stagger:staggerOpt_out,ease:anim_easing_out},null,null,changeText);break;case 'zoom_back':tl.staggerTo(splitter,speed_out,{scale:0.1,opacity:0,delay:delaySteps_out,stagger:staggerOpt_out,ease:anim_easing_out},null,null,changeText);break;case 'random_position':tl.staggerTo(splitter,speed_out,{opacity:0,cycle:{scale:function(){return random(0.1,3)},x:function(){return random(-500,500)},y:function(){return random(-500,500)},z:function(){return random(-500,500)},rotation:function(){return random(-120,120)}},delay:delaySteps_out,stagger:staggerOpt_out,ease:anim_easing_out},null,null,changeText);break;case 'elastic':tl.staggerTo(splitter,0.5,{opacity:0,stagger:{ease:Linear.easeNone,axis:null,amount:0.5,from:splitOrigin,},ease:anim_easing_out},0.08,2);break;default:break}}
changeAndSplittingText(count,old_count);if(elementSettings.animatetext_trigger=='animation'){riproduci()}else if(elementSettings.animatetext_trigger=='rollover'){}else if(elementSettings.animatetext_trigger=='scroll'){active_scrollAnalysi(target)}};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-animateText.default',WidgetElements_AnimateTextHandler)})})(jQuery)
/*elements-content.min.js*/
;(function($){var WidgetElements_ContentHandler=function($scope,$){var dcecontent=$scope.find('.dce-content');var dcecontentWrap=$scope.find('.dce-content-wrapper');var dceunfold=$scope.find('.unfold-btn a');var dceunfoldfa=$scope.find('.unfold-btn i.fa-old');var elementSettings=get_Dyncontel_ElementSettings($scope);if(elementSettings.enable_unfold){var originalHeightUnfold=dcecontentWrap.outerHeight();var heightUnfold=elementSettings.height_content.size;jQuery(window).load(function(){dcecontent.addClass('unfolded');if(originalHeightUnfold>heightUnfold){dceunfold.toggle(function(){dcecontent.height(originalHeightUnfold);dceunfoldfa.removeClass('eicon-plus-circle').addClass('eicon-minus-circle')},function(){dcecontent.height(heightUnfold);dceunfoldfa.removeClass('eicon-minus-circle').addClass('eicon-plus-circle')})}else{dcecontent.removeClass('unfolded').addClass('unfold-open');dceunfold.remove()}})}
function onResize(){originalHeightUnfold=dcecontentWrap.outerHeight()}
window.addEventListener("resize",onResize)};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-content.default',WidgetElements_ContentHandler)})})(jQuery)
/*elements-distortionImage.min.js*/
;(function($){var WidgetElements_imagesDistortionHandler=function($scope,$){var contentDistortion=$scope.find('.dce_distortion-content');var containerDistortion=$scope.find('.dce_distortion-slider');var fragment_style=containerDistortion.attr('data-fragment-style');eval('var fragment_selected = fragment_'+fragment_style);var speedDistortion=Number(containerDistortion.attr('data-speed'));var progressdistortion=Number(containerDistortion.attr('data-progress'));var value_width=Number(containerDistortion.attr('data-width'));var value_radius=Number(containerDistortion.attr('data-radius'));var value_intensity=Number(containerDistortion.attr('data-intensity'));var value_scalex=Number(containerDistortion.attr('data-scalex'));var value_scaley=Number(containerDistortion.attr('data-scaley'));var uniform_selected={};switch(fragment_style){case 'drip':$.extend(uniform_selected,{width:{value:value_width,type:'f',min:0,max:10},scaleX:{value:value_scalex,type:'f',min:0.1,max:60},scaleY:{value:value_scaley,type:'f',min:0.1,max:60}});break;case 'wave':$.extend(uniform_selected,{width:{value:value_width,type:'f',min:0,max:10}});break;case 'ring':$.extend(uniform_selected,{radius:{value:value_radius,type:'f',min:0.1,max:2},width:{value:value_width,type:'f',min:0.,max:1},});break;case 'horizdisp':$.extend(uniform_selected,{});break;case 'vertdisp':$.extend(uniform_selected,{intensity:{value:value_intensity,type:'f',min:0.,max:2},});break;case 'displacement':$.extend(uniform_selected,{intensity:{value:value_intensity,type:'f',min:0.,max:3},});break;case 'subdivision':$.extend(uniform_selected,{intensity:{value:value_intensity,type:'f',min:1.,max:100},});break;case 'blow':$.extend(uniform_selected,{intensity:{value:value_intensity,type:'f',min:1,max:100},});break;default:}
if($('.dg').length)$('.dg').empty();let sketch=new Sketch({content:contentDistortion[0],container:containerDistortion[0],debug:!1,duration:speedDistortion,uniforms:uniform_selected,fragment:fragment_selected})};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-imagesDistortion.default',WidgetElements_imagesDistortionHandler)})})(jQuery)
/*elements-documentScrolling.min.js*/
;(function($){var smoothScroll=null;const math={lerp:(a,b,n)=>{return(1-n)*a+n*b},norm:(value,min,max)=>{return(value-min)/(max-min)}}
const config={height:window.innerHeight,width:window.innerWidth}
class Smooth{constructor(){this.bindMethods();this.data={ease:coefSpeed_inertiaScroll||0.05,current:0,last:0}
this.dom={el:main,content:mainWrap}
this.rAF=null;this.init()}
bindMethods(){['scroll','run','resize'].forEach((fn)=>this[fn]=this[fn].bind(this))}
setStyles(){Object.assign(this.dom.el.style,{position:'fixed',top:0,left:0,height:'100%',width:'100%',overflow:'hidden'})}
setWidth(){heightAadminBar=0;if($('body').is('.admin-bar')&&!elementorFrontend.isEditMode()){heightAadminBar=45}
var larghezza=window.innerWidth;var altezza=this.dom.el.offsetHeight+heightAadminBar;var larghezzaTotale=(this.dom.el.offsetHeight)+(larghezza*(sectionsAvailable.length));var altezza=larghezzaTotale-this.dom.el.offsetWidth;sizeTotalScroll=altezza;document.body.style.height=`${altezza}px`;var l=larghezza*(sectionsAvailable.length);wrapperSezioni.width(`${l}px`);sectionsAvailable.each(function(i,el){$(this).width(larghezza)})}
setHeight(){heightAadminBar=0;if($('body').is('.admin-bar')&&!elementorFrontend.isEditMode()){heightAadminBar=45}
var altezza=this.dom.content.offsetHeight-heightAadminBar;sizeTotalScroll=altezza;document.body.style.height=`${altezza}px`}
resize(){if(directionScroll=='vertical'){this.setHeight()}else if(directionScroll=='horizontal'){this.setWidth()}
this.scroll()}
preload(){imagesLoaded(this.dom.content,(instance)=>{if(directionScroll=='vertical'){this.setHeight()}else if(directionScroll=='horizontal'){this.setWidth()}})}
scroll(){this.data.current=window.scrollY}
run(){this.data.last=math.lerp(this.data.last,this.data.current,this.data.ease);this.data.last=Math.floor(this.data.last*100)/100;if(this.data.last<.1){this.data.last=0}
const skewVal=skew_inertiaScroll;const scaleVal=bounce_inertiaScroll;const diff=this.data.current-this.data.last;const acc=diff/config.width;const velo=+acc;const bounce=1-Math.abs(velo*scaleVal)
const skew=velo*(skewVal);var percentOfScroll=(this.data.current/sizeTotalScroll)*100;if(directionScroll=='vertical'){var verticalmovement=this.data.last;this.dom.content.style.transform=`translate3d(0, -${verticalmovement}px, 0) skewY(${skew}deg) scaleY(${bounce})`;this.dom.content.style.transformOrigin=`50% ${percentOfScroll}% 0`}else if(directionScroll=='horizontal'){var horizontalmovement=this.data.last;this.dom.content.style.transform=`translate3d(-${horizontalmovement}px, 0, 0) skewX(${skew}deg) scaleY(${bounce})`;this.dom.content.style.transformOrigin=`${percentOfScroll}% 50% 0`}
this.requestAnimationFrame()}
on(){this.setStyles();if(directionScroll=='vertical'){this.setHeight()}else if(directionScroll=='horizontal'){this.setWidth()}
this.addEvents();this.requestAnimationFrame()}
off(){this.cancelAnimationFrame();this.removeEvents()}
requestAnimationFrame(){this.rAF=requestAnimationFrame(this.run)}
cancelAnimationFrame(){cancelAnimationFrame(this.rAF)}
destroy(){document.body.style.height='';this.data=null;this.removeEvents();this.cancelAnimationFrame()}
resize(){if(directionScroll=='vertical'){this.setHeight()}else if(directionScroll=='horizontal'){this.setWidth()}}
addEvents(){window.addEventListener('resize',this.resize,{passive:!0});window.addEventListener('scroll',this.scroll,{passive:!0})}
removeEvents(){window.removeEventListener('resize',this.resize,{passive:!0});window.removeEventListener('scroll',this.scroll,{passive:!0})}
init(){this.preload();this.on()}}
var settings_page={};var sectionsAvailable=[];var sezioni='';var wrapperSezioni=null;var heightAadminBar=0;var sizeTotalScroll=0;is_pageScroll=!1;var is_scrollify=!1,titleStyle='',navStyle='default';var is_scrollEffects=!1;var currentPostId;var is_enable_dceScrolling,is_enable_scrollify,is_enable_scrollEffects,is_enable_inertiaScroll;var datalax=['data-lax-opacity','data-lax-translate','data-lax-translate-x','data-lax-translate-y','data-lax-scale','data-lax-scale-x','data-lax-scale-y','data-lax-skew','data-lax-skew-x','data-lax-skew-y','data-lax-rotate','data-lax-rotate-x','data-lax-rotate-y','data-lax-brightness','data-lax-contrast','data-lax-hue-rotate','data-lax-blur','data-lax-invert','data-lax-saturate','data-lax-grayscale','data-lax-bg-pos','data-lax-bg-pos-x','data-lax-bg-pos-y','data-lax-anchor']
var is_inertiaScroll=!1;var directionScroll='vertical';var coefSpeed_inertiaScroll=0.05;var html=document.documentElement;var scroller={};const body=document.body;var main={};var mainWrap={};var skew_inertiaScroll=20;var bounce_inertiaScroll=0;let sx=0;let sy=0;let dx=sx;let dy=sy;var requestId;var init_Scrollify=function(){$('body').addClass('dce-scrollify dce-scrolling');if(settings_page.custom_class_section_sfy){$customClass=settings_page.custom_class_section_sfy}else{$customClass='elementor-section'}
$target_sections='.elementor-'+currentPostId;if(!$target_sections)
$target_sections='';sezioni=$target_sections+'.elementor > .elementor-inner > .elementor-section-wrap > .'+$customClass;wrapperSezioni=$($target_sections+'.elementor > .elementor-inner > .elementor-section-wrap');$($target_sections).addClass('scroll-direction-'+settings_page.directionScroll);$.scrollify({section:sezioni,sectionName:'id',interstitialSection:settings_page.interstitialSection,easing:"easeOutExpo",scrollSpeed:Number(settings_page.scrollSpeed.size)||1100,offset:Number(settings_page.offset.size)||0,scrollbars:Boolean(settings_page.scrollBars),setHeights:Boolean(settings_page.setHeights),overflowScroll:Boolean(settings_page.overflowScroll),updateHash:Boolean(settings_page.updateHash),touchScroll:Boolean(settings_page.touchScroll),before:function(i,panels){var ref=panels[i].attr("data-id");$(".dce-scrollify-pagination .nav__item--current").removeClass("nav__item--current");$(".dce-scrollify-pagination").find("a[href=\"#"+ref+"\"]").addClass("nav__item--current")},afterRender:function(){is_scrollify=!0;if(settings_page.enable_scrollify_nav||elementorFrontend.isEditMode()){var scrollify_pagination='';createNavigation(settings_page.snapscroll_nav_style);$("body").on("click",".dce-scrollify-pagination a",function(){$.scrollify.move($(this).attr("href"));return!1});if(!Boolean(settings_page.enable_scrollify_nav)){handleScrollify_enablenavigation('')}
if(Boolean(settings_page.enable_scrollEffects)){handleScrollEffects(settings_page.enable_scrollEffects)}}}});$.scrollify.update()}
var createNavigationTitles=function($style,$reload=!1){titleStyle=$style;if($reload){createNavigation(settings_page.snapscroll_nav_style)}}
var createNavigation=function($style){navStyle=$style;if($('.dce-scrollify-pagination').length>0)
$('.dce-scrollify-pagination').remove();var newPagination='';var activeClass;var titleString;createNavigationTitles(settings_page.snapscroll_nav_title_style);newPagination='<ul class="dce-scrollify-pagination nav--'+$style+'">';if($style=='ayana'){newPagination+='<svg class="hidden"><defs><symbol id="icon-circle" viewBox="0 0 16 16"><circle cx="8" cy="8" r="6.215"></circle></symbol></defs></svg>'}
if($style=='desta'){newPagination+='<svg class="hidden"><defs><symbol id="icon-triangle" viewBox="0 0 24 24"><path d="M4.5,19.8C4.5,19.8,4.5,19.8,4.5,19.8V4.2c0-0.3,0.2-0.5,0.4-0.7c0.2-0.1,0.5-0.1,0.8,0l13.5,7.8c0.2,0.1,0.4,0.4,0.4,0.7c0,0.3-0.2,0.5-0.4,0.7L5.7,20.4c-0.1,0.1-0.3,0.1-0.5,0.1C4.8,20.6,4.5,20.2,4.5,19.8z M6,5.6v12.8L17.2,12L6,5.6z"/></symbol></defs></svg>'}
$(sezioni).each(function(i){activeClass='';if(i===0){activeClass="nav__item--current"}
if(titleStyle=='number'){var prefN='';if(i<9){prefN='0'}
titleString=prefN+(i+1)}else if(titleStyle=='classid'){titleString=$(this).attr("id")||'no id';titleString=titleString.replace(/_|-|\./g,' ')}else{titleString=''}
if($style=='default'){newPagination+='<li><a class="'+activeClass+'" href="#'+$(this).attr("data-id")+'"></a></li>'}else{$itemInner='';$itemTitle='<span class="nav__item-title">'+titleString+'</span>';if($style=='etefu'){$itemInner='<span class="nav__item-inner"></span>'}else if($style=='ayana'){$itemTitle='<svg class="nav__icon"><use xlink:href="#icon-circle"></use></svg>'}else if($style=='totit'){var navIcon=settings_page.scrollify_nav_icon.value;if(navIcon)
$itemInner='<i class="nav__icon '+navIcon+'" aria-hidden="true"></i>'}else if($style=='desta'){$itemInner='<svg class="nav__icon"><use xlink:href="#icon-triangle"></use></svg>'}else if($style=='magool'||$style=='ayana'||$style=='timiro'){$itemTitle=''}
newPagination+='<li><a href="#'+$(this).attr("data-id")+'" class="'+activeClass+' nav__item" aria-label="'+(i+1)+'">'+$itemInner+$itemTitle+'</a></li>'}});newPagination+="</ul>";$("body").append(newPagination)}
var init_ScrollEffects=function(){$('body').addClass('dce-pageScroll dce-scrolling');if(settings_page.custom_class_section){$customClass=settings_page.custom_class_section}else{$customClass='elementor-section'}
$target_sections='.elementor-'+currentPostId;if(!$target_sections)
$target_sections='';sezioni=$target_sections+'.elementor > .elementor-inner > .elementor-section-wrap > .'+$customClass;sectionsAvailable=$(sezioni);wrapperSezioni=$($target_sections+'.elementor > .elementor-inner > .elementor-section-wrap');$($target_sections).addClass('scroll-direction-'+settings_page.directionScroll);animationType=settings_page.animation_effects||['spin'];var animationType_string=[];if(animationType.length)
animationType_string=animationType.join(' ');var xx=0;if(settings_page.remove_first_scrollEffects)
xx=1;sectionsAvailable.each(function(){if($(this).index()>=xx)
sectionsAvailable.addClass('lax')})
setStyleEffects(animationType_string);lax.addPreset("scaleDown",function(){return{"data-lax-scale":"0 1, vh 0",}});lax.addPreset("zoomInOut",function(){return{"data-lax-scale":"-vh 0, 0 1, vh 0",}});lax.addPreset("leftToRight",function(){return{"data-lax-translate-x":"-vh -vw,0 0, 0 1, vh vw",}});lax.addPreset("rightToLeft",function(){return{"data-lax-translate-x":"-vh vw,0 0, 0 1, vh -vw",}});lax.addPreset("opacity",function(){return{"data-lax-opacity":"-vh 0, 0 1, vh 0",}});lax.addPreset("fixed",function(){return{"data-lax-translate-y":"-vh elh, 0 0",}});lax.addPreset("parallax",function(){return{"data-lax-translate-y":"0 0, elh elh",}});lax.addPreset("rotation",function(){return{"data-lax-rotate":"0 0, vh -30",}});lax.addPreset("spin",function(){return{"data-lax-rotate":"-vh 180, 0 0, vh -180",}});lax.setup()
const updateLax=()=>{if(lax&&typeof lax!=='undefined')
lax.update(window.scrollY)
requestId=window.requestAnimationFrame(updateLax)}
requestId=window.requestAnimationFrame(updateLax)
is_scrollEffects=!0}
var init_InertiaScroll=function(){if(settings_page.custom_class_section){$customClass=settings_page.custom_class_section}else{$customClass='elementor-section'}
if(typeof(settings_page.coefSpeed_inertiaScroll.size)!=='undefined')
coefSpeed_inertiaScroll=Number(settings_page.coefSpeed_inertiaScroll.size);if(typeof(settings_page.skew_inertiaScroll.size)!=='undefined')
skew_inertiaScroll=Number(settings_page.skew_inertiaScroll.size);if(typeof(settings_page.bounce_inertiaScroll.size)!=='undefined')
bounce_inertiaScroll=Number(settings_page.bounce_inertiaScroll.size);if(typeof(settings_page.directionScroll)!=='undefined')
directionScroll=settings_page.directionScroll||'vertical';$target_sections='.elementor-'+currentPostId;if(!$target_sections)
$target_sections='';sezioni=$target_sections+'.elementor > .elementor-inner > .elementor-section-wrap > .'+$customClass;sectionsAvailable=$(sezioni);wrapperSezioni=$($target_sections+'.elementor > .elementor-inner > .elementor-section-wrap');if($('.elementor-template-canvas').length){main=document.querySelector($target_sections);mainWrap=document.querySelector($target_sections+'.elementor > .elementor-inner > .elementor-section-wrap')}else{if(settings_page.automatic_wrapper){if(!$('#outer-wrap').length)
$('body').wrapInner('<div id="outer-wrap"><div id="wrap"></div></div>');main=document.querySelector('#outer-wrap');mainWrap=document.querySelector('#wrap')}else{main=document.querySelector(settings_page.scroll_viewport)||document.querySelector('#outer-wrap');mainWrap=document.querySelector(settings_page.scroll_contentScroll)||document.querySelector('#wrap')}}
if(directionScroll=='horizontal'){wrapperSezioni.css('display','flex')}
$($target_sections).addClass('scroll-direction-'+directionScroll);sectionsAvailable.addClass('inertia-scroll');if(smoothScroll)
smoothScroll.destroy();smoothScroll=new Smooth();is_inertiaScroll=!0}
function reloadScrolling(){if(settings_page.enable_dceScrolling){handlescroll_viewport('');handlescroll_viewport('yes')}}
function removeScrollEffects(){$('body').removeClass('dce-pageScroll');if(sectionsAvailable.length)
sectionsAvailable.removeClass('lax');clearStyleEffects();if(lax&&typeof lax!=='undefined')
lax.removeElement();window.cancelAnimationFrame(requestId);is_scrollEffects=!1}
function setStyleEffects(effect){if(effect){var xx=0;if(settings_page.remove_first_scrollEffects)
xx=1;sectionsAvailable.each(function(){if($(this).index()>=xx)
$(this).attr('data-lax-preset',effect)})}}
function clearStyleEffects(){for(var i=0;i<datalax.length;i++){if(sectionsAvailable.length)
sectionsAvailable.removeAttr(datalax[i])}
if(lax&&typeof lax!=='undefined')
lax.updateElements();if(sectionsAvailable.length)
sectionsAvailable.removeAttr('style')}
function removeInertiaScroll(){$('body').removeClass('dce-inertiaScroll');if(sectionsAvailable.length)
sectionsAvailable.removeClass('inertia-scroll');sectionsAvailable.each(function(i,el){$(this).removeAttr('style')});wrapperSezioni.removeAttr('style');smoothScroll.destroy();is_inertiaScroll=!1;$(main).removeAttr('style');$(mainWrap).removeAttr('style')}
function handlescroll_viewport(newValue){if(newValue){is_pageScroll=!0}else{is_pageScroll=!1}
if(settings_page.enable_scrollEffects)
handleScrollEffects(newValue);if(settings_page.enable_scrollify)
handleScrollify(newValue);if(settings_page.enable_inertiaScroll)
handleInertiaScroll(newValue)}
function handleScrollify(newValue){if(newValue){if(is_scrollify){$.scrollify.enable()}
init_Scrollify();handleScrollify_enablenavigation(settings_page.enable_scrollify_nav)}else{$.scrollify.destroy();if(sectionsAvailable.length){sectionsAvailable.removeAttr('style')}
handleScrollify_enablenavigation('');is_scrollify=!1}}
function handleScrollify_speed(newValue){$.scrollify.setOptions({scrollSpeed:newValue.size})}
function handleScrollify_interstitialSection(newValue){$.scrollify.setOptions({scrollSpeed:newValue})}
function handleScrollify_offset(newValue){$.scrollify.setOptions({offset:newValue.size})}
function handleScrollify_ease(newValue){$.scrollify.setOptions({easing:newValue})}
function handleScrollify_setHeights(newValue){$.scrollify.setOptions({setHeights:newValue?!0:!1})}
function handleScrollify_overflowScroll(newValue){$.scrollify.setOptions({overflowScroll:newValue?!0:!1})}
function handleScrollify_updateHash(newValue){$.scrollify.setOptions({updateHash:newValue?!0:!1})}
function handleScrollify_touchScroll(newValue){$.scrollify.setOptions({touchScroll:newValue?!0:!1})}
function handleScrollify_scrollBars(newValue){$.scrollify.setOptions({scrollbars:newValue?!0:!1})}
function handleScrollify_enablenavigation(newValue){if(newValue){$('body').addClass('dce-scrollify').find('.dce-scrollify-pagination').show()}else{$('body').removeClass('dce-scrollify').find('.dce-scrollify-pagination').hide()}}
function handleScrollify_navstyle(newValue){if(newValue){createNavigation(newValue)}}
function handleScrollify_titlestyle(newValue){if(newValue){createNavigationTitles(newValue,!0)}}
function handleScrollEffects(newValue){if(newValue){if(is_scrollEffects){removeScrollEffects()}
setTimeout(function(){init_ScrollEffects()},500)}else{removeScrollEffects()}}
function handleScrollEffects_animations(newValue){var animationType_string=newValue.join(' ');if(newValue.length){removeScrollEffects();init_ScrollEffects();setStyleEffects(animationType_string);lax.updateElements()}
lax.updateElements();reloadScrolling()}
function handleScrollEffects_removefirst(newValue){if(newValue){}
removeScrollEffects();init_ScrollEffects()}
function handleInertiaScroll(newValue){if(newValue){if(is_inertiaScroll){removeInertiaScroll()}
setTimeout(function(){if(settings_page.enable_inertiaScroll)
init_InertiaScroll()},100)}else{removeInertiaScroll()}}
function handleInertiaScroll_direction(newValue){directionScroll=newValue;if(newValue){if(is_inertiaScroll){removeInertiaScroll()}
setTimeout(function(){if(settings_page.enable_inertiaScroll)
init_InertiaScroll()},100)}else{removeInertiaScroll()}}
$(window).on('elementor/frontend/init',function(){if(typeof elementorFrontendConfig.settings.page!=='undefined'){settings_page=elementorFrontendConfig.settings.page;currentPostId=elementorFrontendConfig.post.id;is_enable_dceScrolling=settings_page.enable_dceScrolling;is_enable_scrollify=settings_page.enable_scrollify;is_enable_scrollEffects=settings_page.enable_scrollEffects;is_enable_inertiaScroll=settings_page.enable_inertiaScroll;var responsive_scrollEffects=settings_page.responsive_scrollEffects;var responsive_snapScroll=settings_page.responsive_snapScroll;var responsive_inertiaScroll=settings_page.responsive_inertiaScroll;var deviceMode=$('body').attr('data-elementor-device-mode');if(is_enable_scrollEffects&&is_enable_dceScrolling&&$.inArray(deviceMode,responsive_scrollEffects)>=0){init_ScrollEffects()}
if(is_enable_scrollify&&is_enable_dceScrolling&&$.inArray(deviceMode,responsive_snapScroll)>=0){init_Scrollify()}
if(is_enable_inertiaScroll&&is_enable_dceScrolling&&$.inArray(deviceMode,responsive_inertiaScroll)>=0){init_InertiaScroll()}
if(elementorFrontend.isEditMode()){if(elementor){settings_page=elementor.settings.page.model.attributes;elementor.settings.page.addChangeCallback('enable_dceScrolling',handlescroll_viewport);elementor.settings.page.addChangeCallback('enable_scrollify',handleScrollify);elementor.settings.page.addChangeCallback('scrollSpeed',handleScrollify_speed);elementor.settings.page.addChangeCallback('offset',handleScrollify_offset);elementor.settings.page.addChangeCallback('ease_scrollify',handleScrollify_ease);elementor.settings.page.addChangeCallback('setHeights',handleScrollify_setHeights);elementor.settings.page.addChangeCallback('overflowScroll',handleScrollify_overflowScroll);elementor.settings.page.addChangeCallback('updateHash',handleScrollify_updateHash);elementor.settings.page.addChangeCallback('scrollBars',handleScrollify_scrollBars);elementor.settings.page.addChangeCallback('touchScroll',handleScrollify_touchScroll);elementor.settings.page.addChangeCallback('enable_scrollify_nav',handleScrollify_enablenavigation);elementor.settings.page.addChangeCallback('snapscroll_nav_style',handleScrollify_navstyle);elementor.settings.page.addChangeCallback('snapscroll_nav_title_style',handleScrollify_titlestyle);elementor.settings.page.addChangeCallback('enable_scrollEffects',handleScrollEffects);elementor.settings.page.addChangeCallback('animation_effects',handleScrollEffects_animations);elementor.settings.page.addChangeCallback('remove_first_scrollEffects',handleScrollEffects_removefirst);elementor.settings.page.addChangeCallback('enable_inertiaScroll',handleInertiaScroll);elementor.settings.page.addChangeCallback('directionScroll',handleInertiaScroll_direction);elementor.settings.page.addChangeCallback('coefSpeed_inertiaScroll',handleInertiaScroll);elementor.settings.page.addChangeCallback('skew_inertiaScroll',handleInertiaScroll);elementor.settings.page.addChangeCallback('bounce_inertiaScroll',handleInertiaScroll)}}}})})(jQuery)
/*elements-dynamicusers.min.js*/
;var isAdminBar=!1,isEditMode=!1;(function($){var WidgetElementsDynamicUsersDCEHandler=function($scope,$){var elementSettings=get_Dyncontel_ElementSettings($scope);var id_scope=$scope.attr('data-id');$block_acfposts='.dce-grid-users';$objBlock_acfposts=$scope.find($block_acfposts);if(elementSettings.posts_style=='grid'){$layoutMode='masonry';if($objBlock_acfposts.data('fitrow'))
$layoutMode='fitRows';var $grid_dce_posts=$objBlock_acfposts.isotope({itemSelector:'.dce-item-user',layoutMode:$layoutMode,sortBy:'original-order',percentPosition:!0,masonry:{columnWidth:'.dce-item-user'}});$grid_dce_posts.imagesLoaded().progress(function(){$grid_dce_posts.isotope('layout')});$scope.find('.dce-users-filters .users-filters-item').on('click','a',function(e){var filterValue=$(this).attr('data-filter');$(this).parent().siblings().removeClass('filter-active');$(this).parent().addClass('filter-active');$grid_dce_posts.isotope({filter:filterValue});return!1})}
if(elementSettings.enabled_wow){var wow=new WOW({boxClass:'wow',animateClass:'animated',offset:0,mobile:!0,live:!0,callback:function(box){},scrollContainer:null});wow.init()}
function VerticalTimeline(element){this.element=element;this.blocks=this.element.getElementsByClassName("js-cd-block");this.images=this.element.getElementsByClassName("js-cd-img");this.contents=this.element.getElementsByClassName("js-cd-content");this.offset=0.8;this.hideBlocks()};VerticalTimeline.prototype.hideBlocks=function(){if(!"classList" in document.documentElement){return}
var self=this;for(var i=0;i<this.blocks.length;i++){(function(i){if(self.blocks[i].getBoundingClientRect().top>window.innerHeight*self.offset){self.images[i].classList.add("cd-is-hidden");self.contents[i].classList.add("cd-is-hidden")}})(i)}};VerticalTimeline.prototype.showBlocks=function(){if(!"classList" in document.documentElement){return}
var self=this;for(var i=0;i<this.blocks.length;i++){(function(i){if(self.contents[i].classList.contains("cd-is-hidden")&&self.blocks[i].getBoundingClientRect().top<=window.innerHeight*self.offset){self.images[i].classList.add("cd-timeline__img--bounce-in");self.contents[i].classList.add("cd-timeline__content--bounce-in");self.images[i].classList.remove("cd-is-hidden");self.contents[i].classList.remove("cd-is-hidden")}})(i)}};var verticalTimelines=document.getElementsByClassName("js-cd-timeline"),verticalTimelinesArray=[],scrolling=!1;if(verticalTimelines.length>0){for(var i=0;i<verticalTimelines.length;i++){(function(i){verticalTimelinesArray.push(new VerticalTimeline(verticalTimelines[i]))})(i)}
window.addEventListener("scroll",function(event){if(!scrolling){scrolling=!0;(!window.requestAnimationFrame)?setTimeout(checkTimelineScroll,250):window.requestAnimationFrame(checkTimelineScroll)}})}
function checkTimelineScroll(){verticalTimelinesArray.forEach(function(timeline){timeline.showBlocks()});scrolling=!1}};$(window).on('elementor/frontend/init',function(){if(elementorFrontend.isEditMode()){isEditMode=!0}
if($('body').is('.admin-bar')){isAdminBar=!0}
elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-dynamicusers.default',WidgetElementsDynamicUsersDCEHandler)})})(jQuery)
/*elements-modalwindow.min.js*/
;(function($){var WidgetElements_ModalWindowHandler=function($scope,$){var larghezza=0,altezza=0,paddingL,paddingR;var elementSettings=get_Dyncontel_ElementSettings($scope);$scope.find('.dce-modalwindow-section').on('click','[data-type="modal-trigger"]',function(){var actionBtn=$(this),scaleValue=retrieveScale(actionBtn.next('.cd-modal-bg'));larghezza=$(this).outerWidth();altezza=$(this).outerHeight();paddingL=elementSettings.fmw_padding.left;paddingR=elementSettings.fmw_padding.right;$(this).parent().css('width',larghezza);$(this).css('width',larghezza);actionBtn.addClass('to-circle').velocity({width:altezza,paddingLeft:0,paddingRight:0},100);actionBtn.next('.cd-modal-bg').addClass('is-visible').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend',function(){animateLayer(actionBtn.next('.cd-modal-bg'),scaleValue,!0)});return!1});$scope.find('.dce-modalwindow-section .cd-modal-close').on('click',function(){closeModal();return!1});$(document).keyup(function(event){if(event.which=='27')closeModal()});$(window).on('resize',function(){if($scope.find('.dce-modalwindow-section.modal-is-visible').length>0)window.requestAnimationFrame(updateLayer)});function retrieveScale(btn){var btnRadius=btn.width()/2,left=btn.offset().left+btnRadius,top=btn.offset().top+btnRadius-$(window).scrollTop(),scale=scaleValue(top,left,btnRadius,$(window).height()+100,$(window).width())+100;btn.css('position','fixed').velocity({top:top-btnRadius,left:left-btnRadius,translateX:0,},0);return scale}
function scaleValue(topValue,leftValue,radiusValue,windowW,windowH){var maxDistHor=(leftValue>windowW/2)?leftValue:(windowW-leftValue),maxDistVert=(topValue>windowH/2)?topValue:(windowH-topValue);return Math.ceil(Math.sqrt(Math.pow(maxDistHor,2)+Math.pow(maxDistVert,2))/radiusValue)}
function animateLayer(layer,scaleVal,bool){layer.velocity({scale:scaleVal},600,function(){$('body').toggleClass('overflow-hidden',bool);(bool)?layer.parents('.dce-modalwindow-section').addClass('modal-is-visible').end().off('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend'):layer.removeClass('is-visible').removeAttr('style').siblings('[data-type="modal-trigger"]').removeClass('to-circle').velocity({width:larghezza,paddingLeft:paddingL,paddingRight:paddingR},{duration:200,complete:function(e){var btn=$(this);setTimeout(function(){btn.removeAttr('style');btn.parent().removeAttr('style')},300)}})})}
function updateLayer(){var layer=$scope.find('.dce-modalwindow-section.modal-is-visible').find('.cd-modal-bg'),layerRadius=layer.width()/2,layerTop=layer.siblings('.btn').offset().top+layerRadius-$(window).scrollTop(),layerLeft=layer.siblings('.btn').offset().left+layerRadius,scale=scaleValue(layerTop,layerLeft,layerRadius,$(window).height(),$(window).width());layer.velocity({top:layerTop-layerRadius,left:layerLeft-layerRadius,scale:scale,},0)}
function closeModal(){var section=$scope.find('.dce-modalwindow-section.modal-is-visible');section.removeClass('modal-is-visible').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend',function(){});animateLayer(section.find('.cd-modal-bg'),1,!1)}};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-modalwindow.default',WidgetElements_ModalWindowHandler)})})(jQuery)
/*elements-parallax.min.js*/
;(function($){var WidgetElements_ParallaxHandler=function($scope,$){var scene=$scope.find('#scene');var parallax=new Parallax(scene[0])};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-parallax.default',WidgetElements_ParallaxHandler)})})(jQuery)
/*elements-popup.min.js*/
;(function($){var WidgetElementsPopupHandler=function($scope,$){var dce_popup_settings=get_Dyncontel_ElementSettings($scope);var id_scope=$scope.attr('data-id');var id_popup=$scope.find('.dce-modal').attr('id');var is_animate=!1;function dce_show_modal(id_modal){var id_modal_scope=id_modal.split('-');id_modal_scope.pop();id_modal_scope=id_modal_scope.join('-');var open_delay=0;if(dce_popup_settings.open_delay.size){open_delay=dce_popup_settings.open_delay.size}
if(!is_animate)
setTimeout(function(){if(!elementorFrontend.isEditMode()){is_animate=!0;$('body').removeClass('modal-close-'+id_modal).removeClass('modal-close-'+id_modal_scope);$('body').addClass('modal-open-'+id_modal).addClass('modal-open-'+id_modal_scope).addClass('dce-modal-open');$('html').addClass('dce-modal-open');$('#'+id_modal+' .modal-dialog').one('webkitAnimationEnd oanimationend msAnimationEnd animationend',function(el){is_animate=!1})}
if(dce_popup_settings.wrapper_maincontent){$(dce_popup_settings.wrapper_maincontent).addClass('dce-push').addClass('animated').parent().addClass('perspective')}
console.log('show '+id_modal);$('#'+id_modal).show();$('#'+id_modal+'-background').show().removeClass('fadeOut').addClass('fadeIn').one('webkitAnimationEnd oanimationend msAnimationEnd animationend',function(el){is_animate=!1})},open_delay)}
function dce_hide_modal(id_modal){var id_modal_scope=id_modal.split('-');id_modal_scope.pop();id_modal_scope=id_modal_scope.join('-');if(!dce_popup_settings.always_visible){dce_setCookie(id_modal,1,dce_popup_settings.cookie_lifetime)}
var settings_close_delay=0;if(dce_popup_settings.close_delay){settings_close_delay=dce_popup_settings.close_delay}
$('body').removeClass('modal-open-'+id_modal).removeClass('modal-open-'+id_modal_scope);$('body').addClass('modal-close-'+id_modal).addClass('modal-close-'+id_modal_scope);$('#'+id_modal+'-background').one('webkitAnimationEnd oanimationend msAnimationEnd animationend',function(el){console.log('hide bg '+id_modal);$('#'+id_modal+'-background').hide();$(el.currentTarget).off('webkitAnimationEnd oanimationend msAnimationEnd animationend')});$('#'+id_modal+' .modal-dialog').one('webkitAnimationEnd oanimationend msAnimationEnd animationend',function(el){console.log('hide '+id_modal);$('#'+id_modal).hide();setTimeout(function(){if(!elementorFrontend.isEditMode()){$('body').removeClass('modal-close-'+id_modal).removeClass('modal-close-'+id_modal_scope).removeClass('dce-modal-open');$('html').removeClass('dce-modal-open');$(el.currentTarget).off('webkitAnimationEnd oanimationend msAnimationEnd animationend')}
if(dce_popup_settings.wrapper_maincontent)
$(dce_popup_settings.wrapper_maincontent).removeClass('dce-push').removeClass('animated').parent().removeClass('perspective')},300)});setTimeout(function(){$('#'+id_modal+'-background').removeClass('fadeIn').addClass('fadeOut')},settings_close_delay)}
var modal=$scope.find('.dce-popup-container-'+id_scope);function push_actions(){if(!elementorFrontend.isEditMode()){$(modal).prependTo("body")}}
push_actions();$('.dce-popup-container-'+id_scope+'.dce-popup-onload').each(function(){var id_modal=$(this).find('.dce-modal').attr('id');var cookie_popup=dce_getCookie(id_modal);if(dce_popup_settings.always_visible){cookie_popup=!1}
if(!cookie_popup){dce_show_modal(id_modal)}else{}});$scope.on('click','.dce-button-open-modal, .dce-button-next-modal',function(){var id_modal=$(this).data('target')
dce_show_modal(id_modal)});if($('.dce-popup-container-'+id_scope+'.dce-popup-scroll').length){$(window).on('scroll',function(){$('.dce-popup-scroll').each(function(){if($(window).scrollTop()>dce_popup_settings.scroll_display_displacement){$(this).removeClass('dce-popup-scroll');var id_modal=$(this).find('.dce-modal').attr('id');dce_show_modal(id_modal)}})})}
$(window).on('scroll',function(){$('.modal-hide-on-scroll:visible').each(function(){$(this).removeClass('modal-hide-on-scroll');dce_hide_modal($(this).attr('id'))})});$(document).on('keyup',function(evt){if(evt.keyCode==27){$('.modal-hide-esc:visible').each(function(){dce_hide_modal($(this).attr('id'))})}});$(document).on('click','#'+id_popup+'.dce-modal .dce-modal-close, .dce-modal .dce-button-close-modal, .dce-modal .dce-button-next-modal',function(){dce_hide_modal(id_popup);return!1});$(document).on('click','#'+id_popup+'-background.dce-modal-background-layer-close',function(){dce_hide_modal(id_popup)})}
$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-popup.default',WidgetElementsPopupHandler)})})(jQuery)
/*elements-rellax.min.js*/
;(function($){var isRellax=!1;var currentDevice='';var WidgetElements_RellaxHandler=function(panel,model,view){var $scope=view.$el;var scene=$scope.find('#scene')};var WidgetElements_RellaxHandlerFront=function($scope,$){var elementSettings=get_Dyncontel_ElementSettings($scope);var rellax=null;$(window).on('resize',function(){if(rellax){rellax.destroy();if(rellax)
initRellax()}})
var initRellax=function(){if(elementSettings.enabled_rellax){currentDevice=elementorFrontend.getCurrentDeviceMode();var setting_speed='speed_rellax';var value_speed=0;if(currentDevice!='desktop'){setting_speed='speed_rellax_'+currentDevice}
if(eval('elementSettings.'+setting_speed+'.size'))
value_speed=eval('elementSettings.'+setting_speed+'.size');var rellaxId='#rellax-'+$scope.data('id');if($(rellaxId).length)
rellax=new Rellax(rellaxId,{speed:value_speed,});isRellax=!0}};initRellax()};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/global',WidgetElements_RellaxHandlerFront)})})(jQuery)
/*elements-reveal.min.js*/
;(function($){var isReveal=!1;var WidgetElements_RevealHandler=function($scope,$){var elementSettings=get_Dyncontel_ElementSettings($scope);var rev1;var revealAction=function(){rev1=new RevealFx(revealistance,{revealSettings:{bgcolor:elementSettings.reveal_bgcolor,direction:elementSettings.reveal_direction,duration:Number(elementSettings.reveal_speed.size)*100,delay:Number(elementSettings.reveal_delay.size)*100,onCover:function(contentEl,revealerEl){contentEl.style.opacity=1}}})}
var runReveal=function(){rev1.reveal()}
if(elementSettings.enabled_reveal){var revealId='#reveal-'+$scope.data('id');var revealistance=document.querySelector(revealId);if(!jQuery(revealId).hasClass('block-revealer')){revealAction()}
var waypointOptions={offset:'100%',triggerOnce:!0};elementorFrontend.waypoint($(revealistance),runReveal,waypointOptions)}};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/global',WidgetElements_RevealHandler)})})(jQuery)
/*elements-threesixtyslider.min.js*/
;(function($){var elementSettings360={};var WidgetElements_ThreeSixtySliderHandler=function($scope,$){console.log($scope);elementSettings360=get_Dyncontel_ElementSettings($scope);var car;var threesixty=$scope.find('.dce-threesixty');if(threesixty){var frames=Number(threesixty.attr('data-total_frame'))-1;car=$scope.find('.dce-threesixty').ThreeSixty({totalFrames:frames,endFrame:frames,imgList:'.threesixty_images',progress:'.spinner',imagePath:threesixty.attr('data-pathimages'),filePrefix:'',ext:'.'+threesixty.attr('data-format_file'),height:'auto',width:'auto',navigation:Boolean(elementSettings360.navigation),responsive:Boolean(elementSettings360.responsive),})}};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-threesixtyslider.default',WidgetElements_ThreeSixtySliderHandler)})})(jQuery)
/*elements-tilt.min.js*/
;(function($){var WidgetElements_TiltHandler=function($scope,$){var tiltistance=$scope.find('.js-tilt');var tiltSettings=get_Dyncontel_ElementSettings($scope);var tilt=$scope.find(tiltistance).tilt({maxTilt:tiltSettings.tilt_maxtilt.size,perspective:tiltSettings.tilt_perspective.size,easing:"cubic-bezier(.03,.98,.52,.99)",scale:tiltSettings.tilt_scale||1,speed:tiltSettings.tilt_speed.size,transition:Boolean(tiltSettings.tilt_transition),axis:null,reset:Boolean(tiltSettings.tilt_reset),glare:Boolean(tiltSettings.tilt_glare),maxGlare:tiltSettings.tilt_maxGlare})};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-tilt.default',WidgetElements_TiltHandler)})})(jQuery)
/*elements-twentytwenty.min.js*/
;var isAdminBar=!1,isEditMode=!1;(function($){var WidgetElements_TwentyTwentyHandler=function($scope,$){var elementSettings=get_Dyncontel_ElementSettings($scope);var id_scope=$scope.attr('data-id');var scene=$scope.find('.afterbefore-container');setTimeout(function(){scene.twentytwenty({default_offset_pct:(Number(elementSettings.offset_pict.size)/100)||0.5,orientation:elementSettings.orientation||'horizontal',before_label:String(elementSettings.before_label)||'Before',after_label:String(elementSettings.after_label)||'After',no_overlay:Boolean(elementSettings.no_overlay),move_slider_on_hover:Boolean(elementSettings.move_slider_on_hover),move_with_handle_only:Boolean(elementSettings.move_with_handle_only),click_to_move:Boolean(elementSettings.click_to_move)})},100)};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/dyncontel-twentytwenty.default',WidgetElements_TwentyTwentyHandler)})})(jQuery)
/*main.min.js*/
;(function($){$(window).on('elementor/frontend/init',function(){if(elementorFrontend.isEditMode()){elementor.channels.editor.on('dceMain:previewPage',function(e,editor){var model=e.getOption('editedElementView').getEditModel(),currentElementType=model.get('elType')})}})})(jQuery)

Zerion Mini Shell 1.0