function Egg(){this.eggs=[],this.hooks=[],this.kps=[],this.activeEgg="",this.ignoredKeys=[16],arguments.length&&this.AddCode.apply(this,arguments)}if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(jQuery),+function(){function t(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function e(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var i=0;ithis._items.length-1||e<0)){if(this._isSliding)return void t(this._element).one(m.SLID,function(){return i.to(e)});if(n===e)return this.pause(),void this.cycle();var o=e>n?v.NEXT:v.PREVIOUS;this._slide(o,this._items[e])}},d.prototype.dispose=function(){t(this._element).off(l),t.removeData(this._element,a),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},d.prototype._getConfig=function(i){return i=t.extend({},f,i),s.typeCheckConfig(e,i,g),i},d.prototype._addEventListeners=function(){this._config.keyboard&&t(this._element).on(m.KEYDOWN,t.proxy(this._keydown,this)),"hover"!==this._config.pause||"ontouchstart"in document.documentElement||t(this._element).on(m.MOUSEENTER,t.proxy(this.pause,this)).on(m.MOUSELEAVE,t.proxy(this.cycle,this))},d.prototype._keydown=function(t){if(t.preventDefault(),!/input|textarea/i.test(t.target.tagName))switch(t.which){case u:this.prev();break;case h:this.next();break;default:return}},d.prototype._getItemIndex=function(e){return this._items=t.makeArray(t(e).parent().find(w.ITEM)),this._items.indexOf(e)},d.prototype._getItemByDirection=function(t,e){var i=t===v.NEXT,n=t===v.PREVIOUS,o=this._getItemIndex(e),s=this._items.length-1,r=n&&0===o||i&&o===s;if(r&&!this._config.wrap)return e;var a=t===v.PREVIOUS?-1:1,l=(o+a)%this._items.length;return l===-1?this._items[this._items.length-1]:this._items[l]},d.prototype._triggerSlideEvent=function(e,i){var n=t.Event(m.SLIDE,{relatedTarget:e,direction:i});return t(this._element).trigger(n),n},d.prototype._setActiveIndicatorElement=function(e){if(this._indicatorsElement){t(this._indicatorsElement).find(w.ACTIVE).removeClass(y.ACTIVE);var i=this._indicatorsElement.children[this._getItemIndex(e)];i&&t(i).addClass(y.ACTIVE)}},d.prototype._slide=function(e,i){var n=this,o=t(this._element).find(w.ACTIVE_ITEM)[0],r=i||o&&this._getItemByDirection(e,o),a=Boolean(this._interval),l=e===v.NEXT?y.LEFT:y.RIGHT;if(r&&t(r).hasClass(y.ACTIVE))return void(this._isSliding=!1);var d=this._triggerSlideEvent(r,l);if(!d.isDefaultPrevented()&&o&&r){this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(r);var c=t.Event(m.SLID,{relatedTarget:r,direction:l});s.supportsTransitionEnd()&&t(this._element).hasClass(y.SLIDE)?(t(r).addClass(e),s.reflow(r),t(o).addClass(l),t(r).addClass(l),t(o).one(s.TRANSITION_END,function(){t(r).removeClass(l).removeClass(e),t(r).addClass(y.ACTIVE),t(o).removeClass(y.ACTIVE).removeClass(e).removeClass(l),n._isSliding=!1,setTimeout(function(){return t(n._element).trigger(c)},0)}).emulateTransitionEnd(p)):(t(o).removeClass(y.ACTIVE),t(r).addClass(y.ACTIVE),this._isSliding=!1,t(this._element).trigger(c)),a&&this.cycle()}},d._jQueryInterface=function(e){return this.each(function(){var i=t(this).data(a),o=t.extend({},f,t(this).data());"object"===("undefined"==typeof e?"undefined":n(e))&&t.extend(o,e);var s="string"==typeof e?e:o.slide;if(i||(i=new d(this,o),t(this).data(a,i)),"number"==typeof e)i.to(e);else if("string"==typeof s){if(void 0===i[s])throw new Error('No method named "'+s+'"');i[s]()}else o.interval&&(i.pause(),i.cycle())})},d._dataApiClickHandler=function(e){var i=s.getSelectorFromElement(this);if(i){var n=t(i)[0];if(n&&t(n).hasClass(y.CAROUSEL)){var o=t.extend({},t(n).data(),t(this).data()),r=this.getAttribute("data-slide-to");r&&(o.interval=!1),d._jQueryInterface.call(t(n),o),r&&t(n).data(a).to(r),e.preventDefault()}}},o(d,null,[{key:"VERSION",get:function(){return r}},{key:"Default",get:function(){return f}}]),d}();return t(document).on(m.CLICK_DATA_API,w.DATA_SLIDE,T._dataApiClickHandler),t(window).on(m.LOAD_DATA_API,function(){t(w.DATA_RIDE).each(function(){var e=t(this);T._jQueryInterface.call(e,e.data())})}),t.fn[e]=T._jQueryInterface,t.fn[e].Constructor=T,t.fn[e].noConflict=function(){return t.fn[e]=c,T._jQueryInterface},T}(jQuery),function(t){var e="collapse",r="4.0.0-alpha.5",a="bs.collapse",l="."+a,d=".data-api",c=t.fn[e],p=600,u={toggle:!0,parent:""},h={toggle:"boolean",parent:"string"},f={SHOW:"show"+l,SHOWN:"shown"+l,HIDE:"hide"+l,HIDDEN:"hidden"+l,CLICK_DATA_API:"click"+l+d},g={IN:"in",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},v={WIDTH:"width",HEIGHT:"height"},m={ACTIVES:".card > .in, .card > .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},y=function(){function l(e,n){i(this,l),this._isTransitioning=!1,this._element=e,this._config=this._getConfig(n),this._triggerArray=t.makeArray(t('[data-toggle="collapse"][href="#'+e.id+'"],'+('[data-toggle="collapse"][data-target="#'+e.id+'"]'))),this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}return l.prototype.toggle=function(){t(this._element).hasClass(g.IN)?this.hide():this.show()},l.prototype.show=function(){var e=this;if(!this._isTransitioning&&!t(this._element).hasClass(g.IN)){var i=void 0,n=void 0;if(this._parent&&(i=t.makeArray(t(m.ACTIVES)),i.length||(i=null)),!(i&&(n=t(i).data(a),n&&n._isTransitioning))){var o=t.Event(f.SHOW);if(t(this._element).trigger(o),!o.isDefaultPrevented()){i&&(l._jQueryInterface.call(t(i),"hide"),n||t(i).data(a,null));var r=this._getDimension();t(this._element).removeClass(g.COLLAPSE).addClass(g.COLLAPSING),this._element.style[r]=0,this._element.setAttribute("aria-expanded",!0),this._triggerArray.length&&t(this._triggerArray).removeClass(g.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var d=function(){t(e._element).removeClass(g.COLLAPSING).addClass(g.COLLAPSE).addClass(g.IN),e._element.style[r]="",e.setTransitioning(!1),t(e._element).trigger(f.SHOWN)};if(!s.supportsTransitionEnd())return void d();var c=r[0].toUpperCase()+r.slice(1),u="scroll"+c;t(this._element).one(s.TRANSITION_END,d).emulateTransitionEnd(p),this._element.style[r]=this._element[u]+"px"}}}},l.prototype.hide=function(){var e=this;if(!this._isTransitioning&&t(this._element).hasClass(g.IN)){var i=t.Event(f.HIDE);if(t(this._element).trigger(i),!i.isDefaultPrevented()){var n=this._getDimension(),o=n===v.WIDTH?"offsetWidth":"offsetHeight";this._element.style[n]=this._element[o]+"px",s.reflow(this._element),t(this._element).addClass(g.COLLAPSING).removeClass(g.COLLAPSE).removeClass(g.IN),this._element.setAttribute("aria-expanded",!1),this._triggerArray.length&&t(this._triggerArray).addClass(g.COLLAPSED).attr("aria-expanded",!1),this.setTransitioning(!0);var r=function(){e.setTransitioning(!1),t(e._element).removeClass(g.COLLAPSING).addClass(g.COLLAPSE).trigger(f.HIDDEN)};return this._element.style[n]="",s.supportsTransitionEnd()?void t(this._element).one(s.TRANSITION_END,r).emulateTransitionEnd(p):void r()}}},l.prototype.setTransitioning=function(t){this._isTransitioning=t},l.prototype.dispose=function(){t.removeData(this._element,a),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},l.prototype._getConfig=function(i){return i=t.extend({},u,i),i.toggle=Boolean(i.toggle),s.typeCheckConfig(e,i,h),i},l.prototype._getDimension=function(){var e=t(this._element).hasClass(v.WIDTH);return e?v.WIDTH:v.HEIGHT},l.prototype._getParent=function(){var e=this,i=t(this._config.parent)[0],n='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return t(i).find(n).each(function(t,i){e._addAriaAndCollapsedClass(l._getTargetFromElement(i),[i])}),i},l.prototype._addAriaAndCollapsedClass=function(e,i){if(e){var n=t(e).hasClass(g.IN);e.setAttribute("aria-expanded",n),i.length&&t(i).toggleClass(g.COLLAPSED,!n).attr("aria-expanded",n)}},l._getTargetFromElement=function(e){var i=s.getSelectorFromElement(e);return i?t(i)[0]:null},l._jQueryInterface=function(e){return this.each(function(){var i=t(this),o=i.data(a),s=t.extend({},u,i.data(),"object"===("undefined"==typeof e?"undefined":n(e))&&e);if(!o&&s.toggle&&/show|hide/.test(e)&&(s.toggle=!1),o||(o=new l(this,s),i.data(a,o)),"string"==typeof e){if(void 0===o[e])throw new Error('No method named "'+e+'"');o[e]()}})},o(l,null,[{key:"VERSION",get:function(){return r}},{key:"Default",get:function(){return u}}]),l}();return t(document).on(f.CLICK_DATA_API,m.DATA_TOGGLE,function(e){e.preventDefault();var i=y._getTargetFromElement(this),n=t(i).data(a),o=n?"toggle":t(this).data();y._jQueryInterface.call(t(i),o)}),t.fn[e]=y._jQueryInterface,t.fn[e].Constructor=y,t.fn[e].noConflict=function(){return t.fn[e]=c,y._jQueryInterface},y}(jQuery),function(t){var e="dropdown",n="4.0.0-alpha.5",r="bs.dropdown",a="."+r,l=".data-api",d=t.fn[e],c=27,p=38,u=40,h=3,f={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,CLICK:"click"+a,CLICK_DATA_API:"click"+a+l,KEYDOWN_DATA_API:"keydown"+a+l},g={BACKDROP:"dropdown-backdrop",DISABLED:"disabled",OPEN:"open"},v={BACKDROP:".dropdown-backdrop",DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",ROLE_MENU:'[role="menu"]',ROLE_LISTBOX:'[role="listbox"]',NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:'[role="menu"] li:not(.disabled) a, [role="listbox"] li:not(.disabled) a'},m=function(){function e(t){i(this,e),this._element=t,this._addEventListeners()}return e.prototype.toggle=function(){if(this.disabled||t(this).hasClass(g.DISABLED))return!1;var i=e._getParentFromElement(this),n=t(i).hasClass(g.OPEN);if(e._clearMenus(),n)return!1;if("ontouchstart"in document.documentElement&&!t(i).closest(v.NAVBAR_NAV).length){var o=document.createElement("div");o.className=g.BACKDROP,t(o).insertBefore(this),t(o).on("click",e._clearMenus)}var s={relatedTarget:this},r=t.Event(f.SHOW,s);return t(i).trigger(r),!r.isDefaultPrevented()&&(this.focus(),this.setAttribute("aria-expanded","true"),t(i).toggleClass(g.OPEN),t(i).trigger(t.Event(f.SHOWN,s)),!1)},e.prototype.dispose=function(){t.removeData(this._element,r),t(this._element).off(a),this._element=null},e.prototype._addEventListeners=function(){t(this._element).on(f.CLICK,this.toggle)},e._jQueryInterface=function(i){return this.each(function(){var n=t(this).data(r);if(n||t(this).data(r,n=new e(this)),"string"==typeof i){if(void 0===n[i])throw new Error('No method named "'+i+'"');n[i].call(this)}})},e._clearMenus=function(i){if(!i||i.which!==h){var n=t(v.BACKDROP)[0];n&&n.parentNode.removeChild(n);for(var o=t.makeArray(t(v.DATA_TOGGLE)),s=0;s0&&a--,i.which===u&&adocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},d.prototype._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},d.prototype._checkScrollbar=function(){this._isBodyOverflowing=document.body.clientWidth=i){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}if(this._activeTarget&&t=this._offsets[o]&&(void 0===this._offsets[o+1]||t .nav-item .fade, > .fade",ACTIVE:".active",ACTIVE_CHILD:"> .nav-item > .active, > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},f=function(){function e(t){i(this,e),this._element=t}return e.prototype.show=function(){var e=this;if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!t(this._element).hasClass(u.ACTIVE)){var i=void 0,n=void 0,o=t(this._element).closest(h.UL)[0],r=s.getSelectorFromElement(this._element);o&&(n=t.makeArray(t(o).find(h.ACTIVE)),n=n[n.length-1]);var a=t.Event(p.HIDE,{relatedTarget:this._element}),l=t.Event(p.SHOW,{relatedTarget:n});if(n&&t(n).trigger(a),t(this._element).trigger(l),!l.isDefaultPrevented()&&!a.isDefaultPrevented()){r&&(i=t(r)[0]),this._activate(this._element,o);var d=function(){var i=t.Event(p.HIDDEN,{relatedTarget:e._element}),o=t.Event(p.SHOWN,{relatedTarget:n});t(n).trigger(i),t(e._element).trigger(o)};i?this._activate(i,i.parentNode,d):d()}}},e.prototype.dispose=function(){t.removeClass(this._element,r),this._element=null},e.prototype._activate=function(e,i,n){var o=t(i).find(h.ACTIVE_CHILD)[0],r=n&&s.supportsTransitionEnd()&&(o&&t(o).hasClass(u.FADE)||Boolean(t(i).find(h.FADE_CHILD)[0])),a=t.proxy(this._transitionComplete,this,e,o,r,n);o&&r?t(o).one(s.TRANSITION_END,a).emulateTransitionEnd(c):a(),o&&t(o).removeClass(u.IN)},e.prototype._transitionComplete=function(e,i,n,o){if(i){t(i).removeClass(u.ACTIVE);var r=t(i).find(h.DROPDOWN_ACTIVE_CHILD)[0];r&&t(r).removeClass(u.ACTIVE),i.setAttribute("aria-expanded",!1)}if(t(e).addClass(u.ACTIVE),e.setAttribute("aria-expanded",!0),n?(s.reflow(e),t(e).addClass(u.IN)):t(e).removeClass(u.FADE),e.parentNode&&t(e.parentNode).hasClass(u.DROPDOWN_MENU)){var a=t(e).closest(h.DROPDOWN)[0];a&&t(a).find(h.DROPDOWN_TOGGLE).addClass(u.ACTIVE),e.setAttribute("aria-expanded",!0)}o&&o()},e._jQueryInterface=function(i){return this.each(function(){var n=t(this),o=n.data(r);if(o||(o=o=new e(this),n.data(r,o)),"string"==typeof i){if(void 0===o[i])throw new Error('No method named "'+i+'"');o[i]()}})},o(e,null,[{key:"VERSION",get:function(){return n}}]),e}();return t(document).on(p.CLICK_DATA_API,h.DATA_TOGGLE,function(e){e.preventDefault(),f._jQueryInterface.call(t(this),"show")}),t.fn[e]=f._jQueryInterface,t.fn[e].Constructor=f,t.fn[e].noConflict=function(){return t.fn[e]=d,f._jQueryInterface},f}(jQuery),function(t){if(void 0===window.Tether)throw new Error("Bootstrap tooltips require Tether (http://tether.io/)");var e="tooltip",r="4.0.0-alpha.5",a="bs.tooltip",l="."+a,d=t.fn[e],c=150,p="bs-tether",u={animation:!0,template:'',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:"0 0",constraints:[]},h={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"string",constraints:"array"},f={TOP:"bottom center",RIGHT:"middle left",BOTTOM:"top center",LEFT:"middle right"},g={IN:"in",OUT:"out"},v={HIDE:"hide"+l,HIDDEN:"hidden"+l,SHOW:"show"+l,SHOWN:"shown"+l,INSERTED:"inserted"+l,CLICK:"click"+l,FOCUSIN:"focusin"+l,FOCUSOUT:"focusout"+l,MOUSEENTER:"mouseenter"+l,MOUSELEAVE:"mouseleave"+l},m={FADE:"fade",IN:"in"},y={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner"},w={element:!1,enabled:!1},T={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},_=function(){function d(t,e){i(this,d),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._tether=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}return d.prototype.enable=function(){this._isEnabled=!0},d.prototype.disable=function(){this._isEnabled=!1},d.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},d.prototype.toggle=function(e){if(e){var i=this.constructor.DATA_KEY,n=t(e.currentTarget).data(i);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(t(this.getTipElement()).hasClass(m.IN))return void this._leave(null,this);this._enter(null,this)}},d.prototype.dispose=function(){clearTimeout(this._timeout),this.cleanupTether(),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._tether=null,this.element=null,this.config=null,this.tip=null},d.prototype.show=function(){var e=this,i=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){t(this.element).trigger(i);var n=t.contains(this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!n)return;var o=this.getTipElement(),r=s.getUID(this.constructor.NAME);o.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&t(o).addClass(m.FADE);var a="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,l=this._getAttachment(a);t(o).data(this.constructor.DATA_KEY,this).appendTo(document.body),t(this.element).trigger(this.constructor.Event.INSERTED),this._tether=new Tether({attachment:l,element:o,target:this.element,classes:w,classPrefix:p,offset:this.config.offset,constraints:this.config.constraints,addTargetClasses:!1}),s.reflow(o),this._tether.position(),t(o).addClass(m.IN);var c=function(){var i=e._hoverState;e._hoverState=null,t(e.element).trigger(e.constructor.Event.SHOWN),i===g.OUT&&e._leave(null,e)};if(s.supportsTransitionEnd()&&t(this.tip).hasClass(m.FADE))return void t(this.tip).one(s.TRANSITION_END,c).emulateTransitionEnd(d._TRANSITION_DURATION);c()}},d.prototype.hide=function(e){var i=this,n=this.getTipElement(),o=t.Event(this.constructor.Event.HIDE),r=function(){i._hoverState!==g.IN&&n.parentNode&&n.parentNode.removeChild(n),i.element.removeAttribute("aria-describedby"),t(i.element).trigger(i.constructor.Event.HIDDEN),i.cleanupTether(),e&&e()};t(this.element).trigger(o),o.isDefaultPrevented()||(t(n).removeClass(m.IN),s.supportsTransitionEnd()&&t(this.tip).hasClass(m.FADE)?t(n).one(s.TRANSITION_END,r).emulateTransitionEnd(c):r(),this._hoverState="")},d.prototype.isWithContent=function(){return Boolean(this.getTitle())},d.prototype.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0]},d.prototype.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(y.TOOLTIP_INNER),this.getTitle()),e.removeClass(m.FADE).removeClass(m.IN),this.cleanupTether()},d.prototype.setElementContent=function(e,i){var o=this.config.html;"object"===("undefined"==typeof i?"undefined":n(i))&&(i.nodeType||i.jquery)?o?t(i).parent().is(e)||e.empty().append(i):e.text(t(i).text()):e[o?"html":"text"](i)},d.prototype.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},d.prototype.cleanupTether=function(){this._tether&&this._tether.destroy()},d.prototype._getAttachment=function(t){return f[t.toUpperCase()]},d.prototype._setListeners=function(){var e=this,i=this.config.trigger.split(" ");i.forEach(function(i){if("click"===i)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,t.proxy(e.toggle,e));else if(i!==T.MANUAL){var n=i===T.HOVER?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,o=i===T.HOVER?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(n,e.config.selector,t.proxy(e._enter,e)).on(o,e.config.selector,t.proxy(e._leave,e))}}),this.config.selector?this.config=t.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},d.prototype._fixTitle=function(){var t=n(this.element.getAttribute("data-original-title"));(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},d.prototype._enter=function(e,i){var n=this.constructor.DATA_KEY;return i=i||t(e.currentTarget).data(n),i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,i)),e&&(i._activeTrigger["focusin"===e.type?T.FOCUS:T.HOVER]=!0),t(i.getTipElement()).hasClass(m.IN)||i._hoverState===g.IN?void(i._hoverState=g.IN):(clearTimeout(i._timeout),i._hoverState=g.IN,i.config.delay&&i.config.delay.show?void(i._timeout=setTimeout(function(){i._hoverState===g.IN&&i.show()},i.config.delay.show)):void i.show())},d.prototype._leave=function(e,i){var n=this.constructor.DATA_KEY;if(i=i||t(e.currentTarget).data(n),i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,i)),e&&(i._activeTrigger["focusout"===e.type?T.FOCUS:T.HOVER]=!1),!i._isWithActiveTrigger())return clearTimeout(i._timeout),i._hoverState=g.OUT,i.config.delay&&i.config.delay.hide?void(i._timeout=setTimeout(function(){i._hoverState===g.OUT&&i.hide()},i.config.delay.hide)):void i.hide()},d.prototype._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},d.prototype._getConfig=function(i){return i=t.extend({},this.constructor.Default,t(this.element).data(),i),i.delay&&"number"==typeof i.delay&&(i.delay={show:i.delay,hide:i.delay}),s.typeCheckConfig(e,i,this.constructor.DefaultType),i},d.prototype._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},d._jQueryInterface=function(e){return this.each(function(){var i=t(this).data(a),o="object"===("undefined"==typeof e?"undefined":n(e))?e:null;if((i||!/dispose|hide/.test(e))&&(i||(i=new d(this,o),t(this).data(a,i)),"string"==typeof e)){if(void 0===i[e])throw new Error('No method named "'+e+'"');i[e]()}})},o(d,null,[{key:"VERSION",get:function(){return r}},{key:"Default",get:function(){return u}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return a}},{key:"Event",get:function(){return v}},{key:"EVENT_KEY",get:function(){return l}},{key:"DefaultType",get:function(){return h}}]),d}();return t.fn[e]=_._jQueryInterface,t.fn[e].Constructor=_,t.fn[e].noConflict=function(){return t.fn[e]=d,_._jQueryInterface},_}(jQuery));(function(s){var a="popover",l="4.0.0-alpha.5",d="bs.popover",c="."+d,p=s.fn[a],u=s.extend({},r.Default,{placement:"right",trigger:"click",content:"",template:''}),h=s.extend({},r.DefaultType,{content:"(string|element|function)"}),f={FADE:"fade",IN:"in"},g={TITLE:".popover-title",CONTENT:".popover-content"},v={HIDE:"hide"+c,HIDDEN:"hidden"+c,SHOW:"show"+c,SHOWN:"shown"+c,INSERTED:"inserted"+c,CLICK:"click"+c,FOCUSIN:"focusin"+c,FOCUSOUT:"focusout"+c,MOUSEENTER:"mouseenter"+c,MOUSELEAVE:"mouseleave"+c},m=function(r){function p(){return i(this,p),t(this,r.apply(this,arguments))}return e(p,r),p.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},p.prototype.getTipElement=function(){return this.tip=this.tip||s(this.config.template)[0]},p.prototype.setContent=function(){var t=s(this.getTipElement());this.setElementContent(t.find(g.TITLE),this.getTitle()),this.setElementContent(t.find(g.CONTENT),this._getContent()),t.removeClass(f.FADE).removeClass(f.IN),this.cleanupTether()},p.prototype._getContent=function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)},p._jQueryInterface=function(t){return this.each(function(){var e=s(this).data(d),i="object"===("undefined"==typeof t?"undefined":n(t))?t:null;if((e||!/destroy|hide/.test(t))&&(e||(e=new p(this,i),s(this).data(d,e)),"string"==typeof t)){if(void 0===e[t])throw new Error('No method named "'+t+'"');e[t]()}})},o(p,null,[{key:"VERSION",get:function(){return l}},{key:"Default",get:function(){return u}},{key:"NAME",get:function(){return a}},{key:"DATA_KEY",get:function(){return d}},{key:"Event",get:function(){return v}},{key:"EVENT_KEY",get:function(){return c}},{key:"DefaultType",get:function(){return h}}]),p}(r);return s.fn[a]=m._jQueryInterface,s.fn[a].Constructor=m,s.fn[a].noConflict=function(){return s.fn[a]=p,m._jQueryInterface},m})(jQuery)}(),Egg.prototype.__execute=function(t){return"function"==typeof t&&t.call(this)},Egg.prototype.__toCharCodes=function(t){var e={up:38,down:40,left:37,right:39,enter:13,space:32,ctrl:17,alt:18,tab:9,esc:27},i=Object.keys(e);"string"==typeof t&&(t=t.split(",").map(function(t){return t.trim()}));var n=t.map(function(t){return t===parseInt(t,10)?t:i.indexOf(t)>-1?e[t]:t.charCodeAt(0)});return n.join(",")},Egg.prototype.AddCode=function(t,e,i){return this.eggs.push({keys:this.__toCharCodes(t),fn:e,metadata:i}),this},Egg.prototype.AddHook=function(t){return this.hooks.push(t),this},Egg.prototype.handleEvent=function(t){var e=t.which,i=e>=65&&e<=90;if(!("keydown"!==t.type||t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)){var n=t.target.tagName;if(("HTML"===n||"BODY"===n)&&i)return void t.preventDefault()}"keyup"===t.type&&this.eggs.length>0&&(i&&(t.shiftKey||(e+=32)),this.ignoredKeys.indexOf(e)===-1&&this.kps.push(e),this.eggs.forEach(function(t,e){var i=this.kps.toString().indexOf(t.keys)>=0;i&&(this.kps=[],this.activeEgg=t,this.__execute(t.fn,this),this.hooks.forEach(this.__execute,this),this.activeEgg="")},this))},Egg.prototype.Listen=function(){return void 0!==document.addEventListener&&(document.addEventListener("keydown",this,!1),document.addEventListener("keyup",this,!1)),this},Egg.prototype.listen=Egg.prototype.Listen,Egg.prototype.addCode=Egg.prototype.AddCode,Egg.prototype.addHook=Egg.prototype.AddHook,function(t,e,i){"function"==typeof define&&define.amd?define(["jquery"],function(n){return i(n,t,e),n.mobile}):i(t.jQuery,t,e)}(this,document,function(t,e,i,n){!function(t,i){t.extend(t.support,{orientation:"orientation"in e&&"onorientationchange"in e})}(t),function(t){t.event.special.throttledresize={setup:function(){t(this).bind("resize",s)},teardown:function(){t(this).unbind("resize",s)}};var e,i,n,o=250,s=function(){i=(new Date).getTime(),n=i-r,n>=o?(r=i,t(this).trigger("throttledresize")):(e&&clearTimeout(e),e=setTimeout(s,o-n))},r=0}(t),function(t,e){function n(){var t=o();t!==s&&(s=t,p.trigger(u))}var o,s,r,a,l,d,c,p=t(e),u="orientationchange",h={0:!0,180:!0};t.support.orientation&&(l=e.innerWidth||p.width(),d=e.innerHeight||p.height(),c=50,r=l>d&&l-d>c,a=h[e.orientation],(r&&a||!r&&!a)&&(h={"-90":!0,90:!0})),t.event.special.orientationchange=t.extend({},t.event.special.orientationchange,{setup:function(){return!(t.support.orientation&&!t.event.special.orientationchange.disabled)&&(s=o(),void p.bind("throttledresize",n))},teardown:function(){return!(t.support.orientation&&!t.event.special.orientationchange.disabled)&&void p.unbind("throttledresize",n)},add:function(t){var e=t.handler;t.handler=function(t){return t.orientation=o(),e.apply(this,arguments)}}}),t.event.special.orientationchange.orientation=o=function(){var n=!0,o=i.documentElement;return n=t.support.orientation?h[e.orientation]:o&&o.clientWidth/o.clientHeight<1.1,n?"portrait":"landscape"},t.fn[u]=function(t){return t?this.bind(u,t):this.trigger(u)},t.attrFn&&(t.attrFn[u]=!0)}(t,this),function(t,e,i,n){function o(t){for(;t&&"undefined"!=typeof t.originalEvent;)t=t.originalEvent;return t}function s(e,i){var s,r,a,l,d,c,p,u,h,f=e.type;if(e=t.Event(e),e.type=i,s=e.originalEvent,r=t.event.props,f.search(/^(mouse|click)/)>-1&&(r=D),s)for(p=r.length,l;p;)l=r[--p],e[l]=s[l];if(f.search(/mouse(down|up)|click/)>-1&&!e.which&&(e.which=1),f.search(/^touch/)!==-1&&(a=o(s),f=a.touches,d=a.changedTouches,c=f&&f.length?f[0]:d&&d.length?d[0]:n,c))for(u=0,h=I.length;us||Math.abs(i.pageY-L)>s,P&&!n&&f("vmousecancel",e,a),f("vmousemove",e,a),u()}}function w(t){if(!R){d();var e,i,n=r(t.target);f("vmouseup",t,n),P||(e=f("vclick",t,n),e&&e.isDefaultPrevented()&&(i=o(t).changedTouches[0],H.push({touchID:F,x:i.clientX,y:i.clientY}),M=!0)),f("vmouseout",t,n),P=!1,u()}}function T(e){var i,n=t.data(e,k);if(n)for(i in n)if(n[i])return!0;return!1}function _(){}function b(e){var i=e.substr(1);return{setup:function(){T(this)||t.data(this,k,{});var n=t.data(this,k);n[e]=!0,O[e]=(O[e]||0)+1,1===O[e]&&j.bind(i,g),t(this).bind(i,_),W&&(O.touchstart=(O.touchstart||0)+1,1===O.touchstart&&j.bind("touchstart",v).bind("touchend",w).bind("touchmove",y).bind("scroll",m))},teardown:function(){--O[e],O[e]||j.unbind(i,g),W&&(--O.touchstart,O.touchstart||j.unbind("touchstart",v).unbind("touchmove",y).unbind("touchend",w).unbind("scroll",m));var n=t(this),o=t.data(this,k);o&&(o[e]=!1),n.unbind(i,_),T(this)||n.removeData(k)}}}var S,E,k="virtualMouseBindings",C="virtualTouchID",A="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),I="clientX clientY pageX pageY screenX screenY".split(" "),x=t.event.mouseHooks?t.event.mouseHooks.props:[],D=t.event.props.concat(x),O={},N=0,$=0,L=0,P=!1,H=[],M=!1,R=!1,W="addEventListener"in i,j=t(i),z=1,F=0;for(t.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500},E=0;EMath.floor(t.pageY)||0===t.pageX&&Math.floor(o)>Math.floor(t.pageX)?(o-=i,s-=n):(st.event.special.swipe.horizontalDistanceThreshold&&Math.abs(e.coords[1]-i.coords[1])i.coords[0]?"swipeleft":"swiperight";return o(n,"swipe",t.Event("swipe",{target:s,swipestart:e,swipestop:i}),!0),o(n,r,t.Event(r,{target:s,swipestart:e,swipestop:i}),!0),!0}return!1},eventInProgress:!1,setup:function(){var e,i=this,n=t(i),o={};e=t.data(this,"mobile-events"),e||(e={length:0},t.data(this,"mobile-events",e)),e.length++,e.swipe=o,o.start=function(e){if(!t.event.special.swipe.eventInProgress){t.event.special.swipe.eventInProgress=!0;var n,r=t.event.special.swipe.start(e),a=e.target,l=!1;o.move=function(e){r&&!e.isDefaultPrevented()&&(n=t.event.special.swipe.stop(e),l||(l=t.event.special.swipe.handleSwipe(r,n,i,a),l&&(t.event.special.swipe.eventInProgress=!1)),Math.abs(r.coords[0]-n.coords[0])>t.event.special.swipe.scrollSupressionThreshold&&e.preventDefault())},o.stop=function(){l=!0,t.event.special.swipe.eventInProgress=!1,s.off(c,o.move),o.move=null},s.on(c,o.move).one(d,o.stop)}},n.on(l,o.start)},teardown:function(){var e,i;e=t.data(this,"mobile-events"),e&&(i=e.swipe,delete e.swipe,e.length--,0===e.length&&t.removeData(this,"mobile-events")),i&&(i.start&&t(this).off(l,i.start),i.move&&s.off(c,i.move),i.stop&&s.off(d,i.stop))}},t.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe.left",swiperight:"swipe.right"},function(e,i){t.event.special[e]={setup:function(){t(this).bind(i,t.noop)},teardown:function(){t(this).unbind(i)}}})}(t,this)}),!function(t){"use strict";var e=function(e,i,n){return this.el=e,this.$el=t(e),this.options=i,this.uuid=this.$el.attr("id")?this.$el.attr("id"):n,this.state={},this.init(),this};e.prototype={init:function(){var e=this;e._load(),e.$el.find("ul").each(function(i){var n=t(this);n.attr("data-index",i),e.options.save&&e.state.hasOwnProperty(i)?(n.parent().addClass(e.options.openClass),n.show()):n.parent().hasClass(e.options.openClass)?(n.show(),e.state[i]=1):n.hide()});var i=t("").prepend(e.options.caretHtml),n=e.$el.find("li > a");e._trigger(i,!1),e._trigger(n,!0),e.$el.find("li:has(ul) > a").prepend(i)},_trigger:function(e,i){var n=this;e.on("click",function(e){e.stopPropagation();var o=i?t(this).next():t(this).parent().next(),s=!1;if(i){var r=t(this).attr("href");s=void 0===r||""===r||"#"===r}if(o=o.length>0&&o,n.options.onClickBefore.call(this,e,o),!i||o&&s)e.preventDefault(),n._toggle(o,o.is(":hidden")),n._save();else if(n.options.accordion){var a=n.state=n._parents(t(this));n.$el.find("ul").filter(":visible").each(function(){var e=t(this),i=e.attr("data-index");a.hasOwnProperty(i)||n._toggle(e,!1)}),n._save()}n.options.onClickAfter.call(this,e,o)})},_toggle:function(e,i){var n=this,o=e.attr("data-index"),s=e.parent();if(n.options.onToggleBefore.call(this,e,i),i){if(s.addClass(n.options.openClass),e.slideDown(n.options.slide),n.state[o]=1,n.options.accordion){var r=n.state=n._parents(e);r[o]=n.state[o]=1,n.$el.find("ul").filter(":visible").each(function(){var e=t(this),i=e.attr("data-index");r.hasOwnProperty(i)||n._toggle(e,!1)})}}else s.removeClass(n.options.openClass),e.slideUp(n.options.slide),n.state[o]=0;n.options.onToggleAfter.call(this,e,i)},_parents:function(e,i){var n={},o=e.parent(),s=o.parents("ul");return s.each(function(){var e=t(this),o=e.attr("data-index");return!!o&&void(n[o]=i?e:1)}),n},_save:function(){if(this.options.save){var e={};for(var n in this.state)1===this.state[n]&&(e[n]=1);i[this.uuid]=this.state=e,t.cookie(this.options.cookie.name,JSON.stringify(i),this.options.cookie)}},_load:function(){if(this.options.save){if(null===i){var e=t.cookie(this.options.cookie.name);i=e?JSON.parse(e):{}}this.state=i.hasOwnProperty(this.uuid)?i[this.uuid]:{}}},toggle:function(e){var i=this,n=arguments.length;if(1>=n)i.$el.find("ul").each(function(){var n=t(this);i._toggle(n,e)});else{var o,s={},r=Array.prototype.slice.call(arguments,1);n--;for(var a=0;n>a;a++){o=r[a];var l=i.$el.find('ul[data-index="'+o+'"]').first();if(l&&(s[o]=l,e)){var d=i._parents(l,!0);for(var c in d)s.hasOwnProperty(c)||(s[c]=d[c])}}for(o in s)i._toggle(s[o],e)}i._save()},destroy:function(){t.removeData(this.$el),this.$el.find("li:has(ul) > a").unbind("click"),this.$el.find("li:has(ul) > a > span").unbind("click")}},t.fn.navgoco=function(i){if("string"==typeof i&&"_"!==i.charAt(0)&&"init"!==i)var n=!0,o=Array.prototype.slice.call(arguments,1);else i=t.extend({},t.fn.navgoco.defaults,i||{}),t.cookie||(i.save=!1);return this.each(function(s){var r=t(this),a=r.data("navgoco");a||(a=new e(this,n?t.fn.navgoco.defaults:i,s),r.data("navgoco",a)),n&&a[i].apply(a,o)})};var i=null;t.fn.navgoco.defaults={caretHtml:"",accordion:!1,openClass:"open",save:!0,cookie:{name:"navgoco",expires:!1,path:"/"},slide:{duration:400,easing:"swing"},onClickBefore:t.noop,onClickAfter:t.noop,onToggleBefore:t.noop,onToggleAfter:t.noop}}(jQuery),function(t){"use strict";function e(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function i(t,e){if(!t)return!1;for(var i=t.target||t.srcElement||t||!1;i&&i.id!=e;)i=i.parentNode||!1;return i!==!1}function n(t,e,i,o){return o=o||0,t.id.indexOf(e)>=0?o:(classie.has(t,i)&&++o,t.parentNode&&n(t.parentNode,e,i,o))}function o(){var e=!1;return function(t){(/(android|ipad|playbook|silk|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(e=!0)}(navigator.userAgent||navigator.vendor||t.opera),e}function s(t,e){return classie.has(t,e)?t:t.parentNode&&s(t.parentNode,e)}function r(t,i,n){this.el=t,this.trigger=i,this.options=e(this.defaults,n),this.support=Modernizr.csstransforms3d,this.support&&this._init()}r.prototype={defaults:{type:"overlap",levelSpacing:40,backClass:"mp-back"},_init:function(){this.open=!1,this.level=0,this.wrapper=document.getElementById("mp-pusher"),this.levels=Array.prototype.slice.call(this.el.querySelectorAll("div.mp-level"));var t=this;this.levels.forEach(function(e,i){e.setAttribute("data-level",n(e,t.el.id,"mp-level"))}),this.menuItems=Array.prototype.slice.call(this.el.querySelectorAll("li")),this.levelBack=Array.prototype.slice.call(this.el.querySelectorAll("."+this.options.backClass)),this.eventtype=o()?"touchstart":"click",classie.add(this.el,"mp-"+this.options.type),this._initEvents()},_initEvents:function(){var t=this,e=function(i){t._resetMenu(),i.removeEventListener(t.eventtype,e)};this.trigger.addEventListener(this.eventtype,function(n){n.stopPropagation(),n.preventDefault(),t.open?t._resetMenu():(t._openMenu(),document.addEventListener(t.eventtype,function(n){t.open&&!i(n.target,t.el.id)&&e(this)}))}),this.menuItems.forEach(function(e,i){var n=e.querySelector("div.mp-level");n&&e.querySelector("a").addEventListener(t.eventtype,function(i){i.preventDefault();var o=s(e,"mp-level").getAttribute("data-level");t.level<=o&&(i.stopPropagation(),classie.add(s(e,"mp-level"),"mp-level-overlay"),t._openMenu(n))})}),this.levels.forEach(function(e,i){e.addEventListener(t.eventtype,function(i){i.stopPropagation();var n=e.getAttribute("data-level");t.level>n&&(t.level=n,t._closeMenu())})}),this.levelBack.forEach(function(e,i){e.addEventListener(t.eventtype,function(i){i.preventDefault();var n=s(e,"mp-level").getAttribute("data-level");t.level<=n&&(i.stopPropagation(),t.level=s(e,"mp-level").getAttribute("data-level")-1,0===t.level?t._resetMenu():t._closeMenu())})})},_openMenu:function(t){++this.level;var e=(this.level-1)*this.options.levelSpacing,i="overlap"===this.options.type?this.el.offsetWidth+e:this.el.offsetWidth;if(this._setTransform("translate3d("+i+"px,0,0)"),t){this._setTransform("",t);for(var n=0,o=this.levels.length;n=this.level+1?(classie.remove(i,"mp-level-open"),classie.remove(i,"mp-level-overlay")):Number(i.getAttribute("data-level"))==this.level&&classie.remove(i,"mp-level-overlay"); }}},t.mlPushMenu=r}(window),window.Modernizr=function(t,e,i){function n(t){w.cssText=t}function o(t,e){return n(S.join(t+";")+(e||""))}function s(t,e){return typeof t===e}function r(t,e){return!!~(""+t).indexOf(e)}function a(t,e){for(var n in t){var o=t[n];if(!r(o,"-")&&w[o]!==i)return"pfx"!=e||o}return!1}function l(t,e,n){for(var o in t){var r=e[t[o]];if(r!==i)return n===!1?t[o]:s(r,"function")?r.bind(n||e):r}return!1}function d(t,e,i){var n=t.charAt(0).toUpperCase()+t.slice(1),o=(t+" "+k.join(n+" ")+n).split(" ");return s(e,"string")||s(e,"undefined")?a(o,e):(o=(t+" "+C.join(n+" ")+n).split(" "),l(o,e,i))}function c(){f.input=function(i){for(var n=0,o=i.length;n',t,""].join(""),d.id=m,(c?d:p).innerHTML+=s,p.appendChild(d),c||(p.style.background="",p.style.overflow="hidden",l=v.style.overflow,v.style.overflow="hidden",v.appendChild(p)),r=i(d,t),c?d.parentNode.removeChild(d):(p.parentNode.removeChild(p),v.style.overflow=l),!!r},L=function(e){var i=t.matchMedia||t.msMatchMedia;if(i)return i(e).matches;var n;return $("@media "+e+" { #"+m+" { position: absolute; } }",function(e){n="absolute"==(t.getComputedStyle?getComputedStyle(e,null):e.currentStyle).position}),n},P=function(){function t(t,o){o=o||e.createElement(n[t]||"div"),t="on"+t;var r=t in o;return r||(o.setAttribute||(o=e.createElement("div")),o.setAttribute&&o.removeAttribute&&(o.setAttribute(t,""),r=s(o[t],"function"),s(o[t],"undefined")||(o[t]=i),o.removeAttribute(t))),o=null,r}var n={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return t}(),H={}.hasOwnProperty;u=s(H,"undefined")||s(H.call,"undefined")?function(t,e){return e in t&&s(t.constructor.prototype[e],"undefined")}:function(t,e){return H.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if("function"!=typeof e)throw new TypeError;var i=N.call(arguments,1),n=function(){if(this instanceof n){var o=function(){};o.prototype=e.prototype;var s=new o,r=e.apply(s,i.concat(N.call(arguments)));return Object(r)===r?r:s}return e.apply(t,i.concat(N.call(arguments)))};return n}),I.flexbox=function(){return d("flexWrap")},I.flexboxlegacy=function(){return d("boxDirection")},I.canvas=function(){var t=e.createElement("canvas");return!(!t.getContext||!t.getContext("2d"))},I.canvastext=function(){return!(!f.canvas||!s(e.createElement("canvas").getContext("2d").fillText,"function"))},I.webgl=function(){return!!t.WebGLRenderingContext},I.touch=function(){var i;return"ontouchstart"in t||t.DocumentTouch&&e instanceof DocumentTouch?i=!0:$(["@media (",S.join("touch-enabled),("),m,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(t){i=9===t.offsetTop}),i},I.geolocation=function(){return"geolocation"in navigator},I.postmessage=function(){return!!t.postMessage},I.websqldatabase=function(){return!!t.openDatabase},I.indexedDB=function(){return!!d("indexedDB",t)},I.hashchange=function(){return P("hashchange",t)&&(e.documentMode===i||e.documentMode>7)},I.history=function(){return!(!t.history||!history.pushState)},I.draganddrop=function(){var t=e.createElement("div");return"draggable"in t||"ondragstart"in t&&"ondrop"in t},I.websockets=function(){return"WebSocket"in t||"MozWebSocket"in t},I.rgba=function(){return n("background-color:rgba(150,255,150,.5)"),r(w.backgroundColor,"rgba")},I.hsla=function(){return n("background-color:hsla(120,40%,100%,.5)"),r(w.backgroundColor,"rgba")||r(w.backgroundColor,"hsla")},I.multiplebgs=function(){return n("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(w.background)},I.backgroundsize=function(){return d("backgroundSize")},I.borderimage=function(){return d("borderImage")},I.borderradius=function(){return d("borderRadius")},I.boxshadow=function(){return d("boxShadow")},I.textshadow=function(){return""===e.createElement("div").style.textShadow},I.opacity=function(){return o("opacity:.55"),/^0.55$/.test(w.opacity)},I.cssanimations=function(){return d("animationName")},I.csscolumns=function(){return d("columnCount")},I.cssgradients=function(){var t="background-image:",e="gradient(linear,left top,right bottom,from(#9f9),to(white));",i="linear-gradient(left top,#9f9, white);";return n((t+"-webkit- ".split(" ").join(e+t)+S.join(i+t)).slice(0,-t.length)),r(w.backgroundImage,"gradient")},I.cssreflections=function(){return d("boxReflect")},I.csstransforms=function(){return!!d("transform")},I.csstransforms3d=function(){var t=!!d("perspective");return t&&"webkitPerspective"in v.style&&$("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(e,i){t=9===e.offsetLeft&&3===e.offsetHeight}),t},I.csstransitions=function(){return d("transition")},I.fontface=function(){var t;return $('@font-face {font-family:"font";src:url("https://")}',function(i,n){var o=e.getElementById("smodernizr"),s=o.sheet||o.styleSheet,r=s?s.cssRules&&s.cssRules[0]?s.cssRules[0].cssText:s.cssText||"":"";t=/src/i.test(r)&&0===r.indexOf(n.split(" ")[0])}),t},I.generatedcontent=function(){var t;return $(["#",m,"{font:0/0 a}#",m,':after{content:"',_,'";visibility:hidden;font:3px/1 a}'].join(""),function(e){t=e.offsetHeight>=3}),t},I.video=function(){var t=e.createElement("video"),i=!1;try{(i=!!t.canPlayType)&&(i=new Boolean(i),i.ogg=t.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),i.h264=t.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),i.webm=t.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(n){}return i},I.audio=function(){var t=e.createElement("audio"),i=!1;try{(i=!!t.canPlayType)&&(i=new Boolean(i),i.ogg=t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),i.mp3=t.canPlayType("audio/mpeg;").replace(/^no$/,""),i.wav=t.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),i.m4a=(t.canPlayType("audio/x-m4a;")||t.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(n){}return i},I.localstorage=function(){try{return localStorage.setItem(m,m),localStorage.removeItem(m),!0}catch(t){return!1}},I.sessionstorage=function(){try{return sessionStorage.setItem(m,m),sessionStorage.removeItem(m),!0}catch(t){return!1}},I.webworkers=function(){return!!t.Worker},I.applicationcache=function(){return!!t.applicationCache},I.svg=function(){return!!e.createElementNS&&!!e.createElementNS(A.svg,"svg").createSVGRect},I.inlinesvg=function(){var t=e.createElement("div");return t.innerHTML="",(t.firstChild&&t.firstChild.namespaceURI)==A.svg},I.smil=function(){return!!e.createElementNS&&/SVGAnimate/.test(b.call(e.createElementNS(A.svg,"animate")))},I.svgclippaths=function(){return!!e.createElementNS&&/SVGClipPath/.test(b.call(e.createElementNS(A.svg,"clipPath")))};for(var M in I)u(I,M)&&(p=M.toLowerCase(),f[p]=I[M](),O.push((f[p]?"":"no-")+p));return f.input||c(),f.addTest=function(t,e){if("object"==typeof t)for(var n in t)u(t,n)&&f.addTest(n,t[n]);else{if(t=t.toLowerCase(),f[t]!==i)return f;e="function"==typeof e?e():e,"undefined"!=typeof g&&g&&(v.className+=" "+(e?"":"no-")+t),f[t]=e}return f},n(""),y=T=null,function(t,e){function i(t,e){var i=t.createElement("p"),n=t.getElementsByTagName("head")[0]||t.documentElement;return i.innerHTML="x",n.insertBefore(i.lastChild,n.firstChild)}function n(){var t=m.elements;return"string"==typeof t?t.split(" "):t}function o(t){var e=v[t[f]];return e||(e={},g++,t[f]=g,v[g]=e),e}function s(t,i,n){if(i||(i=e),c)return i.createElement(t);n||(n=o(i));var s;return s=n.cache[t]?n.cache[t].cloneNode():h.test(t)?(n.cache[t]=n.createElem(t)).cloneNode():n.createElem(t),s.canHaveChildren&&!u.test(t)?n.frag.appendChild(s):s}function r(t,i){if(t||(t=e),c)return t.createDocumentFragment();i=i||o(t);for(var s=i.frag.cloneNode(),r=0,a=n(),l=a.length;r",d="hidden"in t,c=1==t.childNodes.length||function(){e.createElement("a");var t=e.createDocumentFragment();return"undefined"==typeof t.cloneNode||"undefined"==typeof t.createDocumentFragment||"undefined"==typeof t.createElement}()}catch(i){d=!0,c=!0}}();var m={elements:p.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:p.shivCSS!==!1,supportsUnknownElements:c,shivMethods:p.shivMethods!==!1,type:"default",shivDocument:l,createElement:s,createDocumentFragment:r};t.html5=m,l(e)}(this,e),f._version=h,f._prefixes=S,f._domPrefixes=C,f._cssomPrefixes=k,f.mq=L,f.hasEvent=P,f.testProp=function(t){return a([t])},f.testAllProps=d,f.testStyles=$,f.prefixed=function(t,e,i){return e?d(t,e,i):d(t,"pfx")},v.className=v.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(g?" js "+O.join(" "):""),f}(this,this.document),!function(){"use strict";function t(n){if(!n)throw new Error("No options passed to Waypoint constructor");if(!n.element)throw new Error("No element option passed to Waypoint constructor");if(!n.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,n),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=n.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var n in i)e.push(i[n]);for(var o=0,s=e.length;s>o;o++)e[o][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.Context.refreshAll();for(var e in i)i[e].enabled=!0;return this},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=o.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,n[t.waypointContextKey]=this,i+=1,o.windowContext||(o.windowContext=!0,o.windowContext=new e(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,n={},o=window.Waypoint,s=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".waypoints"),delete n[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,o.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){(!e.didScroll||o.isTouch)&&(e.didScroll=!0,o.requestAnimationFrame(t))})},e.prototype.handleResize=function(){o.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var n=e[i],o=n.newScroll>n.oldScroll,s=o?n.forward:n.backward;for(var r in this.waypoints[i]){var a=this.waypoints[i][r];if(null!==a.triggerPoint){var l=n.oldScroll=a.triggerPoint,c=l&&d,p=!l&&!d;(c||p)&&(a.queueTrigger(s),t[a.group.id]=a.group)}}}for(var u in t)t[u].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?o.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?o.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var n=0,o=t.length;o>n;n++)t[n].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),n={};this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var s in t){var r=t[s];for(var a in this.waypoints[s]){var l,d,c,p,u,h=this.waypoints[s][a],f=h.options.offset,g=h.triggerPoint,v=0,m=null==g;h.element!==h.element.window&&(v=h.adapter.offset()[r.offsetProp]),"function"==typeof f?f=f.apply(h):"string"==typeof f&&(f=parseFloat(f),h.options.offset.indexOf("%")>-1&&(f=Math.ceil(r.contextDimension*f/100))),l=r.contextScroll-r.contextOffset,h.triggerPoint=Math.floor(v+l-f),d=g=r.oldScroll,p=d&&c,u=!d&&!c,!m&&p?(h.queueTrigger(r.backward),n[h.group.id]=h.group):!m&&u?(h.queueTrigger(r.forward),n[h.group.id]=h.group):m&&r.oldScroll>=h.triggerPoint&&(h.queueTrigger(r.forward),n[h.group.id]=h.group)}}return o.requestAnimationFrame(function(){for(var t in n)n[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in n)n[t].refresh()},e.findByElement=function(t){return n[t.waypointContextKey]},window.onload=function(){s&&s(),e.refreshAll()},o.requestAnimationFrame=function(e){var i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t;i.call(window,e)},o.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}var n={vertical:{},horizontal:{}},o=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var n=this.triggerQueues[i],o="up"===i||"left"===i;n.sort(o?e:t);for(var s=0,r=n.length;r>s;s+=1){var a=n[s];(a.options.continuous||s===n.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints),n=i===this.waypoints.length-1;return n?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=o.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return n[t.axis][t.name]||new i(t)},o.Group=i}(),function(){"use strict";function t(t){return t===t.window}function e(e){return t(e)?e:e.defaultView}function i(t){this.element=t,this.handlers={}}var n=window.Waypoint;i.prototype.innerHeight=function(){var e=t(this.element);return e?this.element.innerHeight:this.element.clientHeight},i.prototype.innerWidth=function(){var e=t(this.element);return e?this.element.innerWidth:this.element.clientWidth},i.prototype.off=function(t,e){function i(t,e,i){for(var n=0,o=e.length-1;o>n;n++){var s=e[n];i&&i!==s||t.removeEventListener(s)}}var n=t.split("."),o=n[0],s=n[1],r=this.element;if(s&&this.handlers[s]&&o)i(r,this.handlers[s][o],e),this.handlers[s][o]=[];else if(o)for(var a in this.handlers)i(r,this.handlers[a][o]||[],e),this.handlers[a][o]=[];else if(s&&this.handlers[s]){for(var l in this.handlers[s])i(r,this.handlers[s][l],e);this.handlers[s]={}}},i.prototype.offset=function(){if(!this.element.ownerDocument)return null;var t=this.element.ownerDocument.documentElement,i=e(this.element.ownerDocument),n={top:0,left:0};return this.element.getBoundingClientRect&&(n=this.element.getBoundingClientRect()),{top:n.top+i.pageYOffset-t.clientTop,left:n.left+i.pageXOffset-t.clientLeft}},i.prototype.on=function(t,e){var i=t.split("."),n=i[0],o=i[1]||"__default",s=this.handlers[o]=this.handlers[o]||{},r=s[n]=s[n]||[];r.push(e),this.element.addEventListener(n,e)},i.prototype.outerHeight=function(e){var i,n=this.innerHeight();return e&&!t(this.element)&&(i=window.getComputedStyle(this.element),n+=parseInt(i.marginTop,10),n+=parseInt(i.marginBottom,10)),n},i.prototype.outerWidth=function(e){var i,n=this.innerWidth();return e&&!t(this.element)&&(i=window.getComputedStyle(this.element),n+=parseInt(i.marginLeft,10),n+=parseInt(i.marginRight,10)),n},i.prototype.scrollLeft=function(){var t=e(this.element);return t?t.pageXOffset:this.element.scrollLeft},i.prototype.scrollTop=function(){var t=e(this.element);return t?t.pageYOffset:this.element.scrollTop},i.extend=function(){function t(t,e){if("object"==typeof t&&"object"==typeof e)for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}for(var e=Array.prototype.slice.call(arguments),i=1,n=e.length;n>i;i++)t(e[0],e[i]);return e[0]},i.inArray=function(t,e,i){return null==e?-1:e.indexOf(t,i)},i.isEmptyObject=function(t){for(var e in t)return!1;return!0},n.adapters.push({name:"noframework",Adapter:i}),n.Adapter=i}(),!function(t,e,i,n){function o(e,i){var s=this;"object"==typeof i&&(delete i.refresh,delete i.render,t.extend(this,i)),this.$element=t(e),!this.imageSrc&&this.$element.is("img")&&(this.imageSrc=this.$element.attr("src"));var r=(this.position+"").toLowerCase().match(/\S+/g)||[];if(r.length<1&&r.push("center"),1==r.length&&r.push(r[0]),("top"==r[0]||"bottom"==r[0]||"left"==r[1]||"right"==r[1])&&(r=[r[1],r[0]]),this.positionX!=n&&(r[0]=this.positionX.toLowerCase()),this.positionY!=n&&(r[1]=this.positionY.toLowerCase()),s.positionX=r[0],s.positionY=r[1],"left"!=this.positionX&&"right"!=this.positionX&&(this.positionX=isNaN(parseInt(this.positionX))?"center":parseInt(this.positionX)),"top"!=this.positionY&&"bottom"!=this.positionY&&(this.positionY=isNaN(parseInt(this.positionY))?"center":parseInt(this.positionY)),this.position=this.positionX+(isNaN(this.positionX)?"":"px")+" "+this.positionY+(isNaN(this.positionY)?"":"px"),navigator.userAgent.match(/(iPod|iPhone|iPad)/))return this.imageSrc&&this.iosFix&&!this.$element.is("img")&&this.$element.css({backgroundImage:"url("+this.imageSrc+")",backgroundSize:"cover",backgroundPosition:this.position}),this;if(navigator.userAgent.match(/(Android)/))return this.imageSrc&&this.androidFix&&!this.$element.is("img")&&this.$element.css({backgroundImage:"url("+this.imageSrc+")",backgroundSize:"cover",backgroundPosition:this.position}),this;this.$mirror=t("
").prependTo("body");var a=this.$element.find(">.parallax-slider"),l=!1;0==a.length?this.$slider=t("").prependTo(this.$mirror):(this.$slider=a.prependTo(this.$mirror),l=!0),this.$mirror.addClass("parallax-mirror").css({visibility:"hidden",zIndex:this.zIndex,position:"fixed",top:0,left:0,overflow:"hidden"}),this.$slider.addClass("parallax-slider").one("load",function(){s.naturalHeight&&s.naturalWidth||(s.naturalHeight=this.naturalHeight||this.height||1,s.naturalWidth=this.naturalWidth||this.width||1),s.aspectRatio=s.naturalWidth/s.naturalHeight,o.isSetup||o.setup(),o.sliders.push(s),o.isFresh=!1,o.requestRender()}),l||(this.$slider[0].src=this.imageSrc),(this.naturalHeight&&this.naturalWidth||this.$slider[0].complete||a.length>0)&&this.$slider.trigger("load")}function s(n){return this.each(function(){var s=t(this),r="object"==typeof n&&n;this==e||this==i||s.is("body")?o.configure(r):s.data("px.parallax")?"object"==typeof n&&t.extend(s.data("px.parallax"),r):(r=t.extend({},s.data(),r),s.data("px.parallax",new o(this,r))),"string"==typeof n&&("destroy"==n?o.destroy(this):o[n]())})}!function(){for(var t=0,i=["ms","moz","webkit","o"],n=0;n=this.boxWidth){this.imageWidth=s*this.aspectRatio|0,this.imageHeight=s,this.offsetBaseTop=r;var a=this.imageWidth-this.boxWidth;this.offsetLeft="left"==this.positionX?0:"right"==this.positionX?-a:isNaN(this.positionX)?-a/2|0:Math.max(this.positionX,-a)}else{this.imageWidth=this.boxWidth,this.imageHeight=this.boxWidth/this.aspectRatio|0,this.offsetLeft=0;var a=this.imageHeight-s;this.offsetBaseTop="top"==this.positionY?r:"bottom"==this.positionY?r-a:isNaN(this.positionY)?r-a/2|0:r+Math.max(this.positionY,-a)}},render:function(){var t=o.scrollTop,e=o.scrollLeft,i=this.overScrollFix?o.overScroll:0,n=t+o.winHeight;this.boxOffsetBottom>t&&this.boxOffsetTop<=n?(this.visibility="visible",this.mirrorTop=this.boxOffsetTop-t,this.mirrorLeft=this.boxOffsetLeft-e,this.offsetTop=this.offsetBaseTop-this.mirrorTop*(1-this.speed)):this.visibility="hidden",this.$mirror.css({transform:"translate3d(0px, 0px, 0px)",visibility:this.visibility,top:this.mirrorTop-i,left:this.mirrorLeft,height:this.boxHeight,width:this.boxWidth}),this.$slider.css({transform:"translate3d(0px, 0px, 0px)",position:"absolute",top:this.offsetTop,left:this.offsetLeft,height:this.imageHeight,width:this.imageWidth,maxWidth:"none"})}}),t.extend(o,{scrollTop:0,scrollLeft:0,winHeight:0,winWidth:0,docHeight:1<<30,docWidth:1<<30,sliders:[],isReady:!1,isFresh:!1,isBusy:!1,setup:function(){if(!this.isReady){var n=t(i),s=t(e),r=function(){o.winHeight=s.height(),o.winWidth=s.width(),o.docHeight=n.height(),o.docWidth=n.width()},a=function(){var t=s.scrollTop(),e=o.docHeight-o.winHeight,i=o.docWidth-o.winWidth;o.scrollTop=Math.max(0,Math.min(e,t)),o.scrollLeft=Math.max(0,Math.min(i,s.scrollLeft())),o.overScroll=Math.max(t-e,Math.min(t,0))};s.on("resize.px.parallax load.px.parallax",function(){r(),o.isFresh=!1,o.requestRender()}).on("scroll.px.parallax load.px.parallax",function(){a(),o.requestRender()}),r(),a(),this.isReady=!0}},configure:function(e){"object"==typeof e&&(delete e.refresh,delete e.render,t.extend(this.prototype,e))},refresh:function(){t.each(this.sliders,function(){this.refresh()}),this.isFresh=!0},render:function(){this.isFresh||this.refresh(),t.each(this.sliders,function(){this.render()})},requestRender:function(){var t=this;this.isBusy||(this.isBusy=!0,e.requestAnimationFrame(function(){t.render(),t.isBusy=!1}))},destroy:function(i){var n,s=t(i).data("px.parallax");for(s.$mirror.remove(),n=0;n10&&(n.options.speed=10),e||(e=".rellax"),document.getElementsByClassName(e.replace(".","")))n.elems=document.getElementsByClassName(e.replace(".",""));else{if(document.querySelector(e)===!1)throw new Error("The elements you're trying to select don't exist.");n.elems=document.querySelector(e)}var d=function(){s=window.innerHeight,u();for(var t=0;t=0){var u=d.indexOf("transform"),f=d.slice(u),g=f.indexOf(";");c=g?" "+f.slice(11,g).replace(/\s/g,""):" "+f.slice(11).replace(/\s/g,"")}return{base:l,top:i,height:o,speed:a,style:d,transform:c}},p=function(t,e){return t<-e?-e:t>e?e:t},u=function(){var t=o;return o=void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,t!=o},h=function(t,e){var i=e*(100*(1-t));return Math.round(i)},f=function(){u()&&a===!1&&g(),l(f)},g=function(){for(var t=0;tPrevious',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,i){return t('