// source --> https://muscatcollege.edu.om/wp-content/plugins/interactive-3d-flipbook-powered-physics-engine/assets/js/client-locale-loader.js?ver=1.16.19 
function fb3dClientLocaleLoader() {
  if(window.jQuery && typeof jQuery.ajax==='function') {
    function fb3dNormalizeUrl(url) {
      return url.replace(/https{0,1}:/, location.protocol);
    }
    function fb3dFetch(url) {
      return new Promise(function(resolve, reject) {
        jQuery.ajax({url: fb3dNormalizeUrl(url), dataType: 'text'}).done(resolve).fail(reject);
      });
    }
    FB3D_CLIENT_LOCALE.render = function() {
      delete FB3D_CLIENT_LOCALE.render;
      var isStable = !Promise.withResolvers || /^((?!chrome|android).)*safari/i.test(navigator.userAgent),
        pdfJs = FB3D_CLIENT_LOCALE.pdfJS, assetsJs = FB3D_CLIENT_LOCALE.pluginurl+'assets/js/';
      window.FB3D_LOCALE = {
        dictionary: FB3D_CLIENT_LOCALE.dictionary
      };
      window.PDFJS_LOCALE = {
        pdfJsCMapUrl: fb3dNormalizeUrl(pdfJs.pdfJsCMapUrl),
        pdfJsWorker: fb3dNormalizeUrl(isStable? pdfJs.stablePdfJsWorker: pdfJs.pdfJsWorker)
      };
      Promise.all([
        fb3dFetch(FB3D_CLIENT_LOCALE.pluginurl+'assets/css/client.css?ver='+FB3D_CLIENT_LOCALE.version),
        fb3dFetch(FB3D_CLIENT_LOCALE.pluginurl+'assets/templates/iframe-init.html?ver='+FB3D_CLIENT_LOCALE.version),
        fb3dFetch(FB3D_CLIENT_LOCALE.cacheurl+'skins.js?ver='+FB3D_CLIENT_LOCALE.version),
        fb3dFetch(isStable? pdfJs.stablePdfJsLib: pdfJs.pdfJsLib),
        fb3dFetch(assetsJs+'three.min.js?ver=125'),
        fb3dFetch(assetsJs+'html2canvas.min.js?ver=0.5'),
        fb3dFetch(assetsJs+'client.min.js?ver='+FB3D_CLIENT_LOCALE.version),
      ]).then(function(fs) {
        jQuery('head').append(['<style type="text/css">', fs[0].replace(/url\('..\//gi, 'url(\''+fb3dNormalizeUrl(FB3D_CLIENT_LOCALE.pluginurl+'assets/')), '</style>'].join(''));
        for(var i = 2; i<fs.length; ++i) {
          eval(fs[i]);
        }
      });
    };
    if(jQuery('._'+FB3D_CLIENT_LOCALE.key).length) {
      FB3D_CLIENT_LOCALE.render();
    }
  }
  else {
    setTimeout(fb3dClientLocaleLoader, 100);
  }
}
fb3dClientLocaleLoader();
// source --> https://muscatcollege.edu.om/wp-content/plugins/piotnet-addons-for-elementor/assets/js/minify/extension.min.js?ver=2.4.36 
jQuery(document).ready(function(i){i(".elementor-image-carousel").each(function(){var e=i(this).find("a").attr("href");if(null!=e&&0<=e.indexOf(",")){linkImages=e.split(",");for(var t,n=0;n<=linkImages.length;n++)null!=linkImages[n]&&(t=linkImages[n].trim(),i(this).find(".swiper-slide").eq(n).find("a").attr("href",t))}})});var pafePJS=function(e,t){var n=document.querySelector(e+" > .particles-js-canvas-el"),u=(this.pafePJS={canvas:{el:n,w:n.offsetWidth,h:n.offsetHeight},particles:{number:{value:400,density:{enable:!0,value_area:800}},color:{value:"#2a802b"},shape:{type:"circle",stroke:{width:0,color:"#ff0000"},polygon:{nb_sides:5},image:{src:"",width:100,height:100}},opacity:{value:1,random:!1,anim:{enable:!1,speed:2,opacity_min:0,sync:!1}},size:{value:20,random:!1,anim:{enable:!1,speed:20,size_min:0,sync:!1}},line_linked:{enable:!0,distance:100,color:"#fff",opacity:1,width:1},move:{enable:!0,speed:2,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:3e3,rotateY:3e3}},array:[]},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:100,line_linked:{opacity:1}},bubble:{distance:200,size:80,duration:.4},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}},mouse:{}},retina_detect:!1,fn:{interact:{},modes:{},vendors:{}},tmp:{}},this.pafePJS);t&&Object.deepExtend(u,t),u.tmp.obj={size_value:u.particles.size.value,size_anim_speed:u.particles.size.anim.speed,move_speed:u.particles.move.speed,line_linked_distance:u.particles.line_linked.distance,line_linked_width:u.particles.line_linked.width,mode_grab_distance:u.interactivity.modes.grab.distance,mode_bubble_distance:u.interactivity.modes.bubble.distance,mode_bubble_size:u.interactivity.modes.bubble.size,mode_repulse_distance:u.interactivity.modes.repulse.distance},u.fn.retinaInit=function(){u.retina_detect&&1<window.devicePixelRatio?(u.canvas.pxratio=window.devicePixelRatio,u.tmp.retina=!0):(u.canvas.pxratio=1,u.tmp.retina=!1),u.canvas.w=u.canvas.el.offsetWidth*u.canvas.pxratio,u.canvas.h=u.canvas.el.offsetHeight*u.canvas.pxratio,u.particles.size.value=u.tmp.obj.size_value*u.canvas.pxratio,u.particles.size.anim.speed=u.tmp.obj.size_anim_speed*u.canvas.pxratio,u.particles.move.speed=u.tmp.obj.move_speed*u.canvas.pxratio,u.particles.line_linked.distance=u.tmp.obj.line_linked_distance*u.canvas.pxratio,u.interactivity.modes.grab.distance=u.tmp.obj.mode_grab_distance*u.canvas.pxratio,u.interactivity.modes.bubble.distance=u.tmp.obj.mode_bubble_distance*u.canvas.pxratio,u.particles.line_linked.width=u.tmp.obj.line_linked_width*u.canvas.pxratio,u.interactivity.modes.bubble.size=u.tmp.obj.mode_bubble_size*u.canvas.pxratio,u.interactivity.modes.repulse.distance=u.tmp.obj.mode_repulse_distance*u.canvas.pxratio},u.fn.canvasInit=function(){u.canvas.ctx=u.canvas.el.getContext("2d")},u.fn.canvasSize=function(){u.canvas.el.width=u.canvas.w,u.canvas.el.height=u.canvas.h,u&&u.interactivity.events.resize&&window.addEventListener("resize",function(){u.canvas.w=u.canvas.el.offsetWidth,u.canvas.h=u.canvas.el.offsetHeight,u.tmp.retina&&(u.canvas.w*=u.canvas.pxratio,u.canvas.h*=u.canvas.pxratio),u.canvas.el.width=u.canvas.w,u.canvas.el.height=u.canvas.h,u.particles.move.enable||(u.fn.particlesEmpty(),u.fn.particlesCreate(),u.fn.particlesDraw(),u.fn.vendors.densityAutoParticles()),u.fn.vendors.densityAutoParticles()})},u.fn.canvasPaint=function(){u.canvas.ctx.fillRect(0,0,u.canvas.w,u.canvas.h)},u.fn.canvasClear=function(){u.canvas.ctx.clearRect(0,0,u.canvas.w,u.canvas.h)},u.fn.particle=function(e,t,n){this.radius=(u.particles.size.random?Math.random():1)*u.particles.size.value,u.particles.size.anim.enable&&(this.size_status=!1,this.vs=u.particles.size.anim.speed/100,u.particles.size.anim.sync||(this.vs=this.vs*Math.random())),this.x=n?n.x:Math.random()*u.canvas.w,this.y=n?n.y:Math.random()*u.canvas.h,this.x>u.canvas.w-2*this.radius?this.x=this.x-this.radius:this.x<2*this.radius&&(this.x=this.x+this.radius),this.y>u.canvas.h-2*this.radius?this.y=this.y-this.radius:this.y<2*this.radius&&(this.y=this.y+this.radius),u.particles.move.bounce&&u.fn.vendors.checkOverlap(this,n),this.color={},"object"==typeof e.value?e.value instanceof Array?(n=e.value[Math.floor(Math.random()*u.particles.color.value.length)],this.color.rgb=hexToRgb(n)):(null!=e.value.r&&null!=e.value.g&&null!=e.value.b&&(this.color.rgb={r:e.value.r,g:e.value.g,b:e.value.b}),null!=e.value.h&&null!=e.value.s&&null!=e.value.l&&(this.color.hsl={h:e.value.h,s:e.value.s,l:e.value.l})):"random"==e.value?this.color.rgb={r:Math.floor(256*Math.random())+0,g:Math.floor(256*Math.random())+0,b:Math.floor(256*Math.random())+0}:"string"==typeof e.value&&(this.color=e,this.color.rgb=hexToRgb(this.color.value)),this.opacity=(u.particles.opacity.random?Math.random():1)*u.particles.opacity.value,u.particles.opacity.anim.enable&&(this.opacity_status=!1,this.vo=u.particles.opacity.anim.speed/100,u.particles.opacity.anim.sync||(this.vo=this.vo*Math.random()));var i={};switch(u.particles.move.direction){case"top":i={x:0,y:-1};break;case"top-right":i={x:.5,y:-.5};break;case"right":i={x:1,y:-0};break;case"bottom-right":i={x:.5,y:.5};break;case"bottom":i={x:0,y:1};break;case"bottom-left":i={x:-.5,y:1};break;case"left":i={x:-1,y:0};break;case"top-left":i={x:-.5,y:-.5};break;default:i={x:0,y:0}}u.particles.move.straight?(this.vx=i.x,this.vy=i.y,u.particles.move.random&&(this.vx=this.vx*Math.random(),this.vy=this.vy*Math.random())):(this.vx=i.x+Math.random()-.5,this.vy=i.y+Math.random()-.5),this.vx_i=this.vx,this.vy_i=this.vy;n=u.particles.shape.type;"object"==typeof n?n instanceof Array&&(e=n[Math.floor(Math.random()*n.length)],this.shape=e):this.shape=n,"image"==this.shape&&(e=u.particles.shape,this.img={src:e.image.src,ratio:e.image.width/e.image.height},this.img.ratio||(this.img.ratio=1),"svg"==u.tmp.img_type&&null!=u.tmp.source_svg&&(u.fn.vendors.createSvgImg(this),u.tmp.pushing&&(this.img.loaded=!1)))},u.fn.particle.prototype.draw=function(){var e,t,n,i=this;switch(e=null!=i.radius_bubble?i.radius_bubble:i.radius,t=null!=i.opacity_bubble?i.opacity_bubble:i.opacity,t=i.color.rgb?"rgba("+i.color.rgb.r+","+i.color.rgb.g+","+i.color.rgb.b+","+t+")":"hsla("+i.color.hsl.h+","+i.color.hsl.s+"%,"+i.color.hsl.l+"%,"+t+")",u.canvas.ctx.fillStyle=t,u.canvas.ctx.beginPath(),i.shape){case"circle":u.canvas.ctx.arc(i.x,i.y,e,0,2*Math.PI,!1);break;case"edge":u.canvas.ctx.rect(i.x-e,i.y-e,2*e,2*e);break;case"triangle":u.fn.vendors.drawShape(u.canvas.ctx,i.x-e,i.y+e/1.66,2*e,3,2);break;case"polygon":u.fn.vendors.drawShape(u.canvas.ctx,i.x-e/(u.particles.shape.polygon.nb_sides/3.5),i.y-e/.76,2.66*e/(u.particles.shape.polygon.nb_sides/3),u.particles.shape.polygon.nb_sides,1);break;case"star":u.fn.vendors.drawShape(u.canvas.ctx,i.x-2*e/(u.particles.shape.polygon.nb_sides/4),i.y-e/1.52,2*e*2.66/(u.particles.shape.polygon.nb_sides/3),u.particles.shape.polygon.nb_sides,2);break;case"image":(n="svg"==u.tmp.img_type?i.img.obj:u.tmp.img_obj)&&u.canvas.ctx.drawImage(n,i.x-e,i.y-e,2*e,2*e/i.img.ratio)}u.canvas.ctx.closePath(),0<u.particles.shape.stroke.width&&(u.canvas.ctx.strokeStyle=u.particles.shape.stroke.color,u.canvas.ctx.lineWidth=u.particles.shape.stroke.width,u.canvas.ctx.stroke()),u.canvas.ctx.fill()},u.fn.particlesCreate=function(){for(var e=0;e<u.particles.number.value;e++)u.particles.array.push(new u.fn.particle(u.particles.color,u.particles.opacity.value))},u.fn.particlesUpdate=function(){for(var e=0;e<u.particles.array.length;e++){var t,n=u.particles.array[e];if(u.particles.move.enable&&(t=u.particles.move.speed/2,n.x+=n.vx*t,n.y+=n.vy*t),u.particles.opacity.anim.enable&&(1==n.opacity_status?(n.opacity>=u.particles.opacity.value&&(n.opacity_status=!1),n.opacity+=n.vo):(n.opacity<=u.particles.opacity.anim.opacity_min&&(n.opacity_status=!0),n.opacity-=n.vo),n.opacity<0&&(n.opacity=0)),u.particles.size.anim.enable&&(1==n.size_status?(n.radius>=u.particles.size.value&&(n.size_status=!1),n.radius+=n.vs):(n.radius<=u.particles.size.anim.size_min&&(n.size_status=!0),n.radius-=n.vs),n.radius<0&&(n.radius=0)),t="bounce"==u.particles.move.out_mode?{x_left:n.radius,x_right:u.canvas.w,y_top:n.radius,y_bottom:u.canvas.h}:{x_left:-n.radius,x_right:u.canvas.w+n.radius,y_top:-n.radius,y_bottom:u.canvas.h+n.radius},n.x-n.radius>u.canvas.w?(n.x=t.x_left,n.y=Math.random()*u.canvas.h):n.x+n.radius<0&&(n.x=t.x_right,n.y=Math.random()*u.canvas.h),n.y-n.radius>u.canvas.h?(n.y=t.y_top,n.x=Math.random()*u.canvas.w):n.y+n.radius<0&&(n.y=t.y_bottom,n.x=Math.random()*u.canvas.w),"bounce"===u.particles.move.out_mode&&((n.x+n.radius>u.canvas.w||n.x-n.radius<0)&&(n.vx=-n.vx),(n.y+n.radius>u.canvas.h||n.y-n.radius<0)&&(n.vy=-n.vy)),isInArray("grab",u.interactivity.events.onhover.mode)&&u.fn.modes.grabParticle(n),(isInArray("bubble",u.interactivity.events.onhover.mode)||isInArray("bubble",u.interactivity.events.onclick.mode))&&u.fn.modes.bubbleParticle(n),(isInArray("repulse",u.interactivity.events.onhover.mode)||isInArray("repulse",u.interactivity.events.onclick.mode))&&u.fn.modes.repulseParticle(n),u.particles.line_linked.enable||u.particles.move.attract.enable)for(var i=e+1;i<u.particles.array.length;i++){var r=u.particles.array[i];u.particles.line_linked.enable&&u.fn.interact.linkParticles(n,r),u.particles.move.attract.enable&&u.fn.interact.attractParticles(n,r),u.particles.move.bounce&&u.fn.interact.bounceParticles(n,r)}}},u.fn.particlesDraw=function(){u.canvas.ctx.clearRect(0,0,u.canvas.w,u.canvas.h),u.fn.particlesUpdate();for(var e=0;e<u.particles.array.length;e++)u.particles.array[e].draw()},u.fn.particlesEmpty=function(){u.particles.array=[]},u.fn.particlesRefresh=function(){cancelRequestAnimFrame(u.fn.checkAnimFrame),cancelRequestAnimFrame(u.fn.drawAnimFrame),u.tmp.source_svg=void 0,u.tmp.img_obj=void 0,u.tmp.count_svg=0,u.fn.particlesEmpty(),u.fn.canvasClear(),u.fn.vendors.start()},u.fn.interact.linkParticles=function(e,t){var n=e.x-t.x,i=e.y-t.y,n=Math.sqrt(n*n+i*i);n<=u.particles.line_linked.distance&&(0<(i=u.particles.line_linked.opacity-n/(1/u.particles.line_linked.opacity)/u.particles.line_linked.distance)&&(n=u.particles.line_linked.color_rgb_line,u.canvas.ctx.strokeStyle="rgba("+n.r+","+n.g+","+n.b+","+i+")",u.canvas.ctx.lineWidth=u.particles.line_linked.width,u.canvas.ctx.beginPath(),u.canvas.ctx.moveTo(e.x,e.y),u.canvas.ctx.lineTo(t.x,t.y),u.canvas.ctx.stroke(),u.canvas.ctx.closePath()))},u.fn.interact.attractParticles=function(e,t){var n=e.x-t.x,i=e.y-t.y;Math.sqrt(n*n+i*i)<=u.particles.line_linked.distance&&(n=n/(1e3*u.particles.move.attract.rotateX),i=i/(1e3*u.particles.move.attract.rotateY),e.vx-=n,e.vy-=i,t.vx+=n,t.vy+=i)},u.fn.interact.bounceParticles=function(e,t){var n=e.x-t.x,i=e.y-t.y;Math.sqrt(n*n+i*i)<=e.radius+t.radius&&(e.vx=-e.vx,e.vy=-e.vy,t.vx=-t.vx,t.vy=-t.vy)},u.fn.modes.pushParticles=function(e,t){u.tmp.pushing=!0;for(var n=0;n<e;n++)u.particles.array.push(new u.fn.particle(u.particles.color,u.particles.opacity.value,{x:t?t.pos_x:Math.random()*u.canvas.w,y:t?t.pos_y:Math.random()*u.canvas.h})),n==e-1&&(u.particles.move.enable||u.fn.particlesDraw(),u.tmp.pushing=!1)},u.fn.modes.removeParticles=function(e){u.particles.array.splice(0,e),u.particles.move.enable||u.fn.particlesDraw()},u.fn.modes.bubbleParticle=function(a){function e(){a.opacity_bubble=a.opacity,a.radius_bubble=a.radius}function t(e,t,n,i,r){var o;e!=t&&(u.tmp.bubble_duration_end?null!=n&&(o=e+(e-(i-l*(i-e)/u.interactivity.modes.bubble.duration)),"size"==r&&(a.radius_bubble=o),"opacity"==r&&(a.opacity_bubble=o)):p<=u.interactivity.modes.bubble.distance?(null!=n?n:i)!=e&&(o=i-l*(i-e)/u.interactivity.modes.bubble.duration,"size"==r&&(a.radius_bubble=o),"opacity"==r&&(a.opacity_bubble=o)):("size"==r&&(a.radius_bubble=void 0),"opacity"==r&&(a.opacity_bubble=void 0)))}var n,i,r,o,s,c,p,l;u.interactivity.events.onhover.enable&&isInArray("bubble",u.interactivity.events.onhover.mode)?(s=a.x-u.interactivity.mouse.pos_x,c=a.y-u.interactivity.mouse.pos_y,n=1-(p=Math.sqrt(s*s+c*c))/u.interactivity.modes.bubble.distance,p<=u.interactivity.modes.bubble.distance?0<=n&&"mousemove"==u.interactivity.status&&(u.interactivity.modes.bubble.size!=u.particles.size.value&&(u.interactivity.modes.bubble.size>u.particles.size.value?0<=(r=a.radius+u.interactivity.modes.bubble.size*n)&&(a.radius_bubble=r):(i=a.radius-u.interactivity.modes.bubble.size,r=a.radius-i*n,a.radius_bubble=0<r?r:0)),u.interactivity.modes.bubble.opacity!=u.particles.opacity.value&&(u.interactivity.modes.bubble.opacity>u.particles.opacity.value?(o=u.interactivity.modes.bubble.opacity*n)>a.opacity&&o<=u.interactivity.modes.bubble.opacity&&(a.opacity_bubble=o):(o=a.opacity-(u.particles.opacity.value-u.interactivity.modes.bubble.opacity)*n)<a.opacity&&o>=u.interactivity.modes.bubble.opacity&&(a.opacity_bubble=o))):e(),"mouseleave"==u.interactivity.status&&e()):u.interactivity.events.onclick.enable&&isInArray("bubble",u.interactivity.events.onclick.mode)&&(u.tmp.bubble_clicking&&(s=a.x-u.interactivity.mouse.click_pos_x,c=a.y-u.interactivity.mouse.click_pos_y,p=Math.sqrt(s*s+c*c),(l=((new Date).getTime()-u.interactivity.mouse.click_time)/1e3)>u.interactivity.modes.bubble.duration&&(u.tmp.bubble_duration_end=!0),l>2*u.interactivity.modes.bubble.duration&&(u.tmp.bubble_clicking=!1,u.tmp.bubble_duration_end=!1)),u.tmp.bubble_clicking&&(t(u.interactivity.modes.bubble.size,u.particles.size.value,a.radius_bubble,a.radius,"size"),t(u.interactivity.modes.bubble.opacity,u.particles.opacity.value,a.opacity_bubble,a.opacity,"opacity")))},u.fn.modes.repulseParticle=function(n){var e,t,i,r,o,a,s;u.interactivity.events.onhover.enable&&isInArray("repulse",u.interactivity.events.onhover.mode)&&"mousemove"==u.interactivity.status?(e=n.x-u.interactivity.mouse.pos_x,a=n.y-u.interactivity.mouse.pos_y,t=e/(e=Math.sqrt(e*e+a*a)),a=a/e,e=clamp(1/(i=u.interactivity.modes.repulse.distance)*(-1*Math.pow(e/i,2)+1)*i*100,0,50),t={x:n.x+t*e,y:n.y+a*e},"bounce"==u.particles.move.out_mode?(0<t.x-n.radius&&t.x+n.radius<u.canvas.w&&(n.x=t.x),0<t.y-n.radius&&t.y+n.radius<u.canvas.h&&(n.y=t.y)):(n.x=t.x,n.y=t.y)):u.interactivity.events.onclick.enable&&isInArray("repulse",u.interactivity.events.onclick.mode)&&(u.tmp.repulse_finish||(u.tmp.repulse_count++,u.tmp.repulse_count==u.particles.array.length&&(u.tmp.repulse_finish=!0)),u.tmp.repulse_clicking?(i=Math.pow(u.interactivity.modes.repulse.distance/6,3),r=u.interactivity.mouse.click_pos_x-n.x,o=u.interactivity.mouse.click_pos_y-n.y,s=-i/(a=r*r+o*o)*1,a<=i&&function(){var e,t=Math.atan2(o,r);n.vx=s*Math.cos(t),n.vy=s*Math.sin(t),"bounce"==u.particles.move.out_mode&&(t=n.x+n.vx,e=n.y+n.vy,(t+n.radius>u.canvas.w||t-n.radius<0)&&(n.vx=-n.vx),(e+n.radius>u.canvas.h||e-n.radius<0)&&(n.vy=-n.vy))}()):0==u.tmp.repulse_clicking&&(n.vx=n.vx_i,n.vy=n.vy_i))},u.fn.modes.grabParticle=function(e){var t,n;u.interactivity.events.onhover.enable&&"mousemove"==u.interactivity.status&&(n=e.x-u.interactivity.mouse.pos_x,t=e.y-u.interactivity.mouse.pos_y,(n=Math.sqrt(n*n+t*t))<=u.interactivity.modes.grab.distance&&(0<(t=u.interactivity.modes.grab.line_linked.opacity-n/(1/u.interactivity.modes.grab.line_linked.opacity)/u.interactivity.modes.grab.distance)&&(n=u.particles.line_linked.color_rgb_line,u.canvas.ctx.strokeStyle="rgba("+n.r+","+n.g+","+n.b+","+t+")",u.canvas.ctx.lineWidth=u.particles.line_linked.width,u.canvas.ctx.beginPath(),u.canvas.ctx.moveTo(e.x,e.y),u.canvas.ctx.lineTo(u.interactivity.mouse.pos_x,u.interactivity.mouse.pos_y),u.canvas.ctx.stroke(),u.canvas.ctx.closePath())))},u.fn.vendors.eventsListeners=function(){"window"==u.interactivity.detect_on?u.interactivity.el=window:u.interactivity.el=u.canvas.el,(u.interactivity.events.onhover.enable||u.interactivity.events.onclick.enable)&&(u.interactivity.el.addEventListener("mousemove",function(e){var t;e=u.interactivity.el==window?(t=e.clientX,e.clientY):(t=e.offsetX||e.clientX,e.offsetY||e.clientY),u.interactivity.mouse.pos_x=t,u.interactivity.mouse.pos_y=e,u.tmp.retina&&(u.interactivity.mouse.pos_x*=u.canvas.pxratio,u.interactivity.mouse.pos_y*=u.canvas.pxratio),u.interactivity.status="mousemove"}),u.interactivity.el.addEventListener("mouseleave",function(e){u.interactivity.mouse.pos_x=null,u.interactivity.mouse.pos_y=null,u.interactivity.status="mouseleave"})),u.interactivity.events.onclick.enable&&u.interactivity.el.addEventListener("click",function(){if(u.interactivity.mouse.click_pos_x=u.interactivity.mouse.pos_x,u.interactivity.mouse.click_pos_y=u.interactivity.mouse.pos_y,u.interactivity.mouse.click_time=(new Date).getTime(),u.interactivity.events.onclick.enable)switch(u.interactivity.events.onclick.mode){case"push":u.particles.move.enable||1==u.interactivity.modes.push.particles_nb?u.fn.modes.pushParticles(u.interactivity.modes.push.particles_nb,u.interactivity.mouse):1<u.interactivity.modes.push.particles_nb&&u.fn.modes.pushParticles(u.interactivity.modes.push.particles_nb);break;case"remove":u.fn.modes.removeParticles(u.interactivity.modes.remove.particles_nb);break;case"bubble":u.tmp.bubble_clicking=!0;break;case"repulse":u.tmp.repulse_clicking=!0,u.tmp.repulse_count=0,u.tmp.repulse_finish=!1,setTimeout(function(){u.tmp.repulse_clicking=!1},1e3*u.interactivity.modes.repulse.duration)}})},u.fn.vendors.densityAutoParticles=function(){var e;u.particles.number.density.enable&&(e=u.canvas.el.width*u.canvas.el.height/1e3,u.tmp.retina&&(e/=2*u.canvas.pxratio),e=e*u.particles.number.value/u.particles.number.density.value_area,(e=u.particles.array.length-e)<0?u.fn.modes.pushParticles(Math.abs(e)):u.fn.modes.removeParticles(e))},u.fn.vendors.checkOverlap=function(e,t){for(var n=0;n<u.particles.array.length;n++){var i=u.particles.array[n],r=e.x-i.x,o=e.y-i.y;Math.sqrt(r*r+o*o)<=e.radius+i.radius&&(e.x=t?t.x:Math.random()*u.canvas.w,e.y=t?t.y:Math.random()*u.canvas.h,u.fn.vendors.checkOverlap(e))}},u.fn.vendors.createSvgImg=function(r){var e=u.tmp.source_svg.replace(/#([0-9A-F]{3,6})/gi,function(e,t,n,i){return r.color.rgb?"rgba("+r.color.rgb.r+","+r.color.rgb.g+","+r.color.rgb.b+","+r.opacity+")":"hsla("+r.color.hsl.h+","+r.color.hsl.s+"%,"+r.color.hsl.l+"%,"+r.opacity+")"}),e=new Blob([e],{type:"image/svg+xml;charset=utf-8"}),t=window.URL||window.webkitURL||window,n=t.createObjectURL(e),i=new Image;i.addEventListener("load",function(){r.img.obj=i,r.img.loaded=!0,t.revokeObjectURL(n),u.tmp.count_svg++}),i.src=n},u.fn.vendors.destroypJS=function(){cancelAnimationFrame(u.fn.drawAnimFrame),n.remove(),pJSDom=null},u.fn.vendors.drawShape=function(e,t,n,i,r,o){var a=r*o,r=r/o,s=Math.PI-Math.PI*(180*(r-2)/r)/180;e.save(),e.beginPath(),e.translate(t,n),e.moveTo(0,0);for(var c=0;c<a;c++)e.lineTo(i,0),e.translate(i,0),e.rotate(s);e.fill(),e.restore()},u.fn.vendors.exportImg=function(){window.open(u.canvas.el.toDataURL("image/png"),"_blank")},u.fn.vendors.loadImg=function(e){var t,n;u.tmp.img_error=void 0,""!=u.particles.shape.image.src?"svg"==e?((t=new XMLHttpRequest).open("GET",u.particles.shape.image.src),t.onreadystatechange=function(e){4==t.readyState&&(200==t.status?(u.tmp.source_svg=e.currentTarget.response,u.fn.vendors.checkBeforeDraw()):(console.log("Error pafePJS - Image not found"),u.tmp.img_error=!0))},t.send()):((n=new Image).addEventListener("load",function(){u.tmp.img_obj=n,u.fn.vendors.checkBeforeDraw()}),n.src=u.particles.shape.image.src):(console.log("Error pafePJS - No image.src"),u.tmp.img_error=!0)},u.fn.vendors.draw=function(){"image"==u.particles.shape.type?"svg"==u.tmp.img_type?u.tmp.count_svg>=u.particles.number.value?(u.fn.particlesDraw(),u.particles.move.enable?u.fn.drawAnimFrame=requestAnimFrame(u.fn.vendors.draw):cancelRequestAnimFrame(u.fn.drawAnimFrame)):u.tmp.img_error||(u.fn.drawAnimFrame=requestAnimFrame(u.fn.vendors.draw)):null!=u.tmp.img_obj?(u.fn.particlesDraw(),u.particles.move.enable?u.fn.drawAnimFrame=requestAnimFrame(u.fn.vendors.draw):cancelRequestAnimFrame(u.fn.drawAnimFrame)):u.tmp.img_error||(u.fn.drawAnimFrame=requestAnimFrame(u.fn.vendors.draw)):(u.fn.particlesDraw(),u.particles.move.enable?u.fn.drawAnimFrame=requestAnimFrame(u.fn.vendors.draw):cancelRequestAnimFrame(u.fn.drawAnimFrame))},u.fn.vendors.checkBeforeDraw=function(){"image"==u.particles.shape.type?"svg"==u.tmp.img_type&&null==u.tmp.source_svg?u.tmp.checkAnimFrame=requestAnimFrame(check):(cancelRequestAnimFrame(u.tmp.checkAnimFrame),u.tmp.img_error||(u.fn.vendors.init(),u.fn.vendors.draw())):(u.fn.vendors.init(),u.fn.vendors.draw())},u.fn.vendors.init=function(){u.fn.retinaInit(),u.fn.canvasInit(),u.fn.canvasSize(),u.fn.canvasPaint(),u.fn.particlesCreate(),u.fn.vendors.densityAutoParticles(),u.particles.line_linked.color_rgb_line=hexToRgb(u.particles.line_linked.color)},u.fn.vendors.start=function(){isInArray("image",u.particles.shape.type)?(u.tmp.img_type=u.particles.shape.image.src.substr(u.particles.shape.image.src.length-3),u.fn.vendors.loadImg(u.tmp.img_type)):u.fn.vendors.checkBeforeDraw()},u.fn.vendors.eventsListeners(),u.fn.vendors.start()};function hexToRgb(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,n,i){return t+t+n+n+i+i});e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}function clamp(e,t,n){return Math.min(Math.max(e,t),n)}function isInArray(e,t){return-1<t.indexOf(e)}Object.deepExtend=function(e,t){for(var n in t)t[n]&&t[n].constructor&&t[n].constructor===Object?(e[n]=e[n]||{},arguments.callee(e[n],t[n])):e[n]=t[n];return e},window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},window.cancelRequestAnimFrame=window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout,window.pJSDom=[],window.pafeParticlesJS=function(e,t){"string"!=typeof e&&(t=e,e="particles-js"),e=e||"particles-js";var n=document.querySelector(e),i="particles-js-canvas-el",r=n.getElementsByClassName(i);if(r.length)for(;0<r.length;)n.removeChild(r[0]);var o=document.createElement("canvas");o.className=i,o.style.width="100%",o.style.height="100%",null!=document.querySelector(e).appendChild(o)&&pJSDom.push(new pafePJS(e,t))},window.pafeParticlesJS.load=function(t,e,n){var i=new XMLHttpRequest;i.open("GET",e),i.onreadystatechange=function(e){4==i.readyState&&(200==i.status?(e=JSON.parse(e.currentTarget.response),window.pafeParticlesJS(t,e),n&&n()):(console.log("Error pafePJS - XMLHttpRequest status: "+i.status),console.log("Error pafePJS - File config not found")))},i.send()},jQuery(document).ready(function(d){d("[data-pafe-particles]").each(function(){var e=d(this).attr("data-pafe-particles"),t=JSON.parse(this.getAttribute("data-pafe-particles-options")),n=t.quantity,i=t.particles_color,r=t.linked_color,o=t.hover_effect,a=t.click_effect,s=t.particles_shape,c=t.particles_size,p=t.particles_speed,l=t.particles_image,u=t.particles_opacity;linked_opacity=t.linked_opacity,pafeParticlesJS("[data-pafe-particles='"+e+"']",{particles:{number:{value:n,density:{enable:!0,value_area:800}},color:{value:i},shape:{type:s,stroke:{width:0,color:"#000000"},polygon:{nb_sides:5},image:{src:l,width:100,height:100}},opacity:{value:u,random:!1,anim:{enable:!1,speed:1,opacity_min:0,sync:!1}},size:{value:c,random:!0,anim:{enable:!1,speed:40,size_min:.1,sync:!1}},line_linked:{enable:!0,distance:100,color:r,opacity:linked_opacity,width:1},move:{enable:!0,speed:p,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:600,rotateY:1200}}},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:o},onclick:{enable:!0,mode:a},resize:!0},modes:{grab:{distance:140,line_linked:{opacity:1}},bubble:{distance:400,size:10,duration:2,opacity:8,speed:3},repulse:{distance:50,duration:.4},push:{particles_nb:10},remove:{particles_nb:10}}},retina_detect:!0})})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Popper={})}(this,function(e){"use strict";function g(e){return null==e?window:"[object Window]"!==e.toString()?(t=e.ownerDocument)&&t.defaultView||window:e;var t}function h(e){return e instanceof g(e).Element||e instanceof Element}function y(e){return e instanceof g(e).HTMLElement||e instanceof HTMLElement}function r(e){return"undefined"!=typeof ShadowRoot&&(e instanceof g(e).ShadowRoot||e instanceof ShadowRoot)}var T=Math.max,E=Math.min,w=Math.round;function b(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),i=1,r=1;return y(e)&&t&&(t=e.offsetHeight,0<(e=e.offsetWidth)&&(i=w(n.width)/e||1),0<t&&(r=w(n.height)/t||1)),{width:n.width/i,height:n.height/r,top:n.top/r,right:n.right/i,bottom:n.bottom/r,left:n.left/i,x:n.left/i,y:n.top/r}}function x(e){e=g(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function _(e){return e?(e.nodeName||"").toLowerCase():null}function O(e){return((h(e)?e.ownerDocument:e.document)||window.document).documentElement}function k(e){return b(O(e)).left+x(e).scrollLeft}function A(e){return g(e).getComputedStyle(e)}function M(e){var e=A(e),t=e.overflow,n=e.overflowX,e=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+e+n)}function P(e){var t=b(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function m(e){return"html"===_(e)?e:e.assignedSlot||e.parentNode||(r(e)?e.host:null)||O(e)}function j(e,t){void 0===t&&(t=[]);var n=function e(t){return 0<=["html","body","#document"].indexOf(_(t))?t.ownerDocument.body:y(t)&&M(t)?t:e(m(t))}(e),e=n===(null==(e=e.ownerDocument)?void 0:e.body),i=g(n),i=e?[i].concat(i.visualViewport||[],M(n)?n:[]):n,n=t.concat(i);return e?n:n.concat(j(m(i)))}function o(e){return y(e)&&"fixed"!==A(e).position?e.offsetParent:null}function C(e){for(var t,n=g(e),i=o(e);i&&(t=i,0<=["table","td","th"].indexOf(_(t)))&&"static"===A(i).position;)i=o(i);return(!i||"html"!==_(i)&&("body"!==_(i)||"static"!==A(i).position))&&(i||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&y(e)&&"fixed"===A(e).position)return null;var n=m(e);for(r(n)&&(n=n.host);y(n)&&["html","body"].indexOf(_(n))<0;){var i=A(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e))||n}var S="top",L="bottom",D="right",R="left",q="auto",z=[S,L,D,R],I="start",F="end",X="viewport",v="popper",Y=z.reduce(function(e,t){return e.concat([t+"-"+I,t+"-"+F])},[]),$=[].concat(z,[q]).reduce(function(e,t){return e.concat([t,t+"-"+I,t+"-"+F])},[]),l=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function u(e){var n=new Map,i=new Set,r=[];return e.forEach(function(e){n.set(e.name,e)}),e.forEach(function(e){i.has(e.name)||function t(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){i.has(e)||(e=n.get(e))&&t(e)}),r.push(e)}(e)}),r}function H(e){return e.split("-")[0]}function Q(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&r(n)){var i=t;do{if(i&&e.isSameNode(i))return!0}while(i=i.parentNode||i.host)}return!1}function B(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function G(e,t){return t===X?B((i=g(n=e),r=O(n),i=i.visualViewport,o=r.clientWidth,r=r.clientHeight,s=a=0,i&&(o=i.width,r=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=i.offsetLeft,s=i.offsetTop)),{width:o,height:r,x:a+k(n),y:s})):h(t)?((o=b(i=t)).top=o.top+i.clientTop,o.left=o.left+i.clientLeft,o.bottom=o.top+i.clientHeight,o.right=o.left+i.clientWidth,o.width=i.clientWidth,o.height=i.clientHeight,o.x=o.left,o.y=o.top,o):B((r=O(e),a=O(r),n=x(r),s=null==(s=r.ownerDocument)?void 0:s.body,t=T(a.scrollWidth,a.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),e=T(a.scrollHeight,a.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),r=-n.scrollLeft+k(r),n=-n.scrollTop,"rtl"===A(s||a).direction&&(r+=T(a.clientWidth,s?s.clientWidth:0)-t),{width:t,height:e,x:r,y:n}));var n,i,r,o,a,s}function V(e){return e.split("-")[1]}function W(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}function K(e){var t,n=e.reference,i=e.element,e=e.placement,r=e?H(e):null,e=e?V(e):null,o=n.x+n.width/2-i.width/2,a=n.y+n.height/2-i.height/2;switch(r){case S:t={x:o,y:n.y-i.height};break;case L:t={x:o,y:n.y+n.height};break;case D:t={x:n.x+n.width,y:a};break;case R:t={x:n.x-i.width,y:a};break;default:t={x:n.x,y:n.y}}var s=r?W(r):null;if(null!=s){var c="y"===s?"height":"width";switch(e){case I:t[s]=t[s]-(n[c]/2-i[c]/2);break;case F:t[s]=t[s]+(n[c]/2-i[c]/2)}}return t}function Z(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ee(n,e){return e.reduce(function(e,t){return e[t]=n,e},{})}function N(e,t){var n,i,r,o,a,t=t=void 0===t?{}:t,s=t.placement,s=void 0===s?e.placement:s,c=t.boundary,c=void 0===c?"clippingParents":c,p=t.rootBoundary,p=void 0===p?X:p,l=t.elementContext,l=void 0===l?v:l,u=t.altBoundary,u=void 0!==u&&u,t=t.padding,t=void 0===t?0:t,t=Z("number"!=typeof t?t:ee(t,z)),d=e.rects.popper,u=e.elements[u?l===v?"reference":v:l],c=(n=h(u)?u:u.contextElement||O(e.elements.popper),u=p,r="clippingParents"===(p=c)?(o=j(m(r=n)),h(i=0<=["absolute","fixed"].indexOf(A(r).position)&&y(r)?C(r):r)?o.filter(function(e){return h(e)&&Q(e,i)&&"body"!==_(e)}):[]):[].concat(p),o=[].concat(r,[u]),p=o[0],(u=o.reduce(function(e,t){t=G(n,t);return e.top=T(t.top,e.top),e.right=E(t.right,e.right),e.bottom=E(t.bottom,e.bottom),e.left=T(t.left,e.left),e},G(n,p))).width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u),p=b(e.elements.reference),u=K({reference:p,element:d,strategy:"absolute",placement:s}),d=B(Object.assign({},d,u)),u=l===v?d:p,f={top:c.top-u.top+t.top,bottom:u.bottom-c.bottom+t.bottom,left:c.left-u.left+t.left,right:u.right-c.right+t.right},d=e.modifiersData.offset;return l===v&&d&&(a=d[s],Object.keys(f).forEach(function(e){var t=0<=[D,L].indexOf(e)?1:-1,n=0<=[S,L].indexOf(e)?"y":"x";f[e]+=a[n]*t})),f}var d={placement:"bottom",modifiers:[],strategy:"absolute"};function te(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function t(e){var e=e=void 0===e?{}:e,t=e.defaultModifiers,c=void 0===t?[]:t,t=e.defaultOptions,p=void 0===t?d:t;return function(i,r,t){void 0===t&&(t=p);var n,o,f={placement:"bottom",orderedModifiers:[],options:Object.assign({},d,p),modifiersData:{},elements:{reference:i,popper:r},attributes:{},styles:{}},a=[],m=!1,v={state:f,setOptions:function(e){e="function"==typeof e?e(f.options):e;s(),f.options=Object.assign({},p,f.options,e),f.scrollParents={reference:h(i)?j(i):i.contextElement?j(i.contextElement):[],popper:j(r)};e=[].concat(c,f.options.modifiers),t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),n=u(Object.keys(t).map(function(e){return t[e]}));var t,n,e=l.reduce(function(e,t){return e.concat(n.filter(function(e){return e.phase===t}))},[]);return f.orderedModifiers=e.filter(function(e){return e.enabled}),f.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,e=e.effect;"function"==typeof e&&(e=e({state:f,name:t,instance:v,options:void 0===n?{}:n}),a.push(e||function(){}))}),v.update()},forceUpdate:function(){if(!m){var e=f.elements,t=e.reference,e=e.popper;if(te(t,e)){f.rects={reference:(t=t,a=C(e),void 0===(s="fixed"===f.options.strategy)&&(s=!1),c=y(a),p=y(a)&&(u=(p=a).getBoundingClientRect(),l=w(u.width)/p.offsetWidth||1,u=w(u.height)/p.offsetHeight||1,1!==l||1!==u),l=O(a),u=b(t,p),t={scrollLeft:0,scrollTop:0},d={x:0,y:0},!c&&s||("body"===_(a)&&!M(l)||(t=(c=a)!==g(c)&&y(c)?{scrollLeft:c.scrollLeft,scrollTop:c.scrollTop}:x(c)),y(a)?((d=b(a,!0)).x+=a.clientLeft,d.y+=a.clientTop):l&&(d.x=k(l))),{x:u.left+t.scrollLeft-d.x,y:u.top+t.scrollTop-d.y,width:u.width,height:u.height}),popper:P(e)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(e){return f.modifiersData[e.name]=Object.assign({},e.data)});for(var n,i,r,o=0;o<f.orderedModifiers.length;o++)!0!==f.reset?(n=(r=f.orderedModifiers[o]).fn,i=r.options,r=r.name,"function"==typeof n&&(f=n({state:f,options:void 0===i?{}:i,name:r,instance:v})||f)):(f.reset=!1,o=-1)}}var a,s,c,p,l,u,d},update:(n=function(){return new Promise(function(e){v.forceUpdate(),e(f)})},function(){return o=o||new Promise(function(e){Promise.resolve().then(function(){o=void 0,e(n())})})}),destroy:function(){s(),m=!0}};return te(i,r)&&v.setOptions(t).then(function(e){!m&&t.onFirstUpdate&&t.onFirstUpdate(e)}),v;function s(){a.forEach(function(e){return e()}),a=[]}}}var c={passive:!0},n={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,e=e.options,i=e.scroll,r=void 0===i||i,i=e.resize,o=void 0===i||i,a=g(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&s.forEach(function(e){e.addEventListener("scroll",n.update,c)}),o&&a.addEventListener("resize",n.update,c),function(){r&&s.forEach(function(e){e.removeEventListener("scroll",n.update,c)}),o&&a.removeEventListener("resize",n.update,c)}},data:{}},i={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,e=e.name;t.modifiersData[e]=K({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},ne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function a(e){var t,n=e.popper,i=e.popperRect,r=e.placement,o=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,p=e.adaptive,l=e.roundOffsets,e=e.isFixed,u=a.x,u=void 0===u?0:u,d=a.y,d=void 0===d?0:d,f="function"==typeof l?l({x:u,y:d}):{x:u,y:d},u=f.x,d=f.y,f=a.hasOwnProperty("x"),a=a.hasOwnProperty("y"),m=R,v=S,h=window;p&&(b="clientHeight",t="clientWidth",(y=C(n))===g(n)&&"static"!==A(y=O(n)).position&&"absolute"===s&&(b="scrollHeight",t="scrollWidth"),r!==S&&(r!==R&&r!==D||o!==F)||(v=L,d=(d-((e&&y===h&&h.visualViewport?h.visualViewport.height:y[b])-i.height))*(c?1:-1)),r!==R&&(r!==S&&r!==L||o!==F)||(m=D,u=(u-((e&&y===h&&h.visualViewport?h.visualViewport.width:y[t])-i.width))*(c?1:-1)));var y,b,n=Object.assign({position:s},p&&ne),e=!0===l?(r=(b={x:u,y:d}).y,o=window.devicePixelRatio||1,{x:w(b.x*o)/o||0,y:w(r*o)/o||0}):{x:u,y:d};return u=e.x,d=e.y,c?Object.assign({},n,((y={})[v]=a?"0":"",y[m]=f?"0":"",y.transform=(h.devicePixelRatio||1)<=1?"translate("+u+"px, "+d+"px)":"translate3d("+u+"px, "+d+"px, 0)",y)):Object.assign({},n,((t={})[v]=a?d+"px":"",t[m]=f?u+"px":"",t.transform="",t))}var s={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,e=e.options,n=e.gpuAcceleration,n=void 0===n||n,i=e.adaptive,i=void 0===i||i,e=e.roundOffsets,e=void 0===e||e,n={placement:H(t.placement),variation:V(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,a(Object.assign({},n,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:e})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,a(Object.assign({},n,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:e})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},p={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var r=e.state;Object.keys(r.elements).forEach(function(e){var t=r.styles[e]||{},n=r.attributes[e]||{},i=r.elements[e];y(i)&&_(i)&&(Object.assign(i.style,t),Object.keys(n).forEach(function(e){var t=n[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var i=e.state,r={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,r.popper),i.styles=r,i.elements.arrow&&Object.assign(i.elements.arrow.style,r.arrow),function(){Object.keys(i.elements).forEach(function(e){var t=i.elements[e],n=i.attributes[e]||{},e=Object.keys((i.styles.hasOwnProperty(e)?i.styles:r)[e]).reduce(function(e,t){return e[t]="",e},{});y(t)&&_(t)&&(Object.assign(t.style,e),Object.keys(n).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]},f={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var a=e.state,t=e.options,e=e.name,t=t.offset,s=void 0===t?[0,0]:t,t=$.reduce(function(e,t){return e[t]=(t=t,n=a.rects,i=s,r=H(t),o=0<=[R,S].indexOf(r)?-1:1,n="function"==typeof i?i(Object.assign({},n,{placement:t})):i,t=n[0]||0,i=(n[1]||0)*o,0<=[R,D].indexOf(r)?{x:i,y:t}:{x:t,y:i}),e;var n,i,r,o},{}),n=t[a.placement],i=n.x,n=n.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=i,a.modifiersData.popperOffsets.y+=n),a.modifiersData[e]=t}},ie={left:"right",right:"left",bottom:"top",top:"bottom"};function U(e){return e.replace(/left|right|bottom|top/g,function(e){return ie[e]})}var re={start:"end",end:"start"};function oe(e){return e.replace(/start|end/g,function(e){return re[e]})}var ae={name:"flip",enabled:!0,phase:"main",fn:function(e){var u=e.state,t=e.options,e=e.name;if(!u.modifiersData[e]._skip){for(var n=t.mainAxis,i=void 0===n||n,n=t.altAxis,r=void 0===n||n,n=t.fallbackPlacements,d=t.padding,f=t.boundary,m=t.rootBoundary,o=t.altBoundary,a=t.flipVariations,v=void 0===a||a,h=t.allowedAutoPlacements,a=u.options.placement,t=H(a),n=n||(t!==a&&v?function(e){if(H(e)===q)return[];var t=U(e);return[oe(e),t,oe(t)]}(a):[U(a)]),s=[a].concat(n).reduce(function(e,t){return e.concat(H(t)===q?(n=u,i=(e=e=void 0===(e={placement:t,boundary:f,rootBoundary:m,padding:d,flipVariations:v,allowedAutoPlacements:h})?{}:e).placement,r=e.boundary,o=e.rootBoundary,a=e.padding,s=e.flipVariations,c=void 0===(e=e.allowedAutoPlacements)?$:e,p=V(i),e=p?s?Y:Y.filter(function(e){return V(e)===p}):z,l=(i=0===(i=e.filter(function(e){return 0<=c.indexOf(e)})).length?e:i).reduce(function(e,t){return e[t]=N(n,{placement:t,boundary:r,rootBoundary:o,padding:a})[H(t)],e},{}),Object.keys(l).sort(function(e,t){return l[e]-l[t]})):t);var n,i,r,o,a,s,c,p,l},[]),c=u.rects.reference,p=u.rects.popper,l=new Map,y=!0,b=s[0],g=0;g<s.length;g++){var w=s[g],x=H(w),_=V(w)===I,O=0<=[S,L].indexOf(x),k=O?"width":"height",A=N(u,{placement:w,boundary:f,rootBoundary:m,altBoundary:o,padding:d}),O=O?_?D:R:_?L:S,_=(c[k]>p[k]&&(O=U(O)),U(O)),k=[];if(i&&k.push(A[x]<=0),r&&k.push(A[O]<=0,A[_]<=0),k.every(function(e){return e})){b=w,y=!1;break}l.set(w,k)}if(y)for(var T=v?3:1;0<T&&"break"!==function(t){var e=s.find(function(e){e=l.get(e);if(e)return e.slice(0,t).every(function(e){return e})});if(e)return b=e,"break"}(T);T--);u.placement!==b&&(u.modifiersData[e]._skip=!0,u.placement=b,u.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function J(e,t,n){return T(e,E(t,n))}var se={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t,n,i,r,o,a,s,c,p,l=e.state,u=e.options,e=e.name,d=u.mainAxis,d=void 0===d||d,f=u.altAxis,f=void 0!==f&&f,m=u.boundary,v=u.rootBoundary,h=u.altBoundary,y=u.padding,b=u.tether,b=void 0===b||b,u=u.tetherOffset,u=void 0===u?0:u,m=N(l,{boundary:m,rootBoundary:v,padding:y,altBoundary:h}),v=H(l.placement),y=V(l.placement),h=!y,g=W(v),w="x"===g?"y":"x",x=l.modifiersData.popperOffsets,_=l.rects.reference,O=l.rects.popper,u="function"==typeof u?u(Object.assign({},l.rects,{placement:l.placement})):u,u="number"==typeof u?{mainAxis:u,altAxis:u}:Object.assign({mainAxis:0,altAxis:0},u),k=l.modifiersData.offset?l.modifiersData.offset[l.placement]:null,A={x:0,y:0};x&&(d&&(d="y"===g?"height":"width",a=(s=x[g])+m[n="y"===g?S:R],c=s-m[p="y"===g?L:D],t=b?-O[d]/2:0,r=(y===I?_:O)[d],y=y===I?-O[d]:-_[d],o=l.elements.arrow,o=b&&o?P(o):{width:0,height:0},n=(i=l.modifiersData["arrow#persistent"]?l.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0})[n],i=i[p],p=J(0,_[d],o[d]),o=h?_[d]/2-t-p-n-u.mainAxis:r-p-n-u.mainAxis,r=h?-_[d]/2+t+p+i+u.mainAxis:y+p+i+u.mainAxis,h=(n=l.elements.arrow&&C(l.elements.arrow))?"y"===g?n.clientTop||0:n.clientLeft||0:0,y=s+r-(t=null!=(d=null==k?void 0:k[g])?d:0),p=J(b?E(a,s+o-t-h):a,s,b?T(c,y):c),x[g]=p,A[g]=p-s),f&&(i="y"==w?"height":"width",r=(n=x[w])+m["x"===g?S:R],d=n-m["x"===g?L:D],o=-1!==[S,R].indexOf(v),h=null!=(t=null==k?void 0:k[w])?t:0,a=o?r:n-_[i]-O[i]-h+u.altAxis,y=o?n+_[i]+O[i]-h-u.altAxis:d,s=b&&o?(p=J(a,n,c=y),c<p?c:p):J(b?a:r,n,b?y:d),x[w]=s,A[w]=s-n),l.modifiersData[e]=A)},requiresIfExists:["offset"]},ce={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,i,r,o=e.state,a=e.name,e=e.options,s=o.elements.arrow,c=o.modifiersData.popperOffsets,p=H(o.placement),l=W(p),p=0<=[R,D].indexOf(p)?"height":"width";s&&c&&(e=Z("number"!=typeof(e="function"==typeof(e=e.padding)?e(Object.assign({},o.rects,{placement:o.placement})):e)?e:ee(e,z)),t=P(s),r="y"===l?S:R,i="y"===l?L:D,n=o.rects.reference[p]+o.rects.reference[l]-c[l]-o.rects.popper[p],c=c[l]-o.rects.reference[l],s=(s=C(s))?"y"===l?s.clientHeight||0:s.clientWidth||0:0,r=e[r],e=s-t[p]-e[i],r=J(r,i=s/2-t[p]/2+(n/2-c/2),e),o.modifiersData[a]=((s={})[l]=r,s.centerOffset=r-i,s))},effect:function(e){var t=e.state,e=e.options.element,e=void 0===e?"[data-popper-arrow]":e;null!=e&&("string"!=typeof e||(e=t.elements.popper.querySelector(e)))&&Q(t.elements.popper,e)&&(t.elements.arrow=e)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pe(e,t,n){return{top:e.top-t.height-(n=void 0===n?{x:0,y:0}:n).y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function le(t){return[S,D,L,R].some(function(e){return 0<=t[e]})}var ue={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,e=e.name,n=t.rects.reference,i=t.rects.popper,r=t.modifiersData.preventOverflow,o=N(t,{elementContext:"reference"}),a=N(t,{altBoundary:!0}),o=pe(o,n),n=pe(a,i,r),a=le(o),i=le(n);t.modifiersData[e]={referenceClippingOffsets:o,popperEscapeOffsets:n,isReferenceHidden:a,hasPopperEscaped:i},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":a,"data-popper-escaped":i})}},de=t({defaultModifiers:[n,i,s,p]}),fe=[n,i,s,p,f,ae,se,ce,ue],me=t({defaultModifiers:fe});e.applyStyles=p,e.arrow=ce,e.computeStyles=s,e.createPopper=me,e.createPopperLite=de,e.defaultModifiers=fe,e.detectOverflow=N,e.eventListeners=n,e.flip=ae,e.hide=ue,e.offset=f,e.popperGenerator=t,e.popperOffsets=i,e.preventOverflow=se,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],t):(e=e||self).tippy=t(e.Popper)}(this,function(ee){"use strict";var e="undefined"!=typeof window&&"undefined"!=typeof document,ke=!!e&&!!window.msCrypto,te={passive:!0,capture:!0},ne=function(){return document.body};function ie(e,t,n){var i;return Array.isArray(e)?null==(i=e[t])?Array.isArray(n)?n[t]:n:i:e}function r(e,t){e={}.toString.call(e);return 0===e.indexOf("[object")&&-1<e.indexOf(t+"]")}function re(e,t){return"function"==typeof e?e.apply(void 0,t):e}function oe(t,n){return 0===n?t:function(e){clearTimeout(i),i=setTimeout(function(){t(e)},n)};var i}function y(e,t){var n=Object.assign({},e);return t.forEach(function(e){delete n[e]}),n}function ae(e){return[].concat(e)}function se(e,t){-1===e.indexOf(t)&&e.push(t)}function ce(e){return e.split("-")[0]}function pe(e){return[].slice.call(e)}function le(n){return Object.keys(n).reduce(function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e},{})}function ue(){return document.createElement("div")}function o(t){return["Element","Fragment"].some(function(e){return r(t,e)})}function de(e){return r(e,"MouseEvent")}function a(e){return e&&e._tippy&&e._tippy.reference===e}function fe(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function me(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function ve(e){var t,e=ae(e)[0];return null!=e&&null!=(t=e.ownerDocument)&&t.body?e.ownerDocument:document}function he(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(e){t[i](e,n)})}function ye(e,t){for(var n,i=t;i;){if(e.contains(i))return!0;i=null==i.getRootNode||null==(n=i.getRootNode())?void 0:n.host}return!1}var be={isTouch:!1},t=0;function c(){be.isTouch||(be.isTouch=!0,window.performance&&document.addEventListener("mousemove",n))}function n(){var e=performance.now();e-t<20&&(be.isTouch=!1,document.removeEventListener("mousemove",n)),t=e}function p(){var e,t=document.activeElement;a(t)&&(e=t._tippy,t.blur&&!e.state.isVisible&&t.blur())}var ge=Object.assign({appendTo:ne,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),l=Object.keys(ge);function we(i){var e=(i.plugins||[]).reduce(function(e,t){var n=t.name,t=t.defaultValue;return n&&(e[n]=void 0!==i[n]?i[n]:null!=(n=ge[n])?n:t),e},{});return Object.assign({},i,e)}function Ae(e,t){var r,e=Object.assign({},t,{content:re(t.content,[e])},t.ignoreAttributes?{}:(r=e,((e=t.plugins)?Object.keys(we(Object.assign({},ge,{plugins:e}))):l).reduce(function(t,n){var i=(r.getAttribute("data-tippy-"+n)||"").trim();if(!i)return t;if("content"===n)t[n]=i;else try{t[n]=JSON.parse(i)}catch(e){t[n]=i}return t},{})));return e.aria=Object.assign({},ge.aria,e.aria),e.aria={expanded:"auto"===e.aria.expanded?t.interactive:e.aria.expanded,content:"auto"===e.aria.content?t.interactive?null:"describedby":e.aria.content},e}function i(e,t){e.innerHTML=t}function u(e){var t=ue();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",o(e)?t.appendChild(e):i(t,e)),t}function d(e,t){o(t.content)?(i(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?i(e,t.content):e.textContent=t.content)}function xe(e){var e=e.firstElementChild,t=pe(e.children);return{box:e,content:t.find(function(e){return e.classList.contains("tippy-content")}),arrow:t.find(function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")}),backdrop:t.find(function(e){return e.classList.contains("tippy-backdrop")})}}function f(o){var a=ue(),e=ue(),t=(e.className="tippy-box",e.setAttribute("data-state","hidden"),e.setAttribute("tabindex","-1"),ue());function n(e,t){var n=xe(a),i=n.box,r=n.content,n=n.arrow;t.theme?i.setAttribute("data-theme",t.theme):i.removeAttribute("data-theme"),"string"==typeof t.animation?i.setAttribute("data-animation",t.animation):i.removeAttribute("data-animation"),t.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof t.maxWidth?t.maxWidth+"px":t.maxWidth,t.role?i.setAttribute("role",t.role):i.removeAttribute("role"),e.content===t.content&&e.allowHTML===t.allowHTML||d(r,o.props),t.arrow?n?e.arrow!==t.arrow&&(i.removeChild(n),i.appendChild(u(t.arrow))):i.appendChild(u(t.arrow)):n&&i.removeChild(n)}return t.className="tippy-content",t.setAttribute("data-state","hidden"),d(t,o.props),a.appendChild(e),e.appendChild(t),n(o.props,o.props),{popper:a,onUpdate:n}}f.$$tippy=!0;var Te=1,_e=[],Oe=[];function h(a,e){var i,t,n,r,o,s,c,p,l=Ae(a,Object.assign({},ge,we(le(e)))),u=!1,d=!1,f=!1,m=!1,v=[],h=oe(X,l.interactiveDebounce),e=Te++,y=(p=l.plugins).filter(function(e,t){return p.indexOf(e)===t}),b={id:e,reference:a,popper:ue(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(i),clearTimeout(t),cancelAnimationFrame(n)},setProps:function(e){var t,n;b.state.isDestroyed||(M("onBeforeUpdate",[b,e]),U(),t=b.props,n=Ae(a,Object.assign({},t,le(e),{ignoreAttributes:!0})),b.props=n,N(),t.interactiveDebounce!==n.interactiveDebounce&&(j(),h=oe(X,n.interactiveDebounce)),t.triggerTarget&&!n.triggerTarget?ae(t.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):n.triggerTarget&&a.removeAttribute("aria-expanded"),P(),E(),w&&w(t,n),b.popperInstance&&(G(),D().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),M("onAfterUpdate",[b,e]))},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,i=be.isTouch&&!b.props.touch,r=ie(b.props.duration,0,ge.duration);e||t||n||i||k().hasAttribute("disabled")||(M("onShow",[b],!1),!1!==b.props.onShow(b)&&(b.state.isVisible=!0,O()&&(g.style.visibility="visible"),E(),V(),b.state.isMounted||(g.style.transition="none"),O()&&fe([(e=T()).box,e.content],0),s=function(){var e,t;b.state.isVisible&&!m&&(m=!0,g.offsetHeight,g.style.transition=b.props.moveTransition,O()&&b.props.animation&&(fe([e=(t=T()).box,t=t.content],r),me([e,t],"visible")),F(),P(),se(Oe,b),null!=(e=b.popperInstance)&&e.forceUpdate(),M("onMount",[b]),b.props.animation&&O()&&W(r,function(){b.state.isShown=!0,M("onShown",[b])}))},t=b.props.appendTo,n=k(),(t=b.props.interactive&&t===ne||"parent"===t?n.parentNode:re(t,[n])).contains(g)||t.appendChild(g),b.state.isMounted=!0,G()))},hide:function(){var e,t=!b.state.isVisible,n=b.state.isDestroyed,i=!b.state.isEnabled,r=ie(b.props.duration,1,ge.duration);t||n||i||(M("onHide",[b],!1),!1!==b.props.onHide(b)&&(b.state.isVisible=!1,b.state.isShown=!1,u=m=!1,O()&&(g.style.visibility="hidden"),j(),S(),E(!0),O()&&(n=(t=T()).box,i=t.content,b.props.animation&&(fe([n,i],r),me([n,i],"hidden"))),F(),P(),b.props.animation?O()&&(e=b.unmount,W(r,function(){!b.state.isVisible&&g.parentNode&&g.parentNode.contains(g)&&e()})):b.unmount()))},hideWithInteractivity:function(e){A().addEventListener("mousemove",h),se(_e,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(K(),D().forEach(function(e){e._tippy.unmount()}),g.parentNode&&g.parentNode.removeChild(g),Oe=Oe.filter(function(e){return e!==b}),b.state.isMounted=!1,M("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),U(),delete a._tippy,b.state.isDestroyed=!0,M("onDestroy",[b]))}};if(!l.render)return b;var e=l.render(b),g=e.popper,w=e.onUpdate,q=(g.setAttribute("data-tippy-root",""),g.id="tippy-"+b.id,b.popper=g,a._tippy=b,g._tippy=b,y.map(function(e){return e.fn(b)})),z=a.hasAttribute("aria-expanded");return N(),P(),E(),M("onCreate",[b]),l.showOnCreate&&Z(),g.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),g.addEventListener("mouseleave",function(){b.props.interactive&&0<=b.props.trigger.indexOf("mouseenter")&&A().addEventListener("mousemove",h)}),b;function x(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function _(){return"hold"===x()[0]}function O(){var e;return null!=(e=b.props.render)&&e.$$tippy}function k(){return c||a}function A(){var e=k().parentNode;return e?ve(e):document}function T(){return xe(g)}function I(e){return b.state.isMounted&&!b.state.isVisible||be.isTouch||r&&"focus"===r.type?0:ie(b.props.delay,e?0:1,ge.delay)}function E(e){void 0===e&&(e=!1),g.style.pointerEvents=b.props.interactive&&!e?"":"none",g.style.zIndex=""+b.props.zIndex}function M(t,n,e){void 0===e&&(e=!0),q.forEach(function(e){e[t]&&e[t].apply(e,n)}),e&&(e=b.props)[t].apply(e,n)}function F(){var n,i,e=b.props.aria;e.content&&(n="aria-"+e.content,i=g.id,ae(b.props.triggerTarget||a).forEach(function(e){var t=e.getAttribute(n);b.state.isVisible?e.setAttribute(n,t?t+" "+i:i):(t=t&&t.replace(i,"").trim())?e.setAttribute(n,t):e.removeAttribute(n)}))}function P(){!z&&b.props.aria.expanded&&ae(b.props.triggerTarget||a).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===k()?"true":"false"):e.removeAttribute("aria-expanded")})}function j(){A().removeEventListener("mousemove",h),_e=_e.filter(function(e){return e!==h})}function C(e){if(!be.isTouch||!f&&"mousedown"!==e.type){var t=e.composedPath&&e.composedPath()[0]||e.target;if(!b.props.interactive||!ye(g,t)){if(ae(b.props.triggerTarget||a).some(function(e){return ye(e,t)})){if(be.isTouch)return;if(b.state.isVisible&&0<=b.props.trigger.indexOf("click"))return}else M("onClickOutside",[b,e]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),d=!0,setTimeout(function(){d=!1}),b.state.isMounted||S())}}}function H(){f=!0}function B(){f=!1}function V(){var e=A();e.addEventListener("mousedown",C,!0),e.addEventListener("touchend",C,te),e.addEventListener("touchstart",B,te),e.addEventListener("touchmove",H,te)}function S(){var e=A();e.removeEventListener("mousedown",C,!0),e.removeEventListener("touchend",C,te),e.removeEventListener("touchstart",B,te),e.removeEventListener("touchmove",H,te)}function W(e,t){var n=T().box;function i(e){e.target===n&&(he(n,"remove",i),t())}if(0===e)return t();he(n,"remove",o),he(n,"add",i),o=i}function L(t,n,i){void 0===i&&(i=!1),ae(b.props.triggerTarget||a).forEach(function(e){e.addEventListener(t,n,i),v.push({node:e,eventType:t,handler:n,options:i})})}function N(){_()&&(L("touchstart",J,{passive:!0}),L("touchend",Y,{passive:!0})),b.props.trigger.split(/\s+/).filter(Boolean).forEach(function(e){if("manual"!==e)switch(L(e,J),e){case"mouseenter":L("mouseleave",Y);break;case"focus":L(ke?"focusout":"blur",$);break;case"focusin":L("focusout",$)}})}function U(){v.forEach(function(e){var t=e.node,n=e.eventType,i=e.handler,e=e.options;t.removeEventListener(n,i,e)}),v=[]}function J(t){var e,n=!1;!b.state.isEnabled||Q(t)||d||(e="focus"===(null==r?void 0:r.type),c=(r=t).currentTarget,P(),!b.state.isVisible&&de(t)&&_e.forEach(function(e){return e(t)}),"click"===t.type&&(b.props.trigger.indexOf("mouseenter")<0||u)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:Z(t),"click"===t.type&&(u=!n),n&&!e&&R(t))}function X(e){var s,c,t=e.target,t=k().contains(t)||g.contains(t);"mousemove"===e.type&&t||(t=D().concat(g).map(function(e){var t=null==(t=e._tippy.popperInstance)?void 0:t.state;return t?{popperRect:e.getBoundingClientRect(),popperState:t,props:l}:null}).filter(Boolean),s=e.clientX,c=e.clientY,t.every(function(e){var t=e.popperRect,n=e.popperState,e=e.props.interactiveBorder,i=ce(n.placement),n=n.modifiersData.offset;if(!n)return!0;var r="bottom"===i?n.top.y:0,o="top"===i?n.bottom.y:0,a="right"===i?n.left.x:0,i="left"===i?n.right.x:0,n=t.top-c+r>e,r=c-t.bottom-o>e,o=t.left-s+a>e,a=s-t.right-i>e;return n||r||o||a})&&(j(),R(e)))}function Y(e){Q(e)||0<=b.props.trigger.indexOf("click")&&u||(b.props.interactive?b.hideWithInteractivity(e):R(e))}function $(e){b.props.trigger.indexOf("focusin")<0&&e.target!==k()||b.props.interactive&&e.relatedTarget&&g.contains(e.relatedTarget)||R(e)}function Q(e){return be.isTouch&&_()!==0<=e.type.indexOf("touch")}function G(){K();var e=b.props,t=e.popperOptions,n=e.placement,i=e.offset,r=e.getReferenceClientRect,e=e.moveTransition,o=O()?xe(g).arrow:null,r=r?{getBoundingClientRect:r,contextElement:r.contextElement||k()}:a,i=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!e}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state;O()&&(t=T().box,["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?t.setAttribute("data-placement",n.placement):n.attributes.popper["data-popper-"+e]?t.setAttribute("data-"+e,""):t.removeAttribute("data-"+e)}),n.attributes.popper={})}}];O()&&o&&i.push({name:"arrow",options:{element:o,padding:3}}),i.push.apply(i,(null==t?void 0:t.modifiers)||[]),b.popperInstance=ee.createPopper(r,g,Object.assign({},t,{placement:n,onFirstUpdate:s,modifiers:i}))}function K(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function D(){return pe(g.querySelectorAll("[data-tippy-root]"))}function Z(e){b.clearDelayTimeouts(),e&&M("onTrigger",[b,e]),V();var e=I(!0),t=x(),n=t[0],t=t[1];(e=be.isTouch&&"hold"===n&&t?t:e)?i=setTimeout(function(){b.show()},e):b.show()}function R(e){b.clearDelayTimeouts(),M("onUntrigger",[b,e]),b.state.isVisible?0<=b.props.trigger.indexOf("mouseenter")&&0<=b.props.trigger.indexOf("click")&&0<=["mouseleave","mousemove"].indexOf(e.type)&&u||((e=I(!1))?t=setTimeout(function(){b.state.isVisible&&b.hide()},e):n=requestAnimationFrame(function(){b.hide()})):S()}}function b(e,t){var n=ge.plugins.concat((t=void 0===t?{}:t).plugins||[]),i=(document.addEventListener("touchstart",c,te),window.addEventListener("blur",p),Object.assign({},t,{plugins:n})),n=(o(t=e)?[t]:r(t,"NodeList")?pe(t):Array.isArray(t)?t:pe(document.querySelectorAll(t))).reduce(function(e,t){t=t&&h(t,i);return t&&e.push(t),e},[]);return o(e)?n[0]:n}b.defaultProps=ge,b.setDefaultProps=function(t){Object.keys(t).forEach(function(e){ge[e]=t[e]})},b.currentInput=be;var g=Object.assign({},ee.applyStyles,{effect:function(e){var e=e.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow)}}),w={mouseover:"mouseenter",focusin:"focus",click:"click"},x={name:"animateFill",defaultValue:!1,fn:function(e){if(null==(t=e.props.render)||!t.$$tippy)return{};var t=xe(e.popper),n=t.box,i=t.content,r=e.props.animateFill?((t=ue()).className="tippy-backdrop",me([t],"hidden"),t):null;return{onCreate:function(){r&&(n.insertBefore(r,n.firstElementChild),n.setAttribute("data-animatefill",""),n.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){var e,t;r&&(e=n.style.transitionDuration,t=Number(e.replace("ms","")),i.style.transitionDelay=Math.round(t/10)+"ms",r.style.transitionDuration=e,me([r],"visible"))},onShow:function(){r&&(r.style.transitionDuration="0ms")},onHide:function(){r&&me([r],"hidden")}}}},m={clientX:0,clientY:0},v=[];function _(e){var t=e.clientX,e=e.clientY;m={clientX:t,clientY:e}}var s,O,k={name:"followCursor",defaultValue:!1,fn:function(n){var l=n.reference,t=ve(n.props.triggerTarget||l),i=!1,r=!1,e=!0,o=n.props;function a(){return"initial"===n.props.followCursor&&n.state.isVisible}function s(){t.addEventListener("mousemove",u)}function c(){t.removeEventListener("mousemove",u)}function p(){i=!0,n.setProps({getReferenceClientRect:null}),i=!1}function u(e){var t=!e.target||l.contains(e.target),o=n.props.followCursor,a=e.clientX,s=e.clientY,e=l.getBoundingClientRect(),c=a-e.left,p=s-e.top;!t&&n.props.interactive||n.setProps({getReferenceClientRect:function(){var e=l.getBoundingClientRect(),t=a,n=s,i=("initial"===o&&(t=e.left+c,n=e.top+p),"horizontal"===o?e.top:n),r="vertical"===o?e.right:t,n="horizontal"===o?e.bottom:n,e="vertical"===o?e.left:t;return{width:r-e,height:n-i,top:i,right:r,bottom:n,left:e}}})}function d(){n.props.followCursor&&(v.push({instance:n,doc:t}),t.addEventListener("mousemove",_))}function f(){0===(v=v.filter(function(e){return e.instance!==n})).filter(function(e){return e.doc===t}).length&&t.removeEventListener("mousemove",_)}return{onCreate:d,onDestroy:f,onBeforeUpdate:function(){o=n.props},onAfterUpdate:function(e,t){t=t.followCursor;i||void 0!==t&&o.followCursor!==t&&(f(),t?(d(),!n.state.isMounted||r||a()||s()):(c(),p()))},onMount:function(){n.props.followCursor&&!r&&(e&&(u(m),e=!1),a()||s())},onTrigger:function(e,t){de(t)&&(m={clientX:t.clientX,clientY:t.clientY}),r="focus"===t.type},onHidden:function(){n.props.followCursor&&(p(),c(),e=!0)}}}},A={name:"inlinePositioning",defaultValue:!1,fn:function(r){var t,f=r.reference,m=-1,n=!1,i=[],o={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(e){var d=e.state;r.props.inlinePositioning&&(-1!==i.indexOf(d.placement)&&(i=[]),t!==d.placement&&-1===i.indexOf(d.placement)&&(i.push(d.placement),r.setProps({getReferenceClientRect:function(){var t=ce(d.placement),e=f.getBoundingClientRect(),n=pe(f.getClientRects()),i=m;if(n.length<2||null===t)return e;if(2===n.length&&0<=i&&n[0].left>n[1].right)return n[i]||e;switch(t){case"top":case"bottom":var r=n[0],o=n[n.length-1],a="top"===t,s=r.top,c=o.bottom,p=(a?r:o).left,a=(a?r:o).right;return{top:s,bottom:c,left:p,right:a,width:a-p,height:c-s};case"left":case"right":var l=Math.min.apply(Math,n.map(function(e){return e.left})),u=Math.max.apply(Math,n.map(function(e){return e.right})),r=n.filter(function(e){return"left"===t?e.left===l:e.right===u}),o=r[0].top,a=r[r.length-1].bottom;return{top:o,bottom:a,left:l,right:u,width:u-l,height:a-o};default:return e}}})),t=d.placement)}};function e(){var e,t;n||(e=r.props,t=o,e={popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(e=e.popperOptions)?void 0:e.modifiers)||[]).filter(function(e){return e.name!==t.name}),[t])})},n=!0,r.setProps(e),n=!1)}return{onCreate:e,onAfterUpdate:e,onTrigger:function(e,t){var n,i;de(t)&&(n=(i=pe(r.reference.getClientRects())).find(function(e){return e.left-2<=t.clientX&&e.right+2>=t.clientX&&e.top-2<=t.clientY&&e.bottom+2>=t.clientY}),i=i.indexOf(n),m=-1<i?i:m)},onHidden:function(){m=-1}}}},T={name:"sticky",defaultValue:!1,fn:function(n){var i=n.reference,r=n.popper;function o(e){return!0===n.props.sticky||n.props.sticky===e}var a=null,s=null;function c(){var e=o("reference")?(n.popperInstance?n.popperInstance.state.elements.reference:i).getBoundingClientRect():null,t=o("popper")?r.getBoundingClientRect():null;(e&&E(a,e)||t&&E(s,t))&&n.popperInstance&&n.popperInstance.update(),a=e,s=t,n.state.isMounted&&requestAnimationFrame(c)}return{onMount:function(){n.props.sticky&&c()}}}};function E(e,t){return!e||!t||e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left}return e&&((e=document.createElement("style")).textContent='.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}',e.setAttribute("data-tippy-stylesheet",""),s=document.head,(O=document.querySelector("head>style,head>link"))?s.insertBefore(e,O):s.appendChild(e)),b.setDefaultProps({plugins:[x,k,A,T],render:f}),b.createSingleton=function(e,t){var r,o=e,i=[],a=[],s=(t=void 0===t?{}:t).overrides,n=[],c=!1;function p(){a=o.map(function(e){return ae(e.props.triggerTarget||e.reference)}).reduce(function(e,t){return e.concat(t)},[])}function l(){i=o.map(function(e){return e.reference})}function u(t){o.forEach(function(e){t?e.enable():e.disable()})}function d(i){return o.map(function(t){var n=t.setProps;return t.setProps=function(e){n(e),t.reference===r&&i.setProps(e)},function(){t.setProps=n}})}function f(e,t){var n=a.indexOf(t);t!==r&&(r=t,t=(s||[]).concat("content").reduce(function(e,t){return e[t]=o[n].props[t],e},{}),e.setProps(Object.assign({},t,{getReferenceClientRect:"function"==typeof t.getReferenceClientRect?t.getReferenceClientRect:function(){var e;return null==(e=i[n])?void 0:e.getBoundingClientRect()}})))}u(!1),l(),p();var e={fn:function(){return{onDestroy:function(){u(!0)},onHidden:function(){r=null},onClickOutside:function(e){e.props.showOnCreate&&!c&&(c=!0,r=null)},onShow:function(e){e.props.showOnCreate&&!c&&(c=!0,f(e,i[0]))},onTrigger:function(e,t){f(e,t.currentTarget)}}}},m=b(ue(),Object.assign({},y(t,["overrides"]),{plugins:[e].concat(t.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(e=t.popperOptions)?void 0:e.modifiers)||[],[g])})})),v=m.show,h=(m.show=function(e){return v(),r||null!=e?r&&null==e?void 0:"number"==typeof e?i[e]&&f(m,i[e]):0<=o.indexOf(e)?(t=e.reference,f(m,t)):0<=i.indexOf(e)?f(m,e):void 0:f(m,i[0]);var t},m.showNext=function(){var e=i[0];if(!r)return m.show(0);var t=i.indexOf(r);m.show(i[t+1]||e)},m.showPrevious=function(){var e=i[i.length-1];if(!r)return m.show(e);var t=i.indexOf(r),t=i[t-1]||e;m.show(t)},m.setProps);return m.setProps=function(e){s=e.overrides||s,h(e)},m.setInstances=function(e){u(!0),n.forEach(function(e){return e()}),o=e,u(!1),l(),p(),n=d(m),m.setProps({triggerTarget:a})},n=d(m),m},b.delegate=function(e,i){var r=[],o=[],a=!1,s=i.target,t=y(i,["target"]),n=Object.assign({},t,{trigger:"manual",touch:!1}),c=Object.assign({touch:ge.touch},t,{showOnCreate:!0}),t=b(e,n);function p(e){var t,n;e.target&&!a&&(t=e.target.closest(s))&&(n=t.getAttribute("data-tippy-trigger")||i.trigger||ge.trigger,t._tippy||"touchstart"===e.type&&"boolean"==typeof c.touch||"touchstart"!==e.type&&n.indexOf(w[e.type])<0||(n=b(t,c))&&(o=o.concat(n)))}function l(e,t,n,i){e.addEventListener(t,n,i=void 0===i?!1:i),r.push({node:e,eventType:t,handler:n,options:i})}return ae(t).forEach(function(e){var t=e.destroy,n=e.enable,i=e.disable;e.destroy=function(e){(e=void 0===e?!0:e)&&o.forEach(function(e){e.destroy()}),o=[],r.forEach(function(e){var t=e.node,n=e.eventType,i=e.handler,e=e.options;t.removeEventListener(n,i,e)}),r=[],t()},e.enable=function(){n(),o.forEach(function(e){return e.enable()}),a=!1},e.disable=function(){i(),o.forEach(function(e){return e.disable()}),a=!0},l(e=e.reference,"touchstart",p,te),l(e,"mouseover",p),l(e,"focusin",p),l(e,"click",p)}),t},b.hideAll=function(e){var e=void 0===e?{}:e,n=e.exclude,i=e.duration;Oe.forEach(function(e){var t=!1;(t=n?a(n)?e.reference===n:e.popper===n.popper:t)||(t=e.props.duration,e.setProps({duration:i}),e.hide(),e.state.isDestroyed||e.setProps({duration:t}))})},b.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',b}),jQuery(document).ready(function(f){function m(e){let t=f("<div></div>").append(e);return t.find("*").each(function(){f(this).removeAttr("onerror")}),t.html()}f("[data-tippy-content]").each(function(){var e,t=this.querySelector(".elementor-button"),n=this.querySelectorAll(".elementor-icon"),i=this.querySelectorAll(".elementor-heading-title"),r=this.querySelectorAll(".elementor-image > img"),o=this.querySelectorAll(".elementor-video-iframe"),a=this.querySelectorAll(".elementor-text-editor"),s=JSON.parse(this.getAttribute("data-pafe-tippy-options")),c=f(this).attr("data-tippy-content");s.content=m(c),screen.width<768&&s.placement&&delete s.placement,f(this).hasClass("elementor-section")?(e=this.querySelector(".elementor-container"),s.appendTo=e,tippy(this,s)):f(this).hasClass("elementor-column")?(s.appendTo=e=this,tippy(this,s)):null!==t&&void 0!==t[0]?(s.appendTo="parent",tippy(t,s)):null!==i&&void 0!==i[0]?(c=f(this).find(".elementor-heading-title").html(),f(this).find(".elementor-heading-title").html("<span>"+c+"</span>"),t=this.querySelectorAll(".elementor-heading-title > span"),s.appendTo="parent",tippy(t,s)):null!==n&&void 0!==n[0]?(s.appendTo="parent",tippy(n,s)):null!==r&&void 0!==r[0]?(s.appendTo="parent",tippy(r,s)):null!==o&&void 0!==o[0]?(s.appendTo="parent",tippy(o,s)):null!==a&&void 0!==a[0]?(s.appendTo="parent",tippy(a,s)):(s.appendTo=e=this,tippy(this,s))}),jQuery(document).on("elementor/popup/show",function(){jQuery("[data-tippy-content]").each(function(){var e,t=this.querySelector(".elementor-button"),n=this.querySelectorAll(".elementor-icon"),i=this.querySelectorAll(".elementor-heading-title"),r=this.querySelectorAll(".elementor-image > img"),o=this.querySelectorAll(".elementor-video-iframe"),a=this.querySelectorAll(".elementor-text-editor"),s=f(this).closest("[data-elementor-type]").attr("data-elementor-type"),c=JSON.parse(this.getAttribute("data-pafe-tippy-options")),p=c.animation,l=c.duration,u=c.distance,c=c.placement,d=m(f(this).attr("data-tippy-content"));"popup"==s&&(f(this).hasClass("elementor-section")?(e=this.querySelector(".elementor-container"),tippy(this,{content:d,animation:p,duration:l,offset:[0,u],allowHTML:!0,placement:c,arrow:!0,appendTo:e})):f(this).hasClass("elementor-column")?(e=this.querySelector(".elementor-column-wrap"),tippy(this,{content:d,animation:p,duration:l,offset:[0,u],allowHTML:!0,placement:c,arrow:!0,appendTo:e})):null!==t&&void 0!==t[0]?tippy(t,{content:d,animation:p,duration:l,offset:[0,u],allowHTML:!0,placement:c,arrow:!0,appendTo:"parent"}):null!==i&&void 0!==i[0]?(s=f(this).find(".elementor-heading-title").html(),f(this).find(".elementor-heading-title").html("<span>"+s+"</span>"),t=this.querySelectorAll(".elementor-heading-title > span"),tippy(t,{content:d,animation:p,duration:l,placement:c,offset:[0,u],allowHTML:!0,arrow:!0,appendTo:"parent"})):null!==n&&void 0!==n[0]?tippy(n,{content:d,animation:p,offset:[0,u],allowHTML:!0,placement:c,duration:l,arrow:!0,appendTo:"parent"}):null!==r&&void 0!==r[0]?tippy(r,{content:d,animation:p,duration:l,placement:c,offset:[0,u],allowHTML:!0,appendTo:"parent",arrow:!0}):null!==o&&void 0!==o[0]?tippy(o,{content:d,animation:p,placement:c,offset:[0,u],allowHTML:!0,appendTo:"parent",duration:l,arrow:!0}):null!==a&&void 0!==a[0]?tippy(a,{content:d,animation:p,placement:c,offset:[0,u],allowHTML:!0,appendTo:"parent",duration:l,arrow:!0}):(e=this.querySelector(".elementor-widget-container"),tippy(this,{content:d,animation:p,offset:[0,u],allowHTML:!0,placement:c,duration:l,appendTo:e,arrow:!0})))})})});
// source --> https://muscatcollege.edu.om/wp-content/plugins/addon-elements-for-elementor-page-builder/assets/js/iconHelper.js?ver=1.0 
window.eae = {};
window.renderIconHtml = function(view,elementor,sett,control_name, wClass = '', index=''){
    // console.log("View => ", view);
    // data.addRenderAttribute('key', 'context', 'value');
    // console.log(data.getRenderAttributeString('key'));

    var icon_class = '';
    let imageHtml = '';
    let lottie_data = [];
    let iconHtml = '';
    if(sett[control_name+'_graphic_type'] != 'none' && sett[control_name+'_graphic_type'] != ''){
        icon_class += ' eae-gbl-icon eae-graphic-type-'+ sett[control_name+'_graphic_type'] + ' elementor-animation-' + sett[control_name+'_hover_animation'];
        if(wClass != ''){
            icon_class += ' '+wClass;     
        }

        icon_class += ' eae-graphic-view-'+sett[control_name+'_view']; 
        if(sett[control_name+'_view'] != 'default'){
            icon_class += ' eae-graphic-shape-'+sett[control_name+'_shape'];
        }

        if(sett[control_name+'_graphic_type'] == 'lottie'){
            if( (sett[control_name+'_lottie_animation_url'] != '' ) ||  (sett[control_name+'_source_json']['url'] != '') ) {
                icon_class += ' eae-lottie-animation eae-lottie';
                lottie_data = {
                    'loop' : ( sett[control_name+'_lottie_animation_loop'] === 'yes' ) ? true : false,
                    'reverse' : ( sett[control_name+'_lottie_animation_reverse'] === 'yes' ) ? true : false,
                } 
                if(sett[control_name+'_source'] == 'media_file' && (sett[control_name+'_source_json']['url'] != '')){
                    lottie_data.url = sett[control_name+'_source_json']['url'];
                }else{
                    lottie_data.url = sett[control_name+'_lottie_animation_url'];
                }
                view.addRenderAttribute('panel-icon-'+ index, 'data-lottie-settings', JSON.stringify(lottie_data));
            }         
        }
        view.addRenderAttribute('panel-icon-'+ index, 'class', icon_class);
        if(sett[control_name+'_graphic_type'] == 'lottie' ){
            if(lottie_data.url != undefined){
                iconHtml = `<span ${view.getRenderAttributeString( 'panel-icon-'+ index )}></span>`;    
            }
        }else{
            if(sett[control_name+'_graphic_type'] === 'icon'){
                if(sett[control_name+'_graphic_icon']['value'] != ''){
                    var icon = elementor.helpers.renderIcon( view, sett[control_name+'_graphic_icon'], { 'aria-hidden': true }, 'i' , 'object' );
                    imageHtml = icon.value;
                    iconHtml = `<span ${ view.getRenderAttributeString( 'panel-icon-'+ index ) }>
                                ${imageHtml}
                                </span>`;
                }            
            }else{
                if(sett[control_name+'_graphic_image']['url'] != ''){
                    var image = {
                        id: sett[control_name+'_graphic_image']['id'],
                        url: sett[control_name+'_graphic_image']['url'],
                        size: sett[control_name+'_graphic_image_size'],
                        dimension: sett[control_name+'_graphic_image_custom_dimension'],
                        model: view.getEditModel()
                    };
                    var image_url = elementor.imagesManager.getImageUrl( image );
                    imageHtml = '<img src="' + image_url + '" />';
                    
                    iconHtml = `<span ${ view.getRenderAttributeString( 'panel-icon-'+ index ) }>
                                    ${imageHtml}
                                </span>`;
                }
            }
        }       
    }
    return iconHtml;
}

window.eae.validateHTMLTag = function( $tag, $collection = null, $fallback = null){
   if($collection == null){
        $collection = ['h1','h2','h3','h4','h5','h6','p','span','div'];
   }
   if($fallback == null){
    $fallback = 'h3';
   }    
   if($collection.includes($tag)){
        return $tag;
   }else{
        return $fallback;
   }
};
// source --> https://muscatcollege.edu.om/wp-content/plugins/piotnet-addons-for-elementor/assets/js/minify/widget.min.js?ver=2.4.36 
!function(t){"function"==typeof define&&define.amd?define([],t):"undefined"!=typeof module&&null!==module&&module.exports?module.exports=t:t()}(function(){var i=Object.assign||window.jQuery&&jQuery.extend,c=8,r=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t,e){return window.setTimeout(function(){t()},25)};function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}"function"!=typeof window.CustomEvent&&(t.prototype=window.Event.prototype,window.CustomEvent=t);var o,n={textarea:!0,input:!0,select:!0,button:!0},a={move:"mousemove",cancel:"mouseup dragstart",end:"mouseup"},s={move:"touchmove",cancel:"touchend",end:"touchend"},u=/\s+/,l={bubbles:!0,cancelable:!0},e="function"==typeof Symbol?Symbol("events"):{};function f(t){return t[e]||(t[e]={})}function h(t,e,n,i){e=e.split(u);var o,r=f(t),a=e.length;function s(t){n(t,i)}for(;a--;)(r[o=e[a]]||(r[o]=[])).push([n,s]),t.addEventListener(o,s)}function p(t,e,n){e=e.split(u);var i,o,r,a=f(t),s=e.length;if(a)for(;s--;)if(o=a[i=e[s]])for(r=o.length;r--;)o[r][0]===n&&(t.removeEventListener(i,o[r][1]),o.splice(r,1))}function d(t,e,n){e=new CustomEvent(e,l);n&&i(e,n),t.dispatchEvent(e)}function m(t){var n=t,i=!1,o=!1;function e(t){i?(n(),r(e),i=!(o=!0)):o=!1}this.kick=function(t){i=!0,o||e()},this.end=function(t){var e=n;t&&(o?(n=i?function(){e(),t()}:t,i=!0):t())}}function v(){}function y(t){t.preventDefault()}function g(t,e){var n,i;if(t.identifiedTouch)return t.identifiedTouch(e);for(n=-1,i=t.length;++n<i;)if(t[n].identifier===e)return t[n]}function w(t,e){t=g(t.changedTouches,e.identifier);if(t&&(t.pageX!==e.pageX||t.pageY!==e.pageY))return t}function _(t,e){x(t,e,t,k)}function b(t,e){k()}function k(){p(document,a.move,_),p(document,a.cancel,b)}function S(t){p(document,s.move,t.touchmove),p(document,s.cancel,t.touchend)}function x(t,e,n,i){var o,r,a,s=n.pageX-e.pageX,u=n.pageY-e.pageY;s*s+u*u<c*c||(e=e,r=n,i=i,t=(o=t).targetTouches,a=o.timeStamp-e.timeStamp,r={altKey:o.altKey,ctrlKey:o.ctrlKey,shiftKey:o.shiftKey,startX:e.pageX,startY:e.pageY,distX:s,distY:u,deltaX:s,deltaY:u,pageX:n.pageX,pageY:n.pageY,velocityX:s/a,velocityY:u/a,identifier:e.identifier,targetTouches:t,finger:t?t.length:1,enableMove:function(){this.moveEnabled=!0,this.enableMove=v,o.preventDefault()}},d(e.target,"movestart",r),i(e))}function T(t,e){var n=e.timer;e.touch=t,e.timeStamp=t.timeStamp,n.kick()}function C(t,e){var n=e.target,i=e.event,e=e.timer;p(document,a.move,T),p(document,a.end,C),j(n,i,e,function(){setTimeout(function(){p(n,"click",y)},0)})}function O(t,e){var n=e.target,i=e.event,o=e.timer;g(t.changedTouches,i.identifier)&&(t=e,p(document,s.move,t.activeTouchmove),p(document,s.end,t.activeTouchend),j(n,i,o))}function j(t,e,n,i){n.end(function(){return d(t,"moveend",e),i&&i()})}function A(t){t.enableMove()}function P(t){t.enableMove()}function E(t){t.enableMove()}function M(t){var i=t.handler;t.handler=function(t){for(var e,n=o.length;n--;)t[e=o[n]]=t.originalEvent[e];i.apply(this,arguments)}}h(document,"mousedown",function(t){var e;1!==(e=t).which||e.ctrlKey||e.altKey||n[t.target.tagName.toLowerCase()]||(h(document,a.move,_,t),h(document,a.cancel,b,t))}),h(document,"touchstart",function(t){n[t.target.tagName.toLowerCase()]||(t={target:(t=t.changedTouches[0]).target,pageX:t.pageX,pageY:t.pageY,identifier:t.identifier,touchmove:function(t,e){var n;(n=w(t=t,e=e))&&x(t,e,n,S)},touchend:function(t,e){e=e,g(t.changedTouches,e.identifier)&&S(e)}},h(document,s.move,t.touchmove,t),h(document,s.cancel,t.touchend,t))}),h(document,"movestart",function(t){var e,n;t.defaultPrevented||t.moveEnabled&&(e={startX:t.startX,startY:t.startY,pageX:t.pageX,pageY:t.pageY,distX:t.distX,distY:t.distY,deltaX:t.deltaX,deltaY:t.deltaY,velocityX:t.velocityX,velocityY:t.velocityY,identifier:t.identifier,targetTouches:t.targetTouches,finger:t.finger},n={target:t.target,event:e,timer:new m(function(t){(function(t,e,n){n-=t.timeStamp,t.distX=e.pageX-t.startX,t.distY=e.pageY-t.startY,t.deltaX=e.pageX-t.pageX,t.deltaY=e.pageY-t.pageY,t.velocityX=.3*t.velocityX+.7*t.deltaX/n,t.velocityY=.3*t.velocityY+.7*t.deltaY/n,t.pageX=e.pageX,t.pageY=e.pageY})(e,n.touch,n.timeStamp),d(n.target,"move",e)}),touch:void 0,timeStamp:t.timeStamp},void 0===t.identifier?(h(t.target,"click",y),h(document,a.move,T,n),h(document,a.end,C,n)):(n.activeTouchmove=function(t,e){var n,i,o;t=t,n=(e=e).event,i=e.timer,(o=w(t,n))&&(t.preventDefault(),n.targetTouches=t.targetTouches,e.touch=o,e.timeStamp=t.timeStamp,i.kick())},n.activeTouchend=function(t,e){O(t,e)},h(document,s.move,n.activeTouchmove,n),h(document,s.end,n.activeTouchend,n)))}),window.jQuery&&(o="startX startY pageX pageY distX distY deltaX deltaY velocityX velocityY".split(" "),jQuery.event.special.movestart={setup:function(){return h(this,"movestart",A),!1},teardown:function(){return p(this,"movestart",A),!1},add:M},jQuery.event.special.move={setup:function(){return h(this,"movestart",P),!1},teardown:function(){return p(this,"movestart",P),!1},add:M},jQuery.event.special.moveend={setup:function(){return h(this,"movestart",E),!1},teardown:function(){return p(this,"movestart",E),!1},add:M})}),!function(k){k.fn.twentytwenty=function(b){b=k.extend({default_offset_pct:.5,orientation:"horizontal",before_label:"Before",after_label:"After",no_overlay:!1,move_slider_on_hover:!1,move_with_handle_only:!0,click_to_move:!1},b);return this.each(function(){function t(t){((t.distX>t.distY&&t.distX<-t.distY||t.distX<t.distY&&t.distX>-t.distY)&&"vertical"!==r||(t.distX<t.distY&&t.distX<-t.distY||t.distX>t.distY&&t.distX>-t.distY)&&"vertical"===r)&&t.preventDefault(),o.addClass("active"),v=o.offset().left,y=o.offset().top,g=u.width(),w=u.height()}function e(t){o.hasClass("active")&&(i=m(t.pageX,t.pageY),p(i))}function n(){o.removeClass("active")}var i=b.default_offset_pct,o=k(this),r=b.orientation,a="vertical"===r?"down":"left",s="vertical"===r?"up":"right",u=(o.wrap("<div class='twentytwenty-wrapper twentytwenty-"+r+"'></div>"),b.no_overlay||(o.append("<div class='twentytwenty-overlay'></div>"),(_=o.find(".twentytwenty-overlay")).append("<div class='twentytwenty-before-label' data-content='"+b.before_label+"'></div>"),_.append("<div class='twentytwenty-after-label' data-content='"+b.after_label+"'></div>")),o.find("img:first")),c=o.find("img:last"),l=(o.append("<div class='twentytwenty-handle'></div>"),o.find(".twentytwenty-handle")),f=(l.append("<span class='twentytwenty-"+a+"-arrow'></span>"),l.append("<span class='twentytwenty-"+s+"-arrow'></span>"),o.addClass("twentytwenty-container"),u.addClass("twentytwenty-before"),c.addClass("twentytwenty-after"),function(t){var e=u.width(),n=u.height();return{w:e+"px",h:n+"px",cw:t*e+"px",ch:t*n+"px"}}),h=function(t){"vertical"===r?(u.css("clip","rect(0,"+t.w+","+t.ch+",0)"),c.css("clip","rect("+t.ch+","+t.w+","+t.h+",0)")):(u.css("clip","rect(0,"+t.cw+","+t.h+",0)"),c.css("clip","rect(0,"+t.w+","+t.h+","+t.cw+")")),o.css("height",t.h)},p=function(t){t=f(t);l.css("vertical"===r?"top":"left","vertical"===r?t.ch:t.cw),h(t)},d=function(t,e,n){return Math.max(e,Math.min(n,t))},m=function(t,e){return d("vertical"===r?(e-y)/w:(t-v)/g,0,1)},v=(k(window).on("resize.twentytwenty",function(t){p(i)}),0),y=0,g=0,w=0,_=b.move_with_handle_only?l:o;_.on("movestart",t),_.on("move",e),_.on("moveend",n),b.move_slider_on_hover&&(o.on("mouseenter",t),o.on("mousemove",e),o.on("mouseleave",n)),l.on("touchmove",function(t){t.preventDefault()}),o.find("img").on("mousedown",function(t){t.preventDefault()}),b.click_to_move&&o.on("click",function(t){v=o.offset().left,y=o.offset().top,g=u.width(),w=u.height(),i=m(t.pageX,t.pageY),p(i)}),k(window).trigger("resize.twentytwenty")})}}(jQuery),!function(t){function e(t,a){(t=t.find("[data-pafe-before-after-image-comparison-slider]")).length&&a.each(t,function(t,e){var n="yes"!=(n=a(e).attr("data-pafe-before-after-image-overlay")),i="yes"==(i=a(e).attr("data-pafe-before-after-image-move-slider-on-hover")),o="yes"==(o=a(e).attr("data-pafe-before-after-image-move-with-handle-only")),r="yes"==(r=a(e).attr("data-pafe-before-after-image-click-to-move"));a(e).twentytwenty({default_offset_pct:a(e).attr("data-pafe-before-after-image-percent"),orientation:a(e).attr("data-pafe-before-after-image-orientation"),before_label:a(e).attr("data-pafe-before-after-image-before-label"),after_label:a(e).attr("data-pafe-before-after-image-after-label"),no_overlay:n,move_slider_on_hover:i,move_with_handle_only:o,click_to_move:r})})}t(window).on("load",function(){t("body").resize()}),t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-before-after-image-comparison-slider.default",e)})}(jQuery),jQuery(document).ready(function(t){}),jQuery(document).ready(function(t){t(document).on("click",".pafe-hotspot__marker-icon",function(){"click"==t(this).attr("data-pafe-hotspot-trigger")&&t(this).children(".pafe-hotspot__tooltip").toggleClass("active")}),t(".pafe-hotspot__marker-icon").hover(function(){"hover"==t(this).attr("data-pafe-hotspot-trigger")&&t(this).children(".pafe-hotspot__tooltip").toggleClass("active")})}),jQuery(document).ready(function(e){e("[data-pafe-image-accordion-list]").each(function(){var t=e(this).attr("data-pafe-image-accordion-option");$item=e(this).find("[data-pafe-image-accordion-item]"),"hover"==t?$item.hover(function(){e(this).closest("[data-pafe-image-accordion-list]").find("[data-pafe-image-accordion-item]").removeClass("active"),e(this).addClass("active")}):$item.click(function(){e(this).closest("[data-pafe-image-accordion-list]").find("[data-pafe-image-accordion-item]").removeClass("active"),e(this).addClass("active")})})}),!function(t){function e(t,e){($listItem=t.find("[data-pafe-image-accordion-list]")).each(function(){var t=e(this).attr("data-pafe-image-accordion-option");$item=e(this).find("[data-pafe-image-accordion-item]"),"hover"==t?$item.hover(function(){e(this).closest("[data-pafe-image-accordion-list]").find("[data-pafe-image-accordion-item]").removeClass("active"),e(this).addClass("active")}):$item.click(function(){e(this).closest("[data-pafe-image-accordion-list]").find("[data-pafe-image-accordion-item]").removeClass("active"),e(this).addClass("active")})})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-image-accordion.default",e)})}(jQuery),jQuery(document).ready(function(i){i(".elementor-image-carousel").each(function(){var t=i(this).find("a[data-elementor-lightbox-index]").attr("href");if(null!=t&&0<=t.indexOf(",")){linkImages=t.split(",");for(var e,n=0;n<=linkImages.length;n++)null!=linkImages[n]&&(e=linkImages[n].trim(),i(this).find('a[data-elementor-lightbox-index="'+n+'"]').attr("href",e))}})}),!function(t){function e(t,i){($items=t.find("[data-pafe-posts-list-filter-item]")).click(function(){var t=i(this).closest("[data-pafe-posts-list]"),e=t.find("[data-pafe-tab-content-post]"),t=JSON.parse(t.attr("data-pafe-posts-list-option")),n=i(this).attr("data-id"),t=(post_type=t.post_type,taxonomy=t.taxonomy,posts_per_page=t.post_per_pages,author=t.author,date=t.date,excerpt=t.excerpt,layout=t.layout_type,e.css("opacity","0.5"),{action:"pafe_posts_list",post_type:post_type,taxonomy:taxonomy,posts_per_page:posts_per_page,term_id:n,author:author,date:date,excerpt:excerpt,layout:layout});i(this).addClass("actives"),i("[data-pafe-posts-list-filter-item]").not(this).removeClass("actives"),i.post(i("[data-pafe-ajax-url]").data("pafe-ajax-url"),t,function(t){e.html(t),e.css("opacity","1")})})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-posts-list.default",e)})}(jQuery),!function(t){function e(t,i){($items=t.find("[data-pafe-product-tabs-filter-item]")).click(function(){var t=i(this).closest("[data-pafe-product-tabs]"),e=t.find("[data-pafe-product-tabs-result]"),t=JSON.parse(t.attr("data-pafe-product-tabs-option")),n=i(this).attr("data-pafe-product-tabs-id"),t=(posts_per_page=t.post_per_pages,console.log(n),e.css("opacity","0.5"),{action:"pafe_product_tabs",posts_per_page:posts_per_page,term_id:n});i(this).addClass("actives"),i("[pafe-product-tabs__filter-item]").not(this).removeClass("actives"),i.post(i("[data-pafe-ajax-url]").data("pafe-ajax-url"),t,function(t){e.html(t),e.css("opacity","1")})})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-product-tabs.default",e)})}(jQuery),!function(t){!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).ProgressBar=t()}(function(){return function i(o,r,a){function s(e,t){if(!r[e]){if(!o[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(u)return u(e,!0);throw(t=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",t}n=r[e]={exports:{}},o[e][0].call(n.exports,function(t){return s(o[e][1][t]||t)},n,n.exports,i,o,r,a)}return r[e].exports}for(var u="function"==typeof require&&require,t=0;t<a.length;t++)s(a[t]);return s}({1:[function(t,e,n){var i,o;i=window,o=function(){return n=[function(t,w,_){"use strict";!function(t){function e(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(i){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},e=Object.keys(o);(e="function"==typeof Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(o).filter(function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable})):e).forEach(function(t){var e,n;e=i,n=o[t=t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return i}function n(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=new y,t=e.tween(t);return t.tweenable=e,t}_.d(w,"e",function(){return d}),_.d(w,"c",function(){return m}),_.d(w,"b",function(){return v}),_.d(w,"a",function(){return y}),_.d(w,"d",function(){return n});function p(){}function i(t,e){var n=t._attachment,i=t._currentState,o=t._delay,r=t._easing,a=t._originalState,s=t._duration,u=t._step,c=t._targetState,l=t._timestamp,f=l+o+s,h=s-(f-(e=f<e?f:e));f<=e?(u(c,n,h),t.stop(!0)):(t._applyFilter("beforeTween"),e<l+o?l=s=e=1:l+=o,d(e,i,a,c,s,l,r),t._applyFilter("afterTween"),u(i,n,h))}function s(t){var e,n;t===c?(c=t._next)?c._previous=null:l=null:t===l?(l=t._previous)?l._next=null:c=null:(e=t._previous,n=t._next,(e._next=n)._previous=e),t._previous=t._next=null}var o=_(1),r="undefined"!=typeof window?window:t,u=r.requestAnimationFrame||r.webkitRequestAnimationFrame||r.oRequestAnimationFrame||r.msRequestAnimationFrame||r.mozCancelRequestAnimationFrame&&r.mozRequestAnimationFrame||setTimeout,c=null,l=null,f=h({},o),d=function(t,e,n,i,o,r,a){var s,u=t<r?0:(t-r)/o;for(s in e){var c=a[s],c=c.call?c:f[c],l=n[s];e[s]=l+(i[s]-l)*c(u)}return e},m=function(){for(var t=y.now(),e=c;e;){var n=e._next;i(e,t),e=n}},v=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"linear",n={},i=a(e);if("string"===i||"function"===i)for(var o in t)n[o]=e;else for(var r in t)n[r]=e[r]||"linear";return n},y=(e(g.prototype,[{key:"_applyFilter",value:function(t){var e=!0,n=!1,i=void 0;try{for(var o,r=this._filters[Symbol.iterator]();!(e=(o=r.next()).done);e=!0){var a=o.value[t];a&&a(this)}}catch(t){n=!0,i=t}finally{try{e||null==r.return||r.return()}finally{if(n)throw i}}}},{key:"tween",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:void 0,e=this._attachment,n=this._configured;return!t&&n||this.setConfig(t),this._pausedAtTime=null,this._timestamp=g.now(),this._start(this.get(),e),this.resume()}},{key:"setConfig",value:function(){var t,n=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i=e.attachment,o=e.delay,o=void 0===o?0:o,r=e.duration,r=void 0===r?500:r,a=e.easing,s=e.from,u=e.promise,u=void 0===u?Promise:u,c=e.start,c=void 0===c?p:c,l=e.step,l=void 0===l?p:l,e=e.to,i=(this._configured=!0,this._attachment=i,this._isPlaying=!1,this._pausedAtTime=null,this._scheduleId=null,this._delay=o,this._start=c,this._step=l,this._duration=r,this._currentState=h({},s||this.get()),this._originalState=this.get(),this._targetState=h({},e||this.get()),this._currentState),f=(this._targetState=h({},i,this._targetState),this._easing=v(i,a),g.filters);for(t in this._filters.length=0,f)f[t].doesApply(this)&&this._filters.push(f[t]);return this._applyFilter("tweenCreated"),this._promise=new u(function(t,e){n._resolve=t,n._reject=e}),this._promise.catch(p),this}},{key:"get",value:function(){return h({},this._currentState)}},{key:"set",value:function(t){this._currentState=t}},{key:"pause",value:function(){if(this._isPlaying)return this._pausedAtTime=g.now(),this._isPlaying=!1,s(this),this}},{key:"resume",value:function(){if(null===this._timestamp)return this.tween();if(this._isPlaying)return this._promise;var t=g.now();return this._pausedAtTime&&(this._timestamp+=t-this._pausedAtTime,this._pausedAtTime=null),this._isPlaying=!0,null===c?(l=c=this,function t(){c&&(u.call(r,t,1e3/60),m())}()):((this._previous=l)._next=this,l=this),this._promise}},{key:"seek",value:function(t){t=Math.max(t,0);var e=g.now();return this._timestamp+t===0||(this._timestamp=e-t,this._isPlaying||i(this,e)),this}},{key:"stop",value:function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=this._attachment,n=this._currentState,i=this._easing,o=this._originalState,r=this._targetState;if(this._isPlaying)return this._isPlaying=!1,s(this),t?(this._applyFilter("beforeTween"),d(1,n,o,r,1,0,i),this._applyFilter("afterTween"),this._applyFilter("afterTweenEnd"),this._resolve(n,e)):this._reject(n,e),this}},{key:"isPlaying",value:function(){return this._isPlaying}},{key:"setScheduleFunction",value:function(t){g.setScheduleFunction(t)}},{key:"dispose",value:function(){for(var t in this)delete this[t]}}]),g);function g(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:void 0,n=this;if(!(n instanceof g))throw new TypeError("Cannot call a class as a function");this._currentState=t,this._configured=!1,this._filters=[],this._timestamp=null,this._next=null,this._previous=null,e&&this.setConfig(e)}y.setScheduleFunction=function(t){return u=t},y.formulas=f,y.filters={},y.now=Date.now||function(){return+new Date}}.call(this,_(2))},function(W,t,e){"use strict";e.r(t),e.d(t,"linear",function(){return n}),e.d(t,"easeInQuad",function(){return i}),e.d(t,"easeOutQuad",function(){return o}),e.d(t,"easeInOutQuad",function(){return r}),e.d(t,"easeInCubic",function(){return a}),e.d(t,"easeOutCubic",function(){return s}),e.d(t,"easeInOutCubic",function(){return u}),e.d(t,"easeInQuart",function(){return c}),e.d(t,"easeOutQuart",function(){return l}),e.d(t,"easeInOutQuart",function(){return f}),e.d(t,"easeInQuint",function(){return h}),e.d(t,"easeOutQuint",function(){return p}),e.d(t,"easeInOutQuint",function(){return d}),e.d(t,"easeInSine",function(){return m}),e.d(t,"easeOutSine",function(){return v}),e.d(t,"easeInOutSine",function(){return y}),e.d(t,"easeInExpo",function(){return g}),e.d(t,"easeOutExpo",function(){return w}),e.d(t,"easeInOutExpo",function(){return _}),e.d(t,"easeInCirc",function(){return b}),e.d(t,"easeOutCirc",function(){return k}),e.d(t,"easeInOutCirc",function(){return S}),e.d(t,"easeOutBounce",function(){return x}),e.d(t,"easeInBack",function(){return T}),e.d(t,"easeOutBack",function(){return C}),e.d(t,"easeInOutBack",function(){return O}),e.d(t,"elastic",function(){return j}),e.d(t,"swingFromTo",function(){return A}),e.d(t,"swingFrom",function(){return P}),e.d(t,"swingTo",function(){return E}),e.d(t,"bounce",function(){return M}),e.d(t,"bouncePast",function(){return F}),e.d(t,"easeFromTo",function(){return X}),e.d(t,"easeFrom",function(){return Y}),e.d(t,"easeTo",function(){return L});var n=function(t){return t},i=function(t){return Math.pow(t,2)},o=function(t){return-(Math.pow(t-1,2)-1)},r=function(t){return(t/=.5)<1?.5*Math.pow(t,2):-.5*((t-=2)*t-2)},a=function(t){return Math.pow(t,3)},s=function(t){return Math.pow(t-1,3)+1},u=function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},c=function(t){return Math.pow(t,4)},l=function(t){return-(Math.pow(t-1,4)-1)},f=function(t){return(t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},h=function(t){return Math.pow(t,5)},p=function(t){return Math.pow(t-1,5)+1},d=function(t){return(t/=.5)<1?.5*Math.pow(t,5):.5*(Math.pow(t-2,5)+2)},m=function(t){return 1-Math.cos(t*(Math.PI/2))},v=function(t){return Math.sin(t*(Math.PI/2))},y=function(t){return-.5*(Math.cos(Math.PI*t)-1)},g=function(t){return 0===t?0:Math.pow(2,10*(t-1))},w=function(t){return 1===t?1:1-Math.pow(2,-10*t)},_=function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},b=function(t){return-(Math.sqrt(1-t*t)-1)},k=function(t){return Math.sqrt(1-Math.pow(t-1,2))},S=function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},x=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},T=function(t){return t*t*(2.70158*t-1.70158)},C=function(t){return--t*t*(2.70158*t+1.70158)+1},O=function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},j=function(t){return-1*Math.pow(4,-8*t)*Math.sin((6*t-1)*(2*Math.PI)/2)+1},A=function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},P=function(t){return t*t*(2.70158*t-1.70158)},E=function(t){return--t*t*(2.70158*t+1.70158)+1},M=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},F=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?2-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?2-(7.5625*(t-=2.25/2.75)*t+.9375):2-(7.5625*(t-=2.625/2.75)*t+.984375)},X=function(t){return(t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},Y=function(t){return Math.pow(t,4)},L=function(t){return Math.pow(t,.25)}},function(t,e){var n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(W,t,e){"use strict";function n(t){return parseInt(t,16)}function i(t){var e=t._currentState;[e,t._originalState,t._targetState].forEach(C),t._tokenData=O(e)}function o(t){var e=t._currentState,n=t._originalState,i=t._targetState,o=t._easing,r=t._tokenData;P(o,r),[e,n,i].forEach(function(t){return j(t,r)})}function r(t){var e=t._currentState,n=t._originalState,i=t._targetState,o=t._easing,r=t._tokenData;[e,n,i].forEach(function(t){return A(t,r)}),E(o,r)}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");e=e.get(t);return e.get?e.get.call(t):e.value}function l(t,e,n,i,o,r){function u(t){return((h*t+l)*t+f)*t}function c(t){return 0<=t?t:0-t}var l,f,h=1-(f=3*e)-(l=3*(i-e)-f),o=1-(i=3*n)-(e=3*(o-n)-i);return n=function(t,e){for(var n,i,o,r,a=t,s=0;s<8;s++){if(o=u(a)-t,c(o)<e)return a;if(c(r=(3*h*a+2*l)*a+f)<1e-6)break;a-=o/r}if((a=t)<(n=0))return n;if(a>(i=1))return i;for(;n<i;){if(o=u(a),c(o-t)<e)return a;o<t?n=a:i=a,a=.5*(i-n)+n}return a}(t,function(t){return 1/(200*t)}(r)),((o*n+e)*n+i)*n}e.r(t);var u={};e.r(u),e.d(u,"doesApply",function(){return L}),e.d(u,"tweenCreated",function(){return i}),e.d(u,"beforeTween",function(){return o}),e.d(u,"afterTween",function(){return r});function c(t){return"rgb(".concat([n((t=3===(t=(t=t).replace(/#/,"")).length?(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]:t).substr(0,2)),n(t.substr(2,2)),n(t.substr(4,2))].join(","),")")}function f(t,e,n){var i=e.match(t),o=e.replace(t,"VAL");return i&&i.forEach(function(t){return o=o.replace("VAL",n(t))}),o}function h(t){var e=t.match(k).map(Math.floor);return"".concat(t.match(x)[0]).concat(e.join(","),")")}function p(t){return t.match(k)}function d(t,e,n,i){var o,r=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=function(i){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},e=Object.keys(o);(e="function"==typeof Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(o).filter(function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable})):e).forEach(function(t){var e,n;e=i,n=o[t=t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return i}({},t),i=Object(w.b)(t,i);for(o in M._filters.length=0,M.set({}),M._currentState=a,M._originalState=t,M._targetState=e,M._easing=i,F)F[o].doesApply(M)&&M._filters.push(F[o]);return M._applyFilter("tweenCreated"),M._applyFilter("beforeTween"),n=Object(w.e)(n,a,t,e,1,r,i),M._applyFilter("afterTween"),n}function m(t,e,n,i,o){r=e,a=n,s=i,u=o;var r,a,s,u,c=function(t){return l(t,r,a,s,u,1)};return c.displayName=t,c.x1=e,c.y1=n,c.x2=i,c.y2=o,w.a.formulas[t]=c}function v(t){return delete w.a.formulas[t]}var y,g,w=e(0),_=/(\d|-|\.)/,b=/([^\-0-9.]+)/g,k=/[0-9.-]+/g,S=(y=k.source,g=/,\s*/.source,new RegExp("rgb\\(".concat(y).concat(g).concat(y).concat(g).concat(y,"\\)"),"g")),x=/^.*\(/,T=/#([0-9]|[a-f]){3,6}/gi,C=function(t){for(var e in t){var n=t[e];"string"==typeof n&&n.match(T)&&(t[e]=f(T,n,c))}},O=function(t){var e,n,i,o={};for(i in t){var r=t[i];"string"==typeof r&&(o[i]={formatString:(n=void 0,(n=(e=r).match(b))?1!==n.length&&!e.charAt(0).match(_)||n.unshift(""):n=["",""],n.join("VAL")),chunkNames:function(t,n){return t.map(function(t,e){return"_".concat(n,"_").concat(e)})}(p(r),i)})}return o},j=function(i,o){for(var t in o)!function(n){p(i[n]).forEach(function(t,e){return i[o[n].chunkNames[e]]=+t}),delete i[n]}(t)},A=function(t,e){for(var n in e){var i=e[n],o=i.chunkNames,i=function(e,t){return t.forEach(function(t){return e=e.replace("VAL",+t.toFixed(4))}),e}(i.formatString,function(e,t){return t.map(function(t){return e[t]})}(function(e,t){var n={};return t.forEach(function(t){n[t]=e[t],delete e[t]}),n}(t,o),o));t[n]=f(S,i,h)}},P=function(r,a){for(var t in a)!function(t){var n,i,e=a[t].chunkNames,o=r[t];"string"==typeof o?(n=o.split(" "),i=n[n.length-1],e.forEach(function(t,e){return r[t]=n[e]||i})):e.forEach(function(t){return r[t]=o}),delete r[t]}(t)},E=function(n,t){for(var e in t){var i=t[e].chunkNames,o=n[i[0]];n[e]="string"==typeof o?i.map(function(t){var e=n[t];return delete n[t],e}).join(" "):o}},L=function(t){var e=t._currentState;return Object.keys(e).some(function(t){return"string"==typeof e[t]})},M=new w.a,F=w.a.filters,I=(a(Y.prototype,[{key:"add",value:function(t){return s(this,X).push(t),t}},{key:"remove",value:function(t){var e=s(this,X).indexOf(t);return~e&&s(this,X).splice(e,1),t}},{key:"empty",value:function(){return this.tweenables.map(this.remove.bind(this))}},{key:"isPlaying",value:function(){return s(this,X).some(function(t){return t.isPlaying()})}},{key:"play",value:function(){return s(this,X).forEach(function(t){return t.tween()}),this}},{key:"pause",value:function(){return s(this,X).forEach(function(t){return t.pause()}),this}},{key:"resume",value:function(){return s(this,X).forEach(function(t){return t.resume()}),this}},{key:"stop",value:function(e){return s(this,X).forEach(function(t){return t.stop(e)}),this}},{key:"tweenables",get:function(){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t=s(this,X))||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}();var t}},{key:"promises",get:function(){return s(this,X).map(function(t){return t._promise})}}]),Y),X=new WeakMap;function Y(){var t=this;if(!(t instanceof Y))throw new TypeError("Cannot call a class as a function");X.set(this,{writable:!0,value:[]});for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];n.forEach(this.add.bind(this))}e.d(t,"processTweens",function(){return w.c}),e.d(t,"Tweenable",function(){return w.a}),e.d(t,"tween",function(){return w.d}),e.d(t,"interpolate",function(){return d}),e.d(t,"Scene",function(){return I}),e.d(t,"setBezierFunction",function(){return m}),e.d(t,"unsetBezierFunction",function(){return v}),w.a.filters.token=u}],i={},o.m=n,o.c=i,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=3);function o(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}var n,i},"object"==typeof n&&"object"==typeof e?e.exports=o():"object"==typeof n?n.shifty=o():i.shifty=o()},{}],2:[function(t,e,n){function i(t,e){this._pathTemplate="M 50,50 m 0,-{radius} a {radius},{radius} 0 1 1 0,{2radius} a {radius},{radius} 0 1 1 0,-{2radius}",this.containerAspectRatio=1,o.apply(this,arguments)}var o=t("./shape"),r=t("./utils");((i.prototype=new o).constructor=i).prototype._pathString=function(t){var e=t.strokeWidth,t=50-(e=t.trailWidth&&t.trailWidth>t.strokeWidth?t.trailWidth:e)/2;return r.render(this._pathTemplate,{radius:t,"2radius":2*t})},i.prototype._trailString=function(t){return this._pathString(t)},e.exports=i},{"./shape":7,"./utils":9}],3:[function(t,e,n){function i(t,e){this._pathTemplate="M 0,{center} L 100,{center}",o.apply(this,arguments)}var o=t("./shape"),r=t("./utils");((i.prototype=new o).constructor=i).prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 "+e.strokeWidth),t.setAttribute("preserveAspectRatio","none")},i.prototype._pathString=function(t){return r.render(this._pathTemplate,{center:t.strokeWidth/2})},i.prototype._trailString=function(t){return this._pathString(t)},e.exports=i},{"./shape":7,"./utils":9}],4:[function(t,e,n){e.exports={Line:t("./line"),Circle:t("./circle"),SemiCircle:t("./semicircle"),Square:t("./square"),Path:t("./path"),Shape:t("./shape"),utils:t("./utils")}},{"./circle":2,"./line":3,"./path":5,"./semicircle":6,"./shape":7,"./square":8,"./utils":9}],5:[function(t,e,n){function i(t,e){if(!(this instanceof i))throw new Error("Constructor was called without new keyword");e=s.extend({delay:0,duration:800,easing:"linear",from:{},to:{},step:function(){}},e),t=s.isString(t)?document.querySelector(t):t,this.path=t,this._opts=e,this._tweenable=null,t=this.path.getTotalLength(),this.path.style.strokeDasharray=t+" "+t,this.set(0)}var o=t("shifty"),s=t("./utils"),u=o.Tweenable,r={easeIn:"easeInCubic",easeOut:"easeOutCubic",easeInOut:"easeInOutCubic"};i.prototype.value=function(){var t=this._getComputedDashOffset(),e=this.path.getTotalLength();return parseFloat((1-t/e).toFixed(6),10)},i.prototype.set=function(t){this.stop(),this.path.style.strokeDashoffset=this._progressToOffset(t);var e,n=this._opts.step;s.isFunction(n)&&(e=this._easing(this._opts.easing),n(this._calculateTo(t,e),this._opts.shape||this,this._opts.attachment))},i.prototype.stop=function(){this._stopTween(),this.path.style.strokeDashoffset=this._getComputedDashOffset()},i.prototype.animate=function(t,n,e){n=n||{},s.isFunction(n)&&(e=n,n={});var i=s.extend({},n),o=s.extend({},this._opts),o=(n=s.extend(o,n),this._easing(n.easing)),i=this._resolveFromAndTo(t,o,i),r=(this.stop(),this.path.getBoundingClientRect(),this._getComputedDashOffset()),t=this._progressToOffset(t),a=this;this._tweenable=new u,this._tweenable.tween({from:s.extend({offset:r},i.from),to:s.extend({offset:t},i.to),duration:n.duration,delay:n.delay,easing:o,step:function(t){a.path.style.strokeDashoffset=t.offset;var e=n.shape||a;n.step(t,e,n.attachment)}}).then(function(t){s.isFunction(e)&&e()})},i.prototype._getComputedDashOffset=function(){var t=window.getComputedStyle(this.path,null);return parseFloat(t.getPropertyValue("stroke-dashoffset"),10)},i.prototype._progressToOffset=function(t){var e=this.path.getTotalLength();return e-t*e},i.prototype._resolveFromAndTo=function(t,e,n){return n.from&&n.to?{from:n.from,to:n.to}:{from:this._calculateFrom(e),to:this._calculateTo(t,e)}},i.prototype._calculateFrom=function(t){return o.interpolate(this._opts.from,this._opts.to,this.value(),t)},i.prototype._calculateTo=function(t,e){return o.interpolate(this._opts.from,this._opts.to,t,e)},i.prototype._stopTween=function(){null!==this._tweenable&&(this._tweenable.stop(),this._tweenable=null)},i.prototype._easing=function(t){return r.hasOwnProperty(t)?r[t]:t},e.exports=i},{"./utils":9,shifty:1}],6:[function(t,e,n){function i(t,e){this._pathTemplate="M 50,50 m -{radius},0 a {radius},{radius} 0 1 1 {2radius},0",this.containerAspectRatio=2,o.apply(this,arguments)}var o=t("./shape"),r=t("./circle"),a=t("./utils");((i.prototype=new o).constructor=i).prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 50")},i.prototype._initializeTextContainer=function(t,e,n){t.text.style&&(n.style.top="auto",n.style.bottom="0",t.text.alignToBottom?a.setStyle(n,"transform","translate(-50%, 0)"):a.setStyle(n,"transform","translate(-50%, 50%)"))},i.prototype._pathString=r.prototype._pathString,i.prototype._trailString=r.prototype._trailString,e.exports=i},{"./circle":2,"./shape":7,"./utils":9}],7:[function(t,e,n){function o(t,e){if(!(this instanceof o))throw new Error("Constructor was called without new keyword");if(0!==arguments.length){this._opts=a.extend({color:"#555",strokeWidth:1,trailColor:null,trailWidth:null,fill:null,text:{style:{color:null,position:"absolute",left:"50%",top:"50%",padding:0,margin:0,transform:{prefix:!0,value:"translate(-50%, -50%)"}},autoStyleContainer:!0,alignToBottom:!0,value:null,className:"progressbar-text"},svgStyle:{display:"block",width:"100%"},warnings:!1},e,!0),a.isObject(e)&&void 0!==e.svgStyle&&(this._opts.svgStyle=e.svgStyle),a.isObject(e)&&a.isObject(e.text)&&void 0!==e.text.style&&(this._opts.text.style=e.text.style);var n=this._createSvgView(this._opts);if(!(i=a.isString(t)?document.querySelector(t):t))throw new Error("Container does not exist: "+t);this._container=i,this._container.appendChild(n.svg),this._opts.warnings&&this._warnContainerAspectRatio(this._container),this._opts.svgStyle&&a.setStyles(n.svg,this._opts.svgStyle),this.svg=n.svg,this.path=n.path,this.trail=n.trail,this.text=null;var i=a.extend({attachment:void 0,shape:this},this._opts);this._progressPath=new r(n.path,i),a.isObject(this._opts.text)&&null!==this._opts.text.value&&this.setText(this._opts.text.value)}}var r=t("./path"),a=t("./utils"),i="Object is destroyed";o.prototype.animate=function(t,e,n){if(null===this._progressPath)throw new Error(i);this._progressPath.animate(t,e,n)},o.prototype.stop=function(){if(null===this._progressPath)throw new Error(i);void 0!==this._progressPath&&this._progressPath.stop()},o.prototype.pause=function(){if(null===this._progressPath)throw new Error(i);void 0!==this._progressPath&&this._progressPath._tweenable&&this._progressPath._tweenable.pause()},o.prototype.resume=function(){if(null===this._progressPath)throw new Error(i);void 0!==this._progressPath&&this._progressPath._tweenable&&this._progressPath._tweenable.resume()},o.prototype.destroy=function(){if(null===this._progressPath)throw new Error(i);this.stop(),this.svg.parentNode.removeChild(this.svg),this.svg=null,this.path=null,this.trail=null,(this._progressPath=null)!==this.text&&(this.text.parentNode.removeChild(this.text),this.text=null)},o.prototype.set=function(t){if(null===this._progressPath)throw new Error(i);this._progressPath.set(t)},o.prototype.value=function(){if(null===this._progressPath)throw new Error(i);return void 0===this._progressPath?0:this._progressPath.value()},o.prototype.setText=function(t){if(null===this._progressPath)throw new Error(i);null===this.text&&(this.text=this._createTextContainer(this._opts,this._container),this._container.appendChild(this.text)),a.isObject(t)?(a.removeChildren(this.text),this.text.appendChild(t)):this.text.innerHTML=t},o.prototype._createSvgView=function(t){var e=document.createElementNS("http://www.w3.org/2000/svg","svg"),n=(this._initializeSvg(e,t),null),t=((t.trailColor||t.trailWidth)&&(n=this._createTrail(t),e.appendChild(n)),this._createPath(t));return e.appendChild(t),{svg:e,path:t,trail:n}},o.prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 100")},o.prototype._createPath=function(t){var e=this._pathString(t);return this._createPathElement(e,t)},o.prototype._createTrail=function(t){var e=this._trailString(t),t=a.extend({},t);return t.trailColor||(t.trailColor="#eee"),t.trailWidth||(t.trailWidth=t.strokeWidth),t.color=t.trailColor,t.strokeWidth=t.trailWidth,t.fill=null,this._createPathElement(e,t)},o.prototype._createPathElement=function(t,e){var n=document.createElementNS("http://www.w3.org/2000/svg","path");return n.setAttribute("d",t),n.setAttribute("stroke",e.color),n.setAttribute("stroke-width",e.strokeWidth),e.fill?n.setAttribute("fill",e.fill):n.setAttribute("fill-opacity","0"),n},o.prototype._createTextContainer=function(t,e){var n=document.createElement("div"),i=(n.className=t.text.className,t.text.style);return i&&(t.text.autoStyleContainer&&(e.style.position="relative"),a.setStyles(n,i),i.color||(n.style.color=t.color)),this._initializeTextContainer(t,e,n),n},o.prototype._initializeTextContainer=function(t,e,n){},o.prototype._pathString=function(t){throw new Error("Override this function for each progress bar")},o.prototype._trailString=function(t){throw new Error("Override this function for each progress bar")},o.prototype._warnContainerAspectRatio=function(t){var e,n,i;this.containerAspectRatio&&(e=window.getComputedStyle(t,null),n=parseFloat(e.getPropertyValue("width"),10),i=parseFloat(e.getPropertyValue("height"),10),a.floatEquals(this.containerAspectRatio,n/i)||(console.warn("Incorrect aspect ratio of container","#"+t.id,"detected:",e.getPropertyValue("width")+"(width)","/",e.getPropertyValue("height")+"(height)","=",n/i),console.warn("Aspect ratio of should be",this.containerAspectRatio)))},e.exports=o},{"./path":5,"./utils":9}],8:[function(t,e,n){function i(t,e){this._pathTemplate="M 0,{halfOfStrokeWidth} L {width},{halfOfStrokeWidth} L {width},{width} L {halfOfStrokeWidth},{width} L {halfOfStrokeWidth},{strokeWidth}",this._trailTemplate="M {startMargin},{halfOfStrokeWidth} L {width},{halfOfStrokeWidth} L {width},{width} L {halfOfStrokeWidth},{width} L {halfOfStrokeWidth},{halfOfStrokeWidth}",o.apply(this,arguments)}var o=t("./shape"),r=t("./utils");((i.prototype=new o).constructor=i).prototype._pathString=function(t){var e=100-t.strokeWidth/2;return r.render(this._pathTemplate,{width:e,strokeWidth:t.strokeWidth,halfOfStrokeWidth:t.strokeWidth/2})},i.prototype._trailString=function(t){var e=100-t.strokeWidth/2;return r.render(this._trailTemplate,{width:e,strokeWidth:t.strokeWidth,halfOfStrokeWidth:t.strokeWidth/2,startMargin:t.strokeWidth/2-t.trailWidth/2})},e.exports=i},{"./shape":7,"./utils":9}],9:[function(t,e,n){function i(t,e,n){for(var i=t.style,o=0;o<a.length;++o)i[a[o]+r(e)]=n;i[e]=n}function r(t){return t.charAt(0).toUpperCase()+t.slice(1)}function s(t){return!("[object Array]"===Object.prototype.toString.call(t)||"object"!=typeof t||!t)}function o(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}var a="Webkit Moz O ms".split(" ");e.exports={extend:function t(e,n,i){for(var o in e=e||{},i=i||!1,n=n||{}){var r,a;n.hasOwnProperty(o)&&(r=e[o],a=n[o],i&&s(r)&&s(a)?e[o]=t(r,a,i):e[o]=a)}return e},render:function(t,e){var n,i,o,r=t;for(n in e)e.hasOwnProperty(n)&&(i=e[n],o=new RegExp("\\{"+n+"\\}","g"),r=r.replace(o,i));return r},setStyle:i,setStyles:function(n,t){o(t,function(t,e){null!=t&&(s(t)&&!0===t.prefix?i(n,e,t.value):n.style[e]=t)})},capitalize:r,isString:function(t){return"string"==typeof t||t instanceof String},isFunction:function(t){return"function"==typeof t},isObject:s,forEachObject:o,floatEquals:function(t,e){return Math.abs(t-e)<.001},removeChildren:function(t){for(;t.firstChild;)t.removeChild(t.firstChild)}}},{}]},{},[4])(4)});function e(t,r){(t=t.find(".pafe-progressbar")).length&&r.each(t,function(t,e){var n=JSON.parse(r(e).attr("data-pafe-progressbar-option")),i=n.value,o=n.unit,n=n.duration;console.log(i),r(e).find(".pafe-progressbar-percentage-content").prop("Counter",0).animate({Counter:i},{duration:n,easing:"swing",step:function(t){r(this).text(Math.ceil(t)+o)}})})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-progressbar.default",e)})}(jQuery),!function($){$.timer=function(func,time,autostart){return this.set=function(func,time,autostart){if(this.init=!0,"object"==typeof func){var paramList=["autostart","time"],arg;for(arg in paramList)null!=func[paramList[arg]]&&eval(paramList[arg]+" = func[paramList[arg]]");func=func.action}return"function"==typeof func&&(this.action=func),isNaN(time)||(this.intervalTime=time),autostart&&!this.isActive&&(this.isActive=!0,this.setTimer()),this},this.once=function(t){var e=this;return isNaN(t)&&(t=0),window.setTimeout(function(){e.action()},t),this},this.play=function(t){return this.isActive||(t?this.setTimer():this.setTimer(this.remaining),this.isActive=!0),this},this.pause=function(){return this.isActive&&(this.isActive=!1,this.remaining-=new Date-this.last,this.clearTimer()),this},this.stop=function(){return this.isActive=!1,this.remaining=this.intervalTime,this.clearTimer(),this},this.toggle=function(t){return this.isActive?this.pause():t?this.play(!0):this.play(),this},this.reset=function(){return this.isActive=!1,this.play(!0),this},this.clearTimer=function(){window.clearTimeout(this.timeoutObject)},this.setTimer=function(t){var e=this;"function"==typeof this.action&&(isNaN(t)&&(t=this.intervalTime),this.remaining=t,this.last=new Date,this.clearTimer(),this.timeoutObject=window.setTimeout(function(){e.go()},t))},this.go=function(){this.isActive&&(this.action(),this.setTimer())},this.init?new $.timer(func,time,autostart):(this.set(func,time,autostart),this)}}(jQuery),jQuery(document).ready(function(e){var t,n,i,o,r,a=e("[data-pafe-sales-pop-list]");e("[data-pafe-sales-pop-close]").click(function(){e("[data-pafe-sales-pop-item]").remove()}),0<a.length&&(t=(a=JSON.parse(a.attr("data-pafe-sales-pop-option"))).min_time,i=a.max_time,n=a.random,a=a.times,i=Math.floor(Math.random()*(i-t+1)+t),o=e("[data-pafe-sales-pop-list]").find("[data-pafe-sales-pop-item]").length,"yes"==n?(r=e.timer(function(){e("[data-pafe-sales-pop-list]").find("[data-pafe-sales-pop-item].active").remove();var t=Math.floor(Math.random()*(o-1+1)+1);e("[data-pafe-sales-pop-item]").eq(t-1).fadeIn(400).addClass("active")})).set({time:1e3*i,autostart:!0}):(r=e.timer(function(){e("[data-pafe-sales-pop-list]").find("[data-pafe-sales-pop-item].active").remove();var t=e("[data-pafe-sales-pop-item]").index();e("[data-pafe-sales-pop-item]").eq(t).fadeIn(400).addClass("active")})).set({time:1e3*a,autostart:!0})),e(document).on("mouseover","[data-pafe-sales-pop-item].active",function(){r.toggle()}),e(document).on("mouseout","[data-pafe-sales-pop-item].active",function(){r.toggle()})}),jQuery(document).ready(function(n){n(document).on("change","[data-pafe-switch-content-button-checkbox]",function(){var t=n(this).closest("[data-pafe-switch-content]").find("[data-pafe-switch-content-primary]"),e=n(this).closest("[data-pafe-switch-content]").find("[data-pafe-switch-content-secondary]");n(this).is(":checked")?(t.hide(0),e.show(0)):(t.show(0),e.hide(0))})}),!function(t){function e(t,n){($switch=t.find("[data-pafe-switch-content-button-checkbox]")).on("change",function(){var t=n(this).closest("[data-pafe-switch-content]").find("[data-pafe-switch-content-primary]"),e=n(this).closest("[data-pafe-switch-content]").find("[data-pafe-switch-content-secondary]");n(this).is(":checked")?(t.hide(0),e.show(0)):(t.show(0),e.hide(0))})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-switch-content.default",e)})}(jQuery),jQuery(document).ready(function(t){function e(t){this.element=t,this.blocks=this.element.getElementsByClassName("cd-timeline__block"),this.images=this.element.getElementsByClassName("cd-timeline__img"),this.contents=this.element.getElementsByClassName("cd-timeline__content"),this.offset=1,this.hideBlocks()}e.prototype.hideBlocks=function(){if(!(!1 in document.documentElement))for(var t,e=this,n=0;n<this.blocks.length;n++)t=n,e.blocks[t].getBoundingClientRect().top>window.innerHeight*e.offset&&(e.images[t].classList.add("cd-timeline__img--hidden"),e.contents[t].classList.add("cd-timeline__content--hidden"))},e.prototype.showBlocks=function(){if(!(!1 in document.documentElement))for(var t,e=this,n=0;n<this.blocks.length;n++)t=n,e.contents[t].classList.contains("cd-timeline__content--hidden")&&e.blocks[t].getBoundingClientRect().top<=window.innerHeight*e.offset&&(e.images[t].classList.add("cd-timeline__img--bounce-in"),e.contents[t].classList.add("cd-timeline__content--bounce-in"),e.images[t].classList.remove("cd-timeline__img--hidden"),e.contents[t].classList.remove("cd-timeline__content--hidden"))};var n,i=t("[data-pafe-vertical-timeline]"),o=[],r=!1;if(0<i.length){for(var a=0;a<i.length;a++)n=a,o.push(new e(i[n]));window.addEventListener("scroll",function(t){r||(r=!0,window.requestAnimationFrame?window.requestAnimationFrame(s):setTimeout(s,250))})}function s(){o.forEach(function(t){t.showBlocks()}),r=!1}}),jQuery(document).ready(function(n){function i(){n('[data-pafe-video-playlist] iframe[src*="youtube"],[data-pafe-video-playlist] iframe[src*="vimeo"]').each(function(){var t=9*n(this).width()/16;n(this).css({height:t+"px"}),n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-list]").css({height:t+"px"});t=t-n("[data-pafe-video-playlist-list-title]").height()-30;n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-list-video]").css({"max-height":t+"px"})})}i(),n(window).resize(function(t){i()}),n("[data-pafe-video-playlist-item]").click(function(){var t=n(this).attr("data-pafe-video-playlist-item"),e=n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-video]");n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-item]").removeClass("active"),n(this).addClass("active"),e.html(t),i()})}),!function(t){function e(t,n){function i(){n('[data-pafe-video-playlist] iframe[src*="youtube"],[data-pafe-video-playlist] iframe[src*="vimeo"]').each(function(){var t=9*n(this).width()/16;n(this).css({height:t+"px"}),n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-list]").css({height:t+"px"});t=t-n("[data-pafe-video-playlist-list-title]").height()-30;n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-list-video]").css({"max-height":t+"px"})})}i(),n(window).resize(function(t){i()}),($item=t.find("[data-pafe-video-playlist-item]")).click(function(){var t=n(this).attr("data-pafe-video-playlist-item"),e=n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-video]");n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-item]").removeClass("active"),n(this).addClass("active"),e.html(t),i()})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-video-playlist.default",e)})}(jQuery);