!function o(a,s,l){function c(e,t){if(!s[e]){if(!a[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(u)return u(e,!0);var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}var i=s[e]={exports:{}};a[e][0].call(i.exports,function(t){return c(a[e][1][t]||t)},i,i.exports,o,a,s,l)}return s[e].exports}for(var u="function"==typeof require&&require,t=0;t'),l.$body.on(u.gestureChange,a.killGesture).on(u.gestureStart,a.killGesture).on(u.gestureEnd,a.killGesture),h=!0)},unlockViewport:function(t){"undefined"!==v.type(p[t])&&delete p[t],v.isEmptyObject(p)&&h&&(e.length&&(n?e.attr("content",n):e.remove()),l.$body.off(u.gestureChange).off(u.gestureStart).off(u.gestureEnd),h=!1)},startTimer:function(t,e,n,r){return a.clearTimer(t),r?setInterval(n,e):setTimeout(n,e)},clearTimer:function(t,e){t&&(e?clearInterval(t):clearTimeout(t),t=null)},sortAsc:function(t,e){return parseInt(t,10)-parseInt(e,10)},sortDesc:function(t,e){return parseInt(e,10)-parseInt(t,10)},decodeEntities:function(t){var e=l.document.createElement("textarea");return e.innerHTML=t,e.value},parseQueryString:function(t){for(var e={},n=t.slice(t.indexOf("?")+1).split("&"),r=0;r'+i.attr("label")+"";else{var a=i.val(),s=i.data("label"),l=t.links?"a":'button type="button"';i.attr("value")||i.attr("value",a),o.push(C.item),i.hasClass(C.item_placeholder)&&(o.push(C.item_placeholder),l="span"),i.prop("selected")&&o.push(C.item_selected),i.prop("disabled")&&o.push(C.item_disabled),e+="<"+l+' class="'+o.join(" ")+'"',t.links?"span"===l?e+=' aria-hidden="true"':(e+=' href="'+a+'"',t.external&&(e+=' target="_blank"')):e+=' data-value="'+a+'"',e+=' role="option"',i.prop("selected")&&(e+=' "aria-selected"="true"'),e+=">",e+=s||c.decodeEntities(w(i.text(),t.trim)),e+=""}}t.$items=t.$wrapper.html(f.parseHTML(e)).find(x.item)}function h(t){c.killEvent(t);var e=t.data;e.disabled||e.useNative||(e.closed?r(e):a(e)),n(e)}function n(t){f(x.base).not(t.$dropdown).trigger(k.close,[t])}function r(t){if(t.closed){var e=T.height(),n=t.$wrapper.outerHeight(!0);t.$dropdown[0].getBoundingClientRect().bottom+n>e-t.bottomEdge&&t.$dropdown.addClass(C.bottom),$.on(k.click+t.dotGuid,":not("+x.options+")",t,i),t.$dropdown.trigger(k.focusIn),t.$dropdown.addClass(C.open),s(t),t.closed=!1}}function a(t){t&&!t.closed&&($.off(k.click+t.dotGuid),t.$dropdown.removeClass([C.open,C.bottom].join(" ")),t.closed=!0)}function i(t){c.killEvent(t);var e=t.data;e&&0===f(t.currentTarget).parents(x.base).length&&(a(e),e.$dropdown.trigger(k.focusOut))}function v(t){var e=t.data;e&&(a(e),e.$dropdown.trigger(k.focusOut))}function m(t){var e=f(this),n=t.data;if(c.killEvent(t),!n.disabled){var r=n.$items.index(e);n.focusIndex=r,n.$wrapper.is(":visible")&&(b(r,n,t.shiftKey,t.metaKey||t.ctrlKey),l(n)),n.multiple||a(n),n.$dropdown.trigger(k.focus)}}function g(t,e){f(this);var n=t.data;if(!e&&!n.multiple){var r=n.$options.index(n.$options.filter(":selected"));b(n.focusIndex=r,n),l(n,!0)}}function y(t){c.killEvent(t),f(t.currentTarget);var e=t.data;e.disabled||e.multiple||e.focused||(n(e),e.focused=!0,e.focusIndex=e.index,e.input="",e.$dropdown.addClass(C.focus).on(k.keyDown+e.dotGuid,e,o))}function _(t){c.killEvent(t),f(t.currentTarget);var e=t.data;e.focused&&e.closed&&(e.focused=!1,e.$dropdown.removeClass(C.focus).off(k.keyDown+e.dotGuid),e.multiple||(a(e),e.index!==e.focusIndex&&(l(e),e.focusIndex=e.index)))}function o(t){var e=t.data;if(e.keyTimer=c.startTimer(e.keyTimer,1e3,function(){e.input=""}),13===t.keyCode)e.closed||(a(e),b(e.index,e)),l(e);else if(!(9===t.keyCode||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)){c.killEvent(t);var n=e.$items.length-1,r=e.index<0?0:e.index;if(-1t?t:e.lastIndex,l=(e.lastIndex>t?e.lastIndex:t)+1;e.$options.prop("selected",null).attr("aria-selected",null),e.$items.filter(x.item_selected).removeClass(C.item_selected),e.$options.slice(s,l).not("[disabled]").prop("selected",!0),e.$items.slice(s,l).not(x.item_disabled).addClass(C.item_selected)}else r||e.selectMultiple?a?(o.prop("selected",null).attr("aria-selected",null),i.removeClass(C.item_selected)):(o.prop("selected",!0).attr("aria-selected",!0),i.addClass(C.item_selected)):(e.$options.prop("selected",null).attr("aria-selected",null),e.$items.filter(x.item_selected).removeClass(C.item_selected),o.prop("selected",!0).attr("aria-selected",!0),i.addClass(C.item_selected)),e.lastIndex=t;else if(-1e?t.substring(0,e)+"...":t}var t=d.Plugin("dropdown",{widget:!0,defaults:{bottomEdge:0,cover:!1,customClass:"",label:"",external:!1,links:!1,mobile:!1,native:!1,theme:"fs-light",trim:0,selectMultiple:!1},methods:{_construct:function(t){t.multiple=this.prop("multiple"),t.disabled=this.prop("disabled")||this.is("[readonly]"),t.lastIndex=!1,t.native=t.mobile||t.native,t.useNative=t.native||d.isMobile,t.multiple?t.links=!1:t.external&&(t.links=!0);var e=this.find("[selected]").not(":disabled"),n=this.find(":selected").not(":disabled"),r=n.text(),i=this.find("option").index(n);t.multiple||""===t.label||e.length?t.label="":(n=this.prepend('"),r=t.label,i=0);var o=this.find("option, optgroup"),a=o.filter("option"),s=f('[for="'+this.attr("id")+'"]');t.tabIndex=this[0].tabIndex,this[0].tabIndex=-1,s.length&&(s[0].tabIndex=-1);var l=[C.base,t.theme,t.customClass];t.useNative?l.push(C.native):t.cover&&l.push(C.cover),t.multiple&&l.push(C.multiple),t.disabled&&l.push(C.disabled),t.id=this.attr("id"),t.id?t.ariaId=t.id:t.ariaId=t.rawGuid,t.ariaId+="-dropdown",t.selectedAriaId=t.ariaId+"-selected";var c="",u="";c+='
',u+=f("").text(w(r,t.trim)).html(),u+=""),u+='
',u+="
",this.wrap(c).after(u),t.$dropdown=this.parent(x.base),t.$label=s,t.$allOptions=o,t.$options=a,t.$selected=t.$dropdown.find(x.selected),t.$wrapper=t.$dropdown.find(x.options),t.$placeholder=t.$dropdown.find(x.placeholder),t.index=-1,t.closed=!0,t.focused=!1,p(t),t.multiple||b(i,t),void 0!==f.fn.fsScrollbar&&t.$wrapper.fsScrollbar({theme:t.theme}).find(".fs-scrollbar-content").attr("tabindex",null),t.$dropdown.on(k.click,t,h),t.$selected.on(k.click,t,h),t.$dropdown.on(k.click,x.item,t,m).on(k.close,t,v),this.on(k.change,t,g),t.useNative||(this.on(k.focusIn,t,function(t){t.data.$dropdown.trigger(k.raw.focus)}),t.$dropdown.on(k.focusIn,t,y).on(k.focusOut,t,_))},_destruct:function(t){t.$dropdown.hasClass(C.open)&&t.$selected.trigger(k.click),void 0!==f.fn.fsScrollbar&&t.$wrapper.fsScrollbar("destroy"),t.$el[0].tabIndex=t.tabIndex,t.$label.length&&(t.$label[0].tabIndex=t.tabIndex),t.$dropdown.off(k.namespace),t.$options.off(k.namespace),t.$placeholder.remove(),t.$selected.remove(),t.$wrapper.remove(),t.$el.off(k.namespace).show().unwrap()},disable:function(t,e){if(void 0!==e){var n=t.$items.index(t.$items.filter("[data-value="+e+"]"));t.$items.eq(n).addClass(C.item_disabled),t.$options.eq(n).prop("disabled",!0)}else t.$dropdown.hasClass(C.open)&&t.$selected.trigger(k.click),t.$dropdown.addClass(C.disabled),t.$el.prop("disabled",!0),t.disabled=!0},enable:function(t,e){if(void 0!==e){var n=t.$items.index(t.$items.filter("[data-value="+e+"]"));t.$items.eq(n).removeClass(C.item_disabled),t.$options.eq(n).prop("disabled",!1)}else t.$dropdown.removeClass(C.disabled),t.$el.prop("disabled",!1),t.disabled=!1},update:function(t){void 0!==f.fn.fsScrollbar&&t.$wrapper.fsScrollbar("destroy");var e=t.index;t.$allOptions=t.$el.find("option, optgroup"),t.$options=t.$allOptions.filter("option"),t.index=-1,e=t.$options.index(t.$options.filter(":selected")),p(t),t.multiple||b(e,t),void 0!==f.fn.fsScrollbar&&t.$wrapper.fsScrollbar({theme:t.theme}).find(".fs-scrollbar-content").attr("tabindex",null)},open:r,close:a},classes:["cover","bottom","multiple","mobile","native","open","disabled","focus","selected","options","group","item","item_disabled","item_selected","item_placeholder"],events:{close:"close"}}),x=t.classes,C=x.raw,k=t.events,c=t.functions,u=d.window,T=d.$window,$=(d.document,null);d.Ready(function(){$=d.$body})},"function"==typeof define&&define.amd?define(["jquery","./core","./scrollbar","./touch"],r):r(jQuery,Formstone)},{}],3:[function(t,e,n){var r;r=function(m,o){"use strict";function a(t){t.preventManipulation&&t.preventManipulation();var e=t.data,n=t.originalEvent;if(n.type.match(/(up|end|cancel)$/i))h(t);else{if(n.pointerId){var r=!1;for(var i in e.touches)e.touches[i].id===n.pointerId&&(r=!0,e.touches[i].pageX=n.pageX,e.touches[i].pageY=n.pageY);r||e.touches.push({id:n.pointerId,pageX:n.pageX,pageY:n.pageY})}else e.touches=n.touches;n.type.match(/(down|start)$/i)?g(t):n.type.match(/move$/i)&&s(t)}}function g(t){var e=t.data,n="undefined"!==m.type(e.touches)&&e.touches.length?e.touches[0]:null;n&&e.$el.off(w.mouseDown),e.touching||(e.startE=t.originalEvent,e.startX=n?n.pageX:t.pageX,e.startY=n?n.pageY:t.pageY,e.startT=(new Date).getTime(),e.scaleD=1,e.passedAxis=!1),e.$links&&e.$links.off(w.click);var r=_(e.scale?w.scaleStart:w.panStart,t,e.startX,e.startY,e.scaleD,0,0,"","");if(e.scale&&e.touches&&2<=e.touches.length){var i=e.touches;e.pinch={startX:v(i[0].pageX,i[1].pageX),startY:v(i[0].pageY,i[1].pageY),startD:b(i[1].pageX-i[0].pageX,i[1].pageY-i[0].pageY)},r.pageX=e.startX=e.pinch.startX,r.pageY=e.startY=e.pinch.startY}e.touching||(e.touching=!0,e.pan&&!n&&C.on(w.mouseMove,e,s).on(w.mouseUp,e,h),o.support.pointer?C.on([w.pointerMove,w.pointerUp,w.pointerCancel].join(" "),e,a):C.on([w.touchMove,w.touchEnd,w.touchCancel].join(" "),e,a),e.$el.trigger(r))}function s(t){var e=t.data,n="undefined"!==m.type(e.touches)&&e.touches.length?e.touches[0]:null,r=n?n.pageX:t.pageX,i=n?n.pageY:t.pageY,o=r-e.startX,a=i-e.startY,s=0e.threshold,u=Math.abs(a)>e.threshold;if(!e.passedAxis&&e.axis&&(e.axisX&&u||e.axisY&&c))h(t);else{!e.passedAxis&&(!e.axis||e.axis&&e.axisX&&c||e.axisY&&u)&&(e.passedAxis=!0),e.passedAxis&&(x.killEvent(t),x.killEvent(e.startE));var f=!0,d=_(e.scale?w.scale:w.pan,t,r,i,e.scaleD,o,a,s,l);if(e.scale)if(e.touches&&2<=e.touches.length){var p=e.touches;e.pinch.endX=v(p[0].pageX,p[1].pageX),e.pinch.endY=v(p[0].pageY,p[1].pageY),e.pinch.endD=b(p[1].pageX-p[0].pageX,p[1].pageY-p[0].pageY),e.scaleD=e.pinch.endD/e.pinch.startD,d.pageX=e.pinch.endX,d.pageY=e.pinch.endY,d.scale=e.scaleD,d.deltaX=e.pinch.endX-e.pinch.startX,d.deltaY=e.pinch.endY-e.pinch.startY}else e.pan||(f=!1);f&&e.$el.trigger(d)}}function h(t){var e=t.data,n="undefined"!==m.type(e.touches)&&e.touches.length?e.touches[0]:null,r=n?n.pageX:t.pageX,i=n?n.pageY:t.pageY,o=r-e.startX,a=i-e.startY,s=(new Date).getTime(),l=e.scale?w.scaleEnd:w.panEnd,c=0e.threshold&&(l=w.swipe),e.axis&&(e.axisX&&d||e.axisY&&f)||f||d){e.$links=e.$el.find("a");for(var p=0,h=e.$links.length;p>0,0!==d._cycle&&d._cycle===d._totalTime/a&&v<=t&&d._cycle--,d._time=d._totalTime-d._cycle*a,d._yoyo&&0!=(1&d._cycle)&&(d._time=g-d._time,(f=d._yoyoEase||d.vars.yoyoEase)&&(d._yoyoEase||(!0!==f||d._initted?d._yoyoEase=f=!0===f?d._ease:f instanceof Ease?f:Ease.map[f]:(f=d.vars.ease,d._yoyoEase=f=f?f instanceof Ease?f:"function"==typeof f?new Ease(f,d.vars.easeParams):Ease.map[f]||_.defaultEase:_.defaultEase)),d.ratio=f?1-f.getRatio((g-d._time)/g):0)),d._time>g?d._time=g:d._time<0&&(d._time=0)),d._easeType&&!f?(s=d._time/g,(1===(l=d._easeType)||3===l&&.5<=s)&&(s=1-s),3===l&&(s*=2),1===(c=d._easePower)?s*=s:2===c?s*=s*s:3===c?s*=s*s*s:4===c&&(s*=s*s*s*s),d.ratio=1===l?1-s:2===l?s:d._time/g<.5?s/2:1-s/2):f||(d.ratio=d._ease.getRatio(d._time/g))),h!==d._time||n||m!==d._cycle){if(!d._initted){if(d._init(),!d._initted||d._gc)return;if(!n&&d._firstPT&&(!1!==d.vars.lazy&&d._duration||d.vars.lazy&&!d._duration))return d._time=h,d._totalTime=v,d._rawPrevTime=y,d._cycle=m,w.lazyTweens.push(d),void(d._lazy=[t,e]);!d._time||r||f?r&&this._ease._calcEnd&&!f&&(d.ratio=d._ease.getRatio(0===d._time?0:1)):d.ratio=d._ease.getRatio(d._time/g)}for(!1!==d._lazy&&(d._lazy=!1),d._active||!d._paused&&d._time!==h&&0<=t&&(d._active=!0),0===v&&(2===d._initted&&0t._startTime;l._timeline;)c&&l._timeline.smoothChildTiming?l.totalTime(l._totalTime,!0):l._gc&&l._enabled(!0,!1),l=l._timeline;return u},n.remove=function(t){if(t instanceof f){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?f._rootFramesTimeline:f._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&p(t)){for(var n=t.length;-1<--n;)this.remove(t[n]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},n._remove=function(t,e){return d.prototype._remove.call(this,t,e),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},n.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},n.insert=n.insertMultiple=function(t,e,n,r){return this.add(t,e||0,n,r)},n.appendMultiple=function(t,e,n,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),n,r)},n.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},n.addPause=function(t,e,n,r){var i=h.delayedCall(0,o,n,r||this);return i.vars.onComplete=i.vars.onReverseComplete=e,i.data="isPause",this._hasPause=!0,this.add(i,t)},n.removeLabel=function(t){return delete this._labels[t],this},n.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},n._parseTimeOrLabel=function(t,e,n,r){var i,o;if(r instanceof f&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&p(r)))for(o=r.length;-1<--o;)r[o]instanceof f&&r[o].timeline===this&&this.remove(r[o]);if(i="number"!=typeof t||e?99999999999=t&&!l;)r._duration||"isPause"===r.data&&0_&&(a="onReverseComplete"))),f._rawPrevTime=f._duration||!e||t||f._rawPrevTime===t?t:_,t=p+1e-4;else if(t<_)if(f._totalTime=f._time=0,-_f._time;)l.render(l._reversed?l.totalDuration()-(t-l._startTime)*l._timeScale:(t-l._startTime)*l._timeScale,e,n),l=l._prev;l=null,f.pause(),f._pauseTime=u}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,n):r.render((t-r._startTime)*r._timeScale,e,n)}r=o}f._onUpdate&&(e||(w.length&&x(),f._callback("onUpdate"))),a&&(f._gc||h!==f._startTime&&v===f._timeScale||(0===f._time||p>=f.totalDuration())&&(i&&(w.length&&x(),f._timeline.autoRemoveChildren&&f._enabled(!1,!1),f._active=!1),!e&&f.vars[a]&&f._callback(a)))}},n._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof v&&t._hasPausedChild())return!0;t=t._next}return!1},n.getChildren=function(t,e,n,r){r=r||-9999999999;for(var i=[],o=this._first,a=0;o;)o._startTime=n&&(i._startTime+=t),i=i._next;if(e)for(r in o)o[r]>=n&&(o[r]+=t);return this._uncache(!0)},n._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var n=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),r=n.length,i=!1;-1<--r;)n[r]._kill(t,e)&&(i=!0);return i},n.clear=function(t){var e=this.getChildren(!1,!0,!0),n=e.length;for(this._time=this._totalTime=0;-1<--n;)e[n]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},n.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return f.prototype.invalidate.call(this)},n._enabled=function(t,e){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return d.prototype._enabled.call(this,t,e)},n.totalTime=function(t,e,n){this._forcingPlayhead=!0;var r=f.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},n.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},n.totalDuration=function(t){if(arguments.length)return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this;if(this._dirty){for(var e,n,r=0,i=this,o=i._last,a=999999999999;o;)e=o._prev,o._dirty&&o.totalDuration(),o._startTime>a&&i._sortChildren&&!o._paused&&!i._calculatingDuration?(i._calculatingDuration=1,i.add(o,o._startTime-o._delay),i._calculatingDuration=0):a=o._startTime,o._startTime<0&&!o._paused&&(r-=o._startTime,i._timeline.smoothChildTiming&&(i._startTime+=o._startTime/i._timeScale,i._time-=o._startTime,i._totalTime-=o._startTime,i._rawPrevTime-=o._startTime),i.shiftChildren(-o._startTime,!1,-9999999999),a=0),r<(n=o._startTime+o._totalDuration/o._timeScale)&&(r=n),o=e;i._duration=i._totalDuration=r,i._dirty=!1}return this._totalDuration},n.paused=function(t){if(!1===t&&this._paused)for(var e=this._first;e;)e._startTime===this._time&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return f.prototype.paused.apply(this,arguments)},n.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===f._rootFramesTimeline},n.rawTime=function(t){return t&&(this._paused||this._repeat&&0>0,d._cycle&&d._cycle===d._totalTime/l&&m<=t&&d._cycle--,d._time=d._totalTime-d._cycle*l,d._yoyo&&1&d._cycle&&(d._time=v-d._time),d._time>v?t=(d._time=v)+1e-4:d._time<0?d._time=t=0:t=d._time));if(d._hasPause&&!d._forcingPlayhead&&!e){if(p<(t=d._time)||d._repeat&&w!==d._cycle)for(r=d._first;r&&r._startTime<=t&&!c;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===d._rawPrevTime||(c=r),r=r._next;else for(r=d._last;r&&r._startTime>=t&&!c;)r._duration||"isPause"===r.data&&0d._time;)c.render(c._reversed?c.totalDuration()-(t-c._startTime)*c._timeScale:(t-c._startTime)*c._timeScale,e,n),c=c._prev;c=null,d.pause(),d._pauseTime=f}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,n):r.render((t-r._startTime)*r._timeScale,e,n)}r=o}d._onUpdate&&(e||(O.length&&P(),d._callback("onUpdate"))),a&&(d._locked||d._gc||g!==d._startTime&&y===d._timeScale||(0===d._time||h>=d.totalDuration())&&(i&&(O.length&&P(),d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!e&&d.vars[a]&&d._callback(a)))}else m!==d._totalTime&&d._onUpdate&&(e||d._callback("onUpdate"))},i.getActive=function(t,e,n){var r,i,o=[],a=this.getChildren(t||null==t,e||null==t,!!n),s=0,l=a.length;for(r=0;rt)return n[e].name;return null},i.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),n=e.length;-1<--n;)if(e[n].time>0||6)-1,f=[],d=[];for(n in t)h(t[n],a,e);for(i=a.length,r=0;r>0]=d,s[o]=c,l=0,d=[]);return{length:c,lengths:s,segments:f}}(this._beziers,this._timeRes);this._length=d.length,this._lengths=d.lengths,this._segments=d.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(f=this._autoRotate)for(this._initialRotations=[],f[0]instanceof Array||(this._autoRotate=f=[f]),o=f.length;-1<--o;){for(a=0;a<3;a++)r=f[o][a],this._func[r]="function"==typeof t[r]&&t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)];r=f[o][2],this._initialRotations[o]=(this._func[r]?this._func[r].call(this._target):this._target[r])||0,this._overwriteProps.push(r)}return this._startRatio=n.vars.runBackwards?1:0,!0},set:function(t){var e,n,r,i,o,a,s,l,c,u,f,d=this._segCount,p=this._func,h=this._target,v=t!==this._startRatio;if(this._timeRes){if(c=this._lengths,u=this._curSeg,f=t*this._length,r=this._li,f>this._l2&&r=f;);0===r&&fthis._s2&&r=f;);0===r&&f>0)*(1/d))*d;for(n=1-a,r=this._props.length;-1<--r;)i=this._props[r],s=(a*a*(o=this._beziers[i][e]).da+3*n*(a*o.ca+n*o.ba))*a+o.a,this._mod[i]&&(s=this._mod[i](s,h)),p[i]?h[i](s):h[i]=s;if(this._autoRotate){var m,g,y,_,b,w,x,C=this._autoRotate;for(r=C.length;-1<--r;)i=C[r][2],w=C[r][3]||0,x=!0===C[r][4]?1:k,o=this._beziers[C[r][0]],m=this._beziers[C[r][1]],o&&m&&(o=o[e],m=m[e],g=o.a+(o.b-o.a)*a,g+=((_=o.b+(o.c-o.b)*a)-g)*a,_+=(o.c+(o.d-o.c)*a-_)*a,y=m.a+(m.b-m.a)*a,y+=((b=m.b+(m.c-m.b)*a)-y)*a,b+=(m.c+(m.d-m.c)*a-b)*a,s=v?Math.atan2(b-y,_-g)*x+w:this._initialRotations[r],this._mod[i]&&(s=this._mod[i](s,h)),p[i]?h[i](s):h[i]=s)}}}),t=m.prototype,m.bezierThrough=p,m.cubicToQuadratic=w,m._autoCSS=!0,m.quadraticToCubic=function(t,e,n){return new y(t,(2*e+t)/3,(2*e+n)/3,n)},m._cssRegister=function(){var t=n.CSSPlugin;if(t){var e=t._internals,p=e._parseToProxy,h=e._setPluginRatio,v=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,n,r,i,o){e instanceof Array&&(e={values:e}),o=new m;var a,s,l,c=e.values,u=c.length-1,f=[],d={};if(u<0)return i;for(a=0;a<=u;a++)l=p(t,c[a],r,i,o,u!==a),f[a]=l.end;for(s in e)d[s]=e[s];return d.values=f,(i=new v(t,"bezier",0,0,l.pt,2)).data=l,i.plugin=o,i.setRatio=h,0===d.autoRotate&&(d.autoRotate=!0),!d.autoRotate||d.autoRotate instanceof Array||(a=!0===d.autoRotate?0:Number(d.autoRotate),d.autoRotate=null!=l.end.left?[["left","top","rotation",a,!1]]:null!=l.end.x&&[["x","y","rotation",a,!1]]),d.autoRotate&&(r._transform||r._enableTransforms(!1),l.autoRotate=r._target._gsTransform,l.proxy.rotation=l.autoRotate.rotation||0,r._overwriteProps.push("rotation")),o._onInitTween(l.proxy,d,r._tween),i}})}},t._mod=function(t){for(var e,n=this._overwriteProps,r=n.length;-1<--r;)(e=t[n[r]])&&"function"==typeof e&&(this._mod[n[r]]=e)},t._kill=function(t){var e,n,r=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],n=r.length;-1<--n;)r[n]===e&&r.splice(n,1);if(r=this._autoRotate)for(n=r.length;-1<--n;)t[r[n][2]]&&r.splice(n,1);return this._super._kill.call(this,t)},ae._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(o,B){function z(){o.call(this,"css"),this._overwriteProps.length=0,this.setRatio=z.prototype.setRatio}var h,C,T,v,c=ae._gsDefine.globals,m={},t=z.prototype=new o("css");(t.constructor=z).version="2.1.3",z.API=2,z.defaultTransformPerspective=0,z.defaultSkewType="compensated",z.defaultSmoothOrigin=!0,z.suffixMap={top:t="px",right:t,bottom:t,left:t,width:t,height:t,fontSize:t,padding:t,margin:t,perspective:t,lineHeight:""};function a(t,e){return e.toUpperCase()}function s(t,e){var n=rt.createElementNS?rt.createElementNS(e||"http://www.w3.org/1999/xhtml",t):rt.createElement(t);return n.style?n:rt.createElement(t)}function l(t){return U.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1}function g(){ae.console}function k(t,e){var n,r,i=(e=e||it).style;if(void 0!==i[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"],r=5;-1<--r&&void 0===i[n[r]+t];);return 0<=r?(ct="-"+(ut=3===r?"ms":n[r]).toLowerCase()+"-",ut+t):null}function y(t){return ft.getComputedStyle(t)}function _(t,e){var n,r,i,o={};if(e=e||y(t))if(n=e.length)for(;-1<--n;)-1!==(i=e[n]).indexOf("-transform")&&zt!==i||(o[i.replace(X,a)]=e.getPropertyValue(i));else for(n in e)-1!==n.indexOf("Transform")&&Bt!==n||(o[n]=e[n]);else if(e=t.currentStyle||t.style)for(n in e)"string"==typeof n&&void 0===o[n]&&(o[n.replace(X,a)]=e[n]);return lt||(o.opacity=l(t)),r=Jt(t,e,!1),o.rotation=r.rotation,o.skewX=r.skewX,o.scaleX=r.scaleX,o.scaleY=r.scaleY,o.x=r.x,o.y=r.y,Ut&&(o.z=r.z,o.rotationX=r.rotationX,o.rotationY=r.rotationY,o.scaleZ=r.scaleZ),o.filters&&delete o.filters,o}function b(t,e,n,r,i){var o,a,s,l={},c=t.style;for(a in n)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(o=n[a])||i&&i[a])&&-1===a.indexOf("Origin")&&("number"!=typeof o&&"string"!=typeof o||(l[a]="auto"!==o||"left"!==a&&"top"!==a?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof e[a]||""===e[a].replace(u,"")?o:0:ht(t,a),void 0!==c[a]&&(s=new Ct(c,a,c[a],s))));if(r)for(a in r)"className"!==a&&(l[a]=r[a]);return{difs:l,firstMPT:s}}function w(t,e,n){if("svg"===(t.nodeName+"").toLowerCase())return(n||y(t))[e]||0;if(t.getCTM&&Yt(t))return t.getBBox()[e]||0;var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),i=vt[e],o=i.length;for(n=n||y(t);-1<--o;)r-=parseFloat(dt(t,"padding"+i[o],n,!0))||0,r-=parseFloat(dt(t,"border"+i[o]+"Width",n,!0))||0;return r}function $(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var n,r=t.split(" "),i=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":r[0],o=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":r[1];if(3>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),gt[t])n=gt[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(r=t.charAt(1))+r+(i=t.charAt(2))+i+(o=t.charAt(3))+o),n=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(n=d=t.match(N),e){if(-1!==t.indexOf("="))return t.match(I)}else a=Number(n[0])%360/360,s=Number(n[1])/100,r=2*(l=Number(n[2])/100)-(i=l<=.5?l*(s+1):l+s-l*s),3r--)for(;++rr--)for(;++r>0];return r.parse(t,a,i,o)}}at._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,n,r,i,o,a=this.data,s=a.proxy,l=a.firstMPT;l;)e=s[l.v],l.r?e=l.r(e):e<1e-6&&-1e-6s.length?l.length:s.length,a=0;ao.pr;)a=a._next;(o._prev=a?a._prev:l)?o._prev._next=o:s=o,(o._next=a)?a._prev=o:l=o,o=c}this._firstPT=s}return!0},t.parse=function(t,e,n,r){var i,o,a,s,l,c,u,f,d,p,h=t.style;for(i in e){if(c=e[i],o=m[i],"function"!=typeof c||o&&o.allowFunc||(c=c(D,R)),o)n=o.parse(t,c,i,this,n,r,e);else{if("--"===i.substr(0,2)){this._tween._propLookup[i]=this._addTween.call(this._tween,t.style,"setProperty",y(t).getPropertyValue(i)+"",c+"",i,!1,i);continue}l=dt(t,i,T)+"",d="string"==typeof c,"color"===i||"fill"===i||"stroke"===i||-1!==i.indexOf("Color")||d&&q.test(c)?(d||(c=(3<(c=yt(c)).length?"rgba(":"rgb(")+c.join(",")+")"),n=Tt(h,i,l,c,!0,"transparent",n,0,r)):d&&Z.test(c)?n=Tt(h,i,l,c,!0,null,n,0,r):(u=(a=parseFloat(l))||0===a?l.substr((a+"").length):"",""!==l&&"auto"!==l||(u="width"===i||"height"===i?(a=w(t,i,T),"px"):"left"===i||"top"===i?(a=ht(t,i,T),"px"):(a="opacity"!==i?0:1,"")),""===(f=(p=d&&"="===c.charAt(1))?(s=parseInt(c.charAt(0)+"1",10),c=c.substr(2),s*=parseFloat(c),c.replace(F,"")):(s=parseFloat(c),d?c.replace(F,""):""))&&(f=i in C?C[i]:u),c=s||0===s?(p?s+a:s)+f:e[i],u!==f&&(""===f&&"lineHeight"!==i||(s||0===s)&&a&&(a=pt(t,i,a,u),"%"===f?(a/=pt(t,i,100,"%")/100,!0!==e.strictUnits&&(l=a+"%")):"em"===f||"rem"===f||"vw"===f||"vh"===f?a/=pt(t,i,1,f):"px"!==f&&(s=pt(t,i,s,f),f="px"),p&&(!s&&0!==s||(c=s+a+f)))),p&&(s+=a),!a&&0!==a||!s&&0!==s?void 0!==h[i]&&(c||c+""!="NaN"&&null!=c)?(n=new kt(h,i,s||a||0,0,n,-1,i,!1,0,l,c)).xs0="none"!==c||"display"!==i&&-1===i.indexOf("Style")?c:l:g(e[i]):(n=new kt(h,i,a,s-a,n,0,i,!1!==P&&("px"===f||"zIndex"===i),0,l,c)).xs0=f)}r&&n&&!n.plugin&&(n.plugin=r)}return n},t.setRatio=function(t){var e,n,r,i=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;i;){if(e=i.c*t+i.s,i.r?e=i.r(e):e<1e-6&&-1e-6this._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},h.ease=new h(.7,.7),v.config=h.config=function(t,e,n){return new h(t,e,n)},(v=(r=f("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0)).prototype=new m).constructor=r,v.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},v.config=r.config=function(t,e){return new r(t,e)},(v=(i=f("easing.ExpoScaleEase",function(t,e,n){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=n},!0)).prototype=new m).constructor=i,v.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},v.config=i.config=function(t,e,n){return new i(t,e,n)},(v=(o=f("easing.RoughEase",function(t){for(var e,n,r,i,o,a,s=(t=t||{}).taper||"none",l=[],c=0,u=0|(t.points||20),f=u,d=!1!==t.randomize,p=!0===t.clamp,h=t.template instanceof m?t.template:null,v="number"==typeof t.strength?.4*t.strength:.4;-1<--f;)e=d?Math.random():1/u*f,n=h?h.getRatio(e):e,r="none"===s?v:"out"===s?(i=1-e)*i*v:"in"===s?e*e*v:e<.5?(i=2*e)*i*.5*v:(i=2*(1-e))*i*.5*v,d?n+=Math.random()*r-.5*r:f%2?n+=.5*r:n-=.5*r,p&&(1e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return(this._prev=e).v+(t-e.t)/e.gap*e.c},v.config=function(t){return new o(t)},o.ease=new o,e("Bounce",t("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),t("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),t("BounceInOut",function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=7.5625*t:t=t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),e("Circ",t("CircOut",function(t){return Math.sqrt(1- --t*t)}),t("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),t("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),e("Elastic",(a=function(t,e,n){var r=f("easing."+t,function(t,e){this._p1=1<=t?t:1,this._p2=(e||n)/(t<1?t:1),this._p3=this._p2/c*(Math.asin(1/this._p1)||0),this._p2=c/this._p2},!0),i=r.prototype=new m;return i.constructor=r,i.getRatio=e,i.config=function(t,e){return new r(t,e)},r})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),a("ElasticIn",function(t){return-this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*this._p2)},.3),a("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*--t)*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),e("Expo",t("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),t("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),t("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),e("Sine",t("SineOut",function(t){return Math.sin(t*u)}),t("SineIn",function(t){return 1-Math.cos(t*u)}),t("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),f("easing.EaseLookup",{find:function(t){return m.map[t]}},!0),d(s.SlowMo,"SlowMo","ease,"),d(o,"RoughEase","ease,"),d(r,"SteppedEase","ease,"),p},!0)}),ae._gsDefine&&ae._gsQueue.pop()(),function(d,p){var h={},r=d.document,v=d.GreenSockGlobals=d.GreenSockGlobals||d,t=v[p];if(t)return void 0!==ot&&ot.exports&&(ot.exports=t);function m(t){var e,n=t.split("."),r=v;for(e=0;e=n&&tthis._duration?this._duration:t,e)):this._time},i.totalTime=function(t,e,n){if(b||_.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!n&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,i=this._timeline;if(ro;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._recent=t,this._timeline&&this._uncache(!0),this},i._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},i.render=function(t,e,n){var r,i=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;i;)r=i._next,(i._active||t>=i._startTime&&!i._paused&&!i._gc)&&(i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)),i=r},i.rawTime=function(){return b||_.wake(),this._totalTime};function R(t){return t&&t.length&&t!==d&&t[0]&&(t[0]===d||t[0].nodeType&&t[0].style&&!t.nodeType)}var D=k("TweenLite",function(t,e,n){if(M.call(this,e,n),this.render=D.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:D.selector(t)||t;var r,i,o,a=t.jquery||t.length&&t!==d&&t[0]&&(t[0]===d||t[0].nodeType&&t[0].style&&!t.nodeType),s=this.vars.overwrite;if(this._overwrite=s=null==s?G[D.defaultOverwrite]:"number"==typeof s?s>>0:G[s],(a||t instanceof Array||t.push&&x(t))&&"number"!=typeof t[0])for(this._targets=o=l(t),this._propLookup=[],this._siblings=[],r=0;r=Z){for(n in Z=_.frame+(parseInt(D.autoSleep,10)||120),X){for(t=(e=X[n].tweens).length;-1<--t;)e[t]._gc&&e.splice(t,1);0===e.length&&delete X[n]}if((!(n=J._first)||n._paused)&&D.autoSleep&&!K._first&&1===_._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||_.sleep()}}},_.addEventListener("tick",M._updateRoot);function tt(t,e,n,r){var i,o,a=t.vars.onOverwrite;return a&&(i=a(t,e,n,r)),(a=D.onOverwrite)&&(o=a(t,e,n,r)),!1!==i&&!1!==o}var et=function(t,e,n){var r,i,o=t._gsTweenID;if(X[o||(t._gsTweenID=o="t"+W++)]||(X[o]={target:t,tweens:[]}),e&&((r=X[o].tweens)[i=r.length]=e,n))for(;-1<--i;)r[i]===e&&r.splice(i,1);return X[o].tweens},nt=function(t,e,n,r,i){var o,a,s,l;if(1===r||4<=r){for(l=i.length,o=0;ou&&((p||!s._initted)&&u-s._startTime<=2e-8||(f[d++]=s)));for(o=d;-1<--o;)if(l=(s=f[o])._firstPT,2===r&&s._kill(n,t,e)&&(a=!0),2!==r||!s._firstPT&&s._initted&&l){if(2!==r&&!tt(s,e))continue;s._enabled(!1,!1)&&(a=!0)}return a},rt=function(t,e,n){for(var r=t._timeline,i=r._timeScale,o=t._startTime;r._timeline;){if(o+=r._startTime,i*=r._timeScale,r._paused)return-100;r=r._timeline}return e<(o/=i)?o-e:n&&o===e||!t._initted&&o-e<2e-8?w:(o+=t.totalDuration()/t._timeScale/i)>e+w?0:o-e-w};i._init=function(){var t,e,n,r,i,o,a=this.vars,s=this._overwrittenProps,l=this._duration,c=!!a.immediateRender,u=a.ease,f=this._startAt;if(a.startAt){for(r in f&&(f.render(-1,!0),f.kill()),i={},a.startAt)i[r]=a.startAt[r];if(i.data="isStart",i.overwrite=!1,i.immediateRender=!0,i.lazy=c&&!1!==a.lazy,i.startAt=i.delay=null,i.onUpdate=a.onUpdate,i.onUpdateParams=a.onUpdateParams,i.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=D.to(this.target||{},0,i),c)if(0s.pr;)r=r._next;(s._prev=r?r._prev:o)?s._prev._next=s:i=s,(s._next=r)?r._prev=s:o=s,s=a}s=e._firstPT=i}for(;s;)s.pg&&"function"==typeof s.t[t]&&s.t[t]()&&(n=!0),s=s._next;return n},it.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===it.API&&(q[(new t[e])._propName]=t[e]);return!0},s.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,n=t.propName,r=t.priority||0,i=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=k("plugins."+n.charAt(0).toUpperCase()+n.substr(1)+"Plugin",function(){it.call(this,n,r),this._overwriteProps=i||[]},!0===t.global),s=a.prototype=new it(n);for(e in(s.constructor=a).API=t.API,o)"function"==typeof t[e]&&(s[o[e]]=t[e]);return a.version=t.version,it.activate([a]),a},e=d._gsQueue){for(n=0;n 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.")}R.version="2.0.7",window.addEventListener("mousewheel",function(){});var D="data-scrollmagic-pin-spacer";R.Controller=function(t){function e(){if(m&&f){var n=I.type.Array(f)?f:u.slice(0);f=!1;var t=d,e=(d=l.scrollPos())-t;0!=e&&(p=0=t&&(Array.prototype.splice.call(arguments,1,0,"("+o+") ->"),I.log.apply(window,arguments))};this._options=c;function k(t){if(t.length<=1)return t;var e=t.slice(0);return e.sort(function(t,e){return t.scrollOffset()>e.scrollOffset()?1:-1}),e}return this.addScene=function(t){if(I.type.Array(t))t.forEach(function(t,e){l.addScene(t)});else if(t instanceof R.Scene){if(t.controller()!==l)t.addTo(l);else if(u.indexOf(t)<0){for(var e in u.push(t),u=k(u),t.on("shift.controller_sort",function(){u=k(u)}),c.globalSceneOptions)t[e]&&t[e].call(t,c.globalSceneOptions[e]);C(3,"adding Scene (now "+u.length+" total)")}}else C(1,"ERROR: invalid argument supplied for '.addScene()'");return l},this.removeScene=function(t){if(I.type.Array(t))t.forEach(function(t,e){l.removeScene(t)});else{var e=u.indexOf(t);-1":"",n||""),o&&o.forEach(function(t,e){i&&i!==t.namespace||t.callback.call(d,new R.Event(r,t.namespace,d,n))})}else g(1,"ERROR: Invalid event name supplied.");return d},d.on("change.internal",function(t){"loglevel"!==t.what&&"tweenChanges"!==t.what&&("triggerElement"===t.what?w():"reverse"===t.what&&d.update())}).on("shift.internal",function(t){e(),d.update()});var g=this._log=function(t,e){p.loglevel>=t&&(Array.prototype.splice.call(arguments,1,0,"("+r+") ->"),I.log.apply(window,arguments))};this.addTo=function(t){return t instanceof R.Controller?l!=t&&(l&&l.removeScene(d),l=t,k(),b(!0),w(!0),e(),l.info("container").addEventListener("resize",x),t.addScene(d),d.trigger("add",{controller:l}),g(3,"added "+r+" to controller"),d.update()):g(1,"ERROR: supplied argument of 'addTo()' is not a valid ScrollMagic Controller"),d},this.enabled=function(t){return arguments.length?(o!=t&&(o=!!t,d.update(!0)),d):o},this.remove=function(){if(l){l.info("container").removeEventListener("resize",x);var t=l;l=void 0,t.removeScene(d),d.trigger("remove"),g(3,"removed "+r+" from controller")}return d},this.destroy=function(t){return d.trigger("destroy",{reset:t}),d.remove(),d.off("*.*"),g(3,"destroyed "+r+" (reset: "+(t?"true":"false")+")"),null},this.update=function(t){if(l)if(t)if(l.enabled()&&o){var e,n=l.info("scrollPos");e=0=s.start?1:0,d.trigger("update",{startPos:s.start,endPos:s.end,scrollPos:n}),d.progress(e)}else y&&h===u&&P(!0);else l.updateScene(d,!1);return d},this.refresh=function(){return b(),w(),d},this.progress=function(t){if(arguments.length){var e=!1,n=h,r=l?l.info("scrollDirection"):"PAUSED",i=p.reverse||v<=t;if(0===p.duration?(e=v!=t,h=0===(v=t<1&&i?0:1)?c:u):t<0&&h!==c&&i?(h=c,e=!(v=0)):0<=t&&t<1&&i?(v=t,h=u,e=!0):1<=t&&h!==f?(v=1,h=f,e=!0):h!==u||i||P(),e){var o={progress:v,state:h,scrollDirection:r},a=h!=n,s=function(t){d.trigger(t,o)};a&&n!==u&&(s("enter"),s(n===c?"start":"end")),s("progress"),a&&h!==u&&(s(h===c?"start":"end"),s("leave"))}return d}return v};var y,_,e=function(){s={start:m+p.offset},l&&p.triggerElement&&(s.start-=l.info("size")*p.triggerHook),s.end=s.start+p.duration},b=function(t){if(n){var e="duration";T(e,n.call(d))&&!t&&(d.trigger("change",{what:e,newval:p[e]}),d.trigger("shift",{reason:e}))}},w=function(t){var e=0,n=p.triggerElement;if(l&&(n||0 Cannot add Scene option '"+t+"', because it already exists."):(N.defaults[t]=e,N.validate[t]=n,r&&N.shifts.push(t))},R.Scene.extend=function(t){var e=this;R.Scene=function(){return e.apply(this,arguments),this.$super=I.extend({},this),t.apply(this,arguments)||this},I.extend(R.Scene,e),R.Scene.prototype=e.prototype,R.Scene.prototype.constructor=R.Scene},R.Event=function(t,e,n,r){for(var i in r=r||{})this[i]=r[i];return this.type=t,this.target=this.currentTarget=n,this.namespace=e||"",this.timeStamp=this.timestamp=Date.now(),this};var I=R._util=function(a){function s(t){return parseFloat(t)||0}function l(t){return t.currentStyle?t.currentStyle:a.getComputedStyle(t)}function r(t,e,n,r){if((e=e===document?a:e)===a)r=!1;else if(!h.DomElement(e))return 0;t=t.charAt(0).toUpperCase()+t.substr(1).toLowerCase();var i=(n?e["offset"+t]||e["outer"+t]:e["client"+t]||e["inner"+t])||0;if(n&&r){var o=l(e);i+="Height"===t?s(o.marginTop)+s(o.marginBottom):s(o.marginLeft)+s(o.marginRight)}return i}function c(t){return t.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})}var n,t={};t.extend=function(t){for(t=t||{},n=1;n ERROR calling addIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},R.Scene.prototype.removeIndicators=function(){return R._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},R.Scene.prototype.setTween=function(){return R._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},R.Scene.prototype.removeTween=function(){return R._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},R.Scene.prototype.setVelocity=function(){return R._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},R.Scene.prototype.removeVelocity=function(){return R._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},R},"function"==typeof define&&define.amd?define(i):"object"==typeof n?e.exports=i():r.ScrollMagic=i()},{}],8:[function(t,e,n){var r,i;r=this,i=function(t,v,m){"use strict";var e="animation.gsap",n=window.console||{},r=Function.prototype.bind.call(n.error||n.log||function(){},n);t||r("("+e+") -> 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."),v||r("("+e+") -> ERROR: TweenLite or TweenMax could not be found. Please make sure GSAP is loaded before ScrollMagic or use an asynchronous loader like requirejs."),t.Scene.addOption("tweenChanges",!1,function(t){return!!t}),t.Scene.extend(function(){function f(){p._log&&(Array.prototype.splice.call(arguments,1,0,"("+e+")","->"),p._log.apply(this,arguments))}var d,p=this;p.on("progress.plugin_gsap",function(){h()}),p.on("destroy.plugin_gsap",function(t){p.removeTween(t.reset)});var h=function(){if(d){var t=p.progress(),e=p.state();d.repeat&&-1===d.repeat()?"DURING"===e&&d.paused()?d.play():"DURING"===e||d.paused()||d.pause():t!=d.progress()&&(0===p.duration()?0=e.length?r():e[t]?n(e[t],function(){i(t+1)}):i(t+1)};i(0)}function bt(n){return function(t,e,l){var c=!1,u=0,f=null;wt(n,function(n,t,r,i){if("function"==typeof n&&void 0===n.cid){c=!0,u++;var e,o=kt(function(t){var e;((e=t).__esModule||Ct&&"Module"===e[Symbol.toStringTag])&&(t=t.default),n.resolved="function"==typeof t?t:U.extend(t),r.components[i]=t,--u<=0&&l()}),a=kt(function(t){var e="Failed to resolve async component "+i+": "+t;"production"!==T.env.NODE_ENV&&$(),f||(f=p(t)?t:new Error(e),l(f))});try{e=n(o,a)}catch(t){a(t)}if(e)if("function"==typeof e.then)e.then(o,a);else{var s=e.component;s&&"function"==typeof s.then&&s.then(o,a)}}}),c||l()}}function wt(t,n){return xt(t.map(function(e){return Object.keys(e.components).map(function(t){return n(e.components[t],e.instances[t],e,t)})}))}function xt(t){return Array.prototype.concat.apply([],t)}var Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function kt(n){var r=!1;return function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(!r)return r=!0,n.apply(this,t)}}var Tt=function(e){function t(t){e.call(this),this.name=this._name="NavigationDuplicated",this.message='Navigating to current location ("'+t.fullPath+'") is not allowed',Object.defineProperty(this,"stack",{value:(new e).stack,writable:!0,configurable:!0})}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t}(Error);Tt._name="NavigationDuplicated";function $t(t,e){this.router=t,this.base=function(t){if(!t)if(G){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=f,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]}function At(t,o,a,e){var n=wt(t,function(t,e,n,r){var i=function(t,e){"function"!=typeof t&&(t=U.extend(t));return t.options[e]}(t,o);if(i)return Array.isArray(i)?i.map(function(t){return a(t,e,n,r)}):a(i,e,n,r)});return xt(e?n.reverse():n)}function St(t,e){if(e)return function(){return t.apply(e,arguments)}}$t.prototype.listen=function(t){this.cb=t},$t.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},$t.prototype.onError=function(t){this.errorCbs.push(t)},$t.prototype.transitionTo=function(t,e,n){var r=this,i=this.router.match(t,this.current);this.confirmTransition(i,function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(i)}))},function(e){n&&n(e),e&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(t){t(e)}))})},$t.prototype.confirmTransition=function(n,e,t){function r(e){!u(Tt,e)&&p(e)&&(i.errorCbs.length?i.errorCbs.forEach(function(t){t(e)}):$()),t&&t(e)}var i=this,o=this.current;if(O(n,o)&&n.matched.length===o.matched.length)return this.ensureURL(),r(new Tt(n));var a=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)},function(t){u(Tt,t)&&(e.index=n)})}},t.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},t.prototype.ensureURL=function(){},t}($t),Ft={currentRoute:{configurable:!0}};function Bt(e,n){return e.push(n),function(){var t=e.indexOf(n);-1";var n="function"==typeof t&&null!=t.cid?t.options:t._isVue?t.$options||t.constructor.options:t,r=n.name||n._componentTag,i=n.__file;if(!r&&i){var o=i.match(/([^/\\]+)\.vue$/);r=o&&o[1]}return(r?"<"+r.replace(ht,function(t){return t.toUpperCase()}).replace(/[-_]/g,"")+">":"")+(i&&!1!==e?" at "+i:"")};ft=function(t){if(t._isVue&&t.$parent){for(var e=[],n=0;t;){if(0>=1;return n}(" ",5+2*e))+(Array.isArray(t)?dt(t[0])+"... ("+t[1]+" recursive calls)":dt(t))}).join("\n")}return"\n\n(found in "+dt(t)+")"};var vt=0,mt=function(){this.id=vt++,this.subs=[]};mt.prototype.addSub=function(t){this.subs.push(t)},mt.prototype.removeSub=function(t){_(this.subs,t)},mt.prototype.depend=function(){mt.target&&mt.target.addDep(this)},mt.prototype.notify=function(){var t=this.subs.slice();z.async||t.sort(function(t,e){return t.id-e.id});for(var e=0,n=t.length;edocument.createEvent("Event").timeStamp&&(Dn=function(){return Nn.now()})}function In(){var t,e;for(Rn=Dn(),Mn=!0,An.sort(function(t,e){return t.id-e.id}),jn=0;jn$n)){ct("You may have an infinite update loop "+(t.user?'in watcher with expression "'+t.expression+'"':"in a component render function."),t.vm);break}var n=Sn.slice(),r=An.slice();jn=An.length=Sn.length=0,On={},En=Mn=!(Pn={}),function(t){for(var e=0;et.id;)n--;An.splice(n+1,0,t)}else An.push(t);if(!En){if(En=!0,!z.async)return In();he(In)}}}(this)},Fn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||I(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Qt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Fn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Fn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Fn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var Bn={enumerable:!0,configurable:!0,get:T,set:T};function zn(t,e,n){Bn.get=function(){return this[e][n]},Bn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Bn)}function Hn(t){t._watchers=[];var e=t.$options;e.props&&function(r,i){var o=r.$options.propsData||{},a=r._props={},s=r.$options._propKeys=[],l=!r.$parent;l||Ot(!1);function t(t){s.push(t);var e=qt(t,i,o,r),n=x(t);(u(n)||z.isReservedAttr(n))&&ct('"'+n+'" is a reserved attribute and cannot be used as component prop.',r),Mt(a,t,e,function(){l||wn||ct("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+t+'"',r)}),t in r||zn(r,"_props",t)}for(var e in i)t(e);Ot(!0)}(t,e.props),e.methods&&function(t,e){var n=t.$options.props;for(var r in e)"function"!=typeof e[r]&&ct('Method "'+r+'" has type "'+typeof e[r]+'" in the component definition. Did you reference the function correctly?',t),n&&b(n,r)&&ct('Method "'+r+'" has already been defined as a prop.',t),r in t&&j(r)&&ct('Method "'+r+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),t[r]="function"!=typeof e[r]?T:h(e[r],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;l(e=t._data="function"==typeof e?function(t,e){yt();try{return t.call(e,e)}catch(t){return Qt(t,e,"data()"),{}}finally{_t()}}(e,t):e||{})||(e={},ct("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",t));var n=Object.keys(e),r=t.$options.props,i=t.$options.methods,o=n.length;for(;o--;){var a=n[o];i&&b(i,a)&&ct('Method "'+a+'" has already been defined as a data property.',t),r&&b(r,a)?ct('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',t):j(a)||zn(t,"_data",a)}Et(e,!0)}(t):Et(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=it();for(var i in e){var o=e[i],a="function"==typeof o?o:o.get;null==a&&ct('Getter is missing for computed property "'+i+'".',t),r||(n[i]=new Fn(t,a||T,T,Un)),i in t?i in t.$data?ct('The computed property "'+i+'" is already defined in data.',t):t.$options.props&&i in t.$options.props&&ct('The computed property "'+i+'" is already defined as a prop.',t):Vn(t,i,o)}}(t,e.computed),e.watch&&e.watch!==et&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;iparseInt(this.max)&&lr(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};cr=rr,fr={get:function(){return z},set:function(){ct("Do not replace the Vue.config object, set individual fields instead.")}},Object.defineProperty(cr,"config",fr),cr.util={warn:ct,extend:C,mergeOptions:Ut,defineReactive:Mt},cr.set=jt,cr.delete=Rt,cr.nextTick=he,cr.observable=function(t){return Et(t),t},cr.options=Object.create(null),P.forEach(function(t){cr.options[t+"s"]=Object.create(null)}),C((cr.options._base=cr).options.components,pr),cr.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(-1=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Ei.addEventListener(t,e,nt?{capture:n,passive:r}:n)}function Ii(t,e,n,r){(r||Ei).removeEventListener(t,e._wrapper||e,n)}function Li(t,e){if(!D(t.data.on)||!D(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Ei=e.elm,function(t){if(N(t[Mi])){var e=K?"change":"input";t[e]=[].concat(t[Mi],t[e]||[]),delete t[Mi]}N(t[ji])&&(t.change=[].concat(t[ji],t.change||[]),delete t[ji])}(n),Se(n,r,Ni,Ii,Ri,e.context),Ei=void 0}}var Fi,Bi={create:Li,update:Li};function zi(t,e){if(!D(t.data.domProps)||!D(e.data.domProps)){var n,r,i,o,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in N(l.__ob__)&&(l=e.data.domProps=C({},l)),s)n in l||(a[n]="");for(n in l){if(r=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){var c=D(a._value=r)?"":String(r);o=c,(i=a).composing||"OPTION"!==i.tagName&&!function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(i,o)&&!function(t,e){var n=t.value,r=t._vModifiers;if(N(r)){if(r.number)return L(n)!==L(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(i,o)||(a.value=c)}else if("innerHTML"===n&&Mr(a.tagName)&&D(a.innerHTML)){(Fi=Fi||document.createElement("div")).innerHTML=""+r+"";for(var u=Fi.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(r!==s[n])try{a[n]=r}catch(t){}}}}var Hi={create:zi,update:zi},Ui=t(function(t){var n={},r=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var e=t.split(r);1=a&&s()};setTimeout(function(){c explicit "+e+" duration is not a valid number - got "+JSON.stringify(t)+".",n.context):isNaN(t)&&ct(" explicit "+e+" duration is NaN - the duration expression might be incorrect.",n.context)}function To(t){return"number"==typeof t&&!isNaN(t)}function $o(t){if(D(t))return!1;var e=t.fns;return N(e)?$o(Array.isArray(e)?e[0]:e):1<(t._length||t.length)}function Ao(t,e){!0!==e.data.show&&xo(e)}var So=function(t){var r,e,m={},n=t.modules,g=t.nodeOps;for(r=0;r - did you register the component correctly? For recursive components, make sure to provide the "name" option.',t.context),t.elm=t.ns?g.createElementNS(t.ns,c):g.createElement(c,t),d(t),w(t,l,e),N(s)&&C(t,e),f(n,t.elm,r),s&&s.pre&&u--):(R(t.isComment)?t.elm=g.createComment(t.text):t.elm=g.createTextNode(t.text),f(n,t.elm,r))}}function b(t,e){N(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,x(t)?(C(t,e),d(t)):(Fr(t),e.push(t))}function f(t,e,n){N(t)&&(N(n)?g.parentNode(n)===t&&g.insertBefore(t,e,n):g.appendChild(t,e))}function w(t,e,n){if(Array.isArray(e)){A(e);for(var r=0;r, or missing . Bailing hydration and performing full client-side render.")}i=t,t=new bt(g.tagName(i).toLowerCase(),{},[],void 0,i)}var l=t.elm,c=g.parentNode(l);if(_(e,a,l._leaveCb?null:c,g.nextSibling(l)),N(e.parent))for(var u=e.parent,f=x(e);u;){for(var d=0;d expects an Array value for its binding, but got '+Object.prototype.toString.call(r).slice(8,-1),n)}function Mo(e,t){return t.every(function(t){return!S(t,e)})}function jo(t){return"_value"in t?t._value:t.value}function Ro(t){t.target.composing=!0}function Do(t){t.target.composing&&(t.target.composing=!1,No(t.target,"input"))}function No(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Io(t){return!t.componentInstance||t.data&&t.data.transition?t:Io(t.componentInstance._vnode)}var Lo={model:Oo,show:{bind:function(t,e,n){var r=e.value,i=(n=Io(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,xo(n,function(){t.style.display=o})):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=Io(n)).data&&n.data.transition?(n.data.show=!0,r?xo(n,function(){t.style.display=t.__vOriginalDisplay}):Co(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}}},Fo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Bo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Bo(vn(e.children)):t}function zo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[w(o)]=i[o];return e}function Ho(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Uo(t){return t.tag||hn(t)}function Vo(t){return"show"===t.name}var qo={name:"transition",props:Fo,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Uo)).length){1 can only be used on a single element. Use for lists.",this.$parent);var r=this.mode;r&&"in-out"!==r&&"out-in"!==r&&ct("invalid mode: "+r,this.$parent);var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var o=Bo(i);if(!o)return i;if(this._leaving)return Ho(t,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:v(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s,l,c=(o.data||(o.data={})).transition=zo(this),u=this._vnode,f=Bo(u);if(o.data.directives&&o.data.directives.some(Vo)&&(o.data.show=!0),f&&f.data&&(s=o,(l=f).key!==s.key||l.tag!==s.tag)&&!hn(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var d=f.data.transition=C({},c);if("out-in"===r)return this._leaving=!0,Oe(d,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Ho(t,i);if("in-out"===r){if(hn(o))return u;var p,h=function(){p()};Oe(c,"afterEnter",h),Oe(c,"enterCancelled",h),Oe(d,"delayLeave",function(t){p=t})}}return i}}},Xo=C({tag:String,moveClass:String},Fo);function Wo(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Yo(t){t.data.newPos=t.elm.getBoundingClientRect()}function Go(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete Xo.mode;var Ko={Transition:qo,TransitionGroup:{props:Xo,beforeMount:function(){var r=this,i=this._update;this._update=function(t,e){var n=xn(r);r.__patch__(r._vnode,r.kept,!1,!0),r._vnode=r.kept,n(),i.call(r,t,e)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=zo(this),s=0;s children must be keyed: <"+u+">")}}if(r){for(var f=[],d=[],p=0;p, use
.',t.rawAttrsMap.class),r&&(t.staticClass=JSON.stringify(r));var i=bi(t,"class",!1);i&&(t.classBinding=i)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}};var na,ra={staticKeys:["staticStyle"],transformNode:function(t,e){var n=e.warn||di,r=wi(t,"style");r&&(ta(r,e.delimiters)&&n('style="'+r+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of
, use
.',t.rawAttrsMap.style),t.staticStyle=JSON.stringify(Ui(r)));var i=bi(t,"style",!1);i&&(t.styleBinding=i)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},ia=function(t){return(na=na||document.createElement("div")).innerHTML=t,na.textContent},oa=c("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),aa=c("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),sa=c("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),la=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ca=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ua="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+M.source+"]*",fa="((?:"+ua+"\\:)?"+ua+")",da=new RegExp("^<"+fa),pa=/^\s*(\/?)>/,ha=new RegExp("^<\\/"+fa+"[^>]*>"),va=/^]+>/i,ma=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},wa=/&(?:lt|gt|quot|amp|#39);/g,xa=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Ca=c("pre,textarea",!0),ka=function(t,e){return t&&Ca(t)&&"\n"===e[0]};function Ta(i,f){for(var t,d,p=[],h=f.expectHTML,v=f.isUnaryTag||A,m=f.canBeLeftOpenTag||A,a=0;i;){if(t=i,d&&ya(d)){var r=0,o=d.toLowerCase(),e=_a[o]||(_a[o]=new RegExp("([\\s\\S]*?)(]*>)","i")),n=i.replace(e,function(t,e,n){return r=n.length,ya(o)||"noscript"===o||(e=e.replace(//g,"$1").replace(//g,"$1")),ka(o,e)&&(e=e.slice(1)),f.chars&&f.chars(e),""});a+=i.length-n.length,i=n,$(o,a-r,a)}else{var s=i.indexOf("<");if(0===s){if(ma.test(i)){var l=i.indexOf("--\x3e");if(0<=l){f.shouldKeepComment&&f.comment(i.substring(4,l),a,a+l+3),C(l+3);continue}}if(ga.test(i)){var c=i.indexOf("]>");if(0<=c){C(c+2);continue}}var u=i.match(va);if(u){C(u[0].length);continue}var g=i.match(ha);if(g){var y=a;C(g[0].length),$(g[1],y,a);continue}var _=k();if(_){T(_),ka(_.tagName,i)&&C(1);continue}}var b=void 0,w=void 0,x=void 0;if(0<=s){for(w=i.slice(s);!(ha.test(w)||da.test(w)||ma.test(w)||ga.test(w)||(x=w.indexOf("<",1))<0);)s+=x,w=i.slice(s);b=i.substring(0,s)}s<0&&(b=i),b&&C(b.length),f.chars&&b&&f.chars(b,a-b.length,a)}if(i===t){f.chars&&f.chars(i),!p.length&&f.warn&&f.warn('Mal-formatted tag at end of template: "'+i+'"',{start:a+i.length});break}}function C(t){a+=t,i=i.substring(t)}function k(){var t=i.match(da);if(t){var e,n,r={tagName:t[1],attrs:[],start:a};for(C(t[0].length);!(e=i.match(pa))&&(n=i.match(ca)||i.match(la));)n.start=a,C(n[0].length),n.end=a,r.attrs.push(n);if(e)return r.unarySlash=e[1],C(e[0].length),r.end=a,r}}function T(t){var e=t.tagName,n=t.unarySlash;h&&("p"===d&&sa(e)&&$(d),m(e)&&d===e&&$(e));for(var r,i=v(e)||!!n,o=t.attrs.length,a=new Array(o),s=0;s has no matching end tag.",{start:p[o].start,end:p[o].end}),f.end&&f.end(p[o].tag,e,n);p.length=r,d=r&&p[r-1].tag}else"br"===i?f.start&&f.start(t,[],!0,e,n):"p"===i&&(f.start&&f.start(t,[],!1,e,n),f.end&&f.end(t,e,n))}$()}var $a,Aa,Sa,Oa,Pa,Ea,Ma,ja,Ra,Da=/^@|^v-on:/,Na=/^v-|^@|^:/,Ia=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,La=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Fa=/^\(|\)$/g,Ba=/^\[.*\]$/,za=/:(.*)$/,Ha=/^:|^\.|^v-bind:/,Ua=/\.[^.\]]+(?=[^\]]*$)/g,Va=/^v-slot(:|$)|^#/,qa=/[\r\n]/,Xa=/\s+/g,Wa=/[\s"'<>\/=]/,Ya=t(ia),Ga="_empty_";function Ka(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:function(t){for(var e={},n=0,r=t.length;n without corresponding v-if.",n.rawAttrsMap[n.elseif?"v-else-if":"v-else"]);else{if(t.slotScope){var e=t.slotTarget||'"default"';(p.scopedSlots||(p.scopedSlots={}))[e]=t}p.children.push(t),t.parent=p}var n,r;t.children=t.children.filter(function(t){return!t.slotScope}),o(t),t.pre&&(v=!1),Ea(t.tag)&&(m=!1);for(var i=0;i as component root element because it may contain multiple nodes.",{start:t.start}),t.attrsMap.hasOwnProperty("v-for")&&u("Cannot use v-for on stateful component root element because it renders multiple elements.",t.rawAttrsMap["v-for"])}return Ta(s,{warn:$a,expectHTML:f.expectHTML,isUnaryTag:f.isUnaryTag,canBeLeftOpenTag:f.canBeLeftOpenTag,shouldDecodeNewlines:f.shouldDecodeNewlines,shouldDecodeNewlinesForHref:f.shouldDecodeNewlinesForHref,shouldKeepComment:f.comments,outputSourceRange:f.outputSourceRange,start:function(t,e,n,r,i){var o=p&&p.ns||ja(t);K&&"svg"===o&&(e=function(t){for(var e=[],n=0;n, / or =.",{start:t.start+t.name.indexOf("["),end:t.start+t.name.length})}),"style"!==(a=c).tag&&("script"!==a.tag||a.attrsMap.type&&"text/javascript"!==a.attrsMap.type)||it()||(c.forbidden=!0,$a("Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <"+t+">, as they will not be parsed.",{start:c.start}));for(var u=0;u cannot be keyed. Place the key on real elements instead.",_i(t,"key")),t.for){var n=t.iterator2||t.iterator1,r=t.parent;n&&n===e&&r&&"transition-group"===r.tag&&$a("Do not use v-for index as key on children, this is the same as not using keys.",_i(t,"key"),!0)}t.key=e}}(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,(r=bi(n=t,"ref"))&&(n.ref=r,n.refInFor=function(t){var e=t;for(;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(n)),function(t){var e;"template"===t.tag?((e=wi(t,"scope"))&&$a('the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5. The new "slot-scope" attribute can also be used on plain elements in addition to