1/*! For license information please see 1839.js.LICENSE.txt */ 2(self.webpackChunkubco=self.webpackChunkubco||[]).push([[1839],{344:function(e,t,n){var o,r;o=function(){"use strict";var e=function(){r.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(o){var i,l,s="ScrollMagic.Controller",a="FORWARD",c="REVERSE",u="PAUSED",f=n.defaults,d=this,p=r.extend({},f,o),g=[],h=!1,v=0,m=u,w=!0,y=0,S=!0,b=function(){for(var t in p)f.hasOwnProperty(t)||(A(2,'WARNING: Unknown option "'+t+'"'),delete p[t]);if(p.container=r.get.elements(p.container)[0],!p.container)throw A(1,"ERROR creating object "+s+": No valid scroll container supplied"),s+" init failed.";(w=p.container===window||p.container===document.body||!document.body.contains(p.container))&&(p.container=window),y=T(),p.container.addEventListener("resize",P),p.container.addEventListener("scroll",P);var n=parseInt(p.refreshInterval,10);p.refreshInterval=r.type.Number(n)?n:f.refreshInterval,E(),A(3,"added new "+s+" controller (v"+e.version+")")},E=function(){p.refreshInterval>0&&(l=window.setTimeout(x,p.refreshInterval))},R=function(){return p.vertical?r.get.scrollTop(p.container):r.get.scrollLeft(p.container)},T=function(){return p.vertical?r.get.height(p.container):r.get.width(p.container)},C=this._setScrollPos=function(e){p.vertical?w?window.scrollTo(r.get.scrollLeft(),e):p.container.scrollTop=e:w?window.scrollTo(e,r.get.scrollTop()):p.container.scrollLeft=e},O=function(){if(S&&h){var e=r.type.Array(h)?h:g.slice(0);h=!1;var t=v,n=(v=d.scrollPos())-t;0!==n&&(m=n>0?a:c),m===c&&e.reverse(),e.forEach((function(t,n){A(3,"updating Scene "+(n+1)+"/"+e.length+" ("+g.length+" total)"),t.update(!0)})),0===e.length&&p.loglevel>=3&&A(3,"updating 0 Scenes (nothing added to controller)")}},F=function(){i=r.rAF(O)},P=function(e){A(3,"event fired causing an update:",e.type),"resize"==e.type&&(y=T(),m=u),!0!==h&&(h=!0,F())},x=function(){if(!w&&y!=T()){var e;try{e=new Event("resize",{bubbles:!1,cancelable:!1})}catch(t){(e=document.createEvent("Event")).initEvent("resize",!1,!1)}p.container.dispatchEvent(e)}g.forEach((function(e,t){e.refresh()})),E()},A=this._log=function(e,t){p.loglevel>=e&&(Array.prototype.splice.call(arguments,1,0,"("+s+") ->"),r.log.apply(window,arguments))};this._options=p;var z=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(r.type.Array(t))t.forEach((function(e,t){d.addScene(e)}));else if(t instanceof e.Scene){if(t.controller()!==d)t.addTo(d);else if(g.indexOf(t)<0){for(var n in g.push(t),g=z(g),t.on("shift.controller_sort",(function(){g=z(g)})),p.globalSceneOptions)t[n]&&t[n].call(t,p.globalSceneOptions[n]);A(3,"adding Scene (now "+g.length+" total)")}}else A(1,"ERROR: invalid argument supplied for '.addScene()'");return d},this.removeScene=function(e){if(r.type.Array(e))e.forEach((function(e,t){d.removeScene(e)}));else{var t=g.indexOf(e);t>-1&&(e.off("shift.controller_sort"),g.splice(t,1),A(3,"removing Scene (now "+g.length+" left)"),e.remove())}return d},this.updateScene=function(t,n){return r.type.Array(t)?t.forEach((function(e,t){d.updateScene(e,n)})):n?t.update(!0):!0!==h&&t instanceof e.Scene&&(-1==(h=h||[]).indexOf(t)&&h.push(t),h=z(h),F()),d},this.update=function(e){return P({type:"resize"}),e&&O(),d},this.scrollTo=function(n,o){if(r.type.Number(n))C.call(p.container,n,o);else if(n instanceof e.Scene)n.controller()===d?d.scrollTo(n.scrollOffset(),o):A(2,"scrollTo(): The supplied scene does not belong to this controller. Scroll cancelled.",n);else if(r.type.Function(n))C=n;else{var i=r.get.elements(n)[0];if(i){for(;i.parentNode.hasAttribute(t);)i=i.parentNode;var l=p.vertical?"top":"left",s=r.get.offset(p.container),a=r.get.offset(i);w||(s[l]-=d.scrollPos()),d.scrollTo(a[l]-s[l],o)}
2else A(2,"scrollTo(): The supplied argument is invalid. Scroll cancelled.",n)}return d},this.scrollPos=function(e){return arguments.length?(r.type.Function(e)?R=e:A(2,"Provided value for method 'scrollPos' is not a function. To change the current scroll position use 'scrollTo()'."),d):R.call(d)},this.info=function(e){var t={size:y,vertical:p.vertical,scrollPos:v,scrollDirection:m,container:p.container,isDocument:w};return arguments.length?void 0!==t[e]?t[e]:void A(1,'ERROR: option "'+e+'" is not available'):t},this.loglevel=function(e){return arguments.length?(p.loglevel!=e&&(p.loglevel=e),d):p.loglevel},this.enabled=function(e){return arguments.length?(S!=e&&(S=!!e,d.updateScene(g,!0)),d):S},this.destroy=function(e){window.clearTimeout(l);for(var t=g.length;t--;)g[t].destroy(e);return p.container.removeEventListener("resize",P),p.container.removeEventListener("scroll",P),r.cAF(i),A(3,"destroyed "+s+" (reset: "+(e?"true":"false")+")"),null},b(),d};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=r.extend({},this),t.apply(this,arguments)||this},r.extend(e.Controller,n),e.Controller.prototype=n.prototype,e.Controller.prototype.constructor=e.Controller},e.Scene=function(n){var i,l,s="ScrollMagic.Scene",a="BEFORE",c="DURING",u="AFTER",f=o.defaults,d=this,p=r.extend({},f,n),g=a,h=0,v={start:0,end:0},m=0,w=!0,y=function(){for(var e in p)f.hasOwnProperty(e)||(b(2,'WARNING: Unknown option "'+e+'"'),delete p[e]);for(var t in f)z(t);x()},S={};this.on=function(e,t){return r.type.Function(t)?(e=e.trim().split(" ")).forEach((function(e){var n=e.split("."),o=n[0],r=n[1];"*"!=o&&(S[o]||(S[o]=[]),S[o].push({namespace:r||"",callback:t}))})):b(1,"ERROR when calling '.on()': Supplied callback for '"+e+"' is not a valid function!"),d},this.off=function(e,t){return e?((e=e.trim().split(" ")).forEach((function(e,n){var o=e.split("."),r=o[0],i=o[1]||"";("*"===r?Object.keys(S):[r]).forEach((function(e){for(var n=S[e]||[],o=n.length;o--;){var r=n[o];!r||i!==r.namespace&&"*"!==i||t&&t!=r.callback||n.splice(o,1)}n.length||delete S[e]}))})),d):(b(1,"ERROR: Invalid event name supplied."),d)},this.trigger=function(t,n){if(t){var o=t.trim().split("."),r=o[0],i=o[1],l=S[r];b(3,"event fired:",r,n?"->":"",n||""),l&&l.forEach((function(t,o){i&&i!==t.namespace||t.callback.call(d,new e.Event(r,t.namespace,d,n))}))}else b(1,"ERROR: Invalid event name supplied.");return d},d.on("change.internal",(function(e){"loglevel"!==e.what&&"tweenChanges"!==e.what&&("triggerElement"===e.what?O():"reverse"===e.what&&d.update())})).on("shift.internal",(function(e){T(),d.update()}));var b=this._log=function(e,t){p.loglevel>=e&&(Array.prototype.splice.call(arguments,1,0,"("+s+") ->"),r.log.apply(window,arguments))};this.addTo=function(t){return t instanceof e.Controller?l!=t&&(l&&l.removeScene(d),l=t,x(),C(!0),O(!0),T(),l.info("container").addEventListener("resize",F),t.addScene(d),d.trigger("add",{controller:l}),b(3,"added "+s+" to controller"),d.update()):b(1,"ERROR: supplied argument of 'addTo()' is not a valid ScrollMagic Controller"),d},this.enabled=function(e){return arguments.length?(w!=e&&(w=!!e,d.update(!0)),d):w},this.remove=function(){if(l){l.info("container").removeEventListener("resize",F);var e=l;l=void 0,e.removeScene(d),d.trigger("remove"),b(3,"removed "+s+" from controller")}return d},this.destroy=function(e){return d.trigger("destroy",{reset:e}),d.remove(),d.off("*.*"),b(3,"destroyed "+s+" (reset: "+(e?"true":"false")+")"),null},this.update=function(e){if(l)if(e)if(l.enabled()&&w){var t,n=l.info("scrollPos");t=p.duration>0?(n-v.start)/(v.end-v.start):n>=v.start?1:0,d.trigger("update",{startPos:v.start,endPos:v.end,scrollPos:n}),d.progress(t)}else E&&g===c&&k(!0);else l.updateScene(d,!1);return d},this.refresh=function(){return C(),O(),d},this.progress=function(e){if(arguments.length){var t=!1,n=g,o=l?l.info("scrollDirection"):"PAUSED",r=p.reverse||e>=h;if(0===p.duration?(t=h!=e,g=0==(h=e<1&&r?0:1)?a:c):e<0&&g!==a&&r?(h=0,g=a,t=!0):e>=0&&e<1&&r?(h=e,g=c,t=!0):e>=1&&g!==u?(h=1,g=u,t=!0):g!==c||r||k(),t){var i={progress:h,state:g,scrollDirection:o}
2,s=g!=n,f=function(e){d.trigger(e,i)};s&&n!==c&&(f("enter"),f(n===a?"start":"end")),f("progress"),s&&g!==c&&(f(g===a?"start":"end"),f("leave"))}return d}return h};var E,R,T=function(){v={start:m+p.offset},l&&p.triggerElement&&(v.start-=l.info("size")*p.triggerHook),v.end=v.start+p.duration},C=function(e){if(i){var t="duration";A(t,i.call(d))&&!e&&(d.trigger("change",{what:t,newval:p[t]}),d.trigger("shift",{reason:t}))}},O=function(e){var n=0,o=p.triggerElement;if(l&&(o||m>0)){if(o)if(o.parentNode){for(var i=l.info(),s=r.get.offset(i.container),a=i.vertical?"top":"left";o.parentNode.hasAttribute(t);)o=o.parentNode;var c=r.get.offset(o);i.isDocument||(s[a]-=l.scrollPos()),n=c[a]-s[a]}else b(2,"WARNING: triggerElement was removed from DOM and will be reset to",void 0),d.triggerElement(void 0);var u=n!=m;m=n,u&&!e&&d.trigger("shift",{reason:"triggerElementPosition"})}},F=function(e){p.triggerHook>0&&d.trigger("shift",{reason:"containerResize"})},P=r.extend(o.validate,{duration:function(e){if(r.type.String(e)&&e.match(/^(\.|\d)*\d+%$/)){var t=parseFloat(e)/100;e=function(){return l?l.info("size")*t:0}}if(r.type.Function(e)){i=e;try{e=parseFloat(i.call(d))}catch(t){e=-1}}if(e=parseFloat(e),!r.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}}),x=function(e){(e=arguments.length?[e]:Object.keys(P)).forEach((function(e,t){var n;if(P[e])try{n=P[e](p[e])}catch(t){n=f[e];var o=r.type.String(t)?[t]:t;r.type.Array(o)?(o[0]="ERROR: "+o[0],o.unshift(1),b.apply(this,o)):b(1,"ERROR: Problem executing validation callback for option '"+e+"':",t.message)}finally{p[e]=n}}))},A=function(e,t){var n=!1,o=p[e];return p[e]!=t&&(p[e]=t,x(e),n=o!=p[e]),n},z=function(e){d[e]||(d[e]=function(t){return arguments.length?("duration"===e&&(i=void 0),A(e,t)&&(d.trigger("change",{what:e,newval:p[e]}),o.shifts.indexOf(e)>-1&&d.trigger("shift",{reason:e})),d):p[e]})};this.controller=function(){return l},this.state=function(){return g},this.scrollOffset=function(){return v.start},this.triggerPosition=function(){var e=p.offset;return l&&(p.triggerElement?e+=m:e+=l.info("size")*d.triggerHook()),e},d.on("shift.internal",(function(e){var t="duration"===e.reason;(g===u&&t||g===c&&0===p.duration)&&k(),t&&L()})).on("progress.internal",(function(e){k()})).on("add.internal",(function(e){L()})).on("destroy.internal",(function(e){d.removePin(e.reset)}));var k=function(e){if(E&&l){var t=l.info(),n=R.spacer.firstChild;if(e||g!==c){var o={position:R.inFlow?"relative":"absolute",top:0,left:0},i=r.css(n,"position")!=o.position;R.pushFollowers?p.duration>0&&(g===u&&0===parseFloat(r.css(R.spacer,"padding-top"))||g===a&&0===parseFloat(r.css(R.spacer,"padding-bottom")))&&(i=!0):o[t.vertical?"top":"left"]=p.duration*h,r.css(n,o),i&&L()}else{"fixed"!=r.css(n,"position")&&(r.css(n,{position:"fixed"}),L());var s=r.get.offset(R.spacer,!0),f=p.reverse||0===p.duration?t.scrollPos-v.start:Math.round(h*p.duration*10)/10;s[t.vertical?"top":"left"]+=f,r.css(R.spacer.firstChild,{top:s.top,left:s.left})}}},L=function(){if(E&&l&&R.inFlow){var e=g===c,t=l.info("vertical"),n=R.spacer.firstChild,o=r.isMarginCollapseType(r.css(R.spacer,"display")),i={};R.relSize.width||R.relSize.autoFullWidth?e?r.css(E,{width:r.get.width(R.spacer)}):r.css(E,{width:"100%"}):(i["min-width"]=r.get.width(t?E:n,!0,!0),i.width=e?i["min-width"]:"auto"),R.relSize.height?e?r.css(E,{height:r.get.height(R.spacer)-(R.pushFollowers?p.duration:0)}):r.css(E,{height:"100%"}):(i["min-height"]=r.get.height(t?n:E,!0,!o),i.height=e?i["min-height"]:"auto"),R.pushFollowers&&(i["padding"+(t?"Top":"Left")]=p.duration*h,i["padding"+(t?"Bottom":"Right")]=p.duration*(1-h)),r.css(R.spacer,i)}},N=function(){l&&E&&g===c&&!l.info("isDocument")&&k()},I=function(){l&&E&&g===c&&((R.relSize.width||R.relSize.autoFullWidth)&&r.get.width(window)!=r.get.width(R.spacer.parentNode)||R.relSize.height&&r.get.height(window)!=r.get.height(R.spacer.parentNode))&&L()},_=function(e){l&&E&&g===c&&!l.info("isDocument")&&(e.preventDefault(),l._setScrollPos(l.info("scrollPos")-((e.wheelDelta||e[l.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-e.detail)))};this.setPin=function(e,n){var o={pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"},i=n&&n.hasOwnProperty("pushFollowers");if(n=r.extend({},o,n),!(e=r.get.elements(e)[0]))return b(1,"ERROR calling method 'setPin()': Invalid pin element supplied."),d;if("fixed"===r.css(e,"position"))return b(1,"ERROR calling method 'setPin()': Pin does not work with elements that are positioned 'fixed'."),d;if(E){if(E===e)return d;d.removePin()}var l=(E=e).parentNode.style.display,s=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];E.parentNode.style.display="none";var a="absolute"!=r.css(E,"position"),c=r.css(E,s.concat(["display"])),u=r.css(E,["width","height"]);E.parentNode.style.display=l,!a&&n.pushFollowers&&(b(2,"WARNING: If the pinned element is positioned absolutely pushFollowers will be disabled."),n.pushFollowers=!1),window.setTimeout((function(){E&&0===p.duration&&i&&n.pushFollowers&&b(2,"WARNING: pushFollowers =",!0,"has no effect, when scene duration is 0.")}),0);var f=E.parentNode.insertBefore(document.createElement("div"),E),g=r.extend(c,{position:a?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});if(a||r.extend(g,r.css(E,["width","height"])),r.css(f,g),f.setAttribute(t,""),r.addClass(f,n.spacerClass),R={spacer:f,relSize:{width:"%"===u.width.slice(-1),height:"%"===u.he
2ight.slice(-1),autoFullWidth:"auto"===u.width&&a&&r.isMarginCollapseType(c.display)},pushFollowers:n.pushFollowers,inFlow:a},!E.___origStyle){E.___origStyle={};var h=E.style;s.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]).forEach((function(e){E.___origStyle[e]=h[e]||""}))}return R.relSize.width&&r.css(f,{width:u.width}),R.relSize.height&&r.css(f,{height:u.height}),f.appendChild(E),r.css(E,{position:a?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(R.relSize.width||R.relSize.autoFullWidth)&&r.css(E,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",N),window.addEventListener("resize",N),window.addEventListener("resize",I),E.addEventListener("mousewheel",_),E.addEventListener("DOMMouseScroll",_),b(3,"added pin"),k(),d},this.removePin=function(e){if(E){if(g===c&&k(!0),e||!l){var n=R.spacer.firstChild;if(n.hasAttribute(t)){var o=R.spacer.style,i={};["margin","marginLeft","marginRight","marginTop","marginBottom"].forEach((function(e){i[e]=o[e]||""})),r.css(n,i)}R.spacer.parentNode.insertBefore(n,R.spacer),R.spacer.parentNode.removeChild(R.spacer),E.parentNode.hasAttribute(t)||(r.css(E,E.___origStyle),delete E.___origStyle)}window.removeEventListener("scroll",N),window.removeEventListener("resize",N),window.removeEventListener("resize",I),E.removeEventListener("mousewheel",_),E.removeEventListener("DOMMouseScroll",_),E=void 0,b(3,"removed pin (reset: "+(e?"true":"false")+")")}return d};var M,D=[];return d.on("destroy.internal",(function(e){d.removeClassToggle(e.reset)})),this.setClassToggle=function(e,t){var n=r.get.elements(e);return 0!==n.length&&r.type.String(t)?(D.length>0&&d.removeClassToggle(),M=t,D=n,d.on("enter.internal_class leave.internal_class",(function(e){var t="enter"===e.type?r.addClass:r.removeClass;D.forEach((function(e,n){t(e,M)}))})),d):(b(1,"ERROR calling method 'setClassToggle()': Invalid "+(0===n.length?"element":"classes")+" supplied."),d)},this.removeClassToggle=function(e){return e&&D.forEach((function(e,t){r.removeClass(e,M)})),d.off("start.internal_class end.internal_class"),M=void 0,D=[],d},y(),d};var o={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(e){if(e=parseFloat(e),!r.type.Number(e))throw['Invalid value for option "offset":',e];return e},triggerElement:function(e){if(e=e||void 0){var t=r.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(r.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),!r.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,r,i){t in o.defaults?e._util.log(1,"[static] ScrollMagic.Scene -> Cannot add Scene option '"+t+"', because it already exists."):(o.defaults[t]=n,o.validate[t]=r,i&&o.shifts.push(t))},e.Scene.extend=function(t){var n=this;e.Scene=function(){return n.apply(this,arguments),this.$super=r.extend({},this),t.apply(this,arguments)||this},r.extend(e.Scene,n),e.Scene.prototype=n.prototype,e.Scene.prototype.constructor=e.Scene},e.Event=function(e,t,n,o){for(var r in o=o||{})this[r]=o[r];return this.type=e,this.target=this.currentTarget=n,this.namespace=t||"",this.timeStamp=this.timestamp=Date.now(),this};var r=e._util=function(e){var t,n={},o=function(e){return parseFloat(e)||0},r=function(t){return t.currentStyle?t.currentStyle:e.getComputedStyle(t)},i=function(t,n,i,l){if((n=n===document?e:n)===e)l=!1;else if(!g.DomElement(n))return 0;t=t.charAt(0).toUpperCase()+t.substr(1).toLowerCase();var s=(i?n["offset"+t]||n["outer"+t]:n["client"+t]||n["inner"+t])||0;if(i&&l){var a=r(n);s+="Height"===t?o(a.marginTop)+o(a.marginBottom):o(a.marginLeft)+o(a.marginRight)}return s},l=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};
2var s=0,a=["ms","moz","webkit","o"],c=e.requestAnimationFrame,u=e.cancelAnimationFrame;for(t=0;!c&&t<a.length;++t)c=e[a[t]+"RequestAnimationFrame"],u=e[a[t]+"CancelAnimationFrame"]||e[a[t]+"CancelRequestAnimationFrame"];c||(c=function(t){var n=(new Date).getTime(),o=Math.max(0,16-(n-s)),r=e.setTimeout((function(){t(n+o)}),o);return s=n+o,r}),u||(u=function(t){e.clearTimeout(t)}),n.rAF=c.bind(e),n.cAF=u.bind(e);var f=["error","warn","log"],d=e.console||{};for(d.log=d.log||function(){},t=0;t<f.length;t++){var p=f[t];d[p]||(d[p]=d.log)}n.log=function(e){(e>f.length||e<=0)&&(e=f.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),o=f[e-1],r=Array.prototype.splice.call(arguments,1),i=Function.prototype.bind.call(d[o],d);r.unshift(n),i.apply(d,r)};var g=n.type=function(e){return Object.prototype.toString.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase()};g.String=function(e){return"string"===g(e)},g.Function=function(e){return"function"===g(e)},g.Array=function(e){return Array.isArray(e)},g.Number=function(e){return!g.Array(e)&&e-parseFloat(e)+1>=0},g.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(g.String(t))try{t=document.querySelectorAll(t)}catch(e){return n}if("nodelist"===g(t)||g.Array(t)||t instanceof NodeList)for(var o=0,r=n.length=t.length;o<r;o++){var i=t[o];n[o]=g.DomElement(i)?i:h.elements(i)}else(g.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 o=e.getBoundingClientRect();n.top=o.top,n.left=o.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(g.String(t))return r(e)[l(t)];if(g.Array(t)){var n={},o=r(e);return t.forEach((function(e,t){n[e]=o[l(e)]})),n}for(var i in t){var s=t[i];s==parseFloat(s)&&(s+="px"),e.style[l(i)]=s}},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===(r="function"==typeof o?o.call(t,n,t,e):o)||(e.exports=r)},1839:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var o=n(344),r=n.n(o);const i={options:{immediate:!1,toggle:!1,children:!1,offset:150,hook:"onEnter",delay:0,class:"appear",selector:null,callback:()=>{}}
2,bind(e,t,n){n.appear={controller:null,getConfig(e){return Object.assign({},i.options,e.modifiers,"object"==typeof e.value?e.value:{})},getElements(e,t){return t.children?t.selector?e.querySelectorAll(t.selector):e.children:[e]},setup(e,t){t.immediate||(this.controller=new(r().Controller));let n=e=>{if(t.immediate)e.classList.add(t.class),t.callback(!0);else{let n=new(r().Scene)({triggerElement:e,triggerHook:t.hook,offset:t.offset});n.setClassToggle(e,t.class),n.addTo(this.controller),t.toggle?(n.on("enter",(()=>t.callback(!0))),n.on("leave",(()=>t.callback(!1)))):n.on("enter",(()=>{n.destroy(),t.callback(!0)}))}};setTimeout((()=>{Array.from(this.getElements(e,t)).slice().forEach(n)}),t.delay)},destroy(e,t){Array.from(this.getElements(e,t)).slice().forEach((e=>{e.classList.remove(t.class)})),t.immediate||this.controller.destroy(!0),t.callback(!1)}}},inserted(e,t,n){let o=Object.assign({},{enabled:!0},t.value||{}).enabled,r=n.appear.getConfig(t);o&&n.appear.setup(e,r)},update(e,t,n,o){n.appear=o.appear;let r=Object.assign({},{enabled:!0},t.oldValue||{}).enabled,i=Object.assign({},{enabled:!0},t.value||{}).enabled,l=n.appear.getConfig(t);!r&&i&&n.appear.setup(e,l),r&&!i&&n.appear.destroy(e,l)}};var l=i;const s=(e,t)=>{s.installed||(s.installed=!0,t&&(l.options=Object.assign({},l.options,t)),e.directive("appear",l))},a={install:s,directive:l};if("undefined"!=typeof window&&window.Vue){let e=window.APPEAR_OPTIONS||{};window.Vue.use(a,e)}var c=a}}]);
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.