1/**handles:custom-js,script-smooth-scroll,flexslider/jquery.flexslider-min.js,google.maps.min.js**/ 2function hexToRgb(e){var t,e=(e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,a,i){return t+t+a+a+i+i}),/^#?([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,a){return Math.min(Math.max(e,t),a)}function isInArray(e,t){return-1<t.indexOf(e)}var pJS=function(e,t){var a=document.querySelector("#"+e+" > .particles-js-canvas-el"),d=(this.pJS={canvas:{el:a,w:a.offsetWidth,h:a.offsetHeight},particles:{number:{value:400,density:{enable:!0,value_area:800}},color:{value:"#fff"},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.pJS);t&&Object.deepExtend(d,t),d.tmp.obj={size_value:d.particles.size.value,size_anim_speed:d.particles.size.anim.speed,move_speed:d.particles.move.speed,line_linked_distance:d.particles.line_linked.distance,line_linked_width:d.particles.line_linked.width,mode_grab_distance:d.interactivity.modes.grab.distance,mode_bubble_distance:d.interactivity.modes.bubble.distance,mode_bubble_size:d.interactivity.modes.bubble.size,mode_repulse_distance:d.interactivity.modes.repulse.distance},d.fn.retinaInit=function(){d.retina_detect&&1<window.devicePixelRatio?(d.canvas.pxratio=window.devicePixelRatio,d.tmp.retina=!0):(d.canvas.pxratio=1,d.tmp.retina=!1),d.canvas.w=d.canvas.el.offsetWidth*d.canvas.pxratio,d.canvas.h=d.canvas.el.offsetHeight*d.canvas.pxratio,d.particles.size.value=d.tmp.obj.size_value*d.canvas.pxratio,d.particles.size.anim.speed=d.tmp.obj.size_anim_speed*d.canvas.pxratio,d.particles.move.speed=d.tmp.obj.move_speed*d.canvas.pxratio,d.particles.line_linked.distance=d.tmp.obj.line_linked_distance*d.canvas.pxratio,d.interactivity.modes.grab.distance=d.tmp.obj.mode_grab_distance*d.canvas.pxratio,d.interactivity.modes.bubble.distance=d.tmp.obj.mode_bubble_distance*d.canvas.pxratio,d.particles.line_linked.width=d.tmp.obj.line_linked_width*d.canvas.pxratio,d.interactivity.modes.bubble.size=d.tmp.obj.mode_bubble_size*d.canvas.pxratio,d.interactivity.modes.repulse.distance=d.tmp.obj.mode_repulse_distance*d.canvas.pxratio},d.fn.canvasInit=function(){d.canvas.ctx=d.canvas.el.getContext("2d")},d.fn.canvasSize=function(){d.canvas.el.width=d.canvas.w,d.canvas.el.height=d.canvas.h,d&&d.interactivity.events.resize&&window.addEventListener("resize",function(){d.canvas.w=d.canvas.el.offsetWidth,d.canvas.h=d.canvas.el.offsetHeight,d.tmp.retina&&(d.canvas.w*=d.canvas.pxratio,d.canvas.h*=d.canvas.pxratio),d.canvas.el.width=d.canvas.w,d.canvas.el.height=d.canvas.h,d.particles.move.enable||(d.fn.particlesEmpty(),d.fn.particlesCreate(),d.fn.particlesDraw(),d.fn.vendors.densityAutoParticles()),d.fn.vendors.densityAutoParticles()})},d.fn.canvasPaint=function(){d.canvas.ctx.fillRect(0,0,d.canvas.w,d.canvas.h)},d.fn.canvasClear=function(){d.canvas.ctx.clearRect(0,0,d.canvas.w,d.canvas.h)},d.fn.particle=function(e,t,a){var a,i=(this.radius=(d.particles.size.random?Math.random():1)*d.particles.size.value,d.particles.size.anim.enable&&(this.size_status=!1,this.vs=d.particles.size.anim.speed/100,d.particles.size.anim.sync||(this.vs=this.vs*Math.random())),this.x=a?a.x:Math.random()*d.canvas.w,this.y=a?a.y:Math.random()*d.canvas.h,this.x>d.canvas.w-2*this.radius?this.x=this.x-this.radius:this.x<2*this.radius&&(this.x=this.x+this.radius),this.y>d.canvas.h-2*this.radius?this.y=this.y-this.radius:this.y<2*this.radius&&(this.y=this.y+this.radius),d.particles.move.bounce&&d.fn.vendors.checkOverlap(this,a),this.color={},"object"==typeof e.value?e.value instanceof Array?(a=e.value[Math.floor(Math.random()*d.particles.color.value.length)],this.color.rgb=hexToRgb(a)):(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}
2)):"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=(d.particles.opacity.random?Math.random():1)*d.particles.opacity.value,d.particles.opacity.anim.enable&&(this.opacity_status=!1,this.vo=d.particles.opacity.anim.speed/100,d.particles.opacity.anim.sync||(this.vo=this.vo*Math.random())),{});switch(d.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}}d.particles.move.straight?(this.vx=i.x,this.vy=i.y,d.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;var a=d.particles.shape.type,e,e;"object"==typeof a?a instanceof Array&&(e=a[Math.floor(Math.random()*a.length)],this.shape=e):this.shape=a,"image"==this.shape&&(e=d.particles.shape,this.img={src:e.image.src,ratio:e.image.width/e.image.height},this.img.ratio||(this.img.ratio=1),"svg"==d.tmp.img_type)&&null!=d.tmp.source_svg&&(d.fn.vendors.createSvgImg(this),d.tmp.pushing)&&(this.img.loaded=!1)},d.fn.particle.prototype.draw=function(){function e(){d.canvas.ctx.drawImage(n,t.x-a,t.y-a,2*a,2*a/t.img.ratio)}var t=this,a,a,i,i,i,i,n,n;switch(a=null!=t.radius_bubble?t.radius_bubble:t.radius,i=null!=t.opacity_bubble?t.opacity_bubble:t.opacity,i=t.color.rgb?"rgba("+t.color.rgb.r+","+t.color.rgb.g+","+t.color.rgb.b+","+i+")":"hsla("+t.color.hsl.h+","+t.color.hsl.s+"%,"+t.color.hsl.l+"%,"+i+")",d.canvas.ctx.fillStyle=i,d.canvas.ctx.beginPath(),t.shape){case"circle":d.canvas.ctx.arc(t.x,t.y,a,0,2*Math.PI,!1);break;case"edge":d.canvas.ctx.rect(t.x-a,t.y-a,2*a,2*a);break;case"triangle":d.fn.vendors.drawShape(d.canvas.ctx,t.x-a,t.y+a/1.66,2*a,3,2);break;case"polygon":d.fn.vendors.drawShape(d.canvas.ctx,t.x-a/(d.particles.shape.polygon.nb_sides/3.5),t.y-a/.76,2.66*a/(d.particles.shape.polygon.nb_sides/3),d.particles.shape.polygon.nb_sides,1);break;case"star":d.fn.vendors.drawShape(d.canvas.ctx,t.x-2*a/(d.particles.shape.polygon.nb_sides/4),t.y-a/1.52,2*a*2.66/(d.particles.shape.polygon.nb_sides/3),d.particles.shape.polygon.nb_sides,2);break;case"image":(n="svg"==d.tmp.img_type?t.img.obj:d.tmp.img_obj)&&e()}d.canvas.ctx.closePath(),0<d.particles.shape.stroke.width&&(d.canvas.ctx.strokeStyle=d.particles.shape.stroke.color,d.canvas.ctx.lineWidth=d.particles.shape.stroke.width,d.canvas.ctx.stroke()),d.canvas.ctx.fill()},d.fn.particlesCreate=function(){for(var e=0;e<d.particles.number.value;e++)d.particles.array.push(new d.fn.particle(d.particles.color,d.particles.opacity.value))},d.fn.particlesUpdate=function(){for(var e=0;e<d.particles.array.length;e++){var t=d.particles.array[e],a,a,a;if(d.particles.move.enable&&(a=d.particles.move.speed/2,t.x+=t.vx*a,t.y+=t.vy*a),d.particles.opacity.anim.enable&&(1==t.opacity_status?(t.opacity>=d.particles.opacity.value&&(t.opacity_status=!1),t.opacity+=t.vo):(t.opacity<=d.particles.opacity.anim.opacity_min&&(t.opacity_status=!0),t.opacity-=t.vo),t.opacity<0)&&(t.opacity=0),d.particles.size.anim.enable&&(1==t.size_status?(t.radius>=d.particles.size.value&&(t.size_status=!1),t.radius+=t.vs):(t.radius<=d.particles.size.anim.size_min&&(t.size_status=!0),t.radius-=t.vs),t.radius<0)&&(t.radius=0),a="bounce"==d.particles.move.out_mode?{x_left:t.radius,x_right:d.canvas.w,y_top:t.radius,y_bottom:d.canvas.h}:{x_left:-t.radius,x_right:d.canvas.w+t.radius,y_top:-t.radius,y_bottom:d.canvas.h+t.radius},"bounce"===(t.x-t.radius>d.canvas.w?(t.x=a.x_left,t.y=Math.random()*d.canvas.h):t.x+t.radius<0&&(t.x=a.x_right,t.y=Math.random()*d.canvas.h),t.y-t.radius>d.canvas.h?(t.y=a.y_top,t.x=Math.random()*d.canvas.w):t.y+t.radius<0&&(t.y=a.y_bottom,t.x=Math.random()*d.canvas.w),d.particles.move.out_mode)&&((t.x+t.radius>d.canvas.w||t.x-t.radius<0)&&(t.vx=-t.vx),t.y+t.radius>d.canvas.h||t.y-t.radius<0)&&(t.vy=-t.vy),isInArray("grab",d.interactivity.events.onhover.mode)&&d.fn.modes.grabParticle(t),(isInArray("bubble",d.interactivity.events.onhover.mode)||isInArray("bubble",d.interactivity.events.onclick.mode))&&d.fn.modes.bubbleParticle(t),(isInArray("repulse",d.interactivity.events.onhover.mode)||isInArray("repulse",d.interactivity.events.onclick.mode))&&d.fn.modes.repulseParticle(t),d.particles.line_linked.enable||d.particles.move.attract.enable)for(var i=e+1;i<d.particles.array.length;i++){var n=d.particles.array[i];d.particles.line_linked.enable&&d.fn.interact.linkParticles(t,n),d.particles.move.attract.enable&&d.fn.interact.attractParticles(t,n),d.particles.move.bounce&&d.fn.interact.bounceParticles(t,n)}}},d.fn.particlesDraw=function(){d.canvas.ctx.clearRect(0,0,d.canvas.w,d.canvas.h),d.fn.particlesUpdate();for(var e=0,t;e<d.particles.array.length;e++){d.particles.array[e].draw()}},d.fn.particlesEmpty=function(){d.particles.array=[]}
2,d.fn.particlesRefresh=function(){cancelRequestAnimFrame(d.fn.checkAnimFrame),cancelRequestAnimFrame(d.fn.drawAnimFrame),d.tmp.source_svg=void 0,d.tmp.img_obj=void 0,d.tmp.count_svg=0,d.fn.particlesEmpty(),d.fn.canvasClear(),d.fn.vendors.start()},d.fn.interact.linkParticles=function(e,t){var a=e.x-t.x,i=e.y-t.y,a=Math.sqrt(a*a+i*i),i,a;a<=d.particles.line_linked.distance&&0<(i=d.particles.line_linked.opacity-a/(1/d.particles.line_linked.opacity)/d.particles.line_linked.distance)&&(a=d.particles.line_linked.color_rgb_line,d.canvas.ctx.strokeStyle="rgba("+a.r+","+a.g+","+a.b+","+i+")",d.canvas.ctx.lineWidth=d.particles.line_linked.width,d.canvas.ctx.beginPath(),d.canvas.ctx.moveTo(e.x,e.y),d.canvas.ctx.lineTo(t.x,t.y),d.canvas.ctx.stroke(),d.canvas.ctx.closePath())},d.fn.interact.attractParticles=function(e,t){var a=e.x-t.x,i=e.y-t.y,n,a,i;Math.sqrt(a*a+i*i)<=d.particles.line_linked.distance&&(a=a/(1e3*d.particles.move.attract.rotateX),i=i/(1e3*d.particles.move.attract.rotateY),e.vx-=a,e.vy-=i,t.vx+=a,t.vy+=i)},d.fn.interact.bounceParticles=function(e,t){var a=e.x-t.x,i=e.y-t.y,n,s;Math.sqrt(a*a+i*i)<=e.radius+t.radius&&(e.vx=-e.vx,e.vy=-e.vy,t.vx=-t.vx,t.vy=-t.vy)},d.fn.modes.pushParticles=function(e,t){d.tmp.pushing=!0;for(var a=0;a<e;a++)d.particles.array.push(new d.fn.particle(d.particles.color,d.particles.opacity.value,{x:t?t.pos_x:Math.random()*d.canvas.w,y:t?t.pos_y:Math.random()*d.canvas.h})),a==e-1&&(d.particles.move.enable||d.fn.particlesDraw(),d.tmp.pushing=!1)},d.fn.modes.removeParticles=function(e){d.particles.array.splice(0,e),d.particles.move.enable||d.fn.particlesDraw()},d.fn.modes.bubbleParticle=function(l){function e(){l.opacity_bubble=l.opacity,l.radius_bubble=l.radius}function t(e,t,a,i,n){var s,r,c,o,o,c;e!=t&&(d.tmp.bubble_duration_end?null!=a&&(c=e+(e-(i-p*(i-e)/d.interactivity.modes.bubble.duration)),"size"==n&&(l.radius_bubble=c),"opacity"==n)&&(l.opacity_bubble=c):v<=d.interactivity.modes.bubble.distance?(o=null!=a?a:i)!=e&&(c=i-p*(i-e)/d.interactivity.modes.bubble.duration,"size"==n&&(l.radius_bubble=c),"opacity"==n)&&(l.opacity_bubble=c):("size"==n&&(l.radius_bubble=void 0),"opacity"==n&&(l.opacity_bubble=void 0)))}var a,i,v,n,s,r,s,c,c,a,i,v,p;d.interactivity.events.onhover.enable&&isInArray("bubble",d.interactivity.events.onhover.mode)?(a=l.x-d.interactivity.mouse.pos_x,i=l.y-d.interactivity.mouse.pos_y,n=1-(v=Math.sqrt(a*a+i*i))/d.interactivity.modes.bubble.distance,v<=d.interactivity.modes.bubble.distance?0<=n&&"mousemove"==d.interactivity.status&&(d.interactivity.modes.bubble.size!=d.particles.size.value&&(d.interactivity.modes.bubble.size>d.particles.size.value?0<=(s=l.radius+d.interactivity.modes.bubble.size*n)&&(l.radius_bubble=s):(r=l.radius-d.interactivity.modes.bubble.size,l.radius_bubble=0<(s=l.radius-r*n)?s:0)),d.interactivity.modes.bubble.opacity!=d.particles.opacity.value)&&(d.interactivity.modes.bubble.opacity>d.particles.opacity.value?(c=d.interactivity.modes.bubble.opacity*n)>l.opacity&&c<=d.interactivity.modes.bubble.opacity&&(l.opacity_bubble=c):(c=l.opacity-(d.particles.opacity.value-d.interactivity.modes.bubble.opacity)*n)<l.opacity&&c>=d.interactivity.modes.bubble.opacity&&(l.opacity_bubble=c)):e(),"mouseleave"==d.interactivity.status&&e()):d.interactivity.events.onclick.enable&&isInArray("bubble",d.interactivity.events.onclick.mode)&&(d.tmp.bubble_clicking&&(a=l.x-d.interactivity.mouse.click_pos_x,i=l.y-d.interactivity.mouse.click_pos_y,v=Math.sqrt(a*a+i*i),(p=((new Date).getTime()-d.interactivity.mouse.click_time)/1e3)>d.interactivity.modes.bubble.duration&&(d.tmp.bubble_duration_end=!0),p>2*d.interactivity.modes.bubble.duration)&&(d.tmp.bubble_clicking=!1,d.tmp.bubble_duration_end=!1),d.tmp.bubble_clicking)&&(t(d.interactivity.modes.bubble.size,d.particles.size.value,l.radius_bubble,l.radius,"size"),t(d.interactivity.modes.bubble.opacity,d.particles.opacity.value,l.opacity_bubble,l.opacity,"opacity"))},d.fn.modes.repulseParticle=function(i){function e(){var e=Math.atan2(l,o),t,e,a;i.vx=v*Math.cos(e),i.vy=v*Math.sin(e),"bounce"==d.particles.move.out_mode&&(e=i.x+i.vx,a=i.y+i.vy,(e+i.radius>d.canvas.w||e-i.radius<0)&&(i.vx=-i.vx),a+i.radius>d.canvas.h||a-i.radius<0)&&(i.vy=-i.vy)}var t,a,t,n,s,a,r,c,t,c,r,o,l,s,v;d.interactivity.events.onhover.enable&&isInArray("repulse",d.interactivity.events.onhover.mode)&&"mousemove"==d.interactivity.status?(t=i.x-d.interactivity.mouse.pos_x,a=i.y-d.interactivity.mouse.pos_y,s=t/(t=Math.sqrt(t*t+a*a)),a=a/t,c=100,t=clamp(1/(r=d.interactivity.modes.repulse.distance)*(-1*Math.pow(t/r,2)+1)*r*c,
20,50),c={x:i.x+s*t,y:i.y+a*t},"bounce"==d.particles.move.out_mode?(0<c.x-i.radius&&c.x+i.radius<d.canvas.w&&(i.x=c.x),0<c.y-i.radius&&c.y+i.radius<d.canvas.h&&(i.y=c.y)):(i.x=c.x,i.y=c.y)):d.interactivity.events.onclick.enable&&isInArray("repulse",d.interactivity.events.onclick.mode)&&(d.tmp.repulse_finish||(d.tmp.repulse_count++,d.tmp.repulse_count==d.particles.array.length&&(d.tmp.repulse_finish=!0)),d.tmp.repulse_clicking?(r=Math.pow(d.interactivity.modes.repulse.distance/6,3),o=d.interactivity.mouse.click_pos_x-i.x,l=d.interactivity.mouse.click_pos_y-i.y,v=-r/(s=o*o+l*l)*1,s<=r&&e()):0==d.tmp.repulse_clicking&&(i.vx=i.vx_i,i.vy=i.vy_i))},d.fn.modes.grabParticle=function(e){var t,a,t,a,t;d.interactivity.events.onhover.enable&&"mousemove"==d.interactivity.status&&(t=e.x-d.interactivity.mouse.pos_x,a=e.y-d.interactivity.mouse.pos_y,(t=Math.sqrt(t*t+a*a))<=d.interactivity.modes.grab.distance)&&0<(a=d.interactivity.modes.grab.line_linked.opacity-t/(1/d.interactivity.modes.grab.line_linked.opacity)/d.interactivity.modes.grab.distance)&&(t=d.particles.line_linked.color_rgb_line,d.canvas.ctx.strokeStyle="rgba("+t.r+","+t.g+","+t.b+","+a+")",d.canvas.ctx.lineWidth=d.particles.line_linked.width,d.canvas.ctx.beginPath(),d.canvas.ctx.moveTo(e.x,e.y),d.canvas.ctx.lineTo(d.interactivity.mouse.pos_x,d.interactivity.mouse.pos_y),d.canvas.ctx.stroke(),d.canvas.ctx.closePath())},d.fn.vendors.eventsListeners=function(){"window"==d.interactivity.detect_on?d.interactivity.el=window:d.interactivity.el=d.canvas.el,(d.interactivity.events.onhover.enable||d.interactivity.events.onclick.enable)&&(d.interactivity.el.addEventListener("mousemove",function(e){var t,e,t,e;e=d.interactivity.el==window?(t=e.clientX,e.clientY):(t=e.offsetX||e.clientX,e.offsetY||e.clientY),d.interactivity.mouse.pos_x=t,d.interactivity.mouse.pos_y=e,d.tmp.retina&&(d.interactivity.mouse.pos_x*=d.canvas.pxratio,d.interactivity.mouse.pos_y*=d.canvas.pxratio),d.interactivity.status="mousemove"}),d.interactivity.el.addEventListener("mouseleave",function(e){d.interactivity.mouse.pos_x=null,d.interactivity.mouse.pos_y=null,d.interactivity.status="mouseleave"})),d.interactivity.events.onclick.enable&&d.interactivity.el.addEventListener("click",function(){if(d.interactivity.mouse.click_pos_x=d.interactivity.mouse.pos_x,d.interactivity.mouse.click_pos_y=d.interactivity.mouse.pos_y,d.interactivity.mouse.click_time=(new Date).getTime(),d.interactivity.events.onclick.enable)switch(d.interactivity.events.onclick.mode){case"push":d.particles.move.enable||1==d.interactivity.modes.push.particles_nb?d.fn.modes.pushParticles(d.interactivity.modes.push.particles_nb,d.interactivity.mouse):1<d.interactivity.modes.push.particles_nb&&d.fn.modes.pushParticles(d.interactivity.modes.push.particles_nb);break;case"remove":d.fn.modes.removeParticles(d.interactivity.modes.remove.particles_nb);break;case"bubble":d.tmp.bubble_clicking=!0;break;case"repulse":d.tmp.repulse_clicking=!0,d.tmp.repulse_count=0,d.tmp.repulse_finish=!1,setTimeout(function(){d.tmp.repulse_clicking=!1},1e3*d.interactivity.modes.repulse.duration)}})},d.fn.vendors.densityAutoParticles=function(){var e,e,e;d.particles.number.density.enable&&(e=d.canvas.el.width*d.canvas.el.height/1e3,d.tmp.retina&&(e/=2*d.canvas.pxratio),e=e*d.particles.number.value/d.particles.number.density.value_area,(e=d.particles.array.length-e)<0?d.fn.modes.pushParticles(Math.abs(e)):d.fn.modes.removeParticles(e))},d.fn.vendors.checkOverlap=function(e,t){for(var a=0;a<d.particles.array.length;a++){var i=d.particles.array[a],n=e.x-i.x,s=e.y-i.y,r;Math.sqrt(n*n+s*s)<=e.radius+i.radius&&(e.x=t?t.x:Math.random()*d.canvas.w,e.y=t?t.y:Math.random()*d.canvas.h,d.fn.vendors.checkOverlap(e))}},d.fn.vendors.createSvgImg=function(s){var e,t,a=d.tmp.source_svg.replace(/#([0-9A-F]{3,6})/gi,function(e,t,a,i){var n,n;return n=s.color.rgb?"rgba("+s.color.rgb.r+","+s.color.rgb.g+","+s.color.rgb.b+","+s.opacity+")":"hsla("+s.color.hsl.h+","+s.color.hsl.s+"%,"+s.color.hsl.l+"%,"+s.opacity+")"}),a=new Blob([a],{type:"image/svg+xml;charset=utf-8"}),i=window.URL||window.webkitURL||window,n=i.createObjectURL(a),r=new Image;r.addEventListener("load",function(){s.img.obj=r,s.img.loaded=!0,i.revokeObjectURL(n),d.tmp.count_svg++}),r.src=n},d.fn.vendors.destroypJS=function(){cancelAnimationFrame(d.fn.drawAnimFrame),a.remove(),pJSDom=null},d.fn.vendors.drawShape=function(e,t,a,i,n,s){var r=n*s,n=n/s,c,o=Math.PI-Math.PI*(180*(n-2)/n)/180;e.save(),e.beginPath(),e.translate(t,a),e.moveTo(0,0);for(var l=0;l<r;l++)e.lineTo(i,0),e.translate(i,0),e.rotate(o);
2e.fill(),e.restore()},d.fn.vendors.exportImg=function(){window.open(d.canvas.el.toDataURL("image/png"),"_blank")},d.fn.vendors.loadImg=function(e){var t,a;d.tmp.img_error=void 0,""!=d.particles.shape.image.src?"svg"==e?((t=new XMLHttpRequest).open("GET",d.particles.shape.image.src),t.onreadystatechange=function(e){4==t.readyState&&(200==t.status?(d.tmp.source_svg=e.currentTarget.response,d.fn.vendors.checkBeforeDraw()):(console.log("Error pJS - Image not found"),d.tmp.img_error=!0))},t.send()):((a=new Image).addEventListener("load",function(){d.tmp.img_obj=a,d.fn.vendors.checkBeforeDraw()}),a.src=d.particles.shape.image.src):(console.log("Error pJS - No image.src"),d.tmp.img_error=!0)},d.fn.vendors.draw=function(){"image"==d.particles.shape.type?"svg"==d.tmp.img_type?d.tmp.count_svg>=d.particles.number.value?(d.fn.particlesDraw(),d.particles.move.enable?d.fn.drawAnimFrame=requestAnimFrame(d.fn.vendors.draw):cancelRequestAnimFrame(d.fn.drawAnimFrame)):d.tmp.img_error||(d.fn.drawAnimFrame=requestAnimFrame(d.fn.vendors.draw)):null!=d.tmp.img_obj?(d.fn.particlesDraw(),d.particles.move.enable?d.fn.drawAnimFrame=requestAnimFrame(d.fn.vendors.draw):cancelRequestAnimFrame(d.fn.drawAnimFrame)):d.tmp.img_error||(d.fn.drawAnimFrame=requestAnimFrame(d.fn.vendors.draw)):(d.fn.particlesDraw(),d.particles.move.enable?d.fn.drawAnimFrame=requestAnimFrame(d.fn.vendors.draw):cancelRequestAnimFrame(d.fn.drawAnimFrame))},d.fn.vendors.checkBeforeDraw=function(){"image"==d.particles.shape.type?"svg"==d.tmp.img_type&&null==d.tmp.source_svg?d.tmp.checkAnimFrame=requestAnimFrame(check):(cancelRequestAnimFrame(d.tmp.checkAnimFrame),d.tmp.img_error||(d.fn.vendors.init(),d.fn.vendors.draw())):(d.fn.vendors.init(),d.fn.vendors.draw())},d.fn.vendors.init=function(){d.fn.retinaInit(),d.fn.canvasInit(),d.fn.canvasSize(),d.fn.canvasPaint(),d.fn.particlesCreate(),d.fn.vendors.densityAutoParticles(),d.particles.line_linked.color_rgb_line=hexToRgb(d.particles.line_linked.color)},d.fn.vendors.start=function(){isInArray("image",d.particles.shape.type)?(d.tmp.img_type=d.particles.shape.image.src.substr(d.particles.shape.image.src.length-3),d.fn.vendors.loadImg(d.tmp.img_type)):d.fn.vendors.checkBeforeDraw()},d.fn.vendors.eventsListeners(),d.fn.vendors.start()};Object.deepExtend=function(e,t){for(var a in t)t[a]&&t[a].constructor&&t[a].constructor===Object?(e[a]=e[a]||{},arguments.callee(e[a],t[a])):e[a]=t[a];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.particlesJS=function(e,t){"string"!=typeof e&&(t=e,e="particles-js"),e=e||"particles-js";var a=document.getElementById(e),i="particles-js-canvas-el",n=a.getElementsByClassName(i);if(n.length)for(;0<n.length;)a.removeChild(n[0]);var s=document.createElement("canvas"),r;s.className=i,s.style.width="100%",s.style.height="100%",null!=document.getElementById(e).appendChild(s)&&pJSDom.push(new pJS(e,t))},window.particlesJS.load=function(t,e,a){var i=new XMLHttpRequest;i.open("GET",e),i.onreadystatechange=function(e){var e;4==i.readyState&&(200==i.status?(e=JSON.parse(e.currentTarget.response),window.particlesJS(t,e),a&&a()):(console.log("Error pJS - XMLHttpRequest status: "+i.status),console.log("Error pJS - File config not found")))},i.send()},(t=>{jQuery(document).ready(function(){jQuery("#particles-js").length&&particlesJS("particles-js",{particles:{number:{value:80,density:{enable:!0,value_area:800}},color:{value:"#c3c3c3"},shape:{type:"circle",stroke:{width:0,color:"#000000"},polygon:{nb_sides:5},image:{src:"img/github.svg",width:100,height:100}},opacity:{value:.5,random:!1,anim:{enable:!1,speed:1,opacity_min:.1,sync:!1}},size:{value:3,random:!0,anim:{enable:!1,speed:40,size_min:.1,sync:!1}},line_linked:{enable:!0,distance:150,color:"#afafaf",opacity:.4,width:1},move:{enable:!0,speed:6,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:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:255.80432187492372,line_linked:{opacity:1}},bubble:{distance:400,size:40,duration:2,opacity:8,speed:3},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}}},retina_detect:!0})}),t(".projects-slider").on("hover",".adv-img-double-content",function(){var e=t(this).closest(".projects-slider").find(" > .flexslider");t(e).flexslider(t(this).parent().index())}),t(".projects-slider").on("click",".adv-img-double-content",function(){var e=t(this).find(".btn,.btn-text").attr("href");document.location=e})})(jQuery); 3"use strict"; !function () { function e() { z.keyboardSupport && f("keydown", a) } function t() { if (!A && document.body) { A = !0; var t = document.body, o = document.documentElement, n = window.innerHeight, r = t.scrollHeight; if (B = document.compatMode.indexOf("CSS") >= 0 ? o : t, D = t, e(), top != self) X = !0; else if (r >
3 n && (t.offsetHeight <= n || o.offsetHeight <= n)) { var a = document.createElement("div"); a.style.cssText = "position:absolute; z-index:-10000; top:0; left:0; right:0; height:" + B.scrollHeight + "px", document.body.appendChild(a); var i; T = function () { i || (i = setTimeout(function () { L || (a.style.height = "0", a.style.height = B.scrollHeight + "px", i = null) }, 500)) }, setTimeout(T, 10), f("resize", T); var l = { attributes: !0, childList: !0, characterData: !1 }; if (M = new V(T), M.observe(t, l), B.offsetHeight <= n) { var c = document.createElement("div"); c.style.clear = "both", t.appendChild(c) } } z.fixedBackground || L || (t.style.backgroundAttachment = "scroll", o.style.backgroundAttachment = "scroll") } } function o() { M && M.disconnect(), h(I, r), h("mousedown", i), h("keydown", a), h("resize", T), h("load", t) } function n(e, t, o) { if (p(t, o), 1 != z.accelerationMax) { var n = Date.now(), r = n - R; if (r < z.accelerationDelta) { var a = (1 + 50 / r) / 2; a > 1 && (a = Math.min(a, z.accelerationMax), t *= a, o *= a) } R = Date.now() } if (q.push({ x: t, y: o, lastX: 0 > t ? .99 : -.99, lastY: 0 > o ? .99 : -.99, start: Date.now() }), !P) { var i = e === document.body, l = function () { for (var n = Date.now(), r = 0, a = 0, c = 0; c < q.length; c++) { var u = q[c], d = n - u.start, s = d >= z.animationTime, m = s ? 1 : d / z.animationTime; z.pulseAlgorithm && (m = x(m)); var f = u.x * m - u.lastX >> 0, h = u.y * m - u.lastY >> 0; r += f, a += h, u.lastX += f, u.lastY += h, s && (q.splice(c, 1), c--) } i ? window.scrollBy(r, a) : (r && (e.scrollLeft += r), a && (e.scrollTop += a)), t || o || (q = []), q.length ? _(l, e, 1e3 / z.frameRate + 1) : P = !1 }; _(l, e, 0), P = !0 } } function r(e) { A || t(); var o = e.target, r = u(o); if (!r || e.defaultPrevented || e.ctrlKey) return !0; if (w(D, "embed") || w(o, "embed") && /\.pdf/i.test(o.src) || w(D, "object")) return !0; var a = -e.wheelDeltaX || e.deltaX || 0, i = -e.wheelDeltaY || e.deltaY || 0; return K && (e.wheelDeltaX && b(e.wheelDeltaX, 120) && (a = -120 * (e.wheelDeltaX / Math.abs(e.wheelDeltaX))), e.wheelDeltaY && b(e.wheelDeltaY, 120) && (i = -120 * (e.wheelDeltaY / Math.abs(e.wheelDeltaY)))), a || i || (i = -e.wheelDelta || 0), 1 === e.deltaMode && (a *= 40, i *= 40), !z.touchpadSupport && v(i) ? !0 : (Math.abs(a) > 1.2 && (a *= z.stepSize / 120), Math.abs(i) > 1.2 && (i *= z.stepSize / 120), n(r, a, i), e.preventDefault(), void l()) } function a(e) { var t = e.target, o = e.ctrlKey || e.altKey || e.metaKey || e.shiftKey && e.keyCode !== N.spacebar; document.contains(D) || (D = document.activeElement); var r = /^(textarea|select|embed|object)$/i, a = /^(button|submit|radio|checkbox|file|color|image)$/i; if (r.test(t.nodeName) || w(t, "input") && !a.test(t.type) || w(D, "video") || y(e) || t.isContentEditable || e.defaultPrevented || o) return !0; if ((w(t, "button") || w(t, "input") && a.test(t.type)) && e.keyCode === N.spacebar) return !0; var i, c = 0, d = 0, s = u(D), m = s.clientHeight; switch (s == document.body && (m = window.innerHeight), e.keyCode) { case N.up: d = -z.arrowScroll; break; case N.down: d = z.arrowScroll; break; case N.spacebar: i = e.shiftKey ? 1 : -1, d = -i * m * .9; break; case N.pageup: d = .9 * -m; break; case N.pagedown: d = .9 * m; break; case N.home: d = -s.scrollTop; break; case N.end: var f = s.scrollHeight - s.scrollTop - m; d = f > 0 ? f + 10 : 0; break; case N.left: c = -z.arrowScroll; break; case N.right: c = z.arrowScroll; break; default: return !0 } n(s, c, d), e.preventDefault(), l() } function i(e) { D = e.target } function l() { clearTimeout(E), E = setInterval(function () { F = {} }, 1e3) } function c(e, t) { for (var o = e.length; o--;) F[j(e[o])] = t; return t } function u(e) { var t = [], o = document.body, n = B.scrollHeight; do { var r = F[j(e)]; if (r) return c(t, r); if (t.push(e), n === e.scrollHeight) { var a = s(B) && s(o), i = a || m(B); if (X && d(B) || !X && i) return c(t, $()) } else if (d(e) && m(e)) return c(t, e) } while (e = e.parentElement) } function d(e) { return e.clientHeight + 10 < e.scrollHeight } function s(e) { var t = getComputedStyle(e, "").getPropertyValue("overflow-y"); return "hidden" !== t } function m(e) { var t = getComputedStyle(e, "").getPropertyValue("overflow-y"); return "scroll" === t || "auto" === t } function f(e, t) { window.addEventListener(e, t, !1) } function h(e, t) { window.removeEventListener(e, t, !1) } function w(e, t) { return (e.nodeName || "").toLowerCase() === t.toLowerCase() } function p(e, t) { e = e > 0 ? 1 : -1, t = t > 0 ? 1 : -1, (Y.x !== e || Y.y !== t) && (Y.x = e, Y.y = t, q = [], R = 0) } function v(e) { return e ? (O.length || (O = [e, e, e]), e = Math.abs(e), O.push(e), O.shift(), clearTimeout(H), H = setTimeout(function () { window.localStorage && (localStorage.SS_deltaBuffer = O.join(",")) }, 1e3), !g(120) && !g(100)) : void 0 } function b(e, t) { return Math.floor(e / t) == e / t } function g(e) { return b(O[0], e) && b(O[1], e) && b(O[2], e) } function y(e) { var t = e.target, o = !1; if (-1 != document.URL.indexOf("www.youtube.com/watch")) do if (o = t.classList && t.classList.contains("html5-video-controls")) break; while (t = t.parentNode); return o } function S(e) { var t, o, n; return e *= z.pulseScale, 1 > e ? t = e - (1 - Math.exp(-e)) : (o = Math.exp(-1), e -= 1, n = 1 - Math.exp(-e), t = o + n * (1 - o)), t * z.pulseNormalize } function x(e) { return e >= 1 ? 1 : 0 >= e ? 0 : (1 == z.pulseNormalize && (z.pulseNormalize /= S(1)), S(e)) } function k(e) { for (var t in e) C.hasOwnProperty(t) && (z[t] = e[t]) } var D, M, T, E, H, C = { frameRate: 150, animationTime: 400, stepSize: 100, pulseAlgorithm: !0, pulseScale: 4, pulseNormalize: 1, accelerationDelta: 10, accelerationMax: 3, keyboardSupport: !0, arrowScroll: 50, touchpadSupport: !1, fixedBackgroun
3d: !0, excluded: "" }, z = C, L = !1, X = !1, Y = { x: 0, y: 0 }, A = !1, B = document.documentElement, O = [], K = /^Mac/.test(navigator.platform), N = { left: 37, up: 38, right: 39, down: 40, spacebar: 32, pageup: 33, pagedown: 34, end: 35, home: 36 }, q = [], P = !1, R = Date.now(), j = function () { var e = 0; return function (t) { return t.uniqueID || (t.uniqueID = e++) } }(), F = {}; window.localStorage && localStorage.SS_deltaBuffer && (O = localStorage.SS_deltaBuffer.split(",")); var I, _ = function () { return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function (e, t, o) { window.setTimeout(e, o || 1e3 / 60) } }(), V = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver, $ = function () { var e; return function () { if (!e) { var t = document.createElement("div"); t.style.cssText = "height:10000px;width:1px;", document.body.appendChild(t); { var o = document.body.scrollTop; document.documentElement.scrollTop } window.scrollBy(0, 1), e = document.body.scrollTop != o ? document.body : document.documentElement, window.scrollBy(0, -1), document.body.removeChild(t) } return e } }(), U = window.navigator.userAgent, W = /Edge/.test(U), G = /chrome/i.test(U) && !W, J = /safari/i.test(U) && !W, Q = /mobile/i.test(U), Z = (G || J) && !Q; "onwheel" in document.createElement("div") ? I = "wheel" : "onmousewheel" in document.createElement("div") && (I = "mousewheel"), I && Z && (f(I, r), f("mousedown", i), f("load", t)), k.destroy = o, window.SmoothScrollOptions && k(window.SmoothScrollOptions), "object" == typeof exports ? module.exports = k : window.SmoothScroll = k }(); 4 5(u=>{u.flexslider=function(g,i){var h=u(g),r=(h.vars=u.extend({},u.flexslider.defaults,i),h.vars.namespace),S=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,o=("ontouchstart"in window||S||window.DocumentTouch&&document instanceof DocumentTouch)&&h.vars.touch,s="click touchend MSPointerUp keyup",l="",e,y="vertical"===h.vars.direction,x=h.vars.reverse,b=0<h.vars.itemWidth,T="fade"===h.vars.animation,c=""!==h.vars.asNavFor,d={},t=!0;u.data(g,"flexslider",h),d={init:function(){h.animating=!1,h.currentSlide=parseInt(h.vars.startAt||0,10),isNaN(h.currentSlide)&&(h.currentSlide=0),h.animatingTo=h.currentSlide,h.atEnd=0===h.currentSlide||h.currentSlide===h.last,h.containerSelector=h.vars.selector.substr(0,h.vars.selector.search(" ")),h.slides=u(h.vars.selector,h),h.container=u(h.containerSelector,h),h.count=h.slides.length,h.syncExists=0<u(h.vars.sync).length,"slide"===h.vars.animation&&(h.vars.animation="swing"),h.prop=y?"top":"marginLeft",h.args={},h.manualPause=!1,h.stopped=!1,h.started=!1,h.startTimeout=null,h.transitions=!h.vars.video&&!T&&h.vars.useCSS&&(()=>{var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"],a;for(a in t)if(void 0!==e.style[t[a]])return h.pfx=t[a].replace("Perspective","").toLowerCase(),h.prop="-"+h.pfx+"-transform",!0;return!1})(),(h.ensureAnimationEnd="")!==h.vars.controlsContainer&&(h.controlsContainer=0<u(h.vars.controlsContainer).length&&u(h.vars.controlsContainer)),""!==h.vars.manualControls&&(h.manualControls=0<u(h.vars.manualControls).length&&u(h.vars.manualControls)),""!==h.vars.customDirectionNav&&(h.customDirectionNav=2===u(h.vars.customDirectionNav).length&&u(h.vars.customDirectionNav)),h.vars.randomize&&(h.slides.sort(function(){return Math.round(Math.random())-.5}),h.container.empty().append(h.slides)),h.doMath(),h.setup("init"),h.vars.controlNav&&d.controlNav.setup(),h.vars.directionNav&&d.directionNav.setup(),h.vars.keyboard&&(1===u(h.containerSelector).length||h.vars.multipleKeyboard)&&u(document).bind("keyup",function(e){var e=e.keyCode,e;h.animating||39!==e&&37!==e||(e=39===e?h.getTarget("next"):37===e&&h.getTarget("prev"),h.flexAnimate(e,h.vars.pauseOnAction))}),h.vars.mousewheel&&h.bind("mousewheel",function(e,t){e.preventDefault();var e=t<0?h.getTarget("next"):h.getTarget("prev");h.flexAnimate(e,h.vars.pauseOnAction)}),h.vars.pausePlay&&d.pausePlay.setup(),h.vars.slideshow&&h.vars.pauseInvisible&&d.pauseInvisible.init(
5),h.vars.slideshow&&(h.vars.pauseOnHover&&h.hover(function(){h.manualPlay||h.manualPause||h.pause()},function(){h.manualPause||h.manualPlay||h.stopped||h.play()}),h.vars.pauseInvisible&&d.pauseInvisible.isHidden()||(0<h.vars.initDelay?h.startTimeout=setTimeout(h.play,h.vars.initDelay):h.play())),c&&d.asNav.setup(),o&&h.vars.touch&&d.touch(),T&&!h.vars.smoothHeight||u(window).bind("resize orientationchange focus",d.resize),h.find("img").attr("draggable","false"),setTimeout(function(){h.vars.start(h)},200)},asNav:{setup:function(){h.asNav=!0,h.animatingTo=Math.floor(h.currentSlide/h.move),h.currentItem=h.currentSlide,h.slides.removeClass(r+"active-slide").eq(h.currentItem).addClass(r+"active-slide"),S?(g._slider=h).slides.each(function(){var e=this;e._gesture=new MSGesture,(e._gesture.target=e).addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),e.addEventListener("MSGestureTap",function(e){e.preventDefault();var e=u(this),t=e.index();u(h.vars.asNavFor).data("flexslider").animating||e.hasClass("active")||(h.direction=h.currentItem<t?"next":"prev",h.flexAnimate(t,h.vars.pauseOnAction,!1,!0,!0))})}):h.slides.on(s,function(e){e.preventDefault();var e=u(this),t=e.index(),a;e.offset().left-u(h).scrollLeft()<=0&&e.hasClass(r+"active-slide")?h.flexAnimate(h.getTarget("prev"),!0):u(h.vars.asNavFor).data("flexslider").animating||e.hasClass(r+"active-slide")||(h.direction=h.currentItem<t?"next":"prev",h.flexAnimate(t,h.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){h.manualControls?d.controlNav.setupManual():d.controlNav.setupPaging()},setupPaging:function(){var e="thumbnails"===h.vars.controlNav?"control-thumbs":"control-paging",t=1,a,n,i,n;if(h.controlNavScaffold=u('<ol class="'+r+"control-nav "+r+e+'"></ol>'),1<h.pagingCount)for(i=0;i<h.pagingCount;i++)n=h.slides.eq(i),a="thumbnails"===h.vars.controlNav?'<img src="'+n.attr("data-thumb")+'"/>':"<a>"+t+"</a>","thumbnails"===h.vars.controlNav&&!0===h.vars.thumbCaptions&&""!==(n=n.attr("data-thumbcaption"))&&void 0!==n&&(a+='<span class="'+r+'caption">'+n+"</span>"),h.controlNavScaffold.append("<li>"+a+"</li>"),t++;(h.controlsContainer?u(h.controlsContainer):h).append(h.controlNavScaffold),d.controlNav.set(),d.controlNav.active(),h.controlNavScaffold.delegate("a, img",s,function(e){var t,a;e.preventDefault(),""!==l&&l!==e.type||(t=u(this),a=h.controlNav.index(t),t.hasClass(r+"active"))||(h.direction=a>h.currentSlide?"next":"prev",h.flexAnimate(a,h.vars.pauseOnAction)),""===l&&(l=e.type),d.setToClearWatchedEvent()})},setupManual:function(){h.controlNav=h.manualControls,d.controlNav.active(),h.controlNav.bind(s,function(e){var t,a;e.preventDefault(),""!==l&&l!==e.type||(t=u(this),a=h.controlNav.index(t),t.hasClass(r+"active"))||(h.direction=a>h.currentSlide?"next":"prev",h.flexAnimate(a,h.vars.pauseOnAction)),""===l&&(l=e.type),d.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===h.vars.controlNav?"img":"a";h.controlNav=u("."+r+"control-nav li "+e,h.controlsContainer||h)},active:function(){h.controlNav.removeClass(r+"active").eq(h.animatingTo).addClass(r+"active")},update:function(e,t){1<h.pagingCount&&"add"===e?h.controlNavScaffold.append(u("<li><a>"+h.count+"</a></li>")):(1===h.pagingCount?h.controlNavScaffold.find("li"):h.controlNav.eq(t).closest("li")).remove(),d.controlNav.set(),1<h.pagingCount&&h.pagingCount!==h.controlNav.length?h.update(t,e):d.controlNav.active()}},directionNav:{setup:function(){var e=u('<ul class="'+r+'direction-nav"><li class="'+r+'nav-prev"><a class="'+r+'prev" href="#">'+h.vars.prevText+'</a></li><li class="'+r+'nav-next"><a class="'+r+'next" href="#">'+h.vars.nextText+"</a></li></ul>");h.customDirectionNav?h.directionNav=h.customDirectionNav:h.controlsContainer?(u(h.controlsContainer).append(e),h.directionNav=u("."+r+"direction-nav li a",h.controlsContainer)):(h.append(e),h.directionNav=u("."+r+"direction-nav li a",h)),d.directionNav.update(),h.directionNav.bind(s,function(e){var t;e.preventDefault(),""!==l&&l!==e.type||(t=u(this).hasClass(r+"next")?h.getTarget("next"):h.getTarget("prev"),h.flexAnimate(t,h.vars.pauseOnAction)),""===l&&(l=e.type),d.setToClearWatchedEvent()})},update:function(){var e=r+"disabled";1===h.pagingCount?h.directionNav.addClass(e).attr("tabindex","-1"):h.vars.animationLoop?h.directionNav.removeClass(e).removeAttr("tabindex"):0===
5h.animatingTo?h.directionNav.removeClass(e).filter("."+r+"prev").addClass(e).attr("tabindex","-1"):h.animatingTo===h.last?h.directionNav.removeClass(e).filter("."+r+"next").addClass(e).attr("tabindex","-1"):h.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=u('<div class="'+r+'pauseplay"><a></a></div>');h.controlsContainer?(h.controlsContainer.append(e),h.pausePlay=u("."+r+"pauseplay a",h.controlsContainer)):(h.append(e),h.pausePlay=u("."+r+"pauseplay a",h)),d.pausePlay.update(h.vars.slideshow?r+"pause":r+"play"),h.pausePlay.bind(s,function(e){e.preventDefault(),""!==l&&l!==e.type||(u(this).hasClass(r+"pause")?(h.manualPause=!0,h.manualPlay=!1,h.pause()):(h.manualPause=!1,h.manualPlay=!0,h.play())),""===l&&(l=e.type),d.setToClearWatchedEvent()})},update:function(e){"play"===e?h.pausePlay.removeClass(r+"pause").addClass(r+"play").html(h.vars.playText):h.pausePlay.removeClass(r+"play").addClass(r+"pause").html(h.vars.pauseText)}},touch:function(){var n,i,s,r,o,l,e,a,c,d=!1,t=0,u=0,v=0;function p(e){e.stopPropagation(),h.animating?e.preventDefault():(h.pause(),g._gesture.addPointer(e.pointerId),v=0,r=y?h.h:h.w,l=Number(new Date),s=b&&x&&h.animatingTo===h.last?0:b&&x?h.limit-(h.itemW+h.vars.itemMargin)*h.move*h.animatingTo:b&&h.currentSlide===h.last?h.limit:b?(h.itemW+h.vars.itemMargin)*h.move*h.currentSlide:x?(h.last-h.currentSlide+h.cloneOffset)*r:(h.currentSlide+h.cloneOffset)*r)}function m(e){var t,a,n;e.stopPropagation(),(t=e.target._slider)&&(a=-e.translationX,n=-e.translationY,o=v+=y?n:a,d=y?Math.abs(v)<Math.abs(-a):Math.abs(v)<Math.abs(-n),e.detail===e.MSGESTURE_FLAG_INERTIA?setImmediate(function(){g._gesture.stop()}):(!d||500<Number(new Date)-l)&&(e.preventDefault(),!T)&&t.transitions&&(t.vars.animationLoop||(o=v/(0===t.currentSlide&&v<0||t.currentSlide===t.last&&0<v?Math.abs(v)/r+2:1)),t.setProps(s+o,"setTouch")))}function f(e){var e,t,a;e.stopPropagation(),(e=e.target._slider)&&(e.animatingTo!==e.currentSlide||d||null===o||(a=0<(t=x?-o:o)?e.getTarget("next"):e.getTarget("prev"),e.canAdvance(a)&&(Number(new Date)-l<550&&50<Math.abs(t)||Math.abs(t)>r/2)?e.flexAnimate(a,e.vars.pauseOnAction):T||e.flexAnimate(e.currentSlide,e.vars.pauseOnAction,!0)),s=o=i=n=null,v=0)}S?(g.style.msTouchAction="none",g._gesture=new MSGesture,(g._gesture.target=g).addEventListener("MSPointerDown",p,!1),g._slider=h,g.addEventListener("MSGestureChange",m,!1),g.addEventListener("MSGestureEnd",f,!1)):(a=function(e){t=e.touches[0].pageX,u=e.touches[0].pageY,o=y?n-u:n-t,(!(d=y?Math.abs(o)<Math.abs(t-i):Math.abs(o)<Math.abs(u-i))||500<Number(new Date)-l)&&(e.preventDefault(),!T)&&h.transitions&&(h.vars.animationLoop||(o/=0===h.currentSlide&&o<0||h.currentSlide===h.last&&0<o?Math.abs(o)/r+2:1),h.setProps(s+o,"setTouch"))},c=function(){var e,t;g.removeEventListener("touchmove",a,!1),h.animatingTo!==h.currentSlide||d||null===o||(t=0<(e=x?-o:o)?h.getTarget("next"):h.getTarget("prev"),h.canAdvance(t)&&(Number(new Date)-l<550&&50<Math.abs(e)||Math.abs(e)>r/2)?h.flexAnimate(t,h.vars.pauseOnAction):T||h.flexAnimate(h.currentSlide,h.vars.pauseOnAction,!0)),g.removeEventListener("touchend",c,!1),s=o=i=n=null},g.addEventListener("touchstart",e=function(e){h.animating?e.preventDefault():!window.navigator.msPointerEnabled&&1!==e.touches.length||(h.pause(),r=y?h.h:h.w,l=Number(new Date),t=e.touches[0].pageX,u=e.touches[0].pageY,s=b&&x&&h.animatingTo===h.last?0:b&&x?h.limit-(h.itemW+h.vars.itemMargin)*h.move*h.animatingTo:b&&h.currentSlide===h.last?h.limit:b?(h.itemW+h.vars.itemMargin)*h.move*h.currentSlide:x?(h.last-h.currentSlide+h.cloneOffset)*r:(h.currentSlide+h.cloneOffset)*r,n=y?u:t,i=y?t:u,g.addEventListener("touchmove",a,!1),g.addEventListener("touchend",c,!1))},!1))},resize:function(){!h.animating&&h.is(":visible")&&(b||h.doMath(),T?d.smoothHeight():b?(h.slides.width(h.computedW),h.update(h.pagingCount),h.setProps()):y?(h.viewport.height(h.h),h.setProps(h.h,"setTotal")):(h.vars.smoothHeight&&d.smoothHeight(),h.newSlides.width(h.computedW),h.setProps(h.computedW,"setTotal")))},smoothHeight:function(e){var t;y&&!T||(t=T?h:h.viewport,e?t.animate({height:h.slides.eq(h.animatingTo).height()},e):t.height(h.slides.eq(h.animatingTo).height()))},sync:function(e){var t=u(h.vars.sync).data("flexslider"),a=h.animatingTo;switch(e){case"animate":t.flexAnimate(a,h.vars.pauseOnAction,!1,!0);break;case"play":t.playing||t.asNav||t.play();break;case"pause":t.pause()}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each(function(){var e=u(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var e=d.pauseInvisible.getHiddenProp(),e;e&&(e=e.replace(/[H|h]idden/,"")+"visibilitychange",document.addEventListener(e,function(){d.pauseInvisible.isHidden()?h.startTimeout?clearTimeout(h.startTimeout):h.pause():!h.started&&0<h.vars.initDelay?setTimeout(h.play,h.vars.initDelay):h.play()}))},isHidden:function(){var e=d.pauseInvisible.getHiddenProp();return!!e&&document[e]},getHiddenProp:function(){var e=["webkit","moz","ms","o"],t;if("hidden"in document)return"hidden";for(t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(e),e=setTimeout(function(){l=""},3e3)}},h.flexAnimate=function(e,t,a,n,i){var a,s,n,t,a;if(h.vars.animationLoop||e===h.currentSlide||(h.direction=e>h.currentSlide?"next":"prev"),c&&1===h.pagingCount&&(h.direction=h.currentItem<e?"next":"prev"),!h.animating&&(h.canAdvance(e,i)||a)&&h.is(":visible")){if(c&&n){if
5(a=u(h.vars.asNavFor).data("flexslider"),h.atEnd=0===e||e===h.count-1,a.flexAnimate(e,!0,!1,!0,i),h.direction=h.currentItem<e?"next":"prev",a.direction=h.direction,Math.ceil((e+1)/h.visible)-1===h.currentSlide||0===e)return h.currentItem=e,h.slides.removeClass(r+"active-slide").eq(e).addClass(r+"active-slide"),!1;h.currentItem=e,h.slides.removeClass(r+"active-slide").eq(e).addClass(r+"active-slide"),e=Math.floor(e/h.visible)}h.animating=!0,h.animatingTo=e,t&&h.pause(),h.vars.before(h),h.syncExists&&!i&&d.sync("animate"),h.vars.controlNav&&d.controlNav.active(),b||h.slides.removeClass(r+"active-slide").eq(e).addClass(r+"active-slide"),h.atEnd=0===e||e===h.last,h.vars.directionNav&&d.directionNav.update(),e===h.last&&(h.vars.end(h),h.vars.animationLoop||h.pause()),T?o?(h.slides.eq(h.currentSlide).css({opacity:0,zIndex:1}),h.slides.eq(e).css({opacity:1,zIndex:2}),h.wrapup(s)):(h.slides.eq(h.currentSlide).css({zIndex:1}).animate({opacity:0},h.vars.animationSpeed,h.vars.easing),h.slides.eq(e).css({zIndex:2}).animate({opacity:1},h.vars.animationSpeed,h.vars.easing,h.wrapup)):(s=y?h.slides.filter(":first").height():h.computedW,t=b?(n=h.vars.itemMargin,(a=(h.itemW+n)*h.move*h.animatingTo)>h.limit&&1!==h.visible?h.limit:a):0===h.currentSlide&&e===h.count-1&&h.vars.animationLoop&&"next"!==h.direction?x?(h.count+h.cloneOffset)*s:0:h.currentSlide===h.last&&0===e&&h.vars.animationLoop&&"prev"!==h.direction?x?0:(h.count+1)*s:x?(h.count-1-e+h.cloneOffset)*s:(e+h.cloneOffset)*s,h.setProps(t,"",h.vars.animationSpeed),h.transitions?(h.vars.animationLoop&&h.atEnd||(h.animating=!1,h.currentSlide=h.animatingTo),h.container.unbind("webkitTransitionEnd transitionend"),h.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(h.ensureAnimationEnd),h.wrapup(s)}),clearTimeout(h.ensureAnimationEnd),h.ensureAnimationEnd=setTimeout(function(){h.wrapup(s)},h.vars.animationSpeed+100)):h.container.animate(h.args,h.vars.animationSpeed,h.vars.easing,function(){h.wrapup(s)})),h.vars.smoothHeight&&d.smoothHeight(h.vars.animationSpeed)}},h.wrapup=function(e){T||b||(0===h.currentSlide&&h.animatingTo===h.last&&h.vars.animationLoop?h.setProps(e,"jumpEnd"):h.currentSlide===h.last&&0===h.animatingTo&&h.vars.animationLoop&&h.setProps(e,"jumpStart")),h.animating=!1,h.currentSlide=h.animatingTo,h.vars.after(h)},h.animateSlides=function(){h.animating||h.flexAnimate(h.getTarget("next"))},h.pause=function(){clearInterval(h.animatedSlides),h.animatedSlides=null,h.playing=!1,h.vars.pausePlay&&d.pausePlay.update("play"),h.syncExists&&d.sync("pause")},h.play=function(){h.playing&&clearInterval(h.animatedSlides),h.animatedSlides=h.animatedSlides||setInterval(h.animateSlides,h.vars.slideshowSpeed),h.started=h.playing=!0,h.vars.pausePlay&&d.pausePlay.update("pause"),h.syncExists&&d.sync("play")},h.stop=function(){h.pause(),h.stopped=!0},h.canAdvance=function(e,t){var a=c?h.pagingCount-1:h.last;return!!t||c&&h.currentItem===h.count-1&&0===e&&"prev"===h.direction||!(c&&0===h.currentItem&&e===h.pagingCount-1&&"next"!==h.direction||e===h.currentSlide&&!c||!h.vars.animationLoop&&(h.atEnd&&0===h.currentSlide&&e===a&&"next"!==h.direction||h.atEnd&&h.currentSlide===a&&0===e&&"next"===h.direction))},h.getTarget=function(e){return"next"===(h.direction=e)?h.currentSlide===h.last?0:h.currentSlide+1:0===h.currentSlide?h.last:h.currentSlide-1},h.setProps=function(e,t,a){var n=(i=e||(h.itemW+h.vars.itemMargin)*h.move*h.animatingTo,n=(()=>{if(b)return"setTouch"===t?e:x&&h.animatingTo===h.last?0:x?h.limit-(h.itemW+h.vars.itemMargin)*h.move*h.animatingTo:h.animatingTo===h.last?h.limit:i;switch(t){case"setTotal":return x?(h.count-1-h.currentSlide+h.cloneOffset)*e:(h.currentSlide+h.cloneOffset)*e;case"setTouch":return e;case"jumpEnd":return x?e:h.count*e;case"jumpStart":return x?h.count*e:e;default:return e}})(),-1*Math.floor(n)+"px"),i,n;h.transitions&&(n=y?"translate3d(0,"+n+",0)":"translate3d("+n+",0,0)",h.container.css("-"+h.pfx+"-transition-duration",a=void 0!==a?a/1e3+"s":"0s"),h.container.css("transition-duration",a)),h.args[h.prop]=n,!h.transitions&&void 0!==a||h.container.css(h.args),h.container.css("transform",n)},h.setup=function(e){var t,a;T?(h.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===e&&(o?h.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+h.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(h.currentSlide).css({opacity:1,zIndex:2}):0==h.vars.fadeFirstSlide?h.slides.css({opacity:0,display:"block",zIndex:1}).eq(h.currentSlide).css({zIndex:2}).css({opacity:1}):h.slides.css({opacity:0,display:"block",zIndex:1}).eq(h.currentSlide).css({zIndex:2}).animate({opacity:1},h.vars.animationSpeed,h.vars.easing)),h.vars.smoothHeight&&d.smoothHeight()):("init"===e&&(h.viewport=u('<div class="'+r+'viewport"></div>').css({overflow:"hidden",position:"relative"}
5).appendTo(h).append(h.container),h.cloneCount=0,h.cloneOffset=0,x)&&(a=u.makeArray(h.slides).reverse(),h.slides=u(a),h.container.empty().append(h.slides)),h.vars.animationLoop&&!b&&(h.cloneCount=2,h.cloneOffset=1,"init"!==e&&h.container.find(".clone").remove(),h.container.append(d.uniqueID(h.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(d.uniqueID(h.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),h.newSlides=u(h.vars.selector,h),t=x?h.count-1-h.currentSlide+h.cloneOffset:h.currentSlide+h.cloneOffset,y&&!b?(h.container.height(200*(h.count+h.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){h.newSlides.css({display:"block"}),h.doMath(),h.viewport.height(h.h),h.setProps(t*h.h,"init")},"init"===e?100:0)):(h.container.width(200*(h.count+h.cloneCount)+"%"),h.setProps(t*h.computedW,"init"),setTimeout(function(){h.doMath(),h.newSlides.css({width:h.computedW,float:"left",display:"block"}),h.vars.smoothHeight&&d.smoothHeight()},"init"===e?100:0))),b||h.slides.removeClass(r+"active-slide").eq(h.currentSlide).addClass(r+"active-slide"),h.vars.init(h)},h.doMath=function(){var e=h.slides.first(),t=h.vars.itemMargin,a=h.vars.minItems,n=h.vars.maxItems;h.w=(void 0===h.viewport?h:h.viewport).width(),h.h=e.height(),h.boxPadding=e.outerWidth()-e.width(),b?(h.itemT=h.vars.itemWidth+t,h.minW=a?a*h.itemT:h.w,h.maxW=n?n*h.itemT-t:h.w,h.itemW=h.minW>h.w?(h.w-t*(a-1))/a:h.maxW<h.w?(h.w-t*(n-1))/n:h.vars.itemWidth>h.w?h.w:h.vars.itemWidth,h.visible=i.numItems,h.move=0<h.vars.move&&h.vars.move<h.visible?h.vars.move:h.visible,h.pagingCount=Math.ceil((h.count-h.visible)/h.move)+1,h.last=h.pagingCount-1,h.limit=1===h.pagingCount?0:h.vars.itemWidth>h.w?h.itemW*(h.count-1)+t*(h.count-1):(h.itemW+t)*h.count-h.w-t):(h.itemW=h.w,h.pagingCount=h.count,h.last=h.count-1),h.computedW=h.itemW-h.boxPadding},h.update=function(e,t){h.doMath(),b||(e<h.currentSlide?h.currentSlide+=1:e<=h.currentSlide&&0!==e&&--h.currentSlide,h.animatingTo=h.currentSlide),h.vars.controlNav&&!h.manualControls&&("add"===t&&!b||h.pagingCount>h.controlNav.length?d.controlNav.update("add"):("remove"===t&&!b||h.pagingCount<h.controlNav.length)&&(b&&h.currentSlide>h.last&&(--h.currentSlide,--h.animatingTo),d.controlNav.update("remove",h.last))),h.vars.directionNav&&d.directionNav.update()},h.addSlide=function(e,t){var e=u(e);h.count+=1,h.last=h.count-1,y&&x?void 0!==t?h.slides.eq(h.count-t).after(e):h.container.prepend(e):void 0!==t?h.slides.eq(t).before(e):h.container.append(e),h.update(t,"add"),h.slides=u(h.vars.selector+":not(.clone)",h),h.setup(),h.vars.added(h)},h.removeSlide=function(e){var t=isNaN(e)?h.slides.index(u(e)):e;--h.count,h.last=h.count-1,(isNaN(e)?u(e,h.slides):y&&x?h.slides.eq(h.last):h.slides.eq(e)).remove(),h.doMath(),h.update(t,"remove"),h.slides=u(h.vars.selector+":not(.clone)",h),h.setup(),h.vars.removed(h)},d.init()},u(window).blur(function(){focused=!1}).focus(function(){focused=!0}),u.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,numItems:1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"",nextText:"",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},u.fn.flexslider=function(a){if("object"==typeof(a=void 0===a?{}:a))return this.each(function(){var e=u(this),t=a.selector||".slides > li",t=e.find(t);1===t.length&&!0===a.allowOneSlide||0===t.length?(t.fadeIn(400),a.start&&a.start(e)):void 0===e.data("flexslider")&&new u.flexslider(this,a)});var e=u(this).data("flexslider");switch(a){case"play":e.play();break;case"pause":e.pause();break;case"stop":e.stop();break;case"next":e.flexAnimate(e.getTarget("next"),!0);break;case"prev":case"previous":e.flexAnimate(e.getTarget("prev"),!0);break;default:"number"==typeof a&&e.flexAnimate(a,!0)}}})(jQuery); 6/* 7* =========================================================== 8* GOOGLE MAPS - FRAMEWORK Y 9* =========================================================== 10* Google Maps script for show Google maps in different ways
11* The script require maps.googleapis.com/maps/api/js script 12* Documentation: www.framework-y.com/components/components.html#google-maps 13* 14* Schiocco - Copyright (c) Federico Schiocchet - Schiocco - Framework Y 15*/ 16 17"use strict"; 18(function ($) { 19 $.fn.googleMap = function (n) { 20 if ($(this).attr("data-trigger") != "initialized") { 21 var arrGmap = getAttrs(this); 22 if (isEmpty(arrGmap["coords"])) { 23 initializeGMapByAdress(this); 24 } else initializeGMap(this); 25 $(this).attr("data-trigger", "initialized"); 26 } 27 }; 28 function getAttrs(obj) { 29 var arrGmap = {}; 30 arrGmap["coords"] = $(obj).attr("data-coords"); 31 arrGmap["address"] = $(obj).attr("data-address"); 32 arrGmap["marker"] = $(obj).attr("data-marker"); 33 arrGmap["marker-pos"] = $(obj).attr("data-marker-pos"); 34 arrGmap["marker-pos-top"] = $(obj).attr("data-marker-pos-top"); 35 arrGmap["marker-pos-left"] = $(obj).attr("data-marker-pos-left"); 36 arrGmap["skin"] = $(obj).attr("data-skin"); 37 arrGmap["zoom"] = $(obj).attr("data-zoom"); 38 if (isEmpty(arrGmap["zoom"])) arrGmap["zoom"] = 12; 39 if (isEmpty(arrGmap["marker-pos-top"])) arrGmap["marker-pos-top"] = 0; 40 if (isEmpty(arrGmap["marker-pos-left"])) arrGmap["marker-pos-left"] = 0; 41 return arrGmap; 42 } 43 function initializeGMap(obj) { 44 var arrGmap = getAttrs(obj); 45 var cx = parseFloat(arrGmap["coords"].split(",")[0]); 46 var cy = parseFloat(arrGmap["coords"].split(",")[1]); 47 var geocoder, GMap; 48 geocoder = new google.maps.Geocoder(); 49 var latlng = new google.maps.LatLng(cx, cy); 50 var mapOptions = { 51 zoom: parseInt(arrGmap["zoom"], 10), 52 scrollwheel: false, 53 center: latlng 54 } 55 GMap = new google.maps.Map(obj.get(0), mapOptions); 56 if (!isEmpty(arrGmap["skin"])) GMap.setOptions({ styles: arrSkins[arrGmap["skin"]] }); 57 var arrMarker = { 58 position: latlng, 59 map: GMap, 60 }; 61 if (!isEmpty(arrGmap["marker"])) arrMarker = { position: latlng, map: GMap, icon: arrGmap["marker"] }; 62 var marker = new google.maps.Marker(arrMarker); 63 64 var x = 0 - arrGmap["marker-pos-left"]; 65 var y = 0 - arrGmap["marker-pos-top"]; 66 var w = $(window).width(); 67 if (!isEmpty(arrGmap["marker-pos"]) && w > 993) { 68 var p = arrGmap["marker-pos"]; 69 if (p == 'col-md-6-right') x = x - 1 * $(".col-md-6").outerWidth() / 2; 70 else if (p == 'col-md-6-left') x = x + $(".col-md-6").outerWidth() / 2; 71 else if (p == 'center-bottom') y = y - 1 * $(obj).outerHeight() / 4 - 30; 72 else if (p == 'center-top') y = y + $(obj).outerHeight() / 2 - 60; 73 } 74 if (w < 994) x = 0; 75 if (w > 993 || isEmpty(p)) GMap.panBy(x, y); 76 } 77 function initializeGMapByAdress(obj) { 78 var arrGmap = getAttrs(obj); 79 var geocoder; 80 geocoder = new google.maps.Geocoder(); 81 geocoder.geocode({ 'address': arrGmap["address"] }, function (results, status) { 82 if (status == google.maps.GeocoderStatus.OK) { 83 $(obj).attr("data-coords", results[0].geometry.location.lat() + "," + results[0].geometry.location.lng()); 84 initializeGMap(obj); 85 } 86 }); 87 } 88 $(document).ready(function () { 89 $(".google-map").each(function (index) { 90 if ($(this).attr("data-trigger") != "manual") $(this).googleMap(); 91 }); 92 }); 93 var arrSkins = { 94 "gray": [{ "featureType": "water", "elementType": "geometry", "stylers": [{ "color": "#e9e9e9" }, { "lightness": 17 }] }, { "featureType": "landscape", "elementType": "geometry", "stylers": [{ "color": "#f5f5f5" }, { "lightness": 20 }] }, { "featureType": "road.highway", "elementType": "geometry.fill", "stylers": [{ "color": "#ffffff" }, { "lightness": 17 }] }, { "featureType": "road.highway", "elementType": "geometry.stroke", "stylers": [{ "color": "#ffffff" }, { "lightness": 29 }, { "weight": 0.2 }] }, { "featureType": "road.arterial", "elementType": "geometry", "stylers": [{ "color": "#ffffff" }, { "lightness": 18 }] }, { "featureType": "road.local", "elementType": "geometry", "stylers": [{ "color": "#ffffff" }, { "lightness": 16 }] }, { "featureType": "poi", "elementType": "geometry", "stylers": [{ "color": "#f5f5f5" }, { "lightness": 21 }] }, { "featureType": "poi.park", "elementType": "geometry", "stylers": [{ "color": "#dedede" }, { "lightness": 21 }] }, { "elementType": "labels.text.stroke", "stylers": [{ "visibility": "on" }, { "color": "#ffffff" }, { "lightness": 16 }] }, { "elementType": "labels.text.fill", "stylers": [{ "saturation": 36 }, { "color": "#333333" }, { "lightness": 40 }] }, { "elementType": "labels.icon", "stylers": [{ "visibility": "off" }] }, { "featureType": "transit", "elementType": "geometry", "stylers": [{ "color": "#f2f2f2" }, { "lightness": 19 }] }, { "featureType": "administrative", "elementType": "geometry.fill", "stylers": [{ "color": "#fefefe" }, { "lightness": 20 }] }, { "featureType": "administrative", "elementType": "geometry.stroke", "stylers": [{ "color": "#fefefe" }, { "lightness": 17 }, { "weight": 1.2 }] }], 95 "black": [{ "featureType": "all", "elementType": "labels.text.fill", "stylers": [{ "saturation": 36 }, { "color": "#000000" }, { "lightness": 40 }] }, { "featureType": "all", "elementType": "labels.text.stroke", "stylers": [{ "visibility": "on" }, { "color": "#000000" }, { "lightness": 16 }] }, { "featureType": "all", "elementType": "labels.icon", "stylers": [{ "visibility": "off" }] }, { "featureType": "administrative", "elementType": "geometry.fill", "stylers": [{ "color": "#000000" }, { "lightness": 20 }] }, { "featureType": "administrative", "elementType": "geometry.stroke", "stylers": [{ "color": "#000000" }, { "lightness": 17 }, { "weight": 1.2 }] }, { "featureType": "landscape", "elementType": "geometry", "stylers": [{ "color": "#000000" }, { "lightness": 20 }] }, { "featureType": "poi", "elementType": "geometry", "stylers": [{ "color": "#000000" }, { "lightness": 21 }] }, { "featureType": "road.highway", "elementType": "geometry.fill", "stylers": [{ "color": "#000000" }, { "lightness": 17 }] }, { "featureType": "road.highway", "elementType": "geometry.stroke", "stylers": [{ "color": "#000000" }, { "lightness": 29 }, { "weight": 0.2 }] }, { "featureType": "road.arterial", "elementType": "geometry", "stylers": [{ "color": "#000000" }, { "lightness": 18 }] }, { "featureType": "road.local", "elementType": "geometry", "stylers": [{ "color": "#000000" }, { "lightness": 16 }] }, { "featureType": "transit", "elementType": "geometry", "stylers": [{ "color": "#000000" }, { "lightness": 19 }] }, { "featureType": "water", "elementType": "geometry", "stylers": [{ "color": "#000000" }, { "lightness": 17 }] }], 96 "green": [{ "featureType": "all", "elementType": "geometry.fill", "stylers": [{ "weight": "2.00" }] }, { "featureType": "all", "elementType": "geometry.stroke", "stylers": [{ "color": "#9c9c9c" }] }, { "featureType": "all", "elementType": "labels.text", "stylers": [{ "visibility": "on" }] }, { "featureType": "landscape", "elementType": "all", "stylers": [{ "color": "#f2f2f2" }] }, { "featureType": "landscape", "elementType": "geometry.fill", "stylers": [{ "color": "#ffffff" }] }, { "featureType": "landscape.man_made", "elementType": "geometry.fill", "stylers": [{ "color": "#ffffff" }] }, { "featureType": "poi", "elementType": "all", "stylers": [{ "visibility": "off" }] }, { "featureType": "road", "elementType": "all", "stylers": [{ "saturation": -100 }, { "lightness": 45 }] }, { "featureType": "road", "elementType": "geometry.fill", "stylers": [{ "color": "#eeeeee" }] }, { "featureType": "road", "elementType": "labels.text.fill", "stylers": [{ "color": "#7b7b7b" }] }, { "featureType": "road", "elementType": "labels.text.stroke", "stylers": [{ "color": "#ffffff" }] }, { "featureType": "road.highway", "elementType": "all", "stylers": [{ "visibility": "simplified" }
96] }, { "featureType": "road.arterial", "elementType": "labels.icon", "stylers": [{ "visibility": "off" }] }, { "featureType": "transit", "elementType": "all", "stylers": [{ "visibility": "off" }] }, { "featureType": "water", "elementType": "all", "stylers": [{ "color": "#46bcec" }, { "visibility": "on" }] }, { "featureType": "water", "elementType": "geometry.fill", "stylers": [{ "color": "#c8d7d4" }] }, { "featureType": "water", "elementType": "labels.text.fill", "stylers": [{ "color": "#070707" }] }, { "featureType": "water", "elementType": "labels.text.stroke", "stylers": [{ "color": "#ffffff" }] }] 97 }; 98 99}(jQuery));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.