PageSourceSearch

https://www.esplanadetergesteo.it/wp-content/themes/esplanade-terg…/chunks/vendor-scroll-animations.chunk.js

js esplanadetergesteo.it collected 2026-10-05 09:40:58 UTC 32,317 bytes, 2 lines download raw bytes

1/*! For license information please see vendor-scroll-animations.chunk.js.LICENSE.txt */
2(self.webpackChunkesplanade_tergesteo=self.webpackChunkesplanade_tergesteo||[]).push([[30],{647:function(e,t,n){var r=n(1702),o=n(7908),i=Math.floor,s=r("".charAt),a=r("".replace),l=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,d=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,u,f){var g=n+e.length,p=r.length,h=d;return void 0!==u&&(u=o(u),h=c),a(f,h,(function(o,a){var c;switch(s(a,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,g);case"<":c=u[l(a,1,-1)];break;default:var d=+a;if(0===d)return o;if(d>p){var f=i(d/10);return 0===f?o:f<=p?void 0===r[f-1]?s(a,1):r[f-1]+s(a,1):o}c=r[d-1]}return void 0===c?"":c}))}},9600:function(e,t,n){"use strict";var r=n(2109),o=n(1702),i=n(8361),s=n(5656),a=n(9341),l=o([].join),c=i!=Object,d=a("join",",");r({target:"Array",proto:!0,forced:c||!d},{join:function(e){return l(s(this),void 0===e?",":e)}})},5306:function(e,t,n){"use strict";var r=n(2104),o=n(6916),i=n(1702),s=n(7007),a=n(7293),l=n(9670),c=n(614),d=n(9303),u=n(7466),f=n(1340),g=n(4488),p=n(1530),h=n(8173),v=n(647),m=n(7651),w=n(5112)("replace"),b=Math.max,y=Math.min,S=i([].concat),E=i([].push),x=i("".indexOf),C=i("".slice),R="$0"==="a".replace(/./,"$0"),_=!!/./[w]&&""===/./[w]("a","$0");s("replace",(function(e,t,n){var i=_?"$":"$0";return[function(e,n){var r=g(this),i=null==e?void 0:h(e,w);return i?o(i,e,r,n):o(t,f(r),e,n)},function(e,o){var s=l(this),a=f(e);if("string"==typeof o&&-1===x(o,i)&&-1===x(o,"$<")){var g=n(t,s,a,o);if(g.done)return g.value}var h=c(o);h||(o=f(o));var w=s.global;if(w){var R=s.unicode;s.lastIndex=0}for(var _=[];;){var T=m(s,a);if(null===T)break;if(E(_,T),!w)break;""===f(T[0])&&(s.lastIndex=p(a,u(s.lastIndex),R))}for(var I,L="",P=0,O=0;O<_.length;O++){for(var z=f((T=_[O])[0]),G=b(y(d(T.index),a.length),0),F=[],k=1;k<T.length;k++)E(F,void 0===(I=T[k])?I:String(I));var A=T.groups;if(h){var N=S([z],F,G,a);void 0!==A&&E(N,A);var M=f(r(o,void 0,N))}else M=v(z,a,G,F,A,o);G>=P&&(L+=C(a,P,G)+M,P=G+z.length)}return L+C(a,P)}]}),!!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!R||_)},2306:function(e,t,n){var r,o;r=function(){"use strict";var e=function(){o.log(2,"(COMPATIBILITY NOTICE) -> As of ScrollMagic 2.0.0 you need to use 'new ScrollMagic.Controller()' to create a new controller instance. Use 'new ScrollMagic.Scene()' to instance a scene.")};e.version="2.0.8","undefined"!=typeof window&&window.addEventListener("mousewheel",void 0);var t="data-scrollmagic-pin-spacer";e.Controller=function(r){var i,s,a="ScrollMagic.Controller",l="FORWARD",c="REVERSE",d="PAUSED",u=n.defaults,f=this,g=o.extend({},u,r),p=[],h=!1,v=0,m=d,w=!0,b=0,y=!0,S=function(){for(var t in g)u.hasOwnProperty(t)||(P(2,'WARNING: Unknown option "'+t+'"'),delete g[t]);if(g.container=o.get.elements(g.container)[0],!g.container)throw P(1,"ERROR creating object "+a+": No valid scroll container supplied"),a+" init failed.";(w=g.container===window||g.container===document.body||!document.body.contains(g.container))&&(g.container=window),b=C(),g.container.addEventListener("resize",I),g.container.addEventListener("scroll",I);var n=parseInt(g.refreshInterval,10);g.refreshInterval=o.type.Number(n)?n:u.refreshInterval,E(),P(3,"added new "+a+" controller (v"+e.version+")")},E=function(){g.refreshInterval>0&&(s=window.setTimeout(L,g.refreshInterval))},x=function(){return g.vertical?o.get.scrollTop(g.container):o.get.scrollLeft(g.container)},C=function(){return g.vertical?o.get.height(g.container):o.get.width(g.container)},R=this._setScrollPos=function(e){g.vertical?w?window.scrollTo(o.get.scrollLeft(),e):g.container.scrollTop=e:w?window.scrollTo(e,o.get.scrollTop()):g.container.scrollLeft=e},_=function(){if(y&&h){var e=o.type.Array(h)?h:p.slice(0);h=!1;var t=v,n=(v=f.scrollPos())-t;0!==n&&(m=n>0?l:c),m===c&&e.reverse(),e.forEach((function(t,n){P(3,"updating Scene "+(n+1)+"/"+e.length+" ("+p.length+" total)"),t.update(!0)})),0===e.length&&g.loglevel>=3&&P(3,"updating 0 Scenes (nothing added to controller)")}},T=function(){i=o.rAF(_)},I=function(e){P(3,"event fired causing an update:",e.type),"resize"==e.type&&(b=C(),m=d),!0!==h&&(h=!0,T())},L=function(){if(!w&&b!=C()){var e;try{e=new Event("resize",{bubbles:!1,cancelable:!1})}catch(t){(e=document.createEvent("Event")).initEvent("resize",!1,!1)}
2g.container.dispatchEvent(e)}p.forEach((function(e,t){e.refresh()})),E()},P=this._log=function(e,t){g.loglevel>=e&&(Array.prototype.splice.call(arguments,1,0,"("+a+") ->"),o.log.apply(window,arguments))};this._options=g;var O=function(e){if(e.length<=1)return e;var t=e.slice(0);return t.sort((function(e,t){return e.scrollOffset()>t.scrollOffset()?1:-1})),t};return this.addScene=function(t){if(o.type.Array(t))t.forEach((function(e,t){f.addScene(e)}));else if(t instanceof e.Scene){if(t.controller()!==f)t.addTo(f);else if(p.indexOf(t)<0){for(var n in p.push(t),p=O(p),t.on("shift.controller_sort",(function(){p=O(p)})),g.globalSceneOptions)t[n]&&t[n].call(t,g.globalSceneOptions[n]);P(3,"adding Scene (now "+p.length+" total)")}}else P(1,"ERROR: invalid argument supplied for '.addScene()'");return f},this.removeScene=function(e){if(o.type.Array(e))e.forEach((function(e,t){f.removeScene(e)}));else{var t=p.indexOf(e);t>-1&&(e.off("shift.controller_sort"),p.splice(t,1),P(3,"removing Scene (now "+p.length+" left)"),e.remove())}return f},this.updateScene=function(t,n){return o.type.Array(t)?t.forEach((function(e,t){f.updateScene(e,n)})):n?t.update(!0):!0!==h&&t instanceof e.Scene&&(-1==(h=h||[]).indexOf(t)&&h.push(t),h=O(h),T()),f},this.update=function(e){return I({type:"resize"}),e&&_(),f},this.scrollTo=function(n,r){if(o.type.Number(n))R.call(g.container,n,r);else if(n instanceof e.Scene)n.controller()===f?f.scrollTo(n.scrollOffset(),r):P(2,"scrollTo(): The supplied scene does not belong to this controller. Scroll cancelled.",n);else if(o.type.Function(n))R=n;else{var i=o.get.elements(n)[0];if(i){for(;i.parentNode.hasAttribute(t);)i=i.parentNode;var s=g.vertical?"top":"left",a=o.get.offset(g.container),l=o.get.offset(i);w||(a[s]-=f.scrollPos()),f.scrollTo(l[s]-a[s],r)}else P(2,"scrollTo(): The supplied argument is invalid. Scroll cancelled.",n)}return f},this.scrollPos=function(e){return arguments.length?(o.type.Function(e)?x=e:P(2,"Provided value for method 'scrollPos' is not a function. To change the current scroll position use 'scrollTo()'."),f):x.call(f)},this.info=function(e){var t={size:b,vertical:g.vertical,scrollPos:v,scrollDirection:m,container:g.container,isDocument:w};return arguments.length?void 0!==t[e]?t[e]:void P(1,'ERROR: option "'+e+'" is not available'):t},this.loglevel=function(e){return arguments.length?(g.loglevel!=e&&(g.loglevel=e),f):g.loglevel},this.enabled=function(e){return arguments.length?(y!=e&&(y=!!e,f.updateScene(p,!0)),f):y},this.destroy=function(e){window.clearTimeout(s);for(var t=p.length;t--;)p[t].destroy(e);return g.container.removeEventListener("resize",I),g.container.removeEventListener("scroll",I),o.cAF(i),P(3,"destroyed "+a+" (reset: "+(e?"true":"false")+")"),null},S(),f};var n={defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}};e.Controller.addOption=function(e,t){n.defaults[e]=t},e.Controller.extend=function(t){var n=this;e.Controller=function(){return n.apply(this,arguments),this.$super=o.extend({},this),t.apply(this,arguments)||this},o.extend(e.Controller,n),e.Controller.prototype=n.prototype,e.Controller.prototype.constructor=e.Controller},e.Scene=function(n){var i,s,a="ScrollMagic.Scene",l="BEFORE",c="DURING",d="AFTER",u=r.defaults,f=this,g=o.extend({},u,n),p=l,h=0,v={start:0,end:0},m=0,w=!0,b=function(){for(var e in g)u.hasOwnProperty(e)||(S(2,'WARNING: Unknown option "'+e+'"'),delete g[e]);for(var t in u)O(t);L()},y={};this.on=function(e,t){return o.type.Function(t)?(e=e.trim().split(" ")).forEach((function(e){var n=e.split("."),r=n[0],o=n[1];"*"!=r&&(y[r]||(y[r]=[]),y[r].push({namespace:o||"",callback:t}))})):S(1,"ERROR when calling '.on()': Supplied callback for '"+e+"' is not a valid function!"),f},this.off=function(e,t){return e?((e=e.trim().split(" ")).forEach((function(e,n){var r=e.split("."),o=r[0],i=r[1]||"";("*"===o?Object.keys(y):[o]).forEach((function(e){for(var n=y[e]||[],r=n.length;r--;){var o=n[r];!o||i!==o.namespace&&"*"!==i||t&&t!=o.callback||n.splice(r,1)}n.length||delete y[e]}))})),f):(S(1,"ERROR: Invalid event name supplied."),f)},this.trigger=function(t,n){if(t){var r=t.trim().split("."),o=r[0],i=r[1],s=y[o];S(3,"event fired:",o,n?"->
2":"",n||""),s&&s.forEach((function(t,r){i&&i!==t.namespace||t.callback.call(f,new e.Event(o,t.namespace,f,n))}))}else S(1,"ERROR: Invalid event name supplied.");return f},f.on("change.internal",(function(e){"loglevel"!==e.what&&"tweenChanges"!==e.what&&("triggerElement"===e.what?_():"reverse"===e.what&&f.update())})).on("shift.internal",(function(e){C(),f.update()}));var S=this._log=function(e,t){g.loglevel>=e&&(Array.prototype.splice.call(arguments,1,0,"("+a+") ->"),o.log.apply(window,arguments))};this.addTo=function(t){return t instanceof e.Controller?s!=t&&(s&&s.removeScene(f),s=t,L(),R(!0),_(!0),C(),s.info("container").addEventListener("resize",T),t.addScene(f),f.trigger("add",{controller:s}),S(3,"added "+a+" to controller"),f.update()):S(1,"ERROR: supplied argument of 'addTo()' is not a valid ScrollMagic Controller"),f},this.enabled=function(e){return arguments.length?(w!=e&&(w=!!e,f.update(!0)),f):w},this.remove=function(){if(s){s.info("container").removeEventListener("resize",T);var e=s;s=void 0,e.removeScene(f),f.trigger("remove"),S(3,"removed "+a+" from controller")}return f},this.destroy=function(e){return f.trigger("destroy",{reset:e}),f.remove(),f.off("*.*"),S(3,"destroyed "+a+" (reset: "+(e?"true":"false")+")"),null},this.update=function(e){if(s)if(e)if(s.enabled()&&w){var t,n=s.info("scrollPos");t=g.duration>0?(n-v.start)/(v.end-v.start):n>=v.start?1:0,f.trigger("update",{startPos:v.start,endPos:v.end,scrollPos:n}),f.progress(t)}else E&&p===c&&z(!0);else s.updateScene(f,!1);return f},this.refresh=function(){return R(),_(),f},this.progress=function(e){if(arguments.length){var t=!1,n=p,r=s?s.info("scrollDirection"):"PAUSED",o=g.reverse||e>=h;if(0===g.duration?(t=h!=e,p=0==(h=e<1&&o?0:1)?l:c):e<0&&p!==l&&o?(h=0,p=l,t=!0):e>=0&&e<1&&o?(h=e,p=c,t=!0):e>=1&&p!==d?(h=1,p=d,t=!0):p!==c||o||z(),t){var i={progress:h,state:p,scrollDirection:r},a=p!=n,u=function(e){f.trigger(e,i)};a&&n!==c&&(u("enter"),u(n===l?"start":"end")),u("progress"),a&&p!==c&&(u(p===l?"start":"end"),u("leave"))}return f}return h};var E,x,C=function(){v={start:m+g.offset},s&&g.triggerElement&&(v.start-=s.info("size")*g.triggerHook),v.end=v.start+g.duration},R=function(e){if(i){var t="duration";P(t,i.call(f))&&!e&&(f.trigger("change",{what:t,newval:g[t]}),f.trigger("shift",{reason:t}))}},_=function(e){var n=0,r=g.triggerElement;if(s&&(r||m>0)){if(r)if(r.parentNode){for(var i=s.info(),a=o.get.offset(i.container),l=i.vertical?"top":"left";r.parentNode.hasAttribute(t);)r=r.parentNode;var c=o.get.offset(r);i.isDocument||(a[l]-=s.scrollPos()),n=c[l]-a[l]}else S(2,"WARNING: triggerElement was removed from DOM and will be reset to",void 0),f.triggerElement(void 0);var d=n!=m;m=n,d&&!e&&f.trigger("shift",{reason:"triggerElementPosition"})}},T=function(e){g.triggerHook>0&&f.trigger("shift",{reason:"containerResize"})},I=o.extend(r.validate,{duration:function(e){if(o.type.String(e)&&e.match(/^(\.|\d)*\d+%$/)){var t=parseFloat(e)/100;e=function(){return s?s.info("size")*t:0}}if(o.type.Function(e)){i=e;try{e=parseFloat(i.call(f))}catch(t){e=-1}}if(e=parseFloat(e),!o.type.Number(e)||e<0)throw i?(i=void 0,['Invalid return value of supplied function for option "duration":',e]):['Invalid value for option "duration":',e];return e}}),L=function(e){(e=arguments.length?[e]:Object.keys(I)).forEach((function(e,t){var n;if(I[e])try{n=I[e](g[e])}catch(t){n=u[e];var r=o.type.String(t)?[t]:t;o.type.Array(r)?(r[0]="ERROR: "+r[0],r.unshift(1),S.apply(this,r)):S(1,"ERROR: Problem executing validation callback for option '"+e+"':",t.message)}finally{g[e]=n}}))},P=function(e,t){var n=!1,r=g[e];return g[e]!=t&&(g[e]=t,L(e),n=r!=g[e]),n},O=function(e){f[e]||(f[e]=function(t){return arguments.length?("duration"===e&&(i=void 0),P(e,t)&&(f.trigger("change",{what:e,newval:g[e]}),r.shifts.indexOf(e)>-1&&f.trigger("shift",{reason:e})),f):g[e]})};this.controller=function(){return s},this.state=function(){return p},this.scrollOffset=function(){return v.start},this.triggerPosition=function(){var e=g.offset;return s&&(g.triggerElement?e+=m:e+=s.info("size")*f.triggerHook()),e},f.on("shift.internal",(function(e){var t="duration"===e.reason;(p===d&&t||p===c&&0===g.duration)&&z(),t&&G()})).on("progress.internal",(function(e){z()})).on("add.internal",(function(e){G()})).on("destroy.internal",(function(e){f.removePin(e.reset)}));var z=function(e){if(E&&s){var t=s.info(),n=x.spacer.firstChild;if(e||p!==c){var r={position:x.inFlow?"relative":"absolute",top:0,left:0},i=o.css(n,"position")!=r.position;x.pushFollowers?g.duration>0&&(p===d&&0===parseFloat(o.css(x.spacer,"padding-top"))||p===l&&0===parseFloat(o.css(x.spacer,"padding-bottom")))&&(i=!0):r[t.vertical?"top":"left"]=g.duration*h,o.css(n,r),i&&G()}else{"fixed"!=o.css(n,"position")&&(o.css(n,{position:"fixed"}),G());var a=o.get.offset(x.spacer,!0),u=g.reverse||0===g.duration?t.scrollPos-v.start:Math.round(h*g.duration*10)/10;a[t.vertical?"top":"left"]+=u,o.css(x.spacer.firstChild,{top:a.top,left
2:a.left})}}},G=function(){if(E&&s&&x.inFlow){var e=p===c,t=s.info("vertical"),n=x.spacer.firstChild,r=o.isMarginCollapseType(o.css(x.spacer,"display")),i={};x.relSize.width||x.relSize.autoFullWidth?e?o.css(E,{width:o.get.width(x.spacer)}):o.css(E,{width:"100%"}):(i["min-width"]=o.get.width(t?E:n,!0,!0),i.width=e?i["min-width"]:"auto"),x.relSize.height?e?o.css(E,{height:o.get.height(x.spacer)-(x.pushFollowers?g.duration:0)}):o.css(E,{height:"100%"}):(i["min-height"]=o.get.height(t?n:E,!0,!r),i.height=e?i["min-height"]:"auto"),x.pushFollowers&&(i["padding"+(t?"Top":"Left")]=g.duration*h,i["padding"+(t?"Bottom":"Right")]=g.duration*(1-h)),o.css(x.spacer,i)}},F=function(){s&&E&&p===c&&!s.info("isDocument")&&z()},k=function(){s&&E&&p===c&&((x.relSize.width||x.relSize.autoFullWidth)&&o.get.width(window)!=o.get.width(x.spacer.parentNode)||x.relSize.height&&o.get.height(window)!=o.get.height(x.spacer.parentNode))&&G()},A=function(e){s&&E&&p===c&&!s.info("isDocument")&&(e.preventDefault(),s._setScrollPos(s.info("scrollPos")-((e.wheelDelta||e[s.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-e.detail)))};this.setPin=function(e,n){var r={pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"},i=n&&n.hasOwnProperty("pushFollowers");if(n=o.extend({},r,n),!(e=o.get.elements(e)[0]))return S(1,"ERROR calling method 'setPin()': Invalid pin element supplied."),f;if("fixed"===o.css(e,"position"))return S(1,"ERROR calling method 'setPin()': Pin does not work with elements that are positioned 'fixed'."),f;if(E){if(E===e)return f;f.removePin()}var s=(E=e).parentNode.style.display,a=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];E.parentNode.style.display="none";var l="absolute"!=o.css(E,"position"),c=o.css(E,a.concat(["display"])),d=o.css(E,["width","height"]);E.parentNode.style.display=s,!l&&n.pushFollowers&&(S(2,"WARNING: If the pinned element is positioned absolutely pushFollowers will be disabled."),n.pushFollowers=!1),window.setTimeout((function(){E&&0===g.duration&&i&&n.pushFollowers&&S(2,"WARNING: pushFollowers =",!0,"has no effect, when scene duration is 0.")}),0);var u=E.parentNode.insertBefore(document.createElement("div"),E),p=o.extend(c,{position:l?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});if(l||o.extend(p,o.css(E,["width","height"])),o.css(u,p),u.setAttribute(t,""),o.addClass(u,n.spacerClass),x={spacer:u,relSize:{width:"%"===d.width.slice(-1),height:"%"===d.height.slice(-1),autoFullWidth:"auto"===d.width&&l&&o.isMarginCollapseType(c.display)},pushFollowers:n.pushFollowers,inFlow:l},!E.___origStyle){E.___origStyle={};var h=E.style;a.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]).forEach((function(e){E.___origStyle[e]=h[e]||""}))}return x.relSize.width&&o.css(u,{width:d.width}),x.relSize.height&&o.css(u,{height:d.height}),u.appendChild(E),o.css(E,{position:l?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(x.relSize.width||x.relSize.autoFullWidth)&&o.css(E,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",F),window.addEventListener("resize",F),window.addEventListener("resize",k),E.addEventListener("mousewheel",A),E.addEventListener("DOMMouseScroll",A),S(3,"added pin"),z(),f},this.removePin=function(e){if(E){if(p===c&&z(!0),e||!s){var n=x.spacer.firstChild;if(n.hasAttribute(t)){var r=x.spacer.style,i={};["margin","marginLeft","marginRight","marginTop","marginBottom"].forEach((function(e){i[e]=r[e]||""})),o.css(n,i)}x.spacer.parentNode.insertBefore(n,x.spacer),x.spacer.parentNode.removeChild(x.spacer),E.parentNode.hasAttribute(t)||(o.css(E,E.___origStyle),delete E.___origStyle)}window.removeEventListener("scroll",F),window.removeEventListener("resize",F),window.removeEventListener("resize",k),E.removeEventListener("mousewheel",A),E.removeEventListener("DOMMouseScroll",A),E=void 0,S(3,"removed pin (reset: "+(e?"true":"false")+")")}return f};var N,M=[];return f.on("destroy.internal",(function(e){f.removeClassToggle(e.reset)})),this.setClassToggle=function(e,t){var n=o.get.elements(e);return 0!==n.length&&o.type.String(t)?(M.length>
20&&f.removeClassToggle(),N=t,M=n,f.on("enter.internal_class leave.internal_class",(function(e){var t="enter"===e.type?o.addClass:o.removeClass;M.forEach((function(e,n){t(e,N)}))})),f):(S(1,"ERROR calling method 'setClassToggle()': Invalid "+(0===n.length?"element":"classes")+" supplied."),f)},this.removeClassToggle=function(e){return e&&M.forEach((function(e,t){o.removeClass(e,N)})),f.off("start.internal_class end.internal_class"),N=void 0,M=[],f},b(),f};var r={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(e){if(e=parseFloat(e),!o.type.Number(e))throw['Invalid value for option "offset":',e];return e},triggerElement:function(e){if(e=e||void 0){var t=o.get.elements(e)[0];if(!t||!t.parentNode)throw['Element defined in option "triggerElement" was not found:',e];e=t}return e},triggerHook:function(e){var t={onCenter:.5,onEnter:1,onLeave:0};if(o.type.Number(e))e=Math.max(0,Math.min(parseFloat(e),1));else{if(!(e in t))throw['Invalid value for option "triggerHook": ',e];e=t[e]}return e},reverse:function(e){return!!e},loglevel:function(e){if(e=parseInt(e),!o.type.Number(e)||e<0||e>3)throw['Invalid value for option "loglevel":',e];return e}},shifts:["duration","offset","triggerHook"]};e.Scene.addOption=function(t,n,o,i){t in r.defaults?e._util.log(1,"[static] ScrollMagic.Scene -> Cannot add Scene option '"+t+"', because it already exists."):(r.defaults[t]=n,r.validate[t]=o,i&&r.shifts.push(t))},e.Scene.extend=function(t){var n=this;e.Scene=function(){return n.apply(this,arguments),this.$super=o.extend({},this),t.apply(this,arguments)||this},o.extend(e.Scene,n),e.Scene.prototype=n.prototype,e.Scene.prototype.constructor=e.Scene},e.Event=function(e,t,n,r){for(var o in r=r||{})this[o]=r[o];return this.type=e,this.target=this.currentTarget=n,this.namespace=t||"",this.timeStamp=this.timestamp=Date.now(),this};var o=e._util=function(e){var t,n={},r=function(e){return parseFloat(e)||0},o=function(t){return t.currentStyle?t.currentStyle:e.getComputedStyle(t)},i=function(t,n,i,s){if((n=n===document?e:n)===e)s=!1;else if(!p.DomElement(n))return 0;t=t.charAt(0).toUpperCase()+t.substr(1).toLowerCase();var a=(i?n["offset"+t]||n["outer"+t]:n["client"+t]||n["inner"+t])||0;if(i&&s){var l=o(n);a+="Height"===t?r(l.marginTop)+r(l.marginBottom):r(l.marginLeft)+r(l.marginRight)}return a},s=function(e){return e.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()}))};n.extend=function(e){for(e=e||{},t=1;t<arguments.length;t++)if(arguments[t])for(var n in arguments[t])arguments[t].hasOwnProperty(n)&&(e[n]=arguments[t][n]);return e},n.isMarginCollapseType=function(e){return["block","flex","list-item","table","-webkit-box"].indexOf(e)>-1};var a=0,l=["ms","moz","webkit","o"],c=e.requestAnimationFrame,d=e.cancelAnimationFrame;for(t=0;!c&&t<l.length;++t)c=e[l[t]+"RequestAnimationFrame"],d=e[l[t]+"CancelAnimationFrame"]||e[l[t]+"CancelRequestAnimationFrame"];c||(c=function(t){var n=(new Date).getTime(),r=Math.max(0,16-(n-a)),o=e.setTimeout((function(){t(n+r)}),r);return a=n+r,o}),d||(d=function(t){e.clearTimeout(t)}),n.rAF=c.bind(e),n.cAF=d.bind(e);var u=["error","warn","log"],f=e.console||{};for(f.log=f.log||function(){},t=0;t<u.length;t++){var g=u[t];f[g]||(f[g]=f.log)}n.log=function(e){(e>u.length||e<=0)&&(e=u.length);var t=new Date,n=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2)+":"+("0"+t.getSeconds()).slice(-2)+":"+("00"+t.getMilliseconds()).slice(-3),r=u[e-1],o=Array.prototype.splice.call(arguments,1),i=Function.prototype.bind.call(f[r],f);o.unshift(n),i.apply(f,o)};var p=n.type=function(e){return Object.prototype.toString.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase()};p.String=function(e){return"string"===p(e)},p.Function=function(e){return"function"===p(e)},p.Array=function(e){return Array.isArray(e)},p.Number=function(e){return!p.Array(e)&&e-parseFloat(e)+1>=0},p.DomElement=function(e){return"object"==typeof HTMLElement||"function"==typeof HTMLElement?e instanceof HTMLElement||e instanceof SVGElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName};var h=n.get={};return h.elements=function(t){var n=[];if(p.String(t))try{t=document.querySelectorAll(t)}catch(e){return n}if("nodelist"===p(t)||p.Array(t)||t instanceof NodeList)for(var r=0,o=n.length=t.length;r<o;r++){var i=t[r];n[r]=p.DomElement(i)?i:h.elements(i)}else(p.DomElement(t)||t===document||t===e)&&(n=[t]);return n},h.scrollTop=function(t){return t&&"number"==typeof t.scrollTop?t.scrollTop:e.pageYOffset||0},h.scrollLeft=function(t){return t&&"number"==typeof t.scrollLeft?t.scrollLeft:e.pageXOffset||0},h.width=function(e,t,n){return i("width",e,t,n)},h.height=function(e,t,n){return i("height",e,t,n)},h.offset=function(e,t){var n={top:0,left:0};if(e&&e.getBoundingClientRect){var r=e.getBoundingClientRect();n.top=r.top,n.left=r.left,t||(n.top+=h.scrollTop(),n.left+=h.scrollLeft())}return n},n.addClass=function(e,t){t&&(e.classList?e.classList.add(t):e.className+=" "+t)},n.removeClass=function(e,t){t&&(e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))},n.css=function(e,t){if(p.String(t))return o(e)[s(t)];if(p.Array(t)){var n={},r=o(e);return t.forEach((function(e,t){n[e]=r[s(e)]})),n}for(var i in t){var a=t[i];a==parseFloat(a)&&(a+="px"),e.style[s(i)]=a}},n}(window||{});return e.Scene.prototype.addIndicators=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling addIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},e.Scene.prototype.removeIndicators=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},e.Scene.prototype.setTween=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},e.Scene.prototype.removeTween=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},e.Scene.prototype.setVelocity=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},e.Scene.prototype.removeVelocity=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},e},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},4503:function(e,t,n){var r,o,i;o=[n(2306)],r=function(e){"use strict";var t="debug.addIndicators",n=window.console||{},r=Function.prototype.bind.call(n.error||n.log||function(){},n);e||r("("+t+") -> ERROR: The ScrollMagic main module could not be found. Please make sure it's loaded before this plugin or use an asynchronous loader like requirejs.");var o="0.85em",i="9999",s=15,a=e._util,l=0;e.Scene.extend((function(){var e,t=this;
2t.addIndicators=function(n){if(!e){var r={name:"",indent:0,parent:void 0,colorStart:"green",colorEnd:"red",colorTrigger:"blue"};n=a.extend({},r,n),l++,e=new c(t,n),t.on("add.plugin_addIndicators",e.add),t.on("remove.plugin_addIndicators",e.remove),t.on("destroy.plugin_addIndicators",t.removeIndicators),t.controller()&&e.add()}return t},t.removeIndicators=function(){return e&&(e.remove(),this.off("*.plugin_addIndicators"),e=void 0),t}})),e.Controller.addOption("addIndicators",!1),e.Controller.extend((function(){var n=this,r=n.info(),o=r.container,i=r.isDocument,l=r.vertical,c={groups:[]},d=function(){n._log&&(Array.prototype.splice.call(arguments,1,0,"("+t+")","->"),n._log.apply(this,arguments))};n._indicators&&d(2,"WARNING: Scene already has a property '_indicators', which will be overwritten by plugin."),this._indicators=c;var u=function(){c.updateBoundsPositions()},f=function(){c.updateTriggerGroupPositions()};return o.addEventListener("resize",f),i||(window.addEventListener("resize",f),window.addEventListener("scroll",f)),o.addEventListener("resize",u),o.addEventListener("scroll",u),this._indicators.updateBoundsPositions=function(e){for(var t,n,r,i=e?[a.extend({},e.triggerGroup,{members:[e]})]:c.groups,d=i.length,u={},f=l?"left":"top",g=l?"width":"height",p=l?a.get.scrollLeft(o)+a.get.width(o)-s:a.get.scrollTop(o)+a.get.height(o)-s;d--;)for(t=(r=i[d]).members.length,n=a.get[g](r.element.firstChild);t--;)u[f]=p-n,a.css(r.members[t].bounds,u)},this._indicators.updateTriggerGroupPositions=function(e){for(var t,r,d,u,f=e?[e]:c.groups,g=f.length,p=i?document.body:o,h=i?{top:0,left:0}:a.get.offset(p,!0),v=l?a.get.width(o)-s:a.get.height(o)-s,m=l?"width":"height",w=l?"Y":"X";g--;)r=(t=f[g]).element,u=(d=t.triggerHook*n.info("size"))>a.get[m](r.firstChild.firstChild)?"translate"+w+"(-100%)":"",a.css(r,{top:h.top+(l?d:v-t.members[0].options.indent),left:h.left+(l?v-t.members[0].options.indent:d)}),a.css(r.firstChild.firstChild,{"-ms-transform":u,"-webkit-transform":u,transform:u})},this._indicators.updateTriggerGroupLabel=function(e){var t="trigger"+(e.members.length>1?"":" "+e.members[0].options.name),n=e.element.firstChild.firstChild;n.textContent!==t&&(n.textContent=t,l&&c.updateBoundsPositions())},this.addScene=function(t){this._options.addIndicators&&t instanceof e.Scene&&t.controller()===n&&t.addIndicators(),this.$super.addScene.apply(this,arguments)},this.destroy=function(){o.removeEventListener("resize",f),i||(window.removeEventListener("resize",f),window.removeEventListener("scroll",f)),o.removeEventListener("resize",u),o.removeEventListener("scroll",u),this.$super.destroy.apply(this,arguments)},n}));var c=function(e,n){var r,o,i=this,s=d.bounds(),c=d.start(n.colorStart),u=d.end(n.colorEnd),f=n.parent&&a.get.elements(n.parent)[0],g=function(){e._log&&(Array.prototype.splice.call(arguments,1,0,"("+t+")","->"),e._log.apply(this,arguments))};n.name=n.name||l,c.firstChild.textContent+=" "+n.name,u.textContent+=" "+n.name,s.appendChild(c),s.appendChild(u),i.options=n,i.bounds=s,i.triggerGroup=void 0,this.add=function(){o=e.controller(),r=o.info("vertical");var t=o.info("isDocument");f||(f=t?document.body:o.info("container")),t||"static"!==a.css(f,"position")||a.css(f,{position:"relative"}),e.on("change.plugin_addIndicators",h),e.on("shift.plugin_addIndicators",p),S(),w(),setTimeout((function(){o._indicators.updateBoundsPositions(i)}),0),g(3,"added indicators")},this.remove=function(){if(i.triggerGroup){if(e.off("change.plugin_addIndicators",h),e.off("shift.plugin_addIndicators",p),i.triggerGroup.members.length>1){var t=i.triggerGroup;t.members.splice(t.members.indexOf(i),1),o._indicators.updateTriggerGroupLabel(t),o._indicators.updateTriggerGroupPositions(t),i.triggerGroup=void 0}else y();m(),g(3,"removed indicators")}};var p=function(){w()},h=function(e){"triggerHook"===e.what&&S()},v=function(){var e=o.info("vertical");a.css(c.firstChild,{"border-bottom-width":e?1:0,"border-right-width":e?0:1,bottom:e?-1:n.indent,right:e?n.indent:-1,padding:e?"0 8px":"2px 4px"}),a.css(u,{"border-top-width":e?1:0,"border-left-width":e?0:1,top:e?"100%":"",right:e?n.indent:"",bottom:e?"":n.indent,left:e?"":"100%",padding:e?"0 8px":"2px 4px"}),f.appendChild(s)},m=function(){s.parentNode.removeChild(s)},w=function(){s.parentNode!==f&&v();var t={};t[r?"top":"left"]=e.triggerPosition(),t[r?"height":"width"]=e.duration(),a.css(s,t),a.css(u,{display:e.duration()>
20?"":"none"})},b=function(){var t=d.trigger(n.colorTrigger),s={};s[r?"right":"bottom"]=0,s[r?"border-top-width":"border-left-width"]=1,a.css(t.firstChild,s),a.css(t.firstChild.firstChild,{padding:r?"0 8px 3px 8px":"3px 4px"}),document.body.appendChild(t);var l={triggerHook:e.triggerHook(),element:t,members:[i]};o._indicators.groups.push(l),i.triggerGroup=l,o._indicators.updateTriggerGroupLabel(l),o._indicators.updateTriggerGroupPositions(l)},y=function(){o._indicators.groups.splice(o._indicators.groups.indexOf(i.triggerGroup),1),i.triggerGroup.element.parentNode.removeChild(i.triggerGroup.element),i.triggerGroup=void 0},S=function(){var t=e.triggerHook(),n=1e-4;if(!(i.triggerGroup&&Math.abs(i.triggerGroup.triggerHook-t)<n)){for(var r,s=o._indicators.groups,a=s.length;a--;)if(r=s[a],Math.abs(r.triggerHook-t)<n)return i.triggerGroup&&(1===i.triggerGroup.members.length?y():(i.triggerGroup.members.splice(i.triggerGroup.members.indexOf(i),1),o._indicators.updateTriggerGroupLabel(i.triggerGroup),o._indicators.updateTriggerGroupPositions(i.triggerGroup))),r.members.push(i),i.triggerGroup=r,void o._indicators.updateTriggerGroupLabel(r);if(i.triggerGroup){if(1===i.triggerGroup.members.length)return i.triggerGroup.triggerHook=t,void o._indicators.updateTriggerGroupPositions(i.triggerGroup);i.triggerGroup.members.splice(i.triggerGroup.members.indexOf(i),1),o._indicators.updateTriggerGroupLabel(i.triggerGroup),o._indicators.updateTriggerGroupPositions(i.triggerGroup),i.triggerGroup=void 0}b()}}},d={start:function(e){var t=document.createElement("div");t.textContent="start",a.css(t,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:e,"border-color":e});var n=document.createElement("div");return a.css(n,{position:"absolute",overflow:"visible",width:0,height:0}),n.appendChild(t),n},end:function(e){var t=document.createElement("div");return t.textContent="end",a.css(t,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:e,"border-color":e}),t},bounds:function(){var e=document.createElement("div");return a.css(e,{position:"absolute",overflow:"visible","white-space":"nowrap","pointer-events":"none","font-size":o}),e.style.zIndex=i,e},trigger:function(e){var t=document.createElement("div");t.textContent="trigger",a.css(t,{position:"relative"});var n=document.createElement("div");a.css(n,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:e,"border-color":e}),n.appendChild(t);var r=document.createElement("div");return a.css(r,{position:"fixed",overflow:"visible","white-space":"nowrap","pointer-events":"none","font-size":o}),r.style.zIndex=i,r.appendChild(n),r}}},void 0===(i="function"==typeof r?r.apply(t,o):r)||(e.exports=i)}}]);

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.