/************************************************************************************ * jquery.themepunch.essential.js - jquery plugin for esg portfolio slider * @version: 2.1.6 (12.06.2017) * @requires jquery v1.7 or later (tested on 1.9) * @author themepunch ************************************************************************************/ //! ++++++++++++++++++++++++++++++++++++++ ;(function(f,g){function fa(){y=[[".esg-none",0,{autoalpha:1,rotationz:0,x:0,y:0,scale:1,rotationx:0,rotationy:0,skewx:0,skewy:0},{autoalpha:1,ease:punchgs.power2.easeout,overwrite:"all"},0,{autoalpha:1,overwrite:"all"}],[".esg-fade",.3,{autoalpha:0,rotationz:0,x:0,y:0,scale:1,rotationx:0,rotationy:0,skewx:0,skewy:0},{autoalpha:1,ease:punchgs.power2.easeout,overwrite:"all"},.3,{autoalpha:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-fadeout",.3,{autoalpha:1,ease:punchgs.power2.easeout,overwrite:"all"}, {autoalpha:0,rotationz:0,x:0,y:0,scale:1,rotationx:0,rotationy:0,skewx:0,skewy:0},.3,{autoalpha:1,rotationz:0,x:0,y:0,scale:1,rotationx:0,rotationy:0,skewx:0,skewy:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-covergrowup",.3,{autoalpha:1,top:"100%",margintop:-10,rotationz:0,x:0,y:0,scale:1,rotationx:0,rotationy:0,skewx:0,skewy:0},{autoalpha:1,top:"0%",margintop:0,ease:punchgs.power2.easeout,overwrite:"all"},.3,{autoalpha:1,top:"100%",margintop:-10,bottom:0,z:0,ease:punchgs.power2.easeout, overwrite:"all"},!0],[".esg-flipvertical",.5,{x:0,y:0,scale:1,rotationz:0,rotationy:0,skewx:0,skewy:0,rotationx:180,autoalpha:0,z:-.001,transformorigin:"50% 50%"},{rotationx:0,autoalpha:1,scale:1,z:.001,ease:punchgs.power3.easeinout,overwrite:"all"},.5,{rotationx:180,autoalpha:0,scale:1,z:-.001,ease:punchgs.power3.easeinout,overwrite:"all"},!0],[".esg-flipverticalout",.5,{x:0,y:0,scale:1,rotationz:0,rotationy:0,skewx:0,skewy:0,rotationx:0,autoalpha:1,z:.001,transformorigin:"50% 50%"},{rotationx:-180, scale:1,autoalpha:0,z:-150,ease:punchgs.power3.easeinout,overwrite:"all"},.5,{rotationx:0,autoalpha:1,scale:1,z:0,ease:punchgs.power3.easeinout,overwrite:"all"}],[".esg-fliphorizontal",.5,{x:0,y:0,scale:1,rotationz:0,rotationx:0,skewx:0,skewy:0,rotationy:180,autoalpha:0,z:-.001,transformorigin:"50% 50%"},{rotationy:0,autoalpha:1,scale:1,z:.001,ease:punchgs.power3.easeinout,overwrite:"all"},.5,{rotationy:180,autoalpha:0,scale:1,z:-.001,ease:punchgs.power3.easeinout,overwrite:"all"},!0],[".esg-fliphorizontalout", .5,{x:0,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:1,z:.001,transformorigin:"50% 50%"},{rotationy:-180,scale:1,autoalpha:0,z:-150,ease:punchgs.power3.easeinout,overwrite:"all"},.5,{rotationy:0,autoalpha:1,scale:1,z:.001,ease:punchgs.power3.easeinout,overwrite:"all"}],[".esg-flipup",.5,{x:0,y:0,scale:.8,rotationz:0,rotationx:90,rotationy:0,skewx:0,skewy:0,autoalpha:0,z:.001,transformorigin:"50% 100%"},{scale:1,rotationx:0,autoalpha:1,z:.001,ease:punchgs.power2.easeout, overwrite:"all"},.3,{scale:.8,rotationx:90,autoalpha:0,z:.001,ease:punchgs.power2.easeout,overwrite:"all"},!0],[".esg-flipupout",.5,{rotationx:0,autoalpha:1,y:0,ease:punchgs.bounce.easeout,overwrite:"all"},{x:0,y:0,scale:1,rotationz:0,rotationx:-90,rotationy:0,skewx:0,skewy:0,autoalpha:1,z:.001,transformorigin:"50% 0%"},.3,{rotationx:0,autoalpha:1,y:0,ease:punchgs.bounce.easeout,overwrite:"all"}],[".esg-flipdown",.5,{x:0,y:0,scale:1,rotationz:0,rotationx:-90,rotationy:0,skewx:0,skewy:0,autoalpha:0, z:.001,transformorigin:"50% 0%"},{rotationx:0,autoalpha:1,y:0,ease:punchgs.bounce.easeout,overwrite:"all"},.3,{rotationx:-90,z:0,ease:punchgs.power2.easeout,autoalpha:0,overwrite:"all"},!0],[".esg-flipdownout",.5,{scale:1,rotationx:0,autoalpha:1,z:0,ease:punchgs.power2.easeout,overwrite:"all"},{x:0,y:0,scale:.8,rotationz:0,rotationx:90,rotationy:0,skewx:0,skewy:0,autoalpha:0,z:.001,transformorigin:"50% 100%"},.3,{scale:1,rotationx:0,autoalpha:1,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-flipright", .5,{x:0,y:0,scale:.8,rotationz:0,rotationx:0,rotationy:90,skewx:0,skewy:0,autoalpha:0,transformorigin:"0% 50%"},{scale:1,rotationy:0,autoalpha:1,ease:punchgs.power2.easeout,overwrite:"all"},.3,{autoalpha:0,scale:.8,rotationy:90,ease:punchgs.power3.easeout,overwrite:"all"},!0],[".esg-fliprightout",.5,{x:0,y:0,scale:1,rotationz:0,rotationx:0,skewx:0,skewy:0,rotationy:0,autoalpha:1,transformorigin:"100% 50%"},{scale:1,rotationy:-90,autoalpha:0,ease:punchgs.power2.easeout,overwrite:"all"},.3,{scale:1, z:0,rotationy:0,autoalpha:1,ease:punchgs.power3.easeout,overwrite:"all"}],[".esg-flipleft",.5,{x:0,y:0,scale:1,rotationz:0,rotationx:0,rotationy:-90,skewx:0,skewy:0,autoalpha:1,transformorigin:"100% 50%"},{rotationy:0,autoalpha:1,z:.001,scale:1,ease:punchgs.power3.easeout,overwrite:"all"},.3,{autoalpha:0,rotationy:-90,z:0,ease:punchgs.power2.easeout,overwrite:"all"},!0],[".esg-flipleftout",.5,{x:0,y:0,scale:1,rotationz:0,rotationx:0,skewx:0,skewy:0,rotationy:0,autoalpha:1,transformorigin:"0% 50%"}, {scale:1,rotationy:90,autoalpha:0,ease:punchgs.power2.easeout,overwrite:"all"},.3,{scale:1,z:0,rotationy:0,autoalpha:1,ease:punchgs.power3.easeout,overwrite:"all"}],[".esg-turn",.5,{x:50,y:0,scale:0,rotationz:0,rotationx:0,rotationy:-40,skewx:0,skewy:0,autoalpha:1,transformorigin:"50% 50%"},{scale:1,x:0,rotationy:0,autoalpha:1,ease:punchgs.power3.easeinout,overwrite:"all"},.3,{scale:0,rotationy:-40,autoalpha:1,z:0,x:50,ease:punchgs.power3.easeinout,overwrite:"all"},!0],[".esg-turnout",.5,{x:0,y:0, scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:1,transformorigin:"50% 50%"},{rotationy:40,scale:.6,autoalpha:0,x:-50,ease:punchgs.power3.easeinout,overwrite:"all"},.3,{scale:1,rotationy:0,z:0,autoalpha:1,x:0,rotationx:0,rotationz:0,ease:punchgs.power3.easeinout,overwrite:"all"}],[".esg-slide",.5,{x:-1e4,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:1,transformorigin:"50% 50%"},{autoalpha:1,x:0,y:0,ease:punchgs.power3.easeout,overwrite:"all"},.3,{autoalpha:1, x:-1e4,y:0,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-slideout",.5,{x:0,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:1,transformorigin:"50% 50%"},{autoalpha:1,x:0,y:0,ease:punchgs.power3.easeout,overwrite:"all"},.3,{autoalpha:1,x:0,y:0,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-slideright",.5,{xpercent:-50,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},{autoalpha:1,xpercent:0,ease:punchgs.power3.easeout, overwrite:"all"},.3,{autoalpha:0,xpercent:-50,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-sliderightout",.5,{autoalpha:1,xpercent:0,ease:punchgs.power3.easeout,overwrite:"all"},{xpercent:50,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},.3,{autoalpha:1,xpercent:0,ease:punchgs.power3.easeout,overwrite:"all"}],[".esg-scaleleft",.5,{x:0,y:0,scalex:0,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:1,transformorigin:"100% 50%"}, {autoalpha:1,x:0,scalex:1,ease:punchgs.power3.easeout,overwrite:"all"},.3,{autoalpha:1,x:0,z:0,scalex:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-scaleright",.5,{x:0,y:0,scalex:0,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:1,transformorigin:"0% 50%"},{autoalpha:1,x:0,scalex:1,ease:punchgs.power3.easeout,overwrite:"all"},.3,{autoalpha:1,x:0,z:0,scalex:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-slideleft",.5,{xpercent:50,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0, skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},{autoalpha:1,xpercent:0,ease:punchgs.power3.easeout,overwrite:"all"},.3,{autoalpha:0,xpercent:50,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-slideleftout",.5,{autoalpha:1,xpercent:0,ease:punchgs.power3.easeout,overwrite:"all"},{xpercent:-50,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},.3,{autoalpha:1,xpercent:0,ease:punchgs.power3.easeout,overwrite:"all"}],[".esg-slideup", .5,{x:0,ypercent:50,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},{autoalpha:1,ypercent:0,ease:punchgs.power3.easeout,overwrite:"all"},.3,{autoalpha:0,ypercent:50,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-slideupout",.5,{autoalpha:1,ypercent:0,ease:punchgs.power3.easeout,overwrite:"all"},{x:0,ypercent:-50,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},.3,{autoalpha:1,ypercent:0, ease:punchgs.power3.easeout,overwrite:"all"}],[".esg-slidedown",.5,{x:0,ypercent:-50,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},{autoalpha:1,ypercent:0,ease:punchgs.power3.easeout,overwrite:"all"},.3,{autoalpha:0,ypercent:-50,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-slidedownout",.5,{autoalpha:1,ypercent:0,z:0,ease:punchgs.power3.easeout,overwrite:"all"},{x:0,ypercent:50,scale:1,rotationz:0,rotationx:0,z:10,rotationy:0,skewx:0, skewy:0,autoalpha:0,transformorigin:"50% 50%"},.3,{autoalpha:1,ypercent:0,z:0,ease:punchgs.power3.easeout,overwrite:"all"}],[".esg-slideshortright",.5,{x:-30,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},{autoalpha:1,x:0,ease:punchgs.power3.easeout,overwrite:"all"},.3,{autoalpha:0,x:-30,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-slideshortrightout",.5,{autoalpha:1,x:0,ease:punchgs.power3.easeout,overwrite:"all"},{x:30,y:0,scale:1, rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},.3,{autoalpha:1,x:30,ease:punchgs.power3.easeout,overwrite:"all"}],[".esg-slideshortleft",.5,{x:30,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},{autoalpha:1,x:0,ease:punchgs.power3.easeout,overwrite:"all"},.3,{autoalpha:0,x:30,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-slideshortleftout",.5,{autoalpha:1,x:0,ease:punchgs.power3.easeout,overwrite:"all"}, {x:-30,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},.3,{autoalpha:1,x:0,ease:punchgs.power3.easeout,overwrite:"all"}],[".esg-slideshortup",.5,{x:0,y:30,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},{autoalpha:1,y:0,ease:punchgs.power3.easeout,overwrite:"all"},.3,{autoalpha:0,y:30,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-slideshortupout",.5,{autoalpha:1,y:0,ease:punchgs.power3.easeout, overwrite:"all"},{x:0,y:-30,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},.3,{autoalpha:1,y:0,ease:punchgs.power3.easeout,overwrite:"all"}],[".esg-slideshortdown",.5,{x:0,y:-30,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},{autoalpha:1,y:0,ease:punchgs.power3.easeout,overwrite:"all"},.3,{autoalpha:0,y:-30,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-slideshortdownout",.5,{autoalpha:1, y:0,ease:punchgs.power3.easeout,overwrite:"all"},{x:0,y:30,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},.3,{autoalpha:1,y:0,ease:punchgs.power3.easeout,overwrite:"all"}],[".esg-skewright",.5,{xpercent:-100,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:60,skewy:0,autoalpha:0,transformorigin:"50% 50%"},{autoalpha:1,xpercent:0,skewx:0,ease:punchgs.power3.easeout,overwrite:"all"},.3,{autoalpha:0,skewx:-60,xpercent:-100,z:0,ease:punchgs.power2.easeout, overwrite:"all"}],[".esg-skewrightout",.5,{autoalpha:1,xpercent:0,skewx:0,ease:punchgs.power3.easeout,overwrite:"all"},{xpercent:100,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:-60,skewy:0,autoalpha:0,transformorigin:"50% 50%"},.3,{autoalpha:1,xpercent:0,skewx:0,ease:punchgs.power3.easeout,overwrite:"all"}],[".esg-skewleft",.5,{xpercent:100,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:-60,skewy:0,autoalpha:0,transformorigin:"50% 50%"},{autoalpha:1,xpercent:0,skewx:0,ease:punchgs.power3.easeout, overwrite:"all"},.3,{autoalpha:0,xpercent:100,z:0,skewx:60,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-skewleftout",.5,{autoalpha:1,xpercent:0,skewx:0,ease:punchgs.power3.easeout,overwrite:"all"},{xpercent:-100,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:60,skewy:0,autoalpha:0,transformorigin:"50% 50%"},.3,{autoalpha:1,xpercent:0,skewx:0,ease:punchgs.power3.easeout,overwrite:"all"}],[".esg-shifttotop",.5,{x:0,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:1, transformorigin:"50% 50%"},{autoalpha:1,y:0,ease:punchgs.power3.easeout,overwrite:"all"},.3,{autoalpha:1,y:0,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-rollleft",.5,{xpercent:50,y:0,scale:1,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,rotationz:90,transformorigin:"50% 50%"},{autoalpha:1,xpercent:0,rotationz:0,ease:punchgs.power3.easeout,overwrite:"all"},.3,{autoalpha:0,xpercent:50,z:0,rotationz:90,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-rollleftout",.5,{autoalpha:1, xpercent:0,rotationz:0,ease:punchgs.power3.easeout,overwrite:"all"},{xpercent:50,y:0,scale:1,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,rotationz:90,transformorigin:"50% 50%"},.3,{autoalpha:1,xpercent:0,rotationz:0,ease:punchgs.power3.easeout,overwrite:"all"}],[".esg-rollright",.5,{xpercent:-50,y:0,scale:1,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,rotationz:-90,transformorigin:"50% 50%"},{autoalpha:1,xpercent:0,rotationz:0,ease:punchgs.power3.easeout,overwrite:"all"},.3,{autoalpha:0, xpercent:-50,rotationz:-90,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-rollrightout",.5,{autoalpha:1,xpercent:0,rotationz:0,ease:punchgs.power3.easeout,overwrite:"all"},{xpercent:-50,y:0,scale:1,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,rotationz:-90,transformorigin:"50% 50%"},.3,{autoalpha:1,xpercent:0,rotationz:0,ease:punchgs.power3.easeout,overwrite:"all"}],[".esg-falldown",.4,{x:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,ypercent:-100},{autoalpha:1, ypercent:0,ease:punchgs.power3.easeout,overwrite:"all"},.4,{ypercent:-100,autoalpha:0,z:0,ease:punchgs.power2.easeout,delay:.2,overwrite:"all"}],[".esg-falldownout",.4,{autoalpha:1,ypercent:0,ease:punchgs.back.easeout,overwrite:"all"},{x:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,ypercent:100},.4,{autoalpha:1,ypercent:0,ease:punchgs.power3.easeout,overwrite:"all"}],[".esg-rotatescale",.3,{x:0,y:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,rotationz:80,scale:.6, transformorigin:"50% 50%"},{autoalpha:1,scale:1,rotationz:0,ease:punchgs.back.easeout,overwrite:"all"},.3,{autoalpha:0,scale:.6,z:0,rotationz:80,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-rotatescaleout",.3,{autoalpha:1,scale:1,rotationz:0,ease:punchgs.back.easeout,overwrite:"all"},{x:0,y:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,rotationz:80,scale:.6,transformorigin:"50% 50%"},.3,{autoalpha:1,scale:1,rotationz:0,ease:punchgs.back.easeout,overwrite:"all"}],[".esg-zoomintocorner", .5,{x:0,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:1,transformorigin:"20% 50%"},{autoalpha:1,scale:1.2,x:0,y:0,ease:punchgs.power3.easeout,overwrite:"all"},.5,{x:0,y:0,scale:1,autoalpha:1,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-zoomouttocorner",.5,{x:0,y:0,scale:1.2,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:1,transformorigin:"80% 50%"},{autoalpha:1,scale:1,x:0,y:0,ease:punchgs.power3.easeout,overwrite:"all"},.5,{x:0,y:0,scale:1.2, autoalpha:1,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-zoomtodefault",.5,{x:0,y:0,scale:1.2,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:1,transformorigin:"50% 50%"},{autoalpha:1,scale:1,x:0,y:0,ease:punchgs.power3.easeout,overwrite:"all"},.5,{x:0,y:0,scale:1.2,autoalpha:1,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-zoomback",.5,{x:0,y:0,scale:.2,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},{autoalpha:1,scale:1, x:0,y:0,ease:punchgs.back.easeout,overwrite:"all"},.5,{x:0,y:0,scale:.2,autoalpha:0,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-zoombackout",.5,{autoalpha:1,scale:1,x:0,y:0,ease:punchgs.back.easeout,overwrite:"all"},{x:0,y:0,scale:.2,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},.5,{autoalpha:1,scale:1,x:0,y:0,ease:punchgs.back.easeout,overwrite:"all"}],[".esg-zoomfront",.5,{x:0,y:0,scale:1.5,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0, autoalpha:0,transformorigin:"50% 50%"},{autoalpha:1,scale:1,x:0,y:0,ease:punchgs.power3.easeout,overwrite:"all"},.5,{autoalpha:0,x:0,y:0,scale:1.5,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-zoomfrontout",.5,{autoalpha:1,scale:1,x:0,y:0,ease:punchgs.back.easeout,overwrite:"all"},{x:0,y:0,scale:1.5,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:0,transformorigin:"50% 50%"},.5,{autoalpha:1,scale:1,x:0,y:0,ease:punchgs.back.easeout,overwrite:"all"}],[".esg-flyleft",.8,{x:-80, y:0,z:0,scale:.3,rotationz:0,rotationy:75,rotationx:10,skewx:0,skewy:0,autoalpha:.01,transformorigin:"30% 10%"},{rotationy:0,rotationx:0,rotationz:0,autoalpha:1,scale:1,x:0,y:0,z:0,ease:punchgs.power3.easeinout,overwrite:"all"},.8,{autoalpha:.01,x:-40,y:0,z:300,rotationy:60,rotationx:20,overwrite:"all"}],[".esg-flyleftout",.8,{rotationy:0,rotationx:0,rotationz:0,autoalpha:1,scale:1,x:0,y:0,z:0,ease:punchgs.power3.easeinout,overwrite:"all"},{x:-80,y:0,z:0,scale:.3,rotationz:0,rotationy:75,rotationx:10, skewx:0,skewy:0,autoalpha:.01,transformorigin:"30% 10%"},.8,{rotationy:0,rotationx:0,rotationz:0,autoalpha:1,scale:1,x:0,y:0,z:0,ease:punchgs.power3.easeinout,overwrite:"all"}],[".esg-flyright",.8,{skewx:0,skewy:0,autoalpha:0,x:80,y:0,z:0,scale:.3,rotationz:0,rotationy:-75,rotationx:10,transformorigin:"70% 20%"},{rotationy:0,rotationx:0,autoalpha:1,scale:1,x:0,y:0,z:0,ease:punchgs.power3.easeinout,overwrite:"all"},.8,{autoalpha:0,x:40,y:-40,z:300,rotationy:-60,rotationx:-40,overwrite:"all"}],[".esg-flyrightout", .8,{rotationy:0,rotationx:0,autoalpha:1,scale:1,x:0,y:0,z:0,ease:punchgs.power3.easeinout,overwrite:"all"},{skewx:0,skewy:0,autoalpha:0,x:80,y:0,z:0,scale:.3,rotationz:0,rotationy:-75,rotationx:10,transformorigin:"70% 20%"},.8,{rotationy:0,rotationx:0,autoalpha:1,scale:1,x:0,y:0,z:0,ease:punchgs.power3.easeinout,overwrite:"all"}],[".esg-mediazoom",.3,{x:0,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:1,transformorigin:"50% 50%"},{autoalpha:1,scale:1.4,x:0,y:0,ease:punchgs.back.easeout, overwrite:"all"},.3,{autoalpha:1,x:0,y:0,scale:1,z:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-zoomandrotate",.6,{x:0,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:1,transformorigin:"50% 50%"},{autoalpha:1,scale:1.4,x:0,y:0,rotationz:30,ease:punchgs.power2.easeout,overwrite:"all"},.4,{x:0,y:0,scale:1,z:0,rotationz:0,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-pressback",.5,{x:0,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:1, transformorigin:"50% 50%"},{rotationy:0,autoalpha:1,scale:.8,ease:punchgs.power3.easeout,overwrite:"all"},.3,{rotationy:0,autoalpha:1,z:0,scale:1,ease:punchgs.power2.easeout,overwrite:"all"}],[".esg-3dturnright",.5,{x:0,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:1,transformperspective:600},{x:-40,y:0,scale:.8,rotationz:2,rotationx:5,rotationy:-28,skewx:0,skewy:0,autoalpha:1,transformorigin:"100% 50% 40%",transformperspective:600,ease:punchgs.power3.easeout,overwrite:"all"}, .3,{z:0,x:0,y:0,scale:1,rotationz:0,rotationx:0,rotationy:0,skewx:0,skewy:0,autoalpha:1,force3d:"auto",ease:punchgs.power2.easeout,overwrite:"all"},!0]]}function z(a,c,b,e){if(b){if("on"===c.lightboxspinner){var d=a.closest(".tp-esg-item");if(!d.data("lightboxspinner")){var k=c.container.closest(".myportfolio-container").find(".esg-loader");k.length&&(k=k.clone().css("opacity",1).appendto(d),d.data("lightboxspinner",k))}d.data("lightboxspinner")&&d.data("lightboxspinner").css("visibility","visible")}}else f.fn.esgbox&& f.esgbox.showloading();k={action:c.loadmoreajaxaction,client_action:"load_more_content",token:c.loadmoreajaxtoken,postid:a.data("post")};f.ajax({type:"post",url:c.loadmoreajaxurl,datatype:"json",data:k}).done(function(k){if(k.success){var h=document.getelementbyid("eg-lightbox-post-content");h||(h=document.createelement("div"),h.id="eg-lightbox-post-content",document.body.appendchild(h));var g='
',y=a.data("featured");k=k.data||"";var p=a.data("posttitle"); if(p&&"on"===c.lightboxposttitle)var u=c.lightboxposttitletag||"h2",p="<"+u+">"+p+"";else p="";if(y&&"on"===c.lightboxfeaturedimg){var u=c.lightboxfeaturedmargin.split("|"),t=c.lightboxfeaturedwidth,u=4===u.length?u[0]+"px "+u[1]+"px "+u[2]+"px "+u[3]+"px":"0";isnan(t)&&(t=50);var t=parseint(t,10);var n="width: "+(100-t)+"%";t="width: "+t+"%";y='';switch(c.lightboxfeaturedpos){case "top":g+= y+p+k;break;case "left":g=g+('
'+y+"
")+('
'+p+k+"
")+'
';break;case "right":g+='
'+p+k+"
";g=g+('
'+y+"
")+'
';break;case "bottom":g+=p+k+y}}else g+=p+k;h.innerhtml=g+"
";f('.esgbox-post[href="#eg-lightbox-post-content"]').attr("href","javascript:void(0);");a.attr("href","#eg-lightbox-post-content");f.fn.esgbox&& f.esgbox.showloading();b?(d&&d.data("lightboxspinner")&&d.data("lightboxspinner").css("visibility","hidden"),f(".eg-lightbox-post-content-inner").addclass("ready"),a.click()):f.fn.esgbox&&(f.esgbox.hideloading(),f.esgbox.jumpto(e),settimeout(function(){f(".eg-lightbox-post-content-inner").addclass("ready")},100))}})}function ga(a,c){var b=a.container.offset().top+a.container.height()+(a.contpadtop+a.contpadbottom)-f(document).scrolltop(),e=f(window).height(),d=f(document).height();if(a.lastbottomcompare!= b&&e>=b||c&&e>=b||d===e&&e>b)a.lastbottomcompare=b,a.lmbut&&1!=a.lmbut.data("loading")&&(a.lmbut.data("loading",1),e(a))}function t(a,c,b){if(b){var e=new date;e.settime(e.gettime()+864e5*b);b="; expires="+e.togmtstring()}else b="";document.cookie=encodeuricomponent(a)+"="+encodeuricomponent(c)+b+"; path=/"}function u(a){a=encodeuricomponent(a)+"=";for(var c=document.cookie.split(";"),b=0;b0');s(d,g)}});f(c.filtergroupclass+".esg-filter-wrapper.eg-search-wrapper .eg-justfilteredtosearch").removeclass("eg-justfilteredtosearch")} function s(a,c){var b=a.find(".eg-el-amount"),e={value:parseint(b.text(),0)};punchgs.tweenlite.to(e,2,{value:c,onupdate:function(a,c){b.html(math.round(a.target[c]))},onupdateparams:["{self}","value"],ease:punchgs.power3.easeinout})}function x(a,c,b){if(c.esgloader!=g&&0
');esgloader=a.find(".esg-loader"); "spinner1"!=c.spinner&&"spinner2"!=c.spinner||esgloader.css("background",c.spinnercolor);"spinner3"!=c.spinner&&"spinner4"!=c.spinner||a.find(".bounce1, .bounce2, .bounce3, .dot1, .dot2").css("background",c.spinnercolor);b||punchgs.tweenlite.to(a,.3,{minheight:"100px",zindex:0});return esgloader}function o(a,c){f.each(a.loadmoreitems,function(b,e){e[0]==c&&(a.loadmoreitems[b][0]=-1,a.loadmoreitems[b][2]="already loaded")})}function v(a){for(var c=!0,b=0;b';"tr"==a.ajaxcloseposition||"br"==a.ajaxcloseposition?("on"==a.ajaxnavbutton&&(e=e+'
'),"on"==a.ajaxclosebutton&&(e=e+'
'+g+a.ajaxclosetxt+"
")):("on"==a.ajaxclosebutton&&(e=e+'
'+g+a.ajaxclosetxt+"
"),"on"==a.ajaxnavbutton&&(e=e+'
'));e+="
";switch(a.ajaxcloseposition){case "tl":case "tr":case "t":c.prepend(e); break;case "bl":case "br":case "b":c.append(e)}c.find(".eg-ajax-closer").click(function(){f(c,!1,null,null,.25,!0)});c.find(".eg-ajax-right").click(function(){var a=c.data("container").find(".lastclickedajax").closest("li"),d=a.nextall().find(".eg-ajax-a-button"),a=a.prevall().find(".eg-ajax-a-button"),d=b(d),a=b(a);0a.ajaxcallback.length)return!1;var b=a.ajaxcallback.split(")"),b=b[0].split("("),e=b[0],b=1").appendto("head").attr({type:"text/css",rel:"stylesheet"}).attr("href",c.ajaxcssurl),c.ajaxcssurl=""),x(e.closest(".eg-ajaxanimwrapper"),c),e.data("ajaxload")!=g&&e.data("ajaxload").abort(),x(e),k){case "postid":var q={action:c.loadmoreajaxaction,client_action:"load_more_content",token:c.loadmoreajaxtoken,postid:d};settimeout(function(){e.data("ajaxload",f.ajax({type:"post",url:c.loadmoreajaxurl,datatype:"json",data:q}));e.data("ajaxload").success(function(a, d,k){a.success&&(f(e).html(a.data),f(e,!0,c.ajaxscrolltoonload,c.ajaxscrolltooffset),c(e),z(c,b))});e.data("ajaxload").error(function(a,b,c){"abort"!=b&&(f(e).append("

failure: "+b+"

"),c(e))})},300);break;case "youtubeid":settimeout(function(){e.html('
');c(e);f(e,!0,c.ajaxscrolltoonload,c.ajaxscrolltooffset); z(c,b)},300);break;case "vimeoid":settimeout(function(){e.html('
');c(e);f(e,!0,c.ajaxscrolltoonload,c.ajaxscrolltooffset);z(c,b)},300);break;case "wistiaid":settimeout(function(){e.html('
');c(e);f(e,!0,c.ajaxscrolltoonload,c.ajaxscrolltooffset);z(c,b)},300);break;case "html5vid":d=d.split("|");settimeout(function(){e.html('');c(e);f(e,!0,c.ajaxscrolltoonload,c.ajaxscrolltooffset);z(c,b)},300);break;case "soundcloud":case "soundcloudid":settimeout(function(){e.html(''); c(e);f(e,!0,c.ajaxscrolltoonload,c.ajaxscrolltooffset);z(c,b)},300);break;case "imageurl":settimeout(function(){var a=new image;a.onload=function(){var a=f(this);e.html("");a.css({width:"100%",height:"auto"});e.append(f(this));c(e);f(e,!0,c.ajaxscrolltoonload,c.ajaxscrolltooffset);z(c,b)};a.onerror=function(a){e.html("error");c(e);f(e,!0,c.ajaxscrolltoonload,c.ajaxscrolltooffset)};a.src=d},300);break;default:f.each(f.fn.tpessential.defaults.ajaxtypes,function(a,b){b.openanimationspeed==g&&(b.openanimationspeed= 0);b!=g&&b.type!=g&&b.type==k&&settimeout(function(){e.data("lastposttype",k);e.data("oldajaxsource",d);e.data("oldajaxtype",k);e.data("oldajaxvideoaspect",h);e.data("oldselector","#"+c.ajaxcontenttarget+" .eg-ajax-target");f(e,!0,c.ajaxscrolltoonload,c.ajaxscrolltooffset,0);e.html(b.func.call(this,{id:d,type:k,aspectratio:h}));c(e)},300)})}}function ia(a,c,b){if("on"==a.cookies.filter&&(b=b!==g?b:u("grid_"+a.girdid+"_filters"),b!==g&&null!==b&&0search result');c.lastsearchtimer=0;h.click(d);f(c.filtergroupclass+".eg-search-wrapper .eg-search-input").on("change",d);q.click(function(){"on"===c.cookies.search&&t("grid_"+c.gridid+"_search","",-1);f.each(c.loadmoreitems,function(a, b){b[2]="notsearched"});a.find(".cat-searchresult").removeclass("cat-searchresult");var d=f(c.filtergroupclass+".eg-search-wrapper.esg-filter-wrapper .hiddensearchfield");f(c.filtergroupclass+".eg-search-wrapper .eg-search-input").val("");d.removeclass("eg-forcefilter").addclass("eg-justfilteredtosearch");d=f(c.filtergroupclass+".esg-filter-wrapper .esg-allfilter");d.length?d.trigger("click"):b.call(this);settimeout(function(){c.lastsearchtimer=0;f(c.filtergroupclass+".eg-search-wrapper .eg-search-input").attr("disabled", !1);punchgs.tweenlite.to(f(c.filtergroupclass+".eg-search-wrapper").find(".esg-loader"),.5,{autoalpha:1,ease:punchgs.power3.easeinout,oncomplete:function(){f(c.filtergroupclass+".eg-search-wrapper").find(".esg-loader").remove()}});f(c.filtergroupclass+".eg-search-wrapper .eg-search-input").trigger("searchended")},1e3)})}aa(a,c);f(c.filtergroupclass+".esg-filter-wrapper,"+c.filtergroupclass+" .esg-filter-wrapper").each(function(a){var b=f(this);b.hasclass("dropdownstyle")&&(b.find(".esg-filter-checked").each(function(){f(this).prependto(f(this).parent())}), da()?b.find(".esg-selected-filterbutton").click(function(){var a=b.find(".esg-selected-filterbutton");a.hasclass("hoveredfilter")?(a.removeclass("hoveredfilter"),b.find(".esg-dropdown-wrapper").stop().hide()):(a.addclass("hoveredfilter"),b.find(".esg-dropdown-wrapper").stop().show())}):"click"==c.showdropfilter?(b.click(function(){var a=f(this).closest(".esg-filter-wrapper");a.find(".esg-selected-filterbutton").addclass("hoveredfilter");a.find(".esg-dropdown-wrapper").stop().show()}),b.on("mouseleave", function(){var a=f(this).closest(".esg-filter-wrapper");a.find(".esg-selected-filterbutton").removeclass("hoveredfilter");a.find(".esg-dropdown-wrapper").stop().hide()})):b.hover(function(){var a=f(this).closest(".esg-filter-wrapper");a.find(".esg-selected-filterbutton").addclass("hoveredfilter");a.find(".esg-dropdown-wrapper").stop().show()},function(){var a=f(this).closest(".esg-filter-wrapper");a.find(".esg-selected-filterbutton").removeclass("hoveredfilter");a.find(".esg-dropdown-wrapper").stop().hide()}))}); if(da())f(document).on("click touchstart",function(a){0==f(a.target).closest(".esg-filter-wrapper").length&&(c.container.find(".hoveredfilter").removeclass("hoveredfilter"),c.container.find(".esg-dropdown-wrapper").stop().hide())});c.container.find(".esg-filters").each(function(a){punchgs.tweenlite.set(this,{zindex:70-a})});c.container.find(".esg-filter-wrapper.dropdownstyle").each(function(a){punchgs.tweenlite.set(this,{zindex:1570-a})});f("body").on("click",c.filtergroupclass+".esg-left,"+c.filtergroupclass+ " .esg-left",function(){c=a(a);c.oldpage=c.currentpage;c.currentpage--;0>c.currentpage&&(c.currentpage=c.realmaxpage-1);var b=q(c,f(window).width(),"id");c.column=b.column;c.columnindex=b.index;c.mmheight=b.mmheight;m(c);k(c,"leftnavigation");v(a,c);j(!0)});f("body").on("click",c.filtergroupclass+".esg-right,"+c.filtergroupclass+" .esg-right",function(){c=a(a);c.oldpage=c.currentpage;c.currentpage++;c.currentpage>=c.realmaxpage&&(c.currentpage=0);var b=q(c,f(window).width(),"id");c.column=b.column; c.columnindex=b.index;c.mmheight=b.mmheight;m(c);k(c,"rightnavigation");v(a,c);j(!0)});f(c.filtergroupclass+".esg-filterbutton, "+c.filtergroupclass+" .esg-filterbutton").each(function(){f(this).hasclass("esg-pagination-button")||f(this).click(b)});var r;f(window).on("resize.essg",function(){cleartimeout(r);if("on"==c.forcefullwidth||"on"==c.forcefullscreen){var b=a.parent().parent().find(".esg-relative-placeholder").offset().left;a.closest(".esg-container-fullscreen-forcer").css({left:0-b,width:f(window).width()})}else a.closest(".esg-container-fullscreen-forcer").css({left:0, width:"auto"});0b.maxheight){b.inanimation=!1;var d=a.find(".esg-overflowtrick").first();var e=b.mainul;var c=a.find(".eg-leftright-container"),k=parseint(d.css("paddingtop"),0),k=k==g?0:k,k=null==k?0:k,h=parseint(d.css("paddingbottom"),0),h=h==g?0:h,k=b.maxheight+b.overflowoffset+k+(null==h?0:h);if("on"==b.forcefullscreen){var p=f(window).height();if(b.fullscreenoffsetcontainer!=g)try{var q=b.fullscreenoffsetcontainer.split(","); f.each(q,function(a,c){p-=f(c).outerheight(!0);pe.height()&&(q=1);punchgs.tweenlite.to(e,q,{force3d:"auto",height:k,ease:punchgs.power3.easeinout,clearprops:"transform"});punchgs.tweenlite.to(d,q,{force3d:!0,height:k,ease:punchgs.power3.easeinout,clearprops:"transform",oncomplete:function(){a.closest(".eg-grid-wrapper, .myportfolio-container").css({height:"auto"}).removeclass("eg-startheight")}});0f&&(d=f,h=p,y=a);ke&&f<=c&&(e=f,q=p,r=a)});d>c&&(q=h,r=y);var p={};p.index=r;p.column=q;p.mmheight=a.responsiveentries[p.index].mmheight;return"id"==b?p:q}function a(a){return a.data("opt")}function v(a,c){a.data("opt",c)}function da(a){a.find("iframe").each(function(a){a=f(this);0e?e/b:1),b=(c.y-a.offset().top-e/2)*(e>b?b/e:1);return math.round((180/math.pi*math.atan2(b,d)+180)/90+3)%4}function ca(a){a.find(".eg-handlehideunder").each(function(){var c=f(this),b=c.data("hideunder"),e=c.data("hideunderheight"),d=c.data("hidetype");c.data("knowndisplay")==g&&c.data("knowndisplay",c.css("display"));a.width()b.height()+40||0==a||0!=b.data("bh")&&b.data("bh")!=g&&c.position().top+c.height()>parseint(b.data("bh"),0)+40){b.data("bh")!=g&&0!=b.data("bh")||b.data("bh",b.height());e.data("bh")!=g&&0!=e.data("bh")||e.data("bh",e.height());var d=b.data("bh"), f=e.data("bh");0!=a?(b.data("alreadyinoff",!1),punchgs.tweenlite.to(b,.2,{height:d+a}),punchgs.tweenlite.to(e,.2,{height:f+a})):b.data("alreadyinoff")||(b.data("alreadyinoff",!0),punchgs.tweenlite.to(b,.3,{height:d,ease:punchgs.power3.easein,oncomplete:function(){b.data("bh",0);e.data("bh",0);b.data("alreadyinoff",!1)}}),punchgs.tweenlite.to(e,.3,{height:f,ease:punchgs.power3.easein,oncomplete:function(){b.data("bh",0);e.data("bh",0);b.data("alreadyinoff",!1)}}))}}function d(a,c,b,e){1!=a.data("simplevideo")&& da(a);cleartimeout(a.data("hovertimer"));var d=b.mainhoverdelay;"set"==c&&(d=0);a.data("hovertimer",settimeout(function(){a.data("animstarted",1);punchgs.tweenlite.set(a,{z:.01,x:0,y:0,rotationx:0,rotationy:0,rotationz:0});a.addclass("esg-hovered");var d=a.find(".esg-entry-cover");punchgs.tweenlite.set(d,{transformstyle:"flat"});"set"!=c&&r(a,d);if(0